/* ==========================================================================
   RiskVantis marketing site — design tokens follow the Proton Technosoft
   palette (burnt orange on warm cream, near-black ink) with the RiskVantis
   logo navy as a secondary accent for product illustrations.
   ========================================================================== */
:root {
  --ink: #1c1c1c;
  --ink-2: #3d3d3d;
  --muted: #666666;
  --muted-2: #8f8f8f;
  --line: #e6ded3;
  --line-2: #d8cfc2;
  --cream: #f5f1ec;
  --cream-2: #efe8df;
  --paper: #ffffff;
  --orange: #d04a02;
  --orange-dark: #a83b02;
  --orange-soft: #fbe9dd;
  --orange-tint: #f5a97a;
  --navy: #0b2a4a;
  --navy-2: #163e66;
  --slate: #5b6770;
  --green: #2f7d4f;
  --amber: #c98a06;
  --red: #b3261e;
  --black: #1f1f1f;

  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Inter", "Helvetica Neue", Arial, sans-serif;

  --maxw: 1200px;
  --gutter: 24px;
  --radius: 4px;
  --radius-lg: 10px;
  --shadow: 0 1px 2px rgba(28, 28, 28, .06), 0 8px 24px rgba(28, 28, 28, .06);
  --shadow-lg: 0 2px 6px rgba(28, 28, 28, .08), 0 24px 60px rgba(28, 28, 28, .12);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange); text-decoration: none; }
