/* Zone Sense website. Tokens follow the Zone Sense design system, direction B "Brand bold"
   (same names and values as the app): deep-teal ink bands for the header, hero and closing band, a
   flat white page with thin line dividers, the logo's orange for the one main button on a page,
   Archivo for reading and Archivo Narrow for headings and big numbers. */
@font-face { font-family: "Archivo"; src: url("../fonts/archivo-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("../fonts/archivo-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("../fonts/archivo-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Archivo Narrow"; src: url("../fonts/archivo-narrow-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Archivo Narrow"; src: url("../fonts/archivo-narrow-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --brand-ink: #12303a;
  --brand-mist: #e6f0ee;
  --brand-water: #49aee6;
  --brand-turf: #5bb86a;
  --brand-ray: #f5823f;
  /* The one main button on a page: the logo's orange, always with dark ink on it (white on orange is 2.6:1). */
  --action: var(--brand-ray);
  --action-ink: var(--brand-ink);
  --accent: #176aa6;       /* links, text buttons and focus */
  --accent-ink: #ffffff;
  --accent-soft: #e3f0f9;
  --bar: var(--brand-ink);
  --bar-ink: #ffffff;
  --bar-muted: #9fc4bd;    /* secondary text on bar */
  --bar-line: #5c7f88;     /* control borders on bar */
  --zone-ok: var(--brand-turf);
  --zone-issue: var(--brand-ray);
  --zone-fail: #ef6b6b;
  --zone-current: var(--brand-water);
  --zone-ink: var(--brand-ink);
  --zone-todo: rgb(18 48 58 / 0.1);
  --bg: #ffffff;
  --surface: #ffffff;
  --text: #13252c;
  --muted: #56676d;
  --line: #d9e4e2;
  --line-strong: #788b8f;
  --ok: #2a7f41;
  --danger: #c62828;
  --warn: #c4501a;
  --shadow: 0 4px 16px rgb(18 48 58 / 0.14); /* only for things that float over the page */

  --font-sans: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Archivo Narrow", "Archivo", system-ui, sans-serif;

  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-md: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.375rem;
  --text-2xl: 1.75rem;
  --text-3xl: 2.25rem; /* page and hero titles only */
  --text-4xl: 3rem;    /* the hero title on wide screens and the step numbers only */

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --radius-pill: 999px;
  --page-max: 1120px;
  --read-max: 62ch;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --accent: #5cb8ec; --accent-ink: #0b1f26; --accent-soft: #163a4a;
    --bar: #0b1c22; --bar-line: #55808c;
    --bg: #0b1c22; --surface: #132a32; --text: #e6f0ee; --muted: #93aab0;
    --line: #21404a; --line-strong: #55808c; --ok: #6fca7d; --danger: #ef6b6b; --warn: #f5964f;
    --zone-todo: rgb(230 240 238 / 0.16);
    --shadow: none;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --accent: #5cb8ec; --accent-ink: #0b1f26; --accent-soft: #163a4a;
  --bar: #0b1c22; --bar-line: #55808c;
  --bg: #0b1c22; --surface: #132a32; --text: #e6f0ee; --muted: #93aab0;
  --line: #21404a; --line-strong: #55808c; --ok: #6fca7d; --danger: #ef6b6b; --warn: #f5964f;
  --zone-todo: rgb(230 240 238 / 0.16);
  --shadow: none;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: var(--text-md)/1.55 var(--font-sans);
  -webkit-text-size-adjust: 100%;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid var(--brand-water); outline-offset: 2px;
}
h1, h2, h3 { text-wrap: balance; line-height: 1.1; margin: 0; font-family: var(--font-display); font-weight: 700; }
p { margin: 0; }

.wrap {
  width: 100%;
  max-width: calc(var(--page-max) + 2 * 24px);
  margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
@media (min-width: 720px) { .wrap { padding-left: max(24px, env(safe-area-inset-left, 0px)); padding-right: max(24px, env(safe-area-inset-right, 0px)); } }

.stripe { height: 3px; background: linear-gradient(90deg, var(--brand-water) 0 45%, var(--brand-turf) 45% 85%, var(--brand-ray) 85%); }

/* 3px under the plain header, 6px under the hero and page titles */
.hero .stripe, .page-head .stripe { height: 6px; }

/* ---------- Header ---------- */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--bar); }
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 9; background: var(--bar); color: var(--bar-ink); }
.site-header .wrap { display: flex; align-items: center; gap: 12px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; flex: none; min-height: 44px; }
.brand img { height: 30px; width: auto; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a { color: var(--bar-ink); text-decoration: none; font-weight: 600; font-size: var(--text-sm); padding: 10px 12px; border-radius: var(--radius-md); min-height: 44px; display: inline-flex; align-items: center; }
.nav a:hover { background: rgb(255 255 255 / 0.1); }
.nav a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--brand-water); border-radius: 0; }
.nav .btn-signin { border: 1.5px solid var(--bar-line); margin-left: 6px; }
.nav .btn-signin:hover { border-color: var(--bar-ink); background: transparent; }
.nav .btn-signin[aria-current="page"] { border-color: var(--bar-ink); border-radius: var(--radius-md); box-shadow: none; }
.nav-toggle { display: none; margin-left: auto; background: transparent; border: 1.5px solid var(--bar-line); color: var(--bar-ink); border-radius: var(--radius-md); min-height: 44px; padding: 0 14px; font: 600 var(--text-sm) var(--font-sans); }
@media (max-width: 719px) {
  .nav-toggle { display: inline-flex; align-items: center; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: var(--bar); padding: 8px max(16px, env(safe-area-inset-right, 0px)) 16px max(16px, env(safe-area-inset-left, 0px)); border-top: 1px solid rgb(255 255 255 / 0.12); }
  .nav.open { display: flex; }
  .nav a { font-size: var(--text-md); padding: 12px; }
  .nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--brand-water); }
  .nav .btn-signin { margin: 8px 0 0; justify-content: center; }
}

