/* ──────────────────────────────────────────────────────────────
   SISAP. — landing page
   Design system lifted from the real Arxia app (globals.css):
   "spacious console" — warm white, mono labels, indigo accent,
   the urgency semaphore as recurring motif.
   ────────────────────────────────────────────────────────────── */

:root {
  --bg: #fafaf9;
  --bg-2: #f3f3f1;
  --bg-3: #eeedea;
  --card: #ffffff;

  --ink: #191920;
  --ink-2: #54545c;
  /* text secundar: minim 4.5:1 pe alb și pe --bg-2 (WCAG 1.4.3) */
  --muted: #6b6b73;
  --faint: #6e6e78;
  --line: #eceae8;
  --line-2: #e1e0dc;

  /* accent — overridable by Tweaks (accent variants) */
  --accent: #6354e6;
  --accent-2: #5a46e0;
  --accent-soft: #edeafd;
  --accent-tint: #d8d0fb;
  --grad-a: #8b7cff;
  --grad-b: #6354e6;

  /* urgency semaphore */
  --ok: #15803d;       --ok-soft: #e9f8ee;   --ok-line: #c9ead3;
  --warn: #96590b;     --warn-soft: #fbf1de;  --warn-line: #ecdab0;
  --danger: #c23434;   --danger-soft: #fbecec; --danger-line: #eecac6;
  --past: #adadb4;     --past-soft: #f1f0ee;  --past-line: #e1e0dc;
  --info: #2563eb;     --info-soft: #eaf1fe;

  --radius: 10px;
  --radius-lg: 16px;
  --radius-xl: 22px;
  --shadow-sm: 0 1px 2px rgba(20,20,20,.04);
  --shadow: 0 1px 2px rgba(20,20,20,.04), 0 8px 26px rgba(20,20,20,.06);
  --shadow-lg: 0 2px 4px rgba(20,20,20,.04), 0 22px 60px rgba(30,24,70,.12);

  --maxw: 1180px;

  --font-sans: "Hanken Grotesk", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
}

[data-theme="dark"] {
  --bg: #0e0e11;
  --bg-2: #16161a;
  --bg-3: #1c1c22;
  --card: #161619;

  --ink: #ededf0;
  --ink-2: #aeaeb8;
  --muted: #82828c;
  --faint: #56565f;
  --line: #26262c;
  --line-2: #34343c;

  --accent-soft: #221d3a;
  --accent-tint: #3a2f5e;

  --ok: #34d399; --ok-soft: #15241d; --ok-line: #1d3b2c;
  --warn: #e0a44a; --warn-soft: #2a2113; --warn-line: #43331a;
  --danger: #f0726b; --danger-soft: #2c1718; --danger-line: #45211f;
  --past: #56565f; --past-soft: #1c1c22; --past-line: #2c2c34;
  --info: #6ea8fe; --info-soft: #141f33;

  --shadow-sm: 0 1px 2px rgba(0,0,0,.4);
  --shadow: 0 1px 2px rgba(0,0,0,.4), 0 8px 26px rgba(0,0,0,.5);
  --shadow-lg: 0 2px 4px rgba(0,0,0,.5), 0 22px 60px rgba(0,0,0,.6);
}

stop.gs-a { stop-color: var(--grad-a); }
stop.gs-b { stop-color: var(--grad-b); }

* { box-sizing: border-box; margin: 0; padding: 0; border-color: var(--line); }
html { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.5;
}
img, svg { display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* skip-link: vizibil doar la focus (WCAG 2.4.1) */
.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 100;
  padding: 11px 18px; border-radius: 10px;
  background: var(--accent); color: #fff; font-weight: 600; font-size: 14px;
  transform: translateY(calc(-100% - 16px));
}
.skip-link:focus-visible { transform: none; }

