@font-face {
  font-family: "Fraunces";
  src: url("fonts/fraunces.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("fonts/fraunces-italic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("fonts/figtree.woff2") format("woff2");
  font-weight: 300 900;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("fonts/figtree-italic.woff2") format("woff2");
  font-weight: 300 900;
  font-style: italic;
  font-display: swap;
}

/* ---------- tokens ---------- */
:root {
  --bg: #F7F2EA;
  --bg-2: #EFE6D8;
  --card: #FFFDF9;
  --ink: #1E2E33;
  --ink-2: #4A5A5E;
  --brand: #1D5E6D;
  --brand-soft: #DCEBEC;
  --deep: #143F49;
  --on-deep: #F7F2EA;
  --on-deep-2: #BFD3D3;
  --line: #DCCFBC;
  --mark: #F3D9A8;
  --ok: #2B7A4C;
  --ok-dot: #34A853;
  --warn: #A85A16;
  --warn-dot: #EE8A2A;
  --high: #B3352F;
  --high-dot: #E5483F;
  --mild-dot: #E0B21F;
  --shadow: 0 18px 40px rgba(60, 40, 20, .12);
  --device-shadow: 0 22px 28px rgba(60, 40, 20, .22);
  --radius: 22px;
  --wrap: 1160px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #131A1C;
    --bg-2: #1A2326;
    --card: #1F2A2D;
    --ink: #EFE7DB;
    --ink-2: #B7BDB7;
    --brand: #8ACBD7;
    --brand-soft: #1E3A40;
    --deep: #0D2A31;
    --on-deep: #EFE7DB;
    --on-deep-2: #A9C1C2;
    --line: #34413F;
    --mark: #5A4A2A;
    --ok: #67CE94;
    --warn: #F2A85E;
    --high: #F38A80;
    --shadow: 0 18px 40px rgba(0, 0, 0, .35);
    --device-shadow: 0 22px 28px rgba(0, 0, 0, .5);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #131A1C;
  --bg-2: #1A2326;
  --card: #1F2A2D;
  --ink: #EFE7DB;
  --ink-2: #B7BDB7;
  --brand: #8ACBD7;
  --brand-soft: #1E3A40;
  --deep: #0D2A31;
  --on-deep: #EFE7DB;
  --on-deep-2: #A9C1C2;
  --line: #34413F;
  --mark: #5A4A2A;
  --ok: #67CE94;
  --warn: #F2A85E;
  --high: #F38A80;
  --shadow: 0 18px 40px rgba(0, 0, 0, .35);
  --device-shadow: 0 22px 28px rgba(0, 0, 0, .5);
  color-scheme: dark;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 24px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1.125rem/1.6 "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  text-rendering: optimizeLegibility;
}
img, video, svg { display: block; max-width: 100%; }
a { color: var(--brand); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
p { margin: 0 0 1em; }
h1, h2, h3 { font-family: "Fraunces", Georgia, serif; font-weight: 400; line-height: 1.12; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); font-variation-settings: "SOFT" 100, "opsz" 96; letter-spacing: -.01em; }
h3 { font-size: 1.35rem; font-weight: 600; font-variation-settings: "SOFT" 60; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); margin-inline: auto; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.skip {
  position: absolute; left: 16px; top: -60px; z-index: 50; padding: 10px 16px;
  background: var(--ink); color: var(--bg); border-radius: 10px; font-weight: 700; text-decoration: none;
}
.skip:focus { top: 12px; }
.ph { background: #FFE2B8; color: #5A3300; outline: 2px dashed #E08A00; outline-offset: 1px; border-radius: 3px; padding: 0 3px; }

/* ---------- header / footer ---------- */
.site-header { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; }
.logo {
  display: inline-flex; gap: 10px; align-items: center; color: var(--ink); text-decoration: none;
  font: 600 1.35rem/1 "Fraunces", Georgia, serif; font-variation-settings: "SOFT" 100;
}
.logo img { width: 36px; height: 36px; border-radius: 9px; }
.site-nav { display: flex; align-items: center; gap: 4px 22px; font-size: 1rem; }
.site-nav a { color: var(--ink-2); text-decoration: none; padding: 6px 0; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 6px; }
.site-nav .lang { border: 1px solid var(--line); border-radius: 999px; padding: 4px 11px; color: var(--ink); font-size: .92rem; }
.site-nav .lang:hover { text-decoration: none; border-color: var(--ink-2); }

.site-footer { background: var(--bg-2); border-top: 1px solid var(--line); padding: 48px 0 40px; font-size: .98rem; color: var(--ink-2); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.site-footer .logo { font-size: 1.2rem; margin-bottom: 12px; }
.site-footer .logo img { width: 30px; height: 30px; border-radius: 8px; }
.site-footer h2 { font: 700 .82rem/1.2 "Figtree", sans-serif; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); margin-bottom: 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0 0 6px; }
.site-footer a { color: var(--ink-2); }
.site-footer a:hover { color: var(--ink); }
.footer-note { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); font-size: .9rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }

/* ---------- buttons ---------- */
.ctas { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; }
.store-badge {
  display: inline-flex; align-items: center; gap: 12px; padding: 11px 20px 11px 16px; border-radius: 14px;
  background: var(--ink); color: var(--bg); text-decoration: none; line-height: 1.15;
}
.store-badge svg { width: 26px; height: 26px; flex: none; }
.store-badge small { display: block; font-size: .78rem; opacity: .8; }
.store-badge strong { font-size: 1.12rem; }
.store-badge[aria-disabled="true"] { cursor: default; }
.text-link { color: var(--ink); font-weight: 700; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 5px; }
.text-link:hover { color: var(--brand); }

/* ---------- devices (official Apple product bezels) ---------- */
.phone, .watch { position: relative; }
.phone img, .watch img { width: 100%; height: auto; filter: drop-shadow(var(--device-shadow)); }
.phone img { aspect-ratio: 640 / 1306; }
.watch img { aspect-ratio: 520 / 800; }

/* ---------- hero ---------- */
.hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; padding: 32px 0 96px; }
.eyebrow { font-size: .98rem; font-weight: 700; color: var(--brand); margin: 0 0 16px; }
.hero h1 {
  font-size: clamp(2.5rem, 5.6vw, 4.5rem); line-height: 1.03; font-weight: 380; letter-spacing: -.015em;
  font-variation-settings: "SOFT" 100, "opsz" 144; margin: 0 0 24px;
}
.hero h1 em { font-style: italic; color: var(--brand); font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144; }
.lead { font-size: 1.22rem; color: var(--ink-2); max-width: 33em; margin: 0 0 32px; }
.stage { position: relative; min-height: 580px; }
.letter {
  position: absolute; z-index: 2; left: 0; top: 64px; width: 64%; padding: 26px 28px 30px;
  background: var(--card); border: 1px solid var(--line); border-radius: 6px; box-shadow: var(--shadow);
  transform: rotate(-4deg); font-size: .92rem; color: var(--ink-2);
}
.letter-head { font: 600 1.02rem/1.3 "Fraunces", Georgia, serif; color: var(--ink); }
.letter-rule { height: 1px; background: var(--line); margin: 14px 0; }
.letter table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.letter td { padding: 6px 0; border-bottom: 1px dashed var(--line); }
.letter td:last-child { text-align: right; color: var(--ink); }
.letter tr.hl td { background: var(--mark); font-weight: 700; color: var(--ink); }
.letter tr.hl td:first-child { padding-left: 8px; border-radius: 4px 0 0 4px; }
.letter tr.hl td:last-child { padding-right: 8px; border-radius: 0 4px 4px 0; }
.letter-note { margin-top: 14px; font-style: italic; font-size: .8rem; }
.stage .phone { position: absolute; right: 4%; top: 0; width: 46%; max-width: 270px; transform: rotate(3deg); }
.arrow { position: absolute; z-index: 3; left: 38%; top: 318px; width: 120px; color: var(--brand); }

