/* ============================================================================
   True North — marketing site
   Modern, clean, product-led. One job per section.
   ========================================================================= */

:root {
  --ink: #0a1722;
  --ink-2: #33475b;
  --muted: #5d7183;
  --line: #e7eef4;
  --line-2: #d8e3ec;
  --bg: #ffffff;
  --bg-soft: #f5f9fc;
  --bg-tint: #eef5fb;
  --primary: #0f5d8c;
  --primary-dark: #0b3f63;
  --accent: #10a08c;
  --accent-br: #16c2a8;
  --navy: #0a1f33;
  --navy-2: #0d2c47;
  --grad: linear-gradient(120deg, #0b3f63 0%, #0f5d8c 48%, #10a08c 100%);
  --grad-soft: linear-gradient(120deg, rgba(15,93,140,.10), rgba(16,160,140,.10));
  --shadow-sm: 0 1px 2px rgba(10,31,51,.06), 0 1px 1px rgba(10,31,51,.04);
  --shadow: 0 12px 30px rgba(10,31,51,.08);
  --shadow-lg: 0 30px 70px rgba(10,31,51,.16);
  --r: 16px;
  --r-lg: 22px;
  --maxw: 1140px;
  --font: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "SFMono-Regular", "Cascadia Code", Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 760px; }

.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--navy); color: #fff;
  padding: 10px 16px; border-radius: 0 0 8px 0; z-index: 200;
}
.skip-link:focus { left: 0; }

