/* ---------- Reset + tokens ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

:root {
  --brand:        #6ea8fe;   /* porthole accent */
  --brand-2:      #93c0ff;   /* lighter */
  --brand-3:      #3b6fe0;   /* deeper */
  --brand-magenta:#c084fc;
  --bg:           #f3f5fb;
  --bg-elev:      #ffffff;
  --bg-alt:       #e9edf6;
  --text:         #0b0d12;
  --text-2:       #475569;
  --text-3:       #94a3b8;
  --border:       rgba(15, 23, 42, 0.08);
  --shadow:       0 18px 60px -20px rgba(59, 111, 224, 0.22);
  --radius-lg:    18px;
  --radius-md:    12px;
  --radius-sm:    8px;
  --maxw:         1140px;
  --pad:          clamp(20px, 5vw, 56px);
  --font:         -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", system-ui,
                  "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono:         ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;

  --term-bg:        #0b0d12;
  --term-bg-2:      #12151c;
  --term-text:      #e6e8ec;
  --term-dim:       #5d6573;
  --term-ok:        #4ade80;
  --term-hl:        #6ea8fe;
  --term-prompt:    #fbbf24;
}

:root[data-theme="dark"],
:root[data-theme="auto"] {
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root[data-theme="auto"] {
    --bg:        #06090f;
    --bg-elev:   #0e1320;
    --bg-alt:    #0a0e18;
    --text:      #eef2f8;
    --text-2:    #b8c4d4;
    --text-3:    #6b7a8e;
    --border:    rgba(255,255,255,0.07);
    --shadow:    0 24px 80px -20px rgba(0,0,0,0.7);
  }
}
:root[data-theme="dark"] {
  --bg:        #06090f;
  --bg-elev:   #0e1320;
  --bg-alt:    #0a0e18;
  --text:      #eef2f8;
  --text-2:    #b8c4d4;
  --text-3:    #6b7a8e;
  --border:    rgba(255,255,255,0.07);
  --shadow:    0 24px 80px -20px rgba(0,0,0,0.7);
}

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

a { color: inherit; }
a:hover { color: var(--brand); }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }

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

code, pre { font-family: var(--mono); font-size: 0.92em; }
code {
  background: var(--bg-alt);
  padding: 0.12em 0.42em;
  border-radius: 6px;
  border: 1px solid var(--border);
  font-size: 0.88em;
}
pre code {
  background: transparent;
  padding: 0;
  border: 0;
  border-radius: 0;
  font-size: inherit;
}

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px var(--pad);
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.brand {
  display: inline-flex; gap: 10px; align-items: center;
  text-decoration: none; color: var(--text);
}
.brand strong { font-weight: 700; letter-spacing: -0.01em; }
.brand-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--brand-2), var(--brand-3));
  color: white;
  box-shadow: 0 4px 12px -4px color-mix(in srgb, var(--brand) 60%, transparent);
}

.nav-right {
  display: flex; align-items: center; gap: 18px;
}
.nav-right a {
  font-size: 14px;
  color: var(--text-2);
  text-decoration: none;
  font-weight: 500;
}
.nav-right a:hover { color: var(--text); }
.nav-github { color: var(--brand) !important; font-weight: 600 !important; }

.theme-toggle {
  border: 1px solid var(--border);
  background: var(--bg-elev);
  color: var(--text-2);
  width: 32px; height: 32px;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 14px;
  transition: all .15s;
}
.theme-toggle:hover { border-color: var(--brand); color: var(--brand); }
.theme-toggle .moon { display: none; }
:root[data-theme="dark"] .theme-toggle .sun { display: none; }
:root[data-theme="dark"] .theme-toggle .moon { display: inline; }
@media (prefers-color-scheme: dark) {
  :root[data-theme="auto"] .theme-toggle .sun { display: none; }
  :root[data-theme="auto"] .theme-toggle .moon { display: inline; }
}

