/* Ollo V2 website design system
   Direction: "Radio tuned to quiet". Tokens mirror the app's V2Theme.swift (Ollo palette, light and dark designed separately).
   Display type: Archivo at its narrowest width, heavy (web-licensed stand-in for the app's SF Pro Compressed, which Apple
   doesn't license for websites). Body: the system font (SF Pro on Apple devices). Eyebrows: the system monospace. */

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 500 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url("/assets/fonts/archivo-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 500 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url("/assets/fonts/archivo-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  color-scheme: light dark;
  /* Ollo, light */
  --ground: #F1EFEB;
  --raised: #FFFFFF;
  --raised-2: #E9E6E0;
  --ink: #15130F;
  --ink-2: #615A51;
  --ink-3: #8F887F;
  --rule: #DAD6CF;
  --accent: #DD8524;
  --accent-ink: #98530E;
  --warn: #A63A1F;
  --band: #E4DED3;

  --font-display: "Archivo", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;

  --wrap: 1200px;
  --gutter: 20px;
  --radius: 28px;
  --radius-sm: 18px;
  --header-h: 68px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
@media (min-width: 760px) { :root { --gutter: 40px; --header-h: 76px; } }

@media (prefers-color-scheme: dark) {
  :root {
    --ground: #11100E;
    --raised: #1D1B18;
    --raised-2: #28251F;
    --ink: #F3EFE7;
    --ink-2: #A8A196;
    --ink-3: #77716A;
    --rule: #2C2925;
    --accent: #F0A04B;
    --accent-ink: #F0A04B;
    --warn: #F08A6E;
    --band: rgba(243, 239, 231, .16);
  }
}
/* Sections that are always graphite, in either appearance (like the App Store panels). */
.theme-dark {
  --ground: #11100E;
  --raised: #1D1B18;
  --raised-2: #28251F;
  --ink: #F3EFE7;
  --ink-2: #A8A196;
  --ink-3: #77716A;
  --rule: #2C2925;
  --accent: #F0A04B;
  --accent-ink: #F0A04B;
  --warn: #F08A6E;
  --band: rgba(243, 239, 231, .16);
  background: var(--ground);
  color: var(--ink);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-underline-offset: 3px; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 800; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 3px; border-radius: 6px; }
.theme-dark :focus-visible { outline-color: var(--accent); }
[id] { scroll-margin-top: calc(var(--header-h) + 16px); }
::selection { background: var(--accent); color: #15130F; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--ink); color: var(--ground); padding: 12px 18px; border-radius: 999px; text-decoration: none; font-weight: 600;
}
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.mono { font-family: var(--font-mono); letter-spacing: .02em; }
.muted { color: var(--ink-2); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- type ---------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin: 0 0 18px;
}
.display, .h-display {
  font-family: var(--font-display);
  font-stretch: 62%;
  font-weight: 800;
  letter-spacing: -.012em;
  line-height: .94;
}
.h-hero { font-size: clamp(50px, 8.8vw, 116px); }
.h-section { font-size: clamp(44px, 8.2vw, 104px); }
.h-sec { font-family: var(--font-display); font-stretch: 62%; font-weight: 800; font-size: clamp(30px, 4vw, 44px); letter-spacing: -.005em; line-height: 1; }
.h-card { font-family: var(--font-display); font-stretch: 62%; font-weight: 800; font-size: clamp(28px, 3vw, 36px); line-height: 1; letter-spacing: -.005em; }
.amber { color: var(--accent-ink); }
.theme-dark .amber { color: var(--accent); }
.lede { font-size: clamp(18px, 2.1vw, 22px); line-height: 1.45; color: var(--ink-2); max-width: 36em; }
.small { font-size: 14px; line-height: 1.45; }
.fine { font-size: 13px; line-height: 1.45; color: var(--ink-2); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  background: var(--ink); color: var(--ground);
  font-size: 17px; font-weight: 600; text-decoration: none; border: 0; cursor: pointer;
  transition: transform .25s var(--ease), background-color .2s, opacity .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: scale(.98); }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 15px; }
