/* Flowtor website styles.
   Brand: navy #111D3F / deep navy #0C142D, mint #67DDAC, Inter.
   Logo and icon are the original designer files in /assets/brand/. */
:root {
  --navy-deep: #0C142D;
  --navy: #111D3F;
  --navy-2: #1B2A55;
  --navy-3: #24366B;
  --ink: #111A33;
  --body: #3F4A63;
  --muted: #6A7389;
  --line: #E3E7EF;
  --paper: #FFFFFF;
  --tint: #F4F6FA;
  --mint: #67DDAC;
  --mint-2: #8BE6C0;
  --mint-ink: #0F6B4A;
  --mint-tint: #E7F8F0;
  --amber: #F2B544;
  --amber-tint: #FFF4DE;
  --amber-ink: #8A5A00;
  --red-tint: #FDECEC;
  --red-ink: #A23B3B;
  --slate-tint: #EEF0F5;
  --on-dark: #C9D2E8;
  --on-dark-muted: #93A0BD;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(12,20,45,.06), 0 8px 24px rgba(12,20,45,.06);
  --shadow-lg: 0 2px 6px rgba(0,0,0,.18), 0 30px 60px rgba(0,0,0,.35);
  --wrap: 1160px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--body);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; margin: 0 0 .6em; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.15rem, 4.8vw, 3.5rem); font-weight: 800; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.35rem); font-weight: 800; letter-spacing: -0.025em; }