@media (max-width: 740px) {
  .nav-right a { display: none; }
  .nav-right .nav-github { display: inline; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(60px, 9vw, 110px) 0 clamp(70px, 10vw, 130px);
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(900px circle at 80% -10%, rgba(110, 168, 254, 0.22), transparent 60%),
    radial-gradient(700px circle at 10% 110%, rgba(192, 132, 252, 0.16), transparent 60%),
    radial-gradient(500px circle at 50% 50%, rgba(110, 168, 254, 0.08), transparent 70%);
  z-index: 0;
}
.hero-grid {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600;
  color: var(--text-2);
  letter-spacing: 0.02em;
}
.eyebrow .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 22%, transparent);
}

.hero h1 {
  font-size: clamp(40px, 6.2vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  font-weight: 800;
  margin: 16px 0 18px;
}
.grad {
  background: linear-gradient(135deg, var(--brand-2), var(--brand) 50%, var(--brand-magenta));
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
}
.lede {
  font-size: clamp(17px, 1.6vw, 19px);
  color: var(--text-2);
  margin: 0 0 28px;
  max-width: 38em;
}
.lede strong { color: var(--text); font-weight: 700; }
.lede em { color: var(--text); font-style: normal; font-weight: 600; }

.cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 22px;
  border-radius: 12px;
  font-weight: 600; font-size: 15px;
  text-decoration: none;
  transition: transform .12s ease, box-shadow .15s, background .15s;
}
.btn-primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-3));
  color: white;
  box-shadow: 0 8px 24px -8px color-mix(in srgb, var(--brand) 55%, transparent);
}
.btn-primary:hover { transform: translateY(-1px); color: white; }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }

.hero-bullets {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 10px;
}
.hero-bullets li {
  font-size: 14px;
  color: var(--text-2);
  padding-left: 22px;
  position: relative;
}
.hero-bullets li::before {
  content: "◉";
  position: absolute; left: 0; top: 0;
  color: var(--brand);
  font-size: 13px;
}

