:root {
  --ink: #102c35;
  --navy: #053f4f;
  --teal: #20bfc1;
  --teal-dark: #087f84;
  --yellow: #f1b817;
  --paper: #ffffff;
  --soft: #f3f7f7;
  --line: #d7e2e3;
  --muted: #587078;
  --warning: #fff5c7;
  --warning-ink: #614b00;
  --shadow: 0 16px 50px rgb(5 63 79 / 10%);
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: var(--teal-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--navy);
}

.draft-banner {
  padding: 0.65rem 1rem;
  color: var(--warning-ink);
  background: var(--warning);
  border-bottom: 1px solid #ebd66e;
  font-size: 0.86rem;
  font-weight: 700;
  text-align: center;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgb(255 255 255 / 96%);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.header-inner {
  width: min(1180px, calc(100% - 40px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  flex: 0 0 auto;
}

.brand img {
  width: 132px;
  height: 46px;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  overflow-x: auto;
  scrollbar-width: none;
}

.main-nav::-webkit-scrollbar {
  display: none;
}

.main-nav a {
  min-height: 42px;
  padding: 0.6rem 0.72rem;
  color: var(--muted);
  border-bottom: 2px solid transparent;
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--navy);
  border-bottom-color: var(--teal);
}

main {
  min-height: calc(100vh - 250px);
}

.intro {
  width: min(1180px, calc(100% - 40px));
  min-height: 520px;
  margin: 0 auto;
  padding: 6rem 0 4rem;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
  align-items: center;
  gap: 5rem;
}

.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.intro h1,
.page-heading h1 {
  max-width: 850px;
  margin: 0;
  color: var(--navy);
  font-size: clamp(2.5rem, 7vw, 5.2rem);
  line-height: 1.03;
  letter-spacing: 0;
}

.intro .lead {
  max-width: 710px;
  margin: 1.65rem 0 0;
  color: var(--muted);
  font-size: 1.18rem;
}

.intro-actions {
  margin-top: 2rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem 1.25rem;
}

.text-link {
  font-weight: 800;
}

.intro-mark {
  display: grid;
  place-items: center;
}

.intro-mark img {
  width: min(100%, 330px);
  aspect-ratio: 1;
  object-fit: contain;
}

.documents {
  padding: 5.5rem max(20px, calc((100% - 1180px) / 2));
  background: var(--soft);
  border-block: 1px solid var(--line);
}

.download-band {
  padding: 4rem max(20px, calc((100% - 1180px) / 2));
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.7fr);
  align-items: center;
  gap: 4rem;
  color: #ffffff;
  background: var(--navy);
}

.download-band .eyebrow {
  color: var(--yellow);
}

.download-band h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(2rem, 5vw, 3.8rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.download-band p {
  max-width: 680px;
  margin: 1rem 0 0;
  color: #cde0e3;
}

.version-label {
  margin-top: 1.2rem;
  display: inline-block;
  color: var(--yellow);
  font-size: 0.84rem;
  font-weight: 800;
}

.platform-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.platform-button {
  min-height: 88px;
  padding: 1rem 1.15rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--navy);
  background: var(--teal);
  border: 1px solid var(--teal);
  border-radius: 6px;
  text-decoration: none;
}

.platform-button-light {
  color: var(--navy);
  background: #ffffff;
  border-color: #ffffff;
}

.platform-button span {
  font-size: 1.15rem;
  font-weight: 900;
}

.platform-button small {
  margin-top: 0.2rem;
  font-size: 0.76rem;
  font-weight: 700;
}

a.platform-button:hover {
  color: var(--navy);
  background: var(--yellow);
  border-color: var(--yellow);
}

.platform-button.is-disabled {
  opacity: 0.52;
  cursor: not-allowed;
}

.section-heading {
  margin-bottom: 2rem;
}

.section-heading h2,
.account-band h2,
.support-band h2,
.deletion-layout h2,
.retention-note h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.65rem, 4vw, 2.55rem);
  line-height: 1.15;
  letter-spacing: 0;
}

