/* =====================================================================
   StockMeta AI — Promo site
   macOS Tahoe "Liquid Glass" aesthetic. Light + dark, auto + manual.
   No build step. Pure CSS.
   ===================================================================== */

/* ---------- Design tokens ---------- */
:root {
  color-scheme: light dark;

  /* Type */
  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
    "Inter", "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;
  --font-mono: "SF Mono", ui-monospace, "JetBrains Mono", Menlo, Consolas, monospace;

  /* Radii — Tahoe favours generous, continuous-curvature corners */
  --r-xs: 8px;
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 26px;
  --r-xl: 34px;
  --r-pill: 999px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 0.45s;

  /* Layout */
  --maxw: 1120px;
  --gutter: clamp(20px, 5vw, 56px);

  /* Accent — single macOS system blue, matching the app. No rainbow. */
  --accent: #0a84ff;
  --accent-hover: #0a76e8;
  --accent-2: #0a84ff;
  --accent-grad: linear-gradient(180deg, #2a97ff, #0a76e8);
}

/* ---------- Light theme ---------- */
:root,
[data-theme="light"] {
  --bg: #f5f5f7;
  --bg-2: #ececee;
  --bg-aurora-1: rgba(10, 132, 255, 0.10);
  --bg-aurora-2: rgba(10, 132, 255, 0.05);
  --bg-aurora-3: rgba(130, 140, 158, 0.05);
  --accent-2: #0066cc;

  --text: #11131a;
  --text-soft: #3c4250;
  --text-dim: #6b7280;

  --glass-bg: rgba(255, 255, 255, 0.55);
  --glass-bg-strong: rgba(255, 255, 255, 0.72);
  --glass-border: rgba(255, 255, 255, 0.7);
  --glass-stroke: rgba(17, 19, 26, 0.08);
  --hairline: rgba(17, 19, 26, 0.10);

  --shadow-sm: 0 1px 2px rgba(17, 19, 26, 0.06), 0 4px 14px rgba(17, 19, 26, 0.06);
  --shadow-md: 0 8px 30px rgba(17, 19, 26, 0.12);
  --shadow-lg: 0 24px 70px rgba(17, 19, 26, 0.18);

  --chip-bg: rgba(17, 19, 26, 0.05);
}

/* ---------- Dark theme ---------- */
[data-theme="dark"] {
  --bg: #1c1c1e;
  --bg-2: #161618;
  --bg-aurora-1: rgba(10, 132, 255, 0.16);
  --bg-aurora-2: rgba(10, 132, 255, 0.07);
  --bg-aurora-3: rgba(120, 130, 150, 0.05);
  --accent-2: #4da3ff;

  --text: #f5f7fb;
  --text-soft: #c4cad6;
  --text-dim: #8b93a3;

  --glass-bg: rgba(28, 32, 44, 0.50);
  --glass-bg-strong: rgba(30, 34, 47, 0.72);
  --glass-border: rgba(255, 255, 255, 0.12);
  --glass-stroke: rgba(255, 255, 255, 0.08);
  --hairline: rgba(255, 255, 255, 0.10);

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4), 0 6px 18px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 10px 36px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 30px 80px rgba(0, 0, 0, 0.6);

  --chip-bg: rgba(255, 255, 255, 0.07);
}

/* Follow OS when no explicit choice was made */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --bg: #1c1c1e; --bg-2: #161618;
    --bg-aurora-1: rgba(10,132,255,0.16); --bg-aurora-2: rgba(10,132,255,0.07); --bg-aurora-3: rgba(120,130,150,0.05);
    --accent-2: #4da3ff;
    --text: #f5f7fb; --text-soft: #c4cad6; --text-dim: #8b93a3;
    --glass-bg: rgba(28,32,44,0.50); --glass-bg-strong: rgba(30,34,47,0.72);
    --glass-border: rgba(255,255,255,0.12); --glass-stroke: rgba(255,255,255,0.08); --hairline: rgba(255,255,255,0.10);
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.4), 0 6px 18px rgba(0,0,0,0.4);
    --shadow-md: 0 10px 36px rgba(0,0,0,0.5);
    --shadow-lg: 0 30px 80px rgba(0,0,0,0.6);
    --chip-bg: rgba(255,255,255,0.07);
  }
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 92px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  letter-spacing: -0.011em;
  overflow-x: hidden;
  min-height: 100vh;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}

