/* ===========================================================
   raaf. — warm dark SaaS landing
   Design tokens + full page styles
   =========================================================== */

:root {
  /* Accent (copper) — overridable via Tweaks */
  --accent: #b45309;
  --accent-hi: #d97706;
  --accent-soft: color-mix(in srgb, var(--accent) 15%, transparent);
  --accent-line: color-mix(in srgb, var(--accent-hi) 45%, transparent);

  /* Status */
  --pos: #5fb98a;
  --neg: #e0613f;
}

/* ---- DARK (signature, default) ---- */
html[data-theme="dark"] {
  --bg: #15100b;
  --bg-grad: #1c150e;
  --surface: #211911;
  --surface-2: #2a2017;
  --surface-3: #322619;
  --border: rgba(245, 232, 214, 0.09);
  --border-strong: rgba(245, 232, 214, 0.16);
  --text: #f5ece0;
  --text-2: #c4b4a1;
  --text-3: #8d7c69;
  --shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.8);
  --glow: 0 0 0 1px var(--accent-soft), 0 24px 60px -24px rgba(180, 83, 9, 0.35);
}

/* ---- LIGHT ---- */
html[data-theme="light"] {
  --bg: #f4ede3;
  --bg-grad: #fbf6ee;
  --surface: #ffffff;
  --surface-2: #fbf5ec;
  --surface-3: #f3eae0;
  --border: rgba(60, 40, 20, 0.1);
  --border-strong: rgba(60, 40, 20, 0.18);
  --text: #231a11;
  --text-2: #5f5240;
  --text-3: #92846f;
  --shadow: 0 30px 80px -36px rgba(70, 45, 15, 0.28);
  --glow: 0 0 0 1px var(--accent-soft), 0 24px 60px -28px rgba(180, 83, 9, 0.25);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "DM Sans", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* warm radial glow on the page background */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(1100px 620px at 78% -8%, var(--accent-soft), transparent 60%),
    radial-gradient(900px 600px at 5% 8%, rgba(217, 119, 6, 0.06), transparent 55%),
    linear-gradient(180deg, var(--bg-grad), var(--bg) 38%);
}

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 32px; position: relative; z-index: 1; }

a { color: inherit; text-decoration: none; }

::selection { background: var(--accent); color: #fff; }

/* ---------------- Typography ---------------- */
h1, h2, h3 { line-height: 1.05; letter-spacing: -0.025em; font-weight: 600; }
.eyebrow {
  font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent-hi); display: inline-flex; align-items: center; gap: 9px;
}
.eyebrow::before { content: ""; width: 22px; height: 1.5px; background: var(--accent); display: inline-block; }
.lede { color: var(--text-2); font-size: 19px; line-height: 1.6; }

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font: inherit; font-weight: 600; font-size: 15px; cursor: pointer;
  border-radius: 999px; padding: 13px 22px; border: 1px solid transparent;
  transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.btn-primary {
  background: var(--accent); color: #fff;
  box-shadow: 0 12px 30px -12px rgba(180, 83, 9, 0.7), inset 0 1px 0 rgba(255,255,255,0.18);
}
.btn-primary:hover { background: var(--accent-hi); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border-strong); }
.btn-ghost:hover { border-color: var(--accent); color: var(--text); transform: translateY(-2px); }
.btn svg { width: 16px; height: 16px; }

/* ---------------- Nav ---------------- */
header.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
header.nav.scrolled { border-bottom-color: var(--border); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { font-size: 25px; font-weight: 700; letter-spacing: -0.04em; color: var(--text); }
.logo .dot { color: var(--accent-hi); }
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a.navlink { font-size: 15px; color: var(--text-2); transition: color .15s; }
.nav-links a.navlink:hover { color: var(--text); }
.nav-cta { display: flex; align-items: center; gap: 14px; }

/* ---------------- Hero ---------------- */
.hero { padding: 92px 0 40px; }
.hero-grid { display: grid; grid-template-columns: 1.04fr 1fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(40px, 5.4vw, 68px); margin: 22px 0 0; max-width: 13ch; }
.hero h1 .accent { color: var(--accent-hi); }
.hero .lede { margin: 24px 0 34px; max-width: 46ch; }
.hero-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.hero-note { margin-top: 22px; font-size: 14px; color: var(--text-3); display: flex; align-items: center; gap: 8px; }
.hero-note .live { width: 8px; height: 8px; border-radius: 50%; background: var(--pos); box-shadow: 0 0 0 0 var(--pos); animation: pulse 2.4s infinite; }

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(95,185,138,0.55); }
  70% { box-shadow: 0 0 0 9px rgba(95,185,138,0); }
  100% { box-shadow: 0 0 0 0 rgba(95,185,138,0); }
}

