/* ===================================================================
   foliqra landing — design tokens match src/App.css so nothing visually
   conflicts with app.foliqra.com. Light by default, follows OS dark mode.
   =================================================================== */
:root {
  color-scheme: light dark;

  --bg: #f8fafc;
  --bg-soft: #f1f5f9;
  --surface: #ffffff;
  --surface-soft: #f3f6fb;
  --surface-strong: #e5e7eb;

  --text: #0f172a;
  --text-soft: #1f2937;
  --muted: #475569;
  --faint: #94a3b8;
  --border: #e2e8f0;
  --border-strong: #cbd5e1;

  --blue: #2563eb;
  --blue-soft: #eff6ff;
  --teal: #0f766e;
  --teal-bright: #14b8a6;
  --violet: #7c3aed;
  --amber: #f59e0b;
  --green: #16a34a;
  --red: #e11d48;

  --hero-bg: #0a0d14;
  --hero-grid: rgba(125, 211, 252, 0.06);
  --hero-grid-strong: rgba(125, 211, 252, 0.12);
  --hero-text: #f8fafc;
  --hero-muted: #cbd5e1;
  --hero-border: rgba(255, 255, 255, 0.08);
  --hero-glow: radial-gradient(60% 50% at 70% 0%, rgba(37, 99, 235, 0.32), transparent 60%),
               radial-gradient(40% 40% at 10% 100%, rgba(20, 184, 166, 0.20), transparent 70%);

  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06), 0 4px 12px rgba(15, 23, 42, 0.04);
  --shadow: 0 16px 40px -16px rgba(15, 23, 42, 0.18), 0 4px 16px -4px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 60px 120px -40px rgba(2, 6, 23, 0.55), 0 30px 80px -30px rgba(2, 6, 23, 0.4);

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;

  --font-body: Inter, "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Noto Sans TC", "PingFang TC", Inter, "Microsoft JhengHei", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "Geist Mono", "JetBrains Mono", "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  --container: 1200px;
  --pad-x: clamp(20px, 5vw, 56px);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #050505;
    --bg-soft: #0a0a0a;
    --surface: #0f0f10;
    --surface-soft: #16161a;
    --surface-strong: #1f1f23;

    --text: #f8fafc;
    --text-soft: #e5e7eb;
    --muted: #a1a1aa;
    --faint: #71717a;
    --border: #27272a;
    --border-strong: #3f3f46;

    --blue: #60a5fa;
    --blue-soft: rgba(96, 165, 250, 0.1);
    --teal: #2dd4bf;
    --teal-bright: #14b8a6;

    --hero-bg: #000;
    --hero-grid: rgba(125, 211, 252, 0.05);
    --hero-grid-strong: rgba(125, 211, 252, 0.10);
    --hero-glow: radial-gradient(60% 50% at 70% 0%, rgba(37, 99, 235, 0.32), transparent 60%),
                 radial-gradient(40% 40% at 10% 100%, rgba(20, 184, 166, 0.18), transparent 70%);

    --shadow-sm: 0 1px 2px rgba(0,0,0,0.5), 0 4px 12px rgba(0,0,0,0.3);
    --shadow: 0 16px 40px -16px rgba(0,0,0,0.7), 0 4px 16px -4px rgba(0,0,0,0.4);
    --shadow-lg: 0 60px 120px -40px rgba(0,0,0,0.85), 0 30px 80px -30px rgba(0,0,0,0.6);
  }
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

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

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
code { font-family: var(--font-mono); }

.skip-link {
  position: absolute; top: -40px; left: 0;
  background: var(--text); color: var(--bg);
  padding: 8px 14px; z-index: 100;
}
.skip-link:focus { top: 0; }