/* ---------- Buttons ---------- */
/* One orange button per page (btn-primary); everything else is an outline or a blue text button. */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 22px; border-radius: var(--radius-md); font: 700 var(--text-md) var(--font-sans); text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: background-color 120ms ease-out, border-color 120ms ease-out, filter 120ms ease-out; }
.btn-primary { background: var(--action); color: var(--action-ink); }
.btn-primary:hover { filter: brightness(1.06); }
.btn-primary:active { background-image: linear-gradient(rgb(0 0 0 / 0.12), rgb(0 0 0 / 0.12)); }
.btn-ghost { border-color: var(--text); color: var(--text); background: transparent; font-weight: 600; }
.btn-ghost:hover, .btn-ghost:active { background: var(--line); }
.btn-outline-dark { border-color: var(--bar-line); color: var(--bar-ink); background: transparent; font-weight: 600; }
.btn-outline-dark:hover { border-color: var(--bar-ink); }
.btn-outline-dark:active { background: rgb(255 255 255 / 0.12); }

/* ---------- Hero ---------- */
.hero { background: var(--bar); color: var(--bar-ink); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 40px; align-items: center; padding-block: 64px 0; }
.eyebrow { font: 600 var(--text-md) var(--font-sans); color: var(--bar-muted); }
.hero h1 { font-size: var(--text-4xl); line-height: 1.02; max-width: 20ch; margin-top: 12px; }
@media (max-width: 599px) { .hero h1 { font-size: var(--text-3xl); } }
.hero .lede { margin-top: 18px; font-size: var(--text-lg); color: var(--bar-muted); max-width: 34rem; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-copy { padding-bottom: 56px; min-width: 0; align-self: center; }
@media (max-width: 859px) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr); padding-block: 40px 0; gap: 8px; }
  .hero-copy { padding-bottom: 24px; }
}

