/* ==========================================================================
   Staydays design system
   Dark-only. Mobile-first. Plain CSS, no build step.
   Conventions: docs/site-conventions.md
   ========================================================================== */

/* Self-hosted Inter variable font. Latin Extended comes first so browsers
   select the smallest matching subset for each glyph. */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("/assets/fonts/inter/inter-latin-ext-var.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("/assets/fonts/inter/inter-latin-var.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;
}

/* 1. Tokens
   -------------------------------------------------------------------------- */
:root {
  --bg: #020202;
  --bg-raised: #0a0a10;
  --bg-inset: #020204;
  --surface: #14141d;
  --surface-2: #0f0f17;
  --accent: #fb5121;
  --accent-hover: #ff7a4d;
  /* Small labels and supporting copy stay subdued without falling below
     readable contrast on the site's dark surfaces. */
  --muted: #8b8b8b;
  --line: rgba(255, 255, 255, 0.10);
  --line-soft: rgba(255, 255, 255, 0.08);
  --text-hi: #ffffff;
  --text: rgba(255, 255, 255, 0.72);
  --text-dim: rgba(255, 255, 255, 0.66);

  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, monospace;

  --radius-sm: 11px;
  --radius-md: 16px;
  --radius-lg: 20px;
  --radius-xl: 24px;

  --container: 1248px;
  --gutter: 20px;

  --shadow-float: 0 24px 60px rgba(0, 0, 0, 0.55);
  --shadow-menu: 0 20px 50px rgba(0, 0, 0, 0.6);

  color-scheme: dark;
}

@media (min-width: 768px) {
  :root { --gutter: 32px; }
}