/* ====================== shared ====================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: 15px; font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.06s ease, background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
  text-decoration: none;
}
.btn:active { transform: translateY(1px); }
.btn:hover { text-decoration: none; }

.btn-primary {
  background: var(--blue); color: #fff;
  box-shadow: 0 1px 0 rgba(255,255,255,0.18) inset, 0 6px 18px -6px rgba(37, 99, 235, 0.55);
}
.btn-primary:hover { background: #1d4fd1; }

.btn-ghost {
  background: transparent; color: var(--text);
  border-color: var(--border-strong);
}
.btn-ghost:hover { background: var(--surface-soft); border-color: var(--text-soft); }

.btn-lg { padding: 14px 24px; font-size: 16px; border-radius: 10px; }
.btn-block { width: 100%; }

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 12px; font-weight: 700;
  color: var(--blue);
  font-family: var(--font-mono);
}

.micro {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 11px; font-weight: 700;
  color: var(--muted);
  font-family: var(--font-mono);
  margin-bottom: 8px;
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4.2vw, 44px);
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin: 16px 0 14px;
  font-weight: 800;
}
.section-head p {
  color: var(--muted); font-size: 17px; margin: 0;
}

.grad {
  background: linear-gradient(120deg, var(--blue), var(--teal-bright) 70%, #fbbf24);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

/* ====================== topbar ====================== */
.topbar {
  position: sticky; top: 0; z-index: 50;
  display: grid; grid-template-columns: auto 1fr auto;
  gap: clamp(20px, 4vw, 48px); align-items: center;
  padding: 14px var(--pad-x);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--border);
}

.brand {
  display: inline-flex; align-items: center; gap: 12px;
  color: var(--text); text-decoration: none;
  font-family: var(--font-display);
}
.brand:hover { text-decoration: none; }
.brand-logo {
  display: block;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  /* Inline SVG inherits currentColor for the circle outline so it flips
     dark / light alongside the text. Bars / arrow / $ keep their explicit
     palette colors. */
  color: var(--text);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-size: 16px; font-weight: 700; letter-spacing: 0.02em; }
.brand-text span { font-size: 13px; color: var(--muted); }

.topbar-nav {
  display: flex; gap: 28px; justify-content: center;
}
.topbar-nav a {
  color: var(--text-soft); font-size: 14px; font-weight: 500;
}
.topbar-nav a:hover { color: var(--blue); text-decoration: none; }

.topbar-cta {
  display: inline-flex; align-items: center; gap: 14px; justify-self: end;
}
.link-quiet { color: var(--muted); font-size: 14px; font-weight: 500; }
.link-quiet:hover { color: var(--text); text-decoration: none; }

@media (max-width: 880px) {
  .topbar { grid-template-columns: auto auto; }
  .topbar-nav { display: none; }
}
@media (max-width: 520px) {
  .link-quiet { display: none; }
  .brand-text span { display: none; }
}

/* ====================== hero ====================== */
.hero {
  position: relative; overflow: clip;
  background: var(--hero-bg);
  color: var(--hero-text);
  padding: clamp(64px, 9vw, 120px) var(--pad-x) clamp(56px, 8vw, 96px);
  isolation: isolate;
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: var(--hero-glow);
  z-index: -1;
}
.hero-grid {
  position: absolute; inset: -10% -5%; z-index: -1;
  background-image:
    linear-gradient(var(--hero-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--hero-grid) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(60% 60% at 50% 30%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(60% 60% at 50% 30%, black 30%, transparent 75%);
}

.hero-inner {
  max-width: var(--container); margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 56px; }
}

.hero-copy .eyebrow {
  color: #93c5fd;
}
.hero-copy h1 {
  font-family: var(--font-display);
  font-size: clamp(34px, 5.6vw, 60px);
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin: 18px 0 22px;
  font-weight: 800;
  color: var(--hero-text);
}
.hero-copy h1 .grad {
  background: linear-gradient(120deg, #93c5fd, #5eead4 60%, #fde68a);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.lede {
  font-size: clamp(16px, 1.5vw, 19px);
  color: var(--hero-muted);
  max-width: 56ch;
  margin: 0 0 28px;
  line-height: 1.65;
}
.lede strong { color: var(--hero-text); font-weight: 600; }

.hero-actions {
  display: flex; gap: 12px; flex-wrap: wrap;
  margin-bottom: 28px;
}
.hero .btn-ghost {
  color: var(--hero-text);
  border-color: var(--hero-border);
  background: rgba(255, 255, 255, 0.04);
}
.hero .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.18);
}

