/* =============================================================================
   SafeWork Navigator — WorkWellness marketing site
   Design system + components. Vanilla CSS, no build step.
   ============================================================================= */

:root {
  /* Brand */
  --ink: #07130f;
  --ink-2: #0c211a;
  --brand: #10b981;
  --brand-600: #0ea875;
  --brand-700: #0b8a60;
  --brand-800: #086a4a;
  --teal: #0e7c6b;
  --amber: #ffb020;
  --amber-soft: #ffce7a;
  --signal: #ffc24b;

  /* Neutrals */
  --bg: #f5f9f7;
  --surface: #ffffff;
  --surface-2: #eef4f1;
  --text: #0f1f19;
  --muted: #55665e;
  --muted-2: #7c8b83;
  --line: #e3ece7;
  --line-2: #d3e0da;

  /* Type */
  --font-display: "Sora", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Shape */
  --r-sm: 12px;
  --r: 18px;
  --r-lg: 26px;
  --r-xl: 34px;
  --shadow-sm: 0 1px 2px rgba(7, 19, 15, .05), 0 4px 14px rgba(7, 19, 15, .05);
  --shadow: 0 8px 30px rgba(7, 19, 15, .08), 0 2px 8px rgba(7, 19, 15, .05);
  --shadow-lg: 0 30px 70px -20px rgba(7, 19, 15, .35);
  --shadow-brand: 0 18px 40px -12px rgba(16, 185, 129, .5);

  --container: 1200px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.08; letter-spacing: -.02em; margin: 0; color: var(--text); }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }

.container { width: min(var(--container), 100% - 44px); margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--brand-700);
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-display); font-weight: 600; font-size: .96rem;
  padding: 13px 22px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s, color .2s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { color: #fff; background: linear-gradient(180deg, var(--brand-600), var(--brand-700)); box-shadow: var(--shadow-brand); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 22px 46px -12px rgba(16,185,129,.62); }
.btn-ghost { color: var(--text); background: var(--surface); border-color: var(--line-2); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--brand); color: var(--brand-700); }
.btn-light { color: var(--ink); background: #fff; }
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -14px rgba(0,0,0,.5); }
.btn-outline-light { color: #fff; border-color: rgba(255,255,255,.28); background: rgba(255,255,255,.06); }
.btn-outline-light:hover { background: rgba(255,255,255,.14); transform: translateY(-2px); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .3s, box-shadow .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(245, 249, 247, .82);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom-color: var(--line);
  box-shadow: 0 4px 24px rgba(7, 19, 15, .05);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-family: var(--font-display); font-weight: 700; font-size: 1.12rem; letter-spacing: -.02em; }
.brand-mark { width: 38px; height: 38px; flex: none; display: grid; place-items: center; border-radius: 11px;
  background: linear-gradient(145deg, var(--brand), var(--teal)); box-shadow: var(--shadow-brand); }
.brand-mark svg { width: 22px; height: 22px; }
.brand small { display: block; font-family: var(--font-body); font-weight: 500; font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-2); margin-top: 1px; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a { padding: 9px 14px; border-radius: 999px; font-size: .94rem; font-weight: 500; color: var(--muted); transition: color .2s, background .2s; }
.nav-links a:hover { color: var(--text); background: var(--surface-2); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-actions .signin { font-weight: 600; font-family: var(--font-display); font-size: .94rem; padding: 9px 12px; color: var(--text); }
.nav-actions .signin:hover { color: var(--brand-700); }
.menu-btn { display: none; width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--surface); cursor: pointer; align-items: center; justify-content: center; }
.menu-btn svg { width: 22px; height: 22px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 148px 0 90px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -2; background:
    radial-gradient(60% 55% at 82% 8%, rgba(16,185,129,.20), transparent 60%),
    radial-gradient(50% 50% at 8% 20%, rgba(14,124,107,.16), transparent 60%),
    radial-gradient(70% 60% at 60% 100%, rgba(255,176,32,.10), transparent 60%),
    var(--bg); }
.hero-bg::after { content: ""; position: absolute; inset: 0; opacity: .5;
  background-image: radial-gradient(circle at 1px 1px, rgba(7,19,15,.06) 1px, transparent 0); background-size: 34px 34px;
  -webkit-mask-image: radial-gradient(70% 60% at 50% 30%, #000, transparent 75%); mask-image: radial-gradient(70% 60% at 50% 30%, #000, transparent 75%); }
.hero-grid { display: grid; grid-template-columns: 1.06fr .94fr; gap: 54px; align-items: center; }

.eyebrow { display: inline-flex; align-items: center; gap: 9px; padding: 7px 14px 7px 8px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line-2); box-shadow: var(--shadow-sm);
  font-size: .82rem; font-weight: 600; color: var(--muted); font-family: var(--font-display); }
.eyebrow b { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; background: linear-gradient(135deg, var(--brand), var(--teal)); color: #fff; font-weight: 700; font-size: .74rem; letter-spacing: .02em; }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: #d6ffe9; box-shadow: 0 0 0 3px rgba(255,255,255,.25); }

.hero h1 { font-size: clamp(2.5rem, 5.4vw, 4rem); margin: 22px 0 0; }
.hero h1 .grad { background: linear-gradient(115deg, var(--brand-600) 10%, var(--teal) 55%, var(--amber) 130%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { margin-top: 22px; font-size: 1.18rem; color: var(--muted); max-width: 33ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 32px; }
.trustline { display: inline-flex; align-items: center; gap: 11px; margin-top: 30px; padding: 11px 16px; border-radius: 14px; background: rgba(255,255,255,.6); border: 1px solid var(--line); backdrop-filter: blur(6px); font-weight: 600; color: var(--text); font-family: var(--font-display); font-size: .95rem; }
.trustline svg { width: 20px; height: 20px; color: var(--brand-700); flex: none; }
.trustline span { color: var(--muted); font-weight: 500; font-family: var(--font-body); }

/* Hero visual */
.hero-visual { position: relative; }
.hero-photo { position: relative; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 4.4; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(7,19,15,.45)); }
.hero-ring { position: absolute; inset: -22px; border-radius: calc(var(--r-xl) + 22px); border: 1px solid var(--line-2); z-index: -1; }

.glass-card { position: absolute; background: rgba(255,255,255,.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.7); border-radius: 16px; box-shadow: var(--shadow); padding: 13px 15px; }
.glass-card .gc-row { display: flex; align-items: center; gap: 11px; }
.gc-ic { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; flex: none; color: #fff; }
.gc-ic svg { width: 20px; height: 20px; }
.gc-ic.g { background: linear-gradient(140deg, var(--brand), var(--teal)); }
.gc-ic.a { background: linear-gradient(140deg, var(--amber), #ff8f4c); }
.gc-ic.t { background: linear-gradient(140deg, #3a7bd5, #00b4a0); }
.glass-card .gc-t { font-family: var(--font-display); font-weight: 700; font-size: .92rem; line-height: 1.1; }
.glass-card .gc-s { font-size: .78rem; color: var(--muted); }
.card-signal { top: 8%; left: -34px; animation: floaty 7s var(--ease) infinite; }
.card-form { bottom: 16%; right: -30px; animation: floaty 8s var(--ease) infinite .6s; }
.card-trust { bottom: -22px; left: 12%; animation: floaty 9s var(--ease) infinite .3s; }
.card-trust .bar { height: 6px; border-radius: 999px; background: var(--surface-2); margin-top: 8px; overflow: hidden; }
.card-trust .bar i { display: block; height: 100%; width: 78%; border-radius: 999px; background: linear-gradient(90deg, var(--brand), var(--amber)); }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-13px); } }
@media (prefers-reduced-motion: reduce) { .card-signal, .card-form, .card-trust { animation: none; } }

/* ---------- Jurisdiction / stat bar ---------- */
.trustbar { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); }
.trustbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 22px 0; flex-wrap: wrap; }
.trustbar .label { font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); font-family: var(--font-display); }
.juris { display: flex; gap: 12px; flex-wrap: wrap; }
.juris .j { display: inline-flex; align-items: center; gap: 8px; padding: 8px 15px; border-radius: 999px; border: 1px solid var(--line-2); font-weight: 600; font-size: .9rem; font-family: var(--font-display); background: var(--bg); }
.juris .j .st { font-size: .68rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; letter-spacing: .04em; }
.juris .j.live .st { background: rgba(16,185,129,.14); color: var(--brand-800); }
.juris .j.soon { color: var(--muted); }
.juris .j.soon .st { background: var(--surface-2); color: var(--muted-2); }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section.tight { padding: 72px 0; }
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head.left { margin-inline: 0; text-align: left; }
.kicker { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 700; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--brand-700); margin-bottom: 16px; }
.kicker::before { content: ""; width: 22px; height: 2px; background: var(--brand); border-radius: 2px; }
.section-head h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); }
.section-head .lead { margin-top: 18px; font-size: 1.12rem; color: var(--muted); }