/* Aurora background — soft drifting colour fields behind the glass */
body::before {
  content: "";
  position: fixed;
  inset: -20vmax;
  z-index: -2;
  background:
    radial-gradient(42vmax 42vmax at 12% 8%, var(--bg-aurora-1), transparent 60%),
    radial-gradient(46vmax 46vmax at 88% 18%, var(--bg-aurora-2), transparent 62%),
    radial-gradient(40vmax 40vmax at 50% 100%, var(--bg-aurora-3), transparent 60%);
  filter: blur(8px) saturate(120%);
  animation: drift 26s var(--ease) infinite alternate;
}
body::after {
  content: "";
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, transparent, var(--bg) 92%);
  opacity: 0.6;
}
@keyframes drift {
  0%   { transform: translate3d(0,0,0) scale(1); }
  100% { transform: translate3d(2%, -2%, 0) scale(1.08); }
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2.5px solid var(--accent-2); outline-offset: 3px; border-radius: 6px; }

/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
section { padding-block: clamp(64px, 9vw, 120px); position: relative; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.82rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--accent-2);
  padding: 6px 14px; border-radius: var(--r-pill);
  background: var(--chip-bg);
  border: 1px solid var(--glass-stroke);
}
.section-head { max-width: 680px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head.center { margin-inline: auto; text-align: center; }
h1, h2, h3 { line-height: 1.06; letter-spacing: -0.03em; font-weight: 700; }
h2 { font-size: clamp(2rem, 4.4vw, 3.1rem); margin-top: 18px; }
h3 { font-size: 1.22rem; letter-spacing: -0.02em; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--text-soft); margin-top: 18px; }

.gradient-text {
  background: var(--accent-grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ---------- Glass primitive ---------- */
.glass {
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-md), inset 0 1px 0 rgba(255,255,255,0.25);
  border-radius: var(--r-lg);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 22px; border-radius: var(--r-pill);
  font-weight: 600; font-size: 0.98rem; letter-spacing: -0.01em;
  border: 1px solid transparent; white-space: nowrap;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), opacity 0.2s;
}
.btn svg { width: 19px; height: 19px; flex: none; }
.btn:active { transform: scale(0.97); }
.btn-primary {
  color: #fff; background: var(--accent-grad);
  background-size: 180% 180%; background-position: 0% 50%;
  box-shadow: 0 6px 18px rgba(10, 132, 255, 0.35), inset 0 1px 0 rgba(255,255,255,0.25);
}
.btn-primary:hover { transform: translateY(-2px); background-position: 100% 50%; box-shadow: 0 10px 26px rgba(10, 132, 255, 0.45); }
.btn-ghost {
  color: var(--text);
  background: var(--glass-bg-strong);
  -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%);
  border-color: var(--glass-stroke);
  box-shadow: var(--shadow-sm);
}
.btn-ghost:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-lg { padding: 16px 28px; font-size: 1.05rem; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  padding-block: 12px;
  transition: padding 0.3s var(--ease);
}
.nav {
  display: flex; align-items: center; gap: 18px;
  padding: 10px 12px 10px 18px;
  border-radius: var(--r-pill);
  background: var(--glass-bg-strong);
  -webkit-backdrop-filter: blur(30px) saturate(190%); backdrop-filter: blur(30px) saturate(190%);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255,255,255,0.25);
}
.brand { display: flex; align-items: center; gap: 11px; font-weight: 700; letter-spacing: -0.02em; font-size: 1.05rem; }
.brand img { width: 32px; height: 32px; border-radius: 8px; box-shadow: var(--shadow-sm); }
.nav-links { display: flex; gap: 4px; margin-left: 8px; }
.nav-links a {
  padding: 8px 14px; border-radius: var(--r-pill); font-size: 0.93rem; font-weight: 500; color: var(--text-soft);
  transition: background 0.2s, color 0.2s;
}
.nav-links a:hover { background: var(--chip-bg); color: var(--text); }
.nav-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }

/* Theme toggle — segmented "pill" like macOS controls */
.theme-toggle {
  display: inline-flex; align-items: center; gap: 2px;
  padding: 3px; border-radius: var(--r-pill);
  background: var(--chip-bg); border: 1px solid var(--glass-stroke);
}
.theme-toggle button {
  width: 34px; height: 30px; border: none; background: transparent; border-radius: var(--r-pill);
  display: grid; place-items: center; color: var(--text-dim);
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}
.theme-toggle button svg { width: 17px; height: 17px; }
.theme-toggle button[aria-pressed="true"] {
  background: var(--glass-bg-strong); color: var(--accent-2);
  box-shadow: var(--shadow-sm);
}
.nav-toggle { display: none; }

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute; top: 72px; left: var(--gutter); right: var(--gutter);
    padding: 12px; gap: 4px; border-radius: var(--r-md);
    background: var(--glass-bg-strong);
    -webkit-backdrop-filter: blur(30px) saturate(190%); backdrop-filter: blur(30px) saturate(190%);
    border: 1px solid var(--glass-border); box-shadow: var(--shadow-lg);
  }
  .nav-toggle {
    display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--r-pill);
    background: var(--chip-bg); border: 1px solid var(--glass-stroke); color: var(--text);
  }
  .nav-toggle svg { width: 20px; height: 20px; }
  .hide-sm { display: none; }
}

