/* ──────────────────────────────────────────────────────────────────────────
   Orgnr. — "Svensk precision": ljust, redaktionellt, premium dokument-känsla.
   Varmt papper · bläck · pinjegrön accent · hårfina linjer · org.nr i monospace
   som signatur. Distinkt typografi (Fraunces / Schibsted Grotesk / IBM Plex Mono).
   Samma klasser/id:n som app.js använder — ingen JS behöver ändras.
   ────────────────────────────────────────────────────────────────────────── */
:root {
  color-scheme: light dark;

  --paper:    #F4EFE4;   /* warm cream canvas */
  --paper-2:  #FBF8F1;   /* raised surface */
  --card:     #FFFFFF;
  --card-2:   #FBF9F3;
  --glow:     #FCFAF4;   /* top-of-page warmth */

  --ink:      #211D16;   /* warm near-black */
  --ink-soft: #4E473B;
  --muted:    #8C8475;

  --line:        #E6DECC;
  --line-strong: #D7CCB4;

  --accent:        #1C6B47;   /* pine green — brand + "verifierad" */
  --accent-deep:   #145536;
  --accent-ink:    #FFFFFF;
  --accent-soft:   #E4EEE5;
  --accent-bright: #2E9163;

  /* Confidence bands on warm paper */
  --high:   #1C6B47; --high-bg:   #E4EEE5;
  --medium: #9A6B0E; --medium-bg: #F4EAD2;
  --low:    #B7472B; --low-bg:    #F6E0D7;
  --none:   #8C8475; --none-bg:   #ECE6D9;

  --radius: 13px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(64,52,30,.05), 0 12px 32px rgba(74,62,40,.08);
  --shadow-sm: 0 1px 2px rgba(64,52,30,.06);

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Schibsted Grotesk", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", monospace;
}

/* Dark variant of the same "Svensk precision" identity — warm dark "ink-paper",
   same Fraunces / hairlines / pine-green. Just re-tokenised; components unchanged. */
/* ── Landing / article pages ───────────────────────────────────────────── */
.brand .brand-mark { text-decoration: none; }
.article { max-width: 768px; }
.crumb { font-size: .85rem; color: var(--muted); margin: 4px 0 20px; }
.crumb a { color: var(--muted); text-decoration: none; }
.crumb a:hover { color: var(--accent); }
.crumb > span:first-of-type { color: var(--line-strong); margin: 0 4px; }
.article-title {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(2rem, 4.6vw, 2.85rem); line-height: 1.07; letter-spacing: -.02em;
  margin: 0 0 18px; color: var(--ink);
}
.article-lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 60ch; margin: 0 0 22px; }
.article-cta { margin-bottom: 6px; }
.article-body .seo-block:first-child { border-top: 0; padding-top: 14px; }
.article-body .seo-block h2 { font-size: clamp(1.3rem, 2.6vw, 1.65rem); }
.article-body a { color: var(--accent); }
.article-foot-cta { margin-top: 30px; padding-top: 28px; border-top: 1px solid var(--line); }

/* Comparison table */
.compare-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--card); margin-top: 6px; box-shadow: var(--shadow-sm); }
.compare-table { width: 100%; border-collapse: collapse; font-size: .92rem; min-width: 560px; }
.compare-table th, .compare-table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
.compare-table thead th { font-family: var(--font-body); font-weight: 600; font-size: .76rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); background: var(--card-2); }
.compare-table tbody th { font-weight: 500; color: var(--ink); white-space: nowrap; }
.compare-table td { color: var(--ink-soft); white-space: nowrap; }
.compare-table tbody tr:last-child th, .compare-table tbody tr:last-child td { border-bottom: 0; }
.compare-table .yes { color: var(--accent); font-weight: 600; }
.compare-table .no { color: var(--muted); }
.compare-table .me { background: var(--accent-soft); }
.compare-table thead th.me { color: var(--accent-deep); }
.compare-note { margin-top: 10px; font-size: .82rem; }

