/* ==========================================================================
   Vexsai brand site
   ========================================================================== */

:root {
  --ink: #0C1222;
  --ink-2: #1A2236;
  --ink-3: #2A3349;
  --paper: #F6F5F1;
  --surface: #FFFFFF;
  --line: #E4E2DB;
  --line-strong: #D3D0C6;
  --text: #0C1222;
  --muted: #5A6173;
  --muted-light: #A6ADBD;

  --accent: #0E8A6B;
  --accent-ink: #086049;
  --accent-bright: #2FD3A3;
  --accent-soft: #E1F3EC;
  --no: #C2410C;
  --no-soft: #FDECE3;
  --warn: #D97706;

  --font-display: "Manrope", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(12, 18, 34, .06);
  --shadow: 0 1px 2px rgba(12, 18, 34, .05), 0 12px 32px -12px rgba(12, 18, 34, .18);
  --shadow-lg: 0 2px 4px rgba(12, 18, 34, .04), 0 30px 60px -20px rgba(12, 18, 34, .28);

  --container: 1240px;
  --gutter: 24px;
  --header-h: 64px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2.25rem, 4.4vw, 3.4rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.04; }
h2 { font-size: clamp(1.6rem, 2.6vw, 2.15rem); letter-spacing: -0.03em; }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm); }
.skip:focus { top: 12px; }
.icon { width: 1.15em; height: 1.15em; flex: none; }
.mono { font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: .92em; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent-ink); margin-bottom: 14px;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.eyebrow-light { color: var(--accent-bright); }
.lead { font-size: 1.125rem; color: var(--muted); max-width: 60ch; }
.accent-text { color: var(--accent); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 42px; padding: 0 18px; border-radius: 10px; border: 1px solid transparent;
  font-weight: 600; font-size: .95rem; white-space: nowrap;
  transition: background-color .15s, border-color .15s, color .15s, transform .15s, box-shadow .15s;
}
.btn .icon { width: 1em; height: 1em; transition: transform .15s; }
.btn:hover .icon { transform: translateX(2px); }
.btn-lg { height: 52px; padding: 0 24px; font-size: 1rem; border-radius: 12px; }
.btn-sm { height: 36px; padding: 0 14px; font-size: .875rem; }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--ink-3); }
.btn-accent { background: var(--accent-bright); color: var(--ink); }
.btn-accent:hover { background: #5BE0B8; }
.btn-outline { border-color: var(--line-strong); color: var(--ink); background: var(--surface); }
.btn-outline:hover { border-color: var(--ink); }
.btn-ghost { color: var(--ink); }
.btn-ghost:hover { background: var(--paper); }
.btn-ghost-light { color: #fff; border-color: rgba(255,255,255,.25); }
.btn-ghost-light:hover { border-color: #fff; }
.btn-static { pointer-events: none; }
.text-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--accent-ink); }
.text-link:hover { gap: 10px; }
.text-link .icon { width: 1em; height: 1em; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; height: var(--header-h); gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; letter-spacing: -0.03em; }
.brand-light { color: #fff; }
.site-nav { display: flex; align-items: center; flex: 1; gap: 24px; }
.site-nav ul { display: flex; gap: 4px; margin-inline: auto; }
.site-nav ul a { display: block; padding: 8px 14px; border-radius: 8px; font-size: .95rem; font-weight: 500; color: var(--muted); transition: color .15s, background-color .15s; }
.site-nav ul a:hover { color: var(--ink); background: var(--paper); }
.site-nav ul a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.nav-actions { display: flex; gap: 8px; }
.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); position: relative; }
.nav-toggle .bars, .nav-toggle .bars::before, .nav-toggle .bars::after {
  position: absolute; left: 50%; width: 18px; height: 2px; margin-left: -9px; background: var(--ink); border-radius: 2px; transition: transform .2s, top .2s, opacity .2s;
}
.nav-toggle .bars { top: 50%; margin-top: -1px; }
.nav-toggle .bars::before, .nav-toggle .bars::after { content: ""; left: 0; margin-left: 0; }
.nav-toggle .bars::before { top: -6px; }
.nav-toggle .bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .bars::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::after { top: 0; transform: rotate(-45deg); }