/* ---------- Hero visual: browser + SPA mock ---------- */
.hero-visual {
  position: relative;
  display: flex; flex-direction: column; align-items: stretch;
}
.browser {
  width: 100%;
  background: linear-gradient(165deg, var(--term-bg), var(--term-bg-2));
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow:
    0 30px 80px -25px rgba(2, 12, 28, 0.45),
    0 4px 14px -4px rgba(59, 111, 224, 0.25),
    inset 0 1px 0 rgba(255,255,255,0.05);
  overflow: hidden;
  color: var(--term-text);
}
.browser-chrome {
  display: flex; align-items: center;
  gap: 8px;
  padding: 11px 14px;
  background: rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.browser-chrome .dot {
  width: 12px; height: 12px; border-radius: 50%;
}
.browser-chrome .dot.red    { background: #ff5f57; }
.browser-chrome .dot.yellow { background: #febc2e; }
.browser-chrome .dot.green  { background: #28c840; }
.browser-chrome .url {
  flex: 1; text-align: center;
  font-family: var(--mono);
  font-size: 11.5px;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.02em;
  background: rgba(255,255,255,0.05);
  padding: 4px 12px;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.04);
  max-width: 380px;
  margin: 0 auto;
}
.browser-body { padding: 0; }

/* The SPA mock — sidebar + workspace */
.ui-mock {
  display: grid;
  grid-template-columns: 180px 1fr;
  min-height: 360px;
}
.ui-side {
  background: rgba(255,255,255,0.025);
  border-right: 1px solid rgba(255,255,255,0.06);
  padding: 16px 12px;
  font-family: var(--mono);
  font-size: 12px;
}
.ui-label {
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--term-dim);
  text-transform: uppercase;
  font-family: var(--font);
  font-weight: 700;
  margin-bottom: 8px;
}
.ui-mt { margin-top: 22px; }
.ui-row {
  padding: 5px 8px;
  border-radius: 5px;
  color: var(--term-text);
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ui-row-active {
  background: var(--brand);
  color: #0b0d12;
  font-weight: 600;
}
.ui-term {
  display: flex; flex-direction: column;
  background: var(--term-bg);
}
.ui-term-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  background: rgba(255,255,255,0.02);
}
.ui-chip {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 999px;
  padding: 3px 11px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--term-text);
}
.ui-chip-on {
  background: var(--brand);
  color: #0b0d12;
  border-color: var(--brand);
  font-weight: 600;
}
.ui-action {
  margin-left: auto;
  font-size: 11px;
  color: var(--brand-2);
  font-weight: 600;
}
.ui-term-body {
  margin: 0;
  padding: 16px 18px;
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--term-text);
  white-space: pre;
  overflow-x: auto;
  flex: 1;
}
.ui-term-body .ok   { color: var(--term-prompt); font-weight: 700; }
.ui-term-body .cmd  { color: var(--term-text); font-weight: 600; }
.ui-term-body .dim  { color: var(--term-dim); }
.ui-term-body .caret {
  color: var(--term-hl);
  animation: blink 1.1s steps(2, end) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

@media (max-width: 520px) {
  .ui-mock { grid-template-columns: 1fr; min-height: auto; }
  .ui-side { display: none; }
  .ui-term-body { font-size: 11.5px; }
}

/* ---------- Sections ---------- */
.section {
  padding: clamp(70px, 10vw, 120px) 0;
  position: relative;
}
.section-alt { background: var(--bg-alt); border-block: 1px solid var(--border); }

.kicker {
  text-transform: uppercase;
  font-size: 12px; font-weight: 700; letter-spacing: 0.12em;
  color: var(--brand);
  margin: 0 0 14px;
}
.section h2 {
  font-size: clamp(28px, 4vw, 46px);
  letter-spacing: -0.02em;
  margin: 0 0 18px;
  line-height: 1.1;
}
.section-lede {
  font-size: 17px;
  color: var(--text-2);
  margin: 0 0 56px;
}
.section-lede strong { color: var(--text); font-weight: 700; }
.section-lede em { color: var(--text); font-style: normal; font-weight: 600; }

/* ---------- Features ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 900px) { .feature-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .feature-grid { grid-template-columns: 1fr; } }
.card {
  position: relative;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px 24px;
  transition: border-color .15s, transform .15s, box-shadow .15s;
}
.card:hover {
  border-color: color-mix(in srgb, var(--brand) 35%, var(--border));
  transform: translateY(-2px);
  box-shadow: 0 18px 40px -22px color-mix(in srgb, var(--brand) 35%, transparent);
}
.card-num {
  position: absolute; top: 18px; right: 22px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-3);
  font-feature-settings: "tnum" 1;
}
.card h3 {
  margin: 8px 0 8px;
  font-size: 17px;
  letter-spacing: -0.01em;
}
.card p { margin: 0; color: var(--text-2); font-size: 14.5px; }

/* ---------- Diagram (How section) ---------- */
.diagram {
  margin: 0;
  background: var(--term-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 10px 10px 6px;
  box-shadow: 0 22px 60px -28px rgba(0,0,0,0.45);
}
.diagram img,
.diagram video {
  display: block;
  width: 100%;
  height: auto;
  border-radius: calc(var(--radius-lg) - 6px);
}
.diagram figcaption {
  margin: 10px 6px 6px;
  font-size: 13px;
  color: var(--text-3);
  text-align: center;
  line-height: 1.5;
}

/* ---------- Auth stacked blocks ---------- */
.auth-stack {
  display: grid;
  gap: 24px;
  margin-bottom: 24px;
}
.auth-block {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 26px 24px;
}
.auth-block h3 {
  margin: 0 0 12px;
  font-size: 18px;
  letter-spacing: -0.01em;
}
.auth-block > p {
  margin: 0 0 18px;
  color: var(--text-2);
  font-size: 14.5px;
}

/* ---------- Actions reference table ---------- */
.actions-ref {
  margin: 18px 0 26px;
  overflow-x: auto;
}
.actions-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}
.actions-table th,
.actions-table td {
  padding: 10px 14px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--border);
}
.actions-table thead th {
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-2);
  font-weight: 700;
}
.actions-table tbody th {
  width: 180px;
  font-weight: 600;
  white-space: nowrap;
}
.actions-table tbody th code {
  background: transparent;
  border: 0;
  padding: 0;
  color: var(--brand);
  font-size: 0.95em;
}
.actions-table tbody td { color: var(--text-2); }
.actions-table tbody tr:last-child th,
.actions-table tbody tr:last-child td { border-bottom: 0; }
@media (max-width: 640px) {
  .actions-table tbody th { width: auto; }
}