/* Hero trailer: a looping, silent 16:9 video beside the headline, with a pause button */
.hero-has-video .wrap { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
.hero-video { position: relative; align-self: center; margin-bottom: 56px; min-width: 0; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid rgb(255 255 255 / 0.12); background: var(--brand-mist); aspect-ratio: 16 / 9; }
.hero-video video { display: block; width: 100%; height: 100%; object-fit: cover; }
.video-toggle { position: absolute; right: 10px; bottom: 10px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgb(10 23 28 / 0.62); color: #fff; display: grid; place-items: center; cursor: pointer; }
.video-toggle svg { width: 20px; height: 20px; }
.video-toggle .i-play, .video-toggle[aria-pressed="true"] .i-pause { display: none; }
.video-toggle[aria-pressed="true"] .i-play { display: block; }
.video-toggle:focus-visible { outline: 3px solid var(--bar-ink); outline-offset: 2px; }
@media (max-width: 859px) {
  .hero-has-video .wrap { grid-template-columns: minmax(0, 1fr); }
  .hero-video { margin-bottom: 32px; }
}

/* Phone frame around screenshots */
.phone { border-radius: 30px; padding: 8px; background: #0a171c; border: 1px solid rgb(255 255 255 / 0.1); }
.phone img { border-radius: 23px; width: 100%; }

/* Zone strip: the app's progress strip used as a section divider */
.zone-strip { display: flex; gap: 4px; max-width: 360px; }
.zone-strip span { flex: 1; height: 10px; border-radius: var(--radius-sm); background: var(--zone-todo); }
.zone-strip .ok { background: var(--zone-ok); } .zone-strip .issues { background: var(--zone-issue); } .zone-strip .fail { background: var(--zone-fail); }
.zone-strip .now { background: transparent; box-shadow: inset 0 0 0 2.5px var(--zone-current); }

/* ---------- Sections ---------- */
.section { padding-block: 72px; }
.section + .section { padding-top: 0; }
.section-head { display: grid; gap: 12px; max-width: var(--read-max); margin-bottom: 36px; }
.section-head h2 { font-size: var(--text-2xl); }
@media (min-width: 720px) { .section-head h2 { font-size: var(--text-3xl); } }
.section-head p { color: var(--muted); font-size: var(--text-lg); }
.band { border-top: 1px solid var(--line); }
.band.section + .section { padding-top: 72px; border-top: 1px solid var(--line); }
.section.band { padding-block: 72px; }

/* Hero extras: the highlighted end of the headline and the line under the buttons */
.hero h1 .hl { color: var(--brand-water); }
.trust-line { margin-top: 18px; font-size: var(--text-sm); color: var(--bar-muted); }
.trust-line a { color: var(--bar-ink); font-weight: 600; display: inline-block; padding-block: 14px; margin-block: -14px; }

/* Proof strip: 4 short facts under the hero */
.proof-strip { border-bottom: 1px solid var(--line); }
.proof-inner { list-style: none; margin-block: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px 24px; padding-block: 20px; }
.proof-inner li { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: var(--text-sm); }
.proof-dot { flex: none; width: 10px; height: 10px; border-radius: var(--radius-pill); }
.proof-dot.water { background: var(--brand-water); } .proof-dot.turf { background: var(--brand-turf); }
.proof-dot.ray { background: var(--brand-ray); } .proof-dot.accent { background: var(--accent); }
@media (max-width: 859px) { .proof-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 479px) { .proof-inner { grid-template-columns: minmax(0, 1fr); } }

/* How it works: 5 steps, each a screenshot on a tinted stage beside its text */
.walkthrough { display: grid; gap: 72px; }
.step-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.step-row.reverse .step-stage { order: 2; }
.step-stage { display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 32px 24px; border-radius: var(--radius-xl); min-width: 0; }
.stage-water { background: rgb(73 174 230 / 0.14); }
.stage-ray { background: rgb(245 130 63 / 0.14); }
.stage-turf { background: rgb(91 184 106 / 0.16); }
.stage-ink { background: var(--bar); }
.step-stage .phone { width: min(280px, 100%); }
.dual-phones { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; width: min(440px, 100%); }
.dual-phones .phone { width: auto; padding: 6px; border-radius: 22px; }
.dual-phones .phone img { border-radius: 17px; }
.screen { width: 100%; border-radius: var(--radius-md); overflow: hidden; border: 1px solid rgb(255 255 255 / 0.12); }
.step-copy { min-width: 0; display: grid; gap: 14px; align-content: start; }
.step-badge { display: flex; align-items: center; gap: 10px; }
.step-num { display: inline-grid; place-items: center; min-width: 40px; height: 30px; padding: 0 10px; border-radius: var(--radius-pill); font: 700 var(--text-md) var(--font-display); color: var(--brand-ink); font-variant-numeric: tabular-nums; }
.step-num.water { background: var(--brand-water); } .step-num.ray { background: var(--brand-ray); } .step-num.turf { background: var(--brand-turf); }
.step-num.ink { background: var(--bar); color: var(--bar-ink); box-shadow: inset 0 0 0 1.5px var(--bar-line); }
.step-kicker { font-weight: 600; font-size: var(--text-sm); color: var(--muted); }
.step-copy h3 { font-size: var(--text-2xl); }
@media (min-width: 720px) { .step-copy h3 { font-size: var(--text-3xl); } }
.step-copy > p { color: var(--muted); }
.step-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.step-list li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; }
.step-list li::before { content: ""; width: 20px; height: 20px; margin-top: 2px; background: var(--ok); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.step-action { margin-top: 6px; }
@media (max-width: 859px) {
  .walkthrough { gap: 56px; }
  .step-row { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .step-row.reverse .step-stage { order: 0; }
}

/* Step 4: tabs that switch between the customer's 4 screens */
.journey-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; padding: 4px; width: min(380px, 100%); background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--radius-md); }
.journey-tab { min-height: 44px; padding: 4px; border: 0; border-radius: var(--radius-sm); background: transparent; color: var(--text); font: 600 var(--text-sm) var(--font-sans); cursor: pointer; transition: background-color 120ms ease-out, color 120ms ease-out; }
.journey-tab:hover { background: var(--line); }
.journey-tab[aria-selected="true"] { background: var(--accent); color: var(--accent-ink); }
@media (max-width: 479px) { .journey-tab .n { display: none; } }
.journey-caption { max-width: 36ch; text-align: center; font-weight: 600; font-size: var(--text-sm); }

/* One app for everyone: 3 roles, flat with a colored top rule */
.roles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.role { border-top: 3px solid var(--line); padding-top: 20px; display: grid; gap: 10px; align-content: start; min-width: 0; }
.role.water { border-color: var(--brand-water); } .role.turf { border-color: var(--brand-turf); } .role.ray { border-color: var(--brand-ray); }
.role-tag { font-weight: 600; font-size: var(--text-sm); color: var(--muted); }
.role h3 { font-size: var(--text-xl); }
.role p { color: var(--muted); }
@media (max-width: 859px) { .roles { grid-template-columns: minmax(0, 1fr); } }

/* Scroll reveal: only once the script has run, and never with reduced motion */
.js-reveal .reveal { opacity: 0; transform: translateY(16px); transition: opacity 400ms ease-out, transform 400ms ease-out; }
.js-reveal .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js-reveal .reveal { opacity: 1; transform: none; } }

/* Features */
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.feature { padding: 22px 22px 22px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 4px 14px; align-content: start; }
.feature svg { width: 26px; height: 26px; color: var(--accent); grid-row: span 2; margin-top: 2px; }
.feature h3 { font-size: var(--text-lg); }
.feature p { color: var(--muted); font-size: var(--text-sm); }
@media (max-width: 859px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 559px) { .features { grid-template-columns: minmax(0, 1fr); } .feature { padding-right: 0; } }

/* CTA band */
.cta-band { background: var(--bar); color: var(--bar-ink); }
.cta-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-block: 48px; }
.cta-band h2 { font-size: var(--text-3xl); }
.cta-band p { color: var(--bar-muted); margin-top: 8px; }
.cta-band .ctas { display: flex; flex-wrap: wrap; gap: 12px; }
/* Home: the closing band holds the get started form */
.cta-band .wrap.cta-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: start; padding-block: 64px; }
.cta-copy { display: grid; gap: 8px; }
.cta-meta { font-size: var(--text-sm); }
.cta-meta a { color: var(--bar-ink); font-weight: 600; display: inline-block; padding-block: 14px; margin-block: -14px; }
.start-card { background: var(--surface); color: var(--text); border-radius: var(--radius-xl); padding: 24px; }
.start-card .form-note { color: var(--muted); margin-top: 0; }
.start-card .btn { width: 100%; }
@media (max-width: 859px) { .cta-band .wrap.cta-grid { grid-template-columns: minmax(0, 1fr); padding-block: 48px; } .start-card { padding: 20px 16px; } }

