/* Orkie.ai — site stylesheet. Hand-written; the build appends nothing. One design system for every page.
   Colors and fonts come only from the --ok-* tokens in :root (see v13 at the end for the Orkie.ai look). */
:root {
  /* Orkie.ai design tokens (approved 2026-09-27). The only colors on the site. */
  --ok-bg: #081B33; --ok-bg-alt: #0B2443; --ok-surface: #0F2C50; --ok-panel: #16365C; --ok-footer: #06142A;
  --ok-line: #1E3D63; --ok-line-strong: #2A4A70;
  --ok-text: #F4F6F8; --ok-text-muted: #A9B8C9;
  --ok-teal: #0B7897; --ok-teal-light: #3FB6D0; --ok-teal-text: #4FC3DC; --ok-orange: #F29A38;
  --ok-radius-sm: 8px; --ok-radius-md: 12px; --ok-radius-lg: 14px;
  --ok-font-display: 'Instrument Serif', Georgia, serif;
  --ok-font-body: 'DM Sans', system-ui, sans-serif;
  /* Older names the rules below still use, pointed at the tokens. */
  --bg: var(--ok-bg); --card: var(--ok-surface); --alt: var(--ok-bg-alt);
  --text: var(--ok-text); --ink: var(--ok-text); --muted: var(--ok-text-muted);
  --line: var(--ok-line); --line-2: var(--ok-line-strong);
  --teal: var(--ok-teal); --teal-deep: var(--ok-teal-text); --teal-soft: var(--ok-panel);
  --amber: var(--ok-teal); --amber-deep: var(--ok-teal-text); --amber-soft: var(--ok-panel); --cyan: var(--ok-teal); --cyan-soft: var(--ok-panel);
  --brass: var(--ok-orange);
  --success: var(--ok-teal-light); --success-soft: var(--ok-panel); --danger: var(--ok-orange); --danger-soft: var(--ok-panel);
  --serif: var(--ok-font-display);
  --sans: var(--ok-font-body);
  --mono: ui-monospace, SFMono-Regular, Menlo, monospace;
  --radius: var(--ok-radius-md); --radius-sm: var(--ok-radius-sm); --radius-lg: var(--ok-radius-lg);
  --shadow: none;
  --shadow-lg: 0 18px 40px rgba(2,8,18,.35);
  --container: 1180px; --gutter: 20px;
}
*,*::before,*::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans); font-size: 18px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--ok-text); text-decoration: none; }
a:hover { text-decoration: underline; }
h1,h2,h3,h4 { font-family: var(--serif); font-weight: 600; line-height: 1.15; color: var(--ok-text); margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(36px, 5vw, 58px); }
h2 { font-size: clamp(28px, 3.4vw, 40px); }
h3 { font-size: 22px; }
h4 { font-size: 18px; font-family: var(--sans); font-weight: 700; }
p { margin: 0 0 1em; }
.lead { font-size: 20px; color: var(--ok-text-muted); }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.center { text-align: center; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 820px; }
.section { padding: 72px 0; }
.section.tight { padding: 48px 0; }
.section.alt { background: var(--alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section.navy { background: var(--ok-bg-alt); color: var(--ok-text); }
.section.navy h2, .section.navy h3 { color: var(--ok-text); }
.section.navy .muted { color: var(--ok-text-muted); }
.eyebrow { font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); margin: 0 0 12px; }
.section.navy .eyebrow { color: var(--ok-teal-text); }
.section-head { max-width: 760px; margin: 0 auto 40px; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.section-head p { font-size: 18px; color: var(--ok-text-muted); }
.section.navy .section-head p { color: var(--ok-text-muted); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 10px 22px; border-radius: 8px; font-family: var(--sans); font-weight: 600; font-size: 16px; line-height: 1; border: 1.5px solid transparent; cursor: pointer; transition: transform .12s ease, box-shadow .12s ease, background .12s ease; white-space: nowrap; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--teal); color: var(--ok-text); border-color: var(--teal); }
.btn-primary:hover { background: var(--teal-deep); border-color: var(--teal-deep); }
.btn-secondary { background: transparent; color: var(--ok-text); border-color: var(--ok-line-strong); }
.btn-secondary:hover { background: var(--ok-panel); color: var(--ok-text); }
.section.navy .btn-secondary { color: var(--ok-text); border-color: rgba(255,255,255,.55); }
.section.navy .btn-secondary:hover { background: rgba(255,255,255,.1); }
.btn-ghost { background: transparent; color: var(--teal-deep); padding-left: 8px; padding-right: 8px; }
.btn-ghost::after { content: "→"; }
.btn-sm { min-height: 38px; padding: 6px 16px; font-size: 14px; }
.btn-lg { min-height: 54px; padding: 12px 30px; font-size: 18px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn-row.center { justify-content: center; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(8,27,51,.94); backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--serif); font-size: 24px; font-weight: 600; color: var(--ok-text); letter-spacing: -.02em; }
.logo:hover { text-decoration: none; }
.logo-mark { width: 34px; height: 34px; border-radius: 9px; background: var(--ok-panel); display: inline-flex; align-items: center; justify-content: center; color: var(--ok-text); font-family: var(--serif); font-size: 18px; font-weight: 700; letter-spacing: -.06em; line-height: 1; white-space: nowrap; flex: 0 0 34px; }
.logo-mark b { color: var(--brass); }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-link { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 8px; font-weight: 600; font-size: 15px; color: var(--ok-text-muted); background: none; border: 0; font-family: var(--sans); cursor: pointer; }
.nav-link:hover { background: var(--bg); text-decoration: none; color: var(--ok-text); }
.nav-drop { position: relative; }
.nav-drop-menu { position: absolute; top: calc(100% + 6px); left: 0; min-width: 300px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 8px; display: none; z-index: 60; }
.nav-drop:hover .nav-drop-menu, .nav-drop:focus-within .nav-drop-menu, .nav-drop.open .nav-drop-menu { display: block; }
.nav-drop-menu a { display: block; padding: 9px 12px; border-radius: 8px; font-size: 15px; color: var(--text); }
.nav-drop-menu a small { display: block; color: var(--muted); font-size: 13px; }
.nav-drop-menu a:hover { background: var(--bg); text-decoration: none; }
.nav-drop-menu .menu-head { padding: 8px 12px 4px; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 700; }
.nav-cta { display: flex; align-items: center; gap: 8px; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); background: var(--card); border-radius: 10px; cursor: pointer; align-items: center; justify-content: center; flex-direction: column; gap: 5px; }
.nav-toggle span { width: 20px; height: 2px; background: var(--ok-panel); display: block; }
.mobile-menu { display: none; border-top: 1px solid var(--line); background: var(--card); padding: 12px 0 20px; }
.mobile-menu.open { display: block; }

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--bg); color: var(--text); padding: 64px 0 40px; }
.hero::before { display: none; }
.hero .container { position: relative; }
.hero h1 { color: var(--ok-text); margin-bottom: 18px; }
.hero h1 em { font-style: normal; color: var(--teal); }
.hero .lead { color: var(--ok-text-muted); font-size: 20px; max-width: 620px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 14px 26px; margin-top: 26px; font-size: 14px; color: var(--muted); }
.hero-proof span::before { content: "✓"; color: var(--success); margin-right: 8px; font-weight: 700; }
.hero.compact { padding: 60px 0 52px; }
.hero.compact .lead { font-size: 19px; }
.hero.light { background: var(--card); color: var(--text); border-bottom: 1px solid var(--line); }
.hero.light::before { display: none; }
.hero.light h1 { color: var(--ok-text); }
.hero.light .lead { color: var(--ok-text-muted); }
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 16px; }
.crumbs a { color: var(--muted); }
.hero.light .crumbs, .hero.light .crumbs a { color: var(--muted); }

/* Product frame (UI illustration) */
.frame { background: var(--ok-surface); border: 1px solid var(--line-2); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.frame-bar { display: flex; align-items: center; gap: 6px; padding: 9px 14px; background: var(--ok-panel); border-bottom: 1px solid var(--line); }
.frame-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--ok-line-strong); display: block; }
.frame-bar span { margin-left: 10px; font-size: 12px; color: var(--muted); font-family: var(--mono); }
.frame img, .frame svg { width: 100%; display: block; }
.frame-note { font-size: 12.5px; color: var(--muted); text-align: center; margin-top: 10px; }

/* Cards & grids */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.card h3 { margin-top: 0; font-size: 21px; }
.card p:last-child { margin-bottom: 0; }
.card.link { transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
.card.link:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--line-2); }
.card.link a.cover { position: absolute; inset: 0; }
.card.rel { position: relative; }
.icon { width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; background: var(--teal-soft); color: var(--teal-deep); font-size: 20px; margin-bottom: 16px; }
.icon.cyan { background: var(--teal-soft); color: var(--teal-deep); }
.icon.navy { background: var(--ok-panel); color: var(--ok-text); }
.section.navy .card { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.12); box-shadow: none; color: var(--ok-text); }
.section.navy .card h3 { color: var(--ok-text); }
.check-list { list-style: none; padding: 0; margin: 0 0 1em; }
.check-list li { position: relative; padding-left: 28px; margin-bottom: 10px; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--success-soft); color: var(--success); font-size: 12px; font-weight: 800; display: grid; place-items: center; }
.section.navy .check-list li::before { background: rgba(255,255,255,.14); color: var(--ok-text); }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.stat b { display: block; font-family: var(--serif); font-size: 38px; color: var(--ok-text); line-height: 1; margin-bottom: 8px; font-variant-numeric: tabular-nums; }
.stat span { font-size: 14px; color: var(--muted); }
.section.navy .stat { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.12); }
.section.navy .stat b { color: var(--ok-text); }
.section.navy .stat span { color: var(--ok-text-muted); }

/* Steps */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.step { position: relative; padding: 26px 22px 22px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.step::before { counter-increment: step; content: "0" counter(step); font-family: var(--mono); font-size: 13px; font-weight: 500; color: var(--teal); letter-spacing: .08em; display: block; margin-bottom: 10px; }
.step h3 { font-size: 19px; }
.step p { font-size: 15.5px; color: var(--ok-text-muted); margin: 0; }

/* Feature rows */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding: 48px 0; border-top: 1px solid var(--line); }
.feature-row:first-of-type { border-top: 0; }
.feature-row.flip .feature-copy { order: 2; }
.feature-copy h2 { font-size: clamp(26px, 3vw, 34px); }
.feature-copy .btn-row { margin-top: 18px; }

/* Module (app store) */
.module-tools { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 26px; }
.module-tools input { flex: 1 1 260px; min-height: 44px; padding: 8px 14px; border: 1px solid var(--line-2); border-radius: 10px; font: inherit; font-size: 15px; }
.chip { display: inline-flex; align-items: center; min-height: 34px; padding: 4px 14px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--card); font-size: 13.5px; font-weight: 600; color: var(--ok-text-muted); cursor: pointer; font-family: var(--sans); }
.chip.active, .chip:hover { background: var(--ok-panel); color: var(--ok-text); border-color: var(--ok-line-strong); }
.module-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.module-card { position: relative; display: flex; gap: 16px; align-items: flex-start; padding: 20px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); transition: transform .15s ease, box-shadow .15s ease; }
.module-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.module-card .app-icon { flex: 0 0 52px; width: 52px; height: 52px; border-radius: 12px; background: var(--ok-panel); color: var(--ok-text); display: grid; place-items: center; font-size: 22px; }
.module-card h3 { font-family: var(--sans); font-size: 17px; margin: 0 0 2px; }
.module-card h3 a::after { content: ""; position: absolute; inset: 0; }
.module-card .cat { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; font-weight: 700; margin-bottom: 6px; }
.module-card p { font-size: 14.5px; color: var(--ok-text-muted); margin: 0; }
.module-card .installed { position: absolute; top: 14px; right: 14px; font-size: 11px; font-weight: 700; color: var(--success); background: var(--success-soft); border-radius: 999px; padding: 3px 9px; }
.module-card.hidden { display: none; }
.badge { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; background: var(--teal-soft); color: var(--teal-deep); letter-spacing: .02em; }
.badge.cyan { background: var(--cyan-soft); color: var(--ok-teal-text); }
.badge.navy { background: var(--ok-panel); color: var(--ok-text); }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); font-size: 13.5px; font-weight: 600; color: var(--ok-text-muted); }
.tag:hover { border-color: var(--ok-line-strong); text-decoration: none; }