.btn-ghost { background: color-mix(in srgb, var(--ink) 10%, transparent); color: var(--ink); }
.btn-light { background: #F3EFE7; color: #15130F; }
.btn svg { width: 18px; height: 18px; fill: currentColor; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--ground) 82%, transparent);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  backdrop-filter: saturate(160%) blur(18px);
  border-bottom: .5px solid transparent;
  transition: border-color .25s;
}
.site-header.scrolled { border-bottom-color: var(--rule); }
.bar { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 16px; }
.brand { display: inline-flex; flex: none; }
.brand-logo { height: 46px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a:not(.btn) {
  padding: 10px 12px; border-radius: 999px; text-decoration: none; font-size: 15px; font-weight: 500; color: var(--ink-2);
  transition: color .2s, background-color .2s;
}
.nav a:not(.btn):hover, .nav a[aria-current] { color: var(--ink); background: color-mix(in srgb, var(--ink) 7%, transparent); }
.nav-cta { margin-left: 8px; }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 22px; border: 0; background: color-mix(in srgb, var(--ink) 8%, transparent); cursor: pointer; place-items: center; }
.menu-ico, .menu-ico::before { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; content: ""; position: relative; transition: transform .25s var(--ease); }
.menu-ico::before { position: absolute; top: 6px; left: 0; }
.menu-btn[aria-expanded="true"] .menu-ico { transform: translateY(3px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-ico::before { transform: translateY(-6px) rotate(-90deg); top: 6px; }
@media (max-width: 959px) {
  .menu-btn { display: grid; }
  .nav {
    position: absolute; left: 0; right: 0; top: var(--header-h);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px var(--gutter) 20px;
    background: var(--ground);
    border-bottom: .5px solid var(--rule);
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s linear .25s;
  }
  .nav.open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .nav a:not(.btn) { padding: 16px 4px; border-radius: 0; font-size: 20px; border-bottom: .5px solid var(--rule); }
  .nav-cta { margin: 16px 0 0; min-height: 52px; font-size: 17px; }
}

/* ---------- sections ---------- */
.section { padding-block: clamp(72px, 11vw, 148px); }
.section-head { max-width: 920px; margin-bottom: clamp(36px, 6vw, 72px); }
.section-head .lede { margin-top: 24px; }
.band { background: var(--raised); border-block: .5px solid var(--rule); }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding-top: clamp(24px, 3.5vw, 48px); padding-bottom: clamp(110px, 12vw, 150px); }
.hero-grid { display: grid; gap: clamp(40px, 6vw, 72px); align-items: center; position: relative; z-index: 2; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); } }
.hero h1 { margin-bottom: 28px; }
.hero .lede { margin-bottom: 36px; }
.hero-note { margin-top: 22px; max-width: 34em; }
.wave-bg { position: absolute; inset: auto 0 clamp(8px, 2vw, 28px) 0; width: 100%; height: clamp(80px, 10vw, 120px); z-index: 1; pointer-events: none; opacity: .9; }
.wave-bg svg { width: 100%; height: 100%; overflow: visible; }
.wave-line { fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.wave-bg .wave-line { opacity: .85; }
.wave-ghost { opacity: .22; }
.js .wave-draw { stroke-dasharray: 2600; stroke-dashoffset: 2600; animation: wave-in 2.4s var(--ease) .15s forwards; }
@keyframes wave-in { to { stroke-dashoffset: 0; } }
.wave-breathe { transform-origin: 50% 50%; }
@keyframes breathe { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(.88); } }

.hero-visual { position: relative; display: grid; place-items: center; min-height: 380px; padding-block: 10px; }
.float {
  position: absolute; z-index: 3;
  background: var(--raised); color: var(--ink);
  border: .5px solid var(--rule); border-radius: 20px;
  padding: 14px 18px; box-shadow: 0 18px 50px rgba(0, 0, 0, .14);
  animation: bob 7s ease-in-out infinite;
}
.theme-dark .float, .hero .float { }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.float .num { font-family: var(--font-display); font-stretch: 62%; font-weight: 800; font-size: 44px; line-height: .9; letter-spacing: -.01em; }
.float .num small { font-size: 22px; margin-left: 2px; }
.float .cap { font-size: 12px; color: var(--ink-2); margin-top: 6px; }
.float-a { left: -4%; bottom: 14%; animation-delay: -2s; }
.float-b { right: -2%; top: 10%; animation-delay: -4.5s; }
@media (max-width: 520px) { .float-a { left: -2%; } .float-b { right: -2%; } .float .num { font-size: 34px; } }

/* ---------- phone ---------- */
.phone {
  position: relative; width: min(100%, 300px);
  border-radius: 14.2% / 6.6%;
  background: #000;
  box-shadow: 0 0 0 2px #3a3631, 0 0 0 8px #15130F, 0 40px 90px -20px rgba(0, 0, 0, .45);
  overflow: hidden;
  aspect-ratio: 1320 / 2868;
}
.phone img { width: 100%; height: 100%; object-fit: cover; }
.phone-lg { width: min(100%, 290px); }
.phone-sm { width: min(100%, 240px); }