/* ---------- sections ---------- */
.section { padding: 104px 0; }
.section-sand { background: var(--bg-2); }
.section-head { max-width: 40em; margin-bottom: 56px; }
.section-head p { color: var(--ink-2); margin: 14px 0 0; font-size: 1.15rem; }
.kicker { font-size: .95rem; font-weight: 700; color: var(--brand); margin: 0 0 14px; }

.chapters { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: ch; }
.chapter {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 28px 0; overflow: hidden; display: flex; flex-direction: column;
}
.chapter::before {
  counter-increment: ch; content: counter(ch, upper-roman) ".";
  font: italic 400 2.6rem/1 "Fraunces", Georgia, serif; color: var(--brand);
}
.chapter h3 { margin: 14px 0 8px; }
.chapter p { color: var(--ink-2); font-size: 1.02rem; margin: 0 0 24px; }
.chapter .crop { margin-top: auto; height: 280px; overflow: hidden; }
.chapter .crop .phone { width: 74%; margin: 0 auto; }
.convert { margin-top: auto; padding: 8px 0 32px; display: grid; gap: 10px; }
.convert-row {
  display: flex; justify-content: space-between; align-items: baseline; padding: 14px 16px;
  border-radius: 14px; background: var(--bg); border: 1px solid var(--line); font-variant-numeric: tabular-nums;
}
.convert-row span { color: var(--ink-2); font-size: .92rem; }
.convert-row strong { font: 500 1.5rem/1 "Fraunces", Georgia, serif; }
.convert-eq { text-align: center; color: var(--brand); font-size: .92rem; font-weight: 700; }