/* ---------- Hero ---------- */
.hero { padding-top: clamp(40px, 7vw, 80px); text-align: center; }
.hero h1 { font-size: clamp(2.5rem, 6.4vw, 4.6rem); letter-spacing: -0.04em; }
.hero .lead { max-width: 620px; margin-inline: auto; }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }
.hero-note { margin-top: 16px; font-size: 0.88rem; color: var(--text-dim); display: flex; gap: 8px; justify-content: center; align-items: center; flex-wrap: wrap; }
.hero-note svg { width: 15px; height: 15px; color: #34c759; }

/* App window mockup */
.hero-shot { margin-top: clamp(44px, 6vw, 72px); position: relative; }
.hero-shot::after {
  content: ""; position: absolute; inset: 10% 6% -8%; z-index: -1;
  background: var(--accent-grad); filter: blur(70px); opacity: 0.32; border-radius: 50%;
}

.window {
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--glass-bg-strong);
  -webkit-backdrop-filter: blur(34px) saturate(190%); backdrop-filter: blur(34px) saturate(190%);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255,255,255,0.3);
  text-align: left;
}
.titlebar {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 18px; border-bottom: 1px solid var(--hairline);
}
.traffic { display: flex; gap: 8px; }
.traffic i { width: 12px; height: 12px; border-radius: 50%; display: block; }
.traffic .r { background: #ff5f57; } .traffic .y { background: #febc2e; } .traffic .g { background: #28c840; }
.titlebar .title { font-size: 0.85rem; font-weight: 600; color: var(--text-dim); margin-inline: auto; }
.win-body { display: grid; grid-template-columns: 210px 1fr; min-height: 420px; }

.sidebar { padding: 14px 12px; border-right: 1px solid var(--hairline); display: flex; flex-direction: column; gap: 2px; }
.side-sep { height: 1px; background: var(--hairline); margin: 10px 10px; }
.side-item {
  display: flex; align-items: center; gap: 11px; padding: 8px 12px; border-radius: var(--r-sm);
  font-size: 0.92rem; font-weight: 500; color: var(--text-soft);
}
.side-item svg { width: 18px; height: 18px; opacity: 0.85; }
.side-item.active { background: var(--chip-bg); color: var(--text); font-weight: 600; }
.side-foot { margin-top: auto; padding: 12px 12px 4px; border-top: 1px solid var(--hairline); display: flex; flex-direction: column; gap: 9px; }
.side-foot .row { display: flex; align-items: center; gap: 9px; font-size: 0.78rem; }
.side-foot .badge { width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; background: #34c759; color: #fff; flex: none; }
.side-foot .badge svg { width: 11px; height: 11px; }
.side-foot b { font-weight: 600; font-size: 0.82rem; color: var(--text); }
.side-foot small { color: var(--text-dim); display: block; font-size: 0.72rem; }
.side-foot .dot { width: 8px; height: 8px; border-radius: 50%; background: #bf5af2; flex: none; }
.side-foot .row span { color: var(--text-soft); }

.content { padding: 16px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.content-head { display: flex; align-items: center; gap: 10px; }
.content-head .model-label { font-size: 0.85rem; color: var(--text-soft); font-weight: 500; }
.model-select {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: var(--r-sm);
  background: var(--chip-bg); border: 1px solid var(--glass-stroke);
  font-size: 0.82rem; font-weight: 500; color: var(--text); font-family: var(--font-mono);
}
.model-select svg { width: 13px; height: 13px; color: var(--text-dim); }
.content-head .btn { margin-left: auto; padding: 8px 16px; font-size: 0.85rem; }
.dropzone {
  border: 1.5px dashed var(--glass-border); border-radius: var(--r-md);
  padding: 18px; display: flex; align-items: center; gap: 14px;
  background: var(--chip-bg);
}
.dropzone .ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-grad); color: #fff; flex: none; }
.dropzone .ic svg { width: 22px; height: 22px; }
.dropzone b { font-size: 0.95rem; } .dropzone span { font-size: 0.82rem; color: var(--text-dim); display: block; }
.dropzone .btn { margin-left: auto; padding: 9px 16px; font-size: 0.85rem; }

.result {
  display: grid; grid-template-columns: 64px 1fr; gap: 14px;
  padding: 14px; border-radius: var(--r-md);
  background: var(--glass-bg); border: 1px solid var(--glass-stroke);
}
.result .thumb { width: 64px; height: 64px; border-radius: 10px; background: var(--chip-bg); border: 1px solid var(--glass-stroke); position: relative; overflow: hidden; display: grid; place-items: center; color: var(--text-dim); }
.result .thumb svg { width: 26px; height: 26px; opacity: 0.5; }
.r-title { font-weight: 600; font-size: 0.92rem; }
.r-desc { font-size: 0.8rem; color: var(--text-dim); margin: 4px 0 8px; }
.kw { display: flex; flex-wrap: wrap; gap: 5px; }
.kw span { font-size: 0.72rem; padding: 3px 9px; border-radius: var(--r-pill); background: var(--chip-bg); color: var(--text-soft); }
.kw .more { background: transparent; color: var(--accent-2); font-weight: 600; }
.r-status { font-size: 0.72rem; color: #34c759; display: inline-flex; align-items: center; gap: 5px; font-weight: 600; }
.r-status svg { width: 13px; height: 13px; }

@media (max-width: 680px) {
  .win-body { grid-template-columns: 1fr; }
  .sidebar { flex-direction: row; overflow-x: auto; border-right: none; border-bottom: 1px solid var(--hairline); padding: 10px; }
  .sidebar .grp { display: none; }
  .side-item { white-space: nowrap; }
  .side-item .lock { display: none; }
}

/* ---------- Trust bar ---------- */
.trust { padding-block: 36px; }
.trust .wrap { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.trust p { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-dim); font-weight: 600; }
.logos { display: flex; flex-wrap: wrap; gap: 14px 30px; justify-content: center; align-items: center; }
.logos span { font-weight: 700; font-size: 1.05rem; color: var(--text-soft); opacity: 0.8; letter-spacing: -0.01em; }

/* ---------- Feature grid ---------- */
.grid { display: grid; gap: 18px; }
.features-grid { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .features-grid { grid-template-columns: 1fr; } }
.card { padding: 26px; border-radius: var(--r-lg); }
.f-ic { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: var(--accent-grad); color: #fff; margin-bottom: 18px; box-shadow: var(--shadow-sm); flex: none; }
.f-ic svg { width: 25px; height: 25px; }
.card p { color: var(--text-soft); font-size: 0.96rem; margin-top: 8px; }
.card.span-2 { grid-column: span 2; }
@media (max-width: 600px) { .card.span-2 { grid-column: span 1; } }

/* ---------- How it works ---------- */
.steps { grid-template-columns: repeat(3, 1fr); counter-reset: step; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }
.step { padding: 28px; border-radius: var(--r-lg); position: relative; }
.step .num {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  font-weight: 700; font-size: 1.1rem; color: #fff; background: var(--accent-grad);
  margin-bottom: 16px; box-shadow: var(--shadow-sm);
}
.step p { color: var(--text-soft); margin-top: 8px; font-size: 0.96rem; }

/* ---------- Privacy highlight ---------- */
.split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }
.privacy-visual { padding: 34px; border-radius: var(--r-xl); display: grid; place-items: center; min-height: 260px; }
.shield { width: 120px; height: 120px; color: #fff; background: var(--accent-grad); border-radius: 34px; display: grid; place-items: center; box-shadow: var(--shadow-lg); }
.shield svg { width: 62px; height: 62px; }
.check-list { list-style: none; padding: 0; margin-top: 22px; display: flex; flex-direction: column; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--text-soft); }
.check-list svg { width: 22px; height: 22px; color: #34c759; flex: none; margin-top: 1px; }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
@media (max-width: 720px) { .gallery { grid-template-columns: 1fr; } }
.shot { border-radius: var(--r-lg); overflow: hidden; padding: 0; }
.shot .cap { padding: 16px 20px; border-top: 1px solid var(--hairline); font-size: 0.9rem; color: var(--text-soft); }
.shot .cap b { color: var(--text); display: block; font-size: 0.98rem; }
.shot-canvas { aspect-ratio: 16 / 10; position: relative; overflow: hidden; }
.shot-canvas svg { width: 100%; height: 100%; display: block; }

/* ---------- Pricing ---------- */
.pricing { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
@media (max-width: 820px) { .pricing { grid-template-columns: 1fr; max-width: 440px; margin-inline: auto; } }
.plan { padding: 30px; border-radius: var(--r-lg); display: flex; flex-direction: column; }
.plan.featured { border: 1.5px solid transparent; background:
  linear-gradient(var(--glass-bg-strong), var(--glass-bg-strong)) padding-box,
  var(--accent-grad) border-box; }
.plan .tag { align-self: flex-start; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: #fff; background: var(--accent-grad); padding: 4px 12px; border-radius: var(--r-pill); margin-bottom: 14px; }
.plan h3 { font-size: 1.3rem; }
.plan .price { font-size: 2.6rem; font-weight: 700; letter-spacing: -0.03em; margin: 12px 0 2px; }
.plan .price small { font-size: 0.95rem; font-weight: 500; color: var(--text-dim); letter-spacing: 0; }
.plan .once { font-size: 0.82rem; color: var(--text-dim); }
.plan ul { list-style: none; padding: 0; margin: 20px 0 24px; display: flex; flex-direction: column; gap: 11px; }
.plan li { display: flex; gap: 10px; font-size: 0.93rem; color: var(--text-soft); }
.plan li svg { width: 19px; height: 19px; color: var(--accent-2); flex: none; }
.plan .btn { margin-top: auto; width: 100%; }
.pricing-note { text-align: center; color: var(--text-dim); font-size: 0.9rem; margin-top: 26px; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; display: flex; flex-direction: column; gap: 12px; }
.faq details {
  border-radius: var(--r-md); padding: 4px 22px;
  background: var(--glass-bg); border: 1px solid var(--glass-stroke);
  -webkit-backdrop-filter: blur(20px) saturate(160%); backdrop-filter: blur(20px) saturate(160%);
  transition: background 0.25s;
}
.faq details[open] { background: var(--glass-bg-strong); box-shadow: var(--shadow-sm); }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 0; font-weight: 600; font-size: 1.05rem;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { width: 24px; height: 24px; flex: none; position: relative; transition: transform 0.3s var(--ease); color: var(--accent-2); }
.faq details[open] summary .pm { transform: rotate(45deg); }
.faq .ans { padding: 0 0 20px; color: var(--text-soft); font-size: 0.98rem; }
.faq .ans a { color: var(--accent-2); font-weight: 600; }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; }
.cta-card { padding: clamp(40px, 6vw, 72px); border-radius: var(--r-xl); position: relative; overflow: hidden; }
.cta-card::before { content: ""; position: absolute; inset: 0; background: var(--accent-grad); opacity: 0.12; z-index: -1; }
.cta-card h2 { max-width: 620px; margin-inline: auto; }
.cta-card .lead { max-width: 540px; margin-inline: auto; }
.cta-card .hero-cta { margin-top: 30px; }

/* ---------- Footer ---------- */
.site-footer { padding-block: 56px 40px; border-top: 1px solid var(--hairline); margin-top: 40px; }
.footer-grid { display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; }
.footer-brand { max-width: 280px; }
.footer-brand .brand { margin-bottom: 12px; }
.footer-brand p { color: var(--text-dim); font-size: 0.9rem; }
.footer-cols { display: flex; gap: 56px; flex-wrap: wrap; }
.footer-col h4 { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-dim); margin-bottom: 14px; }
.footer-col a { display: block; color: var(--text-soft); font-size: 0.93rem; padding: 5px 0; transition: color 0.2s; }
.footer-col a:hover { color: var(--accent-2); }
.footer-bottom { margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--hairline); display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center; color: var(--text-dim); font-size: 0.85rem; }

/* ---------- Legal / content pages ---------- */
.page-hero { padding-top: clamp(48px, 7vw, 90px); padding-bottom: clamp(24px, 4vw, 44px); }
.page-hero h1 { font-size: clamp(2.1rem, 5vw, 3.2rem); }
.page-hero .lead { max-width: 640px; }
.doc { max-width: 780px; margin-inline: auto; }
.doc-card { padding: clamp(28px, 4vw, 52px); border-radius: var(--r-xl); }
.doc-card h2 { font-size: 1.5rem; margin-top: 38px; }
.doc-card h2:first-child { margin-top: 0; }
.doc-card h3 { margin-top: 26px; font-size: 1.12rem; }
.doc-card p, .doc-card li { color: var(--text-soft); font-size: 1rem; margin-top: 12px; }
.doc-card ul, .doc-card ol { margin-top: 12px; padding-left: 22px; }
.doc-card li { margin-top: 8px; }
.doc-card a { color: var(--accent-2); font-weight: 600; }
.doc-card strong { color: var(--text); }
.toc { margin-top: 22px; }
.toc a { display: inline-block; margin: 4px 8px 4px 0; padding: 6px 14px; border-radius: var(--r-pill); background: var(--chip-bg); font-size: 0.85rem; color: var(--text-soft); }
.toc a:hover { color: var(--accent-2); }
.updated { font-size: 0.9rem; color: var(--text-dim); }

/* Support page extras */
.support-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
@media (max-width: 720px) { .support-grid { grid-template-columns: 1fr; } }
.contact-card { text-align: center; padding: 34px; border-radius: var(--r-lg); }
.contact-card .f-ic { margin-inline: auto; }
.contact-card .btn { margin-top: 18px; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
