/* Oway website, home. Sits on top of app.css (the Shipper app's stylesheet).
   Dark is the default;    Product windows (demos, code) stay dark in both themes. Radius, buttons, borders and accents come from the app stylesheet. */

@font-face { font-family: 'DM Sans'; src: url('../fonts/dm-sans-var.woff2') format('woff2'); font-weight: 100 1000; font-display: swap; }
@font-face { font-family: 'JetBrains Mono'; src: url('../fonts/jetbrains-mono-var.woff2') format('woff2'); font-weight: 100 800; font-display: swap; }
@property --ring-angle { syntax: '<angle>'; inherits: true; initial-value: 104deg; }

:root:root {
  --r: 8px;
  --wrap: 1180px; --nav-h: 64px; --ease-x: cubic-bezier(0.16, 1, 0.3, 1);
  --page: #0a0a0b; --t1: #f5f6f7; --t2: rgba(255,255,255,0.74); --t3: rgba(255,255,255,0.56); --t4: rgba(255,255,255,0.54);
  --hair: rgba(255,255,255,0.08); --hair2: rgba(255,255,255,0.05);
  --sky-gain: 1.5;
  --glass: linear-gradient(180deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.01) 34%, rgba(255,255,255,0) 60%), linear-gradient(180deg, rgba(24,24,29,0.62) 0%, rgba(11,11,14,0.82) 100%);
  --glass-blur: blur(14px) saturate(150%);
  --glass-shadow: 0 24px 70px rgba(0,0,0,0.42), inset 0 1px 0 rgba(255,255,255,0.08);
  --ring: linear-gradient(var(--ring-angle), #F65C0E 0%, #7636d6 46%, #5236FF 74%, #F65C0E 100%);
  --panel-bg: #0c0d10;
}
/* Product windows keep the dark product look in either theme */
.island {
  --t1: #f5f6f7; --t2: rgba(255,255,255,0.74); --t3: rgba(255,255,255,0.56); --t4: rgba(255,255,255,0.38);
  --hair: rgba(255,255,255,0.08); --hair2: rgba(255,255,255,0.05);
  --bg: #0a0a0b; --bg-elevated: #131315; --surface: rgba(255,255,255,0.04); --fg: #fff; --fg-1: #fff; --fg-muted: rgba(255,255,255,0.55); --fg-faint: rgba(255,255,255,0.45);
  --line: rgba(255,255,255,0.08); --line-faint: rgba(255,255,255,0.05); --border: rgba(255,255,255,0.08);
  color: var(--t1); color-scheme: dark;
}