/* split rows */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split + .split { margin-top: 104px; }
.split-media { display: flex; justify-content: center; gap: 24px; align-items: flex-end; }
.split-media .phone { width: min(300px, 70%); }
.split-copy p { color: var(--ink-2); }
.split-copy h2 { margin-bottom: 18px; }

.traffic { list-style: none; margin: 28px 0; padding: 0; display: grid; gap: 12px; }
.traffic li {
  display: grid; grid-template-columns: 14px 1fr; gap: 4px 14px; align-items: baseline;
  padding: 16px 18px; background: var(--card); border: 1px solid var(--line); border-radius: 16px;
}
.traffic li::before { content: ""; width: 14px; height: 14px; border-radius: 50%; background: var(--c); transform: translateY(2px); }
.traffic strong { color: var(--ink); }
.traffic span { grid-column: 2; color: var(--ink-2); font-size: .98rem; }
.fine { font-size: .95rem; color: var(--ink-2); }

/* watch */
.watch-band { background: var(--deep); color: var(--on-deep); overflow: hidden; }
.watch-band .split-copy p { color: var(--on-deep-2); }
.watch-band .kicker { color: #9FD6CF; }
.watch-band h2 em { font-style: italic; color: #9FD6CF; }
.watch-pair { display: flex; gap: 28px; justify-content: center; align-items: center; }
.watch-pair .watch { width: min(220px, 42%); }
.watch-pair .watch:last-child { transform: translateY(40px) rotate(4deg); }
.steps { list-style: none; counter-reset: st; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; }
.steps li { counter-increment: st; display: flex; gap: 14px; align-items: baseline; color: var(--on-deep-2); }
.steps li::before { content: counter(st); font: italic 500 1.3rem/1 "Fraunces", Georgia, serif; color: #9FD6CF; min-width: 1ch; }

/* forms */
.forms-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.form-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 26px 24px; display: flex; flex-direction: column; }
.form-card .tag { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; font-weight: 700; color: var(--ink-2); }
.form-card .tag::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--c); }
.form-card h3 { margin: 12px 0 4px; font-size: 1.5rem; }
.form-card .range { font-variant-numeric: tabular-nums; color: var(--ink-2); font-size: .95rem; margin: 0 0 14px; }
.form-card p:last-child { margin: 0; color: var(--ink-2); font-size: 1rem; }
.spectrum { display: flex; height: 8px; border-radius: 999px; overflow: hidden; margin: 0 0 28px; }
.spectrum i { background: var(--c); }
.spectrum .w1 { flex: 1; }
.spectrum .w4 { flex: 4; }
.spectrum .w5 { flex: 5; }
.c-ok { --c: var(--ok-dot); }
.c-mild { --c: var(--mild-dot); }
.c-warn { --c: var(--warn-dot); }
.c-high { --c: var(--high-dot); }
.forms-note { margin-top: 18px; }
.forms-foot { display: grid; grid-template-columns: auto 1fr; gap: 40px; align-items: center; margin-top: 56px; }
.forms-foot .phones { display: flex; gap: 18px; }
.forms-foot .phone { width: 190px; }
.forms-foot .phone:last-child { transform: translateY(28px); }
.forms-foot p { color: var(--ink-2); }