/* ── Type primitives ── */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-2);
}
[data-theme="dark"] .eyebrow { color: #a394fb; }
.eyebrow.muted { color: var(--muted); }
h1, h2, h3 { letter-spacing: -0.025em; font-weight: 700; line-height: 1.08; text-wrap: balance; }
p { text-wrap: pretty; }
.lead { font-size: 19px; line-height: 1.55; color: var(--ink-2); }

/* ── Layout ── */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
section { position: relative; }
.band-alt { background: var(--bg-2); }
.sec-pad { padding: 96px 0; }
.sec-head { max-width: 680px; }
.sec-head h2 { font-size: clamp(28px, 4vw, 40px); margin: 14px 0 0; }
.sec-head p { margin-top: 16px; font-size: 17px; color: var(--ink-2); }
.center { text-align: center; margin-left: auto; margin-right: auto; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 22px; border-radius: 11px; font-size: 15px; font-weight: 600;
  border: 1px solid transparent; transition: all .14s ease; line-height: 1; white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 2px 10px color-mix(in oklab, var(--accent) 32%, transparent); }
.btn-primary:hover { background: var(--accent-2); transform: translateY(-1px); box-shadow: 0 6px 18px color-mix(in oklab, var(--accent) 38%, transparent); }
.btn-ghost { background: var(--card); color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { background: var(--bg-2); border-color: var(--muted); }
.btn-lg { padding: 15px 26px; font-size: 16px; }
.btn-block { width: 100%; }

/* ── Nav ── */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in oklab, var(--bg) 82%, transparent);
  backdrop-filter: blur(12px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, background .2s;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav-inner { display: flex; align-items: center; gap: 20px; height: 68px; }
.brand { display: flex; align-items: center; gap: 11px; }
.brand > span { display: inline-flex; flex-direction: column; line-height: 1.15; }
.brand .mark { width: 36px; height: 36px; flex-shrink: 0; border-radius: 9px; box-shadow: 0 2px 8px color-mix(in oklab, var(--accent) 34%, transparent); }
.brand .word { font-weight: 700; font-size: 19px; letter-spacing: -0.03em; }
.brand .by { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); margin-top: 2px; white-space: nowrap; }
.nav-links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-links a { padding: 8px 11px; border-radius: 8px; font-size: 14.5px; color: var(--ink-2); font-weight: 500; transition: background .12s, color .12s; white-space: nowrap; }
.nav-links a:hover { background: var(--bg-2); color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 10px; margin-left: 8px; }
.nav-burger { display: none; }

/* ── Language switcher ── */
.lang-switch { display: inline-flex; gap: 2px; padding: 3px; border: 1px solid var(--line-2); border-radius: 9px; background: var(--card); flex-shrink: 0; }
.lang-switch button { font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: .04em; padding: 5px 9px; border: none; background: none; color: var(--muted); border-radius: 6px; transition: background .12s, color .12s; }
.lang-switch button.active { background: var(--accent-soft); color: var(--accent-2); }
.lang-switch button:hover:not(.active) { color: var(--ink); }
[data-theme="dark"] .lang-switch button.active { color: #a394fb; }
.msheet-lang { align-self: flex-start; margin-top: 22px; }
.msheet-lang button { font-size: 14px; padding: 8px 16px; }

/* ── Chips / pills ── */
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12.5px; font-weight: 500; padding: 5px 11px; border-radius: 8px;
  background: var(--bg-2); color: var(--ink-2); border: 1px solid var(--line);
  white-space: nowrap;
}
.chip .dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.chip-mono { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.04em; text-transform: uppercase; }
.chip-danger { background: var(--danger-soft); color: var(--danger); border-color: var(--danger-line); }
.chip-warn { background: var(--warn-soft); color: var(--warn); border-color: var(--warn-line); }
.chip-ok { background: var(--ok-soft); color: var(--ok); border-color: var(--ok-line); }
.chip-accent { background: var(--accent-soft); color: var(--accent-2); border-color: var(--accent-tint); }
[data-theme="dark"] .chip-accent { color: #a394fb; }
.dot-danger { background: var(--danger); } .dot-warn { background: var(--warn); }
.dot-ok { background: var(--ok); } .dot-past { background: var(--past); }

.glosskey {
  background: none; border: none; padding: 0; font: inherit; color: inherit;
  border-bottom: 1px dotted var(--faint); border-radius: 0; cursor: help;
}
.gloss-def { display: block; margin: 6px 0 2px; font-size: 12.5px; color: var(--muted); }
.gloss-def[hidden] { display: none; }

/* ── Generic cards ── */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); }