/* ---------- how it works (sticky story) ---------- */
.story { display: grid; gap: 0; }
@media (min-width: 960px) {
  .story { grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: clamp(48px, 8vw, 120px); align-items: start; }
  .story-stage { position: sticky; top: calc(var(--header-h) + 32px); height: calc(100svh - var(--header-h) - 64px); display: grid; place-items: center; }
  .story-stage .stage-phone { height: min(calc(100svh - var(--header-h) - 96px), 720px); aspect-ratio: 1320 / 2868; }
  .story-stage .phone { width: 100%; height: 100%; }
}
.story-stage { display: none; }
@media (min-width: 960px) { .story-stage { display: grid; } .step-visual { display: none; } }
.stage-phone { position: relative; }
.stage-phone .phone img { position: absolute; inset: 0; opacity: 0; transition: opacity .6s var(--ease); }
.stage-phone .phone img.on { opacity: 1; }
.steps { display: grid; gap: clamp(48px, 9vw, 28vh); }
@media (min-width: 960px) { .steps { gap: 24vh; padding-block: 8vh 14vh; } }
.step { opacity: 1; }
@media (min-width: 960px) { .js .step { opacity: .35; transition: opacity .5s var(--ease); } .js .step.on { opacity: 1; } }
.step-num { font-family: var(--font-mono); font-size: 13px; letter-spacing: .06em; color: var(--accent-ink); margin-bottom: 14px; }
.step h3 { font-size: clamp(36px, 5.6vw, 64px); line-height: .96; margin-bottom: 18px; }
.step p { color: var(--ink-2); font-size: clamp(17px, 1.7vw, 20px); max-width: 30em; }
.step-visual { margin-top: 28px; display: grid; justify-items: start; }
.step .fine { margin-top: 14px; }