/* video */
.video-frame { position: relative; }
.video-frame video {
  display: block; width: 100%; height: auto; aspect-ratio: 16 / 9;
  border-radius: 18px; background: #0D1114; box-shadow: var(--shadow);
}
.video-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 16px; color: var(--ink-2); font-size: .95rem; }
video::cue { font-family: "Figtree", system-ui, sans-serif; font-size: 1.05em; background: rgba(10, 16, 18, .82); color: #fff; }

/* privacy promise */
.promise { background: var(--deep); color: var(--on-deep); }
.promise .kicker { color: #9FD6CF; }
.promise h2 { max-width: 15em; margin-bottom: 18px; }
.promise h2 em { font-style: italic; color: #9FD6CF; font-variation-settings: "SOFT" 100, "WONK" 1; }
.promise-lead { color: var(--on-deep-2); max-width: 36em; font-size: 1.15rem; margin-bottom: 52px; }
.promise-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(247, 242, 234, .25); }
.promise-list li { padding: 26px 28px 8px 0; }
.promise-list li + li { padding-left: 28px; border-left: 1px solid rgba(247, 242, 234, .18); }
.promise-list .big { font: 400 3.6rem/1 "Fraunces", Georgia, serif; font-variation-settings: "SOFT" 100, "opsz" 144; color: #9FD6CF; display: block; margin-bottom: 14px; }
.promise-list h3 { color: var(--on-deep); margin-bottom: 8px; }
.promise-list p { color: var(--on-deep-2); font-size: 1rem; margin: 0; }
.promise-more { margin-top: 44px; color: var(--on-deep-2); }
.promise a { color: var(--on-deep); }
.promise :focus-visible, .watch-band :focus-visible { outline-color: #9FD6CF; }

/* more features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.feature { padding: 26px 26px 28px 0; border-bottom: 1px solid var(--line); }
.feature:not(:nth-child(3n + 1)) { padding-left: 26px; border-left: 1px solid var(--line); }
.feature svg { width: 30px; height: 30px; color: var(--brand); margin-bottom: 14px; }
.feature h3 { font-size: 1.2rem; margin-bottom: 6px; }
.feature p { color: var(--ink-2); font-size: 1rem; margin: 0; }

/* closing */
.closing { text-align: center; }
.closing img.icon { width: 88px; height: 88px; border-radius: 22px; margin: 0 auto 26px; box-shadow: var(--shadow); }
.closing h2 { margin-bottom: 16px; }
.closing p { color: var(--ink-2); max-width: 34em; margin-inline: auto; }
.closing .ctas { justify-content: center; margin-top: 28px; }
.notice {
  margin: 56px auto 0; max-width: 46em; padding: 18px 22px; border-radius: 16px; text-align: left;
  background: var(--brand-soft); color: var(--ink); font-size: 1rem; display: flex; gap: 14px; align-items: flex-start;
}
.notice svg { width: 22px; height: 22px; flex: none; color: var(--brand); margin-top: 2px; }
.notice p { margin: 0; color: var(--ink); }

/* ---------- text pages ---------- */
.page-head { padding: 40px 0 36px; }
.page-head h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); font-variation-settings: "SOFT" 100, "opsz" 144; letter-spacing: -.01em; }
.page-head p { color: var(--ink-2); font-size: 1.15rem; margin: 16px 0 0; max-width: 36em; }
.prose { padding-bottom: 96px; }
.prose h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin: 56px 0 14px; }
.prose h3 { font-size: 1.22rem; margin: 32px 0 8px; }
.prose ul { padding-left: 1.2em; margin: 0 0 1em; }
.prose li { margin-bottom: .4em; }
.prose address { font-style: normal; }
.prose .summary {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px; margin: 0 0 8px;
}
.prose .summary h2 { margin: 0 0 12px; font-size: 1.4rem; }
.prose .summary ul { margin: 0; }
.updated { color: var(--ink-2); font-size: .95rem; margin-top: 48px; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 8px; padding: 0; list-style: none; }
.toc a { display: inline-block; padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); text-decoration: none; font-size: .95rem; background: var(--card); }
.toc a:hover { border-color: var(--ink-2); }

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative;
  font: 600 1.2rem/1.35 "Fraunces", Georgia, serif; font-variation-settings: "SOFT" 60;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -8px;
  border-right: 2px solid var(--brand); border-bottom: 2px solid var(--brand); transform: rotate(45deg); transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq .answer { padding: 0 0 20px; color: var(--ink-2); }