/* ── Mockup primitives (shared by hero + sections) ── */
.mk {
  background: var(--card); border: 1px solid var(--line-2); border-radius: 14px;
  box-shadow: var(--shadow); overflow: hidden;
}
.mk-bar { display: flex; align-items: center; gap: 8px; padding: 11px 14px; border-bottom: 1px solid var(--line); background: var(--bg); }
.mk-dots { display: flex; gap: 6px; }
.mk-dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); }
.mk-title { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.mk-body { padding: 16px; }

/* calendar mockup */
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.cal-month { font-weight: 700; font-size: 15px; letter-spacing: -0.01em; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
.cal-grid .wd { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--faint); text-align: center; padding-bottom: 2px; }
.cal-cell { aspect-ratio: 1; border-radius: 8px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: 12px; color: var(--ink-2); position: relative; background: var(--bg); border: 1px solid transparent; }
.cal-cell.muted { color: var(--faint); background: transparent; }
.cal-cell .cd { font-weight: 500; font-variant-numeric: tabular-nums; }
.cal-cell .mark { width: 6px; height: 6px; border-radius: 50%; }
.cal-cell.today { border-color: var(--accent); color: var(--accent-2); font-weight: 700; }
.cal-cell.deadline-danger { background: var(--danger-soft); border-color: var(--danger-line); color: var(--danger); font-weight: 700; }
.cal-cell.deadline-warn { background: var(--warn-soft); border-color: var(--warn-line); color: var(--warn); font-weight: 700; }
.cal-cell.deadline-ok { background: var(--ok-soft); border-color: var(--ok-line); color: var(--ok); font-weight: 700; }

/* gantt mockup */
.gantt { display: flex; flex-direction: column; gap: 9px; }
.gantt-axis { display: grid; grid-template-columns: 110px 1fr; align-items: center; gap: 10px; }
.gantt-axis .sp { }
.gantt-months { display: grid; grid-template-columns: repeat(4, 1fr); }
.gantt-months span { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--faint); text-align: left; border-left: 1px solid var(--line); padding-left: 6px; }
.gantt-row { display: grid; grid-template-columns: 110px 1fr; align-items: center; gap: 10px; }
.gantt-label { font-size: 11.5px; color: var(--ink-2); font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gantt-track { position: relative; height: 22px; border-radius: 7px; background: var(--bg); border: 1px solid var(--line); overflow: hidden; }
.gantt-bar { position: absolute; top: 3px; bottom: 3px; border-radius: 5px; display: flex; align-items: center; padding: 0 7px; }
.gantt-bar span { font-family: var(--font-mono); font-size: 9px; color: #fff; opacity: .92; white-space: nowrap; }
.bar-danger { background: var(--danger); }
.bar-warn { background: var(--warn); }
.bar-ok { background: var(--ok); }
.bar-past { background: var(--past); }
.gantt-today { position: absolute; top: -4px; bottom: -4px; width: 2px; background: var(--accent); z-index: 2; }
.gantt-today::after { content: "AZI"; position: absolute; top: -14px; left: 50%; transform: translateX(-50%); font-family: var(--font-mono); font-size: 8px; letter-spacing: .08em; color: var(--accent-2); background: var(--card); padding: 0 3px; }
html[lang="en"] .gantt-today::after { content: "TODAY"; }

/* checklist mockup */
.chk { display: flex; flex-direction: column; gap: 2px; }
.chk-item { display: flex; align-items: center; gap: 11px; padding: 10px 8px; border-radius: 9px; }
.chk-item + .chk-item { border-top: 1px solid var(--line); }
.chk-box { width: 20px; height: 20px; border-radius: 6px; flex-shrink: 0; display: grid; place-items: center; border: 1.5px solid var(--line-2); color: #fff; }
.chk-box svg { width: 12px; height: 12px; }
.chk-box.done { background: var(--ok); border-color: var(--ok); }
.chk-box.partial { background: var(--warn); border-color: var(--warn); }
.chk-box.todo { background: transparent; }
.chk-main { flex: 1; min-width: 0; }
.chk-t { font-size: 13.5px; font-weight: 500; }
.chk-s { font-size: 11px; color: var(--muted); margin-top: 1px; }

/* ── Hero ── */
.hero { padding: 64px 0 60px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: 56px; align-items: center; }
.hero-eyebrow { margin: 0; font-size: 15.5px; line-height: 1.6; color: var(--muted); max-width: 560px; }
.hero h1 { font-size: clamp(30px, 4.2vw, 44px); margin: 18px 0 0; }
.hero h1 .grad { background: linear-gradient(100deg, var(--grad-a), var(--grad-b)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { margin-top: 22px; font-size: 19px; line-height: 1.55; color: var(--ink-2); max-width: 540px; }
.hero-cta { display: flex; align-items: center; gap: 13px; margin-top: 32px; flex-wrap: wrap; }
.hero-trust { margin-top: 18px; display: flex; align-items: center; gap: 9px; font-size: 13.5px; color: var(--muted); }
.hero-trust svg { width: 15px; height: 15px; color: var(--ok); }

/* hero cluster */
.cluster { position: relative; }
.cluster .mk-main { position: relative; z-index: 2; }
.cluster .mk-float { position: absolute; z-index: 3; width: 248px; box-shadow: var(--shadow-lg); }
.cluster .mk-float.fl-timeline { right: -38px; bottom: -54px; }
.cluster .mk-float.fl-check { left: -56px; top: 88px; width: 206px; }
.cluster-glow { position: absolute; inset: -10% -6%; background: radial-gradient(60% 55% at 60% 40%, color-mix(in oklab, var(--accent) 24%, transparent), transparent 70%); filter: blur(20px); z-index: 0; }

/* deadline header chip card inside main mockup */
.proc-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 15px 16px; border-bottom: 1px solid var(--line); }
.proc-head .pt { font-size: 14px; font-weight: 600; letter-spacing: -0.01em; }
.proc-head .pm { font-family: var(--font-mono); font-size: 10px; color: var(--muted); margin-top: 3px; letter-spacing: .03em; }
.deadline-chip { display: inline-flex; flex-direction: column; align-items: flex-end; gap: 3px; }
.deadline-chip .big { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 13px; padding: 5px 10px; border-radius: 8px; }
.deadline-chip .sm { font-family: var(--font-mono); font-size: 9px; color: var(--faint); letter-spacing: .04em; }

/* semaphore legend */
.sem-legend { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 14px; }

/* ── Trust strip (logos / stats) ── */
.proofstrip { display: flex; align-items: center; justify-content: center; gap: 14px 40px; flex-wrap: wrap; padding: 26px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.proof-item { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--ink-2); }
.proof-item svg { width: 17px; height: 17px; color: var(--accent); }
.proof-item .em { font-weight: 700; color: var(--ink); }

/* ── Problem ── */
.prob-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
.prob-card { padding: 26px 24px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--card); }
.prob-card .ic { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; background: var(--danger-soft); color: var(--danger); margin-bottom: 16px; }
.prob-card .ic svg { width: 21px; height: 21px; }
.prob-card h3 { font-size: 17px; }
.prob-card p { margin-top: 8px; font-size: 14.5px; color: var(--ink-2); }

/* ── Pillars (solution) ── */
.pillars { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 48px; }
.pillar { display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding: 28px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--card); transition: border-color .14s, box-shadow .14s, transform .14s; }
.pillar:hover { border-color: var(--line-2); box-shadow: var(--shadow); transform: translateY(-2px); }
.pillar .ic { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.pillar .ic svg { width: 26px; height: 26px; }
.pillar h3 { font-size: 19px; }
.pillar p { margin-top: 9px; font-size: 14.5px; color: var(--ink-2); }
.pillar .law { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 7px; }

/* ── Feature tour grid ── */
.feat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 48px; }
.feat { padding: 22px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--card); transition: border-color .14s, box-shadow .14s; }
.feat:hover { border-color: var(--line-2); box-shadow: var(--shadow-sm); }
.feat .ic { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--bg-2); color: var(--accent); margin-bottom: 14px; }
.feat .ic svg { width: 19px; height: 19px; }
.feat h3 { font-size: 15px; }
.feat p { margin-top: 6px; font-size: 13px; color: var(--muted); line-height: 1.5; }