/* ---------- Tabs ---------- */
.tabs {
  display: grid;
  gap: 0;
}
.tabs-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 0;
}
.tabs-btn {
  appearance: none;
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  padding: 10px 14px;
  font: inherit;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-2);
  cursor: pointer;
  transition: color .12s, border-color .12s, background .12s;
  border-radius: 6px 6px 0 0;
}
.tabs-btn:hover { color: var(--text); background: color-mix(in srgb, var(--brand) 6%, transparent); }
.tabs-btn:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}
.tabs-btn[aria-selected="true"] {
  color: var(--brand);
  border-bottom-color: var(--brand);
}
.tabs-panel {
  padding-top: 16px;
}
.tabs-panel[hidden] { display: none; }
.tabs-intro {
  margin: 0 0 12px;
  color: var(--text-2);
  font-size: 14.5px;
}
.tabs-intro + .tabs-intro { margin-top: -2px; }
.tabs-intro strong { color: var(--text); }
.tabs-intro em { color: var(--text); font-style: normal; font-weight: 600; }
.tabs-foot {
  margin: 12px 0 0;
  color: var(--text-2);
  font-size: 13.5px;
  font-family: var(--mono);
  word-break: break-all;
}
.tabs-foot .prompt { color: var(--brand); margin-right: 6px; font-weight: 700; }
.tabs-foot .dim { color: var(--text-3); }
.tabs-foot code {
  background: transparent;
  border: 0;
  padding: 0;
  font-size: 0.95em;
  color: var(--text-2);
}
.tabs-panel .code + .tabs-foot { margin-top: 14px; }
.tabs-panel .tabs-foot + .code { margin-top: 8px; }