@media (prefers-color-scheme: dark) {
  :root {
    --paper:    #15120C;   /* warm near-black */
    --paper-2:  #1D190F;
    --card:     #1B170F;
    --card-2:   #221E14;
    --glow:     #241C10;   /* subtle warm lift at top */

    --ink:      #F2EDE0;
    --ink-soft: #C6BEAC;
    --muted:    #8E8676;

    --line:        #332D1F;
    --line-strong: #483F2D;

    --accent:        #51B27F;   /* brighter pine reads better on dark */
    --accent-deep:   #3F9A6A;
    --accent-ink:    #0C1610;   /* dark text on the bright-green button */
    --accent-soft:   #182A1F;
    --accent-bright: #7BD0A1;

    --high:   #7BD89D; --high-bg:   #18271D;
    --medium: #E3BE63; --medium-bg: #29230F;
    --low:    #EC8E78; --low-bg:    #2C1A14;
    --none:   #9A9384; --none-bg:   #232017;

    --shadow:    0 1px 2px rgba(0,0,0,.5), 0 14px 40px rgba(0,0,0,.5);
    --shadow-sm: 0 1px 2px rgba(0,0,0,.45);
  }
  /* On a dark canvas, multiply hides the grain — switch the blend so it still
     reads as subtle texture. */
  body::after { mix-blend-mode: soft-light; opacity: .06; }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  line-height: 1.55;
  background:
    radial-gradient(135% 90% at 50% -15%, var(--glow) 0%, transparent 55%),
    var(--paper);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Subtle paper grain over everything (decorative, non-interactive). */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 9999; pointer-events: none;
  opacity: .035; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.wrap { max-width: 920px; margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); font-size: .9rem; }
code { font-family: var(--font-mono); font-size: .86em; }
a { color: var(--accent); }

/* ── Header ────────────────────────────────────────────────────────────── */
.site-header { border-bottom: 1px solid var(--line); padding: 24px 0 20px; }
.brand { display: flex; align-items: baseline; gap: 0; }
.brand-mark {
  font-family: var(--font-display); font-weight: 600; font-size: 1.5rem;
  letter-spacing: -.01em; color: var(--ink);
}
.brand-dot { color: var(--accent); }
.brand-tool {
  color: var(--muted); font-family: var(--font-body); font-weight: 500;
  font-size: .92rem; margin-left: 13px; align-self: center;
  padding-left: 13px; border-left: 1px solid var(--line-strong);
}

main.wrap { padding-top: 38px; padding-bottom: 40px; }

/* ── Cards / steps ─────────────────────────────────────────────────────── */
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px;
  margin-bottom: 22px;
}
@media (min-width: 720px) { .card { padding: 32px; } }
.step h2 {
  margin: 0 0 18px; font-size: 1.5rem; font-weight: 500;
  font-family: var(--font-display); letter-spacing: -.01em; color: var(--ink);
  line-height: 1.15;
}

/* ── Landing hero ──────────────────────────────────────────────────────── */
.step-landing { margin-bottom: 8px; }
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 28px; align-items: center; }
@media (min-width: 800px) { .hero-grid { grid-template-columns: 1.08fr 0.92fr; gap: 48px; } }

.hero-title {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-size: clamp(2.1rem, 5vw, 3.05rem);
  font-weight: 500; line-height: 1.04; letter-spacing: -.018em;
  margin: 0 0 18px; color: var(--ink);
}
.hero-sub { color: var(--ink-soft); font-size: 1.08rem; margin: 0 0 16px; max-width: 44ch; }
.hero-promise { margin: 0 0 22px; font-size: 1.02rem; color: var(--ink-soft); }
.dot-free { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--accent); }
.dot-free::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