/* ── How it works ── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 48px; position: relative; }
.step { padding: 30px 26px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--card); position: relative; }
.step .num { font-family: var(--font-mono); font-size: 13px; font-weight: 600; width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: var(--accent); color: #fff; margin-bottom: 18px; }
.step h3 { font-size: 18px; }
.step p { margin-top: 9px; font-size: 14.5px; color: var(--ink-2); }
.step .scr { margin-top: 18px; }

/* ── Pricing ── */
.price-wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: 28px; margin-top: 48px; align-items: stretch; }
.price-card { border: 1px solid var(--line-2); border-radius: var(--radius-xl); background: var(--card); padding: 36px; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.price-card.feature { border-color: var(--accent); box-shadow: var(--shadow-lg); }
.price-card.feature::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, var(--grad-a), var(--grad-b)); }
.price-name { display: flex; align-items: center; gap: 10px; }
.price-name .word { font-weight: 700; font-size: 20px; letter-spacing: -0.02em; white-space: nowrap; }
.price-amt { display: flex; align-items: baseline; gap: 8px; margin: 24px 0 10px; flex-wrap: nowrap; }
.price-amt .n { font-size: 52px; font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.price-amt .per { font-size: 15px; color: var(--muted); white-space: nowrap; flex-shrink: 0; align-self: flex-end; padding-bottom: 7px; }
.price-note { font-size: 13.5px; color: var(--muted); }
.price-feats { list-style: none; margin: 24px 0; display: flex; flex-direction: column; gap: 12px; }
.price-feats li { display: flex; align-items: flex-start; gap: 11px; font-size: 14.5px; color: var(--ink-2); }
.price-feats li svg { width: 18px; height: 18px; color: var(--ok); flex-shrink: 0; margin-top: 1px; }
.price-meta { display: flex; flex-direction: column; gap: 14px; }
.price-meta .row { display: flex; align-items: center; gap: 13px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); }
.price-meta .row .ic { width: 36px; height: 36px; border-radius: 9px; display: grid; place-items: center; background: var(--card); border: 1px solid var(--line); color: var(--accent); flex-shrink: 0; }
.price-meta .row .ic svg { width: 18px; height: 18px; }
.price-meta .row h4 { font-size: 14.5px; font-weight: 600; }
.price-meta .row p { font-size: 12.5px; color: var(--muted); margin-top: 2px; }