.code, .audit-pre {
  background: var(--term-bg);
  color: var(--term-text);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: var(--radius-md);
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 1.75;
  padding: 16px 18px;
  overflow-x: auto;
  margin: 0;
}
.code .kw   { color: #c084fc; }
.code .str  { color: #4ade80; }
.code .lit  { color: #fbbf24; }
.code .key  { color: #6ea8fe; }
.code .dim, .audit-pre .dim { color: var(--term-dim); }
.code .prompt { color: var(--term-prompt); margin-right: 8px; }

.audit-pre .key { color: var(--term-hl); }
.audit-pre .str { color: #4ade80; }
.audit-pre .lit { color: #fbbf24; }

.callout {
  background: color-mix(in srgb, var(--brand) 10%, var(--bg-elev));
  border: 1px solid color-mix(in srgb, var(--brand) 30%, var(--border));
  border-left: 4px solid var(--brand);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  font-size: 15px;
  color: var(--text);
  margin-top: 12px;
}
.callout strong { color: var(--brand); }

/* ---------- Compare table ---------- */
.compare-wrap {
  overflow-x: auto;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 18px 50px -28px color-mix(in srgb, var(--brand) 30%, transparent);
  -webkit-overflow-scrolling: touch;
}
.compare-table {
  width: 100%;
  min-width: 780px;
  border-collapse: collapse;
  font-size: 14px;
}
.compare-table th,
.compare-table td {
  text-align: left;
  vertical-align: top;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
}
.compare-table thead th {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-2);
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
.compare-table tbody th {
  width: 180px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  background: color-mix(in srgb, var(--bg-alt) 45%, transparent);
}
.compare-table tbody td {
  color: var(--text-2);
}
.compare-table tbody td strong {
  color: var(--text);
  font-weight: 700;
}
.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td { border-bottom: 0; }

.compare-table thead th.compare-mine {
  color: var(--brand);
  background: color-mix(in srgb, var(--brand) 14%, var(--bg-alt));
  border-bottom: 2px solid var(--brand);
}
.compare-table tbody td.compare-mine {
  color: var(--text);
  background: color-mix(in srgb, var(--brand) 8%, transparent);
  border-left: 1px solid color-mix(in srgb, var(--brand) 25%, var(--border));
  border-right: 1px solid color-mix(in srgb, var(--brand) 25%, var(--border));
}
.compare-table tbody tr:hover td:not(.compare-mine),
.compare-table tbody tr:hover > th {
  background: color-mix(in srgb, var(--brand) 5%, transparent);
}
.compare-table tbody tr:hover td.compare-mine {
  background: color-mix(in srgb, var(--brand) 14%, transparent);
}
.compare-table code {
  font-size: 0.85em;
  background: color-mix(in srgb, var(--text) 6%, transparent);
}

.compare-note {
  margin: 28px 0 0;
  padding: 16px 20px;
  background: color-mix(in srgb, var(--brand) 8%, var(--bg-elev));
  border: 1px solid color-mix(in srgb, var(--brand) 28%, var(--border));
  border-left: 4px solid var(--brand);
  border-radius: var(--radius-md);
  color: var(--text);
  font-size: 15px;
}
.compare-note strong { color: var(--brand); }

@media (max-width: 720px) {
  .compare-table { font-size: 13px; }
  .compare-table th,
  .compare-table td { padding: 12px 14px; }
}

/* ---------- Install ---------- */
.install-cmd {
  position: relative;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 64px 22px 24px;
}
.install-cmd pre {
  margin: 0;
  font-family: var(--mono);
  font-size: 14px;
  line-height: 1.85;
  white-space: pre-wrap;
  word-break: break-word;
  color: var(--text);
}
.install-cmd .prompt { color: var(--brand); margin-right: 8px; }
.install-cmd .dim { color: var(--text-3); }
.copy-btn {
  position: absolute; top: 16px; right: 16px;
  border: 1px solid var(--border);
  background: var(--bg-alt);
  color: var(--text-2);
  font-size: 12px; font-weight: 600;
  padding: 6px 10px; border-radius: 8px;
  cursor: pointer;
  transition: all .12s;
}
.copy-btn:hover { color: var(--text); border-color: var(--brand); }
.copy-btn.copied { background: var(--brand); color: white; border-color: var(--brand); }

.quickstart { margin-top: 32px; }
.quickstart h3 {
  margin: 0 0 14px;
  font-size: 17px;
  color: var(--text-2);
  font-weight: 600;
}
.quickstart h3 code {
  font-size: 0.95em;
}

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 10px; max-width: 820px; }
.faq-list details {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  transition: border-color .12s;
}
.faq-list details[open] {
  border-color: color-mix(in srgb, var(--brand) 35%, var(--border));
  box-shadow: 0 6px 18px -10px color-mix(in srgb, var(--brand) 35%, transparent);
}
.faq-list summary {
  list-style: none;
  cursor: pointer;
  font-weight: 600;
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  font-weight: 400;
  color: var(--text-3);
  font-size: 22px;
  transition: transform .15s;
}
.faq-list details[open] summary::after { content: "−"; color: var(--brand); }
.faq-list details p {
  margin: 12px 0 4px;
  color: var(--text-2);
  font-size: 15px;
}

/* ---------- Footer ---------- */
.footer { padding: 56px 0 32px; background: var(--bg-alt); border-top: 1px solid var(--border); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.4fr;
  gap: 40px;
  margin-bottom: 32px;
}
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr; } }
.footer h4 { margin: 0 0 10px; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-2); }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; font-size: 14px; color: var(--text-2); }
.footer ul a { color: inherit; text-decoration: none; }
.footer ul a:hover { color: var(--brand); }
.footer-tag { font-size: 14px; color: var(--text-2); margin: 14px 0 0; line-height: 1.55; }
.copy {
  margin: 0;
  text-align: center;
  font-size: 13px;
  color: var(--text-3);
  border-top: 1px solid var(--border);
  padding-top: 24px;
}
.copy a { color: var(--text-2); }

/* ---------- Misc ---------- */
::selection { background: var(--brand); color: white; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
