@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/instrument-sans-latin.woff2") format("woff2");
}

:root {
  color-scheme: light dark;

  --bg: #fbf9f6;
  --surface: #ffffff;
  --surface-2: #f4f1ec;
  --line: #e8e3db;
  --line-strong: #d4cdc2;
  --text: #1f1b24;
  --text-2: #4a4452;
  --text-3: #625c6b;
  --brand: #5a4a9c;
  --brand-strong: #483b80;
  --brand-tint: #eeeaf8;
  --on-brand: #ffffff;
  --focus: #5a4a9c;

  --elim: #2f6db0;
  --reintro: #a0458f;
  --pers: #216b71;
  --moderate: #9a5b00;
  --moderate-bg: #fbefd9;

  --glow-brand: rgba(116, 92, 220, 0.17);
  --glow-pink: rgba(196, 84, 172, 0.08);
  --glow-teal: rgba(40, 150, 160, 0.08);
  --glow-amber: rgba(232, 160, 60, 0.2);
  --glow-green: rgba(42, 112, 71, 0.14);
  --glow-blue: rgba(47, 109, 176, 0.14);
  --phone-shadow: drop-shadow(0 28px 36px rgba(31, 27, 36, 0.2)) drop-shadow(0 4px 8px rgba(31, 27, 36, 0.08));
  --tile-shadow: 0 1px 2px rgba(31, 27, 36, 0.04), 0 24px 48px -32px rgba(31, 27, 36, 0.22);

  --privacy-top: #6b5ab8;
  --privacy-a: #3d3275;
  --privacy-b: #2a2252;

  --font-ui: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-display: ui-rounded, "SF Pro Rounded", "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --page-max: 1120px;
  --gutter: 24px;
  --r-tile: 32px;
  --r-panel: 40px;
  --r-small: 14px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121016;
    --surface: #1b1820;
    --surface-2: #17141c;
    --line: #2d2834;
    --line-strong: #433c4c;
    --text: #f4f1f7;
    --text-2: #d3cddb;
    --text-3: #aea7b9;
    --brand: #a898e6;
    --brand-strong: #c3b8f2;
    --brand-tint: #2d2741;
    --on-brand: #141218;
    --focus: #c3b8f2;

    --elim: #7fb0ea;
    --reintro: #e08fd0;
    --pers: #6dc7cd;
    --moderate: #f0b356;
    --moderate-bg: #3a2b12;

    --glow-brand: rgba(140, 120, 230, 0.26);
    --glow-pink: rgba(224, 143, 208, 0.1);
    --glow-teal: rgba(109, 199, 205, 0.08);
    --glow-amber: rgba(240, 179, 86, 0.14);
    --glow-green: rgba(108, 201, 146, 0.12);
    --glow-blue: rgba(127, 176, 234, 0.13);
    --phone-shadow: drop-shadow(0 28px 40px rgba(0, 0, 0, 0.55)) drop-shadow(0 0 1px rgba(255, 255, 255, 0.16));
    --tile-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 24px 48px -32px rgba(0, 0, 0, 0.8);

    --privacy-top: #5848a0;
    --privacy-a: #2e2659;
    --privacy-b: #1c1738;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  background: var(--bg);
}

body {
  display: flex;
  flex-direction: column;
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-ui);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

main {
  flex: 1 0 auto;
}

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

a {
  color: var(--brand);
  text-decoration: none;
  transition: color 0.15s ease;
}

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

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

