/* RoomLedger landing — shared styles. Plain CSS, no build step.
   Adapted from the Flowjar landing: same type scale and components, plus dark mode and an app accent.
   The three sensor-suite sites share this file; only the accent block below differs. */

:root {
  /* App accent (RoomLedger teal) */
  --accent: #087A62;          /* 5.3:1 on white */
  --accent-bright: #3DD6AE;   /* accent on dark surfaces */
  --accent-soft: #E4F4EF;     /* tinted surfaces */
  --accent-faint: #C9E9DF;    /* decorative numerals */
  --accent-glow: rgba(8, 122, 98, .20);

  --bg: #FFFFFF;
  --surface: #F6F6F6;
  --surface-2: #EFEFEF;
  --line: #E7E7E7;
  --ink: #0A0A0A;
  --ink-2: #1D1D1F;
  --prose: #3F3F3F;
  --soft: #8C8C8C;            /* first headline line — large text only */
  --body: #6B6B6B;            /* body copy — 5.3:1 on white */
  --bullet: #9A9A9A;
  --nav-bg: rgba(255, 255, 255, .82);
  --btn-hover: #262626;
  --on-ink: #FFFFFF;

  /* Dark cards (Pro plan, support contact) */
  --pro-bg: #0A0A0A;
  --pro-ink: #FFFFFF;
  --pro-muted: #A3A3A3;
  --pro-line: #262626;
  --plan-bg: #161616;
  --plan-rec-bg: #1B1B1B;
  --plan-rec-line: #F2F2F2;
  --chip-bg: #2A2A2A;

  /* Notices (disclaimers) */
  --warn-bg: #FFF8EB;
  --warn-line: #F3DDB0;
  --warn-ink: #8A5300;

  /* Screenshot placeholder */
  --ph-a: var(--accent-soft);
  --ph-b: #FFFFFF;
  --ph-card: #FFFFFF;
  --ph-card-shadow: 0 1px 2px rgba(0, 0, 0, .05), 0 6px 16px -10px rgba(0, 0, 0, .18);
  --ph-bar: rgba(10, 10, 10, .10);
  --ph-label: #8C8C8C;

  --maxw: 1160px;
  --gutter: clamp(18px, 4vw, 40px);
  --radius: 28px;
  --section: clamp(88px, 11vw, 168px);

  --font: -apple-system, "SF Pro Display", "Inter", system-ui, sans-serif;
  --phone-shadow: 36px 56px 80px -34px rgba(0, 0, 0, .30), 0 24px 48px -24px rgba(0, 0, 0, .16);

  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --accent: #3DD6AE;
    --accent-bright: #3DD6AE;
    --accent-soft: #0E2420;
    --accent-faint: #143A31;
    --accent-glow: rgba(61, 214, 174, .18);

    --bg: #0B0B0D;
    --surface: #151518;
    --surface-2: #1D1D21;
    --line: #26262B;
    --ink: #F5F5F7;
    --ink-2: #E6E6EA;
    --prose: #C7C7CC;
    --soft: #7C7C83;
    --body: #A1A1A8;
    --bullet: #6A6A70;
    --nav-bg: rgba(11, 11, 13, .78);
    --btn-hover: #D9D9DE;
    --on-ink: #0B0B0D;

    --pro-bg: #151518;
    --pro-ink: #F5F5F7;
    --pro-muted: #A1A1A8;
    --pro-line: #2A2A30;
    --plan-bg: #1B1B20;
    --plan-rec-bg: #202027;
    --plan-rec-line: var(--accent-bright);
    --chip-bg: #2A2A31;

    --warn-bg: #221A0C;
    --warn-line: #47361A;
    --warn-ink: #F2B54B;

    --ph-a: #10241F;
    --ph-b: #0F0F13;
    --ph-card: #1B1C24;
    --ph-card-shadow: 0 0 0 1px rgba(255, 255, 255, .04);
    --ph-bar: rgba(255, 255, 255, .12);
    --ph-label: #74747B;

    --phone-shadow: 30px 50px 80px -34px rgba(0, 0, 0, .8), 0 24px 48px -24px rgba(0, 0, 0, .6);
  }
}

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

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p, h1, h2, h3, h4, ul, ol, figure, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }

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

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip {
  position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100;
  padding: 10px 16px; border-radius: 999px;
  background: var(--ink); color: var(--on-ink);
  font-weight: 600; font-size: 14px; text-decoration: none;
}
.skip:focus { top: 12px; }