/* Quotes */
.quote { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 14px; }
.quote blockquote { margin: 0; font-family: var(--serif); font-size: 19px; line-height: 1.45; color: var(--ok-text); }
.quote blockquote::before { content: "“"; color: var(--teal); font-size: 40px; line-height: 0; vertical-align: -14px; margin-right: 4px; }
.quote cite { font-style: normal; font-size: 14px; color: var(--muted); }
.quote cite b { display: block; color: var(--text); font-size: 15px; }
.quote .stars { color: var(--brass); letter-spacing: 2px; font-size: 14px; }
.quote-note { font-size: 12.5px; color: var(--muted); text-align: center; margin-top: 18px; }

/* Logo row */
.logo-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 34px; align-items: center; opacity: .85; }
.logo-row span { font-family: var(--serif); font-size: 17px; color: var(--ok-text-muted); letter-spacing: .01em; }
.section.navy .logo-row span { color: var(--ok-text-muted); }

/* FAQ */
.faq { max-width: 860px; margin: 0 auto; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 10px; }
.faq summary { cursor: pointer; list-style: none; padding: 16px 48px 16px 20px; font-weight: 700; font-size: 17px; position: relative; color: var(--ok-text); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 12px; font-size: 24px; color: var(--teal); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq .a { padding: 0 20px 18px; color: var(--ok-text-muted); }
.faq .a p:last-child { margin-bottom: 0; }

/* Forms */
.form { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 700; color: var(--ok-text-muted); }
.field input, .field select, .field textarea { font: inherit; font-size: 16px; padding: 11px 14px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--ok-surface); color: var(--text); min-height: 46px; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--teal); outline-offset: 1px; border-color: var(--teal); }
.field .hint { font-size: 13px; color: var(--muted); }
.form .fine { font-size: 13px; color: var(--muted); margin-top: 14px; }
.form-msg { display: none; margin-top: 16px; padding: 12px 16px; border-radius: 10px; font-weight: 600; }
.form-msg.ok { display: block; background: var(--success-soft); color: var(--success); }
.form-msg.bad { display: block; background: var(--danger-soft); color: var(--danger); }
.hp { position: absolute; left: -9999px; top: -9999px; }
.form-split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; }
.inline-form { display: flex; gap: 10px; flex-wrap: wrap; }
.inline-form input { flex: 1 1 240px; min-height: 46px; padding: 8px 14px; border-radius: 8px; border: 1px solid var(--line-2); font: inherit; font-size: 16px; }
.section.navy .inline-form input { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.3); color: var(--ok-text); }
.section.navy .inline-form input::placeholder { color: var(--ok-text-muted); }

/* CTA band */
.cta-band { background: var(--ok-panel); color: var(--ok-text); border-radius: var(--radius-lg); padding: 48px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center; position: relative; overflow: hidden; }
.cta-band::after { display: none; }
.cta-band h2 { color: var(--ok-text); margin-bottom: 8px; }
.cta-band p { color: var(--ok-text-muted); margin: 0; }
.cta-band .btn-row { justify-content: flex-end; position: relative; }

/* Prose (blog, kb, legal) */
.prose { max-width: 760px; margin: 0 auto; font-size: 18px; }
.prose h2 { font-size: 30px; margin-top: 1.6em; }
.prose h3 { font-size: 22px; margin-top: 1.4em; }
.prose p, .prose li { color: var(--ok-text-muted); }
.prose ul, .prose ol { padding-left: 24px; }
.prose li { margin-bottom: 8px; }
.prose a { text-decoration: underline; text-decoration-color: var(--teal); text-underline-offset: 3px; }
.prose blockquote { border-left: 3px solid var(--teal); margin: 1.4em 0; padding: 4px 0 4px 20px; font-family: var(--serif); font-size: 21px; color: var(--ok-text); }
.prose .tbl { overflow-x: auto; margin: 1.4em 0; }
.prose table, .table { width: 100%; border-collapse: collapse; font-size: 15.5px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.prose th, .prose td, .table th, .table td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose th, .table th { background: var(--bg); font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.prose tr:last-child td, .table tr:last-child td { border-bottom: 0; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.prose code { font-family: var(--mono); font-size: .9em; background: var(--bg); padding: 2px 6px; border-radius: 6px; }
.prose img { border-radius: var(--radius); border: 1px solid var(--line); }
.lede { background: var(--teal-soft); border-left: 3px solid var(--teal); padding: 16px 20px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-size: 19px; color: var(--ok-text); margin: 0 0 1.6em; }
.post-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 14px; color: var(--muted); margin-bottom: 20px; }
.post-cover { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); margin: 0 0 32px; box-shadow: var(--shadow); }
.post-cover svg, .post-cover img { width: 100%; display: block; }
.post-card { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; position: relative; transition: transform .15s ease, box-shadow .15s ease; }
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.post-card .cover { aspect-ratio: 16 / 9; background: var(--ok-panel); }
.post-card .cover svg { width: 100%; height: 100%; }
.post-card .body { padding: 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.post-card h3 { font-size: 19px; margin: 0; }
.post-card h3 a::after { content: ""; position: absolute; inset: 0; }
.post-card .kicker { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--teal); }
.post-card p { font-size: 15px; color: var(--ok-text-muted); margin: 0; flex: 1; }
.post-card .meta { font-size: 13px; color: var(--muted); }
.toc { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; margin-bottom: 28px; font-size: 15px; }
.toc b { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 8px; }
.toc a { display: block; padding: 4px 0; }
.kb-layout { display: grid; grid-template-columns: 260px 1fr; gap: 48px; align-items: start; }
.kb-side { position: sticky; top: 90px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; font-size: 15px; }
.kb-side a { display: block; padding: 7px 10px; border-radius: 8px; color: var(--ok-text-muted); }
.kb-side a.active, .kb-side a:hover { background: var(--bg); color: var(--ok-text); text-decoration: none; }
.kb-side b { display: block; padding: 4px 10px 8px; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }

/* Compare table */
.compare th:first-child, .compare td:first-child { width: 40%; font-weight: 600; color: var(--ok-text); }
.compare .yes { color: var(--success); font-weight: 800; }
.compare .no { color: var(--muted); }

/* Video */
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.video { aspect-ratio: 16 / 9; background: var(--ok-panel); border-radius: var(--radius); display: grid; place-items: center; color: var(--ok-text-muted); text-align: center; padding: 20px; border: 1px solid rgba(255,255,255,.1); }
.video iframe { width: 100%; height: 100%; border: 0; border-radius: var(--radius); }
.social-row { display: flex; flex-wrap: wrap; gap: 12px; }
.social-row a { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); font-weight: 700; color: var(--ok-text); }
.social-row a:hover { border-color: var(--ok-line-strong); text-decoration: none; }

/* Footer */
.footer { background: var(--ok-panel); color: var(--ok-text-muted); padding: 56px 0 28px; font-size: 15px; }
.footer a { color: var(--ok-text); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 40px; }
.footer h4 { color: var(--ok-text); font-family: var(--sans); font-size: 13px; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 9px; }
.footer .logo { color: var(--ok-text); }
.footer .logo-mark { background: var(--ok-surface); color: var(--ok-text); }
.footer .logo-mark b { color: var(--brass); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 22px; display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; font-size: 13.5px; color: var(--ok-text-muted); }
.footer-bottom a { color: var(--ok-text-muted); }
.footer .tagline { max-width: 320px; margin: 14px 0 0; color: var(--ok-text-muted); }

/* Consent */
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 80; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 16px 20px; display: none; gap: 14px; align-items: center; flex-wrap: wrap; font-size: 14px; max-width: 900px; margin: 0 auto; }
.consent.show { display: flex; }
.consent p { margin: 0; flex: 1 1 380px; }

/* Utilities */
.pill-list { display: flex; flex-wrap: wrap; gap: 10px; }
.two-col { columns: 2; column-gap: 40px; }
.divider { border: 0; border-top: 1px solid var(--line); margin: 0; }
.note { background: var(--ok-panel); border: 1px solid var(--ok-line); border-radius: var(--radius-sm); padding: 12px 16px; font-size: 14.5px; color: var(--ok-orange); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--ok-surface); padding: 10px 14px; z-index: 100; border-radius: 8px; }