h1,
h2,
h3 {
  margin: 0;
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

p {
  margin: 0;
  text-wrap: pretty;
}

.container {
  width: min(100% - 2 * var(--gutter), var(--page-max));
  margin-inline: auto;
}

.nowrap {
  white-space: nowrap;
}

.accent {
  color: var(--brand);
}

.skip-link {
  position: absolute;
  top: -64px;
  left: 16px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: var(--r-small);
  background: var(--brand);
  color: var(--on-brand);
  font-weight: 600;
}

.skip-link:focus {
  top: 12px;
  color: var(--on-brand);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 60px;
}

.brand {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand:hover {
  color: var(--text);
}

.brand img {
  width: 30px;
  height: 30px;
  border-radius: 22.5%;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(4px, 2vw, 28px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-links a {
  display: block;
  padding: 8px 4px;
  color: var(--text-2);
  font-size: 14.5px;
  font-weight: 500;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--text);
}

.nav-links a[aria-current="page"] {
  box-shadow: inset 0 -2px 0 var(--brand);
}

.eyebrow {
  margin: 0;
  color: var(--brand);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.store-soon {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 14px;
  color: var(--text-3);
  font-size: 15px;
  font-weight: 500;
}

.store-soon img {
  width: auto;
  height: 48px;
}

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}

.arrow-link::after {
  content: "→";
  content: "→" / "";
  transition: transform 0.2s var(--ease);
}

.arrow-link:hover::after {
  transform: translateX(3px);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btn-primary {
  background: var(--brand);
  color: var(--on-brand);
}

.btn-primary:hover {
  background: var(--brand-strong);
  color: var(--on-brand);
}

.btn-ghost {
  border-color: var(--line-strong);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.hero {
  position: relative;
  isolation: isolate;
  overflow-x: clip;
  padding-top: clamp(28px, 4.5vw, 56px);
}

.hero::before {
  content: "";
  position: absolute;
  bottom: -160px;
  left: 50%;
  z-index: -1;
  width: max(1200px, 140%);
  height: 680px;
  translate: -50% 0;
  background:
    radial-gradient(closest-side at 50% 50%, var(--glow-brand), transparent),
    radial-gradient(closest-side at 30% 52%, var(--glow-teal), transparent),
    radial-gradient(closest-side at 70% 52%, var(--glow-pink), transparent);
  background-size: 52% 100%, 34% 70%, 34% 70%;
  background-position: 50% 50%, 22% 46%, 78% 46%;
  background-repeat: no-repeat;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}

.hero h1 {
  max-width: 12ch;
  font-size: clamp(2.3rem, 0.95rem + 6.2vw, 4.9rem);
  line-height: 1;
  letter-spacing: -0.045em;
}

.lede {
  max-width: 44rem;
  color: var(--text-2);
  font-size: clamp(1.125rem, 1rem + 0.4vw, 1.3rem);
  line-height: 1.5;
}

.hero .store-soon {
  margin-top: 8px;
}

.hero-stage {
  --stage-w: min(1040px, 100vw);
  position: relative;
  width: var(--stage-w);
  aspect-ratio: 1040 / 470;
  margin: clamp(28px, 3.5vw, 48px) 0 0 calc(50% - var(--stage-w) / 2);
  -webkit-mask-image: linear-gradient(#000 64%, transparent 98%);
  mask-image: linear-gradient(#000 64%, transparent 98%);
}

.phone {
  position: absolute;
  height: auto;
  filter: var(--phone-shadow);
  animation: rise 1s var(--ease) both;
}

.phone-center {
  top: 2%;
  left: 34.5%;
  z-index: 2;
  width: 31%;
}

.phone-left,
.phone-right {
  top: 15%;
  z-index: 1;
  width: 26%;
  animation-delay: 0.08s;
}

.phone-left {
  left: 13%;
  rotate: -7deg;
}

.phone-right {
  right: 13%;
  rotate: 7deg;
}

@keyframes rise {
  from {
    translate: 0 40px;
  }
  to {
    translate: 0 0;
  }
}

.section {
  padding-block: clamp(80px, 10vw, 136px);
}

.section-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  max-width: 44rem;
  margin: 0 auto clamp(48px, 6vw, 80px);
  text-align: center;
}

.section-head h2,
.faq-intro h2 {
  font-size: clamp(2.1rem, 1.2rem + 3.6vw, 3.6rem);
  letter-spacing: -0.04em;
}

.section-head p:not(.eyebrow) {
  color: var(--text-2);
  font-size: clamp(1.06rem, 1rem + 0.3vw, 1.2rem);
}

.phases {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 48px);
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: phase;
}

.phase {
  --phase: var(--elim);
  display: flex;
  flex-direction: column;
  gap: 12px;
  counter-increment: phase;
}

.phase::before {
  content: "";
  height: 8px;
  margin-bottom: 20px;
  border-radius: 999px;
  background: var(--phase);
}

.phase-reintro {
  --phase: var(--reintro);
}

.phase-pers {
  --phase: var(--pers);
}

.phase h3 {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: clamp(1.5rem, 1.2rem + 1vw, 1.9rem);
}

.phase h3::before {
  content: "0" counter(phase);
  color: var(--phase);
  font-family: var(--font-ui);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.4;
}

.phase p {
  max-width: 30rem;
  color: var(--text-2);
}

.section-features {
  padding-top: 0;
}

.bento {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.tile {
  --glow: var(--glow-brand);
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 560px;
  overflow: hidden;
  padding: clamp(28px, 3vw, 40px) clamp(28px, 3vw, 40px) 0;
  border: 1px solid var(--line);
  border-radius: var(--r-tile);
  background:
    radial-gradient(90% 55% at 50% 100%, var(--glow), transparent 75%),
    var(--surface);
  box-shadow: var(--tile-shadow);
}

.tile h3 {
  font-size: clamp(1.4rem, 1.2rem + 0.6vw, 1.7rem);
  letter-spacing: -0.03em;
}

.tile-copy p {
  max-width: 26rem;
  margin-top: 10px;
  color: var(--text-2);
  font-size: 16.5px;
  line-height: 1.55;
}

.tile img {
  width: min(100%, 280px);
  height: auto;
  margin: auto auto 0;
  padding-top: 36px;
  filter: var(--phone-shadow);
}

.tile-wide {
  grid-column: span 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 24px;
}

.tile-wide .tile-copy {
  align-self: center;
  padding-bottom: clamp(28px, 3vw, 40px);
}

.tile-wide .tile-copy p {
  font-size: 17.5px;
}

.tile-wide h3 {
  font-size: clamp(1.7rem, 1.2rem + 1.4vw, 2.4rem);
}

.tile-wide img {
  align-self: end;
}

.tile-amber {
  --glow: var(--glow-amber);
}

.tile-wide.tile-amber {
  background:
    radial-gradient(60% 70% at 75% 100%, var(--glow), transparent 75%),
    var(--surface);
}

.tile-green {
  --glow: var(--glow-green);
}

.tile-blue {
  --glow: var(--glow-blue);
}

.tile-pink {
  --glow: var(--glow-pink);
}

.section-privacy {
  padding-block: 0;
}

.privacy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  padding: clamp(56px, 8vw, 112px) clamp(24px, 6vw, 96px);
  border-radius: var(--r-panel);
  background:
    radial-gradient(70% 80% at 50% -10%, var(--privacy-top), transparent 70%),
    linear-gradient(165deg, var(--privacy-a), var(--privacy-b));
  color: #ffffff;
  text-align: center;
}

.privacy-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
}

.privacy-icon svg {
  width: 28px;
  height: 28px;
}

.privacy h2 {
  color: #ffffff;
  font-size: clamp(2.3rem, 1.2rem + 4.4vw, 4.4rem);
  letter-spacing: -0.045em;
}

.privacy p {
  max-width: 40rem;
  color: #ebe7f7;
  font-size: clamp(1.06rem, 1rem + 0.35vw, 1.25rem);
}

.privacy .arrow-link {
  margin-top: 6px;
  color: #ffffff;
}

.privacy :focus-visible {
  outline-color: #ffffff;
}

.section-faq {
  padding-bottom: clamp(56px, 7vw, 88px);
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: start;
  gap: 40px clamp(40px, 7vw, 96px);
}

.faq-intro {
  position: sticky;
  top: 100px;
  display: grid;
  gap: 16px;
}

.faq-intro p {
  color: var(--text-2);
  font-size: 1.06rem;
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq details:first-child {
  border-top: 1px solid var(--line);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  cursor: pointer;
  font-size: clamp(1.06rem, 1rem + 0.3vw, 1.2rem);
  font-weight: 600;
  line-height: 1.4;
  list-style: none;
  text-wrap: balance;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "";
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background:
    linear-gradient(var(--brand), var(--brand)) center / 12px 2px no-repeat,
    linear-gradient(var(--brand), var(--brand)) center / 2px 12px no-repeat,
    var(--brand-tint);
  transition: transform 0.25s var(--ease);
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq summary:hover {
  color: var(--brand);
}

.faq details > div {
  padding: 0 54px 26px 0;
  color: var(--text-2);
}

.faq details > div p + p,
.faq details > div p + ol,
.faq details > div ol + p {
  margin-top: 12px;
}

.faq details ol {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 22px;
}

.faq details a,
.faq-intro a {
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, currentColor 40%, transparent);
  text-underline-offset: 3px;
}

.medical-note {
  max-width: 46rem;
  margin-inline: auto;
  padding: 32px 0 clamp(56px, 7vw, 88px);
  border-top: 1px solid var(--line);
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.6;
  text-align: center;
}

.medical-note h2 {
  margin-bottom: 8px;
  font-family: var(--font-ui);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0;
}

.site-footer {
  padding: 36px 0 44px;
  border-top: 1px solid var(--line);
  background: var(--surface-2);
  color: var(--text-3);
  font-size: 14px;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 40px;
}

.site-footer .brand {
  font-size: 17px;
}

.site-footer .brand img {
  width: 26px;
  height: 26px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a {
  color: var(--text-2);
  font-size: 14.5px;
}

.footer-links a:hover,
.footer-links a[aria-current="page"] {
  color: var(--brand);
}

.footer-bottom {
  display: grid;
  gap: 6px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.55;
}

.footer-bottom p {
  max-width: 46rem;
}

.page-hero {
  padding: clamp(56px, 8vw, 104px) 0 clamp(36px, 5vw, 56px);
}

.page-hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

.page-hero h1 {
  font-size: clamp(2.5rem, 1.4rem + 4.4vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.page-hero .container > p:not(.eyebrow) {
  max-width: 42rem;
  color: var(--text-2);
  font-size: clamp(1.08rem, 1rem + 0.35vw, 1.25rem);
  line-height: 1.55;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 0;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--text-3);
  font-size: 14.5px;
  font-weight: 500;
}

.meta-row li + li::before {
  content: "·";
  margin: 0 10px;
}

.page-body {
  padding-bottom: clamp(72px, 9vw, 120px);
}

.legal-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  align-items: start;
  gap: clamp(40px, 6vw, 80px);
  padding-top: clamp(32px, 4vw, 48px);
  border-top: 1px solid var(--line);
}

.toc {
  position: sticky;
  top: 92px;
}

.toc h2 {
  margin-bottom: 12px;
  color: var(--text-3);
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.toc ol {
  display: grid;
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: toc;
}

.toc li {
  counter-increment: toc;
}

.toc a {
  display: flex;
  gap: 10px;
  padding: 5px 0;
  color: var(--text-2);
  font-size: 14.5px;
  line-height: 1.4;
}

.toc a::before {
  content: counter(toc);
  flex: none;
  min-width: 1.4em;
  color: var(--text-3);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

.toc a:hover {
  color: var(--brand);
}

.prose {
  max-width: 44rem;
  color: var(--text-2);
  font-size: 17px;
  line-height: 1.75;
}

.prose section {
  padding-bottom: 40px;
}

.prose section + section {
  padding-top: 40px;
  border-top: 1px solid var(--line);
}

.prose h2 {
  margin-bottom: 16px;
  font-size: clamp(1.4rem, 1.2rem + 0.6vw, 1.7rem);
  letter-spacing: -0.03em;
}

.prose h3 {
  margin: 28px 0 8px;
  font-size: 1.15rem;
  letter-spacing: -0.015em;
}

.prose p + p,
.prose p + ul,
.prose ul + p,
.prose p + ol,
.prose ol + p,
.prose p + .data-table,
.prose .data-table + p {
  margin-top: 14px;
}

.prose ul,
.prose ol {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 22px;
}

.prose li::marker {
  color: var(--brand);
}

.prose strong {
  color: var(--text);
  font-weight: 600;
}

.prose a,
.doc a,
.support-card a,
.page-hero p a {
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, currentColor 40%, transparent);
  text-underline-offset: 3px;
}

.prose a:hover,
.doc a:hover,
.support-card a:hover,
.page-hero p a:hover {
  text-decoration-color: currentColor;
}

.prose > .callout,
.prose > .summary-grid {
  margin-bottom: 48px;
}

.callout {
  display: flex;
  gap: 16px;
  padding: 24px 26px;
  border-radius: 24px;
  background: var(--brand-tint);
  color: var(--text);
}

.callout > svg {
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 4px;
  color: var(--brand);
}

.callout p {
  color: var(--text);
  line-height: 1.55;
}

.data-table {
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 20px;
  background: var(--surface);
  font-size: 15.5px;
  line-height: 1.55;
}

.data-table th,
.data-table td {
  padding: 14px 18px;
  text-align: left;
  vertical-align: top;
}

.data-table th {
  background: var(--surface-2);
  color: var(--text-3);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.data-table td {
  border-top: 1px solid var(--line);
}

.data-table td:first-child {
  width: 30%;
  color: var(--text);
  font-weight: 600;
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
}

.summary-item {
  display: flex;
  gap: 14px;
  padding: 22px;
  line-height: 1.45;
}

.summary-item:nth-child(n + 3) {
  border-top: 1px solid var(--line);
}

.summary-item:nth-child(even) {
  border-left: 1px solid var(--line);
}

.icon-chip {
  display: grid;
  place-items: center;
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--brand-tint);
  color: var(--brand);
}

.icon-chip svg {
  width: 19px;
  height: 19px;
}

.fact-text strong {
  display: block;
  color: var(--text);
  font-size: 16px;
  font-weight: 600;
}

.fact-text > span {
  display: block;
  margin-top: 2px;
  color: var(--text-3);
  font-size: 14.5px;
}

.support-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  align-items: start;
  gap: clamp(40px, 6vw, 80px);
  padding-top: clamp(32px, 4vw, 48px);
  border-top: 1px solid var(--line);
}

.support-layout > aside {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 16px;
}

.support-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--tile-shadow);
}

.support-card h2 {
  font-size: 1.3rem;
  letter-spacing: -0.02em;
}

.support-card p,
.support-card li {
  color: var(--text-2);
  font-size: 15.5px;
}

.support-card ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding-left: 20px;
}

.support-card li::marker {
  color: var(--brand);
}

.mail-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  overflow-wrap: anywhere;
  font-size: 19px;
  font-weight: 700;
}

.support-card a.mail-link {
  text-decoration: none;
}

.mail-link svg {
  flex: none;
  width: 22px;
  height: 22px;
}

.faq-group + .faq-group {
  margin-top: 56px;
}

.faq-group > h2 {
  margin-bottom: 8px;
  font-size: clamp(1.4rem, 1.2rem + 0.6vw, 1.7rem);
  letter-spacing: -0.03em;
}

.faq-group > h3 {
  margin-bottom: 10px;
  color: var(--brand);
  font-family: var(--font-ui);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.01em;
}

.doc {
  max-width: 46rem;
  padding-top: clamp(32px, 4vw, 48px);
  border-top: 1px solid var(--line);
}

.doc section + section {
  margin-top: 48px;
}

.doc h2 {
  margin-bottom: 16px;
  font-size: clamp(1.4rem, 1.2rem + 0.6vw, 1.7rem);
  letter-spacing: -0.03em;
}

.doc p,
.doc li {
  color: var(--text-2);
}

.doc p + p {
  margin-top: 12px;
}

.facts {
  display: grid;
  grid-template-columns: minmax(150px, 0.4fr) 1fr;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
}

.facts dt,
.facts dd {
  margin: 0;
  padding: 15px 20px;
  border-top: 1px solid var(--line);
}

.facts dt {
  color: var(--text-3);
  font-size: 15px;
}

.facts dd {
  overflow-wrap: anywhere;
  color: var(--text);
}

.facts dt:first-of-type,
.facts dd:first-of-type {
  border-top: 0;
}

.not-found {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: clamp(80px, 13vw, 160px) 0;
  text-align: center;
}

.not-found::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  z-index: -1;
  width: min(820px, 100%);
  height: 560px;
  translate: -50% 0;
  background: radial-gradient(closest-side, var(--glow-brand), transparent);
}

.not-found img {
  width: 96px;
  height: 96px;
  border-radius: 22.5%;
  box-shadow: 0 18px 36px -14px rgba(72, 59, 128, 0.6);
}

.not-found .code {
  color: var(--brand);
  font-size: 15px;
  font-weight: 600;
}

.not-found h1 {
  font-size: clamp(2.3rem, 1.3rem + 4vw, 4rem);
  letter-spacing: -0.045em;
}

.not-found p:not(.code) {
  max-width: 32rem;
  color: var(--text-2);
}

.not-found .actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 8px;
}