.faq .answer p:last-child, .faq .answer ul:last-child { margin-bottom: 0; }
.path { font-weight: 700; color: var(--ink); white-space: nowrap; }
.contact-card {
  margin-top: 56px; padding: 28px; border-radius: var(--radius); background: var(--deep); color: var(--on-deep);
}
.contact-card h2 { margin: 0 0 10px; color: var(--on-deep); }
.contact-card p { color: var(--on-deep-2); }
.contact-card a { color: var(--on-deep); font-weight: 700; font-size: 1.2rem; }
.contact-card :focus-visible { outline-color: #9FD6CF; }

/* ---------- motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .letter { animation: drop-in .9s cubic-bezier(.2, .7, .2, 1) both .1s; }
  .stage .phone { animation: rise .9s cubic-bezier(.2, .7, .2, 1) both .35s; }
  .arrow path { stroke-dasharray: 200; stroke-dashoffset: 200; animation: draw 1.2s ease-out forwards 1s; }
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
  .js .reveal.is-in { opacity: 1; transform: none; }
  @keyframes drop-in { from { opacity: 0; transform: translateY(-16px) rotate(-8deg); } }
  @keyframes rise { from { opacity: 0; transform: translateY(24px) rotate(6deg); } }
  @keyframes draw { to { stroke-dashoffset: 0; } }
}

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .chapters, .forms-grid { grid-template-columns: 1fr; }
  .chapter .crop { height: 300px; }
  .chapter .crop .phone { width: min(260px, 70%); }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split.reverse .split-media { order: 2; }
  .promise-list, .features { grid-template-columns: 1fr; }
  .promise-list li, .promise-list li + li { padding: 24px 0 20px; border-left: 0; }
  .promise-list li + li { border-top: 1px solid rgba(247, 242, 234, .18); }
  .feature, .feature:not(:nth-child(3n + 1)) { padding: 22px 0; border-left: 0; }
  .forms-foot { grid-template-columns: 1fr; }
  .forms-foot .phones { justify-content: center; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 880px) {
  .hero { grid-template-columns: 1fr; gap: 28px; padding-bottom: 72px; }
  .stage { min-height: 0; height: min(96vw, 500px); }
  .letter { width: 70%; padding: 16px 18px 18px; font-size: .8rem; top: 30px; }
  .stage .phone { width: 47%; }
  .arrow { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 1.0625rem; }
  .site-nav .nav-main { display: none; }
  .section { padding: 72px 0; }
  .section-head { margin-bottom: 36px; }
  .split + .split { margin-top: 72px; }
  .watch-pair .watch:last-child { transform: translateY(24px) rotate(4deg); }
  .forms-foot .phone { width: 42%; }
  .footer-grid { grid-template-columns: 1fr; }
  .lead { font-size: 1.12rem; }
  .letter table td { padding: 4px 0; }
}