.hero-tags {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-wrap: wrap; gap: 8px 18px;
  font-size: 13px; color: var(--hero-muted);
  font-family: var(--font-mono);
}
.hero-tags li { display: inline-flex; align-items: center; gap: 8px; }
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.dot-blue { background: #60a5fa; box-shadow: 0 0 0 4px rgba(96,165,250,0.18); }
.dot-teal { background: #2dd4bf; box-shadow: 0 0 0 4px rgba(45,212,191,0.18); }
.dot-violet { background: #a78bfa; box-shadow: 0 0 0 4px rgba(167,139,250,0.18); }
.dot-amber { background: #fbbf24; box-shadow: 0 0 0 4px rgba(251,191,36,0.18); }

/* hero shot — light dashboard floating on the dark hero band. The white
   surface is what makes it pop against the navy background; we don't tilt
   it because the screenshot is already information-dense. */
.hero-shot {
  margin: 0;
  position: relative;
}
.hero-shot-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    0 60px 120px -40px rgba(2, 6, 23, 0.7),
    0 30px 80px -30px rgba(2, 6, 23, 0.45),
    0 0 0 1px rgba(15, 23, 42, 0.04);
}
.hero-shot-frame img {
  display: block; width: 100%; height: auto;
}
.hero-shot-caption {
  margin-top: 14px; text-align: center;
  font-size: 12px; color: var(--hero-muted);
  font-family: var(--font-mono);
  letter-spacing: 0.08em; text-transform: uppercase;
}

/* ====================== stats strip ====================== */
.stats {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-soft);
  padding: clamp(32px, 5vw, 56px) var(--pad-x);
}
.stats-inner {
  max-width: var(--container); margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 3vw, 40px);
  text-align: center;
}
.stat {
  display: flex; flex-direction: column; gap: 8px; align-items: center;
}
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 800;
  letter-spacing: -0.03em;
  background: linear-gradient(180deg, var(--text), color-mix(in srgb, var(--text) 60%, var(--blue) 40%));
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  line-height: 1;
}
.stat-label {
  font-size: 14px; font-weight: 600; color: var(--text-soft);
}
.stat-label small { display: block; font-weight: 400; color: var(--muted); font-size: 12px; margin-top: 4px; }

@media (max-width: 720px) {
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
}

/* ====================== features ====================== */
.features, .showcase, .demo, .security, .faq, .cta-band {
  padding: clamp(72px, 9vw, 120px) var(--pad-x);
  max-width: var(--container);
  margin: 0 auto;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}