/* ---------- Feature loop ---------- */
.loop-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { position: relative; padding: 28px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s; }
.feature::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: linear-gradient(90deg, var(--brand), var(--amber)); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--line-2); }
.feature:hover::before { transform: scaleX(1); }
.f-ic { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; margin-bottom: 18px; color: var(--brand-700); background: linear-gradient(150deg, rgba(16,185,129,.14), rgba(14,124,107,.08)); border: 1px solid rgba(16,185,129,.18); }
.f-ic svg { width: 26px; height: 26px; }
.feature h3 { font-size: 1.22rem; }
.feature p { margin-top: 10px; color: var(--muted); font-size: .98rem; }
.f-step { position: absolute; top: 22px; right: 24px; font-family: var(--font-display); font-weight: 700; font-size: .82rem; color: var(--line-2); }

/* ---------- Split (image + copy) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.rev .split-media { order: 2; }
.split-media { position: relative; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 5/4; }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-media .tag { position: absolute; left: 18px; bottom: 18px; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; background: rgba(255,255,255,.9); backdrop-filter: blur(8px); font-family: var(--font-display); font-weight: 600; font-size: .86rem; box-shadow: var(--shadow-sm); }
.split-media .tag .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px rgba(16,185,129,.2); }
.split h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.checklist { margin-top: 22px; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 13px; align-items: flex-start; }
.checklist .ck { width: 26px; height: 26px; flex: none; border-radius: 9px; display: grid; place-items: center; background: rgba(16,185,129,.13); color: var(--brand-700); margin-top: 1px; }
.checklist .ck svg { width: 15px; height: 15px; }
.checklist b { font-family: var(--font-display); }
.checklist span { color: var(--muted); }

/* ---------- Personas ---------- */
.personas { background: var(--ink); color: #dbe7e1; position: relative; overflow: hidden; }
.personas::before { content: ""; position: absolute; inset: 0; background:
    radial-gradient(50% 40% at 85% 0%, rgba(16,185,129,.22), transparent 60%),
    radial-gradient(45% 45% at 0% 100%, rgba(255,176,32,.10), transparent 55%); }
.personas .container { position: relative; }
.personas .section-head h2, .personas .kicker { color: #fff; }
.personas .kicker { color: var(--brand); }
.personas .section-head .lead { color: #9fb4ab; }
.persona-tabs { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 34px; }
.persona-tab { padding: 10px 18px; border-radius: 999px; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.04); color: #c4d5cd; font-family: var(--font-display); font-weight: 600; font-size: .92rem; cursor: pointer; transition: all .25s var(--ease); }
.persona-tab:hover { border-color: rgba(255,255,255,.3); color: #fff; }
.persona-tab.active { background: linear-gradient(135deg, var(--brand), var(--teal)); border-color: transparent; color: #fff; box-shadow: var(--shadow-brand); }
.persona-panel { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; padding: 12px; }
.persona-body { display: none; }
.persona-body.active { display: block; animation: fadeUp .5s var(--ease); }
.persona-body .role { font-size: .84rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--amber); font-family: var(--font-display); }
.persona-body h3 { color: #fff; font-size: 1.9rem; margin-top: 10px; }
.persona-body .focus { margin-top: 14px; color: #a9bcb3; font-size: 1.08rem; }
.persona-acts { margin-top: 22px; display: grid; gap: 12px; }
.persona-acts .pa { padding: 15px 17px; border-radius: 15px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); }
.persona-acts .pa b { color: #fff; font-family: var(--font-display); display: flex; align-items: center; gap: 9px; }
.persona-acts .pa .u { margin-left: auto; font-size: .68rem; padding: 2px 9px; border-radius: 999px; font-weight: 700; letter-spacing: .04em; }
.persona-acts .pa .u.urgent { background: rgba(255,176,32,.18); color: var(--amber-soft); }
.persona-acts .pa .u.soon { background: rgba(16,185,129,.18); color: #7be9c0; }
.persona-acts .pa span { display: block; margin-top: 6px; color: #9fb4ab; font-size: .92rem; }
.persona-media { position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4/4.5; }
.persona-media img { width: 100%; height: 100%; object-fit: cover; }
.persona-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(200deg, transparent 45%, rgba(7,19,15,.6)); }

/* ---------- Steps / how it works ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.step { position: relative; padding: 30px 26px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.step .n { counter-increment: step; width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: #fff; background: linear-gradient(145deg, var(--brand), var(--teal)); margin-bottom: 16px; }
.step .n::before { content: counter(step, decimal-leading-zero); }
.step h3 { font-size: 1.14rem; }
.step p { margin-top: 8px; color: var(--muted); font-size: .96rem; }

/* ---------- Responsible AI ---------- */
.rai { background: linear-gradient(165deg, var(--ink-2), var(--ink)); color: #dbe7e1; position: relative; overflow: hidden; }
.rai::before { content: ""; position: absolute; inset: 0; opacity: .5; background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,.05) 1px, transparent 0); background-size: 30px 30px; }
.rai .container { position: relative; }
.rai-top { max-width: 760px; margin: 0 auto 48px; text-align: center; }
.rai-top .kicker { color: var(--amber); justify-content: center; }
.rai-top .kicker::before { background: var(--amber); }
.rai-top h2 { color: #fff; font-size: clamp(2rem, 3.6vw, 3rem); }
.rai-top h2 .u { color: var(--brand); }
.rai-top p { margin-top: 18px; color: #a9bcb3; font-size: 1.12rem; }
.guardrails { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.guard { padding: 24px; border-radius: var(--r); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); transition: border-color .3s, transform .3s var(--ease); }
.guard:hover { border-color: rgba(16,185,129,.4); transform: translateY(-4px); }
.guard .gi { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; color: var(--brand); background: rgba(16,185,129,.12); margin-bottom: 15px; }
.guard .gi svg { width: 23px; height: 23px; }
.guard h4 { color: #fff; font-size: 1.05rem; }
.guard p { margin-top: 8px; color: #9fb4ab; font-size: .92rem; }
.rai-quote { margin-top: 34px; padding: 26px 30px; border-radius: var(--r); border: 1px solid rgba(255,176,32,.28); background: rgba(255,176,32,.06); display: flex; gap: 18px; align-items: center; }
.rai-quote svg { width: 30px; height: 30px; color: var(--amber); flex: none; }
.rai-quote p { color: #e8efeb; font-size: 1.02rem; }
.rai-quote b { color: #fff; font-family: var(--font-display); }

/* ---------- Privacy ---------- */
.priv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.priv { padding: 28px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow-sm); }
.priv .pi { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 16px; color: var(--teal); background: linear-gradient(150deg, rgba(14,124,107,.14), rgba(16,185,129,.06)); }
.priv .pi svg { width: 25px; height: 25px; }
.priv h3 { font-size: 1.16rem; }
.priv p { margin-top: 9px; color: var(--muted); font-size: .96rem; }
.priv code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .82rem; background: var(--surface-2); padding: 2px 7px; border-radius: 6px; color: var(--brand-800); }

/* ---------- Industries ---------- */
.ind-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.ind { position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 3/3.4; box-shadow: var(--shadow-sm); }
.ind img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.ind:hover img { transform: scale(1.07); }
.ind::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(7,19,15,.78)); }
.ind span { position: absolute; left: 18px; bottom: 16px; z-index: 1; color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; }

/* ---------- Stats ---------- */
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.stat { text-align: center; padding: 20px; }
.stat .num { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.2rem, 4vw, 3rem); letter-spacing: -.03em; background: linear-gradient(120deg, var(--brand-600), var(--teal)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat .lbl { color: var(--muted); font-size: .96rem; margin-top: 4px; }

/* ---------- CTA band ---------- */
.cta { position: relative; overflow: hidden; }
.cta-card { position: relative; border-radius: var(--r-xl); padding: 64px 56px; text-align: center; overflow: hidden;
  background: linear-gradient(140deg, var(--brand-700), var(--teal) 55%, var(--ink) 130%); box-shadow: var(--shadow-lg); }
.cta-card::before { content: ""; position: absolute; inset: 0; background:
    radial-gradient(40% 60% at 90% 10%, rgba(255,176,32,.28), transparent 60%),
    radial-gradient(40% 50% at 5% 100%, rgba(255,255,255,.14), transparent 55%); }
.cta-card::after { content: ""; position: absolute; inset: 0; opacity: .4; background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,.14) 1px, transparent 0); background-size: 26px 26px; }
.cta-card > * { position: relative; }
.cta-card h2 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); }
.cta-card p { margin: 16px auto 0; color: rgba(255,255,255,.86); font-size: 1.14rem; max-width: 52ch; }
.cta-card .hero-cta { justify-content: center; margin-top: 30px; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #93a79e; padding: 66px 0 30px; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 34px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.09); }
.footer .brand { color: #fff; }
.footer .brand small { color: #6f857b; }
.footer-about { margin-top: 18px; max-width: 34ch; font-size: .95rem; color: #8ba398; }
.footer h5 { color: #fff; font-family: var(--font-display); font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 16px; }
.footer-col a { display: block; padding: 6px 0; font-size: .95rem; color: #93a79e; transition: color .2s; }
.footer-col a:hover { color: var(--brand); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 26px; flex-wrap: wrap; font-size: .88rem; color: #6f857b; }
.footer-bottom .trust { display: inline-flex; align-items: center; gap: 8px; color: #a9bcb3; font-family: var(--font-display); font-weight: 600; }
.footer-bottom .trust svg { width: 16px; height: 16px; color: var(--brand); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0s); will-change: opacity, transform; }
.reveal.in { opacity: 1; transform: none; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Mobile menu panel ---------- */
.mobile-menu { position: fixed; inset: 74px 0 auto 0; z-index: 99; background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); padding: 16px 22px 22px; display: none; }
.mobile-menu.open { display: block; animation: fadeUp .3s var(--ease); }
.mobile-menu a { display: block; padding: 13px 6px; font-family: var(--font-display); font-weight: 600; border-bottom: 1px solid var(--line); }
.mobile-menu .btn { width: 100%; justify-content: center; margin-top: 16px; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; gap: 60px; }
  .hero-sub { max-width: 46ch; }
  .card-signal { left: 2%; } .card-form { right: 2%; }
  .loop-grid, .steps, .priv-grid { grid-template-columns: repeat(2, 1fr); }
  .guardrails, .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .ind-grid { grid-template-columns: repeat(2, 1fr); }
  .split, .persona-panel { grid-template-columns: 1fr; gap: 34px; }
  .split.rev .split-media { order: 0; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav-links, .nav-actions .signin, .nav-actions .btn { display: none; }
  .menu-btn { display: inline-flex; }
  .hero { padding-top: 120px; }
  .loop-grid, .steps, .priv-grid, .guardrails, .stat-grid, .ind-grid, .footer-top { grid-template-columns: 1fr; }
  .section { padding: 68px 0; }
  .cta-card { padding: 44px 26px; }
  .trustbar-inner { justify-content: flex-start; }
}