.container {
  width: 100%;
  max-width: calc(var(--maxw) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Type ---------- */

.display, .h2, .h3 {
  font-weight: 700;
  color: var(--ink);
  text-wrap: balance;
}
.display {
  font-size: clamp(44px, 7.6vw, 104px);
  line-height: .98;
  letter-spacing: -0.056em;
}
.h2 {
  font-size: clamp(36px, 5.4vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.05em;
}
.h2.sm { font-size: clamp(32px, 4.3vw, 58px); }
.h3 {
  font-size: clamp(20px, 1.7vw, 23px);
  line-height: 1.2;
  letter-spacing: -0.03em;
  font-weight: 650;
}
.display > span, .h2 > span { display: block; }
.soft { color: var(--soft); }

.lead {
  font-size: clamp(18px, 1.55vw, 21px);
  line-height: 1.45;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--body);
  text-wrap: pretty;
}
.body { color: var(--body); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600;
  letter-spacing: .02em; text-transform: uppercase;
  color: var(--body);
}
.eyebrow::before {
  content: ""; width: 7px; height: 7px; border-radius: 999px; flex: none;
  background: var(--accent);
}
.fine { font-size: 14px; color: var(--body); letter-spacing: -0.005em; }
.center { text-align: center; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 28px;
  border-radius: 999px; border: 0;
  background: var(--ink); color: var(--on-ink);
  font-size: 16px; font-weight: 600; letter-spacing: -0.015em;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform .15s ease, background-color .15s ease;
}
.btn:hover { background: var(--btn-hover); }
.btn:active { transform: scale(.98); }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 14px; }
.btn-light { background: var(--pro-ink); color: var(--pro-bg); }
.btn-light:hover { background: var(--pro-ink); opacity: .88; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 600; font-size: 16px; letter-spacing: -0.015em;
  color: var(--ink); text-decoration: none;
  padding: 12px 6px;
}
.link-arrow span[aria-hidden] { display: inline-block; transition: transform .15s ease; }
.link-arrow:hover span[aria-hidden] { transform: translateX(3px); }

/* Store buttons. Self-made (no Apple or Google artwork is loaded). Always black, as store badges are. */
.store-row {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 12px 14px;
}
.store-badge {
  display: inline-flex; align-items: center; gap: 11px;
  min-height: 56px; min-width: 184px; padding: 0 22px 0 16px;
  border-radius: 15px;
  background: #000; color: #FFF;
  box-shadow: inset 0 0 0 1px #3A3A3C;
  text-decoration: none; text-align: start;
  transition: transform .15s ease, background-color .15s ease;
}
.store-badge:hover { background: #1C1C1E; }
.store-badge:active { transform: scale(.98); }
.store-badge svg {
  width: 28px; height: 28px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
}
.sb-k { display: block; font-size: 11.5px; font-weight: 500; line-height: 1.1; letter-spacing: .005em; color: #D1D1D6; }
.sb-v { display: block; font-size: 20px; font-weight: 650; line-height: 1.15; letter-spacing: -0.025em; }

/* ---------- Nav ---------- */

.nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--nav-bg);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  height: 68px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none; font-weight: 700; font-size: 18px; letter-spacing: -0.03em;
  flex: none;
}
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links > a {
  padding: 8px 14px; border-radius: 999px;
  font-size: 15px; font-weight: 500; color: var(--body); text-decoration: none;
}
.nav-links > a:hover, .nav-links > a[aria-current] { color: var(--ink); background: var(--surface); }
.nav-right { display: flex; align-items: center; gap: 10px; flex: none; }

@media (max-width: 860px) {
  .nav-links { display: none; }
}
@media (max-width: 360px) {
  .brand span { display: none; }
}

/* ---------- Phone frame and screenshots ---------- */

.phone {
  --pw: 280px;
  position: relative;
  flex: none;
  width: var(--pw);
  padding: calc(var(--pw) * .03);
  border-radius: calc(var(--pw) * .165);
  background: #0B0B0B;
  box-shadow:
    inset 0 0 0 1.5px #3B3B3B,
    inset 0 0 0 4px #141414,
    var(--phone-shadow);
}
.phone::before { /* Dynamic Island */
  content: "";
  position: absolute; z-index: 3;
  top: calc(var(--pw) * .054);
  left: 50%; transform: translateX(-50%);
  width: calc(var(--pw) * .27);
  height: calc(var(--pw) * .078);
  border-radius: 999px;
  background: #000;
}
.phone::after { /* side button */
  content: "";
  position: absolute;
  right: -2px; top: 26%;
  width: 3px; height: 13%;
  border-radius: 0 3px 3px 0;
  background: #1E1E1E;
}
.screen {
  position: relative;
  aspect-ratio: 1320 / 2868;
  border-radius: calc(var(--pw) * .137);
  overflow: hidden;
  background: var(--ph-b);
  isolation: isolate;
}
.screen img {
  position: absolute; inset: 0; z-index: 2;
  width: 100%; height: 100%;
  object-fit: cover;
  color: transparent; /* no alt text over the placeholder while loading */
}
/* A broken image (screenshot not uploaded yet) is covered by the placeholder in Chrome and Firefox;
   the inline onerror removes it everywhere else. */
.screen img::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(172deg, var(--ph-a) 0%, var(--ph-b) 62%);
}