@media (max-width: 1020px) {
  .grid-4, .stats, .steps { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .module-grid, .video-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .hero-grid { grid-template-columns: 1fr; }
  .kb-layout { grid-template-columns: 1fr; }
  .kb-side { position: static; }
}
@media (max-width: 860px) {
  .nav-links, .nav-cta .btn-secondary { display: none; }
  .nav-toggle { display: flex; }
  .feature-row, .form-split, .cta-band { grid-template-columns: 1fr; }
  .feature-row.flip .feature-copy { order: 0; }
  .cta-band .btn-row { justify-content: flex-start; }
  .section { padding: 56px 0; }
  .hero { padding: 56px 0 48px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .grid-2, .grid-3, .grid-4, .stats, .steps, .module-grid, .video-grid, .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .card, .form { padding: 20px; }
  .cta-band { padding: 30px 22px; }
  .two-col { columns: 1; }
  .btn-row .btn { width: 100%; }
  .hero .lead { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }
@media print { .nav, .footer, .consent, .cta-band { display: none !important; } }

/* == v2: scenarios == */
.scenario { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--line-2); border-radius: var(--radius-lg); overflow: hidden; background: var(--card); }
.scenario > div { padding: 26px; }
.scenario .say { background: var(--ok-panel); color: var(--ok-text); }
.scenario .say .eyebrow { color: var(--ok-teal-text); }
.scenario .say p { font-family: var(--serif); font-size: 22px; line-height: 1.35; margin: 0; }
.scenario .say p.eyebrow { font-family: var(--sans); font-size: 12px; line-height: 1.4; margin: 0 0 12px; }
.scenario .get .eyebrow { color: var(--teal); }
.scenario .get ul { margin: 0; padding-left: 0; list-style: none; }
.scenario .get li { padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.scenario .get li:last-child { border-bottom: 0; }
.scenario .get li b { color: var(--ok-text); }
.ba { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.ba .col { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.ba .col.after { border-color: var(--teal); }
.ba h3 { font-family: var(--sans); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.ba .col.after h3 { color: var(--teal); }
.ba ul { list-style: none; padding: 0; margin: 0; }
.ba li { padding: 8px 0 8px 26px; position: relative; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.ba li:last-child { border-bottom: 0; }
.ba .before li::before { content: "×"; position: absolute; left: 4px; top: 6px; color: var(--danger); font-weight: 700; }
.ba .after li::before { content: "✓"; position: absolute; left: 2px; top: 8px; color: var(--success); font-weight: 700; font-size: 13px; }
.speed { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.speed .t { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.speed .t b { display: block; font-family: var(--serif); font-size: 28px; color: var(--ok-text); line-height: 1.1; }
.speed .t span { font-size: 14px; color: var(--muted); }
.speed .t small { display: block; margin-top: 8px; font-size: 12.5px; color: var(--teal-deep); font-weight: 600; }
/* demo player */
.demo { background: var(--card); border: 1px solid var(--line-2); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.demo-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 14px; background: var(--ok-panel); border-bottom: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.demo-tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.demo-tab { border: 1px solid var(--line-2); background: var(--ok-surface); border-radius: 6px; padding: 5px 10px; font: inherit; font-size: 12.5px; font-weight: 600; color: var(--muted); cursor: pointer; }
.demo-tab.active { background: var(--ok-panel); color: var(--ok-text); border-color: var(--ok-line-strong); }
.demo-body { display: grid; grid-template-columns: 1fr 1fr; min-height: 380px; }
.demo-chat { padding: 18px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; background: var(--ok-surface); }
.msg { max-width: 92%; padding: 10px 14px; border-radius: 10px; font-size: 14.5px; line-height: 1.45; opacity: 0; transform: translateY(6px); transition: opacity .35s ease, transform .35s ease; }
.msg.show { opacity: 1; transform: none; }
.msg.user { align-self: flex-end; background: var(--ok-panel); color: var(--ok-text); border-bottom-right-radius: 3px; }
.msg.ai { align-self: flex-start; background: var(--bg); border: 1px solid var(--line); border-bottom-left-radius: 3px; }
.msg .tool { display: inline-block; font-family: var(--mono); font-size: 11px; background: var(--teal-soft); color: var(--teal-deep); padding: 2px 6px; border-radius: 4px; margin: 4px 4px 0 0; }
.msg ul { margin: 6px 0 0; padding-left: 18px; }
.msg .pill { display: inline-block; font-size: 11px; font-weight: 700; padding: 2px 7px; border-radius: 999px; background: var(--ok-panel); color: var(--ok-orange); margin-left: 6px; }
.msg .pill.ok { background: var(--success-soft); color: var(--success); }
.demo-screen { position: relative; background: var(--ok-panel); display: grid; place-items: center; padding: 18px; }
.demo-screen img { width: 100%; border: 1px solid var(--line-2); border-radius: 8px; box-shadow: var(--shadow); opacity: 0; transition: opacity .5s ease; }
.demo-screen img.show { opacity: 1; }
.demo-screen .cap { position: absolute; left: 18px; bottom: 18px; right: 18px; font-size: 12.5px; color: var(--muted); background: rgba(255,255,255,.9); padding: 6px 10px; border-radius: 6px; border: 1px solid var(--line); }
.demo-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 14px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.demo-foot .bar { flex: 1; height: 4px; background: var(--line); border-radius: 2px; overflow: hidden; margin: 0 12px; }
.demo-foot .bar i { display: block; height: 100%; width: 0; background: var(--teal); transition: width .3s linear; }
@media (max-width: 900px) { .scenario, .ba, .demo-body { grid-template-columns: 1fr; } .speed { grid-template-columns: 1fr 1fr; } .demo-chat { border-right: 0; border-bottom: 1px solid var(--line); } }
@media (max-width: 600px) { .speed { grid-template-columns: 1fr; } }
/* == v3: evidence == */
.table.evidence td, .table.evidence th { padding: 10px 12px; }
.table .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.table .sub { display: block; font-size: 12px; color: var(--muted); font-weight: 400; }
.gap { display: inline-block; font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.gap.under { background: var(--danger-soft); color: var(--danger); }
.gap.over { background: var(--ok-panel); color: var(--ok-orange); }
.gap.ok { background: var(--success-soft); color: var(--success); }
.gap:empty { display: none; }
/* == v4: picture-led == */
.zoom { border: 1px solid var(--line-2); border-radius: var(--radius); overflow: hidden; background: var(--ok-surface); box-shadow: var(--shadow-lg); }
.zoom img { width: 100%; display: block; }
.pic { display: grid; grid-template-columns: 1.15fr .85fr; gap: 44px; align-items: center; padding: 56px 0; border-top: 1px solid var(--line); }
.pic:first-child { border-top: 0; }
.pic.flip .pic-copy { order: -1; }
.pic-copy h2 { font-size: clamp(30px, 3.6vw, 44px); margin-bottom: 12px; }
.pic-copy p { font-size: 19px; color: var(--ok-text-muted); max-width: 34ch; }
.pic-copy .num { font-family: var(--serif); font-size: clamp(40px, 5vw, 64px); color: var(--teal); line-height: 1; margin: 0 0 6px; font-variant-numeric: tabular-nums; }
.pic-copy .who { font-size: 13px; color: var(--muted); margin-top: 10px; }
.bigs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.big { background: var(--ok-panel); color: var(--ok-text); border-radius: var(--radius-lg); padding: 30px 26px; }
.big b { display: block; font-family: var(--serif); font-size: clamp(38px, 4.5vw, 56px); line-height: 1; margin-bottom: 8px; font-variant-numeric: tabular-nums; }
.big span { font-size: 15px; color: var(--ok-text-muted); }
.big.teal { background: var(--teal); } .big.teal span { color: var(--ok-text); }
.cta3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cta3 .card { text-align: center; }
.cta3 .card .icon { margin: 0 auto 14px; }
.phone { font-family: var(--serif); font-size: 26px; color: var(--ok-text); white-space: nowrap; }
.nav-phone { font-weight: 700; color: var(--ok-text); font-size: 15px; }
.hero.lg { padding: 64px 0 40px; }
.hero.lg h1 { font-size: clamp(40px, 6vw, 72px); max-width: 14ch; }
.hero.lg .lead { font-size: 21px; max-width: 46ch; }
.hero-shot { margin-top: 36px; }
@media (max-width: 900px) { .pic, .bigs, .cta3 { grid-template-columns: 1fr; } .pic.flip .pic-copy { order: 0; } .nav-phone { display: none; } }

/* == v5: white, big, moving == */
.hero.lg h1 { font-size: clamp(44px, 7vw, 84px); max-width: 12ch; letter-spacing: -.02em; }
.hero.lg .lead { font-size: clamp(19px, 2.2vw, 24px); max-width: 30ch; }
.nav-icon { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 8px; color: var(--ok-text); border: 1px solid var(--ok-line); }
.nav-icon:hover { background: var(--ok-panel); color: var(--ok-text); text-decoration: none; }
.nav-icon svg { width: 18px; height: 18px; }
.scene { position: relative; overflow: hidden; border-radius: var(--radius-lg); border: 1px solid var(--line-2); background: var(--ok-surface); box-shadow: var(--shadow-lg); aspect-ratio: 16 / 9; }
.scene img { position: absolute; left: 0; top: 0; width: 140%; max-width: none; height: auto; will-change: transform; }
.scene.pan img { animation: scenePan 14s ease-in-out infinite alternate; }
.scene.zoom img { width: 100%; transform-origin: var(--ox, 50%) var(--oy, 50%); animation: sceneZoom 10s ease-in-out infinite alternate; }
.scene.drift img { width: 115%; animation: sceneDrift 16s ease-in-out infinite alternate; }
.scene .ring { position: absolute; border: 3px solid var(--teal); border-radius: 10px; box-shadow: 0 0 0 6px rgba(11,120,151,.15); opacity: 0; animation: ring 10s ease-in-out infinite; pointer-events: none; }
.scene .cap { position: absolute; left: 14px; bottom: 14px; background: var(--ok-panel); color: var(--ok-text); font-size: 14px; font-weight: 600; padding: 8px 12px; border-radius: 8px; }
@keyframes scenePan { from { transform: translateX(0); } to { transform: translateX(-28%); } }
@keyframes sceneZoom { 0%, 15% { transform: scale(1); } 45%, 100% { transform: scale(1.6); } }
@keyframes sceneDrift { from { transform: translate(0, 0); } to { transform: translate(-13%, -8%); } }
@keyframes ring { 0%, 40% { opacity: 0; } 55%, 90% { opacity: 1; } 100% { opacity: 0; } }
.story-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.story-strip .st { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--ok-surface); }
.story-strip .st .scene { border: 0; border-radius: 0; box-shadow: none; aspect-ratio: 4 / 3; }
.story-strip .st h3 { font-family: var(--sans); font-size: 17px; margin: 14px 16px 4px; }
.story-strip .st p { font-size: 15px; color: var(--muted); margin: 0 16px 16px; }
.story-strip .st .k { display: inline-block; font-family: var(--mono); font-size: 12px; color: var(--teal); margin: 14px 16px 0; }
/* Claude window */
.chat { border: 1px solid var(--line-2); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; background: var(--ok-surface); display: grid; grid-template-columns: 220px 1fr; min-height: 520px; }
.chat-rail { background: var(--ok-bg-alt); border-right: 1px solid var(--line); padding: 16px; font-size: 13.5px; color: var(--muted); }
.chat-rail b { display: block; color: var(--ink); font-size: 15px; margin-bottom: 14px; }
.chat-rail .q { padding: 8px 10px; border-radius: 8px; margin-bottom: 4px; cursor: pointer; }
.chat-rail .q.on { background: var(--ok-surface); color: var(--ink); border: 1px solid var(--line); }
.chat-main { display: flex; flex-direction: column; }
.chat-top { display: flex; align-items: center; gap: 10px; padding: 12px 18px; border-bottom: 1px solid var(--line); font-size: 13.5px; color: var(--muted); }
.chat-top .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); }
.chat-body { flex: 1; padding: 22px 24px; display: flex; flex-direction: column; gap: 16px; min-height: 380px; }
.cm { display: flex; gap: 12px; align-items: flex-start; opacity: 0; transform: translateY(6px); transition: opacity .35s ease, transform .35s ease; }
.cm.show { opacity: 1; transform: none; }
.cm .av { flex: 0 0 30px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700; color: var(--ok-text); }
.cm.user .av { background: var(--ok-panel); } .cm.ai .av { background: var(--ok-orange); }
.cm .b { font-size: 16px; line-height: 1.5; }
.cm.user .b { background: var(--ok-panel); padding: 10px 14px; border-radius: 12px; border-bottom-left-radius: 3px; }
.cm .b .caret { display: inline-block; width: 2px; height: 1em; background: var(--ink); vertical-align: -2px; animation: blink 1s step-end infinite; }
@keyframes blink { 50% { opacity: 0; } }
.cm .cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 10px 0 4px; }
.cm .card-s { border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; background: var(--ok-surface); }
.cm .card-s small { display: block; font-size: 12px; color: var(--muted); }
.cm .card-s b { display: block; font-size: 22px; font-variant-numeric: tabular-nums; }
.cm .card-s i { font-style: normal; font-size: 12px; color: var(--success); }
.cm .bars { margin: 10px 0 4px; }
.cm .bar-row { display: grid; grid-template-columns: 120px 1fr 70px; gap: 10px; align-items: center; font-size: 14px; margin: 6px 0; }
.cm .bar-row .bar { height: 12px; background: var(--ok-line); border-radius: 6px; overflow: hidden; }
.cm .bar-row .bar i { display: block; height: 100%; background: var(--teal); width: 0; transition: width 1.2s ease; }
.cm.show .bar-row .bar i { width: var(--w); }
.cm .acts { list-style: none; padding: 0; margin: 10px 0 4px; }
.cm .acts li { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); font-size: 15px; }
.cm .acts li .pill { font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 999px; background: var(--ok-panel); color: var(--ok-orange); white-space: nowrap; }
.cm .acts li .pill.ok { background: var(--success-soft); color: var(--success); }
.chat-input { display: flex; align-items: center; gap: 10px; margin: 0 24px 20px; border: 1px solid var(--line-2); border-radius: 12px; padding: 10px 14px; color: var(--muted); font-size: 15px; }
.chat-input span.t { flex: 1; color: var(--ink); }
.chat-input .send { width: 30px; height: 30px; border-radius: 50%; background: var(--ok-panel); color: var(--ok-text); display: grid; place-items: center; font-size: 14px; }
@media (max-width: 900px) { .chat { grid-template-columns: 1fr; } .chat-rail { display: none; } .story-strip { grid-template-columns: 1fr 1fr; } .cm .cards { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .story-strip { grid-template-columns: 1fr; } .hero.lg h1 { max-width: none; } }
@media (prefers-reduced-motion: reduce) { .scene img, .scene .ring { animation: none !important; } .scene .ring { opacity: 1; } }

.story-strip.three { grid-template-columns: repeat(3, 1fr); }
.story-strip.three .st .scene { aspect-ratio: 16 / 10; }
@media (max-width: 900px) { .story-strip.three { grid-template-columns: 1fr; } }

/* v6: crisp screens, no zoom */
.scene, .scene img, .scene .ring { animation: none !important; }
.shot { position: relative; overflow: hidden; border-radius: var(--radius-lg); border: 1px solid var(--line-2); background: var(--ok-surface); box-shadow: var(--shadow-lg); }
.shot img { display: block; width: 100%; height: auto; }
.shot .cap, .show .cap { position: absolute; left: 14px; bottom: 14px; background: var(--ok-panel); color: var(--ok-text); font-size: 14px; font-weight: 600; padding: 8px 12px; border-radius: 8px; max-width: calc(100% - 28px); }
.story-strip .st .shot { border: 0; border-radius: 0; box-shadow: none; border-bottom: 1px solid var(--line); }
.show { width: 100%; }
.show-frame { position: relative; aspect-ratio: 14 / 9; overflow: hidden; border-radius: var(--radius-lg); border: 1px solid var(--line-2); background: var(--ok-surface); box-shadow: var(--shadow-lg); }
.show-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top left; opacity: 0; transition: opacity .9s ease; }
.show-frame img.on { opacity: 1; }
.show .cap { transition: opacity .3s; }
.show-dots { display: flex; gap: 8px; justify-content: center; margin-top: 14px; }
.show-dots button { width: 10px; height: 10px; border-radius: 50%; border: 0; background: var(--line-2); padding: 0; cursor: pointer; }
.show-dots button.on { background: var(--teal); }
.hero.lg.split .container { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.hero.lg.split h1 { font-size: clamp(40px, 4.6vw, 64px); max-width: none; }
.hero.lg.split .lead { max-width: 30ch; }
.hero.lg.split .hero-shot { display: none; }
.docs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.doc-card { background: var(--ok-surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.doc-page { background: var(--alt); padding: 18px 18px 0; }
.doc-page img { display: block; width: 100%; height: auto; border: 1px solid var(--line-2); border-bottom: 0; border-radius: 6px 6px 0 0; box-shadow: 0 -2px 14px rgba(2,8,18,.08); }
.doc-meta { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border-top: 1px solid var(--line); }
.doc-meta .pdf { flex: 0 0 auto; background: var(--ok-panel); color: var(--ok-text); font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: .08em; padding: 5px 8px; border-radius: 6px; }
.doc-meta h3 { font-family: var(--sans); font-size: 17px; margin: 0 0 4px; }
.doc-meta p { margin: 0; font-size: 15px; color: var(--muted); }
p.lead-sm { text-align: center; color: var(--muted); font-size: 18px; max-width: 60ch; margin: -8px auto 32px; }
@media (max-width: 900px) { .hero.lg.split .container { grid-template-columns: 1fr; gap: 28px; } .docs { grid-template-columns: 1fr; } }

.hero.lg.split h1 .rot { display: block; color: var(--teal); font-style: italic; min-height: 1.15em; transition: opacity .35s ease, transform .35s ease; }
.hero.lg.split h1 .rot.out { opacity: 0; transform: translateY(8px); }
.hero.lg.split .rot-lead { transition: opacity .35s ease; }
/* The line under the typed headline: fades out as the phrase erases, words come back one after another */
.rot-lead .w { opacity: 0; animation: rot-word .4s ease forwards; animation-delay: calc(var(--i) * 45ms); }
@keyframes rot-word { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.rot-lead .w { display: inline-block; }
/* Typed headline: blinking bar cursor */
.rot-caret { display: inline-block; width: 3px; height: .82em; margin-left: 6px; background: currentColor; vertical-align: -.06em; animation: rot-blink .75s step-end infinite; }
@keyframes rot-blink { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .rot-caret, .rot-lead .w { animation: none; opacity: 1; } }
.hero.lg.split .rot-lead.out { opacity: 0; }
.hero.lg.split .lead { max-width: 36ch; }

/* story shows: explainer list + one big screen that switches */
.sshow { display: grid; grid-template-columns: 340px 1fr; gap: 36px; align-items: start; }
.sshow-list { display: flex; flex-direction: column; gap: 6px; }
.sshow .sstep { text-align: left; background: transparent; border: 0; border-left: 3px solid var(--line); padding: 12px 16px; cursor: pointer; font: inherit; color: var(--muted); transition: border-color .3s, color .3s, background .3s; border-radius: 0 8px 8px 0; }
.sshow .sstep .k { display: block; font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--teal); margin-bottom: 4px; }
.sshow .sstep h2, .sshow .sstep b { display: block; font-family: var(--serif); font-weight: 600; font-size: 20px; line-height: 1.25; color: var(--ok-text); }
.sshow .sstep .d { display: none; font-size: 15px; margin-top: 6px; line-height: 1.45; }
.sshow .sstep.on { border-left-color: var(--teal); background: var(--alt); color: var(--ink); }
.sshow .sstep.on .d { display: block; }
.sshow-img { position: relative; }
.sshow-bar { height: 3px; background: var(--line); border-radius: 2px; margin-top: 14px; overflow: hidden; }
.sshow-bar i { display: block; height: 100%; width: 0; background: var(--teal); }
.sshow-bar i.run { animation: storyBar 6.5s linear forwards; }
@keyframes storyBar { from { width: 0 } to { width: 100% } }
.sshow .show-frame .cap { font-size: 16px; }
@media (max-width: 900px) { .sshow { grid-template-columns: 1fr; gap: 18px; } .sshow-list { order: 2; } .sshow .sstep { display: none; } .sshow .sstep.on { display: block; } }
@media (prefers-reduced-motion: reduce) { .sshow-bar { display: none; } }
/* v7: straight sans everywhere, no wrapping on desktop, story shows with the headline above */
h1,h2,h3,h4 { font-family: var(--sans); font-weight: 700; letter-spacing: -.02em; }
.section-head { max-width: none; }
.section-head h2 { font-size: clamp(30px, 3.4vw, 46px); white-space: normal; }
.hero.lg.split h1 { font-size: clamp(40px, 4.4vw, 62px); font-weight: 800; }
.hero.lg.split h1 .rot { font-style: normal; font-weight: 800; }
.logo { font-family: var(--sans); font-weight: 800; }
.sshow { display: block; }
.sshow-list { display: block; margin: 0 auto 26px; text-align: center; min-height: 120px; }
.sshow .sstep { display: none; border: 0; padding: 0; background: transparent; text-align: center; cursor: default; }
.sshow .sstep.on { display: block; background: transparent; }
.sshow .sstep .k { font-size: 13px; margin-bottom: 10px; }
.sshow .sstep h2, .sshow .sstep b { font-size: clamp(24px, 2.6vw, 36px); font-weight: 700; color: var(--ok-text); line-height: 1.2; max-width: none; margin: 0 auto; }
.sshow .sstep .d { display: block; font-size: 20px; color: var(--muted); max-width: 64ch; margin: 12px auto 0; }
.sshow .sstep.out { opacity: 0; transform: translateY(6px); }
.sshow .sstep { transition: opacity .3s, transform .3s; }
.sshow-dots { display: flex; gap: 8px; justify-content: center; margin-top: 16px; }
.sshow-dots button { width: 10px; height: 10px; border-radius: 50%; border: 0; background: var(--line-2); padding: 0; cursor: pointer; }
.sshow-dots button.on { background: var(--teal); }
.sshow .show-frame .cap { display: none; }
@media (max-width: 900px) { .sshow-list { min-height: 0; } .sshow .sstep .d { font-size: 17px; } }

/* v8: one big header per moving section, full width, slide transitions */
.section.wide .container { max-width: 1440px; }
.section.wide { padding: 72px 0; }
.sshow-list { min-height: 170px; margin-bottom: 30px; }
.sshow .sstep .k { font-size: 13px; letter-spacing: .12em; }
.sshow .sstep h2, .sshow .sstep b { font-size: clamp(30px, 3.3vw, 46px); font-weight: 800; letter-spacing: -.02em; }
.sshow .sstep .d { font-size: 21px; max-width: 70ch; margin-top: 14px; }
.sshow .sstep { transition: opacity .45s ease, transform .45s ease; }
.sshow .sstep.on { animation: stepIn .5s ease both; }
@keyframes stepIn { from { opacity: 0; transform: translateX(-28px); } to { opacity: 1; transform: none; } }
.sshow .show-frame { aspect-ratio: 14 / 9; border-radius: 14px; }
.sshow .show-frame img { transition: transform .6s cubic-bezier(.2,.7,.2,1), opacity .6s ease; transform: translateX(8%); opacity: 0; }
.sshow .show-frame img.on { transform: none; opacity: 1; z-index: 2; }
.sshow .show-frame img.out { transform: translateX(-8%); opacity: 0; z-index: 1; }
.sshow-bar { max-width: 320px; margin: 18px auto 0; }
@media (max-width: 900px) { .section.wide { padding: 48px 0; } .sshow .sstep .d { font-size: 17px; } .sshow-list { min-height: 0; } }
@media (prefers-reduced-motion: reduce) { .sshow .sstep.on { animation: none; } .sshow .show-frame img { transition: none; } }
/* v9: full-viewport story sections with scroll snap */
html { scroll-snap-type: y proximity; scroll-padding-top: var(--header-h, 68px); }
.section.wide, .hero.lg.split { scroll-snap-align: start; scroll-snap-stop: always; }
.section.wide { min-height: calc(100svh - var(--header-h, 68px)); padding: 28px 0 24px; display: flex; align-items: center; }
.section.wide .container { display: flex; flex-direction: column; height: calc(100svh - var(--header-h, 68px) - 52px); max-width: 1600px; }
.section.wide .sshow { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.section.wide .sshow-list { flex: 0 0 auto; min-height: 0; margin-bottom: 18px; }
.section.wide .sshow-img { flex: 1; min-height: 0; display: flex; flex-direction: column; align-items: center; }
.section.wide .show-frame { flex: none; height: 100%; width: auto; max-width: 100%; aspect-ratio: 14 / 9; }
.section.wide .show-frame img { object-fit: contain; object-position: top center; background: var(--ok-surface); }
.section.wide .sshow-bar, .section.wide .sshow-dots { flex: 0 0 auto; }
.section.wide .sshow-bar { margin-top: 12px; }
.section.wide .sshow-dots { margin-top: 10px; }
.section.wide .btn-row.center { margin-top: 14px !important; flex: 0 0 auto; }
.section.wide .sshow .sstep h2, .sshow .sstep b { font-size: clamp(24px, 2.6vh + 1vw, 44px); }
.section.wide .sshow .sstep .d { font-size: clamp(15px, 1.4vh + .4vw, 20px); margin-top: 8px; }
.section.wide .sshow .sstep .k { margin-bottom: 6px; }
@media (max-width: 900px) {
  .section.wide { padding: 16px 0; align-items: flex-start; }
  .section.wide .container { height: calc(100svh - var(--header-h, 68px) - 32px); }
  .section.wide .show-frame { width: 100%; height: auto; flex: 0 0 auto; aspect-ratio: 14 / 9; }
  .section.wide .sshow-img { justify-content: flex-start; }
  .section.wide .sshow .sstep h2, .sshow .sstep b { font-size: clamp(22px, 5.6vw, 30px); }
}
@media (max-height: 640px) and (min-width: 901px) { .section.wide .container { height: auto; } .section.wide .show-frame { flex: 0 0 auto; width: 100%; height: auto; } }
/* v9b: explicit sizing (JS computes the frame height so the whole section fits the viewport) */
.section.wide { display: block; }
.section.wide .container { display: block; height: auto; min-height: calc(100svh - var(--header-h, 68px) - 52px); }
.section.wide .sshow { display: block; }
.section.wide .sshow-img { display: block; width: 100%; flex: none; }
.section.wide .show-frame { display: block; width: 100%; height: auto; aspect-ratio: 14 / 9; margin: 0 auto; flex: none; }
.section.wide .show-frame.fit { width: var(--fit-w); height: var(--fit-h); aspect-ratio: auto; }
@media (max-width: 900px) { .section.wide .container { min-height: calc(100svh - var(--header-h, 68px) - 32px); } }
@media (max-width: 900px) { .section.wide .container { display: flex; flex-direction: column; justify-content: center; } .section.wide .sshow .sstep h2, .sshow .sstep b { font-size: clamp(24px, 6.4vw, 32px); } .section.wide .sshow .sstep .d { font-size: 16px; } }
/* v10: hero fills the first screen, story sections fill the whole viewport, hiding header, hard snap, 16:9 screens */
html.snap { scroll-snap-type: y mandatory; scroll-padding-top: 0; }
.nav { transition: transform .35s ease; }
.nav.hide { transform: translateY(-100%); }
.hero.lg.split { min-height: calc(100svh - var(--header-h, 68px)); display: flex; align-items: center; box-sizing: border-box; }
.section.wide { min-height: 100svh; box-sizing: border-box; padding: 24px 0; display: flex; align-items: center; }
.section.wide .container { min-height: 0; width: 100%; max-width: 1800px; }
.section.wide .show-frame, .show-frame { aspect-ratio: 16 / 9; }
.section.wide .show-frame.fit { aspect-ratio: auto; }
html.snap .section, html.snap .hero.lg.split { scroll-snap-align: start; }
html.snap footer { scroll-snap-align: end; }
@media (max-width: 900px) { .section.wide { min-height: 100svh; padding: 16px 0; } .section.wide .container { min-height: 0; } }

/* v10b */
html.snap .section { scroll-snap-align: none; }
html.snap .section.wide, html.snap .section.full, html.snap .hero.lg.split, html.snap .tail { scroll-snap-align: start; }
html.snap footer { scroll-snap-align: none; }
.section.full { min-height: 100svh; box-sizing: border-box; display: flex; align-items: center; padding: 24px 0; }
.section.full .section-head { margin-bottom: 24px; }
.section.full .chat { max-height: calc(100svh - 160px); }
@media (max-width: 900px) {
  .section.wide .show-frame img { object-fit: cover; object-position: left top; }
  .section.wide .sshow .sstep h2, .sshow .sstep b { font-size: clamp(26px, 7vw, 34px); }
  .section.wide .sshow .sstep .d { font-size: 17px; }
  .section.full .chat { max-height: none; }
}
/* v11: one gesture = one section */
html.snap.animating { scroll-snap-type: none; }

/* v12: when JS drives the sections, native snapping is off so the two never fight; CSS snap remains the no-JS fallback */
html.snap.jsnap { scroll-snap-type: none; }
html.jsnap { overscroll-behavior-y: none; }
.sshow .sstep h2 { margin: 0; display: block; }
.sshow .sstep p.d { margin-bottom: 0; }
html.jsnap { scroll-behavior: auto !important; }

/* inner-page hero: home look, normal height, no snapping */
.hero.lg.split.page { min-height: 0; padding: 40px 0 44px; scroll-snap-align: none; }
.hero.lg.split.page h1 { font-size: clamp(32px, 3.4vw, 50px); }
.hero.lg.split.page .lead { font-size: 19px; max-width: 44ch; }
.hero.lg.split.page .crumbs { margin-bottom: 14px; }
.hero.lg.split.page .hero-show .show-frame { aspect-ratio: 16 / 9; }

/* Mega navigation: click a top item, a white panel drops down under the header */
.nav { position: sticky; top: 0; }
.mega { position: absolute; left: 0; right: 0; top: 100%; z-index: 60; }
.mega-panel { background: var(--ok-surface); border-bottom: 1px solid var(--line); box-shadow: 0 24px 48px rgba(2,8,18,.10); animation: megaIn .22s ease both; }
@keyframes megaIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.mega-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; padding: 40px 0 32px; }
.mega-title { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); margin-bottom: 14px; }
.mi { display: flex; gap: 14px; align-items: flex-start; padding: 10px 10px; margin: 0 -10px; border-radius: 10px; color: var(--ok-text); text-decoration: none; }
.mi:hover { background: var(--alt); }
.mi .ic { flex: none; width: 34px; height: 34px; border-radius: 9px; background: var(--alt); display: grid; place-items: center; color: var(--ok-text); }
.mi .ic svg { width: 18px; height: 18px; }
.mi b { display: block; font-size: 16px; font-weight: 600; line-height: 1.25; }
.mi small { display: block; font-size: 14px; color: var(--muted); margin-top: 2px; }
.mi .soon { font-style: normal; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--teal); background: var(--alt); border-radius: 6px; padding: 2px 6px; margin-left: 6px; vertical-align: middle; }
.mega-strip { background: var(--alt); border-top: 1px solid var(--line); }
.mega-strip .container { display: flex; gap: 40px; align-items: flex-start; padding-top: 22px; padding-bottom: 22px; flex-wrap: wrap; }
.mega-strip-title { flex: 0 0 240px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); padding-top: 2px; }
.mega-strip a { color: var(--ok-text); text-decoration: none; }
.mega-strip a b { display: block; font-weight: 600; font-size: 16px; }
.mega-strip a small { display: block; color: var(--muted); font-size: 14px; }
.mega-strip a:hover b { color: var(--teal); }
.mega-btn[aria-expanded="true"] { color: var(--ok-text); background: var(--alt); }
.mega-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.mega-btn svg { transition: transform .2s; margin-left: 2px; }
.mega-backdrop { position: fixed; inset: 0; background: rgba(2,8,18,.28); z-index: 40; display: none; }
html.mega-open .mega-backdrop { display: block; }
html.mega-open .nav { transform: none !important; }
.nav-drop { display: none; }
@media (max-width: 900px) { .mega, .mega-backdrop { display: none !important; } }
.mega-strip .container { display: grid; grid-template-columns: 240px repeat(4, 1fr); gap: 24px; align-items: start; }
.mega-strip-title { flex: none; }

/* v13: Orkie.ai design (approved 2026-09-27). Dark navy, Instrument Serif headlines over DM Sans body,
   teal for every action, orange only as an accent. Layout, section order and behavior are unchanged. */
html { background: var(--ok-bg); }
body { background: var(--ok-bg); color: var(--ok-text); font-family: var(--ok-font-body); }
a { color: var(--ok-teal-text); }
h1, h2, h3 { font-family: var(--ok-font-display); font-weight: 400; letter-spacing: -.01em; color: var(--ok-text); }
h4 { font-family: var(--ok-font-body); font-weight: 600; color: var(--ok-text); }
h1 { font-size: clamp(44px, 6vw, 80px); line-height: 1; }
h2 { font-size: clamp(34px, 4vw, 52px); line-height: 1.08; }
h3 { font-size: clamp(22px, 2.2vw, 28px); line-height: 1.15; }
.lead, .section-head p, .pic-copy p, .hero .lead, .hero.light .lead { color: var(--ok-text-muted); }
.eyebrow, .section.navy .eyebrow { font-family: var(--ok-font-body); font-size: 13px; font-weight: 600; letter-spacing: .18em; color: var(--ok-text-muted); }
.section-head h2 { font-size: clamp(34px, 4vw, 52px); }
.section.alt { background: var(--ok-bg-alt); border-color: var(--ok-line); }
.section.navy { color: var(--ok-text); }

/* Logo: split ring + "Orkie.ai" wordmark + TM */
.logo, .footer .logo { display: inline-flex; align-items: center; gap: .3em; font-family: var(--ok-font-display); font-weight: 400; font-size: 30px; line-height: 1; letter-spacing: 0; color: var(--ok-text); text-decoration: none; }
.logo:hover { text-decoration: none; opacity: .9; }
.logo-mark { width: 1.02em; height: 1.02em; flex: 0 0 auto; display: block; }
.logo-ai { color: var(--ok-teal-light); }
.logo-tm { font-family: var(--ok-font-body); font-weight: 600; font-size: .2em; vertical-align: 2.9em; margin-left: .28em; letter-spacing: .03em; }
.footer .logo { font-size: 26px; }

/* Nav */
.nav { background: rgba(8,27,51,.94); border-bottom-color: var(--ok-line); }
.nav-inner { min-height: 76px; }
.nav-link { font-weight: 500; font-size: 16px; color: var(--ok-text); }
.nav-link:hover, .mega-btn[aria-expanded="true"] { background: var(--ok-surface); color: var(--ok-text); }
.nav-icon { width: 44px; height: 44px; border: 1px solid var(--ok-line); border-radius: var(--ok-radius-sm); color: var(--ok-text); }
.nav-icon:hover { background: var(--ok-surface); color: var(--ok-text); }
.nav-toggle { background: transparent; border-color: var(--ok-line); }
.nav-toggle span { background: var(--ok-text); }
.mega-panel { background: var(--ok-surface); border-bottom-color: var(--ok-line); box-shadow: 0 24px 48px rgba(2,8,18,.45); }
.mega-title, .mega-strip-title { color: var(--ok-text-muted); }
.mi { color: var(--ok-text); }
.mi:hover { background: var(--ok-panel); }
.mi .ic { background: var(--ok-panel); color: var(--ok-teal-light); }
.mi .soon { background: var(--ok-panel); color: var(--ok-teal-text); }
.mega-strip { background: var(--ok-bg-alt); border-top-color: var(--ok-line); }
.mega-strip a { color: var(--ok-text); }
.mega-strip a:hover b { color: var(--ok-teal-text); }
.mega-backdrop { background: rgba(2,8,18,.55); }

/* Buttons: teal is the only fill */
.btn { font-family: var(--ok-font-body); font-weight: 600; font-size: 17px; min-height: 0; padding: 15px 26px; border-radius: var(--ok-radius-sm); border-width: 1px; }
.btn-primary, .btn-primary:hover { background: var(--ok-teal); border-color: var(--ok-teal); color: #FFFFFF; }
.btn-primary:hover { filter: brightness(1.12); }
.btn-secondary, .section.navy .btn-secondary { background: transparent; color: var(--ok-text); border-color: var(--ok-text); }
.btn-secondary:hover, .section.navy .btn-secondary:hover { background: var(--ok-surface); color: var(--ok-text); }
.btn-ghost { color: var(--ok-teal-text); }
.btn-sm, .nav-cta .btn { padding: 12px 22px; font-size: 16px; }
.btn-lg { padding: 17px 30px; font-size: 18px; }

/* Hero */
.hero, .hero.light { background: var(--ok-bg); color: var(--ok-text); border-bottom-color: var(--ok-line); }
.hero h1, .hero.light h1 { color: var(--ok-text); }
.hero h1 em { color: var(--ok-teal-text); }
.hero.lg h1, .hero.lg.split h1 { font-family: var(--ok-font-display); font-weight: 400; font-size: clamp(44px, 5.6vw, 80px); line-height: 1; letter-spacing: -.01em; }
.hero.lg.split h1 .rot { color: var(--ok-teal-text); font-style: normal; font-weight: 400; }
.hero.lg.split.page h1 { font-size: clamp(38px, 4vw, 60px); }
.hero-proof span::before { color: var(--ok-teal-light); }

/* Cards and panels */
.card, .stat, .step, .quote, .module-card, .post-card, .toc, .kb-side, .faq details, .ba .col, .speed .t, .doc-card, .social-row a, .cta3 .card { background: var(--ok-surface); border-color: var(--ok-line); border-radius: var(--ok-radius-md); box-shadow: none; }
.card { padding: 30px; }
.stat b, .speed .t b, .big b { font-family: var(--ok-font-display); font-weight: 400; color: var(--ok-text); }
.stat b { font-size: clamp(36px, 3.4vw, 44px); }
.big { background: var(--ok-surface); border: 1px solid var(--ok-line); }
.big.teal { background: var(--ok-teal); border-color: var(--ok-teal); }
.big.teal span { color: #FFFFFF; }
.icon, .icon.cyan, .icon.navy { background: var(--ok-panel); color: var(--ok-teal-light); }
.module-card .app-icon { background: var(--ok-panel); color: var(--ok-teal-light); }
.module-card .installed, .badge, .badge.cyan { background: var(--ok-panel); color: var(--ok-teal-text); }
.quote blockquote { font-family: var(--ok-font-display); font-size: 22px; color: var(--ok-text); }
.quote blockquote::before { color: var(--ok-orange); }
.quote .stars { color: var(--ok-orange); }
.cta-band { background: var(--ok-surface); border: 1px solid var(--ok-line); }
.cta-band p, .cta-band p a { color: var(--ok-text-muted); }
.phone { font-family: var(--ok-font-display); color: var(--ok-text); }
.faq summary { color: var(--ok-text); }
.faq summary::after { color: var(--ok-teal-text); }
.faq .a { color: var(--ok-text-muted); }
.compare th:first-child, .compare td:first-child { color: var(--ok-text); }
.note { background: var(--ok-panel); border-color: var(--ok-line); color: var(--ok-text); }
.lede { background: var(--ok-panel); border-left-color: var(--ok-teal-light); color: var(--ok-text); }

/* Chips and tags: pills with a hairline border */
.chip, .tag { background: transparent; border: 1px solid var(--ok-line); color: var(--ok-text); font-size: 15px; font-weight: 500; }
.chip.active, .chip:hover { background: var(--ok-teal); border-color: var(--ok-teal); color: #FFFFFF; }
.tag:hover { border-color: var(--ok-line-strong); }

/* Screenshot frames: surface, hairline, 14px. The real screenshots sit inside unchanged. */
.frame, .shot, .show-frame, .scene, .zoom, .demo, .chat, .story-strip .st, .post-cover { background: var(--ok-surface); border: 1px solid var(--ok-line); border-radius: var(--ok-radius-lg); box-shadow: none; }
.story-strip .st .shot, .story-strip .st .scene { border: 0; border-radius: 0; }
.frame-bar, .demo-head { background: var(--ok-surface); border-bottom-color: var(--ok-line); }
.frame-bar i { background: var(--ok-line-strong); }
.frame-bar span, .story-strip .st .k, .msg .tool, .doc-meta .pdf, .step::before { font-family: var(--ok-font-body); }
.section.wide .show-frame img { background: var(--ok-surface); }
.shot .cap, .show .cap, .scene .cap { background: var(--ok-teal); color: #FFFFFF; font-family: var(--ok-font-body); font-size: 17px; font-weight: 600; padding: 12px 18px; border-radius: 10px; }

/* Carousel and story dots: 10px circles, the active one an orange pill */
.show-dots button, .sshow-dots button { width: 10px; height: 10px; border-radius: 5px; background: var(--ok-line-strong); transition: width .2s ease, background .2s ease; }
.show-dots button.on, .sshow-dots button.on { width: 26px; background: var(--ok-orange); }

/* Scroll stories: the step on screen is the active one (orange eyebrow + progress), headline in the display serif */
.sshow .sstep .k, .section.wide .sshow .sstep .k { font-family: var(--ok-font-body); font-size: 13px; font-weight: 600; letter-spacing: .18em; color: var(--ok-orange); }
.sshow .sstep h2, .sshow .sstep b { font-family: var(--ok-font-display); font-weight: 400; letter-spacing: -.01em; color: var(--ok-text); }
.sshow .sstep .d { color: var(--ok-text-muted); }
.sshow-bar { background: var(--ok-line); }
.sshow-bar i { background: var(--ok-orange); }
.section .btn-ghost { font-weight: 600; }

/* Chat demo: surface card, user bubble on panel, teal "yes", orange send */
.chat-rail { background: var(--ok-bg-alt); border-right-color: var(--ok-line); }
.chat-rail b { color: var(--ok-text); }
.chat-rail .q.on { background: var(--ok-panel); color: var(--ok-text); border-color: var(--ok-line); }
.chat-top { border-bottom-color: var(--ok-line); }
.chat-top .dot { background: var(--ok-teal-light); }
.cm .b { color: var(--ok-text); }
.cm.user .b { background: var(--ok-panel); }
.cm.user .av { background: var(--ok-panel); }
.cm.ai .av { background: var(--ok-orange); color: var(--ok-bg); }
.cm .card-s { background: var(--ok-panel); border-color: var(--ok-line); }
.cm .bar-row .bar { background: var(--ok-line); }
.cm .acts li .pill, .msg .pill { background: var(--ok-panel); color: var(--ok-orange); }
.cm .acts li .pill.ok, .msg .pill.ok { background: var(--ok-teal); color: #FFFFFF; }
.chat-input { border-color: var(--ok-line); }
.chat-input .send { background: var(--ok-orange); color: var(--ok-bg); }
.msg.user { background: var(--ok-panel); color: var(--ok-text); }
.msg.ai { background: var(--ok-surface); border-color: var(--ok-line); color: var(--ok-text); }
.demo-chat, .demo-screen { background: var(--ok-surface); }
.demo-tab { background: transparent; border-color: var(--ok-line); color: var(--ok-text-muted); }
.demo-tab.active { background: var(--ok-teal); border-color: var(--ok-teal); color: #FFFFFF; }
.demo-screen .cap { background: rgba(8,27,51,.92); border-color: var(--ok-line); color: var(--ok-text); }
.scenario { background: var(--ok-surface); border-color: var(--ok-line); }
.scenario .say { background: var(--ok-panel); }
.scenario .say .eyebrow, .scenario .get .eyebrow { color: var(--ok-orange); }
.scenario .say p { font-family: var(--ok-font-display); font-weight: 400; }

/* Forms */
.form { background: var(--ok-surface); border-color: var(--ok-line); box-shadow: none; }
.field label { color: var(--ok-text); }
.field input, .field select, .field textarea, .module-tools input, .inline-form input { background: var(--ok-bg); border: 1px solid var(--ok-line-strong); color: var(--ok-text); }
.field input::placeholder, .field textarea::placeholder, .module-tools input::placeholder, .inline-form input::placeholder { color: var(--ok-text-muted); }
.field input:focus, .field select:focus, .field textarea:focus { outline-color: var(--ok-teal-light); border-color: var(--ok-teal-light); }
.form-msg.ok { background: var(--ok-panel); color: var(--ok-teal-light); }
.form-msg.bad { background: var(--ok-panel); color: var(--ok-orange); }

/* Prose (blog, knowledge base, legal) */
.prose p, .prose li { color: var(--ok-text-muted); }
.prose h2, .prose h3 { color: var(--ok-text); }
.prose a { color: var(--ok-teal-text); text-decoration-color: var(--ok-teal-text); }
.prose blockquote { font-family: var(--ok-font-display); color: var(--ok-text); border-left-color: var(--ok-orange); }
.prose code { background: var(--ok-panel); color: var(--ok-text); }
.prose th, .table th { background: var(--ok-panel); }
.post-card .kicker { color: var(--ok-teal-text); }
.post-card h3 a { color: var(--ok-text); }
.kb-side a { color: var(--ok-text-muted); }
.kb-side a.active, .kb-side a:hover { background: var(--ok-panel); color: var(--ok-text); }
.crumbs, .crumbs a { color: var(--ok-text-muted); }
.gap.under, .gap.over { background: var(--ok-panel); color: var(--ok-orange); }
.gap.ok { background: var(--ok-panel); color: var(--ok-teal-light); }
.video { background: var(--ok-surface); border-color: var(--ok-line); color: var(--ok-text-muted); }

/* Footer */
.footer { background: var(--ok-footer); color: var(--ok-text-muted); }
.footer a { color: var(--ok-text-muted); }
.footer a:hover { color: var(--ok-text); }
.footer h4 { color: var(--ok-text-muted); font-family: var(--ok-font-body); font-weight: 600; font-size: 13px; letter-spacing: .12em; }
.footer .tagline { color: var(--ok-text-muted); }
.footer-bottom { border-top: 1px solid var(--ok-line); color: var(--ok-text-muted); }
.footer-bottom a { color: var(--ok-text-muted); }

/* Consent bar and skip link */
.consent { background: var(--ok-surface); border-color: var(--ok-line); color: var(--ok-text); }
.skip:focus { background: var(--ok-surface); color: var(--ok-text); }

/* Phone menu: fills the screen under the header, five lines to start, one section open at a time */
.mobile-menu { position: fixed; left: 0; right: 0; top: var(--menu-top, 64px); bottom: 0; z-index: 70; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; background: var(--ok-bg); border-top: 1px solid var(--ok-line); padding: 4px 0 40px; }
html.menu-open { overflow: hidden; }
html.menu-open .nav { background: var(--ok-bg); backdrop-filter: none; -webkit-backdrop-filter: none; transform: none !important; }
.mm-head, .mm-link { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 18px 0; margin: 0; border: 0; border-bottom: 1px solid var(--ok-line); background: none; font-family: var(--ok-font-display); font-size: 30px; font-weight: 400; line-height: 1.1; color: var(--ok-text); text-align: left; text-decoration: none; cursor: pointer; }
.mm-link:hover { text-decoration: none; }
.mm-chev { flex: none; color: var(--ok-text-muted); transition: transform .2s ease; }
.mm-head[aria-expanded="true"] { border-bottom-color: transparent; }
.mm-head[aria-expanded="true"] .mm-chev { transform: rotate(180deg); color: var(--ok-orange); }
.mm-body { padding: 0 0 14px; border-bottom: 1px solid var(--ok-line); }
.mm-title { margin: 14px 0 4px; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ok-text-muted); }
/* "Customize and extend Orkie" in orange so it reads as a call-out (Gregg 2026-09-28) */
.mega-strip-title, .mm-title.mm-strip-title { color: var(--ok-orange); }
.mm-item { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; color: var(--ok-text); text-decoration: none; }
.mm-item:hover { text-decoration: none; }
.mm-item .ic { flex: none; width: 32px; height: 32px; border-radius: var(--ok-radius-sm); background: var(--ok-panel); color: var(--ok-teal-light); display: grid; place-items: center; }
.mm-item .ic svg { width: 17px; height: 17px; }
.mm-item b { display: block; font-size: 16px; font-weight: 600; line-height: 1.3; }
.mm-item small { display: block; margin-top: 2px; font-size: 14px; line-height: 1.4; color: var(--ok-text-muted); }
.mm-item .soon { font-style: normal; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ok-teal-text); background: var(--ok-panel); border-radius: 6px; padding: 2px 6px; margin-left: 6px; vertical-align: middle; }
.mm-cta { display: grid; gap: 10px; margin-top: 28px; }
.mm-cta .btn { width: 100%; }
.nav-toggle span { transition: transform .2s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Claude/ChatGPT + Orkie (workspace + company brain): the diagram above the home chat; halves light up as answers use them */
.duo { display: grid; grid-template-columns: minmax(0, 1fr) 56px minmax(0, 2.1fr); align-items: stretch; max-width: 1040px; margin: 0 auto 16px; }
.duo-node { display: flex; flex-direction: column; gap: 3px; background: var(--ok-surface); border: 1px solid var(--ok-line); border-radius: var(--ok-radius-md); padding: 10px 14px; transition: border-color .35s ease, box-shadow .35s ease, background .35s ease; }
.duo-node small { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ok-text-muted); }
.duo-node b { font-family: var(--ok-font-display); font-weight: 400; font-size: 22px; line-height: 1.1; color: var(--ok-text); }
.duo-node span { font-size: 13.5px; line-height: 1.35; color: var(--ok-text-muted); }
.duo-ai { justify-content: center; }
.duo-link { position: relative; display: flex; align-items: center; }
.duo-link i { position: relative; display: block; width: 100%; height: 2px; background: var(--ok-line-strong); }
.duo-link i::before, .duo-link i::after { content: ""; position: absolute; top: -4px; width: 10px; height: 10px; border-radius: 50%; background: var(--ok-teal-light); }
.duo-link i::before { left: -5px; } .duo-link i::after { right: -5px; }
.duo-orkie { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 22px 8px 8px; border: 1px dashed var(--ok-line-strong); border-radius: var(--ok-radius-lg); }
.duo-orkie > em { position: absolute; top: 6px; left: 14px; font-style: normal; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ok-teal-light); }
.duo-node.lit { border-color: var(--ok-teal-light); box-shadow: 0 0 0 1px var(--ok-teal-light); background: var(--ok-panel); }
.duo-node.brain.lit { border-color: var(--ok-orange); box-shadow: 0 0 0 1px var(--ok-orange); }
.cm .src { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.cm .src span { font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--ok-line); color: var(--ok-teal-text); }
.cm .src span.brain { color: var(--ok-orange); border-color: rgba(242,154,56,.45); }
.section.full .duo + .chat { min-height: 0; height: calc(100svh - 330px); max-height: 560px; }
.section.full .duo + .chat .chat-rail { overflow-y: auto; }
.section.full .duo + .chat .chat-body { min-height: 0; overflow: hidden; }
.section.full:has(.duo) .section-head { margin-bottom: 8px; }
.section.full:has(.duo) p.lead-sm { margin-bottom: 16px; }
@media (max-width: 900px) {
  .duo { grid-template-columns: 1fr; gap: 0; }
  .duo-link { height: 26px; justify-content: center; }
  .duo-link i { width: 2px; height: 100%; }
  .duo-link i::before { left: -4px; top: -5px; } .duo-link i::after { left: -4px; right: auto; top: auto; bottom: -5px; }
  .section.full .duo + .chat { height: auto; max-height: none; min-height: 480px; }
}
@media (max-width: 600px) { .duo-orkie { grid-template-columns: 1fr; } .duo-node b { font-size: 21px; } }

/* Pinned header (2026-09-27): never slides away; full-screen sections are sized to the space under it */
.nav, .nav.hide { transform: none !important; }
html, html.snap { scroll-padding-top: var(--header-h, 76px); }
.section.wide, .section.full { min-height: calc(100svh - var(--header-h, 76px)); }
.section.full .duo + .chat { height: calc(100svh - var(--header-h, 76px) - 330px); min-height: 380px; }

/* Two ways to work (home): run it yourself / run it with our team */
.ways { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 1040px; margin: 0 auto; }
.way { display: flex; flex-direction: column; }
.way .eyebrow { margin-bottom: 8px; }
.way h3 { font-size: clamp(28px, 2.6vw, 34px); margin-bottom: 8px; }
.way .check-list { margin: 8px 0 22px; }
.way .btn { margin-top: auto; align-self: flex-start; }
.way.on { border-color: var(--ok-teal-light); box-shadow: 0 0 0 1px var(--ok-teal-light); }
.way.on .eyebrow { color: var(--ok-orange); }
@media (max-width: 800px) { .ways { grid-template-columns: 1fr; } }

/* Partner badges: Google (live from Google) + Shopify Plus Partner (unaltered) */
.badges { display: flex; flex-wrap: wrap; gap: 28px; align-items: center; margin-top: 28px; }
.badges.center { justify-content: center; }
.badges a { display: block; line-height: 0; border-radius: 10px; }
.badges img { height: 96px; width: auto; display: block; }
.badges.sm { margin-top: 16px; gap: 12px; } .badges.sm img { height: 60px; }
/* The Shopify file has empty space inside it (artwork fills y 18-98 of 116), so it is scaled up and the
   empty space cancelled with negative margins; its artwork then stands as tall as the Google badge. */
.badges img.badge-shopify { height: 139px; margin: -21.5px 0 -21.5px -20px; }
.badges.sm img.badge-shopify { height: 87px; margin: -13.5px 0 -13.5px -12px; }
/* BigCommerce Certified Partner wordmark: dark lettering, so it sits on a white plate as tall as the Google badge */
.badges .badge-plate { display: flex; align-items: center; background: #FFFFFF; border-radius: 10px; height: 96px; padding: 0 22px; box-sizing: border-box; }
.badges .badge-plate img { height: 54px; width: auto; }
.badges.sm .badge-plate { height: 60px; padding: 0 14px; border-radius: 8px; }
.badges.sm .badge-plate img { height: 34px; }

/* How to start: four starting points with published starting prices */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 26px; }
.plan .badge { position: absolute; top: -12px; left: 26px; background: var(--ok-teal); color: #FFFFFF; }
.plan h3 { font-size: clamp(24px, 2vw, 28px); margin-bottom: 6px; }
.plan .muted { min-height: 4.7em; }
.plan-price { font-family: var(--ok-font-display); font-size: clamp(34px, 3vw, 42px); line-height: 1; color: var(--ok-text); margin: 14px 0 6px; }
.plan-price small { font-family: var(--ok-font-body); font-size: 15px; color: var(--ok-text-muted); margin-left: 4px; }
.plan-price small.plan-from { margin: 0 6px 0 0; }
.plan-setup { font-size: 14px; color: var(--ok-teal-text); margin: 0 0 16px; }
.plan .check-list { margin-bottom: 22px; font-size: 15.5px; }
.plan .btn { margin-top: auto; align-self: flex-start; }
.plan.on { border-color: var(--ok-teal-light); box-shadow: 0 0 0 1px var(--ok-teal-light); }
.plan-note { text-align: center; color: var(--ok-text-muted); font-size: 15px; margin: 22px auto 0; max-width: 70ch; }
@media (max-width: 1100px) { .plans { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .plans { grid-template-columns: 1fr; } .plan .muted { min-height: 0; } }

@media (max-width: 600px) {
  h1, .hero.lg h1, .hero.lg.split h1 { font-size: clamp(40px, 11vw, 48px); }
  h2, .section-head h2 { font-size: clamp(30px, 8.6vw, 36px); }
  .logo { font-size: 24px; }
  .btn { padding: 14px 22px; font-size: 16px; }
  .nav-inner { gap: 10px; min-height: 64px; }
  .nav-cta { gap: 6px; }
  .nav-cta .btn { padding: 10px 14px; font-size: 14px; }
  .nav-icon, .nav-toggle { width: 40px; height: 40px; }
  .shot .cap, .show .cap, .scene .cap { font-size: 14px; padding: 8px 12px; }
}
@media (max-width: 380px) { .nav-cta .nav-icon { display: none; } }

/* How it works together: one row per connection */
.links { display: grid; gap: 18px; max-width: 1040px; margin: 0 auto; }
.link-row { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 28px; align-items: start; background: var(--ok-surface); border: 1px solid var(--ok-line); border-radius: 16px; padding: 26px 28px; scroll-margin-top: 96px; }
.link-path { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding-top: 4px; }
.link-path .chip { display: inline-block; padding: 7px 14px; border-radius: 999px; background: var(--ok-panel); border: 1px solid var(--ok-line-strong); color: var(--ok-text); font-weight: 600; font-size: 15px; }
.link-path .chip.to { border-color: var(--ok-teal-light); color: var(--ok-teal-text); }
.link-path i { font-style: normal; color: var(--ok-orange); font-size: 20px; font-weight: 700; }
.link-copy h3 { margin: 0 0 8px; }
.link-copy p { margin: 0 0 10px; color: var(--ok-text-muted); }
.link-copy .eg { color: var(--ok-text); border-left: 3px solid var(--ok-orange); padding-left: 12px; }
.link-copy .eg b { color: var(--ok-orange); font-weight: 600; }
.link-copy .more { color: var(--ok-teal-text); font-weight: 600; text-decoration: none; }
.link-copy .more:hover { text-decoration: underline; }
@media (max-width: 800px) { .link-row { grid-template-columns: 1fr; gap: 14px; padding: 22px 20px; } }

/* Testimonial not yet approved in writing by the customer */
.quote-draft { align-self: flex-start; font-size: 11.5px; font-weight: 700; letter-spacing: .04em; padding: 3px 9px; border-radius: 999px; background: var(--ok-panel); color: var(--ok-orange); border: 1px solid var(--ok-orange); }

/* Phones (2026-09-28 mobile review) */
/* Wide tables scroll inside their own box instead of pushing the whole page sideways. */
.tbl { overflow-x: auto; -webkit-overflow-scrolling: touch; max-width: 100%; }
/* Slideshow dots stay small to look at but get a thumb-sized tap area. */
.show-dots button, .sshow-dots button { position: relative; }
.show-dots button::after, .sshow-dots button::after { content: ""; position: absolute; inset: -14px -6px; }
/* Small tags readable on a phone. */
.module-card .installed, .doc-meta .pdf { font-size: 12px; }
/* Phones: the three partner badges sit on one centered line at the same height (Shopify keeps its scale-up for
   the empty space in its file; the BigCommerce plate matches the Google badge). Same in the footer. */
@media (max-width: 640px) {
  .badges, .badges.sm { gap: 12px; justify-content: center; }
  .badges img, .badges.sm img { height: 48px; }
  .badges img.badge-shopify, .badges.sm img.badge-shopify { height: 69.5px; margin: -10.75px 0 -10.75px -10px; }
  .badges .badge-plate, .badges.sm .badge-plate { height: 48px; padding: 0 12px; border-radius: 8px; }
  .badges .badge-plate img, .badges.sm .badge-plate img { height: 28px; }
}
/* Phones: the footer's brand column (logo, contact, badges) spans the full width above the link columns. */
@media (max-width: 640px) { .footer-grid > div:first-child { grid-column: 1 / -1; } }


/* Rotating testimonials: each slot stacks its quotes in one grid cell, so the slot is as tall as its longest quote and nothing jumps. */
.qrot .qslot { display: grid; perspective: 1400px; }
/* Each change flips the card: the old quote turns away, the next one turns in. */
.qrot .qslot > .quote { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: rotateY(-90deg); backface-visibility: hidden; transition: transform .42s ease-in, opacity .42s ease-in, visibility 0s linear .42s; }
.qrot .qslot > .quote.on { opacity: 1; visibility: visible; transform: none; transition: transform .5s cubic-bezier(.2, .8, .3, 1) .4s, opacity .3s ease .4s, visibility 0s linear .4s; }
.qrot .qslot > .quote.out { opacity: 0; visibility: visible; transform: rotateY(90deg); }

/* The flywheel */
.fly { display: grid; grid-template-columns: minmax(0, 440px) minmax(0, 1fr); grid-template-areas: "wheel steps" "wheel foot"; gap: 8px 48px; align-items: center; max-width: 1080px; margin: 8px auto 0; }
.fly-wheel { grid-area: wheel; position: relative; aspect-ratio: 1; width: 100%; }
.fly-wheel > svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.fly-track { fill: none; stroke: var(--ok-line); stroke-width: 2; stroke-dasharray: 2 8; stroke-linecap: round; }
.fly-spin { fill: none; stroke: var(--ok-teal-light); stroke-width: 3; stroke-dasharray: 90 900; stroke-linecap: round; opacity: .85; transform-origin: 200px 200px; animation: fly-spin var(--fly-spd, 14s) linear infinite; }
@keyframes fly-spin { to { transform: rotate(360deg); } }
.fly-arc { fill: none; stroke: var(--ok-orange); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 1; }
.fly-node { position: absolute; width: 17%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; display: grid; place-items: center; background: var(--ok-surface); border: 2px solid var(--ok-orange); color: var(--ok-orange); cursor: pointer; padding: 0; transition: background .4s, color .4s, border-color .4s, transform .4s, opacity .4s, box-shadow .4s; }
.fly-node svg { width: 42%; height: 42%; display: block; }
.fly-node.cur { background: var(--ok-orange); color: var(--ok-bg); box-shadow: 0 0 0 8px rgba(242, 154, 56, .18); transform: translate(-50%, -50%) scale(1.08); }
.fly-hub { position: absolute; left: 50%; top: 50%; width: 50%; transform: translate(-50%, -50%); text-align: center; display: grid; gap: 6px; }
.fly-hub small { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ok-teal-text); }
.fly-hub b { font-family: var(--ok-font-display); font-weight: 400; font-size: clamp(20px, 2.6vw, 28px); line-height: 1.15; color: var(--ok-text); transition: opacity .35s; }
.fly-hub b.swap { opacity: 0; }
.fly-steps { grid-area: steps; list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.fly-step button { width: 100%; display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 14px; align-items: start; text-align: left; background: none; border: 1px solid transparent; border-radius: 12px; padding: 12px 14px; color: inherit; font: inherit; cursor: pointer; transition: background .4s, border-color .4s, opacity .4s; }
.fly-num { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 14px; border: 2px solid var(--ok-orange); color: var(--ok-orange); transition: background .4s, color .4s; }
.fly-step b { display: block; font-size: 17px; color: var(--ok-text); }
.fly-step small { display: block; font-size: 14.5px; line-height: 1.5; color: var(--ok-text-muted); margin-top: 3px; }
.fly-step em { display: block; font-style: normal; font-weight: 700; font-size: 14.5px; color: var(--ok-orange); margin-top: 5px; }
.fly-step.cur button { background: var(--ok-surface); border-color: var(--ok-line-strong); }
.fly-step.cur .fly-num, .fly-step.done .fly-num { background: var(--ok-orange); color: var(--ok-bg); }
.fly-foot { grid-area: foot; min-height: 34px; padding-left: 14px; }
.fly-cards, .fly-nav { display: none; }
.fly-hub b { font-size: clamp(19px, 2.4vw, 27px); }
.fly-again { background: none; border: 1px solid var(--ok-line-strong); color: var(--ok-text-muted); border-radius: 999px; font: inherit; font-size: 13px; padding: 6px 14px; cursor: pointer; }
.fly-again:hover, .fly-again:focus-visible { color: var(--ok-text); border-color: var(--ok-teal-light); }
/* Playing: pieces not added yet are dim, arcs draw in as each piece joins. */
.fly.js .fly-node:not(.on) { opacity: .28; border-color: var(--ok-line-strong); color: var(--ok-text-muted); }
.fly.js .fly-arc { stroke-dashoffset: 1; transition: stroke-dashoffset .9s ease; }
.fly.js .fly-arc.on { stroke-dashoffset: 0; }
.fly.js .fly-step:not(.on) button { opacity: .38; }
.fly.js .fly-step:not(.on) em { visibility: hidden; }
@media (max-width: 900px) {
  .fly { grid-template-columns: 1fr; grid-template-areas: "wheel" "steps" "foot"; gap: 20px; }
  .fly-wheel { max-width: 340px; margin: 0 auto; }
  .fly-step button { padding: 10px 8px; gap: 12px; }
  .fly-foot { text-align: center; padding-left: 0; }
  /* With JS on a phone: the list becomes one card under the wheel, with arrows and dots. */
  .fly.js { grid-template-areas: "wheel" "cards" "nav" "foot"; gap: 14px; }
  .fly.js .fly-steps { display: none; }
  .fly.js .fly-cards { grid-area: cards; display: grid; }
  .fly-card { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .45s ease, visibility 0s linear .45s; background: var(--ok-surface); border: 1px solid var(--ok-line-strong); border-radius: 14px; padding: 18px 18px 16px; text-align: left; }
  .fly-card.on { opacity: 1; visibility: visible; transition: opacity .45s ease, visibility 0s; }
  .fly-card .eyebrow { margin: 0 0 6px; }
  .fly-card b { display: block; font-size: 19px; color: var(--ok-text); }
  .fly-card small { display: block; font-size: 15px; line-height: 1.5; color: var(--ok-text-muted); margin-top: 6px; }
  .fly-card em { display: block; font-style: normal; font-weight: 700; font-size: 15.5px; color: var(--ok-orange); margin-top: 8px; }
  .fly.js .fly-nav { grid-area: nav; display: flex; align-items: center; justify-content: center; gap: 14px; }
  .fly-nav button { width: 44px; height: 44px; border-radius: 50%; background: var(--ok-surface); border: 1px solid var(--ok-line-strong); color: var(--ok-text); font-size: 24px; line-height: 1; cursor: pointer; }
  .fly-dots { display: flex; gap: 8px; }
  .fly-dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--ok-line-strong); transition: background .3s; }
  .fly-dots i.on { background: var(--ok-orange); }
  .fly-hub { width: 56%; }
  .fly-hub b { font-size: 21px; }
}
@media (prefers-reduced-motion: reduce) { .fly-spin { animation: none; } .qrot .qslot > .quote { transform: none; } }

/* Phones: thumb-sized tap areas on small text links without changing how the page looks (padding offset by negative margin). */
@media (max-width: 900px) {
  .crumbs a { display: inline-block; padding: 8px 0; margin: -8px 0; }
  .logo { padding: 10px 0; margin: -10px 0; }
  .footer li { margin-bottom: 0; }
  .footer li a { display: inline-block; padding: 6px 0; }
  .post-card h3 a, .module-card h3 a, .card h3 a { display: inline-block; padding: 5px 0; margin: -5px 0; }
  .tag { padding-top: 6px; padding-bottom: 6px; }
  .footer-bottom a { display: inline-block; padding: 8px 2px; margin: -8px 0; }
}

/* The flywheel payoff: every piece in, the wheel spinning hard, and what that means for the business. */
.fly-final { margin: 6px 0 14px; padding: 18px 20px; border: 1px solid var(--ok-orange); border-radius: 14px; background: var(--ok-surface); box-shadow: 0 0 0 6px rgba(242, 154, 56, .08); }
.fly-final .eyebrow { margin: 0 0 6px; color: var(--ok-orange); }
.fly-final b { display: block; font-family: var(--ok-font-display); font-weight: 400; font-size: 26px; line-height: 1.2; color: var(--ok-text); }
.fly-final small { display: block; font-size: 15px; line-height: 1.55; color: var(--ok-text-muted); margin-top: 6px; }
.fly-final em { display: block; font-style: normal; font-weight: 700; font-size: 16px; color: var(--ok-orange); margin-top: 8px; }
.fly.js .fly-final { display: none; }
.fly.js .fly-final.on { display: block; }
.fly.end .fly-spin { stroke: var(--ok-orange); stroke-width: 5; stroke-dasharray: 140 800; opacity: 1; filter: drop-shadow(0 0 6px rgba(242, 154, 56, .7)); }
.fly.end .fly-track { stroke: var(--ok-orange); opacity: .5; }
.fly.end .fly-node { background: var(--ok-orange); color: var(--ok-bg); box-shadow: 0 0 0 6px rgba(242, 154, 56, .16); }
.fly.end .fly-hub small { color: var(--ok-orange); }
.fly-card-end { border-color: var(--ok-orange) !important; box-shadow: 0 0 0 5px rgba(242, 154, 56, .08); }
.fly-card-end .eyebrow { color: var(--ok-orange); }
.fly-card-end b { font-family: var(--ok-font-display); font-weight: 400; font-size: 23px !important; }
@media (max-width: 900px) { .fly.js .fly-final.on { display: none; } }


/* Phones: the home page scrolls normally (no section snapping). */
@media (max-width: 900px) { html, html.snap { scroll-snap-type: none; } .section.wide, .hero.lg.split { scroll-snap-stop: normal; scroll-snap-align: none; } }

/* Home hero: "People + AI agents" on its own line above the eyebrow, in orange. */
.kicker-hl { display: block; color: var(--ok-orange); margin-bottom: 6px; }

/* Phones: the chat answer's number cards sit three across, compact, so the chat stays short. */
@media (max-width: 900px) { .cm .cards { grid-template-columns: repeat(3, 1fr); gap: 6px; } .cm .card-s { padding: 8px 8px; } .cm .card-s small { font-size: 12px; line-height: 1.2; } .cm .card-s b { font-size: 17px; } .cm .card-s i { font-size: 12px; } .chat-body { padding: 16px 14px; } }

/* Phones: the Claude window reads like a calm example, not a live typing demo. Question chips on top (swipe, tap),
   then the question and its answer with plain labels. */
@media (max-width: 900px) {
  .chat .chat-rail { display: none; gap: 8px; overflow-x: auto; padding: 12px 14px; border-right: 0; border-bottom: 1px solid var(--ok-line); scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .chat .chat-rail::-webkit-scrollbar { display: none; }
  .chat .chat-rail b { display: none; }
  .chat .chat-rail .q { flex: 0 0 auto; white-space: nowrap; margin: 0; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--ok-line-strong); background: var(--ok-bg-alt); color: var(--ok-text-muted); font-size: 14px; }
  .chat .chat-rail .q.on { border-color: var(--ok-orange); color: var(--ok-text); background: var(--ok-panel); }
  .chat .chat-input, .chat .chat-top { display: none; }
  .cm { transform: none; }
  .cm .av { display: none; }
  .cm .who { display: block; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ok-teal-text); margin-bottom: 6px; }
  .cm.user .who { color: var(--ok-text-muted); }
  .cm.user { justify-content: flex-end; }
  .cm.user .b { max-width: 88%; border-bottom-left-radius: 12px; border-bottom-right-radius: 3px; }
  .cm.ai .b { width: 100%; }
  .chat-body { gap: 18px; }
  .section.full .chat, .section.full .duo + .chat { height: auto; max-height: none; min-height: 0; grid-template-rows: auto auto; }
  .section.full .duo + .chat .chat-rail { overflow-y: visible; }
}

/* Home hero: the screen box keeps its 16:9 shape before the image loads, so nothing below it jumps. */
.hero.lg.split .hero-show .show-frame { aspect-ratio: 16 / 9; }

/* Phones, Claude/ChatGPT section (Gregg 09-28): no question row, "You ask" in orange, a compact diagram so it all fits. */
@media (max-width: 900px) {
  .cm.user .who { color: var(--ok-orange); }
  .section.full:has(.duo) .section-head, .section.full:has(.duo) h2 { margin-bottom: 8px; }
  .section.full:has(.duo) p.lead-sm { font-size: 16px; margin-bottom: 14px; }
  .duo { margin-bottom: 12px; }
  .duo-node { padding: 8px 12px; }
  .duo-node span { display: none; }
  .duo-node small { font-size: 11px; }
  .duo-node b { font-size: 18px; }
  .duo-link { height: 18px; }
  .duo-orkie { grid-template-columns: 1fr 1fr; gap: 8px; padding: 22px 8px 8px; }
  .chat-body { padding: 16px 16px 18px; gap: 16px; }
}

/* Phones: the Claude window's progress bar and tap hint. */
.chat-progress { height: 3px; background: var(--ok-line); }
.chat-progress i { display: block; height: 100%; width: 0; background: var(--ok-orange); }
.chat-hint { display: none; }
@media (max-width: 900px) { .chat { cursor: pointer; } .chat-hint { display: block; text-align: center; font-size: 13px; color: var(--ok-text-muted); margin: 10px 0 0; } }
