/* ===========================================================
   LeadBox marketing site — design tokens
   Palette intentionally reuses the real product's own colors
   (theme.css / dashboard.css / popup.css) for brand consistency.
=========================================================== */
:root {
  --ink: #0b1220;
  --text: #111827;
  --muted: #5b6472;
  --muted-2: #8a93a3;
  --line: #e6e9ef;
  --line-soft: #eef1f5;
  --bg: #ffffff;
  --bg-soft: #f7f8fa;
  --bg-deep: #0b1220;
  --brand: #2563eb;
  --brand-dark: #1d4ed8;
  --brand-deep: #0b1f3a;
  --good: #166534;
  --good-bg: #f0fdf4;
  --hot: #9f1239;
  --hot-bg: #fff1f2;
  --warn: #92400e;
  --warn-bg: #fffbeb;
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(11, 18, 32, 0.06);
  --shadow-md: 0 8px 24px rgba(11, 18, 32, 0.08);
  --shadow-lg: 0 24px 64px rgba(11, 18, 32, 0.14);
  --container: 1160px;
  --font: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -0.02em; }
p { margin: 0; }
button { font-family: inherit; cursor: pointer; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-dark);
  background: #eff6ff;
  border: 1px solid #dbeafe;
  padding: 6px 12px;
  border-radius: 999px;
}
.section { padding: 96px 0; }
.section-tight { padding: 64px 0; }
.section-head { max-width: 680px; margin: 0 0 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(28px, 4vw, 38px); margin-top: 14px; }
.section-head p { margin-top: 14px; font-size: 17px; color: var(--muted); line-height: 1.65; }
.section-alt { background: var(--bg-soft); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 50px;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 650;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--text);
  transition: transform 120ms ease, box-shadow 120ms ease, background 120ms ease, border-color 120ms ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.btn.primary { background: var(--brand); border-color: var(--brand); color: #fff; box-shadow: 0 10px 24px rgba(37, 99, 235, 0.28); }
.btn.primary:hover { background: var(--brand-dark); border-color: var(--brand-dark); }
.btn.dark { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn.dark:hover { background: #000; }
.btn.ghost-light { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.22); color: #fff; }
.btn.ghost-light:hover { background: rgba(255, 255, 255, 0.14); }
.btn.whatsapp { background: #17a34a; border-color: #17a34a; color: #fff; }
.btn.whatsapp:hover { background: #12893c; }
.btn.small { height: 42px; padding: 0 18px; font-size: 14px; }
.btn svg { width: 18px; height: 18px; flex: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  /* No filter/backdrop-filter/transform here: any of those would create a
     new containing block for position:fixed descendants (like .main-nav's
     mobile panel), breaking its full-viewport anchoring. The blur lives on
     ::before instead, behind the header's own content/children. */
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(10px);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.brand-logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; letter-spacing: -0.02em; }
.brand-logo img { height: 30px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 32px; }
.main-nav a { font-size: 14.5px; font-weight: 600; color: var(--muted); transition: color 120ms ease; }
.main-nav a:hover { color: var(--text); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 88px 0 110px;
  background: radial-gradient(1100px 520px at 82% -10%, rgba(37, 99, 235, 0.14), transparent 60%),
    linear-gradient(180deg, #fbfcfe 0%, #ffffff 55%);
  overflow: hidden;
  border-bottom: 1px solid var(--line-soft);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.hero-copy .eyebrow { margin-bottom: 22px; }
.hero-copy h1 { font-size: clamp(34px, 4.6vw, 54px); line-height: 1.08; }
.hero-copy .accent { color: var(--brand); }
.hero-copy p.lede { margin-top: 22px; font-size: 18px; color: var(--muted); max-width: 560px; line-height: 1.7; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 36px; }
.hero-trust-item { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--muted); font-weight: 600; }
.hero-trust-item svg { width: 16px; height: 16px; color: var(--brand); flex: none; }

/* ---------- Mockups (built from the real app's own component structure/colors) ---------- */
.mock-wrap { position: relative; }
.mock-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.mock-titlebar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: #fafbfc; }
.mock-dot { width: 9px; height: 9px; border-radius: 50%; background: #e2e5eb; }
.mock-titlebar span { margin-left: 8px; font-size: 12px; color: var(--muted-2); font-weight: 600; }
.mock-body { padding: 20px; }

.mock-metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 14px; }
.mock-metric { border: 1px solid var(--line); border-top: 3px solid var(--line); border-radius: 8px; padding: 10px; }
.mock-metric.blue { border-top-color: #2563eb; }
.mock-metric.purple { border-top-color: #7c3aed; }
.mock-metric.teal { border-top-color: #0891b2; }
.mock-metric.red { border-top-color: #9f1239; }
.mock-metric b { display: block; font-size: 18px; }
.mock-metric span { font-size: 10.5px; color: var(--muted); }

.mock-table { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; font-size: 12px; }
.mock-row { display: grid; grid-template-columns: 1.5fr 1fr 0.6fr 0.9fr; gap: 8px; padding: 9px 12px; border-bottom: 1px solid var(--line); align-items: center; }
.mock-row:last-child { border-bottom: 0; }
.mock-row.head { background: #f9fafb; font-weight: 700; color: var(--muted); font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.04em; }
.mock-name { font-weight: 650; }
.mock-name small { display: block; font-weight: 500; color: var(--muted-2); font-size: 10.5px; margin-top: 1px; }
.mock-chip { display: inline-block; font-size: 10.5px; font-weight: 700; border-radius: 999px; padding: 2px 8px; }
.mock-chip.hot { color: var(--hot); background: var(--hot-bg); }
.mock-chip.good { color: var(--good); background: var(--good-bg); }
.mock-status { display: inline-block; font-size: 10.5px; font-weight: 650; border-radius: 999px; padding: 3px 9px; border: 1px solid; }
.mock-status.new { color: #1d4ed8; background: #eff6ff; border-color: #bfdbfe; }
.mock-status.contacted { color: #92400e; background: #fffbeb; border-color: #fde68a; }
.mock-status.interested { color: #166534; background: #f0fdf4; border-color: #bbf7d0; }

.float-card {
  position: absolute;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 14px 16px;
}
.float-card.popup-mini { top: -28px; right: -26px; width: 200px; }
.float-card.popup-mini .fc-label { font-size: 10px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted-2); font-weight: 700; }
.float-card.popup-mini .fc-value { font-size: 26px; font-weight: 800; margin-top: 4px; letter-spacing: -0.02em; }
.float-card.popup-mini .fc-sub { font-size: 11.5px; color: var(--muted); margin-top: 2px; }
.float-card.wa-mini { bottom: -22px; left: -30px; width: 208px; }
.float-card.wa-mini .fc-row { display: flex; align-items: center; gap: 8px; }
.float-card.wa-mini .fc-dot { width: 8px; height: 8px; border-radius: 50%; background: #16a34a; }
.float-card.wa-mini .fc-title { font-size: 12.5px; font-weight: 700; }
.float-card.wa-mini .fc-sub { font-size: 11px; color: var(--muted); margin-top: 6px; line-height: 1.5; }

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .float-card { display: none; }
}

/* ---------- Logo strip / workflow ribbon ---------- */
.workflow-strip { padding: 40px 0; border-bottom: 1px solid var(--line); }
.workflow-strip .container { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; }
.workflow-step { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 650; color: var(--muted); }
.workflow-step b { color: var(--text); }
.workflow-arrow { color: var(--muted-2); font-size: 16px; }

/* ---------- Feature grid ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  background: #fff;
  transition: box-shadow 160ms ease, transform 160ms ease, border-color 160ms ease;
}
.feature-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); border-color: #dbe1ea; }
.feature-icon {
  width: 44px; height: 44px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: #eff6ff; color: var(--brand-dark); margin-bottom: 16px;
}
.feature-icon svg { width: 22px; height: 22px; }
.feature-card h3 { font-size: 17px; }
.feature-card p { margin-top: 8px; font-size: 14.5px; color: var(--muted); line-height: 1.6; }
.feature-card .tag { display: inline-block; margin-top: 14px; font-size: 11px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted-2); }

@media (max-width: 900px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .feature-grid { grid-template-columns: 1fr; }
}

/* ---------- Product showcase (Website -> App -> Extension) ---------- */
.flow-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.flow-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; background: #fff; position: relative; }
.flow-num { position: absolute; top: -14px; left: 24px; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 13px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.flow-card h3 { margin-top: 8px; font-size: 18px; }
.flow-card p { margin-top: 10px; font-size: 14px; color: var(--muted); line-height: 1.65; }
.flow-card .flow-domain { display: inline-block; margin-top: 14px; font-size: 12.5px; font-weight: 700; color: var(--brand-dark); background: #eff6ff; border-radius: 8px; padding: 5px 10px; }
@media (max-width: 900px) { .flow-grid { grid-template-columns: 1fr; } }

/* ---------- Extension section ---------- */
.ext-section { background: var(--bg-deep); color: #fff; position: relative; overflow: hidden; }
.ext-section::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(900px 420px at 15% 0%, rgba(37, 99, 235, 0.28), transparent 60%);
  pointer-events: none;
}
.ext-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; position: relative; }
.ext-section .eyebrow { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.18); color: #cfe0ff; }
.ext-section h2 { color: #fff; font-size: clamp(26px, 3.6vw, 34px); margin-top: 16px; }
.ext-section .lede { margin-top: 16px; color: #b9c2d4; font-size: 16px; line-height: 1.7; max-width: 540px; }
.ext-list { margin-top: 28px; display: grid; gap: 16px; }
.ext-item { display: flex; gap: 12px; align-items: flex-start; }
.ext-item .ext-check { flex: none; width: 22px; height: 22px; border-radius: 50%; background: rgba(37, 99, 235, 0.24); display: flex; align-items: center; justify-content: center; margin-top: 2px; }
.ext-item .ext-check svg { width: 12px; height: 12px; color: #93c5fd; }
.ext-item b { font-size: 14.5px; color: #fff; display: block; }
.ext-item span { font-size: 13.5px; color: #9aa4b8; line-height: 1.55; }
.ext-ctas { margin-top: 30px; display: flex; gap: 12px; flex-wrap: wrap; }

.ext-panel { background: #10182c; border: 1px solid rgba(255, 255, 255, 0.1); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.ext-panel-head { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.ext-panel-head img { width: 22px; height: 22px; }
.ext-panel-head b { font-size: 13.5px; color: #fff; }
.ext-panel-body { padding: 18px; display: grid; gap: 12px; }
.ext-panel-row { display: flex; align-items: center; justify-content: space-between; background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 10px; padding: 12px 14px; }
.ext-panel-row .epr-label { font-size: 12px; color: #9aa4b8; }
.ext-panel-row .epr-value { font-size: 15px; font-weight: 700; color: #fff; }
.ext-panel-btn { margin-top: 4px; display: flex; align-items: center; justify-content: center; gap: 8px; height: 42px; border-radius: 8px; background: var(--brand); color: #fff; font-size: 13.5px; font-weight: 700; }
@media (max-width: 980px) { .ext-grid { grid-template-columns: 1fr; } }

/* ---------- Who it's for ---------- */
.audience-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.audience-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 20px; text-align: left; }
.audience-card .a-icon { width: 40px; height: 40px; border-radius: 10px; background: var(--bg-soft); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; color: var(--brand-dark); }
.audience-card .a-icon svg { width: 20px; height: 20px; }
.audience-card h3 { font-size: 15.5px; }
.audience-card p { margin-top: 8px; font-size: 13.5px; color: var(--muted); line-height: 1.6; }
@media (max-width: 900px) { .audience-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .audience-grid { grid-template-columns: 1fr; } }

/* ---------- How it works ---------- */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.step { padding: 0 20px; position: relative; }
.step-num { width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--brand); color: var(--brand-dark); font-weight: 800; display: flex; align-items: center; justify-content: center; font-size: 15px; background: #fff; }
.step h3 { margin-top: 16px; font-size: 16.5px; }
.step p { margin-top: 8px; font-size: 13.5px; color: var(--muted); line-height: 1.6; }
.steps-grid::before {
  content: "";
  position: absolute; top: 20px; left: 40px; right: 40px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 14px);
  z-index: -1;
}
@media (max-width: 900px) {
  .steps-grid { grid-template-columns: 1fr; gap: 28px; }
  .steps-grid::before { display: none; }
}

/* ---------- Plans / quotas (no invented pricing) ---------- */
.plan-note {
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
  background: var(--bg-soft);
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 32px;
}
.plan-note b { color: var(--text); }
.quota-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.quota-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 14px; text-align: center; }
.quota-card b { display: block; font-size: 13.5px; }
.quota-card span { display: block; margin-top: 6px; font-size: 12px; color: var(--muted); line-height: 1.5; }
@media (max-width: 900px) { .quota-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .quota-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(145deg, var(--brand-deep), #16326b);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(700px 300px at 50% -20%, rgba(37, 99, 235, 0.4), transparent 70%);
}
.cta-band h2 { position: relative; color: #fff; font-size: clamp(24px, 3.4vw, 32px); }
.cta-band p { position: relative; margin-top: 12px; color: #c7d2e6; font-size: 15.5px; }
.cta-band .hero-ctas { position: relative; justify-content: center; margin-top: 28px; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; }
.faq-item summary { list-style: none; cursor: pointer; padding: 18px 22px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-weight: 650; font-size: 15.5px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .faq-plus { flex: none; width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; font-size: 16px; color: var(--muted); transition: transform 160ms ease; }
.faq-item[open] summary .faq-plus { transform: rotate(45deg); }
.faq-item .faq-body { padding: 0 22px 20px; font-size: 14.5px; color: var(--muted); line-height: 1.7; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.contact-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; text-align: center; background: #fff; }
.contact-card .c-icon { width: 48px; height: 48px; border-radius: 12px; background: var(--bg-soft); display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; color: var(--brand-dark); }
.contact-card .c-icon svg { width: 24px; height: 24px; }
.contact-card h3 { font-size: 16px; }
.contact-card p { margin-top: 8px; font-size: 13.5px; color: var(--muted); }
.contact-card .btn { margin-top: 18px; width: 100%; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-form {
  max-width: 640px;
  margin: 40px auto 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  display: grid;
  gap: 16px;
}
.contact-form .cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form .field { display: flex; flex-direction: column; gap: 6px; }
.contact-form .field label { font-size: 13px; font-weight: 650; color: var(--text); }
.contact-form .field input,
.contact-form .field textarea {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  font: inherit;
  font-size: 14.5px;
  resize: vertical;
  width: 100%;
}
.contact-form .field textarea { min-height: 100px; }
.contact-form .cf-optional { color: var(--muted-2); font-weight: 500; text-transform: none; letter-spacing: 0; }
.contact-form .btn { justify-self: start; }
.contact-form .cf-status { font-size: 13.5px; }
.contact-form .cf-status.ok { color: var(--good); }
.contact-form .cf-status.error { color: var(--hot); }
@media (max-width: 560px) { .contact-form .cf-row { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #a7b0c2; padding: 56px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer-brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; font-size: 18px; }
.footer-brand img { height: 26px; }
.footer-desc { margin-top: 14px; font-size: 13.5px; line-height: 1.7; max-width: 300px; color: #8b94a8; }
.footer-col h4 { font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.06em; color: #6b7488; margin-bottom: 16px; }
.footer-col ul { display: grid; gap: 11px; }
.footer-col a { font-size: 14px; color: #c2c9d8; transition: color 120ms ease; }
.footer-col a:hover { color: #fff; }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.08); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 12.5px; color: #6b7488; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Mobile nav ----------
   Breakpoint is wider than the other 900px layout breakpoints: with 6 nav
   links plus WhatsApp/Login, the inline header needs ~1100px to not wrap. */
@media (max-width: 1100px) {
  .main-nav { position: fixed; inset: 76px 0 0 0; background: #fff; flex-direction: column; align-items: flex-start; padding: 28px 24px; gap: 6px; transform: translateX(100%); transition: transform 220ms ease; overflow-y: auto; }
  .main-nav.open { transform: translateX(0); }
  .main-nav a { padding: 14px 4px; width: 100%; border-bottom: 1px solid var(--line-soft); font-size: 16px; }
  .header-actions .btn.dark,
  .header-actions .header-whatsapp { display: none; }
  .nav-toggle { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 8px; border: 1px solid var(--line); background: #fff; }
  .nav-toggle svg { width: 20px; height: 20px; }
}

/* ---------- Reveal-on-scroll (progressive enhancement only) ----------
   Content is visible by default (no JS/SEO dependency). JS opts elements
   into a fade-up ONLY once it has confirmed IntersectionObserver works,
   by adding .reveal-armed to <html> first — so a slow/blocked script
   never leaves content hidden. */
html.reveal-armed [data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity 520ms ease, transform 520ms ease; }
html.reveal-armed [data-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ---------- Skip link ---------- */
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 0 0 8px 0; z-index: 100; }
.skip-link:focus { left: 0; }