/* 2. Base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text-hi);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 { color: var(--text-hi); margin: 0; }
p { margin: 0; }

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }

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

button {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

summary { list-style: none; cursor: pointer; }
summary::-webkit-details-marker { display: none; }

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

::selection { background: var(--accent); color: #fff; }

.tnum { font-variant-numeric: tabular-nums; }

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

/* Skip link */
.skip-link {
  position: absolute;
  top: -48px;
  left: 16px;
  z-index: 100;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  padding: 10px 16px;
  border-radius: 0 0 10px 10px;
  transition: top 0.15s ease-out;
}
.skip-link:focus { top: 0; color: #fff; }

/* 3. Layout
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: 56px; }
.section-bordered { border-top: 1px solid var(--line-soft); }

@media (min-width: 768px) {
  .section { padding-block: 84px; }
}

/* 4. Type scale
   -------------------------------------------------------------------------- */
.h1 {
  font-size: clamp(38px, 6vw, 62px);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.h3 {
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.3;
  font-weight: 700;
}
.lead {
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.55;
  color: var(--text);
}
.body-dim { font-size: 14px; line-height: 1.55; color: var(--text-dim); }

/* Mono kicker above headings */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow-accent { color: var(--accent); }
.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

/* 5. Buttons and links
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  padding: 12px 20px;
  transition: background-color 0.15s ease-out, border-color 0.15s ease-out, color 0.15s ease-out;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); color: #fff; }
.btn-outline {
  background: transparent;
  color: var(--text-hi);
  border: 1px solid rgba(255, 255, 255, 0.18);
}
.btn-outline:hover { color: var(--text-hi); border-color: rgba(255, 255, 255, 0.36); }

/* App Store badge (dark pill with apple glyph + two-line label) */
.btn-appstore {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-raised);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 13px;
  padding: 11px 18px;
  color: var(--text-hi);
  transition: border-color 0.15s ease-out;
}
.btn-appstore:hover { color: var(--text-hi); border-color: rgba(255, 255, 255, 0.34); }
.btn-appstore svg { flex-shrink: 0; }
.btn-appstore-label {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  text-align: left;
}
.btn-appstore-label small { font-size: 10px; font-weight: 400; color: rgba(255, 255, 255, 0.6); }
.btn-appstore-label strong { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.btn-appstore-sm { padding: 9px 15px; border-radius: var(--radius-sm); gap: 9px; }
.btn-appstore-sm .btn-appstore-label small { font-size: 9px; }
.btn-appstore-sm .btn-appstore-label strong { font-size: 15px; }
/* On solid-orange bands, use a plain black badge */
.btn-appstore-onaccent { background: var(--bg); border-color: transparent; }
.btn-appstore-onaccent:hover { border-color: rgba(255, 255, 255, 0.3); }

/* Inline arrow link */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 600;
  color: var(--accent);
}
.link-arrow:hover { color: var(--accent-hover); }

/* 6. Cards
   -------------------------------------------------------------------------- */
.card {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 24px;
}
@media (min-width: 768px) {
  .card { padding: 28px; }
}

.card-index {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.1em;
}

/* Square icon tile inside cards */
.icon-tile {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--bg-inset);
  border: 1px solid var(--line-soft);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Numbered step tile (How it works) */
.step-num {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 800;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}

/* 7. Stat number (huge tabular numeral + small label)
   -------------------------------------------------------------------------- */
.stat-number {
  font-size: clamp(28px, 3vw, 34px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}
.stat-number-xl { font-size: clamp(36px, 4vw, 44px); line-height: 0.95; letter-spacing: -0.04em; }
.stat-label {
  font-size: 11px;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* 8. Progress bar and ring (orange on dark)
   -------------------------------------------------------------------------- */
.progress {
  height: 7px;
  border-radius: 4px;
  background: var(--line);
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 4px;
}

.ring { position: relative; flex-shrink: 0; }
.ring svg { width: 100%; height: 100%; }
.ring-track { stroke: var(--line); fill: none; }
.ring-fill { stroke: var(--accent); fill: none; stroke-linecap: round; }
.ring-center {
  position: absolute;
  /* Keep the content box inside the ring's inner circle so text never
     crosses the stroke, whatever the ring's rendered size. */
  inset: 15%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.ring-value {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.ring-caption { font-size: 10px; line-height: 1.3; color: var(--muted); font-variant-numeric: tabular-nums; }

/* 9. Flag chip
   -------------------------------------------------------------------------- */
.flag-chip {
  flex: 1;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  padding: 10px 8px;
  text-align: center;
}
.flag-chip-flag { font-size: 15px; line-height: 1.2; }
.flag-chip-count {
  font-size: 15px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  margin-top: 2px;
  line-height: 1.2;
}
.flag-chip-label { font-size: 9px; color: var(--muted); }

/* 10. Header
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(2, 2, 2, 0.85);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-soft);
}
.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 14px;
}
@media (min-width: 768px) {
  .site-header-inner { padding-block: 18px; }
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-hi);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.brand:hover { color: var(--text-hi); }
.brand-logo { width: 28px; height: 28px; border-radius: 8px; }

/* Nav: dropdown panel on mobile, inline row on desktop */
.nav-toggle {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav-toggle-bar {
  position: absolute;
  left: 50%;
  width: 18px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transform: translate(-50%, -50%);
  transform-origin: center;
  transition: top 0.15s ease-out, transform 0.15s ease-out;
}
.nav-toggle-bar:nth-child(2) { top: calc(50% - 4px); }
.nav-toggle-bar:nth-child(3) { top: calc(50% + 4px); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar { top: 50%; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { transform: translate(-50%, -50%) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translate(-50%, -50%) rotate(-45deg); }

.site-nav {
  display: none;
  position: absolute;
  right: var(--gutter);
  top: calc(100% + 8px);
  width: 210px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 10px;
  flex-direction: column;
  gap: 2px;
  box-shadow: var(--shadow-menu);
}
.site-nav.is-open { display: flex; }
.site-nav a { border-radius: 9px; }

.nav-link {
  color: var(--text);
  font-size: 15px;
  font-weight: 500;
  padding: 11px 12px;
}
.nav-link:hover { color: var(--text-hi); }
.nav-link[aria-current="page"] { color: var(--accent); font-weight: 600; }
.nav-cta {
  margin-top: 6px;
  padding: 12px;
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
}
.nav-cta:hover { background: var(--accent-hover); color: #fff; }

/* Without JS: keep links reachable, hide the dead toggle */
.no-js .nav-toggle { display: none; }
.no-js .site-nav {
  display: flex;
  position: static;
  width: auto;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  background: none;
  border: none;
  box-shadow: none;
  padding: 0;
}
.no-js .nav-link { padding: 4px 2px; font-size: 14px; }
.no-js .nav-cta { margin: 0; padding: 8px 12px; font-size: 13px; }
.no-js .nav-appstore { display: none; }

@media (min-width: 880px) {
  .nav-toggle { display: none; }
  .site-nav,
  .no-js .site-nav {
    display: flex;
    position: static;
    width: auto;
    flex-direction: row;
    align-items: center;
    gap: 28px;
    background: none;
    border: none;
    box-shadow: none;
    padding: 0;
  }
  .nav-link,
  .no-js .nav-link { padding: 2px; font-size: 15px; }
  .nav-cta { display: none; }
  .nav-appstore,
  .no-js .nav-appstore { display: inline-flex; }
}
@media (max-width: 879.98px) {
  .nav-appstore { display: none; }
}

/* 11. Hero
   -------------------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; padding-block: 44px 48px; }
@media (min-width: 960px) {
  .hero { padding-block: 88px 92px; }
}

/* Dot-grid texture, masked to fade out */
.dot-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(ellipse 90% 55% at 55% 20%, #000 0%, transparent 72%);
  mask-image: radial-gradient(ellipse 90% 55% at 55% 20%, #000 0%, transparent 72%);
  pointer-events: none;
}
@media (min-width: 960px) {
  .dot-grid {
    background-size: 30px 30px;
    -webkit-mask-image: radial-gradient(ellipse 70% 80% at 70% 30%, #000 0%, transparent 75%);
    mask-image: radial-gradient(ellipse 70% 80% at 70% 30%, #000 0%, transparent 75%);
  }
}

.hero-grid { position: relative; display: flex; flex-direction: column; gap: 40px; }
@media (min-width: 960px) {
  .hero-grid {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 56px;
  }
  .hero-copy { max-width: 600px; flex-shrink: 0; }
}

.hero-copy .eyebrow { margin-bottom: 22px; }
.hero-copy .h1 { margin-bottom: 22px; }
.hero-copy .lead { max-width: 512px; margin-bottom: 32px; }

.hero-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 36px;
  color: var(--muted);
  font-size: 13px;
}
.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.hero-trust span::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

/* 12. Phone mockup (pure HTML/CSS)
   Mobile: flattened dashboard card. Desktop: framed phone + floating widget.
   -------------------------------------------------------------------------- */
.hero-visual { position: relative; }

.phone {
  position: relative;
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}
.phone-notch { display: none; }
.phone-screen {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.phone-topbar { display: flex; align-items: center; justify-content: space-between; }
.phone-topbar-label { font-size: 11px; color: var(--muted); letter-spacing: 0.02em; }
.phone-topbar-place {
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
}
.phone-topbar-avatar {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--surface);
  border: 1px solid var(--line-soft);
}

.phone-ringcard {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.phone-ringcard .ring { width: 84px; height: 84px; }
.phone-ringcard-title { font-size: 13px; font-weight: 600; }
.phone-ringcard-sub { font-size: 11px; color: var(--muted); margin-top: 4px; line-height: 1.4; }
.phone-ringcard-safe { font-size: 11px; color: var(--accent); margin-top: 8px; font-weight: 600; }

.phone-chips { display: flex; gap: 8px; }

.phone-barcard {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: 18px;
  padding: 15px;
}
.phone-barcard-head { display: flex; align-items: baseline; justify-content: space-between; }
.phone-barcard-label { font-size: 12px; color: var(--text); }
.phone-barcard-count { font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; }
.phone-barcard-count small { color: var(--muted); font-weight: 500; font-size: 14px; }
.phone-barcard .progress { margin-top: 10px; }
.phone-barcard-foot { font-size: 10px; color: var(--muted); margin-top: 8px; }

@media (min-width: 960px) {
  .hero-visual { width: 420px; height: 600px; flex-shrink: 0; }
  .phone {
    position: absolute;
    left: 70px;
    top: 0;
    width: 296px;
    height: 600px;
    border-radius: 46px;
    border: 10px solid #16161f;
    box-shadow: 0 40px 90px rgba(0, 0, 0, 0.6);
  }
  .phone-notch {
    display: block;
    position: absolute;
    top: 14px;
    left: 50%;
    transform: translateX(-50%);
    width: 96px;
    height: 26px;
    background: #000;
    border-radius: 14px;
    z-index: 3;
  }
  .phone-screen { height: 100%; padding: 52px 18px 22px; gap: 14px; background: var(--bg-inset); }
}

/* Floating home-screen widget (desktop only) */
.float-widget {
  display: none;
  position: absolute;
  right: 0;
  top: 236px;
  width: 186px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 17px;
  box-shadow: var(--shadow-float);
}
@media (min-width: 960px) {
  .float-widget { display: block; }
}
.float-widget-head { display: flex; align-items: center; justify-content: space-between; }
.float-widget-title {
  font-size: 11px;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.02em;
}
.float-widget-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.float-widget-stat { margin-top: 12px; display: flex; align-items: baseline; gap: 6px; }
.float-widget-unit { font-size: 13px; color: var(--text); }
.float-widget-sub { font-size: 11px; color: var(--text); margin-top: 4px; }
.float-widget .progress { height: 6px; margin-top: 13px; }
.float-widget-foot {
  font-size: 9px;
  color: var(--muted);
  margin-top: 7px;
  font-family: var(--font-mono);
}

/* 13. Grids
   -------------------------------------------------------------------------- */
.grid-3 { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 720px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); gap: 20px; }
}

.steps { display: grid; grid-template-columns: 1fr; gap: 26px; }
@media (min-width: 720px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 32px; }
}
.step .step-num { margin-bottom: 20px; }
.step .h3 { margin-bottom: 10px; }
.step p { font-size: 15px; line-height: 1.6; color: var(--text-dim); }

.section-head { margin-bottom: 36px; }
.section-head .eyebrow { margin-bottom: 14px; }
.section-head .h2 { max-width: 640px; }
@media (min-width: 768px) {
  .section-head { margin-bottom: 52px; }
}

/* Problem / feature card internals */
.card .card-index { margin-bottom: 14px; }
.card .stat-number { margin-bottom: 4px; }
.card .h3 { margin-bottom: 8px; }
.card .icon-tile { margin-bottom: 18px; }

/* 14. Privacy band
   -------------------------------------------------------------------------- */
.privacy-band {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-xl);
  padding: 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}
.privacy-band-icon {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  background: var(--bg-inset);
  border: 1px solid var(--line-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.privacy-band .eyebrow { margin-bottom: 12px; }
.privacy-band .h2 { font-size: clamp(24px, 2.6vw, 32px); margin-bottom: 12px; }
.privacy-band p { font-size: 16px; line-height: 1.6; color: var(--text-dim); max-width: 620px; }
@media (min-width: 768px) {
  .privacy-band { flex-direction: row; align-items: center; gap: 44px; padding: 56px; }
  .privacy-band-icon { width: 96px; height: 96px; border-radius: var(--radius-xl); }
}

/* 15. FAQ accordion (details/summary)
   -------------------------------------------------------------------------- */
.faq-layout { display: flex; flex-direction: column; gap: 32px; align-items: flex-start; }
@media (min-width: 960px) {
  .faq-layout { flex-direction: row; gap: 56px; }
  .faq-intro { width: 340px; flex-shrink: 0; }
  .faq-list { flex: 1; }
}
.faq-intro .eyebrow { margin-bottom: 14px; }
.faq-intro .h2 { margin-bottom: 14px; }
.faq-intro p { font-size: 15px; line-height: 1.6; color: var(--text-dim); }
.faq-list { width: 100%; }

.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  font-size: 16px;
  font-weight: 600;
}
@media (min-width: 768px) {
  .faq-item summary { font-size: 18px; padding: 22px 0; gap: 20px; }
}
.faq-marker {
  color: var(--accent);
  font-size: 22px;
  line-height: 1;
  flex-shrink: 0;
  transition: transform 0.2s ease-out;
}
.faq-item[open] .faq-marker { transform: rotate(45deg); }
.faq-body { overflow: hidden; padding-bottom: 22px; }
.faq-item[open] .faq-body { animation: faq-open 0.25s ease-out; }
.faq-body p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-dim);
  max-width: 640px;
}
.faq-body p + p { margin-top: 10px; }

@keyframes faq-open {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: none; }
}

/* 16. Accent CTA band
   -------------------------------------------------------------------------- */
.band-accent {
  background: var(--accent);
  border-radius: 22px;
  padding: 36px 26px;
  text-align: center;
}
@media (min-width: 768px) {
  .band-accent { border-radius: 28px; padding: 64px; }
}
.band-accent .h2 {
  font-size: clamp(30px, 3.6vw, 46px);
  letter-spacing: -0.035em;
  color: #fff;
  margin-bottom: 14px;
}
.band-accent p {
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.9);
  max-width: 560px;
  margin: 0 auto 32px;
}
.band-accent-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}
.band-accent .link-plain {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.band-accent .link-plain:hover { color: rgba(255, 255, 255, 0.85); }

/* 17. Footer
   -------------------------------------------------------------------------- */
.site-footer { border-top: 1px solid var(--line-soft); padding-block: 48px 32px; }
.site-footer-grid { display: flex; flex-direction: column; gap: 40px; }
@media (min-width: 768px) {
  .site-footer { padding-block: 64px 40px; }
  .site-footer-grid { flex-direction: row; justify-content: space-between; gap: 48px; }
}

.site-footer-brand { max-width: 300px; }
.site-footer-brand .brand { margin-bottom: 16px; }
.site-footer-entity {
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: 20px;
}

.site-footer-cols { display: flex; gap: 48px; flex-wrap: wrap; }
@media (min-width: 768px) {
  .site-footer-cols { gap: 72px; }
}
.site-footer-col-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}
.site-footer-links { display: flex; flex-direction: column; gap: 12px; }
.site-footer-links a { font-size: 14px; color: var(--text); }
.site-footer-links a:hover { color: var(--text-hi); }

.site-footer-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 40px;
  color: var(--muted);
  font-size: 12px;
}
.site-footer-meta .domain { font-family: var(--font-mono); }

/* 18. Reveal-on-scroll utilities (JS enhancement, motion-safe only)
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.45s ease-out, transform 0.45s ease-out;
  }
  .js .reveal.is-visible { opacity: 1; transform: none; }
  .js .reveal-delay-1 { transition-delay: 0.08s; }
  .js .reveal-delay-2 { transition-delay: 0.16s; }
  .js .reveal-delay-3 { transition-delay: 0.24s; }
}

/* 19. Error page
   -------------------------------------------------------------------------- */
.error-page {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding-block: 80px;
}
.error-code {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
.error-page .h1 { margin-bottom: 16px; }
.error-page .lead { max-width: 460px; margin-bottom: 32px; }
.error-links { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }

/* 20. Reduced motion: disable everything
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
}