/* hero device */
.hero-device {
  position: relative;
  transform: perspective(1600px) rotateY(-13deg) rotateX(4deg);
  transform-style: preserve-3d;
}

/* ---------------- App window (dashboard mockup) ---------------- */
.appwin {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.appwin-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px; border-bottom: 1px solid var(--border);
  background: var(--surface-2);
}
.appwin-bar .dots { display: flex; gap: 6px; }
.appwin-bar .dots i { width: 11px; height: 11px; border-radius: 50%; background: var(--border-strong); display: block; }
.appwin-bar .addr {
  margin-left: 10px; font-size: 12px; color: var(--text-3);
  background: var(--bg); border: 1px solid var(--border); border-radius: 7px;
  padding: 5px 12px; display: inline-flex; align-items: center; gap: 7px;
}

/* the dashboard itself */
.dash { display: flex; background: var(--surface); }
.dash-rail {
  width: 52px; flex: 0 0 52px; border-right: 1px solid var(--border);
  display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 16px 0;
  background: var(--surface-2);
}
.dash-rail .r-logo { font-weight: 700; color: var(--accent-hi); font-size: 18px; margin-bottom: 8px; }
.dash-rail .r-ico {
  width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center;
  color: var(--text-3); transition: .15s;
}
.dash-rail .r-ico svg { width: 18px; height: 18px; }
.dash-rail .r-ico.active { background: var(--accent-soft); color: var(--accent-hi); }

.dash-main { flex: 1; padding: 18px 20px 20px; min-width: 0; }
.dash-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.dash-head .venue { font-size: 15.5px; font-weight: 600; letter-spacing: -0.01em; white-space: nowrap; }
.dash-head .venue span { color: var(--text-3); font-weight: 400; }
.dash-head .meta { display: flex; align-items: center; gap: 14px; font-size: 12.5px; color: var(--text-3); white-space: nowrap; }
.live-chip { display: inline-flex; align-items: center; gap: 7px; color: var(--pos); font-weight: 600; }
.live-chip i { width: 7px; height: 7px; border-radius: 50%; background: var(--pos); animation: pulse 2.4s infinite; }

.dash-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 12px; }
.card {
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: 12px; padding: 15px 16px;
}
.card .c-label { font-size: 12px; color: var(--text-3); font-weight: 500; letter-spacing: 0.01em; display: flex; align-items: center; justify-content: space-between; }
.card .c-label .tag {
  font-size: 10.5px; font-weight: 600; padding: 2px 8px; border-radius: 999px;
  background: var(--accent-soft); color: var(--accent-hi); letter-spacing: 0.04em;
}
.kpi-big { display: flex; align-items: baseline; gap: 12px; margin-top: 10px; }
.kpi-big .num { font-size: 40px; font-weight: 700; letter-spacing: -0.03em; }
.kpi-big .status {
  font-size: 12.5px; font-weight: 600; color: var(--pos); white-space: nowrap;
  background: rgba(95,185,138,0.13); padding: 4px 10px; border-radius: 999px;
}
.gauge { margin-top: 14px; }
.gauge .track { height: 9px; border-radius: 999px; background: var(--surface-3); position: relative; overflow: hidden; }
.gauge .fill { position: absolute; inset: 0 auto 0 0; border-radius: 999px; background: linear-gradient(90deg, var(--accent), var(--accent-hi)); }
.gauge .target { position: absolute; top: -3px; bottom: -3px; width: 2px; background: var(--text-2); border-radius: 2px; }
.gauge .target::after { content: "target 30%"; position: absolute; top: -16px; left: 50%; transform: translateX(-50%); font-size: 9.5px; color: var(--text-3); white-space: nowrap; }
.kpi-foot { display: flex; gap: 22px; margin-top: 16px; }
.kpi-foot .f { font-size: 11.5px; color: var(--text-3); }
.kpi-foot .f b { display: block; font-size: 16px; color: var(--text); font-weight: 600; margin-top: 2px; letter-spacing: -0.01em; }