/* The name → org.nr "ledger" — the data as the hero motif. */
.hero-example {
  max-width: 360px; border: 1px solid var(--line);
  border-radius: var(--radius-sm); background: var(--card); box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.ex-row {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px;
  padding: 11px 16px; font-size: .94rem;
}
.ex-row + .ex-row { border-top: 1px solid var(--line); }
.ex-in { color: var(--ink-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ex-arrow { color: var(--accent); font-weight: 700; }
.ex-out { font-family: var(--font-mono); color: var(--ink); text-align: right; font-size: .88rem; }

.hero-action { display: flex; flex-direction: column; }

/* ── Dropzone ──────────────────────────────────────────────────────────── */
.dropzone {
  display: block;
  border: 1.5px dashed var(--line-strong);
  border-radius: var(--radius);
  background: var(--paper-2);
  padding: 40px 22px; text-align: center; cursor: pointer;
  transition: border-color .18s, background .18s, transform .12s, box-shadow .18s;
}
.dropzone:hover, .dropzone.dragover {
  border-color: var(--accent); background: var(--accent-soft);
  box-shadow: 0 8px 26px rgba(28,107,71,.12);
}
.dropzone.dragover { transform: scale(1.01); }
.dropzone-icon { width: 36px; height: 36px; color: var(--accent); margin: 0 auto 14px; display: block; }
.dropzone.is-loading .dropzone-icon { display: none; }
.dropzone-inner strong { display: block; font-size: 1.08rem; color: var(--ink); }
.dropzone-inner .muted { display: block; margin-top: 6px; }
.dropzone.is-loading { cursor: default; border-style: solid; border-color: var(--accent); background: var(--accent-soft); }
.spinner {
  display: inline-block; width: 42px; height: 42px; border-radius: 50%;
  background: conic-gradient(from 90deg, transparent 0deg, var(--accent) 250deg, var(--accent-bright) 360deg);
  -webkit-mask: radial-gradient(farthest-side, #0000 calc(100% - 4px), #000 calc(100% - 4px));
          mask: radial-gradient(farthest-side, #0000 calc(100% - 4px), #000 calc(100% - 4px));
  animation: spinner-spin .7s linear infinite;
}
@keyframes spinner-spin { to { transform: rotate(1turn); } }
.dropzone-inner .loading-label { margin-top: 16px; color: var(--ink-soft); font-family: var(--font-display); }

/* How-it-works mini steps */
.how { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.how li { display: flex; align-items: center; gap: 12px; color: var(--ink-soft); font-size: .94rem; }
.how-n {
  flex: none; width: 23px; height: 23px; border-radius: 50%;
  display: grid; place-items: center; font-size: .78rem; font-weight: 600;
  background: var(--accent-soft); color: var(--accent-deep);
  font-family: var(--font-mono);
}

/* Trust row */
.trust-row {
  list-style: none; margin: 28px 0 0; padding: 18px 0 0;
  border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 9px 24px;
}
.trust-row li { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: .86rem; }
.trust-row li::before { content: "✓"; color: var(--accent); font-weight: 700; }

/* ── Staggered page-load reveal (shows the product "working") ──────────── */
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.step-landing .hero-title   { animation: rise .6s .04s both cubic-bezier(.2,.7,.2,1); }
.step-landing .hero-sub     { animation: rise .6s .14s both cubic-bezier(.2,.7,.2,1); }
.step-landing .hero-promise { animation: rise .6s .22s both cubic-bezier(.2,.7,.2,1); }
.step-landing .hero-action  { animation: rise .6s .30s both cubic-bezier(.2,.7,.2,1); }
.step-landing .trust-row    { animation: rise .6s .55s both cubic-bezier(.2,.7,.2,1); }
.hero-example .ex-row { animation: rise .5s both cubic-bezier(.2,.7,.2,1); }
.hero-example .ex-row:nth-child(1) { animation-delay: .40s; }
.hero-example .ex-row:nth-child(2) { animation-delay: .56s; }
.hero-example .ex-row:nth-child(3) { animation-delay: .72s; }

/* ── Meta + tables (column picker) ─────────────────────────────────────── */
.file-meta { color: var(--muted); margin: -8px 0 18px; font-size: .9rem; }
.table-scroll {
  overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--card);
}
table.preview { width: 100%; border-collapse: collapse; font-size: .9rem; }
table.preview th {
  padding: 0; border-bottom: 1px solid var(--line); background: var(--card-2); white-space: nowrap;
}
table.preview th label {
  display: flex; align-items: center; gap: 8px; padding: 11px 14px; cursor: pointer;
  font-weight: 600; color: var(--ink-soft);
}
table.preview td { padding: 10px 14px; border-bottom: 1px solid var(--line); color: var(--ink-soft); white-space: nowrap; }
table.preview tbody tr:last-child td { border-bottom: 0; }
table.preview th label input { accent-color: var(--accent); width: 15px; height: 15px; }
table.preview th.selected, table.preview td.selected { background: var(--accent-soft); }
table.preview th.selected { color: var(--accent-deep); box-shadow: inset 0 -2px 0 var(--accent); }
table.preview td.selected { color: var(--ink); font-weight: 600; }

.quality-note {
  margin: 18px 0 0; padding: 15px 17px; font-size: .92rem; line-height: 1.6;
  background: var(--card-2); border: 1px solid var(--line); border-radius: var(--radius-sm); color: var(--ink-soft);
}

/* ── Buttons ───────────────────────────────────────────────────────────── */
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.btn {
  appearance: none; border: 0; cursor: pointer; text-decoration: none;
  font-family: var(--font-body); font-weight: 600; font-size: .98rem;
  padding: 13px 22px; border-radius: 10px; transition: background .15s, transform .1s, box-shadow .15s, border-color .15s;
  display: inline-flex; align-items: center; justify-content: center; line-height: 1;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 1px 0 var(--accent-deep), 0 8px 20px rgba(28,107,71,.22); }
.btn-primary:hover { background: var(--accent-deep); }
.btn-primary:disabled { background: var(--line-strong); color: #fff; box-shadow: none; cursor: not-allowed; }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line-strong); }
.btn-ghost:hover { background: var(--card-2); border-color: var(--ink-soft); }
.btn.is-busy { opacity: .7; pointer-events: none; }

.error-msg {
  margin: 16px 0 0; padding: 11px 14px; border-radius: var(--radius-sm);
  background: var(--low-bg); color: var(--low); font-size: .9rem; border: 1px solid color-mix(in srgb, var(--low) 30%, transparent);
}

/* ── Progress ──────────────────────────────────────────────────────────── */
.progress-track { height: 9px; background: var(--card-2); border: 1px solid var(--line); border-radius: 99px; overflow: hidden; }
.progress-bar {
  height: 100%; width: 0; border-radius: 99px;
  background: linear-gradient(90deg, var(--accent), var(--accent-bright));
  transition: width .35s ease;
}
#progress-msg { margin: 12px 0 0; }

/* ── Result: summary ───────────────────────────────────────────────────── */
.result-lead { margin: -4px 0 22px; color: var(--ink-soft); font-size: 1.08rem; max-width: 60ch; }
.result-lead .lead-num { color: var(--accent); font-family: var(--font-display); font-weight: 600; font-size: 1.4em; }

.summary-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(118px, 1fr)); gap: 12px; }
.summary-card {
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 16px; text-align: center; background: var(--card-2);
}
.summary-card .num {
  font-family: var(--font-display); font-size: 1.95rem; font-weight: 600;
  line-height: 1; letter-spacing: -.01em; color: var(--ink); font-variant-numeric: tabular-nums;
}
.summary-card .lbl { font-size: .72rem; color: var(--muted); margin-top: 8px; text-transform: uppercase; letter-spacing: .06em; }
.summary-card.high   { background: var(--high-bg);   border-color: transparent; } .summary-card.high .num   { color: var(--high); }
.summary-card.medium { background: var(--medium-bg); border-color: transparent; } .summary-card.medium .num { color: var(--medium); }
.summary-card.low    { background: var(--low-bg);    border-color: transparent; } .summary-card.low .num    { color: var(--low); }
.summary-card.none   { background: var(--none-bg);   border-color: transparent; }
.summary-card.error  { background: var(--low-bg);    border-color: transparent; } .summary-card.error .num  { color: var(--low); }

/* ── Result preview table ──────────────────────────────────────────────── */
.sample-preview { margin: 22px 0 6px; }
.sample-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.sample-head h3 { margin: 0; font-family: var(--font-display); font-size: 1.15rem; font-weight: 500; }
.sample-scroll { overflow: auto; max-height: 340px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--card); }
table.sample-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
table.sample-table thead th {
  position: sticky; top: 0; z-index: 1; background: var(--card-2); color: var(--muted);
  text-align: left; font-weight: 600; font-size: .74rem; text-transform: uppercase; letter-spacing: .05em;
  padding: 10px 13px; border-bottom: 1px solid var(--line);
}
table.sample-table td { padding: 9px 13px; border-bottom: 1px solid var(--line); color: var(--ink); vertical-align: middle; }
table.sample-table tbody tr:last-child td { border-bottom: 0; }
table.sample-table td.mono { font-family: var(--font-mono); font-size: .85rem; color: var(--ink-soft); white-space: nowrap; }
.sample-foot { margin: 10px 0 0; font-size: .82rem; }

/* Confidence badges (light) */
.conf-badge {
  display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: .76rem; font-weight: 600;
  white-space: nowrap; border: 1px solid transparent;
}
.conf-badge.high   { background: var(--high-bg);   color: var(--high);   border-color: color-mix(in srgb, var(--high) 28%, transparent); }
.conf-badge.medium { background: var(--medium-bg); color: var(--medium); border-color: color-mix(in srgb, var(--medium) 30%, transparent); }
.conf-badge.low    { background: var(--low-bg);    color: var(--low);    border-color: color-mix(in srgb, var(--low) 28%, transparent); }
.conf-badge.none   { background: var(--none-bg);   color: var(--none);   border-color: color-mix(in srgb, var(--none) 30%, transparent); }
.conf-badge.error  { background: var(--low-bg);    color: var(--low);    border-color: color-mix(in srgb, var(--low) 28%, transparent); }

/* ── Upsell add-ons ────────────────────────────────────────────────────── */
.addons { margin: 24px 0 6px; }
.addons-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 13px; }
.addons-head h3 { margin: 0; font-family: var(--font-display); font-size: 1.15rem; font-weight: 500; }
.addon-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; }
.addon {
  display: flex; gap: 11px; align-items: flex-start; padding: 13px 15px;
  border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--card-2);
  cursor: pointer; transition: border-color .12s, background .12s, box-shadow .12s;
}
.addon:hover { border-color: var(--line-strong); }
.addon:has(.addon-check:checked) { border-color: var(--accent); background: var(--accent-soft); box-shadow: inset 0 0 0 1px var(--accent); }
.addon-check { margin-top: 2px; width: 16px; height: 16px; accent-color: var(--accent); flex: none; }
.addon-body { display: flex; flex-direction: column; gap: 3px; }
.addon-label { font-weight: 600; color: var(--ink); }
.addon-cols { font-size: .8rem; line-height: 1.35; }