/* Placeholder: a quiet app-screen skeleton drawn in CSS, shown until the real screenshot loads. */
.ph {
  position: absolute; inset: 0; z-index: 1;
  display: flex; flex-direction: column; align-items: stretch;
  gap: calc(var(--pw) * .035);
  padding: calc(var(--pw) * .30) calc(var(--pw) * .07) calc(var(--pw) * .09);
  background:
    radial-gradient(120% 45% at 50% 0%, var(--accent-glow), transparent 70%),
    linear-gradient(172deg, var(--ph-a) 0%, var(--ph-b) 62%);
}
.ph b {
  display: block; width: 58%; height: calc(var(--pw) * .06);
  border-radius: 999px; background: var(--ph-bar);
  margin-bottom: calc(var(--pw) * .02);
}
.ph i {
  display: block; height: calc(var(--pw) * .26);
  border-radius: calc(var(--pw) * .055);
  background: var(--ph-card);
  box-shadow: var(--ph-card-shadow);
  position: relative;
}
.ph i::before, .ph i::after {
  content: ""; position: absolute; left: 9%; height: calc(var(--pw) * .028);
  border-radius: 999px; background: var(--ph-bar);
}
.ph i::before { top: 26%; width: 52%; }
.ph i::after { top: 55%; width: 34%; opacity: .7; }
.ph i:nth-of-type(2)::before { width: 64%; }
.ph i:nth-of-type(3)::before { width: 44%; }
.ph i:first-of-type { background: var(--accent); box-shadow: none; }
.ph i:first-of-type::before, .ph i:first-of-type::after { background: rgba(255, 255, 255, .55); }
.ph em {
  margin-top: auto; align-self: center;
  font-style: normal; font-weight: 600;
  font-size: max(10px, calc(var(--pw) * .042));
  letter-spacing: .04em; text-transform: uppercase;
  color: var(--ph-label);
}

/* ---------- Hero ---------- */

.hero { padding-top: clamp(48px, 8vw, 104px); text-align: center; }
.hero-icon {
  width: clamp(76px, 7vw, 96px); height: auto; margin: 0 auto 28px;
  border-radius: 22.5%;
  box-shadow: 0 12px 30px -12px rgba(0, 0, 0, .35);
}
.hero .display { max-width: 13ch; margin-inline: auto; }
.hero .lead { max-width: 640px; margin: 28px auto 0; }
.cta-row {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 10px 18px; margin-top: 36px;
}
.hero .fine { margin-top: 18px; }