/* mini stat card */
.mini .num { font-size: 30px; font-weight: 700; letter-spacing: -0.03em; margin-top: 8px; }
.mini .sub { font-size: 11.5px; color: var(--text-3); margin-top: 3px; }
.spark { margin-top: 10px; }

/* chart card spans */
.card.span2 { grid-column: 1 / -1; }
.chart-head { display: flex; align-items: flex-end; justify-content: space-between; }
.chart-head .big { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; margin-top: 6px; }
.legend { display: flex; gap: 16px; font-size: 11px; color: var(--text-3); }
.legend i { display: inline-block; width: 16px; height: 3px; border-radius: 2px; vertical-align: middle; margin-right: 6px; }

/* department productivity */
.dept { display: flex; flex-direction: column; gap: 12px; margin-top: 12px; }
.dept .row { display: grid; grid-template-columns: 78px 1fr 52px; align-items: center; gap: 10px; }
.dept .row .name { font-size: 12.5px; color: var(--text-2); }
.dept .row .bar { height: 7px; border-radius: 999px; background: var(--surface-3); overflow: hidden; }
.dept .row .bar i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--accent), var(--accent-hi)); }
.dept .row .val { font-size: 12.5px; font-weight: 600; text-align: right; }

.dash-foot {
  margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--border);
  font-size: 11.5px; color: var(--text-3); display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.dash-foot .src { color: var(--text-2); font-weight: 600; }

/* ===========================================================
   App preview — faithful phone recreation of the real raaf. PWA
   Uses the real app's zinc-dark palette (independent of page theme)
   so it reads as the genuine app, not the warm landing theme.
   =========================================================== */