/* ── Pricing breakdown ─────────────────────────────────────────────────── */
.pricing { margin-top: 24px; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; background: var(--card-2); }
.price-lines { display: grid; gap: 8px; font-size: .94rem; color: var(--ink-soft); }
.price-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.price-row > span:last-child { font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--ink); }
.price-row.subtotal { padding-top: 10px; border-top: 1px solid var(--line); }
.price-row.total {
  padding-top: 12px; margin-top: 4px; border-top: 1px solid var(--line-strong);
  font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; color: var(--ink);
}
.price-row.total > span:last-child { color: var(--ink); }
.price-free { font-size: .98rem; color: var(--ink-soft); line-height: 1.5; }
.price-free strong { color: var(--accent); }
.roi { margin: 16px 0 12px; font-size: .9rem; color: var(--muted); }
.tiers-foot { margin: 12px 0 0; font-size: .8rem; color: var(--muted); }
.payment-note { margin: 16px 0 0; font-size: .84rem; color: var(--muted); line-height: 1.5; }

/* ── SEO / marketing content (landing) ─────────────────────────────────── */
.seo { max-width: 880px; margin: 6px auto 0; }
.seo-block { padding: 32px 0; border-top: 1px solid var(--line); }
.seo-block h2 { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.45rem, 3vw, 1.95rem); letter-spacing: -.01em; margin: 0 0 14px; color: var(--ink); line-height: 1.15; }
.seo-block > p { color: var(--ink-soft); margin: 0 0 10px; max-width: 66ch; font-size: 1rem; }