.chips-demo { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.chip-demo { padding: 10px 16px; border-radius: 999px; background: var(--raised); border: .5px solid var(--rule); font-size: 15px; font-weight: 500; }
.chip-demo.on { background: var(--ink); color: var(--ground); border-color: var(--ink); }

/* ---------- bento features ---------- */
.bento { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .bento { grid-template-columns: repeat(6, 1fr); gap: 20px; } }
.card {
  background: var(--raised); border: .5px solid var(--rule); border-radius: var(--radius);
  padding: clamp(24px, 3vw, 36px); position: relative; overflow: hidden;
  transition: transform .35s var(--ease), border-color .25s;
}
.card:hover { transform: translateY(-3px); border-color: var(--ink-2); }
.card p { color: var(--ink-2); margin: 12px 0 0; }
.card .h-card + p { margin-top: 14px; }
.card .tag { margin-bottom: 16px; }
@media (min-width: 760px) {
  .span-3 { grid-column: span 3; }
  .span-2 { grid-column: span 2; }
  .span-4 { grid-column: span 4; }
  .span-6 { grid-column: span 6; }
}
.card-visual { margin-top: 24px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; }
.tag, .badge {
  display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase;
  border: 1px solid var(--rule); color: var(--ink-2); background: transparent;
}
.badge-plus { border-color: var(--ink-3); color: var(--ink); }
.badge-free { background: color-mix(in srgb, var(--ink) 8%, transparent); border-color: transparent; }

/* pulse demo */
.pulse-demo { margin-top: 22px; }
.pulse-demo svg { width: 100%; height: 120px; overflow: visible; }
.pulse-readout { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 8px; }
.pulse-readout .big { font-family: var(--font-display); font-stretch: 62%; font-weight: 800; font-size: 52px; line-height: .9; }
.pulse-readout .lbl { font-size: 13px; color: var(--ink-2); }
.range { width: 100%; margin: 14px 0 6px; accent-color: var(--accent); height: 32px; }
.pulse-demo .fine { margin: 6px 0 0; }

/* sample result card (illustrative) */
.sample-card {
  background: var(--raised); color: var(--ink); border-radius: 22px; padding: 22px;
  border: .5px solid var(--rule);
}
.sample-card .big { font-family: var(--font-display); font-stretch: 62%; font-weight: 800; font-size: clamp(64px, 9vw, 96px); line-height: .85; letter-spacing: -.02em; }
.sample-card .big small { font-size: .4em; letter-spacing: 0; margin-left: 6px; color: var(--ink-2); }
.sample-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.sample-stats li { background: var(--raised-2); border-radius: 14px; padding: 10px 12px; }
.sample-stats b { display: block; font-family: var(--font-display); font-stretch: 62%; font-size: 24px; line-height: 1; font-weight: 800; }
.sample-stats span { font-size: 12px; color: var(--ink-2); }
.goal-bar { margin-top: 18px; }
.goal-bar .row { display: flex; justify-content: space-between; font-size: 14px; margin-bottom: 8px; color: var(--ink-2); }
.goal-bar .row b { color: var(--ink); font-weight: 600; }
.goal-track { height: 8px; border-radius: 8px; background: var(--raised-2); overflow: hidden; }
.goal-fill { height: 100%; width: 0; background: var(--accent); border-radius: 8px; transition: width 1.2s var(--ease) .2s; }
.in-view .goal-fill, .no-js .goal-fill { width: var(--fill, 60%); }

/* ---------- plate check ---------- */
.plate { position: relative; overflow: hidden; }
.plate-grid { display: grid; gap: clamp(36px, 6vw, 80px); align-items: start; }
@media (min-width: 960px) { .plate-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.flow { list-style: none; display: grid; gap: 0; margin: 28px 0 0; counter-reset: flow; }
.flow li { position: relative; padding: 18px 0 18px 60px; border-top: .5px solid var(--rule); counter-increment: flow; }
.flow li:last-child { border-bottom: .5px solid var(--rule); }
.flow li::before {
  content: counter(flow, decimal-leading-zero); position: absolute; left: 0; top: 20px;
  font-family: var(--font-mono); font-size: 13px; color: var(--accent);
}
.flow b { display: block; font-size: 18px; font-weight: 600; margin-bottom: 2px; }
.flow span { color: var(--ink-2); font-size: 16px; }
.plate-card { display: grid; gap: 16px; }
.callout { border: .5px solid var(--rule); background: var(--raised); border-radius: var(--radius-sm); padding: 18px 20px; font-size: 15px; color: var(--ink-2); }
.callout b { color: var(--ink); }
.allowance { display: inline-flex; flex-wrap: wrap; gap: 10px 16px; margin-top: 28px; align-items: center; }

/* ---------- works with ---------- */
.med-search { position: relative; max-width: 520px; margin-bottom: 36px; }
.med-search input, .help-search input {
  width: 100%; min-height: 56px; border-radius: 999px; border: .5px solid var(--rule);
  background: var(--raised); color: var(--ink); padding: 0 24px 0 52px; font: inherit; font-size: 17px;
}
.med-search svg, .help-search svg { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; stroke: var(--ink-2); fill: none; stroke-width: 2; stroke-linecap: round; }
input:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 2px; }
.med-groups { display: grid; gap: 40px; }
@media (min-width: 900px) { .med-groups { grid-template-columns: repeat(2, 1fr); gap: 48px 64px; } }
.med-group-title { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); margin: 0 0 12px; font-weight: 400; }
.med-list { list-style: none; display: grid; gap: 10px; }
.med {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  background: var(--raised); border: .5px solid var(--rule); border-radius: 18px; padding: 16px 20px;
  transition: transform .3s var(--ease);
}
.med:hover { transform: translateX(4px); }
.med-name { font-family: var(--font-display); font-stretch: 62%; font-weight: 800; font-size: 30px; line-height: 1; letter-spacing: -.005em; }
.med-ing { font-size: 14px; color: var(--ink-2); text-align: right; }
.med[hidden], .med-group[hidden] { display: none; }
.med-empty { color: var(--ink-2); margin-top: 16px; }
.notes { display: grid; gap: 10px; margin-top: 40px; max-width: 760px; }

/* ---------- plus ---------- */
.plus-head { display: grid; gap: 28px; margin-bottom: 40px; }
.compare { width: 100%; border-collapse: collapse; font-size: 16px; }
.compare caption { text-align: left; }
.compare th, .compare td { text-align: left; padding: 16px 14px 16px 0; border-top: .5px solid var(--rule); vertical-align: top; }
.compare thead th { border-top: 0; font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-2); font-weight: 400; padding-bottom: 12px; }
.compare tbody th { font-weight: 600; width: 38%; }
.compare td { color: var(--ink-2); width: 31%; }
.compare td.plus-col { color: var(--ink); }
.compare .dash { color: var(--ink-2); }
@media (max-width: 640px) {
  .compare thead { position: absolute; left: -9999px; }
  .compare, .compare tbody, .compare tr, .compare th, .compare td { display: block; width: 100%; }
  .compare tr { padding: 16px 0; border-top: .5px solid var(--rule); }
  .compare th, .compare td { border: 0; padding: 0 0 6px; width: 100% !important; }
  .compare td::before { content: attr(data-label); display: block; font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-2); }
}
.disclosure { margin-top: 48px; display: grid; gap: 12px; max-width: 820px; }