.document-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.document-card {
  min-height: 270px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  text-decoration: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.document-card:hover {
  color: var(--ink);
  border-color: var(--teal);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.document-index {
  color: var(--yellow);
  font-weight: 900;
}

.document-card h2 {
  margin: 2.1rem 0 0.55rem;
  color: var(--navy);
  font-size: 1.25rem;
  line-height: 1.25;
  letter-spacing: 0;
}

.document-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.card-link {
  margin-top: auto;
  padding-top: 1.25rem;
  color: var(--teal-dark);
  font-size: 0.88rem;
  font-weight: 800;
}

.account-band,
.support-band {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.account-band {
  padding: 5.5rem 0;
}

.account-band > div {
  max-width: 760px;
}

.account-band p:not(.eyebrow) {
  margin: 1rem 0 0;
  color: var(--muted);
}

.button {
  min-height: 48px;
  padding: 0.72rem 1.15rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: var(--navy);
  border: 1px solid var(--navy);
  border-radius: 5px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.button:hover {
  color: var(--navy);
  background: var(--teal);
  border-color: var(--teal);
}

.support-band {
  width: 100%;
  padding: 3.5rem max(20px, calc((100% - 1180px) / 2));
  color: #ffffff;
  background: var(--navy);
}

.support-band .eyebrow {
  color: var(--yellow);
}

.support-band h2 {
  color: #ffffff;
}

.support-band > a {
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 800;
}

.page-heading {
  padding: 5rem max(20px, calc((100% - 980px) / 2)) 3.2rem;
  background: var(--soft);
  border-bottom: 1px solid var(--line);
}

.page-heading h1 {
  max-width: 980px;
  font-size: clamp(2.35rem, 6vw, 4.6rem);
}

.page-heading > p:last-child {
  max-width: 700px;
  margin: 1.25rem 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.legal-document {
  width: min(820px, calc(100% - 40px));
  margin: 0 auto;
  padding: 4.5rem 0 6rem;
}

.legal-document h1 {
  display: none;
}

.legal-document h2 {
  margin: 3rem 0 0.9rem;
  padding-top: 1.3rem;
  color: var(--navy);
  border-top: 1px solid var(--line);
  font-size: 1.5rem;
  line-height: 1.25;
  letter-spacing: 0;
}

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

.legal-document h3 {
  margin: 2rem 0 0.6rem;
  color: var(--navy);
  font-size: 1.08rem;
  letter-spacing: 0;
}

.legal-document p,
.legal-document li {
  color: #304a52;
}

.legal-document ul,
.legal-document ol {
  padding-left: 1.25rem;
}

.legal-document blockquote {
  margin: 1.5rem 0;
  padding: 1rem 1.25rem;
  background: var(--soft);
  border-left: 4px solid var(--teal);
}

.legal-document table {
  width: 100%;
  margin: 1.5rem 0;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.legal-document th,
.legal-document td {
  padding: 0.8rem;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.legal-document th {
  color: var(--navy);
  background: var(--soft);
}

.legal-document code {
  overflow-wrap: anywhere;
}

.deletion-layout {
  width: min(980px, calc(100% - 40px));
  margin: 0 auto;
  padding: 4rem 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.deletion-layout > article {
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.deletion-layout h2 {
  font-size: 1.45rem;
}

.deletion-layout article > p {
  color: var(--muted);
}

.steps {
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.steps li {
  min-height: 52px;
  margin-bottom: 1rem;
  display: grid;
  grid-template-columns: 38px 1fr;
  align-items: start;
  gap: 0.9rem;
}

.steps span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: var(--navy);
  background: var(--teal);
  border-radius: 50%;
  font-weight: 900;
}

.steps p {
  margin: 0.25rem 0 0;
}

.fine-print {
  margin-top: 1.2rem;
  font-size: 0.84rem;
}

.retention-note {
  width: min(980px, calc(100% - 40px));
  margin: 0 auto 5rem;
  padding: 2.3rem;
  background: var(--soft);
  border-left: 5px solid var(--yellow);
}

.retention-note h2 {
  font-size: 1.4rem;
}

.retention-note p {
  color: var(--muted);
}

.site-footer {
  padding: 3rem max(20px, calc((100% - 1180px) / 2));
  display: flex;
  justify-content: space-between;
  gap: 3rem;
  color: #cde0e3;
  background: #082f39;
}

.site-footer > div:first-child {
  max-width: 480px;
  display: grid;
  grid-template-columns: 52px 1fr;
  align-items: center;
  gap: 1rem;
}

.site-footer img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.site-footer p {
  margin: 0;
  font-size: 0.88rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem 1rem;
}

.footer-links a {
  color: #ffffff;
  font-size: 0.84rem;
  font-weight: 700;
}

@media (max-width: 920px) {
  .header-inner {
    padding: 0.7rem 0;
    align-items: flex-start;
    flex-direction: column;
    gap: 0.45rem;
  }

  .main-nav {
    width: 100%;
  }

  .intro {
    min-height: 0;
    padding: 4rem 0;
    grid-template-columns: minmax(0, 1fr) 220px;
    gap: 2rem;
  }

  .download-band {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .document-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer {
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .header-inner,
  .intro,
  .account-band,
  .legal-document,
  .deletion-layout,
  .retention-note {
    width: min(100% - 28px, 1180px);
  }

  .brand img {
    width: 118px;
    height: 40px;
  }

  .main-nav a {
    padding-inline: 0.55rem;
    font-size: 0.8rem;
  }

  .intro {
    padding: 3.25rem 0 2.5rem;
    display: block;
  }

  .intro h1,
  .page-heading h1 {
    font-size: 2.5rem;
  }

  .intro-mark {
    width: 150px;
    margin: 2.5rem auto 0;
  }

  .documents {
    padding: 4rem 14px;
  }

  .download-band {
    padding: 3.5rem 14px;
  }

  .platform-actions {
    grid-template-columns: 1fr;
  }

  .document-grid,
  .deletion-layout {
    grid-template-columns: 1fr;
  }

  .document-card {
    min-height: 220px;
  }

  .account-band,
  .support-band {
    align-items: flex-start;
    flex-direction: column;
  }

  .account-band {
    padding: 4rem 0;
  }

  .support-band {
    padding: 3rem 14px;
  }

  .page-heading {
    padding: 3.5rem 14px 2.5rem;
  }

  .legal-document {
    padding: 3rem 0 4rem;
  }

  .legal-document table {
    display: block;
    overflow-x: auto;
  }

  .deletion-layout {
    padding: 3rem 0;
  }

  .deletion-layout > article {
    padding: 1.4rem;
  }

  .retention-note {
    margin-bottom: 3.5rem;
    padding: 1.5rem;
  }

  .site-footer {
    padding: 2.5rem 14px;
  }
}

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

  .document-card {
    transition: none;
  }
}
