:root {
  color-scheme: light;
  --ink: #0d2b4f;
  --muted: #536781;
  --blue: #6f8edb;
  --lavender: #cdb9e9;
  --lavender-soft: #f1edfb;
  --paper: #fbfcff;
  --line: #dbe3f0;
  --shadow: 0 20px 70px rgb(54 76 123 / 12%);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  scroll-behavior: smooth;
}

body {
  background:
    radial-gradient(circle at 12% 4%, rgb(205 185 233 / 35%), transparent 26rem),
    radial-gradient(circle at 90% 18%, rgb(111 142 219 / 18%), transparent 30rem),
    var(--paper);
  color: var(--ink);
  font-family: Inter, Manrope, "Segoe UI", system-ui, sans-serif;
  line-height: 1.65;
  margin: 0;
  min-height: 100vh;
}

a {
  color: #365cac;
}

a:focus-visible {
  border-radius: 6px;
  outline: 3px solid rgb(111 142 219 / 45%);
  outline-offset: 3px;
}

.shell {
  margin: 0 auto;
  max-width: 920px;
  padding: 32px 20px 72px;
}

.brand {
  align-items: center;
  display: flex;
  gap: 12px;
  margin-bottom: 36px;
  text-decoration: none;
}

.brand img {
  height: 48px;
  width: 48px;
}

.brand span {
  color: var(--ink);
  font-family: ui-rounded, "Segoe UI", system-ui, sans-serif;
  font-size: 18px;
  font-weight: 750;
  letter-spacing: -0.02em;
}

.hero {
  border-bottom: 1px solid var(--line);
  padding: 26px 0 34px;
}

.eyebrow {
  color: #526fbd;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  margin: 0 0 12px;
  text-transform: uppercase;
}

h1,
h2 {
  font-family: ui-rounded, "Segoe UI", system-ui, sans-serif;
  letter-spacing: -0.035em;
}

h1 {
  font-size: clamp(34px, 8vw, 62px);
  line-height: 1.04;
  margin: 0;
  max-width: 760px;
}

.lead {
  color: var(--muted);
  font-size: clamp(17px, 3vw, 20px);
  margin: 20px 0 0;
  max-width: 700px;
}

.document {
  background: rgb(255 255 255 / 84%);
  border: 1px solid rgb(219 227 240 / 90%);
  border-radius: 30px;
  box-shadow: var(--shadow);
  margin-top: 30px;
  padding: clamp(24px, 6vw, 56px);
}

.notice {
  background: var(--lavender-soft);
  border-left: 4px solid var(--lavender);
  border-radius: 4px 18px 18px 4px;
  color: #354863;
  margin: 0 0 32px;
  padding: 16px 18px;
}

h2 {
  font-size: clamp(22px, 4vw, 30px);
  line-height: 1.2;
  margin: 42px 0 12px;
}

h2:first-of-type {
  margin-top: 0;
}

p,
li {
  color: #30465f;
  font-size: 16px;
}

ul {
  padding-left: 22px;
}

.table-wrap {
  overflow-x: auto;
  margin: 20px 0;
  border: 1px solid var(--line);
  border-radius: 18px;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: rgb(255 255 255 / 70%);
}

th,
td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  color: #30465f;
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--ink);
  background: var(--lavender-soft);
  font-size: 14px;
}

tr:last-child td {
  border-bottom: 0;
}

.meta {
  color: var(--muted);
  font-size: 14px;
  margin-top: 16px;
}

.links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin-top: 32px;
}

.links a {
  font-weight: 700;
}

footer {
  color: var(--muted);
  font-size: 13px;
  padding: 26px 4px 0;
}

@media (max-width: 560px) {
  .shell {
    padding-top: 22px;
  }

  .brand {
    margin-bottom: 22px;
  }

  .document {
    border-radius: 22px;
  }

  .table-wrap {
    overflow: visible;
    border: 0;
  }

  table,
  tbody,
  tr,
  td {
    display: block;
    width: 100%;
  }

  thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  tr {
    margin-bottom: 12px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgb(255 255 255 / 76%);
  }

  td {
    padding: 4px 0;
    border: 0;
  }

  td:first-child {
    color: var(--ink);
    font-weight: 800;
  }

  td:nth-child(2) {
    color: #365cac;
    font-weight: 800;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