.feature {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 26px 28px;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.feature:hover {
  transform: translateY(-2px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow);
}
.feature-icon {
  width: 42px; height: 42px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--blue-soft);
  color: var(--blue);
  border-radius: 10px;
  margin-bottom: 16px;
}
.feature-icon svg { width: 22px; height: 22px; }
.feature h3 {
  font-family: var(--font-display);
  font-size: 18px; font-weight: 700;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.feature p {
  margin: 0;
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.65;
}

.feature:nth-child(2) .feature-icon { background: color-mix(in srgb, var(--teal-bright) 14%, transparent); color: var(--teal); }
.feature:nth-child(3) .feature-icon { background: color-mix(in srgb, var(--green) 14%, transparent); color: var(--green); }
.feature:nth-child(4) .feature-icon { background: color-mix(in srgb, var(--violet) 14%, transparent); color: var(--violet); }
.feature:nth-child(5) .feature-icon { background: color-mix(in srgb, var(--amber) 18%, transparent); color: var(--amber); }
.feature:nth-child(6) .feature-icon { background: color-mix(in srgb, var(--red) 14%, transparent); color: var(--red); }
.feature:nth-child(7) .feature-icon { background: color-mix(in srgb, var(--violet) 14%, transparent); color: var(--violet); }
.feature:nth-child(8) .feature-icon { background: color-mix(in srgb, var(--blue) 14%, transparent); color: var(--blue); }
.feature:nth-child(9) .feature-icon { background: color-mix(in srgb, var(--teal-bright) 14%, transparent); color: var(--teal); }

/* ====================== showcase ====================== */
.showcase-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  margin-bottom: clamp(56px, 8vw, 96px);
}
.showcase-row:last-child { margin-bottom: 0; }
.showcase-row.reverse { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
.showcase-row.reverse .showcase-copy { order: 2; }
.showcase-row.reverse .showcase-shot { order: 1; }

.showcase-copy h3 {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}
.showcase-copy p {
  color: var(--muted); font-size: 16px; line-height: 1.7;
  margin: 0 0 18px;
}
.showcase-list {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 8px;
  font-size: 14.5px;
}
.showcase-list li {
  position: relative; padding-left: 22px;
  color: var(--text-soft);
}
.showcase-list li::before {
  content: ""; position: absolute; left: 0; top: 0.6em;
  width: 12px; height: 2px; background: var(--blue);
  border-radius: 2px;
}

.showcase-shot {
  margin: 0;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 10px;
  box-shadow: var(--shadow);
  overflow: hidden;
  /* Cap aspect-ratio so very tall screenshots (cashflow ~1:1.9, markets
     ~1:1.6) don't dominate the row vertically. cover + top crops the bottom
     so the headline UI stays visible — that's where the chart/totals are. */
  aspect-ratio: 4 / 3;
}
.showcase-shot img {
  border-radius: 10px;
  width: 100%;
  height: 100%;
  display: block;
  border: 1px solid var(--border);
  object-fit: cover;
  object-position: top center;
}
.showcase-shot.stack {
  display: grid; gap: 10px;
  aspect-ratio: auto;
  grid-template-rows: 1fr 1fr;
}
.showcase-shot.stack img {
  aspect-ratio: 4 / 2.2;
}

@media (max-width: 880px) {
  .showcase-row,
  .showcase-row.reverse { grid-template-columns: 1fr; gap: 32px; }
  .showcase-row.reverse .showcase-copy { order: 0; }
  .showcase-row.reverse .showcase-shot { order: 1; }
}

/* ====================== demo card ====================== */
.demo-card {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 0;
  background: linear-gradient(135deg, #0a0d14 0%, #111827 100%);
  color: #f8fafc;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  isolation: isolate;
  box-shadow: var(--shadow-lg);
}
.demo-card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: -1;
  background:
    radial-gradient(70% 60% at 100% 0%, rgba(20, 184, 166, 0.22), transparent 60%),
    radial-gradient(50% 70% at 0% 100%, rgba(37, 99, 235, 0.25), transparent 65%);
}
.demo-copy {
  padding: clamp(32px, 4vw, 56px);
}
.demo-copy .eyebrow { color: #5eead4; }
.demo-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.4vw, 38px);
  line-height: 1.2;
  margin: 12px 0 14px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.demo-copy p { color: #cbd5e1; font-size: 16px; margin: 0; line-height: 1.65; }

.demo-creds {
  padding: clamp(32px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.04);
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  display: flex; flex-direction: column; gap: 14px;
}
.cred {
  display: grid; grid-template-columns: 56px 1fr auto;
  gap: 12px; align-items: center;
  padding: 12px 14px;
  background: rgba(0, 0, 0, 0.32);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
}
.cred-label {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: #94a3b8;
}
.cred code {
  font-size: 15px; color: #f8fafc; word-break: break-all;
}
.copy-btn {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.04);
  color: #f8fafc;
  padding: 6px 12px; border-radius: 8px;
  font-size: 12px; font-weight: 600;
  cursor: pointer;
  font-family: var(--font-mono);
  transition: background 0.15s ease, border-color 0.15s ease;
}
.copy-btn:hover { background: rgba(255, 255, 255, 0.10); border-color: rgba(255, 255, 255, 0.3); }
.copy-btn.is-copied { background: rgba(45, 212, 191, 0.18); border-color: #2dd4bf; color: #5eead4; }

.demo-creds .btn-primary {
  margin-top: 6px;
  background: #2dd4bf;
  color: #04121a;
  box-shadow: 0 8px 24px -8px rgba(45, 212, 191, 0.55);
}
.demo-creds .btn-primary:hover { background: #5eead4; }

.demo-note {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; color: #94a3b8; margin: 4px 0 0;
}

@media (max-width: 880px) {
  .demo-card { grid-template-columns: 1fr; }
  .demo-creds { border-left: none; border-top: 1px solid rgba(255, 255, 255, 0.08); }
}

/* ====================== security ====================== */
.security {
  background: var(--bg);
}
.security-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}
.security-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.security-card h3 {
  font-size: 16px; font-weight: 700; margin: 0 0 8px;
  font-family: var(--font-display);
}
.security-card p {
  margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.65;
}

/* ====================== faq ====================== */
.faq-list {
  max-width: 760px; margin: 0 auto;
  display: grid; gap: 8px;
}
.faq-list details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 4px 22px;
  transition: border-color 0.15s ease;
}
.faq-list details[open] {
  border-color: var(--border-strong);
}
.faq-list summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 0;
  font-size: 16px; font-weight: 600;
  position: relative; padding-right: 32px;
  color: var(--text);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "＋"; position: absolute; right: 0; top: 50%;
  transform: translateY(-50%);
  color: var(--muted); font-weight: 400;
  transition: transform 0.18s ease;
  font-family: var(--font-mono);
}
.faq-list details[open] summary::after {
  content: "－"; transform: translateY(-50%);
}
.faq-list p {
  color: var(--muted); margin: 0 0 18px; padding-top: 4px;
  font-size: 15px; line-height: 1.7;
}