a:hover { color: var(--orange-dark); }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.12; margin: 0 0 .5em; color: var(--ink); letter-spacing: -.01em; }
h1 { font-size: clamp(2.4rem, 5.2vw, 4.1rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
h3 { font-size: 1.45rem; }
h4 { font-size: 1.15rem; }
h1 em, h2 em, h3 em { font-style: italic; color: var(--orange); }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 1000; }
.skip-link:focus { left: 8px; color: #fff; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.bg-cream { background: var(--cream); }
.bg-ink { background: var(--black); color: #e9e9e9; }
.bg-ink h2, .bg-ink h3, .bg-ink h4 { color: #fff; }
.bg-ink p { color: #cfcfcf; }
.center { text-align: center; }
.narrow { max-width: 760px; }
.center.narrow { margin-left: auto; margin-right: auto; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--sans); font-size: 12.5px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--orange);
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 1.5px; background: currentColor; }
.center .eyebrow::after { content: ""; width: 28px; height: 1.5px; background: currentColor; }
.lede { font-size: 1.16rem; color: var(--ink-2); max-width: 640px; }
.center .lede { margin-left: auto; margin-right: auto; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--sans); font-weight: 600; font-size: 15px; line-height: 1;
  padding: 15px 22px; border-radius: var(--radius); border: 1.5px solid transparent;
  cursor: pointer; transition: background .15s, color .15s, border-color .15s, transform .15s;
  white-space: nowrap;
}
.btn .arrow { transition: transform .15s; }
.btn:hover .arrow { transform: translateX(3px); }
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-dark); color: #fff; }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--cream); color: var(--ink); }
.btn-ghost-light { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-ghost-light:hover { background: #fff; color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.center .btn-row { justify-content: center; }
.link-arrow { font-weight: 600; font-size: 15px; display: inline-flex; gap: 8px; align-items: center; }
.link-arrow::after { content: "→"; transition: transform .15s; }
.link-arrow:hover::after { transform: translateX(3px); }

/* Top bar + header */
.topbar { background: var(--black); color: #cfcfcf; font-size: 13px; }
.topbar .container { display: flex; justify-content: flex-end; gap: 22px; padding-top: 8px; padding-bottom: 8px; }
.topbar a { color: #e0e0e0; }
.topbar a:hover { color: #fff; }
.topbar .sep { width: 1px; background: #4a4a4a; }

.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); backdrop-filter: saturate(1.4) blur(6px); }
.site-header .container { display: flex; align-items: center; gap: 28px; height: 76px; }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 38px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.main-nav > .nav-item { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px;
  font-size: 15px; font-weight: 500; color: var(--ink); background: none; border: 0;
  font-family: var(--sans); cursor: pointer; border-radius: var(--radius);
}
.nav-link:hover, .nav-item.open > .nav-link { color: var(--orange); }
.nav-link .chev { width: 10px; height: 10px; transition: transform .15s; }
.nav-item.open > .nav-link .chev { transform: rotate(180deg); }
.header-cta { display: flex; align-items: center; gap: 10px; margin-left: 12px; }
.header-cta .signin { font-size: 15px; font-weight: 500; color: var(--ink); padding: 10px 12px; }
.header-cta .signin:hover { color: var(--orange); }
.header-cta .btn { padding: 12px 18px; }

.mega {
  position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 28px; display: none; z-index: 120;
}
.nav-item.open > .mega { display: block; }
.mega::before { content: ""; position: absolute; top: -16px; left: 0; right: 0; height: 16px; }
.site-header .container { position: relative; }
.main-nav > .nav-item.is-platform { position: static; }
.mega-platform { width: auto; left: var(--gutter); right: var(--gutter); top: calc(100% - 4px); transform: none; }
.mega-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px 32px; }
.mega-col h5 { font-family: var(--sans); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--orange); margin: 0 0 10px; font-weight: 600; }
.mega-col h5 a { color: inherit; }
.mega-col ul { list-style: none; margin: 0; padding: 0; }
.mega-col li a { display: block; padding: 5px 0; color: var(--ink); font-size: 14.5px; }
.mega-col li a:hover { color: var(--orange); }
.mega-col li a .soon { font-size: 10.5px; font-weight: 600; color: var(--orange); background: var(--orange-soft); padding: 2px 6px; border-radius: 3px; margin-left: 6px; vertical-align: 1px; }
.mega-foot { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; gap: 24px; flex-wrap: wrap; font-size: 14.5px; }
.mega-simple { width: 300px; padding: 14px; }
.mega-simple a { display: block; padding: 10px 12px; border-radius: var(--radius); color: var(--ink); }
.mega-simple a strong { display: block; font-size: 14.5px; font-weight: 600; }
.mega-simple a span { display: block; font-size: 13px; color: var(--muted); line-height: 1.4; }
.mega-simple a:hover { background: var(--cream); }
.mega-simple a:hover strong { color: var(--orange); }

.nav-toggle { display: none; margin-left: auto; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: transform .2s, opacity .2s; }

/* Hero */
.hero { background: var(--cream); padding: 80px 0 96px; overflow: hidden; }
.hero .container { display: grid; grid-template-columns: 1.02fr 1fr; gap: 56px; align-items: center; }
.hero h1 { margin-bottom: 22px; }
.hero .lede { font-size: 1.2rem; }
.hero-note { margin-top: 22px; font-size: 14px; color: var(--muted); display: flex; gap: 18px; flex-wrap: wrap; }
.hero-note span::before { content: "✓"; color: var(--orange); font-weight: 700; margin-right: 6px; }
.page-hero { background: var(--cream); padding: 64px 0 72px; }
.page-hero .container { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.page-hero.solo .container { grid-template-columns: 1fr; }
.page-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.5rem); }
.hero-photo { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3; background: var(--cream-2); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }

.breadcrumbs { font-size: 13.5px; color: var(--muted); margin-bottom: 22px; }
.breadcrumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: 6px; color: var(--muted-2); }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--orange); }