/* ---------- Sections ---------- */
.section { padding: 64px 0; }
.section-tight { padding: 52px 0; }
.section-paper { background: var(--paper); }
.section-ink { background: var(--ink); color: #fff; }
.section-ink .lead { color: var(--muted-light); }
.section-head { margin-bottom: 32px; max-width: 720px; }
.section-head.center { text-align: center; margin-inline: auto; }
.section-head.center .lead { margin-inline: auto; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: 40px 0 56px;
  background:
    radial-gradient(900px 480px at 85% 10%, rgba(47, 211, 163, .14), transparent 60%),
    linear-gradient(180deg, var(--surface) 0%, var(--paper) 100%);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(700px 420px at 75% 30%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(700px 420px at 75% 30%, #000 0%, transparent 70%);
  opacity: .55;
}
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 48px; align-items: center; }
.hero-tagline { margin-top: 14px; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.1rem, 1.8vw, 1.35rem); line-height: 1.35; color: var(--ink-2); }
.hero-copy .lead { margin: 16px 0 24px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 22px; font-size: .92rem; color: var(--muted); }
.hero-points li { display: inline-flex; align-items: center; gap: 7px; }
.hero-points .icon { color: var(--accent); width: 1em; height: 1em; stroke-width: 2.5; }
.hero-visual { position: relative; padding-bottom: 40px; }

/* Product mock */
.mock { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; font-size: .85rem; }
.mock-bar { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: #FBFAF8; }
.dots { display: inline-flex; gap: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); }
.mock-title { font-weight: 600; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mock-body { display: grid; grid-template-columns: 200px 1fr; min-height: 290px; }
.mock-side { border-right: 1px solid var(--line); padding: 16px 12px; background: #FDFCFA; }
.mock-label { font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 600; margin: 0 6px 8px; }
.mock-side li { display: flex; justify-content: space-between; gap: 8px; padding: 8px 10px; border-radius: 8px; color: var(--muted); }
.mock-side li b { font-weight: 600; font-size: .78rem; color: var(--muted-light); }
.mock-side li.done b { color: var(--accent); }
.mock-side li.current { background: var(--accent-soft); color: var(--accent-ink); font-weight: 600; }
.mock-side li.current b { color: var(--accent-ink); }
.mock-main { padding: 16px; display: grid; gap: 12px; align-content: start; background: var(--paper); }
.q-card { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.q-card-dim { opacity: .9; }
.q-num { font-size: .72rem; font-weight: 700; color: var(--accent-ink); letter-spacing: .06em; margin: 0 0 4px; }
.q-text { font-weight: 600; margin: 0 0 10px; line-height: 1.4; }
.yn { display: inline-flex; padding: 3px; background: var(--paper); border: 1px solid var(--line); border-radius: 9px; margin-bottom: 10px; }
.yn button { border: 0; background: transparent; padding: 4px 16px; border-radius: 6px; font-size: .8rem; font-weight: 600; color: var(--muted); }
.yn .is-yes.is-active { background: var(--accent); color: #fff; }
.yn .is-no.is-active { background: var(--no); color: #fff; }
.q-reason { font-size: .8rem; color: var(--muted); margin: 0 0 8px; line-height: 1.45; }
.q-reason span { display: block; font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 600; color: var(--ink); margin-bottom: 2px; }
.file-chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border: 1px dashed var(--line-strong); border-radius: 999px; font-size: .75rem; color: var(--muted); }
.file-chip .icon { width: .95em; height: .95em; }

.ai-float {
  position: absolute; right: -18px; bottom: 0; width: 260px;
  background: var(--ink); color: #fff; border-radius: 16px; padding: 16px 18px;
  box-shadow: var(--shadow-lg);
}
.ai-head { display: flex; align-items: center; gap: 6px; font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 600; color: var(--accent-bright); margin-bottom: 12px; }
.ai-score { display: flex; align-items: center; gap: 14px; }
.ai-big { font-family: var(--font-display); font-weight: 700; margin: 0; }
.ai-small { font-size: .8rem; color: var(--muted-light); margin: 0; }

/* Score ring */
.ring {
  --p: 0; --size: 56px; --track: rgba(255,255,255,.14); --fill: var(--accent-bright);
  width: var(--size); height: var(--size); border-radius: 50%; flex: none;
  display: grid; place-items: center;
  background: radial-gradient(closest-side, var(--ring-bg, var(--ink)) 78%, transparent 80% 100%), conic-gradient(var(--fill) calc(var(--p) * 1%), var(--track) 0);
  font-family: var(--font-display); font-weight: 800; font-size: 1.05rem;
}
.ring small { font-size: .55em; margin-left: 1px; }
.ring-lg { --size: 84px; --track: var(--line); --fill: var(--accent); --ring-bg: var(--surface); font-size: 1.5rem; color: var(--ink); }

/* ---------- Audit types ---------- */
.type-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.type-card {
  display: flex; flex-direction: column; gap: 6px; padding: 24px;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface);
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.type-card:hover { border-color: var(--accent); box-shadow: var(--shadow); transform: translateY(-2px); }
.type-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 11px; background: var(--accent-soft); color: var(--accent-ink); margin-bottom: 10px; }
.type-icon .icon { width: 22px; height: 22px; }
.type-name { font-family: var(--font-display); font-weight: 700; font-size: 1.08rem; }
.type-desc { color: var(--muted); font-size: .92rem; line-height: 1.5; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; counter-reset: s; }
.step { position: relative; padding: 28px 24px; border-radius: var(--radius); background: var(--ink-2); border: 1px solid var(--ink-3); }
.step-num { display: inline-block; font-family: var(--font-display); font-weight: 800; font-size: .9rem; color: var(--accent-bright); margin-bottom: 18px; padding: 4px 10px; border-radius: 999px; background: rgba(47, 211, 163, .1); }
.step h3 { color: #fff; }
.step p { color: var(--muted-light); font-size: .95rem; margin: 0; }

/* ---------- Split / tree ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split-copy .lead { margin-bottom: 28px; }
.checklist { display: grid; gap: 14px; margin-bottom: 28px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); }
.checklist b { color: var(--ink); font-weight: 600; }
.checklist .icon { color: #fff; background: var(--accent); border-radius: 50%; padding: 4px; width: 22px; height: 22px; stroke-width: 3; margin-top: 1px; }

.tree { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; }
.tree-node { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; font-weight: 600; font-size: .95rem; box-shadow: var(--shadow-sm); }
.tree-node small { display: block; font-size: .68rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 600; }
.tree-type { background: var(--ink); color: #fff; border-color: var(--ink); }
.tree-type small { color: var(--accent-bright); }
.tree-type .icon { color: var(--accent-bright); width: 22px; height: 22px; }
.tree-cat.is-open { border-color: var(--accent); }
.tree-q { font-weight: 500; }
.tree-children { position: relative; display: grid; gap: 10px; margin: 10px 0 0 22px; padding-left: 20px; border-left: 2px dashed var(--line-strong); }
.tree-children .tree-children { margin-top: 0; margin-bottom: 0; }
.tree-answer { display: flex; flex-wrap: wrap; gap: 6px; width: 100%; }

.pill { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 999px; font-size: .75rem; font-weight: 600; white-space: nowrap; }
.pill .icon { width: .95em; height: .95em; }
.pill-soft { background: var(--accent-soft); color: var(--accent-ink); }
.pill-yes { background: var(--accent); color: #fff; }
.pill-no { background: var(--no); color: #fff; }
.pill-line { border: 1px solid var(--line); color: var(--muted); }

/* ---------- Feature pair ---------- */
.feature-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.feature-panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; }
.feature-panel h3 { font-size: 1.3rem; margin-top: 20px; }
.feature-panel p { color: var(--muted); margin: 0; }

.share-mock, .report-mock { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: grid; gap: 12px; font-size: .88rem; }
.share-title { display: flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 700; font-size: 1rem; margin: 0 0 4px; }
.share-title .icon { color: var(--accent); }
.share-mock label { display: grid; gap: 5px; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 600; color: var(--muted); }
.share-mock .field { display: block; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 9px 12px; font-size: .88rem; text-transform: none; letter-spacing: 0; font-weight: 500; color: var(--ink); }
.share-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.share-mock .btn { justify-self: start; margin-top: 4px; }

.report-top { display: flex; align-items: center; gap: 18px; margin-bottom: 6px; }
.report-label { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 600; color: var(--muted); margin: 0; }
.report-name { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; margin: 0; }
.bars { display: grid; gap: 10px; }
.bar { display: grid; grid-template-columns: 80px 1fr 32px; align-items: center; gap: 10px; color: var(--muted); }
.bar i { position: relative; height: 8px; border-radius: 99px; background: var(--line); overflow: hidden; }
.bar i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); background: var(--accent); border-radius: inherit; }
.bar i.warn::after { background: var(--warn); }
.bar b { text-align: right; color: var(--ink); font-weight: 600; }
.report-ai { display: flex; gap: 10px; align-items: flex-start; margin: 6px 0 0; padding: 12px 14px; background: var(--ink); color: #E8EBF2; border-radius: 10px; line-height: 1.5; }
.report-ai .icon { color: var(--accent-bright); margin-top: 2px; }

/* ---------- Industries ---------- */
.industry-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.industry-chip { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border: 1px solid var(--line); border-radius: 999px; font-weight: 500; background: var(--surface); }
.industry-chip .icon { color: var(--accent); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--ink); color: #fff; padding: 44px 0; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; width: 520px; height: 520px; right: -140px; top: -260px; border-radius: 50%; background: radial-gradient(closest-side, rgba(47, 211, 163, .28), transparent); pointer-events: none; }
.cta-inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-inner h2 { margin-bottom: 8px; }
.cta-inner p { color: var(--muted-light); margin: 0; font-size: 1.1rem; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: 44px 0 36px; background: linear-gradient(180deg, var(--surface), var(--paper)); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(2rem, 3.6vw, 2.75rem); max-width: 22ch; }
.page-hero .lead { margin-top: 12px; margin-bottom: 0; }

/* ---------- Platform page ---------- */
.feature-block { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding: 52px 0; border-bottom: 1px solid var(--line); }
.feature-block:last-child { border-bottom: 0; }
.feature-block.flip .feature-media { order: -1; }
.feature-media { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; }
.mini-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 28px; }
.mini { padding: 16px; border: 1px solid var(--line); border-radius: 12px; }
.mini h4 { font-size: .98rem; margin-bottom: 4px; display: flex; align-items: center; gap: 8px; }
.mini h4 .icon { color: var(--accent); }
.mini p { font-size: .9rem; color: var(--muted); margin: 0; }

.builder-row { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 12px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; font-size: .9rem; }
.builder-row + .builder-row { margin-top: 8px; }
.builder-row .grip { color: var(--muted-light); letter-spacing: -2px; font-weight: 700; }
.builder-row .tag { font-size: .72rem; font-weight: 600; color: var(--muted); border: 1px solid var(--line); border-radius: 6px; padding: 2px 8px; }
.builder-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; font-family: var(--font-display); font-weight: 700; }

.register { width: 100%; border-collapse: collapse; font-size: .88rem; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.register th, .register td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); }
.register th { font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; background: #FBFAF8; }
.register tr:last-child td { border-bottom: 0; }

.upload-zone { display: grid; place-items: center; gap: 6px; text-align: center; padding: 28px; border: 2px dashed var(--line-strong); border-radius: 12px; background: var(--surface); color: var(--muted); font-size: .9rem; }
.upload-zone .icon { width: 28px; height: 28px; color: var(--accent); }
.file-list { display: grid; gap: 8px; margin-top: 12px; }
.file-list li { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; font-size: .86rem; }

.ai-list { display: grid; gap: 10px; }
.ai-list li { display: grid; grid-template-columns: auto 1fr; gap: 12px; padding: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; font-size: .9rem; }
.sev { width: 10px; height: 10px; border-radius: 50%; margin-top: 6px; }
.sev-high { background: var(--no); }
.sev-med { background: var(--warn); }
.sev-low { background: var(--accent); }
.ai-list b { display: block; margin-bottom: 2px; }
.ai-list span { color: var(--muted); }

.cap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cap { padding: 22px; border-radius: var(--radius); background: var(--ink-2); border: 1px solid var(--ink-3); }
.cap .icon { width: 26px; height: 26px; color: var(--accent-bright); margin-bottom: 18px; }
.cap h3 { color: #fff; font-size: 1.08rem; }
.cap p { color: var(--muted-light); margin: 0; font-size: .94rem; }

/* ---------- Solutions page ---------- */
.audit-detail-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.audit-detail { display: flex; flex-direction: column; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.audit-detail .type-icon { margin-bottom: 18px; }
.audit-detail h3 { font-size: 1.25rem; }
.audit-detail > p { color: var(--muted); font-size: .95rem; }
.audit-detail .cats { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 12px; }
.audit-detail .cats span { font-size: .78rem; padding: 4px 10px; border-radius: 999px; background: var(--paper); color: var(--ink-3); border: 1px solid var(--line); }
.audit-detail.is-custom { background: var(--ink); color: #fff; border-color: var(--ink); }
.audit-detail.is-custom > p { color: var(--muted-light); }
.audit-detail.is-custom .type-icon { background: rgba(47, 211, 163, .14); color: var(--accent-bright); }

.industry-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.industry-card { padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.industry-card .icon { width: 26px; height: 26px; color: var(--accent); margin-bottom: 14px; }
.industry-card h3 { font-size: 1.05rem; margin-bottom: 6px; }
.industry-card p { font-size: .9rem; color: var(--muted); margin: 0; }

.mode-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.mode { padding: 28px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--surface); }
.mode .pill { margin-bottom: 18px; }
.mode h3 { font-size: 1.5rem; }
.mode p { color: var(--muted); }
.mode .checklist { margin: 20px 0 0; }

/* ---------- Pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { display: flex; flex-direction: column; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
.plan.is-featured { background: var(--ink); color: #fff; border-color: var(--ink); box-shadow: var(--shadow-lg); position: relative; }
.plan .badge { position: absolute; top: -12px; left: 32px; background: var(--accent-bright); color: var(--ink); font-size: .75rem; font-weight: 700; padding: 4px 12px; border-radius: 999px; }
.plan-name { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; margin: 0 0 6px; }
.plan-blurb { color: var(--muted); font-size: .94rem; min-height: 3em; }
.plan.is-featured .plan-blurb { color: var(--muted-light); }
.plan-price { font-family: var(--font-display); font-weight: 800; font-size: 2.75rem; letter-spacing: -0.03em; line-height: 1; margin: 12px 0 24px; }
.plan-price small { font-size: .95rem; font-weight: 500; color: var(--muted); letter-spacing: 0; margin-left: 4px; }
.plan.is-featured .plan-price small { color: var(--muted-light); }
.plan ul { display: grid; gap: 12px; margin: 0 0 32px; font-size: .95rem; }
.plan li { display: flex; gap: 10px; align-items: flex-start; }
.plan li .icon { color: var(--accent); width: 18px; height: 18px; stroke-width: 2.5; margin-top: 3px; }
.plan.is-featured li .icon { color: var(--accent-bright); }
.plan .btn { margin-top: auto; width: 100%; }
.plan.is-featured .btn-primary { background: var(--accent-bright); color: var(--ink); }
.plan.is-featured .btn-primary:hover { background: #5BE0B8; }

.faq { max-width: 780px; margin-inline: auto; display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: 0 24px; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 0; font-weight: 600; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--accent); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); margin: 0 0 20px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 48px; align-items: start; }
.contact-aside .checklist { margin-top: 28px; }
.contact-card { margin-top: 36px; padding: 24px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); display: grid; gap: 14px; }
.contact-card p { margin: 0; display: flex; align-items: center; gap: 10px; color: var(--muted); }
.contact-card .icon { color: var(--accent); }
.contact-card a { color: var(--ink); font-weight: 600; }

.form-card { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field-wrap { display: grid; gap: 6px; }
.field-wrap.full { grid-column: 1 / -1; }
.field-wrap label, .field-wrap legend { font-size: .88rem; font-weight: 600; padding: 0; }
.field-wrap .req { color: var(--no); }
.input {
  width: 100%; height: 46px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: 10px;
  font: inherit; font-size: .95rem; color: var(--ink); background: var(--surface); transition: border-color .15s, box-shadow .15s;
}
textarea.input { height: auto; min-height: 120px; padding: 12px 14px; resize: vertical; }
select.input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235A6173' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
.input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.input[aria-invalid="true"] { border-color: var(--no); }
.field-error { font-size: .82rem; color: var(--no); }
fieldset.field-wrap { border: 0; margin: 0; padding: 0; min-width: 0; }
.check-grid { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.check-chip { position: relative; }
.check-chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.check-chip span { display: inline-block; padding: 8px 14px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: .88rem; transition: background-color .15s, border-color .15s, color .15s; }
.check-chip input:checked + span { background: var(--accent-soft); border-color: var(--accent); color: var(--accent-ink); font-weight: 600; }
.check-chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 26px; flex-wrap: wrap; }
.form-foot small { color: var(--muted); }
.alert { padding: 16px 18px; border-radius: 12px; margin-bottom: 24px; font-size: .95rem; }
.alert-ok { background: var(--accent-soft); color: var(--accent-ink); border: 1px solid #BFE6D7; }
.alert-err { background: var(--no-soft); color: #9A3412; border: 1px solid #F8CDB5; }
.alert b { display: block; margin-bottom: 2px; }

/* ---------- Footer ---------- */
.site-footer { background: #080D19; color: var(--muted-light); padding: 48px 0 24px; font-size: .94rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 40px; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer-legal a:hover { color: #fff; }
.footer-brand p { margin: 16px 0; max-width: 34ch; }
.footer-mail { display: inline-flex; align-items: center; gap: 8px; color: #fff; }
.footer-mail .icon { color: var(--accent-bright); }
.site-footer h3 { font-family: var(--font-body); font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: #fff; font-weight: 600; margin-bottom: 16px; }
.site-footer ul { display: grid; gap: 10px; }
.site-footer ul a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.08); font-size: .85rem; }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: 0s !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero-grid, .split, .feature-block, .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .feature-block.flip .feature-media { order: 0; }
  .hero-visual { max-width: 640px; }
  .ai-float { right: 12px; }
  .type-grid, .industry-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .audit-detail-grid, .cap-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1080px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 16px;
    padding: 16px var(--gutter) 24px; background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    display: none;
  }
  .site-nav.is-open { display: flex; }
  .site-nav ul { flex-direction: column; margin: 0; }
  .site-nav ul a { padding: 12px 8px; font-size: 1.05rem; }
  .nav-actions { flex-direction: column; }
  .nav-actions .btn { height: 48px; }
}

@media (max-width: 640px) {
  :root { --gutter: 16px; --header-h: 64px; }
  .section { padding: 44px 0; }
  .section-tight { padding: 40px 0; }
  .hero { padding: 28px 0 44px; }
  .page-hero { padding: 32px 0 28px; }
  .section-head { margin-bottom: 24px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .mock-body { grid-template-columns: 1fr; min-height: 0; }
  .mock-side { display: none; }
  .mock-bar .pill { display: none; }
  .ai-float { position: relative; right: auto; bottom: auto; width: auto; margin-top: -20px; margin-inline: 16px; }
  .hero-visual { padding-bottom: 0; }
  .type-grid, .industry-grid, .steps, .audit-detail-grid, .cap-grid, .mini-grid, .form-grid, .share-row { grid-template-columns: 1fr; }
  .feature-panel, .form-card, .plan, .mode { padding: 22px; }
  .feature-block { padding: 40px 0; }
  .tree { padding: 16px; }
  .tree-children { margin-left: 8px; padding-left: 12px; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-actions .btn { flex: 1 1 100%; }
  .register th:nth-child(3), .register td:nth-child(3) { display: none; }
}

/* ---------- About ---------- */
.about-mission { background: var(--ink); color: #fff; border-radius: var(--radius-lg); padding: 36px; }
.about-mission .mock-label { color: var(--accent-bright); margin: 0 0 14px; }
.about-quote { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.3rem, 2.2vw, 1.6rem); line-height: 1.35; letter-spacing: -0.02em; margin: 0 0 28px; }
.about-facts { display: grid; gap: 14px; border-top: 1px solid var(--ink-3); padding-top: 24px; }
.about-facts div { display: grid; gap: 2px; }
.about-facts b { font-family: var(--font-display); }
.about-facts span { color: var(--muted-light); font-size: .92rem; }

/* ---------- Legal pages ---------- */
.legal-meta { font-size: .9rem; color: var(--muted); margin: 0; }
.legal-grid { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 48px; align-items: start; }
.legal-toc { position: sticky; top: calc(var(--header-h) + 24px); font-size: .9rem; }
.legal-toc .mock-label { margin-left: 0; }
.legal-toc ol, .legal-toc ul { display: grid; gap: 2px; margin-bottom: 24px; }
.legal-toc a { display: block; padding: 6px 10px; margin-left: -10px; border-radius: 6px; color: var(--muted); }
.legal-toc a:hover { color: var(--ink); background: var(--paper); }
.legal-body { max-width: 760px; }
.legal-body section { padding-bottom: 22px; margin-bottom: 22px; border-bottom: 1px solid var(--line); }
.legal-body section:last-child { border-bottom: 0; margin-bottom: 0; }
.legal-body h2 { font-size: 1.35rem; margin-bottom: 14px; }
.legal-body h2 span { color: var(--accent); margin-right: 4px; }
.legal-body p, .legal-body li { color: var(--ink-3); line-height: 1.7; }
.legal-body strong, .legal-body b { color: var(--ink); }
.legal-body ul { list-style: disc; padding-left: 22px; display: grid; gap: 8px; margin: 0 0 1em; }
.legal-body a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 2px; }
.legal-body code { font-size: .88em; background: var(--paper); padding: 2px 6px; border-radius: 4px; }
.legal-contact { background: var(--paper); border: 1px solid var(--line) !important; border-radius: var(--radius); padding: 24px !important; }
.table-wrap { overflow-x: auto; margin-bottom: 1em; }

@media (max-width: 1080px) {
  .footer-brand { grid-column: 1 / -1; }
  .legal-grid { grid-template-columns: 1fr; gap: 32px; }
  .legal-toc { position: static; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
  .legal-toc .legal-other, .legal-toc ul { display: none; }
  .legal-toc ol { margin: 0; }
}
@media (max-width: 640px) {
  .about-mission { padding: 24px; }
}
@media (max-width: 900px) {
  .feature-pair, .plans, .mode-grid { grid-template-columns: 1fr; }
  .plan.is-featured { order: -1; }
}

/* ---------- Compact rhythm ---------- */
.eyebrow { margin-bottom: 10px; }
.lead { font-size: 1.06rem; }
.section-head h2 { margin-bottom: .35em; }
.section-head .lead { margin-bottom: 0; }
.feature-pair, .mode-grid, .audit-detail-grid, .plans { gap: 16px; }
.industry-grid, .cap-grid { gap: 12px; }
.feature-panel { padding: 24px; }
.feature-media, .tree { padding: 22px; }
.mini-grid { margin-top: 20px; gap: 10px; }
.checklist { gap: 10px; margin-bottom: 20px; }
.step { padding: 22px 20px; }
.type-card { padding: 18px; }
.type-icon { margin-bottom: 6px; }
.audit-detail .type-icon { margin-bottom: 12px; }
.plan-price { margin: 8px 0 18px; }
.plan ul { gap: 9px; margin-bottom: 24px; }
.faq { gap: 8px; }
.faq summary { padding: 16px 0; }
.contact-card { margin-top: 24px; }
.about-mission { padding: 28px; }
.legal-body h2 { margin-bottom: 10px; }

/* ---------- Home icon in nav (half green, half black) ---------- */
.site-nav ul .nav-home { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 8px 10px; }
.nav-home svg { transition: transform .15s; }
.nav-home:hover svg { transform: translateY(-1px) scale(1.06); }
.nav-home[aria-current="page"] { background: var(--accent-soft); }
.nav-home-label { display: none; }
@media (max-width: 1080px) {
  .site-nav ul .nav-home { justify-content: flex-start; padding: 12px 8px; }
  .nav-home-label { display: inline; }
}

/* ---------- Page hero with image (Platform) ---------- */
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 48px; align-items: center; }
.page-hero-media .lead { margin-bottom: 22px; }
.showcase-frame { margin: 0; border-radius: var(--radius-lg); overflow: hidden; background: var(--ink); box-shadow: var(--shadow-lg); line-height: 0; }
.showcase-frame img { width: 100%; height: auto; }
@media (max-width: 1080px) {
  .page-hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .showcase-frame { max-width: 720px; }
}
@media (max-width: 640px) {
  .showcase-frame { border-radius: var(--radius); }
  .page-hero-media .hero-actions .btn { flex: 1 1 100%; }
}

/* =====================================================================
   v6: growth features
   ===================================================================== */
.mt-0 { margin-top: 0; }
.mt-8 { margin-top: 8px; }
.muted { color: var(--muted); }
.eyebrow .icon { width: 1.1em; height: 1.1em; }

/* Announcement bar */
.announce { background: var(--ink); color: #DDE3EE; font-size: .88rem; }
.announce-inner { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 38px; flex-wrap: wrap; padding-block: 6px; text-align: center; }
.announce-tag { background: var(--accent-bright); color: var(--ink); font-weight: 700; font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; padding: 2px 8px; border-radius: 999px; }
.announce a { display: inline-flex; align-items: center; gap: 4px; color: var(--accent-bright); font-weight: 600; }
.announce a .icon { width: 1em; height: 1em; }
.announce a:hover { text-decoration: underline; }

/* Breadcrumbs */
.crumbs { font-size: .85rem; color: var(--muted); margin-bottom: 14px; }
.crumbs a { color: var(--accent-ink); }
.crumbs a:hover { text-decoration: underline; }

/* Large score ring */
.ring-xl { --size: 128px; --track: var(--line); --fill: var(--accent); --ring-bg: var(--surface); font-size: 2.3rem; color: var(--ink); }

/* Readiness check */
.rc-wrap { max-width: 860px; }
.rc-progress { position: sticky; top: calc(var(--header-h) + 8px); z-index: 5; display: flex; align-items: center; gap: 14px; padding: 12px 16px; margin-bottom: 18px; background: rgba(255,255,255,.95); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-sm); font-size: .88rem; color: var(--muted); }
.rc-progress-bar { flex: 1; height: 8px; border-radius: 99px; background: var(--line); overflow: hidden; }
.rc-progress-bar i { display: block; height: 100%; width: 0; background: var(--accent); border-radius: inherit; transition: width .25s ease; }
.rc-cat { border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 22px 6px; margin: 0 0 16px; background: var(--surface); }
.rc-cat legend { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; padding: 0 8px; margin-left: -8px; }
.rc-cat legend .type-icon { width: 34px; height: 34px; margin: 0; }
.rc-cat legend .type-icon .icon { width: 18px; height: 18px; }
.rc-q { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 14px 0; border-top: 1px solid var(--line); }
.rc-q:first-of-type { border-top: 0; }
.rc-q.is-missing .rc-text { color: var(--no); }
.rc-text { margin: 0; font-weight: 500; }
.rc-num { color: var(--muted); font-weight: 600; margin-right: 2px; }
.rc-yn { display: flex; gap: 8px; flex: none; }
.rc-opt { position: relative; }
.rc-opt input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.rc-opt span { display: inline-block; min-width: 64px; text-align: center; padding: 8px 14px; border: 1px solid var(--line-strong); border-radius: 9px; font-weight: 600; font-size: .9rem; color: var(--muted); transition: background-color .15s, border-color .15s, color .15s; }
.rc-opt:hover span { border-color: var(--ink); color: var(--ink); }
.rc-yes input:checked + span { background: var(--accent); border-color: var(--accent); color: #fff; }
.rc-no input:checked + span { background: var(--no); border-color: var(--no); color: #fff; }
.rc-opt input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.rc-submit { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 8px; }
.rc-submit small { color: var(--muted); max-width: 46ch; }
.rc-result-head { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; }
.rc-score { text-align: center; }
.rc-score p { margin: 10px 0 0; font-weight: 600; color: var(--muted); }
.rc-mid .ring { --fill: var(--warn); }
.rc-low .ring { --fill: var(--no); }
.rc-results { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 40px; align-items: start; }
.rc-bars .bar { grid-template-columns: 170px 1fr 44px; }
.rc-h2 { margin-top: 36px; }
.rc-gaps { padding: 0; }
.rc-review { position: sticky; top: calc(var(--header-h) + 16px); display: grid; gap: 14px; }
.rc-review h2 { font-size: 1.35rem; margin: 0; }
.rc-review p { color: var(--muted); margin: 0; }
.rc-review form { display: grid; gap: 14px; }
.rc-privacy { color: var(--muted); }
.rc-next { font-size: .92rem; }

/* Templates */
.tpl-card { transition: border-color .2s, box-shadow .2s, transform .2s; }
.tpl-card:hover { border-color: var(--accent); box-shadow: var(--shadow); transform: translateY(-2px); }
.tpl-card .text-link { margin-top: auto; padding-top: 8px; }
.tpl-meta { font-size: .78rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 6px; }
.tpl-layout, .guide-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; align-items: start; }
.tpl-facts { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.tpl-facts div { display: grid; padding: 12px 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); }
.tpl-facts b { font-family: var(--font-display); font-size: 1.3rem; }
.tpl-facts span { font-size: .82rem; color: var(--muted); }
.tpl-who { color: var(--muted); margin-bottom: 24px; }
.tpl-who b { color: var(--ink); }
.tpl-cat { margin-bottom: 24px; }
.tpl-cat h2 { font-size: 1.2rem; padding-bottom: 8px; border-bottom: 2px solid var(--accent); display: inline-block; }
.tpl-qs { padding-left: 24px; }
.tpl-qs li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.tpl-qs li::marker { color: var(--muted); font-weight: 600; }
.tpl-ans { float: right; display: inline-flex; gap: 6px; margin-left: 16px; }
.tpl-ans i { font-style: normal; font-size: .75rem; font-weight: 600; color: var(--muted); border: 1px solid var(--line-strong); border-radius: 6px; padding: 2px 8px; }
.tpl-note { font-size: .9rem; color: var(--muted); padding: 16px; background: var(--paper); border-radius: 12px; }
.tpl-aside { position: sticky; top: calc(var(--header-h) + 16px); display: grid; gap: 16px; }
.tpl-cta { background: var(--ink); color: #fff; border-radius: var(--radius-lg); padding: 24px; display: grid; gap: 12px; }
.tpl-cta .mock-label { color: var(--accent-bright); margin: 0; }
.tpl-cta h3 { margin: 0; font-size: 1.2rem; }
.tpl-cta p { color: var(--muted-light); margin: 0; font-size: .94rem; }
.tpl-cta .checklist { margin: 0; }
.tpl-cta .checklist li { color: #DDE3EE; font-size: .92rem; }
.tpl-cta .text-link { color: var(--accent-bright); }
.tpl-cta .btn { justify-self: start; }
.tpl-related { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.tpl-related .mock-label { margin: 0 0 8px; }
.tpl-related ul { display: grid; gap: 4px; }
.tpl-related a { display: flex; gap: 10px; align-items: center; padding: 8px; border-radius: 8px; font-size: .92rem; font-weight: 500; }
.tpl-related a:hover { background: var(--paper); }
.tpl-related .icon { color: var(--accent); }

/* Industry cards as links */
.industry-link { display: flex; flex-direction: column; transition: border-color .2s, box-shadow .2s, transform .2s; }
.industry-link:hover { border-color: var(--accent); box-shadow: var(--shadow); transform: translateY(-2px); }
.industry-link .text-link { margin-top: 10px; font-size: .9rem; }
a.industry-chip { transition: border-color .15s, background-color .15s; }
a.industry-chip:hover { border-color: var(--accent); background: var(--accent-soft); }
.cap-grid-light .cap { background: var(--surface); border-color: var(--line); }
.cap-grid-light .cap h3 { color: var(--ink); }
.cap-grid-light .cap p { color: var(--muted); }
.cap-grid-light .cap .icon { color: #fff; background: var(--accent); border-radius: 50%; padding: 5px; width: 28px; height: 28px; stroke-width: 3; }

/* Resource cards */
.res-feature { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 16px; }
.res-card { display: flex; flex-direction: column; gap: 8px; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); transition: border-color .2s, box-shadow .2s, transform .2s; }
.res-card:hover { border-color: var(--accent); box-shadow: var(--shadow); transform: translateY(-2px); }
.res-card .pill { align-self: flex-start; }
.res-card h2, .res-card h3 { font-size: 1.35rem; margin: 6px 0 0; }
.res-card p { color: var(--muted); margin: 0; }
.res-card .text-link { margin-top: auto; padding-top: 10px; }
.res-card-dark { background: var(--ink); border-color: var(--ink); color: #fff; }
.res-card-dark p { color: var(--muted-light); }
.res-card-dark .text-link { color: var(--accent-bright); }
.res-card-dark .pill-soft { background: rgba(47,211,163,.15); color: var(--accent-bright); }

/* Founding offer */
.founding { display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; padding: 28px 32px; border-radius: var(--radius-lg); background: linear-gradient(120deg, var(--accent-soft), #F2FBF7 60%, var(--surface)); border: 1px solid #BFE6D7; }
.founding h2 { margin: 0 0 6px; }
.founding p { margin: 0; color: var(--ink-3); }
.founding .eyebrow { margin-bottom: 6px; }
.founding-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--accent); color: #fff; }
.founding-icon .icon { width: 28px; height: 28px; }
.founding-compact { margin-top: 24px; padding: 22px 26px; }
.founding-compact h2 { font-size: 1.3rem; }

/* Sample report */
.report { max-width: 1040px; margin-inline: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; background: var(--surface); box-shadow: var(--shadow); }
.report-head { display: flex; justify-content: space-between; gap: 24px; align-items: center; padding-bottom: 22px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.report-kicker { display: flex; gap: 10px; align-items: center; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-ink); margin: 0 0 6px; }
.report-head h2 { margin: 0 0 4px; }
.report-meta { color: var(--muted); font-size: .9rem; margin: 0; }
.report-score { display: flex; align-items: center; gap: 16px; }
.report-score p { margin: 0; display: grid; }
.report-score p span { color: var(--warn); font-weight: 600; font-size: .9rem; }
.report-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 22px 0; }
.report-stats div { display: grid; padding: 14px; border-radius: 12px; background: var(--paper); text-align: center; }
.report-stats b { font-family: var(--font-display); font-size: 1.6rem; }
.report-stats span { font-size: .82rem; color: var(--muted); }
.report-ai-box { padding: 20px 22px; border-radius: var(--radius); background: var(--ink); color: #E8EBF2; margin-bottom: 26px; }
.report-ai-box h3 { display: flex; gap: 8px; align-items: center; color: var(--accent-bright); font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; }
.report-ai-box p { margin: 0 0 10px; line-height: 1.65; }
.report-ai-box p:last-child { margin: 0; }
.report-ai-box b { color: #fff; }
.report-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-bottom: 28px; }
.report-grid h3, .report-detail h3 { font-size: 1.1rem; }
.report-grid .bar { grid-template-columns: 170px 1fr 36px; }
.report-detail h4 { display: flex; justify-content: space-between; font-size: 1rem; margin: 22px 0 10px; }
.report-detail h4 span { color: var(--accent-ink); }
.report-table td, .report-table th { vertical-align: top; font-size: .86rem; }
.report-table td:first-child { color: var(--muted); width: 32px; }
.report-table .file-chip { white-space: nowrap; }
.report-foot { margin: 22px 0 0; font-size: .82rem; color: var(--muted); }

/* Comparison table */
.compare { min-width: 680px; }
.compare th[scope="row"] { font-size: .9rem; text-transform: none; letter-spacing: 0; color: var(--ink); background: var(--surface); width: 22%; }
.compare thead th { font-size: .82rem; }
.compare thead th .icon { display: inline; vertical-align: -3px; width: 1.1em; height: 1.1em; }
.compare thead th:nth-child(2) .icon { color: var(--no); }
.compare thead th:nth-child(3) { background: var(--accent-soft); color: var(--accent-ink); }
.compare thead th:nth-child(3) .icon { color: var(--accent); }
.compare td:nth-child(3) { background: #F5FBF8; color: var(--ink); font-weight: 500; }
.compare td { color: var(--muted); font-size: .92rem; }

/* Guides */
.guide-head { max-width: 860px; }
.guide-body h2 { font-size: 1.35rem; margin-top: 28px; }
.guide-body p, .guide-body li { font-size: 1.02rem; }

/* 404 */
.nf-inner { text-align: center; max-width: 760px; }
.nf-code { font-family: var(--font-display); font-weight: 800; font-size: clamp(4rem, 12vw, 7rem); line-height: 1; margin: 0 0 8px; background: linear-gradient(90deg, var(--accent) 50%, var(--ink) 50%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nf-inner .lead { margin: 0 auto 24px; }

/* WhatsApp button */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 60; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #25D366; color: #fff; box-shadow: 0 8px 24px rgba(0,0,0,.2); transition: transform .15s; }
.wa-float:hover { transform: scale(1.06); }

@media (max-width: 1080px) {
  .rc-results, .tpl-layout, .guide-layout { grid-template-columns: 1fr; }
  .rc-review, .tpl-aside { position: static; }
  .res-feature { grid-template-columns: 1fr 1fr; }
  .res-feature .res-card-dark { grid-column: 1 / -1; }
  .founding { grid-template-columns: auto 1fr; }
  .founding .btn { grid-column: 1 / -1; justify-self: start; }
  .report-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .announce-inner { font-size: .82rem; gap: 6px 10px; }
  .announce-inner > span:nth-child(2) { display: none; }
  .rc-q { flex-direction: column; align-items: flex-start; gap: 10px; }
  .rc-cat { padding: 6px 16px 4px; }
  .rc-result-head { grid-template-columns: 1fr; }
  .rc-score { justify-self: start; }
  .rc-bars .bar, .report-grid .bar { grid-template-columns: 110px 1fr 40px; font-size: .85rem; }
  .res-feature { grid-template-columns: 1fr; }
  .founding { grid-template-columns: 1fr; padding: 22px; }
  .report { padding: 18px; }
  .report-stats { grid-template-columns: 1fr 1fr; }
  .tpl-ans { display: none; }
}

/* Print / Save as PDF */
@media print {
  .announce, .site-header, .site-footer, .cta-band, .no-print, .wa-float, .skip, .rc-progress { display: none !important; }
  body { background: #fff; font-size: 11pt; }
  .section, .page-hero { padding: 12px 0 !important; background: none !important; border: 0; }
  .report, .form-card, .feature-panel { box-shadow: none !important; }
  .report { border: 0; padding: 0; }
  .js .reveal { opacity: 1 !important; transform: none !important; }
  .rc-results, .tpl-layout, .report-grid { grid-template-columns: 1fr; }
  .ring, .bar i::after, .pill-yes, .pill-no, .report-ai-box, .tpl-cat h2 { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .tpl-qs li, .report-table tr, .ai-list li { break-inside: avoid; }
  a { text-decoration: none; }
}
.report-table { table-layout: fixed; width: 100%; }
.report-table th:nth-child(1) { width: 40px; }
.report-table th:nth-child(2) { width: 34%; }
.report-table th:nth-child(3) { width: 88px; }
.report-table th:nth-child(4) { width: 30%; }
.report-table .file-chip { white-space: normal; word-break: break-all; }
@media (max-width: 760px) { .report-table { table-layout: auto; min-width: 680px; } }
.page-hero .hero-actions { margin-top: 20px; }
