:root {
  color-scheme: light dark;
  --canvas: #f7f8fa;
  --surface: #ffffff;
  --ink: #17191d;
  --muted: #5d6470;
  --border: #d6d9df;
  --accent: #0666cc;
  --accent-strong: #004c99;
  --support: #0a756b;
  --notice-bg: #fff4e8;
  --notice-border: #a34b00;
  --focus: #9b4d00;
  --max-width: 880px;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  color: var(--ink);
  background: var(--canvas);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.62;
  letter-spacing: 0;
}

a {
  color: var(--accent);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--accent-strong);
}

a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 3px;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 10;
  padding: 9px 12px;
  color: #ffffff;
  background: #17191d;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.header-inner,
.page,
.footer-inner {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-size: 1.18rem;
  font-weight: 750;
  text-decoration: none;
}

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 8px;
}

.primary-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
  font-size: 0.94rem;
}

.primary-nav a[aria-current="page"] {
  color: var(--ink);
  font-weight: 700;
  text-decoration-thickness: 2px;
}

.page {
  padding: 52px 0 80px;
}

.landing-page {
  padding: 0 0 80px;
}

.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: min(760px, calc(100svh - 76px));
  overflow: hidden;
  isolation: isolate;
  color: #ffffff;
  background: #123449;
}

.hero-visual,
.hero-scrim {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-visual {
  z-index: -2;
  object-fit: cover;
  object-position: center;
}

.hero-scrim {
  z-index: -1;
  background: rgb(9 28 42 / 76%);
}

.hero-inner,
.landing-content {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
}

.hero-inner {
  max-width: min(calc(100% - 32px), 760px);
  padding: clamp(64px, 10vw, 136px) 0;
}

.eyebrow {
  margin-bottom: 12px;
  font-size: 1rem;
  font-weight: 750;
}

.hero h1 {
  max-width: 650px;
  margin-bottom: 20px;
  font-size: 4.5rem;
}

.hero-lede {
  max-width: 600px;
  margin-bottom: 28px;
  font-size: 1.35rem;
  line-height: 1.5;
}

.store-cta {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 11px 17px;
  border: 1px solid #ffffff;
  border-radius: 6px;
  color: #102d40;
  background: #ffffff;
  font-weight: 750;
  text-decoration: none;
}

.store-cta:hover {
  color: #102d40;
  background: #e8f2fb;
}

.hero-note {
  max-width: 540px;
  margin: 18px 0 0;
  color: #ffffff;
  font-size: 0.96rem;
}

.landing-content {
  padding-top: 26px;
}

.landing-section {
  padding: 64px 0;
  border-top: 1px solid var(--border);
  scroll-margin-top: 24px;
}

.landing-section h2 {
  max-width: 720px;
  font-size: 2.5rem;
}

.landing-section .section-intro {
  max-width: 680px;
  font-size: 1.08rem;
}

.promise-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
  margin: 34px 0 28px;
}

.promise-list section {
  border-top: 3px solid var(--accent);
}

.promise-list h3 {
  margin-top: 14px;
}

.promise-list p {
  color: var(--muted);
}

.availability {
  max-width: 720px;
  margin-bottom: 0;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  color: var(--muted);
}

.page-title {
  max-width: 720px;
  margin-bottom: 28px;
}

h1,
h2,
h3 {
  line-height: 1.25;
  letter-spacing: 0;
}

h1 {
  margin: 0 0 12px;
  font-size: 3rem;
}

h2 {
  margin: 0 0 16px;
  font-size: 1.55rem;
}

h3 {
  margin: 28px 0 8px;
  font-size: 1.1rem;
}

p,
ul,
ol {
  margin-top: 0;
}

.lede,
.meta,
.section-intro {
  color: var(--muted);
}

.language-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 26px 0 32px;
}

.language-nav a {
  min-height: 44px;
  padding: 8px 13px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--surface);
  text-decoration: none;
}

.notice {
  margin: 28px 0;
  padding: 16px 18px;
  border-left: 5px solid var(--notice-border);
  background: var(--notice-bg);
}

.notice strong {
  display: block;
  margin-bottom: 4px;
}

.policy-section,
.support-section {
  padding: 38px 0;
  border-top: 1px solid var(--border);
  scroll-margin-top: 24px;
}

.policy-section:first-of-type,
.support-section:first-of-type {
  border-top: 0;
}

.data-table {
  width: 100%;
  margin: 22px 0 28px;
  border-collapse: collapse;
  font-size: 0.94rem;
}

.data-table th,
.data-table td {
  padding: 12px;
  border: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

.data-table th {
  background: color-mix(in srgb, var(--surface) 82%, var(--border));
}

.step-list li,
.plain-list li {
  margin-bottom: 8px;
}

.support-callout {
  padding: 18px;
  border: 1px solid var(--border);
  border-left: 5px solid var(--support);
  border-radius: 6px;
  background: var(--surface);
}

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding: 26px 0 34px;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-inner p {
  margin: 0;
}

@media (max-width: 660px) {
  h1 {
    font-size: 2rem;
  }

  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0 16px;
  }

  .primary-nav {
    justify-content: flex-start;
  }

  .page {
    padding-top: 36px;
  }

  .hero {
    min-height: 700px;
  }

  .hero-inner {
    padding: 76px 0 66px;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero-lede {
    font-size: 1.12rem;
  }

  .landing-section h2 {
    font-size: 1.9rem;
  }

  .landing-section {
    padding: 48px 0;
  }

  .promise-list {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .data-table,
  .data-table tbody,
  .data-table tr,
  .data-table th,
  .data-table td {
    display: block;
  }

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

  .data-table tr {
    margin-bottom: 14px;
    border: 1px solid var(--border);
  }

  .data-table th,
  .data-table td {
    border: 0;
    border-bottom: 1px solid var(--border);
  }

  .data-table td::before {
    display: block;
    margin-bottom: 4px;
    color: var(--muted);
    content: attr(data-label);
    font-size: 0.78rem;
    font-weight: 700;
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    --canvas: #111315;
    --surface: #1b1e22;
    --ink: #f4f5f7;
    --muted: #c4c8cf;
    --border: #444a53;
    --accent: #7db7ff;
    --accent-strong: #acd1ff;
    --support: #72d8cb;
    --notice-bg: #2c2118;
    --notice-border: #ffad66;
    --focus: #ffbd76;
  }
}

@media (prefers-contrast: more) {
  :root {
    --border: currentColor;
  }

  a {
    text-decoration-thickness: 2px;
  }
}

@media (forced-colors: active) {
  .notice,
  .support-callout,
  .language-nav a,
  .store-cta {
    forced-color-adjust: auto;
  }

  .hero-visual,
  .hero-scrim {
    display: none;
  }

  .hero {
    color: CanvasText;
    background: Canvas;
  }

  .hero-note {
    color: CanvasText;
  }
}

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