.rphone {
  width: 300px; margin: 0 auto;
  border-radius: 42px; padding: 9px;
  background: linear-gradient(160deg, #2a2a2e, #0a0a0c 60%);
  box-shadow: 0 40px 90px -34px rgba(0,0,0,0.85), 0 0 0 1px rgba(255,255,255,0.06) inset;
  position: relative;
}
.rphone-island {
  position: absolute; top: 17px; left: 50%; transform: translateX(-50%);
  width: 86px; height: 20px; background: #000; border-radius: 999px; z-index: 3;
}
.rscreen {
  background: #09090B; border-radius: 33px; overflow: hidden;
  display: flex; flex-direction: column; color: #f1f5f9;
  font-family: "DM Sans", system-ui, sans-serif;
}

/* header */
.rhead { background: #18181B; padding: 30px 15px 13px; }
.rhead-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.rhead-id { display: flex; align-items: center; gap: 9px; min-width: 0; }
.rwm { font-weight: 800; font-size: 19px; letter-spacing: -0.05em; color: #fff; line-height: 1; }
.rwm .dot { color: #B45309; }
.rsep { width: 1px; height: 22px; background: rgba(255,255,255,0.16); }
.rvenue { font-size: 11.5px; font-weight: 700; letter-spacing: 0.04em; color: #fff; line-height: 1.15; }
.rvenue small { display: block; font-size: 8px; font-weight: 600; letter-spacing: 0.14em; color: #B45309; text-transform: uppercase; }
.rhead-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.rhelp { width: 17px; height: 17px; color: rgba(255,255,255,0.5); }
.rlive {
  display: inline-flex; align-items: center; gap: 5px;
  background: rgba(180,83,9,0.15); border: 1px solid rgba(180,83,9,0.32);
  color: #d97706; font-size: 9px; font-weight: 800; letter-spacing: 0.16em;
  padding: 3px 8px; border-radius: 999px;
}
.rlive i { width: 5px; height: 5px; border-radius: 50%; background: #d97706; animation: pulse 2.4s infinite; }
.rhead-meta { display: flex; gap: 16px; margin-top: 11px; font-size: 10px; color: rgba(255,255,255,0.6); }
.rhead-meta span { display: inline-flex; align-items: center; gap: 5px; text-transform: capitalize; }
.rhead-meta svg { width: 11px; height: 11px; }

.rbody { padding-bottom: 4px; }

/* hero prognose card */
.rhero-card {
  margin: 12px; background: #18181B; border-radius: 18px; padding: 14px;
  display: flex; align-items: center; gap: 13px;
}
.rring { position: relative; width: 86px; height: 86px; flex-shrink: 0; }
.rring-ic { position: absolute; inset: 0; display: grid; place-items: center; color: #B45309; }
.rring-ic svg { width: 23px; height: 23px; }
.rhero-txt { min-width: 0; }
.rhero-lab { font-size: 9px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.55); }
.rhero-pct { font-size: 27px; font-weight: 700; letter-spacing: -0.03em; color: #6ee7b7; line-height: 1.1; }
.rhero-sub { font-size: 10.5px; color: rgba(255,255,255,0.6); margin-top: 1px; }
.rhero-bar { margin-top: 8px; height: 5px; border-radius: 999px; background: rgba(255,255,255,0.14); overflow: hidden; }
.rhero-bar i { display: block; height: 100%; border-radius: 999px; background: #34d399; }
.rhero-tgt { font-size: 9px; color: rgba(255,255,255,0.45); margin-top: 7px; }

/* KPI grid */
.rkpis { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin: 0 12px; }
.rkpi {
  background: #1e293b; border: 1px solid rgba(148,163,184,0.16);
  border-radius: 16px; padding: 11px; display: flex; flex-direction: column; min-height: 104px;
}
.rkpi.tint-green { background: rgba(34,197,94,0.10); border-color: rgba(34,197,94,0.30); }
.rkpi-top { display: flex; align-items: flex-start; justify-content: space-between; }
.rkpi-ic { width: 30px; height: 30px; border-radius: 9px; background: #18181B; display: grid; place-items: center; }
.rkpi-ic svg { width: 17px; height: 17px; color: #B45309; }
.rpill { display: inline-flex; align-items: center; gap: 4px; font-size: 8px; font-weight: 800; letter-spacing: 0.08em; padding: 2px 6px; border-radius: 999px; text-transform: uppercase; }
.rpill.green { background: rgba(34,197,94,0.20); color: #86efac; }
.rpill.green i { width: 4px; height: 4px; border-radius: 50%; background: #4ade80; }
.rkpi-lab { font-size: 9px; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; color: #94a3b8; margin-top: 8px; }
.rkpi-val { font-size: 17px; font-weight: 700; letter-spacing: -0.02em; color: #f1f5f9; line-height: 1.15; font-variant-numeric: tabular-nums; }
.rkpi-sub { font-size: 9px; color: #64748b; display: flex; align-items: center; gap: 2px; }
.rchev { width: 9px; height: 9px; color: #B45309; }
.rspark { width: 100%; height: 16px; margin-top: auto; padding-top: 5px; }

/* uuroverzicht peek */
.ruur {
  margin: 13px 12px 0; padding-bottom: 26px;
  -webkit-mask-image: linear-gradient(180deg, #000 52%, transparent);
  mask-image: linear-gradient(180deg, #000 52%, transparent);
}
.ruur-h { font-size: 9.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #94a3b8; margin-bottom: 6px; }
.ruur-row { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr 0.8fr; gap: 4px; font-size: 9.5px; padding: 6px 2px; border-top: 1px solid rgba(148,163,184,0.12); font-variant-numeric: tabular-nums; }
.ruur-row span { color: #cbd5e1; }
.ruur-head { border-top: none; }
.ruur-head span { color: #64748b; font-weight: 600; font-size: 8.5px; text-transform: uppercase; letter-spacing: 0.04em; }
.ruur-row .c { color: #d97706; }
.ruur-row .pos { color: #34d399; }
.ruur-row .neg { color: #f87171; }

/* bottom nav */
.rnav {
  margin-top: auto; display: grid; grid-template-columns: repeat(4, 1fr);
  background: #18181B; border-top: 1px solid rgba(255,255,255,0.07);
  padding: 9px 6px 13px;
}
.rnav-i { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 8.5px; font-weight: 600; color: #71717a; }
.rnav-i svg { width: 19px; height: 19px; }
.rnav-i.active { color: #d97706; }

/* ---------------- Section scaffolding ---------------- */
section { padding: 104px 0; position: relative; z-index: 1; }
.sec-head { max-width: 60ch; }
.sec-head h2 { font-size: clamp(30px, 3.6vw, 46px); margin: 16px 0 0; }
.sec-head .lede { margin-top: 18px; }

/* feature blocks */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 52px; }
.feat {
  background: var(--surface); border: 1px solid var(--border); border-radius: 14px;
  padding: 22px; transition: transform .2s, border-color .2s;
}
.feat:hover { transform: translateY(-3px); border-color: var(--border-strong); }
.feat .ic {
  width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent-hi); margin-bottom: 16px;
}
.feat .ic svg { width: 21px; height: 21px; }
.feat h3 { font-size: 16.5px; font-weight: 600; }
.feat p { font-size: 14px; color: var(--text-2); margin-top: 8px; line-height: 1.55; }

/* integration strip */
.integrate {
  margin-top: 30px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  padding: 18px 22px; border: 1px dashed var(--border-strong); border-radius: 14px;
  background: color-mix(in srgb, var(--surface) 55%, transparent);
}
.integrate .txt { font-size: 14.5px; color: var(--text-2); }
.integrate .txt b { color: var(--text); font-weight: 600; }
.badges { display: flex; gap: 10px; margin-left: auto; flex-wrap: wrap; }
.badge {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600;
  padding: 8px 14px; border-radius: 10px; border: 1px solid var(--border-strong);
  background: var(--surface-2); color: var(--text);
}
.badge .b-dot { width: 8px; height: 8px; border-radius: 2px; }
.badge .b-sub { font-weight: 400; color: var(--text-3); font-size: 11.5px; }

/* ---------------- Modules ---------------- */
.modules { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 52px; }
.mod {
  background: var(--surface); border: 1px solid var(--border); border-radius: 18px;
  padding: 28px; display: flex; flex-direction: column; gap: 18px;
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.mod:hover { transform: translateY(-4px); border-color: var(--accent-line); box-shadow: var(--glow); }
.mod .m-top { display: flex; align-items: center; gap: 12px; }
.mod .m-kicker { font-size: 11.5px; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase; color: var(--accent-hi); }
.mod h3 { font-size: 24px; margin-top: 4px; }
.mod p { font-size: 14.5px; color: var(--text-2); line-height: 1.6; }
.mod .m-visual {
  margin-top: auto; border-radius: 12px; border: 1px solid var(--border);
  background: var(--surface-2); overflow: hidden;
}

/* leaderboard mini */
.lb { padding: 16px; }
.lb .lb-h { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.lb .lb-h .t { font-size: 13px; font-weight: 600; }
.lb .lb-h .tv { font-size: 10.5px; color: var(--text-3); display: inline-flex; align-items: center; gap: 6px; }
.lb .lb-row { display: grid; grid-template-columns: 22px 1fr auto; align-items: center; gap: 10px; padding: 9px 0; border-top: 1px solid var(--border); }
.lb .lb-row:first-of-type { border-top: none; }
.lb .rank { font-weight: 700; font-size: 13px; color: var(--text-3); }
.lb .lb-row.top .rank { color: var(--accent-hi); }
.lb .who { font-size: 13px; }
.lb .who .small { display: block; font-size: 10.5px; color: var(--text-3); }
.lb .score { font-size: 14px; font-weight: 700; letter-spacing: -0.01em; }
.lb .lb-bar { grid-column: 1 / -1; height: 5px; border-radius: 999px; background: var(--surface-3); overflow: hidden; margin-top: 2px; }
.lb .lb-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent-hi)); border-radius: 999px; }

/* pakbon phone mini */
.pak { padding: 18px; display: flex; justify-content: center; }
.phone {
  width: 220px; border-radius: 22px; border: 1px solid var(--border-strong);
  background: var(--bg); padding: 12px; box-shadow: var(--shadow);
}
.phone .p-top { display: flex; align-items: center; justify-content: space-between; font-size: 11px; color: var(--text-3); padding: 2px 4px 12px; }
.pak-row { display: flex; align-items: center; gap: 10px; padding: 9px 4px; border-top: 1px solid var(--border); font-size: 12.5px; }
.pak-row:first-of-type { border-top: none; }
.check { width: 19px; height: 19px; border-radius: 6px; border: 1.5px solid var(--border-strong); flex: none; display: grid; place-items: center; }
.check.on { background: var(--accent); border-color: var(--accent); }
.check.on svg { width: 12px; height: 12px; color: #fff; }
.check.flag { border-color: var(--neg); }
.pak-row .pname { flex: 1; }
.pak-row.flagged .pname { color: var(--neg); }
.pak-row .pqty { color: var(--text-3); font-size: 11px; }
.pak-claim {
  margin: 10px 4px 2px; font-size: 11px; color: var(--neg);
  background: rgba(224,97,63,0.1); border: 1px solid rgba(224,97,63,0.25);
  border-radius: 8px; padding: 8px 10px; display: flex; gap: 8px; align-items: center;
}

/* ghost / more modules */
.mod.ghost {
  background: transparent; border-style: dashed; align-items: center; justify-content: center;
  text-align: center; min-height: 120px; color: var(--text-3);
}
.mod.ghost:hover { transform: none; box-shadow: none; border-color: var(--border-strong); }
.mod.ghost .plus { width: 40px; height: 40px; border-radius: 12px; border: 1px dashed var(--border-strong); display: grid; place-items: center; margin-bottom: 12px; font-size: 22px; color: var(--text-3); }
.modules.has-ghost { grid-template-columns: 1fr 1fr; }
.mod-ghost-wrap { grid-column: 1 / -1; }

/* ---------------- Honest condition ---------------- */
.honest {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 22px; padding: 52px; position: relative; overflow: hidden;
}
.honest::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: linear-gradient(180deg, var(--accent), var(--accent-hi));
}
.honest-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.honest h2 { font-size: clamp(26px, 3vw, 38px); }
.honest p { color: var(--text-2); font-size: 16px; line-height: 1.65; margin-top: 18px; }
.honest .checklist { display: flex; flex-direction: column; gap: 14px; }
.honest .ck { display: flex; gap: 14px; align-items: flex-start; }
.honest .ck .ck-ic { width: 28px; height: 28px; border-radius: 8px; background: var(--accent-soft); color: var(--accent-hi); display: grid; place-items: center; flex: none; }
.honest .ck .ck-ic svg { width: 15px; height: 15px; }
.honest .ck b { font-size: 15px; font-weight: 600; }
.honest .ck span { display: block; font-size: 13.5px; color: var(--text-3); margin-top: 2px; }

/* ---------------- Why ---------------- */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 52px; }
.why {
  border-top: 2px solid var(--accent); padding-top: 24px;
}
.why .n { font-size: 13px; font-weight: 700; color: var(--accent-hi); letter-spacing: 0.05em; }
.why h3 { font-size: 21px; margin-top: 12px; }
.why p { color: var(--text-2); font-size: 15px; line-height: 1.6; margin-top: 12px; }

/* ---------------- CTA / contact ---------------- */
.closer {
  text-align: center; background:
    radial-gradient(700px 320px at 50% 0%, var(--accent-soft), transparent 70%);
  border-radius: 26px; padding: 78px 32px; border: 1px solid var(--border);
}
.closer h2 { font-size: clamp(32px, 4vw, 52px); max-width: 16ch; margin: 0 auto; }
.closer .lede { margin: 22px auto 34px; max-width: 50ch; }
.closer .actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.closer .madeby { margin-top: 26px; font-size: 13.5px; color: var(--text-3); }

footer {
  border-top: 1px solid var(--border); padding: 40px 0; margin-top: 60px;
  position: relative; z-index: 1;
}
.foot-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.foot-inner .logo { font-size: 21px; }
.foot-inner .f-links { display: flex; gap: 24px; font-size: 14px; color: var(--text-3); }
.foot-inner .f-links a:hover { color: var(--text); }
.foot-copy { font-size: 13px; color: var(--text-3); }

/* ---------------- Reveal animation ---------------- */
html[data-motion="on"] .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
html[data-motion="on"] .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html[data-motion="on"] .reveal { opacity: 1 !important; transform: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------------- Responsive ---------------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-device { transform: none; margin: 0 auto; max-width: 560px; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .modules { grid-template-columns: 1fr; }
  .honest-grid { grid-template-columns: 1fr; gap: 32px; }
  .why-grid { grid-template-columns: 1fr; gap: 32px; }
  .nav-links .navlink { display: none; }
}
@media (max-width: 620px) {
  .wrap { padding: 0 20px; }
  section { padding: 76px 0; }
  .hero { padding: 60px 0 20px; }
  .features { grid-template-columns: 1fr; }
  .dash-grid { grid-template-columns: 1fr; }
  .dash-rail { display: none; }
  .honest { padding: 32px 24px; }
  .kpi-big .num { font-size: 34px; }
  .hero-actions .btn, .closer .actions .btn { width: 100%; justify-content: center; }
}