.hero-stage {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-top: clamp(56px, 7vw, 92px);
  padding: 8px 0 clamp(72px, 9vw, 120px);
}
.hero-stage::before {
  content: ""; position: absolute; z-index: -1;
  left: 50%; top: 18%; width: min(900px, 110%); height: 70%;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, var(--accent-glow), transparent);
}
.hero-phones {
  display: flex; justify-content: center; align-items: flex-start;
  gap: clamp(14px, 2.4vw, 38px);
}
.hero-phones .phone { --pw: clamp(190px, 22vw, 300px); }
.hero-phones .p-side { --pw: clamp(160px, 18vw, 250px); margin-top: clamp(36px, 5vw, 72px); }
@media (max-width: 700px) {
  .hero-phones .phone { --pw: 208px; }
  .hero-phones .p-side { --pw: 168px; margin-top: 44px; }
}

/* Notice (disclaimers) */
.notice {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 16px; align-items: start;
  max-width: 760px; margin-inline: auto;
  padding: 20px 24px; border-radius: 22px;
  background: var(--warn-bg); border: 1px solid var(--warn-line);
  text-align: start;
}
.notice svg { grid-row: span 2; width: 26px; height: 26px; color: var(--warn-ink); margin-top: 1px; }
.notice .t { font-weight: 700; letter-spacing: -0.02em; color: var(--ink); }
.notice p { color: var(--ink-2); font-size: 15.5px; line-height: 1.5; }
.notice p + p { grid-column: 2; }
.notice a { color: var(--ink); font-weight: 600; }
.hero .notice { margin-top: 28px; }
@media (max-width: 480px) {
  .notice { grid-template-columns: 1fr; padding: 18px 18px 20px; }
  .notice svg { grid-row: auto; }
  .notice p + p { grid-column: 1; }
}

/* ---------- Statement ---------- */

.statement { padding-block: var(--section) 0; text-align: center; }
.statement .h2 { max-width: 19ch; margin-inline: auto; }
.statement .lead { max-width: 620px; margin: 22px auto 0; }

/* ---------- Section heads ---------- */

.sec-head { text-align: center; }
.sec-head .h2 { max-width: 17ch; margin: 16px auto 0; }
.sec-head .lead { max-width: 600px; margin: 22px auto 0; }

/* ---------- Benefits ---------- */

.benefits { padding-block: var(--section); }
.tiles {
  margin-top: clamp(40px, 5vw, 64px);
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px;
}
.tile {
  background: var(--surface); border-radius: 24px;
  padding: 28px 26px 30px;
}
.tile svg {
  width: 44px; height: 44px; padding: 10px; border-radius: 13px;
  background: var(--accent-soft); color: var(--accent);
}
.tile .h3 { margin-top: 20px; font-size: 19px; }
.tile p { margin-top: 8px; color: var(--body); font-size: 15.5px; line-height: 1.5; }
.tile .tag-pro { vertical-align: 1px; }
@media (max-width: 900px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .tiles { grid-template-columns: 1fr; } .tile { padding: 24px 22px; } }

.tag-pro {
  display: inline-block; margin-inline-start: 6px; padding: 1px 8px; border-radius: 999px;
  background: var(--accent); color: var(--bg);
  font-size: 11.5px; font-weight: 700; letter-spacing: .02em; vertical-align: 2px;
}

/* ---------- How it works ---------- */