h3 { font-size: 1.12rem; font-weight: 700; }
p { margin: 0 0 1em; }
a { color: var(--navy-2); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
ul, ol { padding-left: 1.2em; margin: 0 0 1em; }
li { margin: .3em 0; }
img { max-width: 100%; height: auto; display: block; }
blockquote {
  margin: 1.6em 0; padding: .2em 0 .2em 1.1em; border-left: 3px solid var(--mint);
  font-size: 1.2rem; color: var(--ink); font-weight: 500;
}

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.muted { color: var(--muted); }
.lead { font-size: 1.2rem; color: var(--body); max-width: 46rem; }
.hl { color: var(--mint); }
.eyebrow {
  font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em;
  color: var(--mint-ink); margin-bottom: .9em;
}
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; background: #fff; padding: 8px 12px; z-index: 10; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px; background: var(--navy); color: #fff; text-decoration: none;
  padding: 13px 22px; border-radius: 12px; font-weight: 700; font-size: .97rem;
  border: 1px solid var(--navy); transition: background .15s, border-color .15s, transform .15s;
}
.btn:hover { background: var(--navy-2); color: #fff; }
.btn-ghost { background: transparent; color: var(--navy); border-color: #C9CFDC; }
.btn-ghost:hover { background: var(--tint); color: var(--navy); }
.btn-mint { background: var(--mint); color: var(--navy-deep); border-color: var(--mint); }
.btn-mint:hover { background: var(--mint-2); border-color: var(--mint-2); color: var(--navy-deep); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.3); }
.btn-outline-light:hover { background: rgba(255,255,255,.08); color: #fff; }
.btn-small { padding: 9px 15px; font-size: .9rem; border-radius: 10px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.8em; }
.text-link { font-weight: 700; text-decoration: none; color: var(--navy-2); }
.text-link::after { content: " \2192"; }

/* ---------- header ---------- */
.site-header { border-bottom: 1px solid var(--line); background: rgba(255,255,255,.97); position: sticky; top: 0; z-index: 20; backdrop-filter: saturate(1.4) blur(8px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 70px; gap: 16px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; flex: none; }
.brand img { height: 40px; width: auto; }
@media (max-width: 640px) { .brand img { height: 36px; } }
.site-nav { display: flex; align-items: center; gap: 24px; }
.site-nav a { text-decoration: none; color: var(--ink); font-size: .94rem; font-weight: 500; }
.site-nav a:hover { color: var(--mint-ink); }
.site-nav a[aria-current="page"] { color: var(--mint-ink); font-weight: 600; }
.site-nav .btn { color: #fff; }
.nav-signin { color: var(--navy-2) !important; font-weight: 700 !important; padding-left: 20px; border-left: 1px solid var(--line); }
.nav-toggle, .nav-toggle-label { display: none; }

@media (max-width: 960px) {
  .nav-toggle-label { display: block; width: 42px; height: 42px; position: relative; cursor: pointer; border-radius: 10px; }
  .nav-toggle-label span, .nav-toggle-label span::before, .nav-toggle-label span::after {
    content: ""; position: absolute; left: 10px; right: 10px; height: 2px; background: var(--navy); border-radius: 2px;
  }
  .nav-toggle-label span { top: 20px; }
  .nav-toggle-label span::before { left: 0; right: 0; top: -7px; }
  .nav-toggle-label span::after { left: 0; right: 0; top: 7px; }
  .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 70px; background: #fff;
    flex-direction: column; align-items: stretch; padding: 10px 20px 22px; gap: 0;
    border-bottom: 1px solid var(--line); box-shadow: 0 16px 30px rgba(17,29,63,.1);
  }
  .site-nav a { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .nav-signin { border-left: 0; padding-left: 0; }
  .site-nav .btn { margin-top: 14px; justify-content: center; border-bottom: 0; }
  .nav-toggle:checked ~ .site-nav { display: flex; }
}

/* ---------- sections ---------- */
.section { padding: 88px 0; }
.section-tint { background: var(--tint); }
.section-navy { background: var(--navy-deep); color: var(--on-dark); }
.section-navy h2, .section-navy h3 { color: #fff; }
.section-navy a:not(.btn) { color: #fff; }
.section-head { max-width: 48rem; margin-bottom: 2.6em; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p:last-child { margin-bottom: 0; }

/* plain hero (pages not yet redesigned) */
.hero { padding: 84px 0 70px; }
.hero h1 { max-width: 18em; }
.hero .lead { margin-top: 1em; }
.hero-note { margin-top: 1.4em; font-size: .92rem; color: var(--muted); }

/* dark hero with visual */
.hero-dark {
  position: relative; overflow: hidden; color: var(--on-dark);
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(103,221,172,.13), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(36,54,107,.55), transparent 60%),
    linear-gradient(180deg, #0C142D 0%, #0E1830 55%, #0A1228 100%);
  padding: 88px 0 96px;
}
.hero-dark::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
}
.hero-dark .wrap { position: relative; }
.hero-dark h1 { color: #fff; }
.hero-dark .lead { color: var(--on-dark); }
.hero-dark .eyebrow { color: var(--mint); }
.hero-dark .hero-note { color: var(--on-dark-muted); }
.hero-dark .btn-ghost { color: #fff; border-color: rgba(255,255,255,.3); }
.hero-dark .btn-ghost:hover { background: rgba(255,255,255,.08); color: #fff; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.hero-grid h1 { font-size: clamp(2.1rem, 3.9vw, 3.05rem); }
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; gap: 48px; } }
@media (max-width: 640px) { .hero-dark { padding: 56px 0 64px; } }

.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.split-start { align-items: start; }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .split { grid-template-columns: 1fr; gap: 36px; } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } .section { padding: 64px 0; } .hero { padding: 56px 0 48px; } }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
}
.card h3 { margin-bottom: .4em; }
.card p:last-child { margin-bottom: 0; }
.section-tint .card { border-color: #DDE2EC; }
.card-elevated { box-shadow: var(--shadow); border-color: transparent; }

/* icon tiles */
.icon-tile {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: var(--mint-tint); color: var(--mint-ink); margin-bottom: 18px;
}
.icon-tile svg { width: 24px; height: 24px; }
.icon-tile.navy { background: var(--navy); color: var(--mint); }

/* ---------- product illustration (HTML mock with sample data) ---------- */
.mock-wrap { position: relative; }
.mock {
  background: #fff; color: var(--body); border-radius: 18px; box-shadow: var(--shadow-lg);
  overflow: hidden; font-size: 13.5px; line-height: 1.45; border: 1px solid rgba(255,255,255,.08);
}
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 11px 14px; background: #F3F5F9; border-bottom: 1px solid var(--line); }
.mock-bar i { width: 9px; height: 9px; border-radius: 50%; background: #D5DAE4; display: block; }
.mock-bar span { margin-left: 10px; font-size: 11.5px; color: var(--muted); font-weight: 500; }
.mock-body { padding: 18px 18px 8px; }
.mock-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.mock-title { font-weight: 700; color: var(--ink); font-size: 15px; }
.mock-sub { color: var(--muted); font-size: 12px; }
.chip { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 999px; font-size: 11px; font-weight: 700; white-space: nowrap; }
.chip-ok { background: var(--mint-tint); color: var(--mint-ink); }
.chip-warn { background: var(--amber-tint); color: var(--amber-ink); }
.chip-risk { background: var(--red-tint); color: var(--red-ink); }
.chip-muted { background: var(--slate-tint); color: #4A5470; }
.mock-steps { list-style: none; margin: 0; padding: 0; }
.mock-steps li { display: grid; grid-template-columns: 18px 1fr auto; gap: 10px; align-items: center; padding: 8px 0; border-top: 1px solid #EEF1F6; margin: 0; }
.mock-steps li:first-child { border-top: 0; }
.dot { width: 12px; height: 12px; border-radius: 50%; border: 2px solid #C6CDDB; background: #fff; }
.dot.done { background: var(--mint); border-color: var(--mint); }
.dot.now { border-color: var(--amber); box-shadow: 0 0 0 4px rgba(242,181,68,.2); }
.mock-steps b { color: var(--ink); font-weight: 600; }
.mock-steps small { color: var(--muted); display: block; font-size: 11.5px; }
.assist {
  position: relative; margin: -6px 18px 18px 46px; background: var(--navy); color: var(--on-dark);
  border-radius: 14px; padding: 14px 16px; box-shadow: 0 18px 40px rgba(0,0,0,.35); font-size: 13px;
}
.assist-head { display: flex; align-items: center; gap: 8px; color: #fff; font-weight: 700; font-size: 12.5px; margin-bottom: 8px; }
.assist-head .spark { width: 20px; height: 20px; border-radius: 6px; background: var(--mint); color: var(--navy-deep); display: grid; place-items: center; }
.assist-head .spark svg { width: 12px; height: 12px; }
.assist p { margin: 0 0 8px; }
.assist .diff { background: rgba(255,255,255,.06); border-radius: 8px; padding: 8px 10px; margin-bottom: 10px; color: #fff; }
.assist .diff s { color: var(--on-dark-muted); }
.assist .diff ins { text-decoration: none; color: var(--mint); font-weight: 700; }
.assist .src { color: var(--on-dark-muted); font-size: 11.5px; }
.assist-actions { display: flex; gap: 8px; margin-top: 10px; }
.assist-actions span { padding: 6px 12px; border-radius: 8px; font-weight: 700; font-size: 12px; }
.assist-actions .yes { background: var(--mint); color: var(--navy-deep); }
.assist-actions .no { border: 1px solid rgba(255,255,255,.25); color: #fff; }
.mock-caption { margin-top: 16px; font-size: 12.5px; color: var(--on-dark-muted); display: flex; gap: 8px; align-items: flex-start; }
.mock-caption::before { content: "i"; flex: none; width: 16px; height: 16px; border-radius: 50%; border: 1px solid currentColor; font: 700 10px/14px Inter, sans-serif; text-align: center; margin-top: 1px; }
.on-light .mock-caption, .mock-caption.on-light { color: var(--muted); }
@media (max-width: 520px) { .assist { margin-left: 12px; margin-right: 12px; } .mock { font-size: 13px; } }

/* findings mock (Operations Scan) */
.stage-meter { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 6px 0 4px; }
.stage-meter span { height: 8px; border-radius: 4px; background: #E3E7EF; }
.stage-meter span.on { background: var(--mint); }
.stage-labels { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; font-size: 11px; color: var(--muted); }
.stage-labels b { color: var(--ink); }
.finding { border: 1px solid #E6E9F0; border-radius: 12px; padding: 11px 12px; margin-top: 10px; }
.finding-top { display: flex; justify-content: space-between; gap: 8px; align-items: center; margin-bottom: 4px; }
.finding b { color: var(--ink); font-size: 13.5px; }
.finding q { display: block; color: var(--body); font-style: italic; font-size: 12.5px; quotes: "\201C" "\201D"; }
.finding .meta { font-size: 11.5px; color: var(--muted); margin-top: 4px; }

/* ---------- assistant workflow (3 steps) ---------- */
.flow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; counter-reset: flow; position: relative; }
.flow-step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; position: relative; counter-increment: flow; display: flex; flex-direction: column; }
.section-tint .flow-step { border-color: #DDE2EC; }
.flow-step::before {
  content: counter(flow); position: absolute; top: -14px; left: 24px; width: 28px; height: 28px; border-radius: 50%;
  background: var(--navy); color: var(--mint); font-weight: 800; font-size: 13px; display: grid; place-items: center;
}
.flow-step h3 { margin-top: 6px; }
.flow-step > p { font-size: .96rem; }
.flow-visual { margin-top: auto; background: var(--tint); border-radius: 12px; padding: 12px; font-size: 13px; }
.section-tint .flow-visual { background: #fff; border: 1px solid #E6E9F0; }
.flow-visual .row { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 6px 4px; border-top: 1px solid rgba(17,29,63,.06); }
.flow-visual .row:first-child { border-top: 0; }
.flow-visual .row span:first-child { color: var(--ink); font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.flow-visual .file { display: inline-flex; align-items: center; gap: 8px; }
.flow-visual .file i { width: 22px; height: 26px; border-radius: 4px; background: #fff; border: 1px solid #D5DAE4; font: 700 7px/24px Inter, sans-serif; color: var(--muted); text-align: center; font-style: normal; flex: none; }
.flow-status { margin-top: 14px; font-size: 12.5px; color: var(--muted); display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
@media (max-width: 900px) { .flow { grid-template-columns: 1fr; gap: 30px; } }

/* ---------- journey ---------- */
.journey { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); gap: 0; counter-reset: step; position: relative; }
.journey li { margin: 0; padding: 30px 14px 0 0; position: relative; counter-increment: step; }
.journey li::after { content: ""; position: absolute; top: 12px; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--mint), #B7EBD5); }
.journey li:last-child::after { right: auto; width: 26px; }
.journey li::before { content: counter(step); position: absolute; top: 0; left: 0; width: 27px; height: 27px; border-radius: 50%; background: var(--navy); color: var(--mint); font-size: .78rem; font-weight: 800; display: grid; place-items: center; z-index: 1; box-shadow: 0 0 0 5px var(--tint); }
.section:not(.section-tint) .journey li::before { box-shadow: 0 0 0 5px #fff; }
.journey li strong { display: block; color: var(--ink); margin: 6px 0 4px; }
.journey li span { font-size: .92rem; color: var(--muted); }
@media (max-width: 900px) {
  .journey { grid-template-columns: 1fr; }
  .journey li { padding: 2px 0 22px 46px; }
  .journey li::after { top: 0; bottom: 0; left: 12px; right: auto; width: 3px; height: auto; background: linear-gradient(180deg, var(--mint), #B7EBD5); }
  .journey li:last-child::after { display: none; }
  .journey li strong { margin-top: 0; }
}

/* ---------- before / after ---------- */
.compare { display: grid; gap: 14px; }
.compare-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.compare-row > div { padding: 18px 22px; }
.compare-row .before { background: #FAFBFD; border-right: 1px solid var(--line); color: var(--muted); }
.compare-row .after { color: var(--ink); }
.compare-row .label { display: block; font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 4px; }
.compare-row .before .label { color: #9AA2B5; }
.compare-row .after .label { color: var(--mint-ink); }
@media (max-width: 640px) { .compare-row { grid-template-columns: 1fr; } .compare-row .before { border-right: 0; border-bottom: 1px solid var(--line); } }

/* ---------- status table ---------- */
.status-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; font-size: .97rem; }
.status-table th, .status-table td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.status-table th { font-size: .76rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); background: var(--tint); }
.status-table tr:last-child td { border-bottom: 0; }
.pill { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .78rem; font-weight: 700; white-space: nowrap; }
.pill-live { background: var(--mint-tint); color: var(--mint-ink); }
.pill-dev { background: var(--amber-tint); color: var(--amber-ink); }
.pill-plan { background: var(--slate-tint); color: #4A5470; }
@media (max-width: 640px) {
  .status-table thead { display: none; }
  .status-table, .status-table tbody, .status-table tr, .status-table td { display: block; width: 100%; }
  .status-table tr { border-bottom: 1px solid var(--line); padding: 8px 0; }
  .status-table td { border: 0; padding: 6px 16px; }
}

/* ---------- steps ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; counter-reset: s; }
.steps li { counter-increment: s; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px 16px 64px; position: relative; margin: 0; }
.section-tint .steps li { border-color: #DDE2EC; }
.steps li::before { content: counter(s); position: absolute; left: 18px; top: 15px; width: 30px; height: 30px; border-radius: 9px; background: var(--navy); color: var(--mint); font-weight: 800; font-size: .9rem; display: grid; place-items: center; }
.steps li strong { color: var(--ink); }

/* maturity stages */
.stages { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; align-items: end; }
.stage { border: 1px solid #DDE2EC; border-radius: var(--radius); padding: 22px; background: #fff; position: relative; overflow: hidden; display: flex; flex-direction: column; }
.stage .bar { display: flex; gap: 4px; margin-bottom: 18px; }
.stage .bar i { height: 6px; flex: 1; border-radius: 3px; background: #E3E7EF; }
.stage .bar i.on { background: var(--mint); }
.stage .num { font-size: .78rem; font-weight: 800; color: var(--mint-ink); letter-spacing: .06em; }
.stage h3 { margin-top: 4px; }
.stage .note { font-size: .9rem; color: var(--muted); margin-top: auto; padding-top: 12px; border-top: 1px dashed #DDE2EC; margin-bottom: 0; }
.stage:nth-child(1) { min-height: 300px; }
.stage:nth-child(2) { min-height: 320px; }
.stage:nth-child(3) { min-height: 340px; }
.stage:nth-child(4) { min-height: 360px; background: var(--navy); border-color: var(--navy); color: var(--on-dark); }
.stage:nth-child(4) h3 { color: #fff; }
.stage:nth-child(4) .num { color: var(--mint); }
.stage:nth-child(4) .note { color: var(--on-dark-muted); border-color: rgba(255,255,255,.15); }
.stage:nth-child(4) .bar i { background: rgba(255,255,255,.15); }
.stage:nth-child(4) .bar i.on { background: var(--mint); }
@media (max-width: 900px) { .stages { grid-template-columns: 1fr 1fr; } .stage { min-height: 0 !important; } }
@media (max-width: 560px) { .stages { grid-template-columns: 1fr; } }

.route-card { display: flex; flex-direction: column; text-decoration: none; color: inherit; padding: 0; overflow: hidden; transition: border-color .15s, box-shadow .15s; }
.route-card:hover { border-color: #B9C2D6; box-shadow: var(--shadow); }
.route-card h3 { color: var(--ink); }
.route-card .route-media { aspect-ratio: 16 / 7; background: var(--navy); position: relative; overflow: hidden; }
.route-card .route-media img { width: 100%; height: 100%; object-fit: cover; }
.route-card .route-body { padding: 24px 26px 26px; }
.route-media svg { display: block; }

.callout { background: var(--mint-tint); border-radius: var(--radius); padding: 20px 22px; color: #1D4F3B; }
.callout strong { color: #0B3D2A; }

.cta-band { text-align: left; }
.cta-band .lead { color: var(--on-dark); }
.cta-panel {
  border-radius: 24px; padding: 56px; color: var(--on-dark); position: relative; overflow: hidden;
  background: radial-gradient(600px 300px at 100% 0%, rgba(103,221,172,.18), transparent 60%), var(--navy-deep);
}
.cta-panel h2 { color: #fff; max-width: 22em; }
.cta-panel .lead { color: var(--on-dark); }
@media (max-width: 640px) { .cta-panel { padding: 36px 24px; border-radius: 18px; } }

.check-list { list-style: none; padding: 0; }
.check-list li { position: relative; padding-left: 32px; margin: .55em 0; }
.check-list li::before { content: ""; position: absolute; left: 0; top: .2em; width: 20px; height: 20px; border-radius: 6px; background: var(--mint-tint); }
.check-list li::after { content: ""; position: absolute; left: 6px; top: .55em; width: 8px; height: 4px; border-left: 2px solid var(--mint-ink); border-bottom: 2px solid var(--mint-ink); transform: rotate(-45deg); }
.dash-list { list-style: none; padding: 0; }
.dash-list li { position: relative; padding-left: 22px; }
.dash-list li::before { content: ""; position: absolute; left: 2px; top: .8em; width: 10px; height: 2px; background: var(--muted); }

.founder { display: grid; grid-template-columns: 1fr; gap: 10px; border-left: 3px solid var(--mint); padding-left: 22px; }
.founder .sig { font-weight: 600; color: var(--ink); margin: 0; }

/* founder with portrait */
.founder-panel { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 48px; align-items: center; }
.founder-panel .portrait { border-radius: 20px; overflow: hidden; background: #1A2440; aspect-ratio: 4 / 5; box-shadow: var(--shadow); }
.founder-panel .portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.founder-panel .quote { font-size: clamp(1.25rem, 2.2vw, 1.6rem); line-height: 1.4; color: var(--ink); font-weight: 600; letter-spacing: -0.01em; margin: 0 0 .8em; }
.founder-panel .sig { font-weight: 700; color: var(--ink); margin: 0; }
.founder-panel .sig span { display: block; font-weight: 400; color: var(--muted); font-size: .95rem; }
@media (max-width: 760px) and (min-width: 641px) { .founder-panel { grid-template-columns: 200px minmax(0, 1fr); gap: 32px; } }

/* ---------- article ---------- */
.prose { max-width: 720px; }
.prose h2 { margin-top: 1.6em; font-size: 1.45rem; }
.prose h3 { margin-top: 1.4em; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.4em 0; }
.post-card { border-bottom: 1px solid var(--line); padding: 28px 0; }
.post-card h2 { font-size: 1.45rem; margin-bottom: .35em; }
.post-card h2 a { color: var(--ink); text-decoration: none; }

.contact-options .card h3 { margin-top: 0; }
.small { font-size: .9rem; }

/* ---------- footer ---------- */
.site-footer { background: var(--navy-deep); color: #AEB8D0; padding: 64px 0 28px; font-size: .94rem; }
.site-footer a { color: #E3E8F4; text-decoration: none; display: block; margin: .4em 0; }
.site-footer a:hover { color: var(--mint); }
.site-footer h2 { color: #fff; font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 1em; }
.site-footer .muted { color: var(--on-dark-muted); }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 28px; }
.brand-footer img { height: 36px; width: auto; margin-bottom: 18px; }
.footer-base { margin-top: 44px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); font-size: .85rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > div:first-child { grid-column: 1 / -1; } }

/* ---------- status labels beside claims ---------- */
.status-key { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; font-size: .85rem; color: var(--muted); margin: -1em 0 2.4em; }
.status-key a { font-weight: 600; }
.claim-status { display: block; margin-top: 10px; font-size: .8rem; color: var(--muted); }
.claim-status .pill { margin-right: 6px; }
.assist-head .pill { margin-left: auto; font-size: 10.5px; padding: 2px 8px; }
.review-note {
  margin-top: 40px; display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 18px; align-items: start;
  background: #fff; border: 1px solid #DDE2EC; border-radius: var(--radius); padding: 24px 26px;
}
.review-note .icon-tile { margin: 0; }
.review-note h3 { margin-bottom: .35em; }
.review-note p { margin: 0 0 .6em; }
.review-note p:last-child { margin-bottom: 0; }
.fine { font-size: .9rem; color: var(--muted); }

/* outcome cards (Operations Scan) */
.outcomes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.outcome { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px; display: flex; flex-direction: column; }
.outcome .num { font-size: .76rem; font-weight: 800; letter-spacing: .1em; color: var(--mint-ink); }
.outcome h3 { font-size: 1.3rem; margin: .35em 0 .45em; }
.outcome-visual { margin-top: auto; padding-top: 18px; }
.outcome-visual .vis { background: var(--tint); border-radius: 12px; padding: 14px; font-size: 12.5px; }
.rank { display: grid; grid-template-columns: 18px minmax(0,1fr) 70px; gap: 8px; align-items: center; padding: 5px 0; color: var(--ink); }
.rank b { color: var(--mint-ink); font-size: 12px; }
.rank i { height: 6px; border-radius: 3px; background: var(--mint); display: block; }
.also { margin-top: 26px; font-size: .95rem; color: var(--body); }
.also strong { color: var(--ink); }
@media (max-width: 900px) { .outcomes { grid-template-columns: 1fr; } }

/* hero variants */
.hero-dark.compact { padding: 72px 0 76px; }
.hero-dark.compact .lead { max-width: 44rem; }
.hero-photo { border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo.portrait { aspect-ratio: 4 / 5; max-width: 380px; justify-self: end; }
.hero-graphic { border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,.08); }
.hero-graphic svg { display: block; width: 100%; height: auto; }
.page-head { background: linear-gradient(180deg, var(--tint), #fff); padding: 72px 0 40px; border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(2rem, 4vw, 2.9rem); max-width: 20em; }
.page-head .lead { margin-top: .6em; }
.article-head .eyebrow { margin-bottom: 1.2em; }
article.section .prose > h1 { font-size: clamp(2rem, 4vw, 2.75rem); margin-bottom: .8em; }
.prose p, .prose li { font-size: 1.05rem; line-height: 1.75; }

/* link chain illustration (How it works) */
.chain { list-style: none; margin: 0; padding: 0; }
.chain li { position: relative; margin: 0 0 10px; padding: 12px 14px 12px 44px; border: 1px solid #E6E9F0; border-radius: 12px; }
.chain li::before { content: ""; position: absolute; left: 16px; top: 16px; width: 14px; height: 14px; border-radius: 4px; background: var(--mint); }
.chain li + li::after { content: ""; position: absolute; left: 22px; top: -11px; width: 2px; height: 10px; background: #C6CDDB; }
.chain b { color: var(--ink); display: block; font-size: 13.5px; }
.chain small { color: var(--muted); font-size: 11.5px; }

/* ---------- mobile tightening ---------- */
@media (max-width: 640px) {
  .hide-sm { display: none !important; }
  .section { padding: 52px 0; }
  .section-head { margin-bottom: 1.8em; }
  .hero-dark .lead, .hero .lead { font-size: 1.08rem; }
  .card { padding: 20px; }
  .compare-row > div { padding: 14px 16px; }
  .founder-panel { grid-template-columns: 96px minmax(0, 1fr); gap: 18px; align-items: start; }
  .founder-panel .portrait { aspect-ratio: 1 / 1; border-radius: 50%; max-width: 96px; }
  .founder-panel .quote { font-size: 1.12rem; }
  .route-card .route-media { aspect-ratio: 16 / 6; }
  .route-card .route-body { padding: 18px 20px 20px; }
  .review-note { grid-template-columns: 1fr; padding: 20px; }
  .flow-step > p { font-size: .94rem; }
  .page-head { padding: 48px 0 28px; }
  .hero-photo.portrait { justify-self: start; max-width: 220px; }
  .status-key { margin-top: -.4em; }
}
@media (max-width: 640px) {
  .compare-row .before { font-size: .92rem; padding-top: 12px; padding-bottom: 12px; }
  .journey { grid-template-columns: 1fr 1fr; gap: 14px 12px; }
  .journey li { padding: 0 0 0 36px; }
  .journey li::after { display: none; }
  .journey li::before { box-shadow: none !important; }
  .journey li span { font-size: .85rem; }
  .route-card .route-media { display: none; }
}

/* ---------- utilities ---------- */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- hero background video ---------- */
.hero-dark.has-media { background: #0C142D; }
.hero-media { position: absolute; inset: 0; overflow: hidden; background: #0C142D url("/assets/video/hero-terminal-poster.jpg") center / cover no-repeat; }
.hero-media video { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(12,20,45,.95) 0%, rgba(12,20,45,.88) 45%, rgba(12,20,45,.80) 100%),
    radial-gradient(900px 500px at 85% 10%, rgba(103,221,172,.10), transparent 60%);
}
.hero-dark.has-media::before { z-index: 1; }
.hero-dark.has-media .wrap { z-index: 2; }
@media (max-width: 899px) { .hero-media::after { background: rgba(12,20,45,.92); } }

/* ---------- animated PO journey (homepage hero) ---------- */
.po-demo .mock-bar span { flex: 1; }
.pod-example { font-style: normal; font-size: 11px; font-weight: 700; color: var(--mint-ink); background: var(--mint-tint); padding: 2px 8px; border-radius: 999px; white-space: nowrap; }
.pod-body-wrap { padding-bottom: 14px; }
.po-demo .mock-head { margin-bottom: 12px; }
.pod-strip { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); position: relative; }
.pod-strip::before { content: ""; position: absolute; left: 8%; right: 8%; top: 6px; height: 2px; background: #E3E7EF; }
.pod-strip li { position: relative; margin: 0; text-align: center; font-size: 10.5px; line-height: 1.25; color: var(--muted); }
.pod-strip li i { display: block; width: 14px; height: 14px; margin: 0 auto 5px; border-radius: 50%; border: 2px solid #C6CDDB; background: #fff; position: relative; transition: background .5s, border-color .5s, box-shadow .5s; }
.pod-strip .pod-ms-label { display: block; color: var(--ink); font-weight: 600; }
.pod-strip .pod-ms-date { display: block; transition: color .5s; }
.pod-strip .pod-ms-date em { font-style: normal; }
.pod-strip li { min-height: 44px; }
.pod-strip li.is-confirmed i { background: var(--mint); border-color: var(--mint); }
.pod-strip li.is-confirmed .pod-ms-date { color: var(--mint-ink); font-weight: 600; }
.pod-strip li.is-attention i { border-color: var(--amber); background: #FFF4DE; box-shadow: 0 0 0 4px rgba(242,181,68,.18); }
.pod-strip li.is-attention .pod-ms-date { color: var(--amber-ink); font-weight: 600; }
.pod-legend { display: flex; gap: 14px; justify-content: center; margin: 8px 0 12px; font-size: 10.5px; color: var(--muted); }
.pod-legend i { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 5px; vertical-align: -1px; border: 2px solid #C6CDDB; }
.pod-legend .lg-conf { background: var(--mint); border-color: var(--mint); }
.pod-legend .lg-att { border-color: var(--amber); background: #FFF4DE; }
.pod-panel { height: 232px; overflow: hidden; border: 1px solid #E6E9F0; border-radius: 12px; background: #FAFBFD; }
.pod-panel-inner { padding: 12px 14px; }
.pod-in { animation: podIn .55s ease-out both; }
.pod-caret { display: inline-block; width: 7px; height: 1.05em; margin-left: 1px; vertical-align: -2px; background: var(--mint); animation: podCaret .7s steps(1) infinite; }
@keyframes podCaret { 50% { opacity: 0; } }
@keyframes podIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.pod-src { display: flex; justify-content: space-between; align-items: center; font-size: 11px; color: var(--muted); margin-bottom: 4px; }
.pod-src-tag { font-weight: 700; color: var(--navy-2); background: #EEF1F8; padding: 2px 8px; border-radius: 6px; }
.pod-title { font-weight: 700; color: var(--ink); font-size: 14.5px; margin-bottom: 6px; }
.pod-title small { display: block; font-weight: 500; font-size: 11.5px; color: var(--muted); }
.pod-body p { margin: 0 0 5px; font-size: 12.5px; }
.pod-kvs { margin-bottom: 4px; }
.pod-kv { display: flex; justify-content: space-between; gap: 10px; font-size: 12.5px; padding: 3px 0; border-bottom: 1px dashed #E3E7EF; }
.pod-kv span { color: var(--body); }
.pod-kv b { color: var(--ink); font-weight: 600; text-align: right; }
.pod-total b { color: var(--mint-ink); }
.pod-good { color: var(--mint-ink) !important; }
.pod-bad { color: var(--red-ink) !important; }
.pod-quote { font-style: italic; color: var(--ink); }
.pod-diff { background: #fff; border: 1px solid #E6E9F0; border-radius: 8px; padding: 6px 10px; font-size: 12.5px; color: var(--ink); margin: 4px 0 8px; }
.pod-diff s { color: var(--muted); }
.pod-diff ins { text-decoration: none; color: var(--mint-ink); font-weight: 700; }
.pod-draft { background: #fff; border-left: 3px solid var(--mint); border-radius: 4px; padding: 5px 9px; font-size: 12px; color: var(--body); margin-top: 6px; }
.pod-action { margin-top: 8px; font-size: 11.5px; font-weight: 700; display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 999px; }
.pod-action-ok { background: var(--mint-tint); color: var(--mint-ink); }
.pod-action-muted { background: var(--slate-tint); color: #4A5470; }
.pod-action em { font-weight: 600; }
.pod-review { display: flex; align-items: center; gap: 10px; margin: 2px 0 8px; font-size: 11.5px; color: var(--muted); }
.pod-approve { font: 700 12.5px Inter, sans-serif; background: var(--mint); color: var(--navy-deep); border: 0; border-radius: 8px; padding: 7px 14px; cursor: pointer; }
.pod-approve:hover { background: var(--mint-2); }
.pod-approve:focus-visible, .pod-btn:focus-visible, .pod-dots button:focus-visible { outline: 2px solid var(--mint); outline-offset: 2px; }
.pod-summary { margin: 0; padding-left: 0; list-style: none; font-size: 11.5px; line-height: 1.45; }
.pod-summary li { margin: 0; display: flex; gap: 6px; }
.pod-summary b { color: var(--mint-ink); min-width: 42px; }
.pod-summary span { color: var(--muted); margin-left: auto; white-space: nowrap; }

.pod-controls { margin-top: 12px; color: var(--on-dark); }
.pod-progress { height: 3px; border-radius: 2px; background: rgba(255,255,255,.12); overflow: hidden; }
.pod-progress span { display: block; height: 100%; background: var(--mint); transform-origin: left; transform: scaleX(0); }
.pod-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 8px; }
.pod-now { font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pod-now b { color: #fff; margin-right: 4px; }
.pod-buttons { display: flex; gap: 6px; flex: none; }
.pod-btn { display: inline-flex; align-items: center; gap: 5px; font: 600 12px Inter, sans-serif; color: #fff; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2); border-radius: 8px; padding: 5px 10px; cursor: pointer; }
.pod-btn:hover { background: rgba(255,255,255,.14); }
.pod-btn:disabled { opacity: .45; cursor: default; }
.pod-btn svg { width: 13px; height: 13px; fill: currentColor; }
.pod-btn .i-play { display: none; }
.po-demo.is-paused .pod-btn .i-play { display: block; }
.po-demo.is-paused .pod-btn .i-pause { display: none; }
.pod-dots { display: flex; gap: 6px; margin-top: 2px; }
.pod-dots button { width: 24px; height: 20px; padding: 7px 0; border: 0; border-radius: 3px; background: rgba(255,255,255,.18); background-clip: content-box; cursor: pointer; }
.pod-dots button.done { background-color: rgba(103,221,172,.55); }
.pod-dots button.now { background-color: var(--mint); }
.po-demo .mock-caption { margin-top: 10px; }
@media (max-width: 520px) {
  .pod-strip li { font-size: 10px; min-height: 50px; }
  .pod-strip .pod-ms-date em { display: none; }
  .po-demo .mock-sub { min-height: 2.9em; }
  .po-demo .mock-head .chip { flex: none; }
  .pod-strip .pod-ms-label { font-weight: 600; }
  .pod-panel { height: 262px; }
  .pod-legend { gap: 10px; }
  .pod-btn span { display: none; }
  .pod-btn { padding: 7px 9px; }
  .pod-example { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .pod-in { animation: none; }
  .pod-strip li i, .pod-strip .pod-ms-date { transition: none; }
}