.use-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(238px, 1fr)); gap: 16px; margin-top: 4px; }
.use-grid article { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--card); padding: 18px; box-shadow: var(--shadow-sm); }
.use-grid h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.12rem; margin: 0 0 7px; color: var(--ink); }
.use-grid p { font-size: .92rem; margin: 0 0 10px; color: var(--ink-soft); }
.use-grid a { font-weight: 600; font-size: .9rem; text-decoration: none; color: var(--accent); }
.use-grid a:hover { text-decoration: underline; }
.seo-compare-link { margin: 18px 0 0; font-size: .95rem; color: var(--ink-soft); }
.seo-compare-link a { color: var(--accent); font-weight: 600; text-decoration: none; }
.seo-compare-link a:hover { text-decoration: underline; }

.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 14px 32px 14px 0; font-weight: 600; color: var(--ink); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-size: 1.3rem; line-height: 1; color: var(--accent); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 16px; color: var(--ink-soft); max-width: 66ch; }

/* ── Footer ────────────────────────────────────────────────────────────── */
.site-footer { border-top: 1px solid var(--line); padding: 26px 0 40px; margin-top: 14px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 0 0 16px; padding: 0 0 16px; border-bottom: 1px solid var(--line); }
.footer-nav a { color: var(--ink-soft); text-decoration: none; font-size: .9rem; }
.footer-nav a:hover { color: var(--accent); }
.site-footer p { margin: 0 0 6px; font-size: .9rem; color: var(--ink-soft); }
.site-footer .muted { color: var(--muted); }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001s !important; animation-delay: 0s !important; }
  .spinner { animation-duration: 1.6s !important; }
}