/* ---------- Inner pages ---------- */
.page-head { background: var(--bar); color: var(--bar-ink); }
.page-head .wrap { padding-block: 48px 44px; display: grid; gap: 12px; }
.page-head h1 { font-size: var(--text-3xl); }
@media (min-width: 720px) { .page-head h1 { font-size: var(--text-4xl); } }
.page-head p { color: var(--bar-muted); font-size: var(--text-lg); max-width: var(--read-max); }

.two-col { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 40px; align-items: start; }
@media (max-width: 859px) { .two-col { grid-template-columns: minmax(0, 1fr); } }
/* Flat: a top rule instead of a floating box */
.card { border-top: 1px solid var(--line-strong); padding-top: 24px; min-width: 0; }
.card h2 { font-size: var(--text-2xl); margin-bottom: 10px; }
.card p + p { margin-top: 10px; }
.muted { color: var(--muted); }
.checklist { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 10px; }
.checklist li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; }
.checklist svg { width: 20px; height: 20px; color: var(--ok); margin-top: 2px; }
.tbd { display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px 4px 8px; border-radius: var(--radius-pill); border: 1.5px solid var(--warn); color: var(--warn); font: 600 var(--text-sm) var(--font-sans); }
.tbd svg { width: 14px; height: 14px; }
.plan-shell { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
.plan-shell div { border: 1.5px dashed var(--line-strong); border-radius: var(--radius-md); padding: 20px; display: grid; gap: 6px; min-width: 0; }
.plan-shell b { font-size: var(--text-lg); }
.plan-shell span { color: var(--muted); font-size: var(--text-sm); }
@media (max-width: 639px) { .plan-shell { grid-template-columns: minmax(0, 1fr); } }

/* Form */
.form { display: grid; gap: 16px; }
.form .row2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 559px) { .form .row2 { grid-template-columns: minmax(0, 1fr); } }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-weight: 600; font-size: var(--text-sm); }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; min-height: 52px; padding: 12px; font: var(--text-md) var(--font-sans); color: var(--text); background: var(--surface); border: 1.5px solid var(--line-strong); border-radius: var(--radius-md); transition: border-color 120ms ease-out; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.form-note { font-size: var(--text-sm); color: var(--muted); }
/* Links inside a sentence: a 44px tall tap area without changing the line spacing */
.form-note a, .card p a { display: inline-block; padding-block: 14px; margin-block: -14px; }
.form-status { border-radius: var(--radius-md); padding: 14px 16px; font-weight: 600; }
.form-status.ok { background: var(--accent-soft); color: var(--text); border: 1.5px solid var(--ok); }
.form-status.err { border: 1.5px solid var(--danger); color: var(--danger); }