/* ── Type ── */
h1, h2, h3, h4 { color: var(--ink); letter-spacing: -0.02em; line-height: 1.08; margin: 0; font-weight: 800; }
h1 { font-size: clamp(2.5rem, 5.4vw, 4.25rem); font-weight: 900; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.85rem); }
h3 { font-size: 1.18rem; letter-spacing: -0.01em; }
p { margin: 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--primary); background: var(--bg-tint);
  border: 1px solid var(--line-2); border-radius: 999px; padding: 6px 14px;
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-head { max-width: 680px; margin: 0 0 clamp(36px, 5vw, 60px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.12rem; margin-top: 16px; }
.lead { color: var(--ink-2); font-size: 1.18rem; line-height: 1.55; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: inherit; font-weight: 700; font-size: 0.98rem; cursor: pointer;
  border: 1px solid transparent; border-radius: 999px; padding: 12px 22px;
  transition: transform .12s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  text-decoration: none; white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.btn-sm { padding: 9px 16px; font-size: 0.9rem; }
.btn-lg { padding: 15px 28px; font-size: 1.02rem; }
/* Filled buttons: no border + clip the fill to the padding box so the
   gradient can't bleed into a 1px anti-aliased halo at the rounded edge */
.btn-primary { background: var(--navy); color: #fff; border: 0; box-shadow: var(--shadow); }
.btn-primary:hover { background: #06304f; box-shadow: var(--shadow-lg); color: #fff; }
.btn-accent { background: var(--grad); color: #fff; border: 0; background-clip: padding-box; box-shadow: 0 5px 14px rgba(10,31,51,.16); }
.btn-accent:hover { filter: brightness(1.04); box-shadow: 0 9px 22px rgba(10,31,51,.22); color: #fff; }
/* Small header CTA: tight neutral shadow so the edge stays crisp */
.nav-cta .btn-accent { box-shadow: 0 2px 8px rgba(10,31,51,.16); }
.nav-cta .btn-accent:hover { box-shadow: 0 4px 12px rgba(10,31,51,.22); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn-link { background: none; color: var(--ink-2); padding-left: 6px; padding-right: 6px; }
.btn-link:hover { color: var(--primary); }
.btn-link .arr { transition: transform .15s ease; }
.btn-link:hover .arr { transform: translateX(3px); }

/* ── Header ── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.78); backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 1px 0 rgba(10,31,51,.03); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.brand { display: inline-flex; align-items: center; }
.brand-logo { height: 54px; width: auto; }
.primary-nav { display: flex; align-items: center; gap: 6px; }
.nav-menu { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-menu > li > a:not(.btn) {
  color: var(--ink-2); font-weight: 600; font-size: 0.95rem; padding: 8px 12px; border-radius: 8px;
  transition: color .15s, background .15s;
}
.nav-menu > li > a:not(.btn):hover { color: var(--ink); background: var(--bg-soft); }
.nav-cta { margin-left: 8px; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle-bar { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; margin: 4px 0; transition: .2s; }

/* ── Hero ── */
.hero { position: relative; overflow: hidden; padding: clamp(56px, 8vw, 104px) 0 clamp(60px, 8vw, 110px); }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto -10%; height: 720px; z-index: -1;
  background:
    radial-gradient(600px 360px at 78% 8%, rgba(16,160,140,.16), transparent 60%),
    radial-gradient(680px 420px at 12% 0%, rgba(15,93,140,.16), transparent 62%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 4vw, 64px); align-items: center; }
.hero h1 { margin: 22px 0 0; }
.hero .subhead { color: var(--ink-2); font-size: 1.22rem; line-height: 1.5; margin: 22px 0 0; max-width: 36ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 30px; list-style: none; padding: 0; }
.hero-trust li { display: flex; align-items: center; gap: 8px; font-size: 0.86rem; color: var(--muted); font-weight: 600; }
.hero-trust li::before { content: ""; width: 16px; height: 16px; border-radius: 50%; background: var(--grad-soft); border: 1px solid rgba(16,160,140,.35); flex: none; }

/* ── Product mockup (hero visual) ── */
.mock {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg); overflow: hidden; transform: perspective(1400px) rotateY(-7deg) rotateX(2deg);
  transition: transform .4s ease;
}
.mock:hover { transform: perspective(1400px) rotateY(-3deg) rotateX(1deg); }
.mock-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.mock-dot { width: 10px; height: 10px; border-radius: 50%; background: #d6dee6; }
.mock-title { margin-left: 10px; font-size: 0.8rem; color: var(--muted); font-weight: 600; }
.mock-body { padding: 18px; }
.mock-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; background: #fff; }
.mock-row:last-child { margin-bottom: 0; }
.mock-task { font-weight: 700; font-size: 0.92rem; color: var(--ink); }
.mock-meta { font-size: 0.76rem; color: var(--muted); margin-top: 2px; }
.pill { font-size: 0.72rem; font-weight: 800; letter-spacing: .02em; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.pill-green { background: #e4f6ee; color: #0d7a4f; }
.pill-amber { background: #fdf1da; color: #9a6a10; }
.pill-red { background: #fde7e7; color: #b3392e; }
.mock-sign { display: flex; align-items: center; gap: 10px; margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: var(--bg-tint); border: 1px solid var(--line); }
.mock-sign .ck { width: 26px; height: 26px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; flex: none; font-size: 13px; }
.mock-sign .txt { font-size: 0.82rem; color: var(--ink-2); }
.mock-sign .txt b { color: var(--ink); }
.mock-hash { margin-top: 10px; font-family: var(--mono); font-size: 0.7rem; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.mock-hash::before { content: "SHA 256"; font-family: var(--font); font-weight: 800; font-size: 0.62rem; letter-spacing: .08em; color: var(--accent); background: #e4f6ef; padding: 2px 7px; border-radius: 6px; }

/* ── Logo / trust marquee ── */
.cred { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.cred-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 30px; padding: 22px 0; }
.cred-inner span { font-size: 0.86rem; font-weight: 700; color: var(--ink-2); display: flex; align-items: center; gap: 9px; }
.cred-inner span::before { content: ""; width: 7px; height: 7px; border-radius: 2px; background: var(--accent); }

/* ── Problem: before / after ── */
.contrast { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contrast-card { border-radius: var(--r); padding: 28px; border: 1px solid var(--line); }
.contrast-card .tag { font-size: 0.74rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.contrast-card h3 { margin: 12px 0 8px; font-size: 1.32rem; }
.contrast-card p { color: var(--ink-2); }
.contrast-card.bad { background: var(--bg-soft); }
.contrast-card.bad .tag { color: #b3392e; }
.contrast-card.good { background: var(--navy); border-color: var(--navy); }
.contrast-card.good .tag { color: var(--accent-br); }
.contrast-card.good h3 { color: #fff; }
.contrast-card.good p { color: rgba(233,242,248,.8); }

/* ── How it works ── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: s; }
.step { position: relative; padding: 28px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; transition: transform .2s, box-shadow .2s; }
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.step .num {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  background: var(--grad); color: #fff; font-weight: 800; font-size: 1.05rem; margin-bottom: 16px;
}
.step h3 { margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 0.98rem; }
/* example visual inside each step */
.step-visual { margin-top: 18px; padding: 13px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-soft); }
.sv-chips, .sv-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.sv-chip { font-size: 0.72rem; font-weight: 600; color: var(--ink-2); background: #fff; border: 1px solid var(--line-2); border-radius: 7px; padding: 3px 9px; }
.sv-sign { display: flex; align-items: center; gap: 9px; font-size: 0.8rem; color: var(--ink-2); }
.sv-ck { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 50%; background: rgba(22,194,168,.16); color: var(--accent); font-size: 0.66rem; flex: none; }
.sv-pills .pill { font-size: 0.66rem; }

/* ── Interactive product tour ── */
.tour { margin-top: 12px; }
.tour-tabs { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 28px; }
.tour-tab { font-family: inherit; font-weight: 700; font-size: 0.9rem; color: var(--ink-2); background: #fff; border: 1px solid var(--line-2); border-radius: 999px; padding: 10px 18px; cursor: pointer; transition: color .18s, background .18s, border-color .18s, box-shadow .18s; }
.tour-tab:hover { border-color: var(--primary); color: var(--primary); }
.tour-tab.is-active { background: var(--navy); color: #fff; border-color: var(--navy); box-shadow: 0 6px 16px rgba(10,31,51,.18); }
.tour-panel { display: none; }
.tour-panel.is-active { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: 34px; align-items: center; animation: tourfade .4s ease; }
@keyframes tourfade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.tour-copy h3 { font-size: 1.5rem; margin: 12px 0 10px; }
.tour-copy p { color: var(--muted); font-size: 1.02rem; }
.tour-meta { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.tour-meta .sv-chip { background: var(--bg-soft); }
/* shared device frame */
.frame { border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: var(--shadow-lg); overflow: hidden; }
.frame-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.frame-bar .mock-dot { width: 9px; height: 9px; border-radius: 50%; background: #d3dde4; }
.frame-title { margin-left: 8px; font-size: 0.78rem; font-weight: 600; color: var(--muted); }
.frame-body { padding: 18px; }
/* form-mapping mock */
.map-doc { display: grid; gap: 9px; }
.map-field { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 13px; border: 1px solid var(--line); border-radius: 10px; }
.map-field.mapped { border-color: rgba(16,160,140,.4); background: rgba(16,160,140,.05); }
.map-label { font-size: 0.84rem; font-weight: 600; color: var(--ink); }
.map-token { font-family: var(--mono); font-size: 0.72rem; color: var(--primary); background: rgba(15,93,140,.08); border: 1px solid rgba(15,93,140,.16); border-radius: 6px; padding: 3px 8px; white-space: nowrap; }
.map-token.empty { color: var(--muted); background: var(--bg-soft); border-style: dashed; border-color: var(--line-2); }
/* trainee quiz mock */
.quiz-top { display: flex; align-items: center; margin-bottom: 14px; }
.quiz-step { font-size: 0.74rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.quiz-bar { height: 6px; border-radius: 3px; background: #e6edf2; overflow: hidden; flex: 1; margin-left: 14px; }
.quiz-bar > i { display: block; height: 100%; width: 62%; background: var(--grad); }
.quiz-q { font-size: 1.02rem; font-weight: 700; color: var(--ink); margin-bottom: 14px; }
.quiz-opt { display: flex; align-items: center; gap: 10px; padding: 11px 13px; border: 1px solid var(--line-2); border-radius: 10px; margin-bottom: 8px; font-size: 0.9rem; color: var(--ink-2); }
.quiz-opt.sel { border-color: var(--primary); background: rgba(15,93,140,.05); color: var(--ink); font-weight: 600; }
.quiz-opt .dot { width: 15px; height: 15px; border-radius: 50%; border: 2px solid var(--line-2); flex: none; }
.quiz-opt.sel .dot { border-color: var(--primary); background: var(--primary); box-shadow: inset 0 0 0 2px #fff; }
.quiz-conf { margin-top: 12px; padding-top: 14px; border-top: 1px solid var(--line); }
.quiz-conf .lbl { font-size: 0.78rem; color: var(--muted); margin-bottom: 8px; }
.conf-row { display: flex; gap: 8px; }
.conf-btn { flex: 1; text-align: center; font-size: 0.78rem; font-weight: 700; padding: 8px; border-radius: 8px; border: 1px solid var(--line-2); color: var(--ink-2); }
.conf-btn.on { border-color: var(--accent); background: rgba(16,160,140,.1); color: var(--accent); }
/* sign-off mock */
.sign-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.sign-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 0.9rem; flex: none; }
.sign-name { font-weight: 700; color: var(--ink); }
.sign-sub { font-size: 0.8rem; color: var(--muted); }
.sign-list { display: grid; gap: 8px; margin-bottom: 16px; }
.sign-item { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 9px; font-size: 0.86rem; color: var(--ink-2); }
.sign-item .ok { color: var(--accent); font-weight: 700; white-space: nowrap; }
.sign-action { display: flex; align-items: center; gap: 12px; }
.sign-btn { flex: 1; text-align: center; background: var(--grad); color: #fff; font-weight: 700; padding: 11px; border-radius: 10px; font-size: 0.9rem; }
.sign-pin { font-family: var(--mono); font-size: 0.74rem; color: var(--muted); white-space: nowrap; }
/* audit mock */
.audit-row { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 12px 4px; border-bottom: 1px dashed var(--line); }
.audit-row:last-child { border-bottom: none; }
.audit-time { font-family: var(--mono); font-size: 0.72rem; color: var(--muted); white-space: nowrap; }
.audit-what { font-size: 0.86rem; color: var(--ink-2); }
.audit-what b { color: var(--ink); }
.audit-hash { font-family: var(--mono); font-size: 0.68rem; color: var(--accent); background: rgba(16,160,140,.08); border-radius: 6px; padding: 3px 7px; white-space: nowrap; }

/* ── Deploy options (self-hosted vs managed) ── */
.deploy-options { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; margin-bottom: 22px; }
.deploy-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.deploy-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--line-2); }
.deploy-card.featured { border-color: rgba(16,160,140,.45); box-shadow: 0 12px 30px rgba(16,160,140,.10); }
.deploy-tag { display: inline-block; font-size: 0.72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--primary); background: rgba(15,93,140,.08); border: 1px solid rgba(15,93,140,.18); border-radius: 999px; padding: 4px 12px; }
.deploy-card.featured .deploy-tag { color: var(--accent); background: rgba(16,160,140,.10); border-color: rgba(16,160,140,.28); }
.deploy-card h3 { margin: 16px 0 8px; font-size: 1.28rem; }
.deploy-card > p { color: var(--muted); }
.deploy-points { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.deploy-points li { display: flex; gap: 9px; font-size: 0.94rem; color: var(--ink-2); }
.deploy-points .mk { color: var(--accent); flex: none; font-weight: 700; }

/* ── Bento platform grid ── */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.tile {
  border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; background: #fff;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; position: relative; overflow: hidden;
}
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-2); }
.tile h3 { font-size: 1.22rem; margin-bottom: 8px; }
.tile p { color: var(--muted); font-size: 0.98rem; }
.tile-ico { width: 42px; height: 42px; border-radius: 11px; background: var(--grad-soft); color: var(--primary); display: grid; place-items: center; margin-bottom: 16px; }
.tile-ico svg { width: 22px; height: 22px; }
.col-3 { grid-column: span 3; }
.col-2 { grid-column: span 2; }
.col-4 { grid-column: span 4; }
.tile.feature { background: var(--navy); border-color: var(--navy); }
.tile.feature h3 { color: #fff; } .tile.feature p { color: rgba(233,242,248,.78); }
.tile.feature .tile-ico { background: rgba(22,194,168,.16); color: var(--accent-br); }
/* mini status visual inside the big tile */
.mini-status { display: flex; gap: 8px; margin-top: 18px; flex-wrap: wrap; }
.mini-status .pill { font-size: 0.68rem; }
.mini-row { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 0.8rem; color: rgba(233,242,248,.8); }
.mini-fleet { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 14px; }
.mini-fleet .ac { font-size: 0.72rem; font-weight: 600; letter-spacing: .01em; color: rgba(233,242,248,.9); background: rgba(255,255,255,.08); border: 1px solid rgba(233,242,248,.16); border-radius: 8px; padding: 4px 10px; }

/* ── Comparison ── */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.compare-col { padding: 8px 0; }
.compare-col.us { background: linear-gradient(180deg, rgba(16,160,140,.06), rgba(15,93,140,.04)); border-left: 1px solid var(--line); }
.compare-h { padding: 22px 28px; font-weight: 800; font-size: 1.05rem; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 10px; }
.compare-h.generic { color: var(--muted); }
.compare-h.us { color: var(--primary-dark); }
.compare-h .badge { font-size: 0.66rem; letter-spacing: .06em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; }
.compare-h.generic .badge { background: var(--bg-soft); color: var(--muted); }
.compare-h.us .badge { background: var(--grad); color: #fff; }
.compare-item { position: relative; padding: 18px 28px 18px 50px; border-bottom: 1px solid var(--line); font-size: 0.96rem; line-height: 1.5; color: var(--ink-2); }
.compare-item:last-child { border-bottom: none; }
.compare-item .mk { position: absolute; left: 26px; top: 18px; font-weight: 700; }
.compare-col.generic .mk { color: #c2502a; } .compare-col.us .mk { color: var(--accent); }
.compare-item b { color: var(--ink); }

/* ── Compliance chips ── */
.section.compliance { background: var(--navy); color: #fff; }
.section.compliance h2 { color: #fff; }
.section.compliance .section-head p { color: rgba(233,242,248,.72); }
.chips { display: flex; flex-wrap: wrap; gap: 12px; }
.chip {
  border: 1px solid rgba(233,242,248,.16); border-radius: 14px; padding: 16px 18px; background: rgba(255,255,255,.04);
  min-width: 220px; flex: 1 1 240px;
}
.chip .std { font-size: 0.7rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--accent-br); }
.chip h4 { color: #fff; font-size: 1rem; margin: 8px 0 5px; }
.chip p { color: rgba(233,242,248,.72); font-size: 0.88rem; }

/* ── Security row ── */
.sec-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px 22px; }
.sec-item { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 12px; padding: 18px; }
.sec-item h4 { font-size: 1rem; margin: 0 0 6px; display: flex; align-items: center; gap: 8px; }
.sec-item h4::before { content: ""; width: 9px; height: 9px; border-radius: 3px; background: var(--accent); }
.sec-item p { color: var(--muted); font-size: 0.92rem; }

/* ── Pricing ── */
.section.pricing { background: var(--bg-soft); }
.price-card {
  border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; padding: clamp(32px, 4vw, 48px);
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; box-shadow: var(--shadow);
}
.price-points { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 14px; }
.price-points li { position: relative; padding-left: 28px; color: var(--ink-2); font-size: 1rem; line-height: 1.5; }
.price-points .mk { position: absolute; left: 0; top: 1px; color: var(--accent); font-weight: 700; }
.price-points b { color: var(--ink); }
.price-cta { text-align: center; padding: 28px; border-radius: var(--r); background: var(--grad); color: #fff; }
.price-cta .big { font-size: 1.35rem; font-weight: 800; line-height: 1.25; }
.price-cta p { color: rgba(255,255,255,.85); font-size: 0.92rem; margin: 10px 0 18px; }
.price-cta .btn { background: #fff; color: var(--primary-dark); }
.price-cta .btn:hover { background: #f0f6ff; color: var(--primary-dark); }

/* ── FAQ ── */
.accordion { display: grid; gap: 12px; }
.accordion-item { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: #fff; transition: border-color .2s; }
.accordion-item:hover { border-color: var(--line-2); }
.accordion-trigger {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer; font-family: inherit;
  font-size: 1.05rem; font-weight: 700; color: var(--ink); padding: 20px 22px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.accordion-icon { width: 22px; height: 22px; flex: none; position: relative; }
.accordion-icon::before, .accordion-icon::after { content: ""; position: absolute; background: var(--primary); border-radius: 2px; transition: transform .2s, background .2s; }
.accordion-icon::before { top: 10px; left: 4px; width: 14px; height: 2px; }
.accordion-icon::after { top: 4px; left: 10px; width: 2px; height: 14px; }
.accordion-trigger[aria-expanded="true"] .accordion-icon::after { transform: scaleY(0); }
.accordion-panel { max-height: 0; overflow: hidden; transition: max-height .26s ease; }
.accordion-panel p { padding: 0 22px 22px; color: var(--ink-2); font-size: 0.98rem; }

/* ── CTA band ── */
.cta-band { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: auto -5% -60% 40%; height: 460px; background: radial-gradient(closest-side, rgba(16,160,140,.30), transparent 70%); }
.cta-inner { text-align: center; position: relative; }
.cta-band h2 { color: #fff; }
.cta-inner p { color: rgba(233,242,248,.8); font-size: 1.12rem; margin: 16px auto 0; max-width: 54ch; }
.cta-actions { display: flex; justify-content: center; gap: 12px; margin-top: 30px; flex-wrap: wrap; }
.cta-reassurance { font-size: 0.86rem; color: rgba(233,242,248,.55); margin-top: 22px; }

/* ── Footer ── */
.site-footer { background: linear-gradient(180deg, var(--navy) 0%, #081a2c 100%); border-top: 1px solid rgba(255,255,255,.06); color: rgba(233,242,248,.7); padding: 56px 0 30px; }
.footer-inner { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 36px; }
.footer-brand .brand-logo { height: 34px; filter: brightness(0) invert(1); opacity: .92; }
.footer-tagline { margin-top: 14px; font-size: 0.92rem; color: rgba(233,242,248,.55); }
.footer-heading { font-size: 0.78rem; letter-spacing: .08em; text-transform: uppercase; color: rgba(233,242,248,.5); margin: 0 0 14px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-col a { color: rgba(233,242,248,.78); font-size: 0.94rem; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(233,242,248,.1); margin-top: 44px; padding-top: 24px; text-align: center; }
.footer-bottom p { margin: 0; font-size: 0.84rem; color: rgba(233,242,248,.45); }

/* ── Scroll reveal (only hidden when JS is active, so no-JS still shows) ── */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* ── Demo modal ── */
.demo-overlay { position: fixed; inset: 0; z-index: 1000; background: rgba(10,23,34,.6); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); display: flex; align-items: center; justify-content: center; padding: 20px; }
.demo-overlay[hidden] { display: none; }
.demo-card { background: #fff; border-radius: var(--r-lg); width: 100%; max-width: 560px; max-height: 92vh; overflow-y: auto; padding: 34px; position: relative; box-shadow: var(--shadow-lg); animation: demoPop .2s ease; }
@keyframes demoPop { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
.demo-close { position: absolute; top: 14px; right: 16px; background: none; border: none; font-size: 1.7rem; line-height: 1; color: var(--muted); cursor: pointer; }
.demo-close:hover { color: var(--ink); }
.demo-mark { display: block; margin-bottom: 10px; }
.demo-card h2 { font-size: 1.6rem; margin-bottom: 8px; }
.demo-blurb { color: var(--ink-2); font-size: 0.96rem; line-height: 1.6; margin: 0 0 22px; }
.demo-form label { display: block; font-size: 0.8rem; font-weight: 700; color: var(--ink); margin-bottom: 14px; }
.demo-opt { font-weight: 400; color: var(--muted); }
.demo-form input, .demo-form textarea { display: block; width: 100%; margin-top: 6px; padding: 11px 13px; border: 1px solid var(--line-2); border-radius: 10px; font: inherit; font-size: 0.92rem; color: var(--ink); }
.demo-form textarea { resize: vertical; }
.demo-form input:focus, .demo-form textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(15,93,140,.15); }
.demo-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.demo-submit { width: 100%; margin-top: 6px; }
.demo-direct { text-align: center; font-size: 0.84rem; color: var(--muted); margin: 14px 0 0; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 520px; }
  .mock { transform: none; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .col-3, .col-2, .col-4 { grid-column: span 1; }
  .steps { grid-template-columns: 1fr; }
  .tour-panel.is-active { grid-template-columns: 1fr; gap: 22px; }
  .sec-row { grid-template-columns: 1fr 1fr; }
  .deploy-options { grid-template-columns: 1fr; }
  .price-card { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav-menu {
    position: absolute; top: 84px; left: 0; right: 0; flex-direction: column; align-items: stretch;
    background: #fff; border-bottom: 1px solid var(--line); padding: 14px; gap: 4px;
    box-shadow: var(--shadow); display: none;
  }
  .nav-menu.is-open { display: flex; }
  .nav-menu > li > a:not(.btn) { padding: 12px; }
  .nav-cta { margin: 6px 0 0; }
  .nav-cta .btn { width: 100%; }
  .nav-toggle { display: block; }
  .contrast { grid-template-columns: 1fr; }
  .compare { grid-template-columns: 1fr; }
  .compare-col.us { border-left: none; border-top: 1px solid var(--line); }
  .sec-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .demo-row { grid-template-columns: 1fr; }
}
@media (max-width: 480px) { .bento { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

@media (max-width: 1000px) { .deploy-options { grid-template-columns: 1fr; } .sec-row { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .sec-row { grid-template-columns: 1fr; } }