.how { padding-bottom: var(--section); }
.steps {
  margin-top: clamp(40px, 5vw, 64px);
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px;
}
.step {
  border: 1px solid var(--line); border-radius: 24px;
  padding: 26px 26px 30px;
}
.step-num {
  display: block;
  font-size: clamp(56px, 5vw, 76px);
  line-height: .85;
  font-weight: 800;
  letter-spacing: -0.06em;
  color: var(--accent-faint);
  font-variant-numeric: tabular-nums;
}
.step .h3 { margin-top: 22px; }
.step p { margin-top: 8px; color: var(--body); font-size: 16px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Screenshots gallery ---------- */

.gallery { --inset: max(var(--gutter), calc((100% - var(--maxw)) / 2)); padding-bottom: var(--section); }
.shots {
  display: flex; gap: clamp(18px, 2.4vw, 32px);
  margin-top: clamp(36px, 4vw, 56px);
  padding: 8px var(--inset) 64px;
  scroll-padding-inline: var(--inset);
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
}
.shots:focus-visible { outline-offset: -4px; border-radius: 24px; }
.shot { flex: none; scroll-snap-align: start; }
.shot .phone { --pw: clamp(210px, 21vw, 260px); }
.shot figcaption {
  margin-top: 22px; max-width: calc(var(--pw, 240px));
  font-size: 15px; font-weight: 600; letter-spacing: -0.015em; color: var(--ink-2);
}
.shot figcaption span { display: block; margin-top: 2px; font-weight: 500; color: var(--body); font-size: 14px; }
.shots-hint { margin-top: -36px; }

/* ---------- Result states (AllergenLens) ---------- */

.states {
  margin-top: clamp(40px, 5vw, 64px);
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px;
}
.state { background: var(--surface); border-radius: 24px; padding: 24px 22px 26px; }
.state p { margin-top: 12px; color: var(--body); font-size: 15px; line-height: 1.5; }
.state .state-k {
  margin-top: 0; display: flex; align-items: center; gap: 10px;
  font-size: 16px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.3; color: var(--ink);
}
.state-k svg { width: 26px; height: 26px; flex: none; color: var(--body); }
/* Only the icon carries the state color; the label stays full-contrast ink. */
.state-k.s-contains svg { color: #C62828; }
.state-k.s-may svg { color: #B26A00; }
@media (prefers-color-scheme: dark) {
  .state-k.s-contains svg { color: #FF7A70; }
  .state-k.s-may svg { color: #F2B54B; }
}
@media (max-width: 980px) { .states { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .states { grid-template-columns: 1fr; } }
.results { padding-bottom: var(--section); }
.sec-notice { margin-top: clamp(28px, 4vw, 40px); }

/* ---------- Pricing ---------- */

.pricing { padding-bottom: var(--section); }
.price-grid {
  max-width: 980px; margin: clamp(40px, 5vw, 64px) auto 0;
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 18px; align-items: stretch;
}
.card {
  border-radius: var(--radius);
  padding: clamp(26px, 3vw, 38px);
  border: 1px solid var(--line);
  background: var(--bg);
  display: flex; flex-direction: column;
}
.card-name { font-size: 15px; font-weight: 650; letter-spacing: -0.01em; color: var(--body); }
.card-price { margin-top: 10px; font-size: 54px; font-weight: 700; letter-spacing: -0.05em; line-height: 1; }
.card-price small { font-size: 16px; font-weight: 500; letter-spacing: -0.01em; color: var(--body); margin-inline-start: 6px; }
.card-foot { margin-top: auto; padding-top: 26px; font-size: 14px; color: var(--body); }

.ticks { margin-top: 26px; display: grid; gap: 12px; }
.ticks li {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: 15.5px; font-weight: 500; color: var(--ink-2); letter-spacing: -0.015em;
}
.ticks svg { flex: none; width: 22px; height: 22px; margin-top: 1px; color: var(--accent); --check: var(--bg); }

.card-pro { background: var(--pro-bg); color: var(--pro-ink); border-color: var(--pro-bg); }
@media (prefers-color-scheme: dark) { .card-pro { border-color: var(--pro-line); } }
.card-pro .card-name { color: var(--pro-muted); }
.card-pro .card-title { margin-top: 8px; font-size: clamp(28px, 2.6vw, 32px); font-weight: 700; letter-spacing: -0.04em; line-height: 1.08; }
.card-pro .ticks li { color: var(--pro-ink); }
.card-pro .ticks svg { color: var(--accent-bright); --check: var(--pro-bg); }
.card-pro .card-foot { color: var(--pro-muted); }
.plus { margin-top: 8px; color: var(--pro-muted); font-size: 15px; }

.plans { margin-top: 26px; display: grid; gap: 10px; }
.plan {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 16px 18px; border-radius: 18px;
  background: var(--plan-bg); border: 1px solid var(--pro-line);
}
.plan.is-rec { border-color: var(--plan-rec-line); background: var(--plan-rec-bg); }
.plan-name { font-weight: 650; font-size: 16px; letter-spacing: -0.02em; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.plan-note { font-size: 13.5px; color: var(--pro-muted); margin-top: 2px; }
.plan-price { text-align: end; white-space: nowrap; }
.plan-price strong { display: block; font-size: 20px; font-weight: 700; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.plan-price span { font-size: 13px; color: var(--pro-muted); }
.rec {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 600; color: var(--pro-ink);
  padding-block: 2px; padding-inline: 8px 9px; border-radius: 999px; background: var(--chip-bg);
}
.dot { width: 7px; height: 7px; border-radius: 999px; background: var(--accent-bright); display: inline-block; }

.price-fine { max-width: 780px; margin: 28px auto 0; text-align: center; font-size: 13.5px; color: var(--body); line-height: 1.6; }

@media (max-width: 760px) {
  .price-grid { grid-template-columns: 1fr; }
  .card-pro { order: -1; }
}
@media (max-width: 380px) {
  .plan { padding: 14px 14px; }
}

/* ---------- Privacy band ---------- */

.privacy { padding-bottom: var(--section); }
.privacy-grid {
  margin-top: clamp(40px, 5vw, 64px);
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px;
}
.privacy-note {
  margin-top: 16px;
  display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: center;
  border: 1px solid var(--line); border-radius: 24px;
  padding: 24px 28px;
}
.privacy-note svg { width: 28px; height: 28px; color: var(--accent); }
.privacy-note .t { font-weight: 650; letter-spacing: -0.02em; }
.privacy-note p { color: var(--body); font-size: 15.5px; }
@media (max-width: 980px) { .privacy-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) {
  .privacy-note { grid-template-columns: 1fr; gap: 12px; padding: 24px 22px; }
}
@media (max-width: 480px) { .privacy-grid { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */

.faq { padding-bottom: var(--section); }
.faq-grid {
  display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(36px, 6vw, 96px); align-items: start;
}
.faq-head { position: sticky; top: 100px; }
.faq-head .h2 { margin-top: 16px; }
.faq-head .lead { margin-top: 22px; }
.faq-head .lead a { color: var(--ink); font-weight: 600; }
.qa { border-top: 1px solid var(--line); }
.qa:last-child { border-bottom: 1px solid var(--line); }
.qa summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 2px;
  font-size: clamp(17px, 1.4vw, 19px); font-weight: 600; letter-spacing: -0.02em;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: ""; flex: none;
  width: 28px; height: 28px; border-radius: 999px;
  background:
    linear-gradient(var(--ink), var(--ink)) center / 11px 1.75px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 1.75px 11px no-repeat,
    var(--surface);
  transition: transform .2s ease;
}
.qa[open] summary::after { transform: rotate(45deg); }
.qa .ans { padding: 0 0 24px; padding-inline: 2px 44px; color: var(--body); }
.qa .ans p + p, .qa .ans p + ul, .qa .ans ul + p { margin-top: 10px; }
.qa .ans ul { display: grid; gap: 6px; }
.qa .ans ul li { position: relative; padding-inline-start: 18px; }
.qa .ans ul li::before {
  content: ""; position: absolute; inset-inline-start: 3px; top: .68em;
  width: 6px; height: 6px; border-radius: 999px; background: var(--bullet);
}
.qa .ans a { color: var(--ink); font-weight: 600; }
@media (max-width: 900px) {
  .faq-grid { grid-template-columns: 1fr; }
  .faq-head { position: static; }
  .qa .ans { padding-inline-end: 8px; }
}

/* ---------- Final CTA ---------- */

.final { padding-bottom: var(--section); text-align: center; }
.final .hero-icon { margin-bottom: 30px; }
.final .h2 { max-width: 15ch; margin-inline: auto; }
.final .lead { max-width: 540px; margin: 22px auto 0; }
.final .fine { margin-top: 18px; }

/* ---------- Footer ---------- */

.footer { border-top: 1px solid var(--line); padding-block: 56px 40px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px 64px; }
.footer-brand p { margin-top: 14px; color: var(--body); font-size: 15px; max-width: 320px; }
.footer-cols { display: grid; grid-template-columns: repeat(4, auto); gap: 32px 56px; }
.fh { font-size: 13px; font-weight: 600; color: var(--body); margin-bottom: 12px; }
.footer-cols li + li { margin-top: 8px; }
.footer-cols a { font-size: 14.5px; font-weight: 550; text-decoration: none; letter-spacing: -0.01em; word-break: break-word; }
.footer-cols a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom {
  margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  font-size: 13px; color: var(--body);
}
.footer-bottom p:last-child { max-width: 620px; }
@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- Legal / support pages ---------- */

.page-head { padding-top: clamp(48px, 8vw, 110px); padding-bottom: clamp(36px, 5vw, 64px); }
.page-head .h2 { margin-top: 16px; }
.page-head .lead { margin-top: 20px; max-width: 640px; }
.page-meta { margin-top: 18px; font-size: 14px; color: var(--body); }

.doc { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: clamp(36px, 6vw, 96px); padding-bottom: var(--section); }
.doc-aside { position: sticky; top: 100px; align-self: start; display: grid; gap: 14px; }
.doc-aside .card { padding: 24px; border-radius: 22px; }
.doc-aside .t { font-weight: 650; letter-spacing: -0.02em; }
.doc-aside p { margin-top: 6px; color: var(--body); font-size: 14.5px; }
.doc-aside a { color: var(--ink); font-weight: 600; word-break: break-word; }
.toc { margin-top: 10px; display: grid; gap: 6px; font-size: 14.5px; }
.toc a { color: var(--body); font-weight: 500; text-decoration: none; }
.toc a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 900px) {
  .doc { grid-template-columns: 1fr; }
  .doc-aside { position: static; }
  .doc-aside .toc-card { display: none; }
}

.summary {
  background: var(--surface); border-radius: 24px; padding: clamp(22px, 3vw, 32px);
  margin-bottom: 44px;
}
.summary .t { font-weight: 700; letter-spacing: -0.02em; font-size: 18px; }
.summary ul { margin-top: 14px; display: grid; gap: 10px; }
.summary li { position: relative; padding-inline-start: 22px; color: var(--ink-2); }
.summary li::before {
  content: ""; position: absolute; inset-inline-start: 4px; top: .62em;
  width: 7px; height: 7px; border-radius: 999px; background: var(--accent);
}

.prose { max-width: 720px; color: var(--ink-2); }
.prose section + section { margin-top: 40px; }
.prose h2 { font-size: clamp(22px, 2vw, 26px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.2; margin-bottom: 12px; scroll-margin-top: 96px; }
.prose h3 { font-size: 17px; font-weight: 650; letter-spacing: -0.02em; margin: 18px 0 6px; }
.prose p, .prose li { color: var(--prose); }
.prose p + p, .prose ul + p, .prose p + ul { margin-top: 12px; }
.prose ul { margin-top: 10px; display: grid; gap: 8px; }
.prose ul li { position: relative; padding-inline-start: 20px; }
.prose ul li::before {
  content: ""; position: absolute; inset-inline-start: 3px; top: .68em;
  width: 6px; height: 6px; border-radius: 999px; background: var(--bullet);
}
.prose a { color: var(--ink); font-weight: 600; text-underline-offset: 3px; word-break: break-word; }
.prose strong { color: var(--ink); font-weight: 650; }
.prose .notice { margin: 0 0 40px; max-width: none; }
.caps { text-transform: uppercase; font-size: 14.5px; letter-spacing: .01em; }

.support-contact {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px 40px; align-items: center;
  background: var(--pro-bg); color: var(--pro-ink);
  border: 1px solid var(--pro-line);
  border-radius: var(--radius); padding: clamp(26px, 4vw, 48px);
}
.support-contact .k { color: var(--pro-muted); font-size: 15px; }
.support-contact .v { margin-top: 6px; font-size: clamp(24px, 3.4vw, 40px); font-weight: 700; letter-spacing: -0.04em; line-height: 1.1; word-break: break-word; }
.support-contact .v a { text-decoration: none; }
.support-contact .v a:hover { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; }
.support-contact p.hint { margin-top: 12px; color: var(--pro-muted); font-size: 15px; max-width: 520px; }
.support-contact :focus-visible { outline-color: var(--pro-ink); }
@media (max-width: 720px) { .support-contact { grid-template-columns: 1fr; } }

.faq-groups { padding-block: clamp(56px, 7vw, 96px) var(--section); display: grid; gap: clamp(48px, 6vw, 72px); }
.faq-group { display: grid; grid-template-columns: minmax(0, .6fr) minmax(0, 1.4fr); gap: 24px clamp(32px, 5vw, 80px); }
.faq-group > h2 { font-size: clamp(22px, 2vw, 26px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.2; padding-top: 18px; }
@media (max-width: 860px) { .faq-group { grid-template-columns: 1fr; } .faq-group > h2 { padding-top: 0; } }

.nf { min-height: calc(100vh - 68px - 220px); display: grid; place-items: center; text-align: center; padding-block: 72px; }
.nf-num { font-size: clamp(120px, 22vw, 260px); font-weight: 800; letter-spacing: -0.07em; line-height: .8; color: var(--accent-faint); }
.nf .h2 { margin-top: 12px; }
.nf .lead { margin: 20px auto 0; max-width: 460px; }
.nf .cta-row { margin-top: 32px; }

/* ---------- Download page: QR between an iPhone and an Android phone ---------- */

.dl { padding: clamp(48px, 8vw, 110px) 0 var(--section); text-align: center; overflow: hidden; }
.dl .h2 { margin-top: 16px; }
.dl .lead { max-width: 560px; margin: 20px auto 0; }
.dl .fine { margin-top: 18px; }
.dl.go { min-height: 60vh; }

.dl-stage {
  display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center; justify-items: center;
  gap: clamp(20px, 4vw, 64px);
  max-width: 1040px; margin: clamp(40px, 6vw, 72px) auto clamp(36px, 5vw, 56px);
}
.dl-shot { margin: 0; display: grid; justify-items: center; gap: 22px; }
.dl-shot .phone { --pw: clamp(180px, 20vw, 250px); }
.dl-shot figcaption { display: grid; gap: 2px; font-size: 14px; color: var(--body); letter-spacing: -0.005em; }
.dl-shot figcaption a { font-size: 17px; font-weight: 650; letter-spacing: -0.02em; color: var(--ink); text-decoration: none; }
.dl-shot figcaption a:hover { text-decoration: underline; text-underline-offset: 3px; }
.dl-ios .phone { transform: rotate(-3deg); }
.dl-android .phone { transform: rotate(3deg); }

/* Android frame: punch-hole camera, flatter corners, 9:20 screen. */
.phone.android { border-radius: calc(var(--pw) * .12); }
.phone.android::before {
  top: calc(var(--pw) * .05); width: calc(var(--pw) * .042); height: calc(var(--pw) * .042);
}
.phone.android .screen { aspect-ratio: 1080 / 2400; border-radius: calc(var(--pw) * .092); }

/* The code is always black on white (with its own quiet zone), whatever the theme. */
.dl-qr { display: grid; justify-items: center; gap: 6px; }
.qr-card {
  display: block; padding: 14px; border-radius: 28px; background: #FFF; line-height: 0;
  box-shadow: 0 0 0 1px var(--line), 0 30px 60px -28px rgba(0, 0, 0, .35);
  transition: transform .15s ease;
}
.qr-card:hover { transform: scale(1.015); }
.qr-card img { width: clamp(200px, 22vw, 264px); height: auto; aspect-ratio: 1; image-rendering: pixelated; }
.qr-k { margin-top: 16px; font-size: 18px; font-weight: 650; letter-spacing: -0.025em; color: var(--ink); }
.qr-v { font-size: 14px; color: var(--body); }
.dl-go { display: none; margin-top: 14px; }

/* Official store badges. The Google PNG has built-in padding, so it is drawn taller and pulled in. */
.dl-badges { gap: 12px 18px; }
.store-img { display: inline-flex; line-height: 0; border-radius: 10px; }
.store-img img { height: 56px; width: auto; }
.store-img.play { margin: -11px -9px; }
.store-img.play img { height: 78px; }
.store-img:hover { opacity: .88; }
.store-img:active { transform: scale(.98); }

@media (max-width: 760px) {
  .dl-stage { grid-template-columns: 1fr 1fr; gap: 20px 12px; }
  .dl-qr { order: 3; grid-column: 1 / -1; }
  .dl-qr .qr-card, .dl-qr .qr-k, .dl-qr .qr-v { display: none; }
  .dl-go { display: inline-flex; margin-top: 0; }
  .dl-shot .phone { --pw: clamp(130px, 38vw, 190px); }
}
@media (prefers-reduced-motion: reduce) { .qr-card, .store-img { transition: none; } }