@media (max-width: 960px) {
  .hero-stage {
    --stage-w: 128vw;
  }

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

  .tile {
    min-height: 520px;
  }

  .faq-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .faq-intro {
    position: static;
  }

  .legal-layout,
  .support-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }

  .toc,
  .support-layout > aside {
    position: static;
  }

  .toc {
    padding-bottom: 28px;
    border-bottom: 1px solid var(--line);
  }

  .toc ol {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 24px;
  }

  .prose {
    max-width: none;
  }
}

@media (max-width: 760px) {
  .nav-links .nav-wide {
    display: none;
  }

  .phases {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }

  .phase::before {
    margin-bottom: 12px;
  }
}

@media (max-width: 600px) {
  :root {
    --gutter: 16px;
    --r-tile: 28px;
    --r-panel: 32px;
  }

  body {
    font-size: 16px;
  }

  .site-header .container {
    height: 56px;
  }

  .nav-links {
    gap: 18px;
  }

  .hero-stage {
    --stage-w: 172vw;
    aspect-ratio: 1040 / 520;
  }

  .bento {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .tile,
  .tile-wide {
    grid-column: auto;
    display: flex;
    min-height: 0;
  }

  .tile-wide.tile-amber {
    background:
      radial-gradient(90% 55% at 50% 100%, var(--glow), transparent 75%),
      var(--surface);
  }

  .tile-wide .tile-copy {
    padding-bottom: 0;
  }

  .tile-wide h3 {
    font-size: clamp(1.4rem, 1.2rem + 0.6vw, 1.7rem);
  }

  .tile-wide .tile-copy p {
    font-size: 16.5px;
  }

  .tile img,
  .tile-wide img {
    align-self: center;
    width: min(70%, 240px);
    padding-top: 28px;
  }

  .faq summary {
    padding: 20px 0;
  }

  .faq details > div {
    padding-right: 0;
  }

  .toc ol {
    grid-template-columns: minmax(0, 1fr);
  }

  .callout {
    flex-direction: column;
    gap: 10px;
    padding: 20px;
  }

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

  .summary-item:nth-child(even) {
    border-left: 0;
  }

  .summary-item:nth-child(n + 2) {
    border-top: 1px solid var(--line);
  }

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

  .data-table thead {
    display: none;
  }

  .data-table td:first-child {
    width: 100%;
    padding-bottom: 0;
  }

  .data-table td + td {
    border-top: 0;
  }

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

  .facts dd {
    padding-top: 0;
    border-top: 0;
  }

  .footer-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-links {
    display: grid;
    grid-template-columns: repeat(2, max-content);
    gap: 10px 40px;
  }

  .medical-note {
    text-align: left;
  }
}

@media (max-width: 360px) {
  .hero h1 {
    max-width: none;
    font-size: 2.1rem;
  }

  .nav-links {
    gap: 14px;
  }

  .nav-links a {
    font-size: 14px;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
