/* Flowtor website styles.
   Brand: navy #111D3F / deep navy #0C142D, mint #67DDAC, Inter.
   Logo and icon are the original designer files in /assets/brand/. */
/* Inter, self-hosted (no request to Google Fonts). Variable font, weights 400 to 800. */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 800; font-display: swap; src: url('/assets/fonts/inter-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 800; font-display: swap; src: url('/assets/fonts/inter-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

: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 { white-space: nowrap; 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; }
/* language switcher: EN · DE · 中文 */
.lang-switch { display: inline-flex; align-items: center; gap: 2px; padding: 2px; border: 1px solid var(--line); border-radius: 999px; flex: none; }
.site-nav .lang-switch a { font-size: .78rem; font-weight: 600; letter-spacing: .02em; color: var(--muted, #6A7389); padding: 3px 8px; border-radius: 999px; line-height: 1.4; }
.site-nav .lang-switch a:hover { color: var(--navy-2); }
.site-nav .lang-switch a[aria-current="true"] { background: var(--navy-2); color: #fff; }
@media (max-width: 1240px) and (min-width: 1121px) { .site-nav { gap: 16px; } .site-nav a { font-size: .9rem; } .nav-signin { padding-left: 14px; } }

@media (max-width: 1120px) {
  .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; }
  .lang-switch { align-self: flex-start; margin: 14px 0 4px; }
  .site-nav .lang-switch a { padding: 6px 14px; border-bottom: 0; font-size: .9rem; }
  .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: minmax(0, 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: minmax(0, 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: minmax(0, 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; }
  .journey li { min-width: 0; overflow-wrap: anywhere; hyphens: auto; }
  .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-start.jpg") center / cover no-repeat; }
.hero-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; opacity: 1; transition: opacity 1.2s ease; }
.hero-media video.is-off { opacity: 0; }
.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; }
}

/* ---------- languages ---------- */
/* German compounds are long: let headings and copy wrap and hyphenate on small screens. */
h1, h2, h3, p, li, dd, dt, td, th, figcaption { overflow-wrap: break-word; }
html[lang="de"] main { hyphens: auto; -webkit-hyphens: auto; }
html[lang="de"] main .btn, html[lang="de"] main .chip { hyphens: manual; -webkit-hyphens: manual; }
/* Chinese: no letter-spaced uppercase labels and a CJK-friendly line height. */
html[lang="zh-CN"] body { line-break: strict; }
html[lang="zh-CN"] .eyebrow { letter-spacing: .04em; }

/* ======================================================================
   Motion scenes (Operations Scan, Forwarders, Partners) - scenes.js
   One step visible at a time; without JavaScript every step is listed.
   ====================================================================== */
.scene { margin: 0; }
.scene .mock-bar span { flex: 1; }
.sc-frames { list-style: none; margin: 0; padding: 0; }
.sc-frame { margin: 0; padding: 16px 18px 18px; border-top: 1px solid #EEF1F6; }
.sc-frame:first-child { border-top: 0; }
.sc-step { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--mint-ink); }
.sc-step b { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 6px; background: var(--navy); color: var(--mint); font-size: 11px; letter-spacing: 0; }
html[lang="zh-CN"] .sc-step { letter-spacing: .02em; }
.sc-lede { font-size: 12.5px; color: var(--body); margin: 0 0 10px; }
.sc-meta { font-size: 11.5px; color: var(--muted); margin: 8px 0 0; }
/* live: frames share one grid cell, so the window keeps the height of the tallest step */
.scene.is-live .sc-frames { display: grid; grid-template-columns: minmax(0, 1fr); }
.scene.is-live .sc-frame { grid-area: 1 / 1; border-top: 0; visibility: hidden; opacity: 0; transition: opacity .35s ease, visibility 0s linear .35s; }
.scene.is-live .sc-frame.is-active { visibility: visible; opacity: 1; transition: opacity .35s ease; }
/* staged entrance inside the active step: --d is the delay in ms */
.scene.is-animated .sc-frame.is-active .sx { animation: scIn .55s cubic-bezier(.2,.7,.2,1) both; animation-delay: calc(var(--d, 0) * 1ms); }
/* Pause stops the step clock and the scanning light; a step chosen by hand still shows in full. */
.scene.is-paused .sc-scan::after, .scene.is-offscreen .sc-scan::after, .scene.is-offscreen .sx { animation-play-state: paused !important; }
@keyframes scIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.scene.is-paused .pod-btn .i-play { display: block; }
.scene.is-paused .pod-btn .i-pause { display: none; }
.sc-controls { margin-top: 12px; }
.sc-dots { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.sc-dots button { min-width: 30px; height: 26px; padding: 0 8px; border-radius: 7px; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.06); color: var(--on-dark); font: 700 12px Inter, sans-serif; cursor: pointer; }
.sc-dots button:hover { background: rgba(255,255,255,.14); }
.sc-dots button.done { border-color: rgba(103,221,172,.5); color: var(--mint); }
.sc-dots button.now { background: var(--mint); border-color: var(--mint); color: var(--navy-deep); }
.sc-dots button:focus-visible { outline: 2px solid var(--mint); outline-offset: 2px; }
.clip-mode .sc-controls .pod-row, .clip-mode .sc-dots { display: none; }

/* scanning light: a restrained sweep over the inputs being read */
.sc-scan { position: relative; overflow: hidden; border-radius: 12px; }
.scene.is-animated .sc-frame.is-active .sc-scan::after {
  content: ""; position: absolute; left: 0; right: 0; top: -40%; height: 40%; pointer-events: none;
  background: linear-gradient(180deg, rgba(103,221,172,0) 0%, rgba(103,221,172,.10) 70%, rgba(103,221,172,.32) 100%);
  border-bottom: 2px solid rgba(103,221,172,.75);
  animation: scScan 2.8s cubic-bezier(.45,0,.55,1) .4s 2 both;
}
@keyframes scScan { from { top: -40%; } to { top: 100%; } }

/* inputs (step 1 of the Operations Scan scene) */
.sc-inputs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.sc-group { background: #FAFBFD; border: 1px solid #E6E9F0; border-radius: 10px; padding: 9px 10px; }
.sc-group h4 { font-size: 11px; font-weight: 700; color: var(--ink); margin: 0 0 6px; letter-spacing: 0; }
.sc-item { display: flex; align-items: center; gap: 6px; font-size: 11.5px; color: var(--body); padding: 3px 0; border-top: 1px dashed #E3E7EF; line-height: 1.3; }
.sc-item:first-of-type { border-top: 0; }
.sc-item i { flex: none; width: 18px; height: 18px; border-radius: 4px; background: #fff; border: 1px solid #D5DAE4; font: 700 7px/16px Inter, sans-serif; color: var(--muted); text-align: center; font-style: normal; }
.sc-item.is-read i { border-color: var(--mint); color: var(--mint-ink); background: var(--mint-tint); }

/* relationships (role -> step -> system) */
.sc-rel { display: grid; gap: 7px; }
.sc-rel-row { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; padding: 7px 8px; border: 1px solid #E6E9F0; border-radius: 10px; background: #FAFBFD; }
.sc-node { display: inline-flex; align-items: center; gap: 5px; padding: 3px 8px; border-radius: 7px; font-size: 11.5px; font-weight: 600; color: var(--ink); background: #fff; border: 1px solid #DCE1EA; white-space: nowrap; }
.sc-node::before { content: ""; width: 7px; height: 7px; border-radius: 2px; background: #C6CDDB; }
.sc-node.role::before { background: var(--navy-3); border-radius: 50%; }
.sc-node.step::before { background: var(--mint); }
.sc-node.sys::before { background: var(--amber); }
.sc-node.doc::before { background: #9AA6C2; }
.sc-arrow { color: #9AA2B5; font-size: 12px; }
.sc-rel-row .chip { margin-left: auto; }
.sc-key { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 10.5px; color: var(--muted); margin: 0 0 8px; }
.sc-key span { display: inline-flex; align-items: center; gap: 5px; }
.sc-key i { width: 7px; height: 7px; border-radius: 2px; display: inline-block; }

/* reviewer correction */
.sc-correct { margin-top: 6px; font-size: 12px; background: #fff; border: 1px dashed #C6CDDB; border-radius: 8px; padding: 6px 9px; }
.sc-correct s { color: var(--muted); }
.sc-correct ins { text-decoration: none; color: var(--ink); font-weight: 600; display: block; margin-top: 2px; }
.sc-who { display: inline-flex; align-items: center; gap: 5px; font-size: 10.5px; font-weight: 700; color: var(--navy-2); background: #EEF1F8; border-radius: 6px; padding: 1px 7px; margin-top: 5px; }
.sc-who::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--navy-3); }

/* option comparison */
.sc-opts { width: 100%; border-collapse: collapse; font-size: 11.5px; }
.sc-opts th { text-align: left; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); padding: 0 6px 6px 0; }
html[lang="zh-CN"] .sc-opts th { letter-spacing: 0; }
.sc-opts td { padding: 6px 6px 6px 0; border-top: 1px solid #EEF1F6; vertical-align: middle; color: var(--ink); }
.sc-opts td small { display: block; color: var(--muted); font-size: 10.5px; }
.sc-opts tr.is-picked td { background: var(--mint-tint); }
.sc-opts tr.is-picked td:first-child { box-shadow: inset 3px 0 0 var(--mint); padding-left: 6px; }
.sc-pips { display: inline-flex; gap: 3px; }
.sc-pips i { width: 8px; height: 8px; border-radius: 2px; background: #E3E7EF; }
.sc-pips i.on { background: var(--navy-3); }
.sc-pips.eff i.on { background: var(--mint); }

/* agreed change, mails, decisions */
.sc-card { border: 1px solid #E6E9F0; border-radius: 12px; padding: 11px 12px; background: #FAFBFD; }
.sc-card + .sc-card { margin-top: 8px; }
.sc-card-title { font-weight: 700; color: var(--ink); font-size: 13.5px; margin-bottom: 4px; }
.sc-inbox { border: 1px solid #E6E9F0; border-radius: 12px; overflow: hidden; }
.sc-mail { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 10px; padding: 8px 11px; border-top: 1px solid #EEF1F6; font-size: 11.5px; background: #fff; }
.sc-mail:first-child { border-top: 0; }
.sc-mail b { color: var(--ink); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sc-mail span { color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sc-mail time { color: var(--muted); font-size: 10.5px; grid-row: 1; grid-column: 2; }
.sc-mail.is-new { background: var(--mint-tint); box-shadow: inset 3px 0 0 var(--mint); }
.sc-mail.is-new b { font-weight: 800; }
.sc-links { display: grid; gap: 6px; margin-top: 8px; }
.sc-link { display: flex; align-items: center; gap: 8px; font-size: 12px; padding: 6px 9px; border: 1px solid #E6E9F0; border-radius: 9px; background: #fff; }
.sc-link .chip { margin-left: auto; }
.sc-choice { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border: 1px solid #E0E4EC; border-radius: 10px; font-size: 12px; background: #fff; margin-top: 6px; color: var(--body); }
.sc-choice::before { content: ""; flex: none; width: 13px; height: 13px; border-radius: 50%; border: 2px solid #C6CDDB; background: #fff; }
.sc-choice.is-picked { border-color: var(--mint); background: var(--mint-tint); color: var(--ink); font-weight: 600; }
.sc-choice.is-picked::before { border-color: var(--mint-ink); background: radial-gradient(circle, var(--mint-ink) 0 3px, #fff 3.5px); }
.sc-flow { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; }
.sc-flow .sc-node.is-new { border-color: var(--mint); background: var(--mint-tint); }
.sc-raci { width: 100%; border-collapse: collapse; font-size: 11.5px; }
.sc-raci td { padding: 6px 4px; border-top: 1px solid #EEF1F6; color: var(--ink); }
.sc-raci td:last-child { text-align: right; }
.sc-raci tr:first-child td { border-top: 0; }
.sc-checks { list-style: none; margin: 0; padding: 0; font-size: 12px; }
.sc-checks li { display: flex; align-items: center; gap: 8px; padding: 5px 0; border-top: 1px dashed #E3E7EF; margin: 0; }
.sc-checks li:first-child { border-top: 0; }
.sc-checks li::before { content: ""; flex: none; width: 14px; height: 14px; border-radius: 4px; background: var(--mint-tint); box-shadow: inset 0 0 0 1px var(--mint); }
.sc-checks li.done::before { background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M3.5 7.2 6 9.5l4.5-5' fill='none' stroke='%230C142D' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.sc-checks li .chip { margin-left: auto; }
.sc-loop { display: flex; align-items: center; gap: 8px; margin-top: 8px; font-size: 11.5px; color: var(--mint-ink); font-weight: 700; }
.sc-loop svg { width: 16px; height: 16px; }
.sc-note { font-size: 11px; color: var(--muted); margin-top: 8px; }
@media (max-width: 520px) {
  .sc-frame { padding: 14px 14px 16px; }
  .sc-inputs { grid-template-columns: 1fr; }
  .sc-inputs .sc-group:nth-child(n) .sc-item:nth-of-type(n+3) { display: none; }
  .sc-node { white-space: normal; }
  .sc-opts .hide-xs { display: none; }
  .sc-dots button { min-width: 28px; padding: 0 6px; }
}
@media (prefers-reduced-motion: reduce) {
  .scene.is-live .sc-frame { transition: none; }
}

/* ======================================================================
   Sample outcome explorer (Operations Scan)
   ====================================================================== */
.ex-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 20px; align-items: baseline; margin-bottom: 18px; }
.ex-head p { margin: 0; }
.ex-tabs { display: flex; gap: 6px; overflow-x: auto; padding: 4px; margin: 0 0 16px; background: #fff; border: 1px solid #DDE2EC; border-radius: 14px; scrollbar-width: none; }
.ex-tabs::-webkit-scrollbar { display: none; }
.ex-tabs button { flex: none; font: 600 14px Inter, sans-serif; color: var(--body); background: transparent; border: 0; border-radius: 10px; padding: 9px 14px; cursor: pointer; white-space: nowrap; }
.ex-tabs button[aria-selected="true"] { background: var(--navy); color: #fff; }
.ex-tabs button:focus-visible, .ex-finding button:focus-visible, .ex-goto:focus-visible { outline: 2px solid var(--mint-ink); outline-offset: 2px; }
.ex:not(.is-live) .ex-tabs { display: none; }
.ex-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 22px; align-items: start; }
.ex-main, .ex-side { min-width: 0; }
.ex-view { background: #fff; border: 1px solid #DDE2EC; border-radius: var(--radius); padding: 22px; }
.ex:not(.is-live) .ex-view + .ex-view { margin-top: 16px; }
.ex-view > h3 { font-size: 1.05rem; margin-bottom: .3em; }
.ex-view > p.fine { margin-bottom: 14px; }
.ex-view[hidden] { display: none; }
/* linked items light up when a finding is selected */
.ex [data-f] { transition: box-shadow .2s, border-color .2s, background .2s; }
.ex.is-live [data-f] { cursor: pointer; }
.ex [data-f].is-linked { border-color: var(--mint) !important; box-shadow: 0 0 0 3px rgba(103,221,172,.28); background: #F2FBF7; }
/* people */
.org { display: grid; gap: 10px; }
.org-top { justify-self: center; }
.org-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.org-unit { border: 1px solid #E3E7EF; border-radius: 12px; padding: 11px 12px; font-size: 13px; background: #FAFBFD; }
.org-unit b { display: block; color: var(--ink); font-size: 13.5px; }
.org-unit small { display: block; color: var(--muted); font-size: 12px; }
.org-unit ul { margin: 6px 0 0; padding-left: 1em; font-size: 12px; }
.org-unit li { margin: .15em 0; }
.org-unit.ext { background: #fff; border-style: dashed; }
.org-ext { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.org-label { font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 6px 0 -2px; }
.flag { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 700; color: var(--amber-ink); background: var(--amber-tint); border-radius: 999px; padding: 2px 8px; margin-top: 6px; }
/* systems */
.sys-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.sys-row .sc-node { font-size: 12.5px; padding: 5px 10px; }
.conn { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) auto; gap: 4px 12px; align-items: center; padding: 10px 12px; border: 1px solid #E3E7EF; border-radius: 12px; margin-top: 8px; font-size: 13px; }
.conn-path { color: var(--ink); font-weight: 600; }
.conn-path .sc-arrow { margin: 0 4px; }
.conn-what { color: var(--body); font-size: 12.5px; }
.conn .chip { justify-self: end; }
/* process */
.proc { list-style: none; margin: 0; padding: 0; counter-reset: pstep; }
.proc > li { counter-increment: pstep; position: relative; margin: 0 0 8px; padding: 11px 12px 11px 46px; border: 1px solid #E3E7EF; border-radius: 12px; font-size: 12.5px; }
.proc > li::before { content: counter(pstep); position: absolute; left: 12px; top: 11px; width: 24px; height: 24px; border-radius: 7px; background: var(--navy); color: var(--mint); font-weight: 800; font-size: 12px; display: grid; place-items: center; }
.proc b { color: var(--ink); font-size: 13.5px; }
.proc dl { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 2px 10px; margin: 6px 0 0; }
.proc dt { color: var(--muted); font-weight: 600; }
.proc dd { margin: 0; color: var(--body); }
.proc > li.handover { counter-increment: none; display: block; margin: -2px 0 8px 22px; padding: 6px 10px 6px 14px; font-size: 12px; color: var(--amber-ink); font-weight: 600; border: 0; border-left: 2px dashed var(--amber); border-radius: 0; }
.proc .handover::before { display: none; }
/* effort */
.eff-group + .eff-group { margin-top: 16px; }
.eff-group h4 { font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 0 0 6px; }
html[lang="zh-CN"] .eff-group h4, html[lang="zh-CN"] .org-label { letter-spacing: .02em; }
.eff-item { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; justify-content: space-between; padding: 10px 12px; border: 1px solid #E3E7EF; border-radius: 12px; margin-top: 6px; font-size: 13px; color: var(--ink); }
.eff-item small { display: block; color: var(--muted); font-size: 12px; width: 100%; }
/* improved operation */
.imp { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.imp li { margin: 0; display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 10px; padding: 11px 12px; border: 1px solid #E3E7EF; border-radius: 12px; font-size: 13px; }
.imp li > span { width: 30px; height: 30px; border-radius: 9px; background: var(--mint-tint); color: var(--mint-ink); display: grid; place-items: center; font-weight: 800; font-size: 13px; }
.imp b { color: var(--ink); display: block; }
.imp small { display: block; color: var(--muted); font-size: 12px; margin-top: 2px; }
.imp .chip { margin-top: 5px; }
/* findings and their trace */
.ex-side h3 { font-size: 1rem; margin-bottom: .2em; }
.ex-side > p { font-size: .9rem; color: var(--muted); margin-bottom: 10px; }
.ex-finding { background: #fff; border: 1px solid #DDE2EC; border-radius: 14px; margin-top: 8px; overflow: hidden; }
.ex-finding > button { display: flex; width: 100%; gap: 10px; align-items: flex-start; justify-content: space-between; text-align: left; background: none; border: 0; padding: 12px 14px; font: 600 14px/1.35 Inter, sans-serif; color: var(--ink); cursor: pointer; }
.ex-finding > button .chip { flex: none; margin-top: 1px; }
.ex:not(.is-live) .ex-finding > button { cursor: default; }
.ex-finding.is-open { border-color: var(--mint); box-shadow: 0 0 0 3px rgba(103,221,172,.2); }
.ex-trace { padding: 0 14px 14px; font-size: 13px; }
.ex.is-live .ex-finding:not(.is-open) .ex-trace { display: none; }
.ex-trace dl { margin: 0; display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 6px 12px; }
.ex-trace dt { color: var(--muted); font-weight: 600; font-size: 12.5px; }
.ex-trace dd { margin: 0; color: var(--body); }
.ex-goto { font: inherit; color: var(--navy-2); background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: #B9C2D6; cursor: pointer; text-align: left; }
.ex:not(.is-live) .ex-goto { text-decoration: none; cursor: default; color: inherit; }
.ex-next { margin-top: 10px; padding: 9px 11px; border-radius: 10px; background: var(--mint-tint); color: #1D4F3B; font-size: 12.5px; }
.ex-next b { color: #0B3D2A; }
@media (max-width: 980px) { .ex-grid { grid-template-columns: minmax(0, 1fr); } .ex-side { order: -1; } .ex.is-live .ex-side { margin-bottom: 4px; } }
@media (max-width: 760px) { .org-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } .conn { grid-template-columns: 1fr; } .conn .chip { justify-self: start; } }
@media (max-width: 640px) { .ex-view { padding: 16px; } .ex-tabs button { font-size: 13px; padding: 8px 11px; } .proc dl { grid-template-columns: 1fr; } .proc dt { margin-top: 2px; } .org-ext { grid-template-columns: 1fr; } }

/* ======================================================================
   Maturity stages: selectable, with one event handled four ways
   ====================================================================== */
.stage-pick { font: inherit; color: inherit; background: none; border: 0; padding: 0; text-align: left; cursor: default; }
.stage-demo.is-live .stage-pick { cursor: pointer; }
.stage-demo.is-live .stage-pick::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.stage-demo.is-live .stage-pick:focus-visible { outline: none; }
.stage-demo.is-live .stage-pick:focus-visible::after { outline: 3px solid var(--mint-ink); outline-offset: -3px; }
.stage-demo.is-live .stage { transition: transform .2s, box-shadow .2s, border-color .2s; }
.stage-demo.is-live .stage:hover { box-shadow: var(--shadow); }
.stage.is-selected { border-color: var(--mint) !important; box-shadow: 0 0 0 3px rgba(103,221,172,.35), var(--shadow); }
.stage .pick-hint { display: none; font-size: .78rem; font-weight: 700; color: var(--mint-ink); margin-top: 10px; }
.stage-demo.is-live .stage .pick-hint { display: block; }
.stage:nth-child(4) .pick-hint { color: var(--mint); }
.stage.is-selected .pick-hint { visibility: hidden; }
.sd-event { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 28px 0 12px; padding: 14px 18px; background: var(--navy); color: var(--on-dark); border-radius: 14px; }
.sd-event b { color: #fff; }
.sd-event .sd-tag { font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--navy-deep); background: var(--mint); border-radius: 6px; padding: 3px 8px; }
.sd-event .pod-diff { margin: 0; }
.sd-panel { background: #fff; border: 1px solid #DDE2EC; border-radius: var(--radius); padding: 22px 24px; }
.sd-panel[hidden] { display: none; }
.stage-demo:not(.is-live) .sd-panel + .sd-panel { margin-top: 12px; }
.sd-panel h3 { margin-bottom: .2em; }
.sd-panel > p { font-size: .95rem; }
.sd-rows { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; }
.sd-rows li { display: grid; grid-template-columns: 150px minmax(0, 1fr) auto; gap: 12px; align-items: center; margin: 0; padding: 10px 14px; border: 1px solid #E3E7EF; border-radius: 12px; font-size: .95rem; }
.sd-rows .who { font-size: .82rem; font-weight: 700; color: var(--navy-2); }
.stage-demo.is-animated .sd-panel.is-active .sd-rows li { animation: scIn .5s cubic-bezier(.2,.7,.2,1) both; }
.stage-demo.is-animated .sd-panel.is-active .sd-rows li:nth-child(2) { animation-delay: .25s; }
.stage-demo.is-animated .sd-panel.is-active .sd-rows li:nth-child(3) { animation-delay: .5s; }
.stage-demo.is-animated .sd-panel.is-active .sd-rows li:nth-child(4) { animation-delay: .75s; }
.sd-gain { margin-top: 14px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.sd-gain > div { border-radius: 12px; padding: 12px 14px; font-size: .92rem; }
.sd-gain .gain { background: var(--mint-tint); color: #1D4F3B; }
.sd-gain .gain b { color: #0B3D2A; }
.sd-gain .limit { background: var(--tint); color: var(--body); }
.sd-gain .limit b { color: var(--ink); }
@media (max-width: 760px) { .sd-rows li { grid-template-columns: 1fr; gap: 4px; } .sd-rows li .chip { justify-self: start; } .sd-gain { grid-template-columns: 1fr; } .sd-panel { padding: 18px; } }

/* ======================================================================
   Page sections: Forwarders, Partners, How it works
   ====================================================================== */
.start-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.start-card { background: #fff; border: 1px solid #DDE2EC; border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; }
.start-card .eyebrow { margin-bottom: .5em; }
.start-card h3 { font-size: 1.25rem; }
.start-card ul { margin: 0 0 14px; }
.start-card .status { margin-top: auto; font-size: .85rem; color: var(--muted); border-top: 1px dashed #DDE2EC; padding-top: 12px; }
@media (max-width: 900px) { .start-grid { grid-template-columns: 1fr; } }
.scope { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.scope-map { position: relative; display: grid; gap: 10px; }
.scope-band { border-radius: 14px; padding: 14px 18px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.scope-band > b { width: 100%; font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; }
html[lang="zh-CN"] .scope-band > b { letter-spacing: .02em; }
.scope-band span { font-size: .9rem; padding: 5px 11px; border-radius: 999px; font-weight: 600; }
.scope-core { background: var(--navy); color: var(--on-dark); }
.scope-core > b { color: var(--mint); }
.scope-core span { background: rgba(255,255,255,.1); color: #fff; }
.scope-ext { background: var(--mint-tint); color: #1D4F3B; }
.scope-ext > b { color: var(--mint-ink); }
.scope-ext span { background: #fff; color: var(--ink); border: 1px solid #BFE9D6; }
.scope-rel { background: #fff; border: 1px dashed #C6CDDB; color: var(--body); }
.scope-rel > b { color: var(--muted); }
.scope-rel span { background: var(--tint); color: var(--ink); }
@media (max-width: 900px) { .scope { grid-template-columns: 1fr; gap: 24px; } }
.complement { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border: 1px solid #DDE2EC; border-radius: var(--radius); overflow: hidden; font-size: .97rem; }
.complement th, .complement td { text-align: left; padding: 16px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.complement thead th { font-size: .76rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); background: var(--tint); }
html[lang="zh-CN"] .complement thead th { letter-spacing: 0; }
.complement tbody th { color: var(--ink); width: 26%; }
.complement tr:last-child td, .complement tr:last-child th { border-bottom: 0; }
@media (max-width: 760px) {
  .complement thead { display: none; }
  .complement, .complement tbody, .complement tr, .complement th, .complement td { display: block; width: 100% !important; }
  .complement tr { border-bottom: 1px solid var(--line); padding: 6px 0; }
  .complement th, .complement td { border: 0; padding: 6px 16px; }
  .complement td::before { content: attr(data-col); display: block; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
}
.erp-own { display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: center; padding: 20px 24px; border-radius: var(--radius); background: var(--navy); color: var(--on-dark); margin-bottom: 28px; }
.erp-own p { margin: 0; font-size: 1.12rem; color: #fff; font-weight: 600; }
.erp-own p span { color: var(--mint); }
.erp-journey { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.erp-journey > li { margin: 0; position: relative; background: #fff; border: 1px solid #DDE2EC; border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; }
.erp-journey > li:not(:last-child)::after { content: ""; position: absolute; right: -18px; top: 44px; width: 14px; height: 14px; border-top: 3px solid var(--mint); border-right: 3px solid var(--mint); transform: rotate(45deg); }
.erp-journey .eyebrow { margin-bottom: .4em; }
.erp-journey h3 { margin-bottom: .5em; }
.erp-journey .fields { margin-top: auto; background: var(--tint); border-radius: 10px; padding: 10px 12px; font-size: .82rem; color: var(--body); }
.erp-journey .fields code { font: 600 .78rem ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: var(--navy-2); background: #fff; border: 1px solid #E3E7EF; border-radius: 5px; padding: 1px 5px; white-space: nowrap; }
@media (max-width: 900px) { .erp-journey { grid-template-columns: 1fr; } .erp-journey > li:not(:last-child)::after { right: auto; left: 32px; top: auto; bottom: -18px; transform: rotate(135deg); } }
.hero-photo.inline { aspect-ratio: 16 / 10; box-shadow: var(--shadow); }

/* ---------- product page: looping demo video and feature rows ---------- */
.hero-dark.demo-hero { padding-top: 64px; }
.demo-hero h1 { max-width: 15em; margin-left: auto; margin-right: auto; }
.demo-hero .lead { margin-left: auto; margin-right: auto; }
.demo-hero .btn-row { justify-content: center; }
.demo-frame { margin: 40px 0 0 50%; transform: translateX(-50%); width: min(1280px, calc(100vw - 32px)); max-width: none; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,.08); background: #0C142D; position: relative; }
.demo-frame video { width: 100%; height: auto; display: block; aspect-ratio: 16 / 9; }
.demo-controls { position: absolute; right: 14px; bottom: 14px; display: flex; gap: 8px; }
.demo-full { display: inline-flex; align-items: center; gap: 6px; border: 0; border-radius: 999px; padding: 7px 13px; font: 600 12px/1 Inter, sans-serif; color: #fff; background: rgba(12,20,45,.72); cursor: pointer; }
.demo-full:hover { background: rgba(12,20,45,.9); }
.demo-frame video { cursor: zoom-in; }
.demo-frame:fullscreen { transform: none; margin: 0; width: 100%; max-width: none; border-radius: 0; border: 0; display: flex; align-items: center; justify-content: center; background: #000; }
.demo-frame:fullscreen video { max-height: 100vh; width: 100%; cursor: zoom-out; }
.demo-toggle { border: 0; border-radius: 999px; padding: 7px 13px; font: 600 12px/1 Inter, sans-serif; color: #fff; background: rgba(12,20,45,.72); cursor: pointer; }
.demo-toggle:hover { background: rgba(12,20,45,.9); }
.demo-note { text-align: center; margin: 14px auto 0; font-size: 12.5px; color: var(--on-dark-muted); }
.feature { display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); gap: 48px; align-items: center; }
.feature + .feature { margin-top: 88px; }
.feature.flip > :first-child { order: 2; }
.feature.flip.flip-wide { grid-template-columns: minmax(0, 1.28fr) minmax(0, .72fr); }
.feature h3 { font-size: clamp(1.35rem, 2.2vw, 1.75rem); font-weight: 800; letter-spacing: -0.02em; }
.shot { margin: 0; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: #fff; }
.shot img { width: 100%; height: auto; }
.shot.shot-crop { max-height: 560px; }
.shot.shot-crop img { height: 560px; object-fit: cover; object-position: top; }
.pain-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.pain { background: #fff; border: 1px solid #DDE2EC; border-radius: var(--radius); padding: 20px; }
.pain b { display: block; color: var(--ink); margin-bottom: 6px; }
.pain p { margin: 0; font-size: .95rem; }
@media (max-width: 900px) {
  .feature, .feature.flip.flip-wide { grid-template-columns: 1fr; gap: 24px; }
  .feature.flip > :first-child { order: 0; }
  .feature + .feature { margin-top: 56px; }
  .pain-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) { .pain-grid { grid-template-columns: 1fr; } .demo-frame { margin-top: 32px; border-radius: 12px; } }

/* long German compounds inside illustrations wrap instead of widening the page */
.mock { overflow-wrap: break-word; }
.finding-top b, .sc-card-title, .pod-kv b { min-width: 0; }

/* Screenshots open large on click */
.shot.zoomable { cursor: zoom-in; position: relative; transition: transform .15s ease, box-shadow .15s ease; }
.shot.zoomable:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.shot.zoomable:focus-visible { outline: 3px solid var(--mint, #3DDC97); outline-offset: 3px; }
.shot.zoomable::after { content: "Click to enlarge"; position: absolute; right: 12px; bottom: 12px; font-size: 12px; font-weight: 700; color: #fff; background: rgba(12,20,45,.78); padding: 6px 10px; border-radius: 999px; opacity: .9; pointer-events: none; }
.zoom-open, .zoom-open body { overflow: hidden; }
.zoom-box { position: fixed; inset: 0; z-index: 1000; background: rgba(8,12,28,.92); display: flex; align-items: center; justify-content: center; padding: 56px 64px 24px; cursor: zoom-out; }
.zoom-box[hidden] { display: none; }
.zoom-box figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.zoom-box img { max-width: 100%; max-height: calc(100vh - 120px); width: auto; height: auto; border-radius: 10px; box-shadow: 0 20px 60px rgba(0,0,0,.5); background: #fff; }
.zoom-box figcaption { color: rgba(255,255,255,.82); font-size: 14px; text-align: center; max-width: 60em; }
.zoom-close { position: absolute; top: 12px; right: 16px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; font-size: 28px; line-height: 1; cursor: pointer; }
.zoom-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 64px; border: 0; border-radius: 12px; background: rgba(255,255,255,.12); color: #fff; font-size: 34px; line-height: 1; cursor: pointer; }
.zoom-prev { left: 12px; } .zoom-next { right: 12px; }
.zoom-close:hover, .zoom-nav:hover { background: rgba(255,255,255,.24); }
@media (max-width: 640px) { .zoom-box { padding: 56px 8px 16px; } .zoom-nav { top: auto; bottom: 12px; transform: none; height: 44px; } .shot.zoomable::after { content: "Tap to enlarge"; } }

/* ---------- Hyperintelligent PO Management (homepage signature section) ---------- */
.hero-link { color: var(--mint); font-weight: 600; text-decoration: none; white-space: nowrap; }
.hero-link::after { content: " \2192"; }
.hero-link:hover { color: var(--mint-2); }
.hyper {
  position: relative; overflow: hidden;
  background:
    radial-gradient(800px 420px at 100% 0%, rgba(103,221,172,.10), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(36,54,107,.5), transparent 60%),
    var(--navy-deep);
}
.hyper .eyebrow { color: var(--mint); }
.hyper .section-head p { color: var(--on-dark); }
.hyper-grid { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: 48px; align-items: center; }
.hy-tabs { display: flex; flex-direction: column; gap: 10px; }
.hy-tabs button {
  display: grid; grid-template-columns: 34px 1fr; column-gap: 6px; text-align: left; cursor: pointer;
  font: inherit; color: var(--on-dark); background: transparent; border: 1px solid rgba(255,255,255,.1);
  border-radius: 14px; padding: 15px 18px; transition: background .25s, border-color .25s;
}
.hy-tabs button:hover { background: rgba(255,255,255,.04); }
.hy-tabs button:focus-visible { outline: 2px solid var(--mint); outline-offset: 2px; }
.hy-tabs button[aria-selected="true"] { background: rgba(103,221,172,.08); border-color: rgba(103,221,172,.45); }
.hy-no { grid-row: 1 / span 2; font-size: 12px; font-weight: 700; color: var(--on-dark-muted); padding-top: 3px; letter-spacing: .04em; }
.hy-tabs button[aria-selected="true"] .hy-no { color: var(--mint); }
.hy-name { color: #fff; font-weight: 700; font-size: 1.05rem; }
.hy-def { font-size: .92rem; line-height: 1.5; color: var(--on-dark-muted); margin-top: 2px; }
.hy-tabs button[aria-selected="true"] .hy-def { color: var(--on-dark); }
.hy-defline { display: none; }

.hy-body { padding: 16px 16px 14px; }
.hy-map { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr) minmax(0, 1fr); gap: 14px 16px; padding: 4px 0 16px; }
.hy-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; z-index: 0; pointer-events: none; }
.hy-line { fill: none; stroke: #D3D9E5; stroke-width: 1.5; stroke-linecap: round; transition: stroke .4s, opacity .4s; }
.hy-lines.is-drawing .hy-line { animation: hyDraw 1s ease-out both; }
.hy-lines.is-drawing .hy-line:nth-child(2) { animation-delay: .12s; }
.hy-lines.is-drawing .hy-line:nth-child(3) { animation-delay: .24s; }
.hy-lines.is-drawing .hy-line:nth-child(4) { animation-delay: .36s; }
@keyframes hyDraw { from { stroke-dashoffset: var(--len); } to { stroke-dashoffset: 0; } }
.hy-node {
  position: relative; z-index: 1; display: flex; align-items: center; gap: 8px; min-width: 0;
  background: #fff; border: 1px solid #E3E7EF; border-radius: 10px; padding: 8px 10px; font-size: 12px; line-height: 1.3;
  transition: opacity .4s, border-color .4s, box-shadow .4s;
}
.hy-node i { flex: none; width: 24px; height: 28px; border-radius: 4px; background: #fff; border: 1px solid #D5DAE4; font: 700 7px/26px Inter, sans-serif; color: var(--muted); text-align: center; font-style: normal; }
.hy-node span { min-width: 0; }
.hy-node b { display: block; color: var(--ink); font-weight: 600; }
.hy-node small { display: block; color: var(--muted); font-size: 11px; }
.hy-node[data-node="mail"] { grid-area: 1 / 1; }
.hy-node[data-node="po"] { grid-area: 1 / 3; }
.hy-node[data-node="fwd"] { grid-area: 3 / 1; }
.hy-node[data-node="pl"] { grid-area: 3 / 3; }
.hy-core {
  grid-area: 2 / 2; position: relative; z-index: 1; text-align: center; background: var(--navy); color: #fff;
  border-radius: 14px; padding: 14px 12px; box-shadow: 0 10px 24px rgba(12,20,45,.18); transition: box-shadow .4s;
}
.hy-core b { display: block; font-size: 15px; }
.hy-core small { display: block; font-size: 11px; color: var(--on-dark-muted); margin-top: 2px; }
.hy-state { display: inline-block; margin-top: 8px; font-size: 11.5px; font-weight: 700; color: var(--mint); background: rgba(103,221,172,.16); padding: 3px 10px; border-radius: 999px; }

/* Lenses: what each principle draws attention to */
.hy-demo[data-lens-view="connected"] .hy-line { stroke: var(--mint); }
.hy-demo[data-lens-view="context"] .hy-node[data-node="po"],
.hy-demo[data-lens-view="context"] .hy-node[data-node="pl"],
.hy-demo[data-lens-view="proactive"] .hy-node[data-node="mail"],
.hy-demo[data-lens-view="proactive"] .hy-node[data-node="po"],
.hy-demo[data-lens-view="proactive"] .hy-node[data-node="fwd"],
.hy-demo[data-lens-view="action"] .hy-node[data-node="po"],
.hy-demo[data-lens-view="action"] .hy-node[data-node="pl"] { opacity: .42; }
.hy-demo[data-lens-view="context"] .hy-line[data-line="po"],
.hy-demo[data-lens-view="context"] .hy-line[data-line="pl"],
.hy-demo[data-lens-view="proactive"] .hy-line:not([data-line="pl"]),
.hy-demo[data-lens-view="action"] .hy-line[data-line="po"],
.hy-demo[data-lens-view="action"] .hy-line[data-line="pl"] { opacity: .35; }
.hy-demo[data-lens-view="context"] .hy-node[data-node="mail"] { border-color: var(--amber); box-shadow: 0 0 0 4px rgba(242,181,68,.16); }
.hy-demo[data-lens-view="context"] .hy-line[data-line="mail"] { stroke: var(--amber); }
.hy-demo[data-lens-view="context"] .hy-node[data-node="fwd"] { border-style: dashed; border-color: #AEB7CB; }
.hy-demo[data-lens-view="context"] .hy-line[data-line="fwd"] { stroke-dasharray: 4 5 !important; stroke: #AEB7CB; }
.hy-demo[data-lens-view="proactive"] .hy-node[data-node="pl"] { border-color: var(--red-ink); box-shadow: 0 0 0 4px rgba(162,59,59,.12); }
.hy-demo[data-lens-view="proactive"] .hy-line[data-line="pl"] { stroke: #D98C8C; stroke-dasharray: 4 5 !important; }
.hy-demo[data-lens-view="action"] .hy-node[data-node="mail"],
.hy-demo[data-lens-view="action"] .hy-node[data-node="fwd"] { border-color: var(--mint); box-shadow: 0 0 0 4px rgba(103,221,172,.18); }
.hy-demo[data-lens-view="action"] .hy-line[data-line="mail"],
.hy-demo[data-lens-view="action"] .hy-line[data-line="fwd"] { stroke: var(--mint); }
.hy-demo[data-lens-view="action"] .hy-core { box-shadow: 0 0 0 5px rgba(103,221,172,.28), 0 10px 24px rgba(12,20,45,.18); }

.hy-panels { border: 1px solid #E6E9F0; border-radius: 12px; background: #FAFBFD; padding: 12px 14px; }
.hy-panel + .hy-panel { margin-top: 14px; padding-top: 14px; border-top: 1px solid #E6E9F0; }
.is-ready .hy-panels { display: grid; }
.is-ready .hy-panel { grid-area: 1 / 1; visibility: hidden; opacity: 0; margin: 0; padding: 0; border: 0; transition: opacity .35s; }
.is-ready .hy-panel.is-active { visibility: visible; opacity: 1; }
.hy-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 12.5px; padding: 5px 0; border-bottom: 1px dashed #E3E7EF; }
.hy-row span:first-child { color: var(--ink); min-width: 0; }
.hy-planned span:first-child { color: var(--muted); }
.chip-plan { background: transparent; border: 1px dashed #AEB7CB; color: #5A6480; padding: 2px 8px; }
.hy-quote { margin: 0 0 6px; font-size: 12.5px; font-style: italic; color: var(--ink); }
.hy-practice { margin: 10px 0 0; font-size: 12.5px; color: var(--body); }
.hy-act { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 7px 0; border-bottom: 1px dashed #E3E7EF; }
.hy-act b { display: block; color: var(--ink); font-size: 12.8px; font-weight: 600; }
.hy-act small { display: block; color: var(--muted); font-size: 11.5px; }
.hy-act .pod-approve, .hy-act .chip { flex: none; }
.pod-approve.is-done { background: var(--mint-tint); color: var(--mint-ink); cursor: default; }
.hy-demo { margin: 0; min-width: 0; }
.hy-demo .mock-caption { margin-top: 12px; }

.hy-closing { margin-top: 64px; padding-top: 40px; border-top: 1px solid rgba(255,255,255,.1); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.hy-closing h3 { color: #fff; font-size: clamp(1.4rem, 2.5vw, 1.85rem); font-weight: 800; letter-spacing: -0.02em; margin: 0; }
.hy-closing p { margin: 0; color: var(--on-dark); }

@media (max-width: 980px) {
  .hyper-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .hy-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .hy-tabs button { grid-template-columns: 1fr; padding: 10px 12px; }
  .hy-no, .hy-def { display: none; }
  .hy-name { font-size: .95rem; }
  .is-ready .hy-defline { display: block; margin: 0 0 6px; color: var(--on-dark); font-size: .95rem; min-height: 3.2em; }
  .hy-closing { grid-template-columns: minmax(0, 1fr); gap: 14px; margin-top: 48px; padding-top: 32px; }
}
@media (max-width: 560px) {
  .hy-body { padding: 12px 12px 10px; }
  .hy-map { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px 10px; }
  .hy-node[data-node="mail"] { grid-area: 1 / 1; }
  .hy-node[data-node="po"] { grid-area: 1 / 2; }
  .hy-core { grid-area: 2 / 1 / 3 / 3; }
  .hy-node[data-node="fwd"] { grid-area: 3 / 1; }
  .hy-node[data-node="pl"] { grid-area: 3 / 2; }
  .hy-node { padding: 7px 8px; font-size: 11.5px; }
  .hy-node i { display: none; }
  .hy-act { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  .hy-lines.is-drawing .hy-line { animation: none; }
  .hy-node, .hy-line, .hy-core, .is-ready .hy-panel, .hy-tabs button { transition: none; }
}

/* ---------- Research page: PO Management 5.0 (editorial layout) ---------- */
.rp { --serif: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; --rp-a: #1F9E70; --rp-b: #D08A12; --rp-c: #4A5D94; --rp-d: #B0407E; }
.rp-kicker { font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--mint-ink); margin: 0 0 1.4em; }
.rp-kicker span { color: #AEB7CB; margin: 0 .35em; }
.rp-hero { padding: 72px 0 0; background: #fff; }
.rp-title { font-family: var(--serif); font-weight: 800; font-size: clamp(2.6rem, 6vw, 4.25rem); letter-spacing: -0.03em; line-height: 1.05; margin: 0 0 .25em; color: var(--ink); }
.rp-sub { font-size: clamp(1.15rem, 2.2vw, 1.5rem); font-weight: 600; color: var(--navy-2); max-width: 30em; line-height: 1.35; margin: 0; }
.rp-standfirst { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 48px; margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--line); }
.rp-lede { font-family: var(--serif); font-size: clamp(1.15rem, 2vw, 1.35rem); font-weight: 500; line-height: 1.5; color: var(--ink); margin: 0; }
.rp-standfirst p:last-child { margin-bottom: 0; }
.rp-cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.rp-meta { display: flex; flex-wrap: wrap; gap: 12px 48px; margin: 40px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); }
.rp-meta dt { font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.rp-meta dd { margin: 2px 0 0; color: var(--ink); font-weight: 600; font-size: .95rem; }
.rp-photo { margin: 56px auto 0; max-width: 1440px; }
.rp-photo picture { display: block; }
.rp-photo img { width: 100%; height: auto; aspect-ratio: 2 / 1; object-fit: cover; object-position: center; display: block; background: #E9E4DC; }
.rp-credit { font-size: .75rem; color: var(--muted); padding: 8px 0 0; }
.rp-credit a { color: var(--muted); }

.rp-section { padding: 104px 0; border-top: 1px solid var(--line); }
.rp-tint { background: var(--tint); }
.rp-cols { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 56px; }
.rp-label { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); align-self: start; position: sticky; top: 96px; }
.rp-num { display: block; font-family: var(--serif); font-size: 2rem; font-weight: 800; letter-spacing: -0.02em; color: var(--mint-ink); line-height: 1; margin-bottom: 10px; }
.rp-body { max-width: 46rem; }
.rp-cols-head .rp-body { max-width: 40rem; }
.rp-h2 { font-family: var(--serif); font-weight: 800; font-size: clamp(1.6rem, 3vw, 2.35rem); line-height: 1.15; letter-spacing: -0.025em; color: var(--ink); margin: 0 0 .6em; }
.rp-h3 { font-family: var(--serif); font-weight: 700; font-size: 1.3rem; color: var(--ink); margin: 2em 0 .8em; }
.rp-pull { margin: 44px 0; padding: 4px 0 4px 28px; border-left: 3px solid var(--mint); }
.rp-pull p { font-family: var(--serif); font-weight: 600; font-size: clamp(1.2rem, 2.1vw, 1.5rem); line-height: 1.45; letter-spacing: -0.01em; color: var(--ink); margin: 0; }
.rp-pull-small p { font-size: clamp(1.1rem, 1.8vw, 1.25rem); }
.rp-pull a { color: var(--mint-ink); text-decoration-thickness: 1px; }
.rp-caption, .rp-note { font-size: .85rem; color: var(--muted); }
.rp-note { border-left: 2px solid #D5DAE4; padding-left: 12px; margin: 16px 0 0; }
.rp-note.on-dark { color: var(--on-dark-muted); border-color: rgba(255,255,255,.2); }

/* Operating model */
.rp-model { margin-top: 48px; }
.rp-tabs { display: flex; flex-wrap: wrap; gap: 4px 32px; border-bottom: 1px solid var(--line); }
.rp-tabs button { font: 600 15px Inter, sans-serif; color: var(--muted); background: none; border: 0; border-bottom: 2px solid transparent; padding: 12px 0; margin-bottom: -1px; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
.rp-tabs button b { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; font-size: 11.5px; color: #fff; background: #AEB7CB; }
.rp-tabs button[data-path="a"] b { background: var(--rp-a); }
.rp-tabs button[data-path="b"] b { background: var(--rp-b); }
.rp-tabs button[data-path="c"] b { background: var(--rp-c); }
.rp-tabs button[data-path="d"] b { background: var(--rp-d); }
.rp-tabs button small { font-weight: 500; color: var(--muted); }
.rp-tabs button:hover { color: var(--ink); }
.rp-tabs button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--ink); }
.rp-tabs button:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; border-radius: 4px; }
.rp-model-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; margin-top: 28px; }
.rp-panels { max-width: 52rem; }
.is-ready .rp-panel ul { columns: 2; column-gap: 32px; }
.rp-panel li { break-inside: avoid; }
.rp-diagram { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 20px 18px 14px; }
.rp-svg svg { display: block; width: 100%; height: auto; font-family: Inter, sans-serif; overflow: visible; }
.rp-svg .rp-svg-n { display: none; }
.rp-edge { fill: none; stroke-width: 3; stroke-linecap: round; transition: opacity .3s; }
.rp-edge.path-d { stroke: var(--rp-d); } .rp-edge.path-a { stroke: var(--rp-a); } .rp-edge.path-b { stroke: var(--rp-b); } .rp-edge.path-c { stroke: var(--rp-c); }
.rp-info { fill: none; stroke: var(--rp-d); stroke-width: 2; stroke-dasharray: 6 5; transition: opacity .3s; }
.rp-arrowhead { fill: var(--rp-d); }
.rp-flow { fill: none; stroke: #fff; stroke-width: 1.6; stroke-linecap: round; stroke-dasharray: 1 13; animation: rpFlow 1.3s linear infinite; transition: opacity .3s; }
@keyframes rpFlow { to { stroke-dashoffset: -14; } }
.rp-node { transition: opacity .3s; }
.rp-node rect { fill: #fff; stroke: #C9D0DE; stroke-width: 1.2; }
.rp-node.hub rect { fill: #EEF9F4; stroke: var(--rp-a); }
.rp-node.dc rect { fill: #F1F3F8; stroke: var(--rp-c); }
.rp-node.dest rect { fill: var(--navy); stroke: var(--navy); }
.rp-node.info rect { fill: #FBF1F6; stroke: var(--rp-d); stroke-dasharray: 5 4; }
.rp-node.carrier rect { fill: #fff; stroke: var(--rp-d); }
.rp-node.rest rect { fill: #F1F3F8; stroke: var(--rp-a); }
.rp-nt { fill: var(--ink); font-weight: 600; }
.rp-ns { fill: var(--muted); }
.rp-node.dest .rp-nt { fill: #fff; } .rp-node.dest .rp-ns { fill: var(--on-dark-muted); }
.rp-elabel { fill: var(--ink); font-weight: 600; opacity: 0; paint-order: stroke; stroke: #fff; stroke-width: 5px; stroke-linejoin: round; transition: opacity .3s; }
.rp-model[data-active="a"] .rp-edge:not(.path-a), .rp-model[data-active="a"] .rp-info:not(.path-a), .rp-model[data-active="b"] .rp-edge:not(.path-b), .rp-model[data-active="b"] .rp-info:not(.path-b), .rp-model[data-active="c"] .rp-edge:not(.path-c), .rp-model[data-active="c"] .rp-info:not(.path-c), .rp-model[data-active="d"] .rp-edge:not(.path-d), .rp-model[data-active="d"] .rp-info:not(.path-d) { opacity: .12; }
.rp-model[data-active="a"] .rp-flow:not(.path-a), .rp-model[data-active="b"] .rp-flow:not(.path-b), .rp-model[data-active="c"] .rp-flow:not(.path-c), .rp-model[data-active="d"] .rp-flow:not(.path-d) { opacity: 0; }
.rp-model[data-active="a"] .rp-node:not(.in-a), .rp-model[data-active="b"] .rp-node:not(.in-b), .rp-model[data-active="c"] .rp-node:not(.in-c), .rp-model[data-active="d"] .rp-node:not(.in-d) { opacity: .3; }
.rp-model[data-active="a"] .rp-lane:not(.path-a), .rp-model[data-active="b"] .rp-lane:not(.path-b), .rp-model[data-active="c"] .rp-lane:not(.path-c), .rp-model[data-active="d"] .rp-lane:not(.path-d) { opacity: .35; }
.rp-model[data-active="a"] .rp-elabel.path-a, .rp-model[data-active="b"] .rp-elabel.path-b, .rp-model[data-active="c"] .rp-elabel.path-c, .rp-model[data-active="d"] .rp-elabel.path-d { opacity: 1; }
.rp-legend { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 10px; font-size: 12px; color: var(--muted); }
.rp-legend i { display: inline-block; width: 18px; height: 3px; border-radius: 2px; vertical-align: 3px; margin-right: 6px; }
.rp-legend .lg-a { background: var(--rp-a); } .rp-legend .lg-b { background: var(--rp-b); } .rp-legend .lg-c { background: var(--rp-c); } .rp-legend .lg-d { background: var(--rp-d); }
.rp-legend .lg-info { height: 0; border-top: 2px dashed var(--rp-d); background: none; border-radius: 0; }
.rp-legend-group { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; }
.rp-legend-group > b { font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); }
.rp-legend { justify-content: space-between; gap: 8px 28px; }
.rp-lane-bg { fill: #F7F8FB; }
.rp-lane.is-focal .rp-lane-bg { fill: #FBF1F6; }
.rp-lane-title { font-weight: 700; fill: var(--ink); }
.rp-lane-focal { font-weight: 700; fill: var(--rp-d); letter-spacing: .06em; text-transform: uppercase; }
.rp-lane { transition: opacity .3s; }
.rp-panel + .rp-panel { margin-top: 28px; }
.is-ready .rp-panels { display: grid; }
.is-ready .rp-panel { grid-area: 1 / 1; visibility: hidden; opacity: 0; margin: 0; transition: opacity .3s; }
.is-ready .rp-panel.is-active { visibility: visible; opacity: 1; }
.rp-panel h3 { font-family: var(--serif); font-weight: 700; font-size: 1.35rem; margin: 0 0 .5em; display: flex; align-items: center; gap: 12px; }
.rp-panel h4 { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 1.6em 0 .6em; }
.rp-panel ul, .rp-why-join ul { list-style: none; margin: 0; padding: 0; }
.rp-panel li { padding: 7px 0 7px 20px; border-top: 1px solid var(--line); position: relative; margin: 0; }
.rp-panel li::before { content: ""; position: absolute; left: 2px; top: 16px; width: 7px; height: 7px; border-radius: 50%; background: var(--mint); }
.rp-path-tag { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; color: #fff; font: 700 14px Inter, sans-serif; flex: none; }
.tag-a { background: var(--rp-a); } .tag-b { background: var(--rp-b); } .tag-c { background: var(--rp-c); } .tag-d { background: var(--rp-d); }
.rp-statement { font-family: var(--serif); font-weight: 800; letter-spacing: -0.025em; font-size: clamp(1.5rem, 3vw, 2.2rem); line-height: 1.25; color: var(--ink); text-align: center; max-width: 24em; margin: 88px auto 0; }
.rp-statement em { color: var(--mint-ink); font-style: normal; }

/* Why 5.0 */
.rp-evolution { list-style: none; padding: 0; margin: 36px 0 10px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.rp-evolution li { margin: 0; border-top: 2px solid #D5DAE4; padding-top: 12px; font-size: .88rem; line-height: 1.4; color: var(--body); }
.rp-evolution b { display: block; font-family: var(--serif); font-weight: 800; font-size: 1.4rem; color: #8892A8; margin-bottom: 4px; }
.rp-evolution .is-next { border-top-color: var(--mint); }
.rp-evolution .is-next b { color: var(--mint-ink); }
.rp-components { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; counter-reset: comp; }
.rp-components li { margin: 0; padding: 16px 0 16px 38px; border-top: 1px solid #DDE2EC; position: relative; counter-increment: comp; }
.rp-components li::before { content: counter(comp); position: absolute; left: 0; top: 15px; font-family: var(--serif); font-weight: 800; font-size: 1.15rem; color: var(--mint-ink); }
.rp-components b { display: block; color: var(--ink); }
.rp-components span { font-size: .94rem; }

/* Hypotheses */
.rp-hyps { margin-top: 32px; }
.rp-hyp { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 16px; padding: 26px 0; border-top: 1px solid var(--line); }
.rp-hyp:last-child { border-bottom: 1px solid var(--line); }
.rp-hyp-no { font-family: var(--serif); font-weight: 800; letter-spacing: -0.02em; font-size: 2.1rem; line-height: 1; color: var(--mint-ink); }
.rp-hyp h3 { font-size: 1.12rem; margin: 2px 0 .35em; }
.rp-hyp p { margin: 0; font-family: var(--serif); font-size: 1.1rem; font-weight: 500; line-height: 1.5; color: var(--ink); }

/* Methodology */
.rp-timeline { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; position: relative; }
.rp-timeline::before { content: ""; position: absolute; left: 6px; right: 0; top: 6px; height: 1px; background: #CDD2DC; }
.rp-timeline li { position: relative; margin: 0; padding-top: 30px; }
.rp-timeline li::before { content: ""; position: absolute; left: 0; top: 0; width: 13px; height: 13px; border-radius: 50%; background: var(--tint); border: 2px solid var(--mint); }
.rp-phase { display: block; font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.rp-timeline h3 { font-family: var(--serif); font-weight: 700; font-size: 1.12rem; margin: .3em 0 .45em; }
.rp-timeline p { font-size: .93rem; margin: 0 0 12px; }
.rp-state { display: inline-block; font-size: 11px; font-weight: 700; color: #5A6480; border: 1px dashed #AEB7CB; border-radius: 999px; padding: 2px 9px; }

/* Invitation */
.rp-invite { background: var(--navy-deep); color: var(--on-dark); border-top: 0; }
.rp-invite .rp-kicker { color: var(--mint); }
.rp-invite .rp-h2 { color: #fff; max-width: 18em; }
.rp-invite-head { max-width: 46rem; }
.rp-lede-sm { font-family: var(--serif); font-size: clamp(1.1rem, 1.8vw, 1.25rem); line-height: 1.55; color: var(--on-dark); }
.rp-profiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: 56px; }
.rp-profiles > div { border-top: 1px solid rgba(255,255,255,.18); padding-top: 18px; }
.rp-profiles h3 { font-family: var(--serif); font-weight: 700; font-size: 1.15rem; color: #fff; }
.rp-profiles p { margin: 0; font-size: .96rem; }
.rp-why-join { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 56px; margin-top: 64px; align-items: start; }
.rp-why-join h3 { color: #fff; font-size: 1.15rem; }
.rp-why-join li { padding: 9px 0 9px 26px; border-top: 1px solid rgba(255,255,255,.1); position: relative; margin: 0; }
.rp-why-join li::before { content: ""; position: absolute; left: 0; top: 17px; width: 12px; height: 7px; border-left: 2px solid var(--mint); border-bottom: 2px solid var(--mint); transform: rotate(-45deg); }
.rp-contact { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.12); border-radius: 16px; padding: 28px; }
.rp-contact .btn { margin: 6px 0 4px; }
.rp-alt { font-size: .9rem; color: var(--on-dark-muted); margin: 14px 0 0; }
.rp-invite a:not(.btn) { color: #fff; }

/* Status and about */
.rp-status { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 28px; }
.rp-status-label { display: flex; align-items: center; gap: 10px; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--amber-ink); margin: 0 0 1em; }
.rp-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 4px rgba(242,181,68,.2); }
.rp-updates { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 20px 0 0; padding-top: 16px; border-top: 1px solid var(--line); }
.rp-updates dt { font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.rp-updates dd { margin: 2px 0 0; color: var(--ink); font-weight: 600; }
.rp-about-h { margin-top: 64px; }

@media (max-width: 980px) {
  .rp-cols { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .rp-label { position: static; display: flex; align-items: baseline; gap: 12px; }
  .rp-num { display: inline; font-size: 1.4rem; margin: 0; }
  .rp-model-grid, .rp-why-join, .rp-standfirst { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .rp-profiles { grid-template-columns: minmax(0, 1fr); gap: 24px; margin-top: 40px; }
  .rp-timeline { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .rp-timeline::before { left: 6px; right: auto; top: 6px; bottom: 6px; width: 1px; height: auto; }
  .rp-timeline li { padding: 0 0 26px 34px; }
  .rp-timeline li::before { top: 4px; }
  .rp-evolution { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .rp-evolution li { display: grid; grid-template-columns: 56px 1fr; gap: 10px; align-items: baseline; padding: 10px 0; border-top-width: 1px; }
  .rp-evolution .is-next { border-top-width: 2px; }
  .rp-evolution b { font-size: 1.2rem; margin: 0; }
  .rp-section { padding: 72px 0; }
}
@media (max-width: 980px) {
  .rp-svg .rp-svg-w { display: none; }
  .rp-svg .rp-svg-n { display: block; max-width: 460px; margin: 0 auto; }
}
@media (max-width: 860px) {
  .is-ready .rp-panel ul { columns: 1; }
}
@media (max-width: 760px) {
  .rp-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
  .rp-tabs button { font-size: 14px; padding: 10px 0; }
  .rp-tabs button small { display: none; }
  .rp-components { grid-template-columns: minmax(0, 1fr); }
  .rp-photo img { aspect-ratio: 3 / 2; }
  .rp-hyp { grid-template-columns: 56px minmax(0, 1fr); }
  .rp-hyp-no { font-size: 1.7rem; }
  .rp-diagram { padding: 14px 10px 10px; }
  .rp-updates { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .rp-flow { animation: none; opacity: 0; }
  .rp-edge, .rp-node, .rp-elabel, .is-ready .rp-panel { transition: none; }
}

/* Footer newsletter sign-up */
.footer-newsletter { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 32px; align-items: start; padding-top: 32px; padding-bottom: 32px; margin-top: 8px; border-top: 1px solid rgba(255,255,255,.08); }
.footer-newsletter h2 { margin: 0 0 6px; }
.footer-newsletter p { margin: 0; }
.nl-form { display: flex; gap: 10px; }
.nl-form input[type="email"] { flex: 1; min-width: 0; font: inherit; font-size: .95rem; color: #fff; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.18); border-radius: 10px; padding: 10px 14px; }
.nl-form input[type="email"]::placeholder { color: var(--on-dark-muted); }
.nl-form input[type="email"]:focus { outline: 2px solid var(--mint); outline-offset: 1px; border-color: transparent; }
.nl-form .btn { flex: none; }
.nl-trap { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.nl-msg { min-height: 0; margin: 8px 0 0 !important; font-size: .9rem; }
.nl-msg:empty { display: none; }
.nl-msg.is-thanks { color: var(--mint); font-weight: 600; }
.nl-msg.is-error, .nl-msg.is-invalid { color: #F2B4B4; }
.nl-note { margin-top: 8px !important; font-size: .8rem; }
@media (max-width: 760px) { .footer-newsletter { grid-template-columns: minmax(0, 1fr); gap: 14px; } }
@media (max-width: 420px) { .nl-form { flex-direction: column; } .nl-form .btn { justify-content: center; } }

/* WhatsApp contact button */
.wa { position: fixed; right: 20px; bottom: 20px; z-index: 900; display: flex; align-items: flex-end; gap: 12px; opacity: 0; transform: translateY(12px); transition: opacity .35s ease, transform .35s ease; }
.wa[hidden] { display: none; }
.wa.is-in { opacity: 1; transform: none; }
.wa-btn { flex: none; width: 56px; height: 56px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 6px 18px rgba(12,20,45,.22); transition: transform .15s ease, box-shadow .15s ease; }
.wa-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(12,20,45,.28); color: #fff; }
.wa-btn:focus-visible { outline: 3px solid var(--navy-2); outline-offset: 3px; }
.wa-bubble { position: relative; max-width: 260px; background: #fff; color: var(--body); border: 1px solid var(--line); border-radius: 14px 14px 4px 14px; padding: 12px 34px 12px 14px; font-size: .9rem; line-height: 1.45; box-shadow: 0 8px 24px rgba(12,20,45,.16); margin-bottom: 6px; animation: waIn .35s ease both; }
.wa-bubble[hidden] { display: none; }
.wa-bubble p { margin: 0; }
.wa-bubble b { display: block; color: var(--ink); }
.wa-close { position: absolute; top: 4px; right: 6px; width: 26px; height: 26px; border: 0; background: none; color: var(--muted); font-size: 20px; line-height: 1; cursor: pointer; border-radius: 50%; }
.wa-close:hover { background: var(--tint); color: var(--ink); }
.wa-close:focus-visible { outline: 2px solid var(--mint); }
@keyframes waIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (max-width: 560px) {
  .wa { right: 14px; bottom: 14px; gap: 8px; }
  .wa-btn { width: 52px; height: 52px; }
  .wa-bubble { max-width: 210px; font-size: .84rem; padding: 10px 30px 10px 12px; }
}
@media (prefers-reduced-motion: reduce) { .wa, .wa-bubble, .wa-btn { transition: none; animation: none; } }
@media print { .wa { display: none !important; } }
.site-footer .footer-base { padding-bottom: 88px; } /* room for the WhatsApp button at the very end of the page */
.nl-page { min-height: 56vh; }
.nl-page [data-state] .btn { margin-top: 8px; }

/* Research page: flow D detail, allocation table, operating models */
.rp-flowtype { display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 2px 10px; margin: 0 0 .9em; }
.rp-flowtype.is-focal { color: #fff; background: var(--rp-d); border-color: var(--rp-d); }
.rp-example { background: var(--tint); border-radius: 12px; padding: 16px 18px; margin: 18px 0; }
.rp-example p { margin: 0; }
.rp-alloc-wrap { margin: 18px 0 6px; }
.rp-alloc { width: 100%; border-collapse: collapse; font-size: .9rem; }
.rp-alloc th, .rp-alloc td { text-align: right; padding: 9px 10px; border-top: 1px solid var(--line); vertical-align: top; }
.rp-alloc th:first-child, .rp-alloc td:first-child, .rp-alloc th:nth-child(2), .rp-alloc td:nth-child(2) { text-align: left; }
.rp-alloc thead th { font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); border-top: 0; }
.rp-alloc td.is-so { color: var(--rp-d); font-weight: 700; }
.rp-alloc td.is-rest { color: var(--rp-a); font-weight: 700; }
.rp-alloc td small { display: block; color: var(--muted); font-size: .78rem; }
.rp-panel .rp-reqs { columns: 2; column-gap: 32px; }
.rp-ops { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 28px; }
.rp-ops > div { border: 1px solid var(--line); border-radius: 14px; padding: 22px; background: #fff; }
.rp-ops h4 { margin: 0 0 .4em; font-size: 1.05rem; color: var(--ink); }
.rp-ops p { margin: 0; font-size: .95rem; }
.rp-ops-wrap { margin-top: 88px; }
.rp-ops-wrap .rp-h3 { margin-top: 0; }
.rp-ops-wrap > p { max-width: 46rem; }
.rp-compare { list-style: none; padding: 0; margin: 20px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: cmp; }
.rp-compare li { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px; font-size: .93rem; counter-increment: cmp; }
.rp-compare li::before { content: counter(cmp); display: block; font-weight: 800; color: var(--mint-ink); font-size: 1.1rem; margin-bottom: 4px; }
.rp-compare b { display: block; color: var(--ink); margin-bottom: 4px; }
.rp-lists { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; margin-top: 8px; }
.rp-lists ul { margin: 0; padding-left: 18px; font-size: .93rem; }
.rp-lists li { margin: 0 0 4px; }
.rp-objectives { margin: 1.2em 0; padding-left: 1.3em; }
.rp-objectives li { margin: 0 0 .7em; }
.rp-objectives b { color: var(--ink); }
.rp-rq { margin: 40px 0; padding: 22px 24px; border-radius: 14px; background: var(--navy-deep); color: var(--on-dark); }
.rp-rq span { display: block; font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--mint); margin-bottom: 8px; }
.rp-rq p { margin: 0; font-size: clamp(1.08rem, 1.8vw, 1.25rem); line-height: 1.5; color: #fff; font-weight: 600; }
.rp-profiles.is-five { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 40px; }
@media (max-width: 980px) {
  .rp-compare, .rp-lists, .rp-ops { grid-template-columns: minmax(0, 1fr); }
  .rp-profiles.is-five { grid-template-columns: minmax(0, 1fr); row-gap: 24px; }
}
@media (max-width: 860px) {
  .rp-panel .rp-reqs { columns: 1; }
}
@media (max-width: 600px) {
  .rp-alloc thead { display: none; }
  .rp-alloc, .rp-alloc tbody, .rp-alloc tr, .rp-alloc td { display: block; width: 100%; }
  .rp-alloc tr { border-top: 1px solid var(--line); padding: 8px 0; }
  .rp-alloc td { border: 0; padding: 3px 0; text-align: left !important; display: flex; justify-content: space-between; gap: 12px; }
  .rp-alloc td::before { content: attr(data-label); color: var(--muted); font-weight: 500; }
  .rp-alloc td small { display: inline; margin-left: 6px; }
  .rp-legend { flex-direction: column; }
}
@media (max-width: 760px) {
  .rp-tabs button[data-path="d"] { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) {
  .rp-lane, .rp-info { transition: none; }
}
.rp-lists h4 { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 .7em; }
.rp-alloc td.is-free { color: var(--muted); }
.rp-alloc td.is-so-other { color: var(--rp-d); }
.rp-standfirst > div p:last-child { margin-bottom: 0; }
.rp-dcap { display: none; margin: 12px 0 0; padding: 10px 14px; border-left: 3px solid var(--rp-d); background: #FBF1F6; border-radius: 0 8px 8px 0; font-size: .92rem; font-weight: 600; color: var(--ink); }
.rp-model[data-active="d"] .rp-dcap { display: block; }

/* Consent banner (Google Analytics opt-in) */
.ck { position: fixed; left: 20px; bottom: 20px; z-index: 950; max-width: 420px; background: #fff; color: var(--body); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 12px 36px rgba(12,20,45,.18); padding: 18px 20px; }
.ck[hidden] { display: none; }
.ck-title { margin: 0 0 4px; font-weight: 700; color: var(--ink); }
.ck-text { margin: 0 0 14px; font-size: .92rem; line-height: 1.5; }
.ck-actions { display: flex; gap: 10px; }
.ck-actions .btn { flex: 1; justify-content: center; }
.footer-base { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; justify-content: space-between; }
.ck-open { font: inherit; font-size: inherit; color: inherit; background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.ck-open:hover { color: #fff; }
.has-ck .wa { display: none !important; }
@media (max-width: 560px) {
  .ck { left: 12px; right: 12px; bottom: 12px; max-width: none; padding: 16px; }
}
/* Legal pages */
.legal h2 { margin-top: 2em; }
.legal mark.todo { background: #FFF1C9; color: #6B4E00; padding: 1px 4px; border-radius: 4px; }
.legal-table { overflow-x: auto; margin: 0 0 1.2em; }
.legal-table table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.legal-table th, .legal-table td { text-align: left; vertical-align: top; padding: 8px 10px; border-top: 1px solid var(--line); }
.legal-table th { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); border-top: 0; }
.legal-table td:first-child { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .85rem; white-space: nowrap; }
.text-link-btn { font: inherit; color: var(--mint-ink); background: none; border: 0; padding: 0; text-decoration: underline; cursor: pointer; }
.ck-text a { color: var(--mint-ink); }
.pod-dev { margin: 8px 0 0; }
/* Draft placeholders for screenshots still to be verified */
.shot-todo { display: grid; place-items: center; min-height: 260px; border: 2px dashed #C9CFDC; border-radius: 14px; background: repeating-linear-gradient(45deg, #F7F8FB, #F7F8FB 12px, #F1F3F8 12px, #F1F3F8 24px); padding: 24px; text-align: center; color: var(--muted); font-size: .92rem; font-weight: 600; }

/* ---------- container tracking page ---------- */
.tr-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.tr-lookup { display: flex; gap: 10px; max-width: 40rem; margin-top: 1.8em; }
.tr-lookup input { flex: 1; min-width: 0; font: inherit; font-size: 1.05rem; letter-spacing: .03em; color: #fff; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.22); border-radius: 12px; padding: 13px 16px; }
.tr-lookup input::placeholder { color: var(--on-dark-muted); letter-spacing: 0; }
.tr-lookup input:focus { outline: 2px solid var(--mint); outline-offset: 1px; border-color: transparent; }
.tr-result { max-width: 40rem; margin-top: 14px; }
.tr-result > p { color: var(--on-dark); }
.tr-card { background: #fff; color: var(--body); border-radius: 14px; padding: 18px 20px; box-shadow: 0 10px 30px rgba(0,0,0,.18); }
.tr-card .btn { margin: 4px 8px 4px 0; }
.tr-found { font-weight: 700; color: var(--ink); margin: 0 0 10px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.tr-small { font-size: .88rem; color: var(--muted); margin: 6px 0 0; }
.tr-offer { margin: 16px 0 6px; padding-top: 14px; border-top: 1px solid #E3E7EF; font-weight: 600; color: var(--ink); }
.tr-carriers { display: flex; flex-wrap: wrap; gap: 8px; }
.tr-carriers a { font-size: .9rem; padding: 6px 12px; border: 1px solid #C9CFDC; border-radius: 999px; text-decoration: none; }
.tr-carriers a:hover { background: var(--tint); }
.tr-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; }
.tr-honest { font-size: .92rem; color: var(--muted); background: var(--tint); border-radius: 10px; padding: 12px 14px; }
.tr-form { background: #fff; border: 1px solid #E3E7EF; border-radius: 16px; padding: 24px; box-shadow: 0 6px 24px rgba(17,29,63,.06); display: grid; gap: 14px; }
.tr-form label { display: grid; gap: 6px; font-weight: 600; font-size: .92rem; color: var(--ink); }
.tr-form .tr-hint { font-weight: 400; color: var(--muted); font-size: .85rem; }
.tr-form input[type="text"], .tr-form input[type="email"], .tr-form textarea, .tr-form select { font: inherit; font-weight: 400; font-size: .95rem; color: var(--ink); border: 1px solid #C9CFDC; border-radius: 10px; padding: 10px 12px; background: #fff; width: 100%; box-sizing: border-box; }
.tr-form textarea[name="numbers"] { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .02em; }
.tr-form :focus { outline: 2px solid var(--mint); outline-offset: 1px; }
.tr-form fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 6px; }
.tr-form legend { font-weight: 600; font-size: .92rem; color: var(--ink); margin-bottom: 4px; }
.tr-form .tr-check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; color: var(--body); }
.tr-form .tr-check input { margin-top: 4px; flex: none; }
.tr-form .tr-consent { font-size: .82rem; color: var(--muted); }
.tr-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tr-trap { position: absolute; left: -9999px; }
.tr-form .btn { justify-self: start; }
.tr-msg { margin: 0; font-size: .92rem; }
.tr-msg.is-thanks { color: var(--mint-ink); font-weight: 600; font-size: 1rem; }
.tr-msg.is-invalid, .tr-msg.is-consent, .tr-msg.is-error { color: #B42318; }
.tr-next { columns: 2; column-gap: 40px; }
@media (max-width: 860px) { .tr-grid { grid-template-columns: 1fr; gap: 28px; } .tr-next { columns: 1; } }
@media (max-width: 520px) { .tr-lookup { flex-direction: column; } .tr-row { grid-template-columns: 1fr; } }
.hero-dark .tr-card .btn-ghost { color: var(--navy); border-color: #C9CFDC; }
.hero-dark .tr-card .btn-ghost:hover { background: var(--tint); color: var(--navy); }
.hero-dark .tr-card a:not(.btn) { color: var(--navy-2); }

/* Dictionary-style definition (homepage card, /what-is-po-management) */
.defn-section { padding: 44px 0; background: #fff; }
.defn { max-width: 52rem; margin: 0 auto; padding: 22px 26px; border: 1px solid var(--line); border-left: 4px solid var(--mint); border-radius: 12px; background: #fff; }
.defn-term { margin: 0 0 .45em; font-size: 1.15rem; color: var(--ink); }
.defn-term dfn { font-style: normal; font-weight: 800; letter-spacing: -0.01em; }
.defn-alt { color: var(--muted); font-size: .95rem; }
.defn-pos { margin-left: .35em; color: var(--muted); font-style: italic; font-size: .95rem; }
.defn-text { margin: 0 0 .7em; color: var(--ink); line-height: 1.6; }
.defn-section .defn-text { margin-bottom: .55em; }
.defn-note { margin: 0; color: var(--muted); font-size: .92rem; }
.defn-lg { margin: 28px 0 0; max-width: 48rem; }
.defn-lg .defn-term { font-size: 1.3rem; }
.defn-lg .defn-text { font-size: 1.08rem; }
.defn-links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 1.2em 0 1.6em; }
@media (max-width: 600px) { .defn { padding: 18px 18px; } .defn-section { padding: 32px 0; } }

.sample-try { margin: 18px 0 0; font-size: .95rem; color: var(--muted); }
.sample-try .text-link { margin-left: .25em; }

.flow-try { margin: -4px 0 14px; font-size: .95rem; }

/* Trctor example report (/trctor-example) */
.tx-kpis { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; margin: 28px 0 8px; }
.tx-kpi { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: 14px; padding: 16px 18px; }
.tx-kpi b { display: block; font-size: 1.9rem; color: var(--mint); line-height: 1.1; }
.tx-kpi span { display: block; font-size: .9rem; color: var(--on-dark-muted); margin-top: 6px; }
.tx-table { overflow-x: auto; margin: 10px 0 26px; }
.tx-table .status-table { min-width: 480px; }
.tx-gap { margin-top: 10px; }
.tx-findings { margin: 10px 0 0; padding-left: 1.2em; }
.tx-findings li { margin: 6px 0; }
@media (max-width: 820px) { .tx-kpis { grid-template-columns: repeat(2, minmax(0,1fr)); } }

/* Trctor hero reel: three short muted clips under the hero text (trctor.flowtor.com only). */
.tr-reel { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 40px; }
.tr-reel-item { margin: 0; }
.tr-reel-media { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); }
.tr-reel-media video, .tr-reel-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tr-reel-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(17,29,63,.05) 40%, rgba(17,29,63,.45)); pointer-events: none; }
.tr-reel-dim .tr-reel-media::after { background: rgba(17,29,63,.45); }
.tr-reel-item figcaption { display: flex; align-items: center; gap: 10px; margin-top: 12px; color: #fff; font-weight: 600; font-size: .98rem; }
.tr-reel-n { flex: none; display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: var(--mint); color: var(--navy-deep); font-size: .85rem; font-weight: 700; }
@media (max-width: 760px) {
  .tr-reel { grid-template-columns: 1fr; gap: 14px; margin-top: 28px; }
  .tr-reel-item { display: grid; grid-template-columns: 42% 1fr; align-items: center; gap: 14px; }
  .tr-reel-item figcaption { margin-top: 0; }
}

/* Trctor hero: one line with the three steps (video plays behind the hero). */
.tr-reel-line { list-style: none; padding: 0; margin: 32px 0 0; display: flex; flex-wrap: wrap; gap: 12px 28px; }
.tr-reel-line li { display: flex; align-items: center; gap: 10px; margin: 0; color: #fff; font-weight: 600; font-size: .98rem; }
/* Steps and the start card start at the same height (heading sits above both). */
.tr-grid-start { margin-top: 28px; }
.tr-quick { gap: 12px; }
.tr-quick h3, .tr-quick p { margin: 0; }
.tr-quick textarea { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .02em; }
.tr-quick-fine { margin-top: 14px; }
.hero-dark ol.tr-reel-line { display: flex !important; flex-direction: row; list-style: none !important; padding-left: 0 !important; }
.tr-reel-line li { list-style: none !important; padding: 0 !important; }
.tr-reel-line li::marker { content: none; }
.tr-reel-line li::before { content: none !important; }
@media (max-width: 640px) { .hero-dark ol.tr-reel-line { flex-direction: column; } }