[hidden] { display: none !important; }
html, body { height: auto; }
body { overflow-x: hidden; overflow-y: auto; min-height: 100vh; font-size: 16px; color: var(--t1);
  background:
    radial-gradient(ellipse 105% 80% at 0% -5%,     rgba(var(--sky-1),   calc(0.16  * var(--sky-i) * var(--sky-gain))) 0%, transparent 58%),
    radial-gradient(ellipse 95% 70% at 20% 38%,     rgba(var(--sky-mid), calc(0.075 * var(--sky-i) * var(--sky-gain))) 0%, transparent 62%),
    radial-gradient(ellipse 105% 95% at 58% 58%,    rgba(var(--sky-mid), calc(0.12  * var(--sky-i) * var(--sky-gain))) 0%, transparent 68%),
    radial-gradient(ellipse 115% 105% at 102% 104%, rgba(var(--sky-2),   calc(0.19  * var(--sky-i) * var(--sky-gain))) 0%, transparent 70%),
    var(--page);
  background-attachment: fixed; transition: background-color 300ms; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 300; background: var(--oway-indigo); color: #fff; padding: 8px 12px; border-radius: var(--r); font-weight: 600; }
.skip:focus { top: 10px; }
.wrap { width: min(var(--wrap), 100% - 48px); margin: 0 auto; }
.chips { display: inline-block; aspect-ratio: 717 / 1270; flex: 0 0 auto; }
.chips svg { display: block; width: 100%; height: 100%; overflow: visible; }
.mono { font-family: var(--font-mono); }

/* ── Buttons: the app's .btn, .btn.primary, .btn.ghost and .sales-btn,
   used as-is. .web only scales them to website hit targets. */
.btn.web { height: 36px; padding: 0 16px; font-size: 14px; }
.btn.web.lg { height: 42px; padding: 0 20px; font-size: 15px; }
.btn.web.sm { height: 32px; padding: 0 12px; font-size: 13px; }
.btn .icon { width: 13px; height: 13px; }
a.lnk { color: #A9B4FF; font-weight: 600; } a.lnk:hover { color: #fff; }
/* ── Nav with dropdowns ───────────────────────────────────────────────── */
.nv { position: sticky; top: 0; z-index: 90; height: var(--nav-h); border-bottom: 1px solid transparent; transition: background-color 300ms, border-color 300ms; }
.nv.is-solid { background: color-mix(in srgb, var(--page) 72%, transparent); border-bottom-color: var(--hair); -webkit-backdrop-filter: blur(20px) saturate(160%); backdrop-filter: blur(20px) saturate(160%); }
.nv-in { height: 100%; display: flex; align-items: center; gap: 8px; }
.nv-brand { display: inline-flex; align-items: center; gap: 9px; font-size: 17px; font-weight: 600; letter-spacing: -0.015em; margin-right: 18px; color: var(--t1); }
.nv-brand .chips { height: 26px; }
.nv-links { display: flex; align-items: center; gap: 2px; }
.nv-item { position: relative; }
.nv-links > a, .nv-trig { height: 34px; display: inline-flex; align-items: center; gap: 6px; padding: 0 12px; border-radius: var(--r); font: 500 14px var(--font); color: var(--t2); transition: color 160ms, background-color 160ms; }
.nv-links > a:hover, .nv-trig:hover { color: var(--t1); background: var(--surface); }
.nv-item.open .nv-trig { color: #FF8A4C; background: rgba(246,92,14,0.1); box-shadow: inset 0 0 0 1px rgba(246,92,14,0.25); }
.nv-trig svg { width: 10px; height: 10px; opacity: 0.6; transition: transform 200ms var(--ease-x); }
.nv-item.open .nv-trig svg { transform: rotate(180deg); }
.nv-links .n { font: 500 11px var(--font-mono); color: var(--oway-orange-hi); }
.dd { position: absolute; top: calc(100% + 10px); left: -8px; width: 560px; padding: 8px; border-radius: 10px; display: grid; grid-template-columns: 1fr 1fr; gap: 2px;
  background: color-mix(in srgb, var(--page) 94%, transparent); -webkit-backdrop-filter: blur(22px) saturate(160%); backdrop-filter: blur(22px) saturate(160%); border: 1px solid var(--hair); box-shadow: 0 24px 60px rgba(0,0,0,0.35);
  opacity: 0; visibility: hidden; transform: translateY(-4px) scale(0.99); transform-origin: top left; transition: opacity 180ms var(--ease-x), transform 220ms var(--ease-x), visibility 0s 220ms; }
.dd.w1 { width: 300px; grid-template-columns: 1fr; }
.nv-item.open .dd { opacity: 1; visibility: visible; transform: none; transition: opacity 180ms var(--ease-x), transform 220ms var(--ease-x); }
.dd-h { grid-column: 1 / -1; padding: 8px 10px 4px; font-size: 12px; color: var(--t4); font-weight: 500; }
.dd a { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: center; padding: 9px 10px; border-radius: var(--r); transition: background-color 140ms; }
.dd a:hover { background: rgba(246,92,14,0.08); box-shadow: inset 0 0 0 1px rgba(246,92,14,0.22); }
.dd-ic { width: 34px; height: 34px; border-radius: var(--r); display: grid; place-items: center; background: rgba(56,37,253,0.12); border: 1px solid rgba(56,37,253,0.55); color: #A9B4FF; }
.dd-ic svg { width: 16px; height: 16px; }
.dd b { display: block; font-size: 14px; font-weight: 600; color: var(--t1); letter-spacing: -0.005em; }
.dd span { display: block; font-size: 12.5px; color: var(--t3); margin-top: 2px; line-height: 1.4; }
.nv-r { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.nv-burger { display: none; width: 34px; height: 34px; border-radius: var(--r); place-items: center; color: var(--t1); }
.nv-burger svg { width: 16px; height: 16px; }
.nv-sheet { position: fixed; inset: var(--nav-h) 0 auto 0; z-index: 89; background: color-mix(in srgb, var(--page) 96%, transparent); border-bottom: 1px solid var(--hair); padding: 12px 24px 24px; display: grid; -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }
.nv-sheet a { padding: 13px 0; font-size: 17px; border-bottom: 1px solid var(--hair2); color: var(--t2); }
@media (max-width: 960px) { .nv-links, .nv-r .hide-sm { display: none; } .nv-burger { display: grid; } }

/* ── Type ─────────────────────────────────────────────────────────────── */
.h1 { font-size: clamp(42px, 5vw, 64px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.03; text-wrap: balance; max-width: 16ch; }
.h2 { font-size: clamp(30px, 3.3vw, 44px); font-weight: 600; letter-spacing: -0.028em; line-height: 1.08; text-wrap: balance; }
.h3 { font-size: 18px; font-weight: 600; letter-spacing: -0.015em; line-height: 1.3; }
.p-lg { font-size: clamp(16.5px, 1.35vw, 19px); line-height: 1.6; color: var(--t3); max-width: 58ch; text-wrap: pretty; }
.p-lg b { color: var(--t1); font-weight: 600; }
.p { font-size: 15px; line-height: 1.6; color: var(--t3); }
.lbl { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: var(--t3); font-weight: 500; }
.lbl .no { font: 500 12px var(--font-mono); color: var(--t4); }
.note { font-size: 12.5px; color: var(--t4); }

/* ── Hero ─────────────────────────────────────────────────────────────── */
.hero { padding: clamp(72px, 9vw, 120px) 0 0; }
.hero .p-lg { margin-top: 24px; }
.hero .p-lg + .p-lg { margin-top: 14px; font-size: clamp(15.5px, 1.2vw, 17px); }
.hero-cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 32px; }

/* ── Glass, ring ──────────────────────────────────────────────────────── */
.glass { background: var(--glass); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); box-shadow: var(--glass-shadow); border: 1px solid var(--hair); border-radius: var(--r); }
[data-ring] { --ring-angle: 104deg; --glow-x: 50%; --glow-y: 50%; position: relative; isolation: isolate; transition: --ring-angle 600ms var(--ease-x); }
[data-ring]:hover { transition: --ring-angle 120ms linear; }
[data-ring]::after { content: ''; position: absolute; inset: -1px; z-index: 6; border-radius: calc(var(--r) + 1px); padding: 1px; pointer-events: none; background: var(--ring);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: var(--ring-rest, 0); transition: opacity 260ms var(--ease-x); }
[data-ring]:hover::after, [data-ring]:focus-within::after { opacity: 0.9; }
[data-ring=halo]::before { content: ''; position: absolute; inset: -20px; z-index: -1; border-radius: 26px; pointer-events: none;
  background: radial-gradient(60% 60% at var(--glow-x) var(--glow-y), rgba(30,0,255,0.45), transparent 70%), var(--ring); filter: blur(40px); opacity: 0; transition: opacity 420ms var(--ease-x); }
[data-ring=halo]:hover::before, [data-ring=halo]:focus-within::before { opacity: 0; }
.demo[data-ring]::after { inset: 0; border-radius: var(--r); }

/* ── Sections ─────────────────────────────────────────────────────────── */
.sec { padding: clamp(104px, 11vw, 150px) 0 0; }
.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr); gap: 48px; align-items: end; margin-bottom: 40px; }
.sec-head .h2 { margin-top: 14px; }
.sec-head.center { grid-template-columns: 1fr; justify-items: center; text-align: center; }
.sec-head.center .p-lg { margin: 0 auto; }
@media (max-width: 900px) { .sec-head { grid-template-columns: 1fr; gap: 16px; } }

.demo { position: relative; border-radius: var(--r); border: 1px solid rgba(255,255,255,0.08); overflow: hidden;
  background: radial-gradient(ellipse 70% 55% at 50% 0%, var(--tint, rgba(82,54,255,0.1)), transparent 70%), var(--panel-bg);
  box-shadow: 0 40px 100px -30px rgba(0,0,0,0.55), inset 0 1px 0 rgba(255,255,255,0.05); }
.demo-top { display: flex; align-items: center; gap: 10px; min-height: 46px; padding: 8px 14px; border-bottom: 1px solid var(--hair2); font-size: 13px; color: var(--t3); }
.demo-top .spacer { flex: 1; }
.demo-top .live { display: inline-flex; align-items: center; gap: 6px; font: 11.5px var(--font-mono); color: var(--oway-green-hi); }
.demo-top .sim { font-size: 12px; color: var(--t3); }
.pause { font-size: 12.5px; color: var(--t3); padding: 0 8px; height: 28px; border-radius: var(--r); }
.pause:hover { color: var(--t1); background: var(--surface); }
@keyframes blink { 50% { opacity: 0.35; } }
.seg2 { display: inline-flex; padding: 3px; gap: 2px; border-radius: 8px; background: rgba(255,255,255,0.04); border: 1px solid var(--hair2); }
.seg2 button { height: 32px; padding: 0 14px; border-radius: 6px; font: 500 13px var(--font); color: var(--t3); white-space: nowrap; }
.seg2 button[aria-selected=true] { background: var(--surface-active); color: var(--t1); }

/* Instant Quote */
.qintro { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.qcard { position: relative; padding: 24px 26px 20px; border: 1px solid rgba(246,92,14,0.55) !important; background: color-mix(in srgb, #131315 84%, transparent) !important; box-shadow: inset 0 1px 0 rgba(255,255,255,0.07) !important; }
.qcard::before { content: ''; position: absolute; top: -1px; left: 28px; width: 30px; height: 2px; background: var(--oway-orange); }
.qhead { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.qhead h3 { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; display: flex; align-items: center; gap: 10px; white-space: nowrap; }

.qrow { display: grid; grid-template-columns: minmax(0, 1fr) 28px minmax(0, 1fr) 96px 136px auto; gap: 10px; align-items: end; }
.qrow > *, .qrow .input { min-width: 0; }
.qrow .field { gap: 6px; }
.qrow .label { font-size: 12.5px; color: var(--t3); }
.qrow .input { height: 44px; font-size: 15px; }
.qrow .qq-swap { width: 28px; height: 28px; margin-bottom: 8px; }
.qrow .getquote { height: 44px; padding: 0 18px; font-size: 14.5px; }
.qfoot { display: flex; align-items: center; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.qfoot .spacer { flex: 1; }
.qcard .accgrid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 14px; }
.qcard .acctile { align-items: flex-start; padding: 10px 12px; }
.qcard .acctile-n, .qcard .acctile-f { display: block; }
.qcard .acctile-f { font-size: 12px; color: var(--t4); margin-top: 2px; }
.qcard .qq-result { margin-top: 16px; }
.qcard .qq-price { font-size: 36px; }
.qcard .qq-countdown { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; font-family: var(--font); font-size: 12.5px; }
.qnote { font-size: 12.5px; color: var(--t4); margin-top: 12px; }
.input.invalid { border-color: var(--risk) !important; }
@media (max-width: 980px) { .qrow { grid-template-columns: 1fr 1fr; } .qrow .qq-swap { display: none; } .qrow .getquote { grid-column: 1 / -1; } .qcard .accgrid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .qcard { padding: 20px 16px 16px; } .qhead { flex-wrap: wrap; } }

/* IOI network */
.ioi-svg { display: block; width: 100%; height: auto; }
.n-box { fill: #101114; stroke: rgba(255,255,255,0.1); }
.n-t { fill: #f2f3f5; font: 600 14px var(--font); }
.n-s { fill: #7d828b; font: 400 11.5px var(--font); }
.n-wire { fill: none; stroke: rgba(255,255,255,0.06); stroke-width: 1.2; }
.n-neon { fill: none; stroke-width: 1.6; stroke-linecap: round; filter: url(#glow); }
.n-act { font: 500 11px var(--font-mono); }

/* IOI Search sample answers */
.ans { padding: 20px 24px 24px; }
.ans-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.ask { display: flex; align-items: center; gap: 12px; height: 50px; padding: 0 8px 0 16px; border-radius: var(--r); border: 1px solid rgba(255,255,255,0.1); background: rgba(255,255,255,0.03); font-size: 15.5px; color: var(--t1); }
.ask .caret { display: inline-block; width: 1px; height: 18px; background: currentColor; margin-left: 1px; vertical-align: -3px; }
.ask.done .caret { display: none; }
.ask .send { margin-left: auto; width: 34px; height: 34px; border-radius: var(--r); background: var(--oway-indigo); display: grid; place-items: center; color: #fff; }
.ask .send svg { width: 14px; height: 14px; }
.ans-body { margin-top: 18px; display: grid; gap: 16px; }
.ans-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.tag { font: 500 11px var(--font-mono); letter-spacing: 0.03em; padding: 4px 8px; border-radius: 5px; border: 1px solid var(--hair); color: var(--t3); }
.tag.o { color: var(--oway-orange-hi); border-color: rgba(246,92,14,0.3); }
.tag.g { color: var(--oway-green-hi); border-color: rgba(32,162,113,0.3); }
.ans-steps { display: block; font-size: 13px; color: var(--t3); padding: 10px 14px; border-radius: var(--r); border: 1px solid var(--hair2); background: rgba(255,255,255,0.02); }
.ans-steps b { color: var(--t1); font-weight: 600; }
.ans-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.ans-left { display: grid; gap: 16px; }
.ans-p { font-size: 15.5px; line-height: 1.7; color: var(--t2); }
.ans-p em { font-style: normal; color: var(--t1); font-weight: 600; border-bottom: 1px dashed rgba(246,92,14,0.55); }
.kpis { display: grid; grid-template-columns: repeat(2, 1fr); border: 1px solid var(--hair); border-radius: var(--r); overflow: hidden; }
.kpi { padding: 13px 15px; display: grid; gap: 4px; border-top: 1px solid var(--hair2); }
.kpi:nth-child(-n+2) { border-top: 0; } .kpi:nth-child(even) { border-left: 1px solid var(--hair2); }
.kpi:last-child:nth-child(odd) { grid-column: 1 / -1; }
.kpi span { font-size: 12px; color: var(--t4); }
.kpi b { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.kpi small { font-size: 12px; color: var(--t4); }
.kpi.risk b { color: var(--oway-red-hi); } .kpi.ok b { color: var(--oway-green-hi); }
.viz { border: 1px solid var(--hair); border-radius: var(--r); overflow: hidden; background: rgba(0,0,0,0.25); }
.viz-h { display: flex; justify-content: space-between; gap: 12px; padding: 11px 14px; border-bottom: 1px solid var(--hair2); font-size: 13px; font-weight: 600; }
.viz-h span { font-weight: 400; font-size: 12px; color: var(--t4); }
.viz svg { display: block; width: 100%; height: auto; }
.bars { padding: 10px 14px 14px; display: grid; gap: 11px; }
.bar { display: grid; grid-template-columns: minmax(0, 1fr) 54px; gap: 4px 12px; align-items: center; font-size: 13px; }
.bar b { font-weight: 500; color: var(--t2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bar i { grid-column: 1; height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--c), color-mix(in srgb, var(--c) 40%, transparent)); box-shadow: 0 0 10px color-mix(in srgb, var(--c) 50%, transparent); width: 0; transition: width 1.2s var(--ease-x); }
.bar small { grid-column: 2; grid-row: 1 / span 2; text-align: right; font: 500 12px var(--font-mono); }
.up { color: var(--oway-green-hi); } .dn { color: var(--oway-red-hi); }
.ans-stage { opacity: 0; transform: translateY(8px); transition: opacity 700ms var(--ease-x), transform 700ms var(--ease-x); }
.ans-stage.on { opacity: 1; transform: none; }
@media (max-width: 860px) { .ans-split { grid-template-columns: 1fr; } .ans { padding: 16px; } }

/* Juno route */
.jgrid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(260px, 0.8fr); }
.jmap { border-right: 1px solid var(--hair2); }
.jmap svg { display: block; width: 100%; height: auto; }
.jlog { padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.jlog-h { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; }
.jlog-h .orb { width: 20px; height: 20px; }
.jstep { position: relative; padding-left: 20px; font-size: 14px; line-height: 1.5; color: var(--t3); opacity: 0.3; transition: opacity 500ms, color 500ms; }
.jstep::before { content: ''; position: absolute; left: 2px; top: 7px; width: 7px; height: 7px; border-radius: 50%; background: var(--t4); transition: background-color 500ms; }
.jstep.on { opacity: 1; color: var(--t2); }
.jstep.on::before { background: var(--oway-orange-hi); }
.jstep.ok::before { background: var(--oway-green-hi); }
.jsteps { display: grid; gap: 12px; }
.jkpis { margin-top: auto; display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--hair); border-radius: var(--r); }
.jkpis > div { padding: 12px 14px; display: grid; gap: 2px; }
.jkpis > div + div { border-left: 1px solid var(--hair2); }
.jkpis b { font-size: 19px; font-weight: 600; font-variant-numeric: tabular-nums; }
.jkpis span { font-size: 12px; color: var(--t4); }
@media (max-width: 900px) { .jgrid { grid-template-columns: 1fr; } .jmap { border-right: 0; border-bottom: 1px solid var(--hair2); } }
.pv-deck { fill: none; stroke: var(--pv); stroke-width: 1.2; filter: drop-shadow(0 0 3px var(--pv)); }
.pv-edge { fill: none; stroke: var(--pv); stroke-width: 1.1; filter: drop-shadow(0 0 2px var(--pv)); }
.pv-top { fill: none; stroke: var(--pv); stroke-width: 1.2; filter: drop-shadow(0 0 4px var(--pv)); }

/* Developers */
.dev { --h1: #5236FF; --h2: #E97550; }
.dev[data-hue="api"] { --h1: #5236FF; --h2: #7636D6; }
.dev[data-hue="mcp"] { --h1: #7636D6; --h2: #4CD6E0; }
.dev-tabs { display: flex; justify-content: center; margin: 0 auto 24px; width: max-content; max-width: 100%; }
.dev-win { position: relative; max-width: 1040px; margin: 0 auto; border-radius: 9px; padding: 1px; background: linear-gradient(120deg, color-mix(in srgb, var(--h1) 70%, transparent), rgba(255,255,255,0.08) 35%, rgba(255,255,255,0.06) 65%, color-mix(in srgb, var(--h2) 70%, transparent));
  box-shadow: 0 30px 90px -30px color-mix(in srgb, var(--h1) 55%, transparent); transition: box-shadow 600ms; }
.dev-in { border-radius: 8px; background: #0b0c0f; overflow: hidden; }
.dev-bar { display: flex; align-items: center; gap: 12px; height: 40px; padding: 0 14px; border-bottom: 1px solid var(--hair2); font-size: 12.5px; color: var(--t4); }
.dev-bar .dots { display: flex; gap: 6px; } .dev-bar .dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.12); }
.dev-panes { display: grid; grid-template-columns: 1fr 1fr; }
.dev-pane { padding: 18px 20px 22px; min-width: 0; }
.dev-pane + .dev-pane { border-left: 1px solid var(--hair2); background: rgba(255,255,255,0.012); }
.dev-pane .dvh { font-size: 12.5px; font-weight: 500; color: var(--t4); margin-bottom: 12px; display: flex; gap: 8px; align-items: center; }
.dev-pane .dvh i { width: 6px; height: 6px; border-radius: 50%; background: var(--h1); }
.dev-pane + .dev-pane .dvh i { background: var(--h2); }
.dev-pane pre { margin: 0; font: 12.8px/1.75 var(--font-mono); color: #c9cbd1; white-space: pre; overflow-x: auto; min-height: 280px; }
.c-k { color: #A99BFF; } .c-s { color: #FFB07A; } .c-n { color: #79ECC0; } .c-c { color: #5d626b; } .c-f { color: #F06BBE; } .c-p { color: #8CF0F5; } .c-m { color: #F2C14E; }
.msg-me { display: block; white-space: normal; font: 14.5px/1.6 var(--font); color: #e7e8ea; padding: 12px 14px; border-radius: 10px 10px 3px 10px; background: rgba(30,0,255,0.22); border: 1px solid rgba(82,54,255,0.45); margin-top: 6px; }
.dev-foot { display: flex; justify-content: center; gap: 10px; margin-top: 26px; flex-wrap: wrap; }
@media (max-width: 860px) { .dev-panes { grid-template-columns: 1fr; } .dev-pane + .dev-pane { border-left: 0; border-top: 1px solid var(--hair2); } .dev-pane pre { min-height: 0; } }

/* Research tiles */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tile { display: grid; gap: 14px; color: var(--t1); }
.tile-img { position: relative; aspect-ratio: 4 / 3.2; border-radius: var(--r); overflow: hidden; background: linear-gradient(160deg, #19172b, #0d0e11); border: 1px solid var(--hair2); }
.tile-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-x); }
.tile:hover .tile-img img { transform: scale(1.04); }
.tile-img[data-ring]::after { inset: 0; border-radius: var(--r); }
.tile:hover .tile-img[data-ring]::after { opacity: 0.9; }
.tile-cap { display: grid; gap: 6px; }
.tile-cap small { font-size: 12.5px; color: var(--t4); font-weight: 500; }
@media (max-width: 860px) { .tiles { grid-template-columns: 1fr; } }

/* Investors */
.inv { display: grid; grid-template-columns: repeat(4, 1fr); overflow: hidden; }
.inv a { height: 104px; display: grid; place-items: center; padding: 20px; border-right: 1px solid var(--hair2); border-bottom: 1px solid var(--hair2); }
.inv a:nth-child(4n) { border-right: 0; } .inv a:nth-last-child(-n+4) { border-bottom: 0; }
.inv img { max-height: 30px; max-width: 140px; width: auto; opacity: 0.62; transition: opacity 300ms; }
.inv a:hover img { opacity: 1; }
@media (max-width: 760px) { .inv { grid-template-columns: 1fr 1fr; } }

/* CTA + footer */
.cta { text-align: center; padding: clamp(110px, 12vw, 160px) 0 clamp(90px, 10vw, 130px); }
.cta .chips { height: 50px; margin-bottom: 24px; }
.cta .p-lg { margin: 16px auto 0; }
.cta .hero-cta { justify-content: center; }
.fx { border-top: 1px solid var(--hair); padding: 56px 0 36px; }
.fx-grid { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 32px; }
.fx h4 { font-size: 13px; font-weight: 600; color: var(--t1); margin-bottom: 14px; }
.fx ul { display: grid; gap: 10px; }
.fx a, .fx li, .fx address { font-size: 13.5px; color: var(--t3); font-style: normal; line-height: 1.6; }
.fx a:hover { color: var(--t1); }
.fx-sub { display: flex; gap: 8px; margin-top: 16px; max-width: 340px; }
.fx-sub .input { height: 34px; }
.fx-base { margin-top: 48px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12.5px; color: var(--t4); }
[data-form-card] .done { display: none; } [data-form-card].is-done .done { display: block; } .is-done form { display: none !important; }
@media (max-width: 900px) { .fx-grid { grid-template-columns: 1fr 1fr; } .fx-grid > div:first-child { grid-column: 1 / -1; } }

/* Review-only hour scrubber */
.sky-review { position: fixed; right: 20px; bottom: 20px; z-index: 120; display: flex; align-items: center; gap: 4px; padding: 4px; border-radius: 8px; background: rgba(20,20,23,0.85); border: 1px solid rgba(255,255,255,0.1); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); color: #fff; }
.sky-review button { height: 28px; min-width: 28px; padding: 0 8px; border-radius: 6px; color: rgba(255,255,255,0.75); font: 500 13px var(--font); }
.sky-review button:hover { background: rgba(255,255,255,0.08); color: #fff; }
.sky-review span { font-size: 12.5px; color: rgba(255,255,255,0.6); min-width: 170px; text-align: center; }
.sky-review b { color: #fff; font-weight: 500; margin-left: 6px; }

@media (prefers-reduced-motion: reduce) { .ans-stage, .tile-img img, .bar i { transition: none; } .b::after { display: none; } }

/* Availability, adoption path */
.avail { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; padding: 12px 18px; border-top: 1px solid var(--hair2); font-size: 13px; color: var(--t3); }
.avail .chip { text-transform: uppercase; }
.steps3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 20px; counter-reset: s; }
.step3 { padding: 22px; border-radius: var(--r); border: 1px solid var(--hair); background: var(--glass); counter-increment: s; display: grid; gap: 8px; align-content: start; }
.step3::before { content: counter(s); font: 500 12px var(--font-mono); color: #FF8A4C; }
@media (max-width: 860px) { .steps3 { grid-template-columns: 1fr; } }
.qhelp { font-size: 13px; color: var(--t3); margin: -6px 0 16px; max-width: 72ch; }
.chips-float { animation: chipfloat 6s ease-in-out infinite; }
@keyframes chipfloat { 50% { transform: translateY(-1.5px); } }
@media (prefers-reduced-motion: reduce) { .chips-float { animation: none; } }

/* ── Lab ─────────────────────────────────────────────────────────────── */
.hero { position: relative; }
.hero-grid-bg { position: absolute; inset: -64px 0 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 48px 48px; mask-image: radial-gradient(ellipse 70% 60% at 30% 30%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 60% at 30% 30%, #000 20%, transparent 75%); }
.kick { font-size: 14px; color: var(--t3); font-weight: 500; margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.kick::before { content: ''; width: 18px; height: 1px; background: #FF8A4C; }
.figcap { margin-top: 14px; font-size: 13.5px; line-height: 1.6; color: var(--t3); max-width: 80ch; }
.figcap b { color: var(--t1); font-weight: 600; }
.paper { display: grid; gap: 12px; padding: 30px 32px; border-radius: var(--r); border: 1px solid rgba(246,92,14,0.55); background: color-mix(in srgb, #131315 84%, transparent); box-shadow: inset 0 1px 0 rgba(255,255,255,0.07); position: relative; transition: border-color 200ms; }
.paper::before { content: ''; position: absolute; top: -1px; left: 32px; width: 30px; height: 2px; background: var(--oway-orange); }
.paper:hover { border-color: var(--oway-orange); }
.paper-meta { display: flex; gap: 14px; align-items: center; font-size: 13px; color: var(--t3); }
.paper-t { font-size: clamp(24px, 2.4vw, 32px); font-weight: 600; letter-spacing: -0.025em; line-height: 1.15; }
.paper-a { font-size: 16px; line-height: 1.7; color: var(--t2); max-width: 78ch; }
.paper .lnk { display: inline-flex; gap: 8px; align-items: center; margin-top: 4px; }
.areas { margin-top: 28px; border: 1px solid var(--hair); border-radius: var(--r); overflow: hidden; background: var(--glass); }
.areas-h, .area { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.6fr) 170px; gap: 24px; align-items: center; padding: 16px 22px; }
.areas-h { font-size: 12.5px; color: var(--t4); border-bottom: 1px solid var(--hair); padding-top: 12px; padding-bottom: 12px; }
.area + .area { border-top: 1px solid var(--hair2); }
.area b { font-size: 15.5px; font-weight: 600; }
.area p { font-size: 15px; color: var(--t3); line-height: 1.55; }
.area .chip { justify-self: start; }
@media (max-width: 860px) { .areas-h { display: none; } .area { grid-template-columns: 1fr; gap: 8px; } }
.pubs { margin-top: 28px; border-top: 1px solid var(--hair); }
.pubs-h { font-size: 13px; color: var(--t4); padding: 14px 0 6px; }
.pub { display: grid; grid-template-columns: 130px minmax(0, 1fr) auto; gap: 20px; align-items: center; padding: 18px 4px; border-bottom: 1px solid var(--hair2); transition: background-color 160ms; }
.pub:hover { background: var(--surface); }
.pub-k { font-size: 13px; color: var(--t3); }
.pub b { font-size: 16.5px; font-weight: 600; letter-spacing: -0.01em; }
.pub-go { color: var(--t3); } .pub:hover .pub-go { color: #A9B4FF; }
.pub-loc { font-size: 13px; color: var(--t3); text-align: right; }
@media (max-width: 700px) { .pub { grid-template-columns: 1fr; gap: 4px; } .pub-loc { text-align: left; } }
#lab .hero-cta { margin-top: 24px; }

/* ══ Round 9: app colours, white text, liquid glass, no decorative gradients ══ */
:root:root { --t1: #ffffff; --t2: #ffffff; --t3: #ffffff; --t4: rgba(255,255,255,0.78); --link: #8A78FF; }
a.lnk, .lnk { color: var(--link); font-weight: 600; } a.lnk:hover { color: #fff; }
.p-lg { color: #fff; } .p { color: #fff; } .p-lg b { color: #fff; }
.lbl { color: #fff; } .lbl .no { color: var(--oway-orange-hi); }
.nv-links > a, .nv-trig { color: #fff; }

/* Liquid glass: clear, with whatever sits behind it warped and softened.
   Chromium renders the warp; other browsers fall back to the blur. */
.lgw { background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.10); border-radius: var(--r);
  -webkit-backdrop-filter: blur(5px) saturate(170%); backdrop-filter: blur(5px) saturate(170%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.16), inset 0 -1px 0 rgba(255,255,255,0.04), inset 0 0 0 1px rgba(255,255,255,0.02), 0 12px 32px rgba(0,0,0,0.22); }
.lg-warp .lgw { backdrop-filter: url(#lg-warp) blur(3px) saturate(170%); }
.glass { background: rgba(255,255,255,0.02); -webkit-backdrop-filter: blur(5px) saturate(170%); backdrop-filter: blur(5px) saturate(170%); box-shadow: inset 0 1px 0 rgba(255,255,255,0.16), 0 12px 32px rgba(0,0,0,0.22); border: 1px solid rgba(255,255,255,0.10); }
.lg-warp .glass { backdrop-filter: url(#lg-warp) blur(3px) saturate(170%); }
.nv.is-solid { background: rgba(10,10,11,0.35); -webkit-backdrop-filter: blur(6px) saturate(170%); backdrop-filter: blur(6px) saturate(170%); box-shadow: inset 0 -1px 0 rgba(255,255,255,0.08); }
.lg-warp .nv.is-solid { backdrop-filter: url(#lg-warp) blur(4px) saturate(170%); }
.dd { background: rgba(14,14,17,0.55) !important; -webkit-backdrop-filter: blur(10px) saturate(170%) !important; backdrop-filter: blur(10px) saturate(170%) !important; box-shadow: inset 0 1px 0 rgba(255,255,255,0.16), 0 24px 60px rgba(0,0,0,0.45) !important; border: 1px solid rgba(255,255,255,0.10) !important; }
.lg-warp .dd { backdrop-filter: url(#lg-warp) blur(8px) saturate(170%) !important; }

/* Gradients off: rings, tints, glows, grid */
[data-ring]::after, [data-ring]::before, .hero-grid-bg, .cta-glow, .frame-glow, .kick::before { display: none !important; }
.demo { background: #0c0d10 !important; border: 1px solid var(--line) !important; box-shadow: 0 30px 80px -30px rgba(0,0,0,0.6) !important; }
.dev-win { background: none; padding: 0; box-shadow: none; border-radius: var(--r); }
.dev-in { border: 1px solid var(--line); border-radius: var(--r); background: #0c0d10; }
.dev-pane .dvh i { background: var(--oway-indigo-hi) !important; } .dev-pane + .dev-pane .dvh i { background: var(--oway-orange) !important; }

/* Dropdown items: fixed layout so icons stay put */
.dd a { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; align-items: center; }
.dd .dd-ic { display: grid; place-items: center; margin: 0; width: 34px; height: 34px; font-size: 0; line-height: 0; }
.dd .dd-ic .icon { width: 16px; height: 16px; display: block; margin: 0; }
.dd .dd-tx { display: block; margin: 0; min-width: 0; }
.dd .dd-t { display: block; font-size: 14px; font-weight: 600; color: #fff; }
.dd .dd-d { display: block; font-size: 12.5px; color: rgba(255,255,255,0.78); margin-top: 2px; line-height: 1.4; }

/* Hero lockup: the mark beside Click. Distribute. */
.lockup { display: flex; align-items: center; gap: clamp(14px, 1.6vw, 22px); }
.lockup .chips { height: clamp(58px, 6.4vw, 84px); }
.lockup .h1 { max-width: none; }
.hero-sub { margin-top: 22px; }
.hero .hero-cta { margin-top: 28px; }
.ship { margin-top: clamp(40px, 5vw, 56px); }

/* IOI section, narrow */
.ioi-narrow { max-width: 880px; margin: 0 auto; }
.ioi-narrow .demo-top { min-height: 40px; }

/* IOI Search preview: a fixed-height window of the real app */
.ioi-win.ioiapp { height: 660px !important; min-height: 0 !important; width: 100%; display: flex !important; flex-direction: column; overflow: hidden !important; position: relative; border-radius: var(--r); }
.ioi-win .main { flex: 1 1 auto; min-height: 0; position: relative; }
.ioi-win .scroll { overflow-y: auto; }
.enterprise .demo { padding: 0; }
@media (max-width: 760px) { .ioi-win.ioiapp { height: 600px !important; } }
.ans-ctl { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.ans-ctl .sim { font-size: 12.5px; color: rgba(255,255,255,0.78); }
.step3 { background: rgba(255,255,255,0.02); }
.inv.lgw { overflow: hidden; }
.cta .h2 { max-width: 22ch; margin: 0 auto; }
.paper { background: rgba(19,19,21,0.84); }
.dd { background: rgba(14,14,17,0.72) !important; }
.ioi-win.ioiapp { height: 720px !important; }

/* Round 10: the app's Instant Quote card on the website */
.qq { max-width: 1180px; }
.qq-sub { font-size: 13px; color: #fff; opacity: 0.86; }
.qq-dims { display: grid; grid-template-columns: repeat(3, minmax(0, 120px)) 1fr; gap: 10px; align-items: end; margin-top: 12px; }
.qq-dims .qnote { margin: 0 0 8px; }
.qq-loading { display: flex; align-items: center; gap: 10px; font-size: 13px; color: #fff; }
.qq .btn.getquote[disabled] { opacity: 0.6; }
.hero-tag { margin-top: 18px; font-size: clamp(18px, 1.7vw, 22px); font-weight: 600; letter-spacing: -0.015em; color: #fff; }
.hero .hero-sub { margin-top: 16px; }
.who { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 20px; }
.who-c { padding: 24px; display: grid; gap: 10px; align-content: start; }
@media (max-width: 860px) { .who { grid-template-columns: 1fr; } .qq-dims { grid-template-columns: repeat(3, 1fr); } .qq-dims .qnote { grid-column: 1 / -1; } }
.qq .acctile-n, .qq .acctile-f { display: block; }
.qq .acctile-f { margin-top: 2px; }

/* ══ v2: one pattern everywhere. Centered head, one framed window, a row of
   buttons. App background, Oway orange for borders, links and highlights. ══ */
:root:root { --or: #F65C0E; --or-hi: #FF8A4C; --or-line: rgba(246,92,14,0.45); --or-soft: rgba(246,92,14,0.10); --link: #FF8A4C; }
body { background: var(--bg-canvas); background-attachment: fixed; }
a.lnk, .lnk, .prose a, .crumb a, .form-foot a, .fx a:hover { color: var(--or-hi); }
.lbl { color: var(--or-hi) !important; font-weight: 600; }
.lbl::after { display: none; }

.sec { padding: clamp(88px, 10vw, 136px) 0 0; }
.sec.tight { padding-top: 48px; }
.phead { display: grid; gap: 14px; margin-bottom: 36px; }
.phead.c { justify-items: center; text-align: center; }
.phead.c .p-lg { margin: 0 auto; max-width: 62ch; }
.phead .h2, .phead .h1 { margin: 0; }
.ctas { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 28px; }
.ctas.c { justify-content: center; }

.hero.c { text-align: center; padding-top: clamp(72px, 9vw, 120px); }
.hero.c .lockup { justify-content: center; }
.hero.c .p-lg { margin-left: auto; margin-right: auto; }
.hero.sub { padding-top: clamp(64px, 8vw, 104px); }
.hero.sub .phead { margin-bottom: 0; }
.hero-quote { margin-top: clamp(40px, 5vw, 56px); text-align: left; }
.hero-tag { margin-top: 18px; }

/* The framed window: the app's accent card, orange edge and top bar */
.win { position: relative; max-width: 1040px; margin: 0 auto; border-radius: var(--r); border: 1px solid var(--or-line); background: color-mix(in srgb, #131315 86%, transparent); box-shadow: inset 0 1px 0 rgba(255,255,255,0.07), 0 30px 80px -30px rgba(0,0,0,0.6); overflow: hidden; }
.win::before { content: ''; position: absolute; top: -1px; left: 24px; width: 30px; height: 2px; background: var(--or); z-index: 2; }
.win.narrow { max-width: 880px; margin-top: 20px; }
.win-bar { display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 16px; border-bottom: 1px solid var(--line); font-size: 13px; font-weight: 600; color: #fff; }
.win-dot { width: 8px; height: 8px; border-radius: 2px; background: var(--or); }
.win-sub { font-size: 12.5px; font-weight: 500; color: #fff; opacity: 0.8; }
.win-body { position: relative; }
.win .jgrid { border: 0; }

/* Simple cards */
.tiles3 { display: grid; gap: 16px; max-width: 1040px; margin: 0 auto; }
.tiles3.n2 { grid-template-columns: repeat(2, 1fr); } .tiles3.n3 { grid-template-columns: repeat(3, 1fr); } .tiles3.n4 { grid-template-columns: repeat(4, 1fr); }
.tile3 { position: relative; padding: 22px; border-radius: var(--r); border: 1px solid var(--line); background: rgba(255,255,255,0.02); display: grid; gap: 8px; align-content: start; transition: border-color 200ms; }
.tile3:hover { border-color: var(--or-line); }
.tile3-k { font: 600 12px var(--font); color: var(--or-hi); }
.tile3 .p { color: #fff; opacity: 0.86; }
.tiles3 + .win { margin-top: 20px; }
@media (max-width: 900px) { .tiles3.n3, .tiles3.n4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .tiles3.n2, .tiles3.n3, .tiles3.n4 { grid-template-columns: 1fr; } }

/* Partials Index table */
.idx { overflow-x: auto; }
.idx table { width: 100%; border-collapse: collapse; font-size: 14px; }
.idx th { text-align: left; font-size: 12px; font-weight: 600; color: #fff; opacity: 0.8; padding: 12px 18px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.idx td { padding: 14px 18px; border-bottom: 1px solid var(--line-faint); color: #fff; white-space: nowrap; }
.idx tr:last-child td { border-bottom: 0; }
.idx tr:hover td { background: var(--or-soft); }
.idx .r { text-align: right; }
.idx .arr { color: var(--or-hi); margin: 0 4px; }
.idx .mi { margin-left: 10px; font-size: 12px; opacity: 0.7; }
.idx .up { color: var(--risk); } .idx .dn { color: var(--ok); }

/* Carrier offers */
.offers { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: 18px; }
.offer { padding: 18px; border-radius: var(--r); border: 1px solid var(--line); background: var(--bg-elevated); display: grid; gap: 12px; }
.offer.on { border-color: var(--or-line); box-shadow: inset 0 0 0 1px var(--or-soft); }
.offer-h { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.offer-id { font-size: 11.5px; color: #fff; opacity: 0.7; }
.offer-lane { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.offer-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 12.5px; color: #fff; opacity: 0.86; }
.offer-meta b { font-weight: 600; opacity: 1; }
.offer-f { display: flex; align-items: center; gap: 8px; padding-top: 12px; border-top: 1px solid var(--line-faint); }
.offer-pay { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; color: var(--ok); }
@media (max-width: 760px) { .offers { grid-template-columns: 1fr; } }

/* IOI Search window, static */
.win .ioi-win.ioiapp, [data-neon=answer] .ioi-win.ioiapp { height: 600px !important; border-radius: var(--r); border: 1px solid var(--or-line); max-width: 1040px; margin: 0 auto; }
[data-neon=answer] { max-width: 1040px; margin: 0 auto; }
.ans-ctl.c { justify-content: center; margin-bottom: 18px; }
.seg2 { flex-wrap: wrap; justify-content: center; }
.seg2 button[aria-selected=true] { background: var(--or-soft) !important; color: var(--or-hi) !important; box-shadow: inset 0 0 0 1px rgba(246,92,14,0.25); }

/* Backers */
.backers-t { text-align: center; font-size: 13px; font-weight: 600; color: #fff; opacity: 0.8; margin-bottom: 22px; }
.backers { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 28px 44px; max-width: 1040px; margin: 0 auto; }
.backers img { height: 26px; width: auto; opacity: 0.7; transition: opacity 200ms; }
.backers a:hover img { opacity: 1; }

/* Prose, FAQ, lists */
.prose { max-width: 70ch; color: #fff; }
.prose.c { margin: 0 auto; }
.prose p { font-size: 17px; line-height: 1.7; margin: 0 0 16px; }
.prose h2 { font-size: 22px; font-weight: 600; letter-spacing: -0.015em; margin: 40px 0 14px; }
.prose ul { padding-left: 18px; display: grid; gap: 8px; margin: 0 0 16px; font-size: 15.5px; line-height: 1.6; }
.prose li::marker { color: var(--or-hi); }
.faq { max-width: 760px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 4px; font-size: 16px; font-weight: 600; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--or-hi); font-weight: 500; }
.faq details[open] summary::after { content: '\2212'; }
.faq p { padding: 0 4px 18px; font-size: 15px; line-height: 1.65; color: #fff; opacity: 0.86; margin: 0; }
.pubs { max-width: 1040px; margin: 0 auto; }
.pubs.c { max-width: 760px; }
.pub:hover { background: var(--or-soft); }
.pub:hover .pub-go { color: var(--or-hi); }
.filters { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 18px; }
.filters.c { justify-content: center; }
.filter { height: 32px; padding: 0 14px; border-radius: var(--r); border: 1px solid var(--line); font-size: 13.5px; font-weight: 500; color: #fff; }
.filter[aria-pressed=true] { border-color: var(--or-line); background: var(--or-soft); color: var(--or-hi); }

/* Forms and role pages */
.applyx { padding: 28px; margin-top: 40px; }
.applyx.narrow { max-width: 760px; margin: 0 auto; }
.applyx form { display: grid; gap: 14px; margin-top: 16px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fld { display: grid; gap: 6px; font-size: 13px; font-weight: 500; color: #fff; }
.fld em { font-style: normal; opacity: 0.7; margin-left: 6px; font-weight: 400; }
.fld .input { height: 40px; font-size: 14px; }
.fld textarea.input { height: auto; padding: 10px 12px; line-height: 1.5; resize: vertical; }
.fld.bad .input { border-color: var(--risk); }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 4px; }
.form-error { color: var(--risk); font-size: 13px; min-height: 1em; margin: 0; }
[data-form-card] .done { display: none; } [data-form-card].is-done .done { display: block; } [data-form-card].is-done form { display: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.crumb { font-size: 13px; margin-bottom: 14px; }
.jt { max-width: 22ch; font-size: clamp(36px, 4.4vw, 56px); }
.hero.sub:not(.c) .p-lg { margin-top: 16px; }
.jobx { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; align-items: start; }
.jobx-aside { position: sticky; top: 88px; padding: 22px; display: grid; gap: 16px; }
.facts { display: grid; gap: 12px; margin: 0; }
.facts dt { font-size: 12px; font-weight: 600; color: var(--or-hi); }
.facts dd { margin: 2px 0 0; font-size: 14px; color: #fff; }
.jobx .tiles3 { margin: 0 0 16px; }
@media (max-width: 900px) { .jobx { grid-template-columns: 1fr; } .jobx-aside { position: static; order: -1; } .form-grid { grid-template-columns: 1fr; } }

/* Dropdown accents in orange */
.dd .dd-ic { background: var(--or-soft) !important; border-color: rgba(246,92,14,0.35) !important; color: var(--or-hi) !important; }
.cta .h2 { margin: 0 auto; }
@media (max-width:560px){.qq-sub{display:none}}

/* Buttons stay flat: solid fills, hairline borders, no highlights */
.btn, .btn.web { box-shadow: none !important; background-image: none !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
.btn.web { border-radius: 8px; }
.btn:active:not(:disabled) { transform: none; }

/* ══ v3 ══ */
/* Left-aligned section heads: label and headline left, summary right */
.phead.l { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: end; gap: 24px 64px; max-width: 1040px; margin-left: auto; margin-right: auto; }
.phead.l .p-lg { margin: 0; max-width: 52ch; }
.phead.l > div { display: grid; gap: 14px; }
.hero.sub .phead.l { max-width: none; margin: 0; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
.ctas:not(.c) { max-width: 1040px; margin-left: auto; margin-right: auto; }
.hero .ctas:not(.c) { max-width: none; }
@media (max-width: 860px) { .phead.l, .hero.sub .phead.l { grid-template-columns: 1fr; gap: 14px; } }

/* Looped previews */
.loop { position: relative; height: clamp(320px, 42vw, 480px); overflow: hidden; }
.loop-c { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: var(--loop-fade, 1); transition: opacity 0.2s linear; }
.ltag { position: absolute; left: 0; top: 0; z-index: 2; padding: 9px 11px; border-radius: 8px; background: rgba(19,19,21,0.9); border: 1px solid var(--or-line); font-size: 11.5px; white-space: nowrap; pointer-events: none; opacity: 0; }
.ltag-id { display: flex; align-items: center; gap: 7px; font-weight: 700; font-size: 12.5px; }
.ltag-id i { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); }
.ltag dl { display: grid; grid-template-columns: auto auto; gap: 2px 12px; margin: 6px 0 0; font-family: var(--font-mono, 'JetBrains Mono', monospace); font-size: 10.5px; color: rgba(255,255,255,0.72); }
.ltag dd { margin: 0; color: #fff; text-align: right; }
.ljuno { position: absolute; right: 16px; bottom: 16px; z-index: 2; width: min(300px, calc(100% - 32px)); padding: 12px 14px; border-radius: 8px; background: rgba(19,19,21,0.88); border: 1px solid var(--line); }
.lj-row { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; font-size: 12.5px; border-top: 1px solid var(--line-faint); opacity: 0.28; transition: opacity 0.3s; }
.lj-row:first-child { border-top: 0; }
.lj-row.on { opacity: 1; }
.lj-row span { color: rgba(255,255,255,0.72); } .lj-row b { font-weight: 600; font-family: var(--font-mono, 'JetBrains Mono', monospace); font-size: 12px; }
.lj-row.big b { font-family: var(--font); font-size: 16px; color: var(--ok); }
.lj-row.ok b { color: var(--ok); }
.lleg { position: absolute; left: 16px; bottom: 14px; z-index: 2; display: flex; gap: 16px; font-size: 12px; color: rgba(255,255,255,0.8); }
.lleg i { display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 6px; vertical-align: 1px; }
.lleg .n { background: var(--or); } .lleg .v { background: #BFB4FF; } .lleg .l { width: 14px; height: 2px; border-radius: 2px; background: rgba(246,92,14,0.6); }
@media (max-width: 620px) { .ljuno { left: 12px; right: 12px; bottom: 12px; width: auto; padding: 8px 10px; } .lj-row { padding: 4px 0; font-size: 11.5px; } .ltag { display: none; } }

/* Investor tiles: real size, liquid glass */
.inv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; max-width: 1040px; margin: 0 auto; }
.inv-t { display: grid; place-items: center; height: clamp(96px, 11vw, 132px); border-radius: var(--r); border: 1px solid var(--line); background: rgba(255,255,255,0.02);
  -webkit-backdrop-filter: blur(5px) saturate(170%); backdrop-filter: blur(5px) saturate(170%); transition: border-color 0.2s, background-color 0.2s; }
.lg-warp .inv-t { backdrop-filter: url(#lg-warp) blur(3px) saturate(170%); }
.inv-t:hover { border-color: var(--or-line); background: var(--or-soft); }
.inv-t img { max-width: 62%; max-height: 44px; width: auto; height: auto; object-fit: contain; opacity: 0.88; }
@media (max-width: 760px) { .inv-grid { grid-template-columns: repeat(2, 1fr); } }

/* Stats band */
.stats4 { display: grid; grid-template-columns: repeat(4, 1fr); max-width: 1040px; margin: 0 auto; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats4 > div { padding: 28px 24px 26px 0; display: grid; gap: 8px; }
.stats4 > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.stats4 b { font-size: clamp(28px, 3vw, 38px); font-weight: 600; letter-spacing: -0.03em; }
.stats4 span { font-size: 14px; line-height: 1.45; color: #fff; opacity: 0.8; }
@media (max-width: 760px) { .stats4 { grid-template-columns: 1fr 1fr; } .stats4 > div:nth-child(3) { padding-left: 0; border-left: 0; } .stats4 > div:nth-child(n+3) { border-top: 1px solid var(--line); } }

/* ══ Mobile menu, modeled on Harvey's ══ */
.nv-burger { position: relative; }
.nv-burger span { position: absolute; left: 9px; width: 16px; height: 1.5px; border-radius: 2px; background: #fff; transition: transform 0.35s var(--ease-out, cubic-bezier(.16,1,.3,1)), top 0.35s var(--ease-out, cubic-bezier(.16,1,.3,1)); }
.nv-burger span:nth-child(1) { top: 13px; } .nv-burger span:nth-child(2) { top: 19px; }
.mm-open .nv-burger span:nth-child(1) { top: 16px; transform: rotate(45deg); } .mm-open .nv-burger span:nth-child(2) { top: 16px; transform: rotate(-45deg); }
.mm { position: fixed; inset: 0; z-index: 88; background: var(--bg, #0a0a0b); padding: calc(var(--nav-h, 64px) + 20px + env(safe-area-inset-top, 0px)) 24px 140px; overflow-y: auto; overscroll-behavior: contain;
  visibility: hidden; opacity: 0; transition: opacity 0.28s ease, visibility 0s linear 0.4s;
  -webkit-mask-image: linear-gradient(180deg, #000 82%, transparent); mask-image: linear-gradient(180deg, #000 82%, transparent); }
.mm-open .mm { visibility: visible; opacity: 1; transition: opacity 0.28s ease; }
.mm-open body { overflow: hidden; }
.mm-open main, .mm-open .fx { opacity: 0; transition: opacity 0.25s ease; }
main, .fx { transition: opacity 0.35s ease 0.1s; }
.mm-row { opacity: 0; transform: translateY(10px); transition: opacity 0.45s cubic-bezier(.16,1,.3,1), transform 0.55s cubic-bezier(.16,1,.3,1); }
.mm-open .mm-row { opacity: 1; transform: none; }
.mm-h { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 6px 0; font-size: 30px; font-weight: 600; letter-spacing: -0.025em; color: #fff; text-align: left; }
.mm-h svg { width: 16px; height: 16px; opacity: 0.7; transition: transform 0.35s cubic-bezier(.16,1,.3,1); }
.mm-sec.on .mm-h svg { transform: rotate(180deg); color: var(--or-hi); opacity: 1; }
.mm-sub { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.45s cubic-bezier(.16,1,.3,1); }
.mm-sec.on .mm-sub { grid-template-rows: 1fr; }
.mm-sub > div { overflow: hidden; }
.mm-item { display: block; padding: 10px 0; opacity: 0; transform: translateY(6px); transition: opacity 0.35s cubic-bezier(.16,1,.3,1), transform 0.45s cubic-bezier(.16,1,.3,1); }
.mm-sec.on .mm-item { opacity: 1; transform: none; }
.mm-item b { display: block; font-size: 15px; font-weight: 600; color: #fff; }
.mm-item span { display: block; margin-top: 3px; font-size: 13.5px; line-height: 1.45; color: rgba(255,255,255,0.7); }
.mm.has-open .mm-sec:not(.on) { opacity: 0.35; }
.mm-dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 89; display: none; gap: 10px; padding: 14px 20px calc(16px + env(safe-area-inset-bottom, 0px)); background: linear-gradient(180deg, transparent, var(--bg, #0a0a0b) 32%); opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0s linear 0.3s; }
.mm-dock .btn { flex: 1; height: 46px; }
.mm-open .mm-dock { opacity: 1; visibility: visible; transition: opacity 0.3s ease 0.2s; }
@media (min-width: 961px) { .mm, .mm-dock { display: none !important; } }
@media (max-width: 960px) { .mm-dock { display: flex; } }
@media (max-width: 960px) { .nv-r .btn { display: none; } }

/* ══ v4 ══ */
/* 7px corners everywhere, matching the apps' boxes */
:root:root { --r: 7px; }
.btn, .btn.web, .btn.getquote, .card, .win, .tile3, .inv-t, .idx, .offer, .faq, .seg2, .seg2 button, .input, .qq, .ioi-win, .dev-in, .stats4, .ltag, .ljuno, .filter, .pub, .applyx { border-radius: 7px !important; }
/* Header laid out like Harvey's: logo and menus on the left, two actions on the right */
.nv-in { gap: 34px; }
.nv-links { gap: 4px; margin-left: 0; }
.nv-r { margin-left: auto; gap: 8px; }
.nv-demo { background: transparent !important; border-color: var(--line-strong, rgba(255,255,255,0.16)) !important; color: #fff !important; }
.nv-demo:hover { border-color: var(--or-line) !important; color: var(--or-hi) !important; }
.nv-login { background: var(--oway-indigo, #1E00FF) !important; padding: 0 16px !important; }
.nv-login:hover { background: var(--oway-indigo-hi, #5236FF) !important; }
@media (max-width: 960px) { .nv-r .btn { display: none; } }

/* Hero: copy on the left, the app below on a sky panel */
.hx { padding-top: clamp(72px, 9vw, 120px); }
.hx-copy { max-width: 760px; }
.hx-copy .lbl { margin-bottom: 18px; }
.hx-copy .h1 { font-size: clamp(42px, 5.6vw, 76px); letter-spacing: -0.035em; line-height: 1.02; }
.hx-copy .p-lg { margin-top: 22px; max-width: 62ch; }
.hx-stage { margin-top: clamp(44px, 6vw, 72px); }
/* The sky panel: the login page's evening sky, colour first, behind every app screen */
.stage-sky { position: relative; border-radius: 10px; padding: clamp(18px, 3.4vw, 48px) clamp(18px, 3.4vw, 48px) 0; overflow: hidden;
  background: radial-gradient(120% 90% at 18% 0%, rgba(255,138,76,0.55), transparent 55%), radial-gradient(110% 90% at 95% 10%, rgba(118,54,214,0.6), transparent 60%),
              radial-gradient(90% 80% at 55% 110%, rgba(30,0,255,0.55), transparent 65%), linear-gradient(180deg, #1a1030, #0e0b1c);
  border: 1px solid rgba(246,92,14,0.35); }
.stage-sky img { display: block; width: 100%; height: auto; border-radius: 8px 8px 0 0; box-shadow: 0 -1px 0 rgba(255,255,255,0.12), 0 30px 80px rgba(0,0,0,0.55); }

/* Customer logos */
.cust-t-h { font-size: 13px; font-weight: 600; color: #fff; opacity: 0.8; max-width: 1040px; margin: 0 auto 18px; }
.cust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; max-width: 1040px; margin: 0 auto; border: 1px solid var(--line); border-radius: 7px; overflow: hidden; }
.cust-t { display: grid; place-items: center; height: clamp(84px, 9vw, 112px); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cust-t:nth-child(3n) { border-right: 0; } .cust-t:nth-last-child(-n+3) { border-bottom: 0; }
.cust-t img { max-width: 52%; max-height: 38px; object-fit: contain; opacity: 0.85; }
@media (max-width: 620px) { .cust-grid { grid-template-columns: repeat(2, 1fr); } .cust-t:nth-child(3n) { border-right: 1px solid var(--line); } .cust-t:nth-child(2n) { border-right: 0; } .cust-t:nth-last-child(-n+3) { border-bottom: 1px solid var(--line); } .cust-t:nth-last-child(-n+1) { border-bottom: 0; } }

/* Product switcher, after Harvey's */
.sw { display: grid; grid-template-columns: minmax(240px, 0.36fr) minmax(0, 1fr); gap: 28px; align-items: start; max-width: 1200px; margin: 0 auto; }
.sw-list { display: grid; border-top: 1px solid var(--line); }
.sw-i { position: relative; display: grid; gap: 0; padding: 16px 2px; border-bottom: 1px solid var(--line); cursor: pointer; text-align: left; outline: none; }
.sw-t { font-size: 18px; font-weight: 600; letter-spacing: -0.015em; color: #fff; opacity: 0.55; transition: opacity 0.25s; }
.sw-i:hover .sw-t, .sw-i:focus-visible .sw-t, .sw-i.on .sw-t { opacity: 1; }
.sw-d, .sw-more { display: none; }
.sw-i.on .sw-d { display: block; margin-top: 8px; font-size: 14.5px; line-height: 1.55; color: #fff; opacity: 0.82; }
.sw-i.on .sw-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 13.5px; font-weight: 600; color: var(--or-hi); }
.sw-bar { position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; overflow: hidden; }
.sw-bar i { display: block; height: 100%; width: 0; background: var(--or); }
.sw-stage { aspect-ratio: 16 / 11; }
.sw-f { position: absolute; left: clamp(18px, 3.4vw, 48px); right: clamp(18px, 3.4vw, 48px); top: clamp(18px, 3.4vw, 48px); opacity: 0; transform: translateY(10px) scale(0.99); transition: opacity 0.6s cubic-bezier(.16,1,.3,1), transform 0.8s cubic-bezier(.16,1,.3,1); }
.sw-f.on { opacity: 1; transform: none; }
@media (max-width: 900px) { .sw { grid-template-columns: 1fr; } .sw-stage { order: -1; } }

/* Developer window writes itself in */
.dev pre .ln { display: block; opacity: 0; transform: translateY(3px); transition: opacity 0.35s ease, transform 0.35s ease; }
.dev pre .ln.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .dev pre .ln { opacity: 1; transform: none; } }
.dev-note { text-align: center; margin-top: 16px; font-size: 14px; color: #fff; opacity: 0.85; }
.dev-note a { color: var(--or-hi); }
.dev-tabs { justify-content: center; }
/* Juno render overlays */
.loop.tall { height: clamp(380px, 52vw, 600px); }
.lsteps { position: absolute; left: 16px; bottom: 16px; z-index: 2; width: min(380px, calc(100% - 360px)); min-height: 52px; }
.lstep { position: absolute; left: 0; bottom: 0; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 7px; background: rgba(13,12,20,0.82); border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-size: 14px; line-height: 1.4; color: #fff; opacity: 0; transform: translateY(8px); transition: opacity 0.7s cubic-bezier(.16,1,.3,1), transform 0.9s cubic-bezier(.16,1,.3,1); }
.lstep.on { opacity: 1; transform: none; }
.lstep b { flex: none; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--or-soft); border: 1px solid var(--or-line); color: var(--or-hi); font-size: 12px; }
.lj-h { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; padding-bottom: 8px; }
.lj-h i { width: 14px; height: 14px; border-radius: 50%; background: conic-gradient(#F65C0E, #7636D6, #5236FF, #F65C0E); -webkit-mask: radial-gradient(circle, transparent 4px, #000 4.5px); mask: radial-gradient(circle, transparent 4px, #000 4.5px); }
.ljuno { -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); background: rgba(13,12,20,0.82); }
.lj-row { transition: opacity 0.8s ease; }
@media (max-width: 760px) { .lsteps { width: auto; right: 12px; left: 12px; bottom: auto; top: 12px; } .lstep { bottom: auto; top: 0; font-size: 13px; } }

/* ══ v5 ══ */
/* Header menus: full-width panel, two link columns and a featured card */
.nv { position: sticky; }
.nv-link { display: inline-flex; align-items: center; height: 34px; padding: 0 12px; border-radius: 7px; font-size: 14.5px; color: #fff; }
.nv-link:hover { background: var(--surface); }
.mg-trig[aria-expanded=true] { color: var(--or-hi); background: var(--or-soft); }
.mg-trig svg { transition: transform 0.3s cubic-bezier(.16,1,.3,1); }
.mg-trig[aria-expanded=true] svg { transform: rotate(180deg); }
.mg { position: absolute; left: 0; right: 0; top: 100%; z-index: 95; pointer-events: none; }
.mg.open { pointer-events: auto; }
.mg-box { height: 0; overflow: hidden; background: rgba(12,11,16,0.94); -webkit-backdrop-filter: blur(18px) saturate(170%); backdrop-filter: blur(18px) saturate(170%);
  border-bottom: 1px solid transparent; transition: height 0.42s cubic-bezier(.16,1,.3,1), border-color 0.3s; }
.lg-warp .mg-box { backdrop-filter: url(#lg-warp) blur(14px) saturate(170%); }
.mg.open .mg-box { border-bottom-color: var(--line); box-shadow: 0 30px 60px rgba(0,0,0,0.35); }
.mg-wrap { position: relative; }
.mg-p { position: absolute; left: 0; right: 0; top: 0; display: grid; grid-template-columns: 1fr 1fr minmax(260px, 340px); gap: 40px; padding: 30px 0 34px; opacity: 0; transform: translateY(-6px); visibility: hidden;
  transition: opacity 0.25s ease, transform 0.4s cubic-bezier(.16,1,.3,1), visibility 0s 0.25s; }
.mg-p.on { position: relative; opacity: 1; transform: none; visibility: visible; transition: opacity 0.3s ease 0.05s, transform 0.45s cubic-bezier(.16,1,.3,1), visibility 0s; }
.mg-lbl { font-size: 12px; font-weight: 600; color: var(--or-hi); margin: 0 0 10px; }
.mg-col { display: grid; align-content: start; gap: 2px; }
.mg-i { display: grid; gap: 4px; padding: 10px 12px; margin: 0 -12px; border-radius: 7px; transition: background-color 0.2s; }
.mg-i:hover, .mg-i:focus-visible { background: rgba(255,255,255,0.04); outline: none; }
.mg-t { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; color: #fff; }
.mg-arr { width: 14px; height: 14px; opacity: 0; transform: translateX(-6px); transition: opacity 0.2s, transform 0.3s cubic-bezier(.16,1,.3,1); color: var(--or-hi); }
.mg-i:hover .mg-arr, .mg-i:focus-visible .mg-arr { opacity: 1; transform: none; }
.mg-d { font-size: 13.5px; line-height: 1.45; color: rgba(255,255,255,0.72); }
.mg-feat { display: grid; gap: 6px; align-content: start; }
.mg-feat img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 7px; border: 1px solid var(--line); margin-bottom: 8px; transition: transform 0.6s cubic-bezier(.16,1,.3,1); }
.mg-feat:hover img { transform: scale(1.015); }
.mg-fk { font-size: 12px; font-weight: 600; color: var(--or-hi); }
.mg-ft { font-size: 16px; font-weight: 600; color: #fff; letter-spacing: -0.01em; }
.mg-fd { font-size: 13.5px; line-height: 1.45; color: rgba(255,255,255,0.72); }
.mg-scrim { position: fixed; inset: var(--nav-h, 64px) 0 0 0; z-index: 80; background: rgba(5,5,8,0.45); opacity: 0; pointer-events: none; transition: opacity 0.3s ease; }
.mg-scrim.on { opacity: 1; pointer-events: auto; }
@media (max-width: 960px) { .mg, .mg-scrim, .nv-link { display: none !important; } }
.nv .dd { display: none !important; }

/* Logo walls sized by eye */
.inv-grid.g3 { grid-template-columns: repeat(3, 1fr); }
.inv-t img, .cust-t img { max-height: none; max-width: 70%; width: auto; object-fit: contain; }
.cust-t img { opacity: 0.9; }

/* Paintings */
.art { display: block; width: 100%; height: 100%; object-fit: cover; }
.banner { max-width: 1040px; margin: 0 auto; height: clamp(260px, 34vw, 440px); border-radius: 7px; overflow: hidden; border: 1px solid var(--line); }
.banner-img { object-position: 50% 60%; }
.pcta { padding: clamp(88px, 10vw, 136px) 0 clamp(72px, 8vw, 112px); }
.pcta-in { position: relative; max-width: 1040px; margin: 0 auto; min-height: clamp(340px, 36vw, 460px); border-radius: 7px; overflow: hidden; border: 1px solid rgba(246,92,14,0.35); display: grid; align-items: end; }
.pcta-img { position: absolute; inset: 0; }
.pcta-in::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,8,14,0.88) 0%, rgba(8,8,14,0.55) 46%, rgba(8,8,14,0.05) 100%); }
.pcta-copy { position: relative; z-index: 1; padding: clamp(28px, 4vw, 48px); max-width: 560px; }
.pcta-copy .p-lg { margin-top: 12px; }
.pcta-copy .ctas { margin: 22px 0 0; }
@media (max-width: 760px) { .pcta-in::after { background: linear-gradient(0deg, rgba(8,8,14,0.92) 10%, rgba(8,8,14,0.25) 100%); } }

/* About */
.prose.two { columns: 2; column-gap: 48px; max-width: 1040px; margin: 0 auto; }
.prose.two p { break-inside: avoid; }
@media (max-width: 760px) { .prose.two { columns: 1; } }
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; max-width: 1040px; margin: 0 auto; }
.tm { display: grid; gap: 4px; padding: 18px; border-radius: 7px; border: 1px solid var(--line); background: rgba(255,255,255,0.02); }
.tm img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 7px; margin-bottom: 12px; }
.tm-av { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; margin-bottom: 14px; font-size: 18px; font-weight: 600; letter-spacing: 0.02em; color: var(--or-hi); background: var(--or-soft); border: 1px solid var(--or-line); }
.tm-av.plus { font-size: 24px; font-weight: 400; }
.tm b { font-size: 16px; font-weight: 600; color: #fff; }
.tm > span:last-child { font-size: 14px; color: rgba(255,255,255,0.75); }
.tm-join:hover { border-color: var(--or-line); background: var(--or-soft); }
@media (max-width: 760px) { .team { grid-template-columns: 1fr 1fr; } }
.ofcs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 1040px; margin: 0 auto; }
.ofc { position: relative; height: clamp(260px, 28vw, 360px); border-radius: 7px; overflow: hidden; border: 1px solid var(--line); }
.ofc::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8,8,14,0.9) 8%, rgba(8,8,14,0) 60%); }
.ofc-c { position: absolute; left: 20px; bottom: 18px; z-index: 1; display: grid; gap: 6px; }
.ofc-c b { font-size: 18px; font-weight: 600; } .ofc-c span { font-size: 14px; line-height: 1.5; color: rgba(255,255,255,0.82); }
@media (max-width: 760px) { .ofcs { grid-template-columns: 1fr; } }
/* Keep every block on the same 1040px column */
.hero.sub .phead.l { max-width: 1040px; margin-left: auto; margin-right: auto; }
.hero.sub .ctas:not(.c) { max-width: 1040px; margin-left: auto; margin-right: auto; }
.sec .prose:not(.c):not(.two) { max-width: 1040px; margin-left: auto; margin-right: auto; }
.sec .prose:not(.c):not(.two) p { max-width: 70ch; }
.hero.sub .hero-quote { max-width: 1040px; margin-left: auto; margin-right: auto; }
.pcta-img { object-position: 50% 72%; }
.ofc .art { object-position: 50% 62%; }