.signin-card { max-width: 520px; margin-inline: auto; text-align: center; display: grid; gap: 16px; justify-items: center; }
.signin-card { border-top: 0; padding-top: 0; }
.signin-card img.mark { width: 64px; height: 64px; border-radius: var(--radius-lg); }
.signin-card .btn { width: 100%; }
.helps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 40px; }
.helps .card { padding-top: 20px; }
.helps h3 { font-size: var(--text-xl); margin-bottom: 6px; }
@media (max-width: 859px) { .helps { grid-template-columns: minmax(0, 1fr); } }
.url { display: inline-block; max-width: 100%; overflow-wrap: anywhere; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: var(--text-sm); background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 2px 8px; }

/* ---------- Beta guide (unlisted page under beta/) ---------- */
.guide { display: grid; gap: 56px; max-width: 760px; }
.guide-part { display: grid; gap: 16px; border-top: 1px solid var(--line-strong); padding-top: 24px; min-width: 0; }
.guide-part h2 { font-size: var(--text-2xl); }
@media (min-width: 720px) { .guide-part h2 { font-size: var(--text-3xl); } }
.guide-part p, .guide-part li { max-width: var(--read-max); }
.guide-part ol, .guide-part ul { margin: 0; padding-left: 1.4em; display: grid; gap: 10px; }
.guide-part li ul { margin-top: 8px; gap: 6px; }
.guide-facts { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 0; }
.guide-facts dt { font-weight: 700; }
.guide-facts dd { margin: 0; }
.guide-table { width: 100%; border-collapse: collapse; font-size: var(--text-sm); }
.guide-table th, .guide-table td { text-align: left; vertical-align: top; padding: 12px 12px 12px 0; border-bottom: 1px solid var(--line); }
.guide-table th { font-weight: 700; }
@media (max-width: 639px) {
  .guide-table thead { display: none; }
  .guide-table tr { display: grid; gap: 4px; padding-block: 12px; border-bottom: 1px solid var(--line); }
  .guide-table td { border: 0; padding: 0; }
  .guide-table td:first-child { font-size: var(--text-md); }
}
.guide-video { display: grid; gap: 8px; justify-items: start; margin: 8px 0 0; }
.guide-video video { display: block; width: 100%; max-width: 300px; aspect-ratio: 9 / 16; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--brand-ink); }
.guide-video figcaption { font-size: var(--text-sm); color: var(--muted); }
.guide-videos { display: flex; flex-wrap: wrap; gap: 24px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bar); color: var(--bar-muted); border-top: 1px solid rgb(255 255 255 / 0.12); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 20px 32px; align-items: center; justify-content: space-between; padding-block: 32px 16px; font-size: var(--text-sm); }
.site-footer img { height: 26px; width: auto; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.site-footer a { color: var(--bar-ink); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer nav a { display: inline-flex; align-items: center; min-height: 44px; }
.site-footer .wrap.legal { padding-block: 0 calc(24px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid rgb(255 255 255 / 0.12); padding-top: 8px; font-size: var(--text-xs); }
.site-footer .wrap.legal nav a { color: var(--bar-muted); }