/* ---------- final cta ---------- */
.final { position: relative; overflow: hidden; text-align: left; }
.final .wave-bg { inset: auto 0 0 0; opacity: .5; height: clamp(120px, 20vw, 220px); }
.final-inner { position: relative; z-index: 2; }

/* ---------- footer ---------- */
.site-footer { padding-block: clamp(56px, 8vw, 96px) 40px; border-top: .5px solid var(--rule); }
.foot-grid { display: grid; gap: 40px; grid-template-columns: 1fr; }
@media (min-width: 800px) { .foot-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 64px; } }
.foot-logo { height: 48px; width: auto; margin-bottom: 18px; }
.foot-tag { color: var(--ink-2); margin-bottom: 22px; font-size: 18px; }
.foot-col { display: grid; gap: 4px; align-content: start; }
.foot-col a { text-decoration: none; padding: 8px 0; color: var(--ink); min-height: 40px; }
.foot-col a:hover { color: var(--accent); }
.foot-h { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-2); font-weight: 400; margin: 0 0 8px; }
.foot-legal { margin-top: 56px; padding-top: 24px; border-top: .5px solid var(--rule); display: grid; gap: 6px; }
.foot-legal p { font-size: 13px; color: var(--ink-2); margin: 0; max-width: 62em; }

/* ---------- support ---------- */
.page-head { padding-block: clamp(48px, 8vw, 96px) clamp(32px, 5vw, 56px); }
.page-head h1 { font-size: clamp(54px, 10vw, 120px); margin-bottom: 20px; }
.help-search { position: relative; max-width: 640px; margin-top: 32px; }
.chip-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.chip { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; background: var(--raised); border: .5px solid var(--rule); text-decoration: none; font-size: 15px; font-weight: 500; transition: background-color .2s, color .2s; }
.chip:hover { background: var(--ink); color: var(--ground); }
.faq-cat { padding-block: clamp(32px, 5vw, 56px); border-top: .5px solid var(--rule); }
.faq-cat-head { display: grid; gap: 6px; margin-bottom: 24px; }
.faq-cat-head p { margin: 0; }
.faq-list { display: grid; gap: 10px; max-width: 880px; }
.faq-item { background: var(--raised); border: .5px solid var(--rule); border-radius: 20px; overflow: hidden; }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 22px; min-height: 64px; font-size: 18px; font-weight: 600; line-height: 1.3;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { background: color-mix(in srgb, var(--ink) 4%, transparent); }
.chev { width: 22px; height: 22px; flex: none; stroke: var(--ink-2); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease); }
.faq-item[open] .chev { transform: rotate(180deg); }
.faq-answer { padding: 0 22px 22px; color: var(--ink-2); font-size: 16px; line-height: 1.6; max-width: 46em; }
.faq-answer p:last-child { margin-bottom: 0; }
.faq-answer a { color: var(--accent-ink); }
.faq-answer ul { padding-left: 20px; margin: 0 0 1em; }
.faq-answer li { margin-bottom: 6px; }
.faq-item[hidden], .faq-cat[hidden] { display: none; }
.no-results { padding: 40px 0; color: var(--ink-2); }
.contact-card {
  margin-top: clamp(40px, 6vw, 72px); border-radius: var(--radius); padding: clamp(28px, 4vw, 48px);
  display: grid; gap: 20px;
}
.contact-card h2 { font-size: clamp(36px, 5vw, 56px); }