/* ====================== cta band ====================== */
.cta-band {
  background:
    radial-gradient(60% 80% at 80% 0%, rgba(20, 184, 166, 0.18), transparent 60%),
    radial-gradient(60% 80% at 0% 100%, rgba(37, 99, 235, 0.20), transparent 60%),
    var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
  max-width: none;
  padding: clamp(64px, 8vw, 112px) var(--pad-x);
}
.cta-inner { max-width: 720px; margin: 0 auto; }
.cta-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  margin: 0 0 12px;
  letter-spacing: -0.025em;
  line-height: 1.18;
}
.cta-inner p { color: var(--muted); font-size: 17px; margin: 0 0 28px; }
.cta-actions {
  display: flex; gap: 12px; flex-wrap: wrap; justify-content: center;
}

/* ====================== footer ====================== */
.footer {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  padding: 48px var(--pad-x) 24px;
}
.footer-inner {
  max-width: var(--container); margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 2fr);
  gap: 48px;
}
.footer-brand {
  display: flex; gap: 14px; align-items: flex-start;
}
.footer-brand strong { font-family: var(--font-display); }
.footer-brand p { margin: 4px 0 0; color: var(--muted); font-size: 13px; }
.footer-cols {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.footer-cols h4 {
  font-size: 12px; text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--muted); margin: 0 0 14px;
  font-family: var(--font-mono); font-weight: 700;
}
.footer-cols a {
  display: block;
  color: var(--text-soft);
  font-size: 14px; margin-bottom: 8px;
  text-decoration: none;
}
.footer-cols a:hover { color: var(--blue); text-decoration: none; }

.footer-base {
  max-width: var(--container); margin: 32px auto 0;
  border-top: 1px solid var(--border);
  padding-top: 18px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 13px; color: var(--faint);
}

@media (max-width: 720px) {
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
  .footer-base { flex-direction: column; gap: 8px; }
}

/* ====================== motion-safe extras ====================== */
@media (prefers-reduced-motion: no-preference) {
  .hero-shot-frame {
    animation: float 9s ease-in-out infinite;
  }
  @keyframes float {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-6px); }
  }
}