.badge { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .04em; padding: 4px 10px; border-radius: 3px; }
.badge-soon { background: var(--orange); color: #fff; }
.badge-live { background: #e4f1e8; color: var(--green); }
.badge-pillar { background: #fff; color: var(--ink-2); border: 1px solid var(--line-2); }
.badge-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }

/* Stats band */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.stat { padding: 30px 26px; border-right: 1px solid var(--line-2); }
.stat:last-child { border-right: 0; }
.stat b { display: block; font-family: var(--serif); font-size: 2.6rem; font-weight: 400; color: var(--orange); line-height: 1; margin-bottom: 8px; }
.stat span { font-size: 14.5px; color: var(--ink-2); }

.framework-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 26px; }
.chip { display: inline-flex; align-items: center; font-size: 13.5px; font-weight: 500; padding: 7px 13px; border: 1px solid var(--line-2); border-radius: 999px; background: #fff; color: var(--ink-2); }
.chip.soon { border-style: dashed; color: var(--muted); }

/* Section headers */
.section-head { margin-bottom: 52px; }
.section-head.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; }
.section-head.split .lede { margin: 0; }

/* Pillar tabs */
.tabs { display: grid; grid-template-columns: 280px 1fr; gap: 40px; align-items: start; }
.tab-list { display: flex; flex-direction: column; border-left: 1px solid var(--line-2); }
.tab-btn {
  text-align: left; background: none; border: 0; border-left: 3px solid transparent; margin-left: -2px;
  padding: 14px 18px; font-family: var(--sans); font-size: 16px; font-weight: 500; color: var(--muted); cursor: pointer;
}
.tab-btn:hover { color: var(--ink); }
.tab-btn[aria-selected="true"] { color: var(--ink); border-left-color: var(--orange); font-weight: 600; }
.tab-panel { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: center; }
.tab-panel[hidden] { display: none; }
.tab-panel h3 { font-size: 1.9rem; }
.tab-panel ul { list-style: none; padding: 0; margin: 18px 0 24px; }
.tab-panel li { padding: 7px 0 7px 26px; position: relative; font-size: 15.5px; color: var(--ink-2); border-bottom: 1px solid var(--line); }
.tab-panel li::before { content: ""; position: absolute; left: 2px; top: 16px; width: 10px; height: 2px; background: var(--orange); }

/* Cards */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; transition: border-color .15s, box-shadow .15s, transform .15s; }
.card h3 { font-size: 1.3rem; margin-bottom: .4em; }
.card p { font-size: 15.5px; color: var(--ink-2); margin-bottom: .6em; }
a.card { display: block; color: inherit; }
a.card:hover { border-color: var(--orange-tint); box-shadow: var(--shadow); transform: translateY(-2px); }
a.card:hover h3 { color: var(--orange); }
.card .num { font-family: var(--serif); font-size: 15px; color: var(--orange); margin-bottom: 14px; display: block; }
.card-media { margin: -28px -28px 22px; border-radius: var(--radius-lg) var(--radius-lg) 0 0; overflow: hidden; aspect-ratio: 16 / 9; background: var(--cream-2); }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card .more { font-size: 14.5px; font-weight: 600; color: var(--orange); }
.card .soon-tag { float: right; }
.icon-box { width: 44px; height: 44px; border-radius: 8px; background: var(--orange-soft); color: var(--orange); display: grid; place-items: center; margin-bottom: 18px; }
.icon-box svg { width: 22px; height: 22px; }

.feature-list-card { padding: 24px 26px; }
.feature-list-card h3 { font-size: 1.2rem; }
.feature-list-card ul { list-style: none; padding: 0; margin: 12px 0 0; }
.feature-list-card li { padding: 6px 0; border-top: 1px solid var(--line); font-size: 15px; }
.feature-list-card li a { color: var(--ink); display: flex; justify-content: space-between; gap: 10px; }
.feature-list-card li a:hover { color: var(--orange); }