/* ---------- legal ---------- */
.legal { max-width: 760px; padding-bottom: clamp(64px, 9vw, 120px); }
.legal h2 { font-family: var(--font-display); font-stretch: 62%; font-weight: 800; font-size: 32px; line-height: 1; margin: 56px 0 14px; letter-spacing: -.005em; }
.legal h3 { font-size: 18px; font-weight: 600; margin: 28px 0 8px; }
.legal p, .legal li { color: var(--ink-2); font-size: 16px; line-height: 1.7; }
.legal li { margin-bottom: 8px; }
.legal ul { padding-left: 22px; margin: 0 0 1em; }
.legal strong { color: var(--ink); font-weight: 600; }
.legal a { color: var(--accent-ink); }
.summary-box { border: .5px solid var(--rule); background: var(--raised); border-radius: var(--radius-sm); padding: 24px 26px; margin: 32px 0; }
.summary-box h2 { margin-top: 0; font-size: 26px; }
.summary-box ul { margin-bottom: 0; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 8px; }
.data-table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 18px 0 24px; }
.data-table th, .data-table td { text-align: left; padding: 12px 14px 12px 0; border-top: .5px solid var(--rule); vertical-align: top; color: var(--ink-2); }
.data-table thead th { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; font-weight: 400; border-top: 0; }
.data-table tbody th { color: var(--ink); font-weight: 600; width: 26%; }
@media (max-width: 640px) {
  .data-table thead { position: absolute; left: -9999px; }
  .data-table, .data-table tbody, .data-table tr, .data-table th, .data-table td { display: block; width: 100%; }
  .data-table tr { padding: 14px 0; border-top: .5px solid var(--rule); }
  .data-table th, .data-table td { border: 0; padding: 0 0 4px; width: 100% !important; }
  .data-table td::before { content: attr(data-label) ": "; font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-2); }
}

/* ---------- 404 ---------- */
.notfound { min-height: 70svh; display: grid; align-content: center; justify-items: start; gap: 20px; padding-block: 80px; }

/* ---------- motion ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }
.parallax { will-change: transform; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js .reveal { opacity: 1; transform: none; }
  .js .wave-draw { stroke-dashoffset: 0; }
  .float, .wave-breathe { animation: none; }
}
@media (hover: none) { .card:hover, .med:hover { transform: none; } }
@media print { .site-header, .site-footer, .wave-bg { display: none; } body { background: #fff; color: #000; } }

/* search boxes only make sense with JavaScript */
.med-search, .help-search { display: none; }
.js .med-search, .js .help-search { display: block; }

h1 + .lede, h2 + .lede, .eyebrow + h2 { margin-top: 24px; }
.eyebrow + h1, .eyebrow + h2 { margin-top: 0; }

[hidden] { display: none !important; }

@media (min-width: 960px) { .step-visual { display: none; } }

.legal .chip { color: var(--ink); text-decoration: none; }

.plate-shot { margin: 0; display: grid; justify-items: center; gap: 16px; padding-block: 8px 12px; }
.plate-shot figcaption { text-align: center; }

/* inline styles moved to classes so the CSP can forbid inline style attributes */
.x1{padding-block: clamp(48px, 7vw, 88px);}
.x2{--d:.08s;}
.x3{--d:.16s;}
.x4{list-style:none;}
.x5{margin-top:16px;}
.x6{stroke: var(--ink-3);}
.x7{position:relative; border-radius:20px; overflow:hidden;}
.x8{width:100%; height:auto; aspect-ratio: 3/2; object-fit:cover;}
.x9{left:14px; bottom:14px; animation:none; box-shadow:none;}
.x10{margin-top:28px;}
.x11{--d:.1s;}
.x12{max-width: 11em;}
.x13{margin-block: 24px 32px;}
.x14{margin-top:24px; max-width: 40em;}
.x15{height: clamp(56px, 8vw, 96px);}

/* ---------- optional website analytics choice ---------- */
.analytics-choice {
  position: fixed;
  z-index: 300;
  inset-inline: 16px;
  bottom: max(16px, env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: 900px;
  margin-inline: auto;
  padding: 18px 20px;
  border: 1px solid var(--rule);
  border-radius: var(--radius-sm);
  background: var(--raised);
  color: var(--ink);
  box-shadow: 0 12px 44px rgba(21, 19, 15, .2);
}
.analytics-choice__copy { max-width: 52em; }
.analytics-choice__copy strong { display: block; margin-bottom: 3px; }
.analytics-choice__copy p { margin: 0; color: var(--ink-2); font-size: 14px; line-height: 1.4; }
.analytics-choice__actions { display: flex; flex: none; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.analytics-choice__actions .btn { white-space: normal; }
.analytics-choice--active { inset-inline: auto 16px; display: flex; width: auto; max-width: calc(100vw - 32px); align-items: center; gap: 12px; padding: 10px 12px; font-size: 13px; }
@media (max-width: 680px) {
  .analytics-choice { align-items: stretch; flex-direction: column; gap: 12px; padding: 16px; }
  .analytics-choice__actions { justify-content: stretch; }
  .analytics-choice__actions .btn { flex: 1; }
  .analytics-choice--active { align-items: center; flex-direction: row; gap: 8px; padding: 8px 10px; font-size: 12px; }
}