/* ── Trust / legality band ── */
.legal-band { background: var(--bg-3); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
[data-theme="dark"] .legal-band { background: var(--bg-2); }
.legal-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; align-items: center; }
.legal-lead h2 { font-size: 24px; }
.legal-lead p { margin-top: 12px; font-size: 14.5px; color: var(--ink-2); }
.legal-lead .src { display: inline-flex; align-items: center; gap: 7px; margin-top: 14px; font-size: 13px; color: var(--accent-2); font-weight: 500; }
[data-theme="dark"] .legal-lead .src { color: #a394fb; }
.legal-point { display: flex; gap: 13px; align-items: flex-start; }
.legal-point .ic { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: var(--card); border: 1px solid var(--line); color: var(--accent); flex-shrink: 0; }
.legal-point .ic svg { width: 20px; height: 20px; }
.legal-point h4 { font-size: 15px; }
.legal-point p { margin-top: 4px; font-size: 13px; color: var(--muted); }

/* ── FAQ ── */
.faq { max-width: 820px; margin: 44px auto 0; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 4px; background: none; border: none; text-align: left; font-size: 17px; font-weight: 600; color: var(--ink); letter-spacing: -0.01em; }
.faq-q .pm { width: 22px; height: 22px; flex-shrink: 0; position: relative; }
.faq-q .pm::before, .faq-q .pm::after { content: ""; position: absolute; background: var(--accent); border-radius: 2px; transition: transform .2s; }
.faq-q .pm::before { top: 50%; left: 3px; right: 3px; height: 2px; transform: translateY(-50%); }
.faq-q .pm::after { left: 50%; top: 3px; bottom: 3px; width: 2px; transform: translateX(-50%); }
.faq-item.open .faq-q .pm::after { transform: translateX(-50%) scaleY(0); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .26s ease; }
.faq-a-inner { padding: 0 4px 24px; font-size: 15px; color: var(--ink-2); line-height: 1.6; max-width: 640px; }

/* ── Final CTA ── */
.final { padding: 96px 0; }
.final-card { position: relative; overflow: hidden; border-radius: var(--radius-xl); padding: 64px; text-align: center; background: linear-gradient(150deg, var(--accent-2) 0%, #3f2fb8 100%); color: #fff; box-shadow: var(--shadow-lg); }
.final-card h2 { font-size: clamp(30px, 4vw, 44px); color: #fff; }
.final-card p { margin: 16px auto 0; font-size: 18px; color: rgba(255,255,255,.86); max-width: 540px; }
.final-card .hero-cta { justify-content: center; margin-top: 30px; }
.final-card .btn-primary { background: #fff; color: var(--accent-2); box-shadow: 0 4px 16px rgba(0,0,0,.18); }
.final-card .btn-primary:hover { background: #f4f2ff; }
.final-card .btn-ghost { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.35); }
.final-card .btn-ghost:hover { background: rgba(255,255,255,.18); }
.final-card .ft { margin-top: 18px; font-size: 13.5px; color: rgba(255,255,255,.72); }
.final-bars { position: absolute; inset: 0; opacity: .1; pointer-events: none; }

/* ── Footer ── */
.footer { background: var(--bg-2); border-top: 1px solid var(--line); padding: 56px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.footer .brand .word { font-size: 18px; }
.footer-blurb { margin-top: 16px; font-size: 13.5px; color: var(--muted); max-width: 280px; line-height: 1.6; }
.footer-col h5 { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); margin-bottom: 14px; }
.footer-col a { display: block; font-size: 14px; color: var(--ink-2); padding: 6px 0; transition: color .12s; }
.footer-col a:hover { color: var(--accent-2); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); flex-wrap: wrap; }
.footer-bottom .disc { max-width: 620px; }

/* ── Reveal animations ── */
@keyframes rise { from { transform: translateY(16px); } to { transform: none; } }
/* Base state is VISIBLE — animation is pure enhancement added via .in.
   Guarantees content is never stuck hidden if JS is slow/fails to load. */
.reveal { opacity: 1; }
.reveal.in { animation: rise .6s cubic-bezier(.2,.7,.2,1) both; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; animation: none; } }

/* ── Responsive ── */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .cluster { max-width: 520px; margin: 0 auto; }
  .pillars { grid-template-columns: 1fr; }
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .price-wrap { grid-template-columns: 1fr; }
  .legal-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-burger { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 9px; border: 1px solid var(--line-2); background: var(--card); color: var(--ink); margin-left: auto; }
  .nav-cta .btn-ghost { display: none; }
}
@media (max-width: 720px) {
  .sec-pad { padding: 68px 0; }
  .prob-grid { grid-template-columns: 1fr; gap: 14px; }
  .steps { grid-template-columns: 1fr; }
  .final-card { padding: 44px 26px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .cluster .mk-float.fl-check { left: -12px; top: -22px; width: 190px; }
  .cluster .mk-float.fl-timeline { right: -10px; bottom: -24px; width: 210px; }
}
@media (max-width: 520px) {
  .wrap { padding: 0 18px; }
  .feat-grid { grid-template-columns: 1fr; }
  .hero-cta .btn { flex: 1; }
  .cluster .mk-float { display: none; }
}
@media (max-width: 620px) {
  .nav-inner > .lang-switch { display: none; }
}

/* ── Tweak-driven variants ── */
[data-hero="minimal"] .cluster .mk-float { display: none; }
[data-hero="minimal"] .cluster { max-width: 460px; margin-left: auto; }
[data-hero="minimal"] .cluster-glow { inset: -4% -2%; }
[data-density="airy"] .sec-pad { padding: 120px 0; }
[data-density="cozy"] .sec-pad { padding: 76px 0; }
@media (max-width: 720px) {
  [data-density="airy"] .sec-pad { padding: 76px 0; }
  [data-density="cozy"] .sec-pad { padding: 56px 0; }
}

/* mobile menu sheet */
.msheet { position: fixed; inset: 0; z-index: 60; background: color-mix(in oklab, var(--bg) 96%, transparent); backdrop-filter: blur(8px); display: none; visibility: hidden; flex-direction: column; padding: 20px; }
.msheet.open { display: flex; visibility: visible; }
.msheet-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.msheet a { font-size: 20px; font-weight: 600; padding: 16px 4px; border-bottom: 1px solid var(--line); color: var(--ink); }
.msheet .btn { margin-top: 24px; }
.msheet-x { width: 40px; height: 40px; border-radius: 9px; border: 1px solid var(--line-2); background: var(--card); display: grid; place-items: center; color: var(--ink); }