/* Benefits */
.benefit { background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--orange); border-radius: var(--radius); padding: 26px; }
.benefit .kind { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: var(--muted); margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.benefit .kind svg { width: 16px; height: 16px; color: var(--orange); }
.benefit .metric { font-family: var(--serif); font-size: 2.1rem; color: var(--ink); line-height: 1.05; margin-bottom: 10px; }
.benefit .metric small { font-size: 1rem; color: var(--muted); font-family: var(--sans); }
.benefit h3 { font-size: 1.12rem; font-family: var(--sans); font-weight: 600; margin-bottom: 6px; }
.benefit p { font-size: 15px; color: var(--ink-2); margin: 0; }
.disclaimer { font-size: 13px; color: var(--muted); margin-top: 22px; }

/* Capability rows */
.cap-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 48px; }
.cap { padding: 22px 0; border-top: 1px solid var(--line-2); display: grid; grid-template-columns: 34px 1fr; gap: 14px; }
.cap .n { font-family: var(--serif); color: var(--orange); font-size: 1.1rem; }
.cap h3 { font-family: var(--sans); font-size: 1.05rem; font-weight: 600; margin-bottom: 4px; }
.cap p { font-size: 15px; color: var(--ink-2); margin: 0; }

/* Steps */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step { position: relative; padding-top: 52px; }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); position: absolute; top: 0; left: 0; font-family: var(--serif); font-size: 1.9rem; color: var(--orange); }
.step::after { content: ""; position: absolute; top: 20px; left: 56px; right: 8px; height: 1px; background: var(--line-2); }
.step:last-child::after { display: none; }
.step h3 { font-family: var(--sans); font-size: 1.05rem; font-weight: 600; margin-bottom: 6px; }
.step p { font-size: 15px; color: var(--ink-2); margin: 0; }
.bg-ink .step p { color: #c9c9c9; }
.bg-ink .step::after { background: #444; }

/* Split feature */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.reverse > :first-child { order: 2; }
.photo { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3; background: var(--cream-2); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.check-list { list-style: none; padding: 0; margin: 18px 0; }
.check-list li { padding: 7px 0 7px 30px; position: relative; color: var(--ink-2); }
.check-list li::before { content: ""; position: absolute; left: 0; top: 11px; width: 18px; height: 18px; border-radius: 50%; background: var(--orange-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%23d04a02' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; }

/* Tags */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }

/* FAQ */
.faq { border-top: 1px solid var(--line-2); }
.faq details { border-bottom: 1px solid var(--line-2); padding: 4px 0; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 40px 18px 0; font-weight: 600; font-size: 1.05rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 12px; font-size: 1.6rem; font-weight: 300; color: var(--orange); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--ink-2); padding-bottom: 12px; }

/* CTA band */
.cta-band { background: var(--orange); color: #fff; padding: 72px 0; }
.cta-band .container { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; }
.cta-band h2 { color: #fff; margin: 0; }
.cta-band h2 em { color: #fff; }
.cta-band p { color: #fde9dc; margin: 10px 0 0; }
.cta-band .btn-row { justify-content: flex-end; margin: 0; }

/* ROI estimator */
.roi { display: grid; grid-template-columns: 1fr 1fr; gap: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.roi-inputs { padding: 36px; }
.roi-out { padding: 36px; background: var(--black); color: #fff; display: flex; flex-direction: column; justify-content: center; }
.roi label { display: block; font-size: 14px; font-weight: 600; margin: 0 0 6px; }
.roi .field { margin-bottom: 22px; }
.roi input[type=range] { width: 100%; accent-color: var(--orange); }
.roi .val { float: right; font-weight: 600; color: var(--orange); }
.roi-big { font-family: var(--serif); font-size: 3.2rem; line-height: 1; color: #fff; }
.roi-big-label { color: #cfcfcf; font-size: 14px; margin: 6px 0 22px; }
.roi-row { display: flex; justify-content: space-between; padding: 10px 0; border-top: 1px solid #3a3a3a; font-size: 15px; }
.roi-row b { color: var(--orange-tint); }
.roi .disclaimer { color: #9a9a9a; }

/* Forms */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.form-grid .full { grid-column: 1 / -1; }
.form-card label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.form-card input, .form-card select, .form-card textarea {
  width: 100%; font: inherit; font-size: 15px; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: var(--radius); background: #fff; color: var(--ink);
}
.form-card input:focus, .form-card select:focus, .form-card textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px var(--orange-soft); }
.form-card fieldset { border: 0; padding: 0; margin: 0; }
.form-card .checks { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 12px; font-size: 14.5px; }
.form-card .checks label { font-weight: 400; display: flex; gap: 8px; align-items: center; margin: 0; }
.form-card .checks input { width: auto; }
.form-note { font-size: 13px; color: var(--muted); margin-top: 14px; }
.form-success { display: none; padding: 16px; background: #e4f1e8; color: var(--green); border-radius: var(--radius); margin-top: 16px; font-weight: 500; }

/* Roadmap */
.roadmap-item { display: grid; grid-template-columns: 180px 1fr; gap: 24px; padding: 28px 0; border-top: 1px solid var(--line-2); }
.roadmap-item h3 { margin-bottom: 6px; }

/* Footer */
.site-footer { background: var(--black); color: #bdbdbd; padding: 72px 0 28px; font-size: 14.5px; }
.footer-top { display: grid; grid-template-columns: 1.3fr repeat(4, 1fr); gap: 32px; }
.footer-brand img { height: 40px; width: auto; margin-bottom: 18px; }
.footer-brand p { color: #a8a8a8; max-width: 300px; }
.site-footer h4 { font-family: var(--sans); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #fff; font-weight: 600; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { padding: 4px 0; }
.site-footer a { color: #bdbdbd; }
.site-footer a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid #333; margin-top: 52px; padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13px; color: #8a8a8a; }
.footer-bottom a { color: #8a8a8a; margin-left: 16px; }
.tagline-foot { font-family: var(--serif); font-style: italic; color: var(--orange-tint); font-size: 1.1rem; }

/* ==========================================================================
   Product illustrations (HTML mock UIs, fictitious sample data)
   ========================================================================== */
.mock { background: #fff; border: 1px solid var(--line-2); border-radius: 10px; box-shadow: var(--shadow-lg); overflow: hidden; font-family: var(--sans); font-size: 12.5px; color: #25313b; position: relative; }
.mock-bar { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: var(--navy); color: #fff; }
.mock-bar .dots { display: flex; gap: 5px; }
.mock-bar .dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.28); display: block; }
.mock-bar .ttl { font-weight: 600; font-size: 12.5px; letter-spacing: .01em; }
.mock-bar .ai { margin-left: auto; font-size: 10.5px; font-weight: 600; background: var(--orange); padding: 3px 8px; border-radius: 3px; }
.mock-body { padding: 16px; }
.mock-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 14px; }
.mock-kpi { border: 1px solid #e3e7eb; border-left: 3px solid var(--c, var(--navy)); border-radius: 5px; padding: 8px 10px; }
.mock-kpi b { display: block; font-size: 19px; font-weight: 700; color: #16222c; line-height: 1.1; }
.mock-kpi span { font-size: 10.5px; color: #6b7883; }
.mock-chart { display: flex; align-items: flex-end; gap: 6px; height: 88px; padding: 8px 8px 0; border: 1px solid #e3e7eb; border-radius: 5px; margin-bottom: 14px; }
.mock-chart i { flex: 1; background: var(--navy-2); border-radius: 2px 2px 0 0; display: block; opacity: .85; }
.mock-chart i.o { background: var(--orange); }
.mock-table { width: 100%; border-collapse: collapse; }
.mock-table th { text-align: left; font-size: 10.5px; text-transform: uppercase; letter-spacing: .06em; color: #6b7883; font-weight: 600; padding: 6px 8px; border-bottom: 1px solid #e3e7eb; }
.mock-table td { padding: 7px 8px; border-bottom: 1px solid #eef1f3; vertical-align: middle; }
.mock-table td.id { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--navy-2); font-size: 11.5px; white-space: nowrap; }
.pill { display: inline-block; font-size: 10.5px; font-weight: 600; padding: 2px 7px; border-radius: 10px; white-space: nowrap; }
.pill.crit { background: #fde2e1; color: #9d1c14; }
.pill.high { background: #fdebdc; color: #a8430a; }
.pill.med { background: #fdf3d6; color: #8a6200; }
.pill.low { background: #e2f0e7; color: #226b40; }
.pill.info { background: #e3ecf6; color: var(--navy-2); }
.pill.ok { background: #e2f0e7; color: #226b40; }
.mock-cov-row { display: grid; grid-template-columns: 130px 1fr 38px; gap: 10px; align-items: center; padding: 6px 0; border-bottom: 1px solid #eef1f3; }
.mock-cov-row:last-child { border-bottom: 0; }
.bar { height: 8px; background: #eef1f3; border-radius: 4px; overflow: hidden; }
.bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--navy-2), var(--navy)); border-radius: 4px; }
.bar i.o { background: var(--orange); }
.mock-cov-row b { font-size: 11.5px; text-align: right; color: #16222c; }
.mock-flow { display: flex; gap: 6px; margin-bottom: 14px; }
.mock-flow div { flex: 1; text-align: center; font-size: 10.5px; font-weight: 600; padding: 8px 4px; border-radius: 4px; background: #eef1f3; color: #6b7883; }
.mock-flow div.done { background: #e2f0e7; color: #226b40; }
.mock-flow div.now { background: var(--orange); color: #fff; }
.mock-card { border: 1px solid #e3e7eb; border-radius: 6px; padding: 10px 12px; margin-bottom: 8px; }
.mock-card .h { display: flex; justify-content: space-between; gap: 8px; font-weight: 600; color: #16222c; margin-bottom: 4px; }
.mock-card p { margin: 0; color: #56636e; font-size: 11.5px; line-height: 1.45; }
.mock-card .src { font-size: 10.5px; color: #8a96a0; margin-top: 4px; }
.mock-chat .q { background: #eef1f3; padding: 9px 12px; border-radius: 10px 10px 10px 2px; margin-bottom: 10px; width: 82%; }
.mock-chat .a { background: #f7f3ee; border: 1px solid #efe4d8; padding: 10px 12px; border-radius: 10px 10px 2px 10px; margin: 0 0 10px auto; width: 88%; }
.mock-chat .confirm { display: flex; gap: 6px; margin-top: 8px; }
.mock-chat .confirm span { font-size: 10.5px; font-weight: 600; padding: 4px 9px; border-radius: 4px; background: var(--orange); color: #fff; }
.mock-chat .confirm span + span { background: #fff; color: #56636e; border: 1px solid #d9dfe4; }
.mock-cmp { width: 100%; border-collapse: collapse; }
.mock-cmp th, .mock-cmp td { padding: 6px 8px; border-bottom: 1px solid #eef1f3; text-align: center; font-size: 11.5px; }
.mock-cmp th:first-child, .mock-cmp td:first-child { text-align: left; }
.mock-cmp th { font-size: 10.5px; color: #6b7883; text-transform: uppercase; letter-spacing: .05em; }
.mock-cmp tr.total td { font-weight: 700; color: #16222c; border-bottom: 0; }
.score { display: inline-block; min-width: 30px; padding: 2px 6px; border-radius: 4px; font-weight: 600; }
.score.g { background: #e2f0e7; color: #226b40; } .score.a { background: #fdf3d6; color: #8a6200; } .score.r { background: #fde2e1; color: #9d1c14; }
.mock-cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.mock-cal .dh { font-size: 10px; color: #8a96a0; text-align: center; font-weight: 600; }
.mock-cal .d { border: 1px solid #eef1f3; border-radius: 4px; height: 38px; padding: 3px 4px; font-size: 10px; color: #8a96a0; position: relative; }
.mock-cal .d i { position: absolute; left: 4px; right: 4px; bottom: 4px; height: 5px; border-radius: 3px; background: var(--navy-2); display: block; }
.mock-cal .d i.o { background: var(--orange); }
.mock-cal .d i.g { background: #3c9a63; }
.mock-doc .line { height: 7px; background: #eef1f3; border-radius: 4px; margin: 7px 0; }
.mock-doc .line.s { width: 70%; } .mock-doc .line.m { width: 86%; }
.mock-doc h6 { font-size: 12px; margin: 12px 0 4px; color: #16222c; font-family: var(--sans); font-weight: 700; }
.mock-doc .gen { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 11px; background: var(--orange-soft); color: var(--orange-dark); padding: 5px 9px; border-radius: 4px; }
.mock-graph svg { width: 100%; height: auto; display: block; }
.mock-float { position: absolute; right: -18px; bottom: -22px; width: 58%; }
.mock-wrap { position: relative; padding: 0 18px 22px 0; }
.mock-note { font-size: 11px; color: var(--muted); margin-top: 10px; text-align: right; }

/* Utility */
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 12px; } .mt-2 { margin-top: 24px; } .mt-3 { margin-top: 40px; }
.mb-0 { margin-bottom: 0; }
.hide-sm { }
.prose h2 { font-size: 1.8rem; margin-top: 1.4em; }
.prose p, .prose li { color: var(--ink-2); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .main-nav, .header-cta { display: none; }
  .nav-toggle { display: block; }
  .site-header.menu-open .main-nav {
    display: flex; flex-direction: column; align-items: stretch; position: absolute; top: 76px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 12px var(--gutter) 20px; max-height: calc(100vh - 76px); overflow-y: auto; gap: 0;
  }
  .site-header.menu-open .main-nav .mobile-cta { display: flex; }
  .nav-link { width: 100%; justify-content: space-between; padding: 14px 4px; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 16px; }
  .mega, .mega-platform { position: static; left: auto; right: auto; transform: none; width: auto; box-shadow: none; border: 0; padding: 8px 4px 16px; }
  .mega::before { display: none; }
  .mega-grid { grid-template-columns: 1fr; gap: 16px; }
  .mega-simple { width: auto; }
  .site-header.menu-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .site-header.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .site-header.menu-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
.mobile-cta { display: none; gap: 10px; padding-top: 18px; flex-wrap: wrap; }
@media (max-width: 960px) {
  .hero .container, .page-hero .container, .split, .tab-panel, .section-head.split, .cta-band .container, .roi { grid-template-columns: 1fr; }
  .split.reverse > :first-child { order: 0; }
  .tabs { grid-template-columns: 1fr; }
  .tab-list { flex-direction: row; overflow-x: auto; border-left: 0; border-bottom: 1px solid var(--line-2); }
  .tab-btn { border-left: 0; border-bottom: 3px solid transparent; margin: 0 0 -1px; white-space: nowrap; padding: 12px 14px; }
  .tab-btn[aria-selected="true"] { border-bottom-color: var(--orange); }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line-2); }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 32px 20px; }
  .step::after { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .cta-band .btn-row { justify-content: flex-start; }
  .mock-float { position: static; width: 100%; margin-top: 14px; }
  .mock-wrap { padding: 0; }
  .roadmap-item { grid-template-columns: 1fr; gap: 8px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .section { padding: 64px 0; }
  .section-sm { padding: 48px 0; }
  .hero { padding: 48px 0 64px; }
  .grid-2, .grid-3, .grid-4, .cap-grid, .form-grid, .form-card .checks { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .topbar .container { justify-content: center; gap: 14px; font-size: 12px; }
  .topbar .hide-xs { display: none; }
  .mock-kpis { grid-template-columns: repeat(2, 1fr); }
  .mock-cov-row { grid-template-columns: 96px 1fr 34px; }
  .roi-inputs, .roi-out, .form-card { padding: 24px; }
  .brand img { height: 32px; }
  .stat { padding: 20px 14px; }
  .stat b { font-size: 2rem; }
  .stat span { font-size: 13.5px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
