/* Carousel Home — v4 (tenant-screening-locked) design language */
:root {
  --bg: #FAF9F5; --paper-deep: #F1EDE4;
  --ink: #1a1714; --ink-soft: #2c2823;
  --muted: #575046; --muted-2: #6e675c;
  --faint: #f2f0ec; --faint-2: #f7f5f1; --line: #e8e4dd;
  --black: #100e0c; --green: #1F8A5B; --green-bg: #e5f2ea; --amber: #9a6b1f;
  --serif: "Newsreader", Georgia, serif;
  --sans: "Hanken Grotesk", system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --sv-gap: clamp(110px, 10vw, 168px);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: clip; max-width: 100%; }
body { font-family: var(--sans); color: var(--ink); background: var(--bg); overflow-x: clip; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
::selection { background: #EBD8C3; color: var(--ink); }
a { color: var(--ink); }
a:not([class]):hover { color: var(--amber); }
a:focus-visible, button:focus-visible, input:focus-visible, [tabindex]:focus-visible { outline: 2.5px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.topstrip { height: 6px; background: var(--paper-deep); }
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 48px; }

/* ---------- nav ---------- */
body>header { position: sticky; top: 0; z-index: 50; background: rgba(250, 249, 245, 0.85); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .25s ease; }
body>header.scrolled { border-bottom-color: var(--line); }
header nav { display: flex; align-items: center; gap: 14px; height: 82px; }
.brand { display: flex; align-items: center; font-weight: 600; font-size: 21px; letter-spacing: -0.01em; color: var(--ink); text-decoration: none; flex-shrink: 0; }
.brand .mark { display: flex; align-items: center; flex-shrink: 0; }
.brand .mark img { height: 32px; width: auto; max-width: none; display: block; margin-right: -11px; }
.menu { display: flex; align-items: center; gap: 4px; flex: 1; }
.menu-item { position: relative; }
.menu-item > button { font-family: var(--sans); font-size: 14.5px; font-weight: 500; color: var(--ink-soft); background: none; border: 0; cursor: pointer; padding: 9px 11px; border-radius: 8px; display: flex; align-items: center; gap: 5px; white-space: nowrap; transition: background .18s ease, color .18s ease; }
.menu-item > button:hover { background: var(--faint); color: var(--ink); }
.menu-item > button .chev { width: 9px; height: 9px; transition: transform .2s ease; opacity: .55; }
.menu-item:hover > button .chev { transform: rotate(180deg); }
.dropdown { position: absolute; top: calc(100% + 10px); left: 0; min-width: 245px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 8px; box-shadow: 0 18px 50px -16px rgba(40, 32, 20, .22), 0 4px 12px -6px rgba(40, 32, 20, .12); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .18s ease, transform .18s ease, visibility .18s; }
.menu-item:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a { display: block; padding: 10px 13px; border-radius: 9px; text-decoration: none; color: var(--ink-soft); font-size: 14.5px; font-weight: 500; transition: background .15s ease; }
.dropdown a span { display: block; font-size: 13px; font-weight: 400; color: var(--muted); margin-top: 2px; }
.dropdown a:hover { background: var(--faint-2); }
.nav-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

/* ---------- buttons: quiet v4 hovers ---------- */
.btn { font-family: var(--sans); font-weight: 600; font-size: 14px; border-radius: 999px; padding: 11px 18px; cursor: pointer; border: 1px solid transparent; transition: background .18s ease, border-color .18s ease, transform .12s ease; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 8px; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-dark { background: var(--black); color: #fff; }
.btn-dark:hover { background: #3a352e; }
.btn-ghost { background: #EFECE3; color: var(--ink); border-color: transparent; }
.btn-ghost:hover { background: #E7E3D8; }
.btn-lg { font-size: 15.5px; padding: 14px 26px; }

/* ---------- section anatomy ---------- */
.sv { padding-top: var(--sv-gap); padding-bottom: var(--sv-gap); position: relative; }
.sv-glyph { display: block; width: fit-content; margin: 0 auto 22px; color: var(--ink); }
.sec-h2 { font-family: var(--serif); font-weight: 440; font-size: clamp(38px, 4.6vw, 62px); line-height: 1.06; letter-spacing: -0.018em; color: var(--ink); text-wrap: balance; max-width: 700px; }
.sec-h2.center { margin-left: auto; margin-right: auto; text-align: center; max-width: 800px; }
.sec-h2 em, .week-h em, h1 em { font-style: italic; font-weight: 400; }
.sec-sub { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.6; color: var(--muted); max-width: 560px; margin-top: 18px; text-wrap: pretty; }
.sec-sub.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-sub.left { max-width: 620px; }

/* ---------- hero ---------- */
.sv-hero { padding-top: clamp(48px, 5vw, 84px); padding-bottom: 0; }
.badge { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: 0.09em; text-transform: uppercase; color: var(--muted); background: var(--faint-2); border: 1px solid var(--line); border-radius: 999px; padding: 6px 13px; white-space: nowrap; }
.badge .dot { width: 6px; height: 6px; border-radius: 50%; background: #2E2A24; }
h1 { font-family: var(--serif); font-weight: 420; font-size: clamp(52px, 6vw, 104px); line-height: 1.0; letter-spacing: -0.025em; color: var(--ink); margin: 26px 0 0; max-width: 15ch; text-wrap: balance; }
.lede { margin-top: 26px; font-size: clamp(18px, 1.7vw, 22px); line-height: 1.58; color: var(--muted); max-width: 48ch; text-wrap: pretty; }
.email-form { margin-top: 34px; display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 7px 7px 7px 8px; width: min(460px, 100%); box-shadow: 0 1px 2px rgba(40, 32, 20, .04); transition: border-color .2s ease, box-shadow .2s ease; }
.email-form:focus-within { border-color: #cfc8bd; box-shadow: 0 0 0 4px rgba(180, 150, 90, .10); }
.email-form input { flex: 1; border: 0; outline: 0; font-family: var(--sans); font-size: 15.5px; color: var(--ink); background: none; padding: 10px 12px; min-width: 0; }
.email-form input::placeholder { color: var(--muted-2); }
.form-note { font-size: 13.5px; color: var(--green); margin-top: 12px; height: 17px; font-weight: 500; }
.hero-points { display: flex; gap: 8px 26px; flex-wrap: wrap; margin-top: 10px; max-width: 700px; }
.hero-points span { display: inline-flex; align-items: center; gap: 7px; font-size: 14.5px; font-weight: 500; color: var(--muted); }
.hero-points svg { color: var(--green); flex-shrink: 0; }
.hero-visual { margin-top: clamp(48px, 5vw, 80px); }
.hero-img { display: block; width: 100%; height: auto; border-radius: 18px; }

/* ---------- ticker ---------- */
.ticker-section { padding: clamp(28px, 3vw, 44px) 0; }
.ticker-wrap { position: relative; padding: 18px 0; overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ticker-head { position: absolute; top: 0; bottom: 0; left: 0; z-index: 3; display: flex; align-items: center; gap: 9px; padding: 0 22px 0 2px; background: var(--bg); font-size: 11px; font-weight: 700; letter-spacing: 0.09em; color: var(--ink); white-space: nowrap; }
.ticker-head::after { content: ""; position: absolute; top: 0; bottom: 0; right: -40px; width: 40px; background: linear-gradient(to right, var(--bg), rgba(250, 249, 245, 0)); pointer-events: none; }
.ticker-head .spinner { width: 12px; height: 12px; border-radius: 50%; border: 1.5px solid var(--ink); border-top-color: transparent; animation: spin 1.1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.ticker-track { overflow: hidden; -webkit-mask-image: linear-gradient(to right, transparent 0, #000 6%, #000 94%, transparent 100%); mask-image: linear-gradient(to right, transparent 0, #000 6%, #000 94%, transparent 100%); }
.ticker-marquee { display: flex; align-items: center; width: max-content; animation: marquee 60s linear infinite; }
.ticker-wrap:hover .ticker-marquee { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.ticker-set { display: flex; align-items: center; flex-shrink: 0; }
.stat { display: flex; align-items: center; gap: 9px; flex-shrink: 0; padding: 0 28px; }
.stat .label { font-size: 10.5px; font-weight: 600; letter-spacing: 0.085em; color: var(--muted); white-space: nowrap; }
.stat .val { font-family: var(--mono); font-size: 12.5px; font-weight: 500; color: var(--ink); background: var(--faint); border-radius: 5px; padding: 3px 7px; font-variant-numeric: tabular-nums; }

/* ---------- teams ---------- */
.sv-teams { text-align: center; }
.sv-teams .sec-h2, .sv-teams .sec-sub { margin-left: auto; margin-right: auto; text-align: center; }
.logo-marquee { margin-top: 48px; overflow: hidden; -webkit-mask-image: linear-gradient(to right, transparent 0, #000 7%, #000 93%, transparent 100%); mask-image: linear-gradient(to right, transparent 0, #000 7%, #000 93%, transparent 100%); }
.logo-track { display: flex; align-items: center; gap: 18px; width: max-content; animation: logoscroll 38s linear infinite; }
.logo-marquee:hover .logo-track { animation-play-state: paused; }
@keyframes logoscroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.logo { display: flex; align-items: center; justify-content: center; gap: 10px; flex-shrink: 0; min-width: 178px; height: 78px; padding: 0 26px; border: 1px solid var(--line); border-radius: 16px; background: #FDFCF8; font-weight: 700; font-size: 20px; letter-spacing: -0.02em; color: #8a8174; transition: color .2s ease, border-color .2s ease; }
.logo svg { flex-shrink: 0; }
.logo:hover { color: var(--ink); border-color: #dcd6cc; }

/* ---------- how it works: 3 badge-card steps ---------- */
.sv-how { background: #F6F3EC; }
.sv-how .sec-h2 { margin-bottom: clamp(48px, 5vw, 80px); }
.how-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 1.8vw, 22px); }
.how-step { background: #FDFCF8; border: 1px solid var(--line); border-radius: 18px; padding: clamp(24px, 2.4vw, 34px) clamp(22px, 2.2vw, 30px); display: flex; flex-direction: column; align-items: flex-start; transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease; }
.how-step:hover { border-color: #d8d3ca; box-shadow: 0 18px 40px -26px rgba(45, 30, 15, .35); transform: translateY(-3px); }
.step-badge { font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: 0.09em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 4px 11px; background: var(--faint-2); margin-bottom: 20px; }
.how-step h3 { font-family: var(--serif); font-weight: 470; font-size: clamp(23px, 2vw, 28px); line-height: 1.18; letter-spacing: -0.008em; color: var(--ink); margin: 0 0 10px; text-wrap: balance; }
.how-step p { font-size: 15.5px; line-height: 1.6; color: var(--muted); margin: 0; text-wrap: pretty; }
.step-mock { margin-top: auto; padding-top: 26px; width: 100%; }
.sm-flow { display: flex; align-items: center; gap: 0; }
.sm-slot { display: flex; align-items: center; gap: 7px; flex: 1; min-width: 0; height: 44px; padding: 0 10px; border-radius: 11px; background: var(--faint-2); box-shadow: inset 0 0 0 1px rgba(20, 17, 13, 0.06); font-size: 12.5px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.sm-slot.filled { background: #fff; box-shadow: 0 4px 12px -7px rgba(40, 30, 15, .2), inset 0 0 0 1px rgba(20, 17, 13, .08); }
.sm-tile { width: 24px; height: 24px; flex-shrink: 0; border-radius: 7px; display: grid; place-items: center; color: #fff; font-style: normal; font-weight: 700; font-size: 11px; }
.sm-ph { width: 24px; height: 24px; border-radius: 7px; background: rgba(20, 17, 13, 0.07); }
.sm-link { width: 16px; height: 2px; flex-shrink: 0; background: rgba(20, 17, 13, 0.18); border-radius: 2px; }
.sm-linkpill { display: flex; align-items: center; gap: 9px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 12px; font-family: var(--mono); font-size: 12.5px; color: var(--ink-soft); overflow: hidden; white-space: nowrap; }
.sm-linkpill svg { color: var(--muted); flex-shrink: 0; }
.sm-copy { margin-left: auto; font-family: var(--sans); font-size: 11.5px; font-weight: 700; background: var(--black); color: #fff; border-radius: 999px; padding: 5px 12px; flex-shrink: 0; }
.sm-report { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.sm-av { width: 32px; height: 32px; border-radius: 50%; background: var(--paper-deep); color: var(--ink); font-size: 11.5px; font-weight: 700; display: grid; place-items: center; flex-shrink: 0; }
.sm-who { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.sm-who b { font-size: 13.5px; letter-spacing: -0.005em; }
.sm-who small { font-size: 11.5px; color: var(--muted); }
.sm-ok { margin-left: auto; width: 26px; height: 26px; border-radius: 50%; background: var(--green-bg); color: var(--green); display: grid; place-items: center; flex-shrink: 0; }

/* ---------- integrations (drag-and-drop demo) ---------- */
.integrate-grid { display: grid; grid-template-columns: 0.86fr 1.14fr; gap: clamp(32px, 4vw, 64px); align-items: center; }
.integrate-copy .badge { margin-bottom: 22px; }
.integrate-copy p { margin-top: 22px; font-size: 17px; line-height: 1.6; color: var(--muted); text-wrap: pretty; }
.integrate-copy .btn { margin-top: 30px; }
.int-card { position: relative; overflow: hidden; border-radius: 26px; background: #efece5; min-height: 624px; display: flex; flex-direction: column; justify-content: center; padding: 30px; box-shadow: inset 0 0 0 1px rgba(20, 17, 13, 0.05); }
@keyframes intScrollL { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.int-flow { display: flex; align-items: center; gap: 16px; width: max-content; will-change: transform; }
.int-pill { display: flex; align-items: center; gap: 11px; flex-shrink: 0; background: #fff; border-radius: 13px; padding: 10px 17px 10px 10px; box-shadow: 0 2px 6px -3px rgba(40, 30, 15, 0.16), inset 0 0 0 1px rgba(20, 17, 13, 0.05); }
.int-tile { width: 32px; height: 32px; flex-shrink: 0; border-radius: 9px; display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 12.5px; letter-spacing: -0.02em; }
.int-name { font-weight: 600; font-size: 14.5px; letter-spacing: -0.01em; color: #1a1714; white-space: nowrap; }
.seq-stage { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 22px; width: 100%; }
.seq-board { background: #fff; border-radius: 20px; box-shadow: 0 22px 44px -26px rgba(40, 30, 15, 0.34), inset 0 0 0 1px rgba(20, 17, 13, 0.05); overflow: hidden; }
.seq-chrome { display: flex; align-items: center; gap: 7px; padding: 14px 18px 4px; background: #fff; }
.seq-chrome .tl { width: 11px; height: 11px; border-radius: 50%; }
.seq-chrome .tl.r { background: #f0625a; }
.seq-chrome .tl.y { background: #f5bd4f; }
.seq-chrome .tl.g { background: #61c554; }
.seq-board-head { display: flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 600; letter-spacing: -0.015em; color: #1a1714; margin-bottom: 18px; white-space: nowrap; }
.seq-board-head .seq-ico { display: inline-flex; }
.seq-board-body { padding: 14px 22px 22px; }
.seq-flow { position: relative; display: flex; align-items: center; padding-top: 20px; margin-top: 20px; border-top: 1px solid rgba(20, 17, 13, 0.07); }
.seq-slot { position: relative; flex: 1; min-width: 0; height: 52px; display: flex; align-items: center; gap: 9px; padding: 0 11px; border-radius: 13px; background: #f7f5f0; box-shadow: inset 0 0 0 1px rgba(20, 17, 13, 0.05); transition: background .4s ease, box-shadow .4s ease, transform .4s cubic-bezier(.22, 1, .36, 1); }
.seq-slot.target { background: #f1ede5; box-shadow: inset 0 0 0 1.5px rgba(20, 17, 13, 0.16); }
.seq-slot.filled { background: #fff; box-shadow: 0 5px 14px -8px rgba(40, 30, 15, 0.2), inset 0 0 0 1px rgba(20, 17, 13, 0.08); }
.seq-slot.pop { transform: translateY(-4px) scale(1.025); }
.seq-slot .num { position: absolute; top: -8px; left: -8px; width: 19px; height: 19px; border-radius: 50%; background: #c7c0b2; color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; box-shadow: 0 0 0 3px #fff; transition: background .4s ease; }
.seq-slot.filled .num { background: #6f675c; }
.seq-slot .ph { width: 26px; height: 26px; flex-shrink: 0; border-radius: 8px; background: rgba(20, 17, 13, 0.06); }
.seq-slot .seq-inner { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; opacity: 0; transition: opacity .3s ease; }
.seq-slot.filled .ph { display: none; }
.seq-slot.filled .seq-inner { opacity: 1; }
.seq-slot .int-tile { width: 28px; height: 28px; font-size: 11px; }
.seq-slot .int-name { font-size: 13px; overflow: hidden; text-overflow: ellipsis; }
.seq-link { width: 20px; height: 2px; flex-shrink: 0; position: relative; background: rgba(20, 17, 13, 0.16); border-radius: 2px; transform: scaleX(0); transform-origin: left; transition: transform .4s ease; }
.seq-link.on { transform: scaleX(1); }
.seq-link .pulse { position: absolute; top: 50%; left: 0; width: 6px; height: 6px; border-radius: 50%; background: #6f675c; transform: translate(-50%, -50%); opacity: 0; }
.seq-link.on .pulse { animation: seqPulse 1.7s linear infinite; }
@keyframes seqPulse { 0% { left: 0; opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { left: 100%; opacity: 0; } }
.seq-preview { display: flex; align-items: center; gap: 26px; transition: opacity .2s ease, transform .2s ease; }
.seq-preview.swap { opacity: 0; transform: translateY(5px); }
.seq-pv-visual { width: 172px; height: 124px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: #f7f5f0; border-radius: 16px; box-shadow: inset 0 0 0 1px rgba(20, 17, 13, 0.05); }
.seq-pv-visual > * { transform: scale(1.34); }
.seq-pv-text { min-width: 0; }
.seq-pv-kicker { font-size: 12px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: rgba(20, 17, 13, 0.4); margin-bottom: 7px; }
.seq-pv-label { font-size: 21px; font-weight: 700; letter-spacing: -0.015em; color: #1a1714; }
.seq-pv-desc { font-size: 15.5px; line-height: 1.45; color: rgba(20, 17, 13, 0.56); margin-top: 6px; }
.pv-bio { position: relative; width: 64px; height: 64px; border-radius: 13px; background: #fff; display: grid; place-items: center; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(20, 17, 13, 0.08); }
.pv-bio .scan { position: absolute; left: 9px; right: 9px; height: 2px; background: #2A6FDB; box-shadow: 0 0 8px #2A6FDB; animation: pvScan 1.8s ease-in-out infinite; }
@keyframes pvScan { 0%, 100% { top: 18%; } 50% { top: 78%; } }
.pv-bankwrap { width: 96px; }
.pv-bankrow { display: flex; align-items: center; gap: 8px; padding: 7px 9px; border-radius: 8px; background: #fff; box-shadow: inset 0 0 0 1px rgba(20, 17, 13, 0.07); margin-bottom: 6px; font-size: 12px; font-weight: 600; color: #1a1714; }
.pv-bankrow:last-child { margin-bottom: 0; }
.pv-bankrow .ic { width: 20px; height: 20px; border-radius: 6px; background: #f1efe9; display: grid; place-items: center; flex-shrink: 0; }
.pv-bankrow .ck { margin-left: auto; }
.pv-card { width: 100px; height: 62px; border-radius: 10px; background: linear-gradient(135deg, #2c2841, #15131f); position: relative; padding: 10px; box-shadow: 0 8px 16px -8px rgba(0, 0, 0, 0.4); }
.pv-card .chip { width: 20px; height: 15px; border-radius: 4px; background: linear-gradient(135deg, #e7c879, #bda05a); }
.pv-card .num { position: absolute; bottom: 9px; left: 10px; color: #fff; font-size: 9.5px; letter-spacing: 0.05em; font-weight: 600; }
.pv-card .brand { position: absolute; top: 9px; right: 10px; color: rgba(255, 255, 255, 0.85); font-weight: 700; font-size: 10px; }
.pv-otp { display: flex; gap: 5px; }
.pv-otp span { width: 21px; height: 27px; border-radius: 6px; background: #fff; box-shadow: inset 0 0 0 1px rgba(20, 17, 13, 0.1); display: grid; place-items: center; font-weight: 700; font-size: 13px; color: #1a1714; }
.pv-otp span.e { color: rgba(20, 17, 13, 0.22); }
.pv-otp span.cur { box-shadow: inset 0 0 0 1.6px #2A6FDB; }
.pv-sign { width: 100%; text-align: center; }
.pv-sign .name { font-family: var(--serif); font-style: italic; font-size: 23px; color: #1a1714; }
.pv-sign .line { height: 1px; background: rgba(20, 17, 13, 0.18); margin: 5px 8px 0; }
.pv-gauge { position: relative; text-align: center; }
.pv-gauge svg { display: block; }
.pv-gauge .score { font-weight: 700; font-size: 16px; color: #1a1714; margin-top: -6px; }
.pv-gauge .needle { transform-box: view-box; transform-origin: 60px 68px; animation: pvNeedle 1.6s cubic-bezier(.5, 1.4, .5, 1) forwards; }
@keyframes pvNeedle { from { transform: rotate(-78deg); } to { transform: rotate(34deg); } }
.seq-tray-label { font-size: 12.5px; font-weight: 600; color: rgba(20, 17, 13, 0.5); margin: 2px 0 11px 2px; }
.seq-lib { overflow: hidden; width: 100%; -webkit-mask-image: linear-gradient(to right, transparent 0, #000 5%, #000 95%, transparent 100%); mask-image: linear-gradient(to right, transparent 0, #000 5%, #000 95%, transparent 100%); }
.seq-lib .int-flow { gap: 10px; animation: intScrollL 40s linear infinite; }
.seq-lib .int-pill { padding: 7px 14px 7px 7px; gap: 9px; box-shadow: 0 1px 3px -1px rgba(40, 30, 15, 0.12), inset 0 0 0 1px rgba(20, 17, 13, 0.06); }
.seq-lib .int-tile { width: 24px; height: 24px; border-radius: 7px; font-size: 10.5px; }
.seq-lib .int-name { font-size: 12.5px; }
.seq-drag { position: absolute; left: 0; top: 0; z-index: 20; display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 13px; padding: 11px 16px 11px 11px; box-shadow: 0 22px 40px -16px rgba(40, 30, 15, 0.4), inset 0 0 0 1px rgba(20, 17, 13, 0.06); pointer-events: none; opacity: 0; transition: transform .92s cubic-bezier(.34, .8, .25, 1), opacity .25s ease; }
.seq-drag.show { opacity: 1; }
.seq-cursor { position: absolute; left: 0; top: 0; z-index: 21; pointer-events: none; opacity: 0; transition: transform .92s cubic-bezier(.34, .8, .25, 1), opacity .25s ease; filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3)); }
.seq-cursor.show { opacity: 1; }

/* ---------- week back: stats + calculator + mountains ---------- */
.sv-week { padding-bottom: 0; overflow: hidden; }
.sv-week .wrap { max-width: 1120px; position: relative; z-index: 2; }
.week-h { font-family: var(--serif); font-weight: 440; font-size: clamp(38px, 4.6vw, 62px); line-height: 1.06; letter-spacing: -0.015em; color: var(--ink); margin: 0; text-align: center; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 1.8vw, 22px); margin-top: clamp(40px, 4.5vw, 64px); }
.statc { background: #FDFCF8; border: 1px solid var(--line); border-radius: 18px; padding: clamp(20px, 2.2vw, 30px) clamp(20px, 2.2vw, 28px); display: flex; flex-direction: column; align-items: flex-start; transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease; }
.statc:hover { border-color: #d8d3ca; box-shadow: 0 18px 40px -26px rgba(45, 30, 15, .35); transform: translateY(-3px); }
.stat-badge { font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: 0.09em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 4px 11px; background: var(--faint-2); margin-bottom: 18px; }
.stat-n { font-family: var(--serif); font-weight: 420; font-size: clamp(44px, 4.2vw, 62px); color: var(--ink); letter-spacing: -0.01em; margin-top: auto; }
.stat-n small { font-size: 0.42em; color: var(--muted); margin-left: 3px; }
.stat-l { font-size: 18px; font-weight: 600; color: var(--ink); margin-top: 6px; }
.stat-s { font-size: 15.5px; color: var(--muted-2); margin-top: 3px; line-height: 1.45; }
@media (prefers-reduced-motion: no-preference) {
  .stats.rv .statc { opacity: 0; transform: translateY(22px); }
  .stats.rv.in .statc { opacity: 1; transform: none; transition: opacity .65s ease, transform .65s cubic-bezier(.22, 1, .36, 1); }
  .stats.rv.in .statc:nth-child(2) { transition-delay: .14s; }
  .stats.rv.in .statc:nth-child(3) { transition-delay: .28s; }
}
.calc { margin-top: clamp(14px, 1.8vw, 22px); background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: clamp(24px, 3vw, 40px); box-shadow: 0 24px 60px -34px rgba(45, 30, 15, .3); position: relative; z-index: 2; }
.calc-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.calc-q { font-size: clamp(19px, 1.8vw, 24px); font-weight: 500; color: var(--ink); margin: 0; max-width: 26ch; }
.calc-big { font-family: var(--serif); font-size: clamp(38px, 3.6vw, 52px); color: var(--ink); white-space: nowrap; }
.calc-big em { font-style: normal; font-family: var(--sans); font-size: 16px; color: var(--muted-2); margin-left: 6px; }
.calc input[type="range"] { width: 100%; margin: 18px 0 6px; appearance: none; -webkit-appearance: none; height: 3px; border-radius: 2px; background: linear-gradient(to right, var(--ink) var(--fill, 30%), var(--line) var(--fill, 30%)); outline-offset: 6px; }
.calc input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 1.5px solid var(--ink); box-shadow: 0 2px 6px rgba(26, 23, 20, .18); cursor: grab; transition: transform .18s ease, box-shadow .18s ease; }
.calc input[type="range"]:hover::-webkit-slider-thumb { transform: scale(1.18); box-shadow: 0 3px 10px rgba(26, 23, 20, .25); }
.calc input[type="range"]:active::-webkit-slider-thumb { cursor: grabbing; }
.calc-out { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--faint); }
.co { padding: 0 clamp(18px, 2.4vw, 36px); }
.co:first-child { padding-left: 0; }
.co + .co { border-left: 1px solid var(--faint); }
.co-n { font-family: var(--serif); font-size: clamp(34px, 3.2vw, 46px); color: var(--ink); }
.co-n small { font-size: 0.45em; color: var(--muted); margin-left: 2px; }
.co-l { font-size: 15px; color: var(--muted); margin-top: 7px; line-height: 1.4; }
.calc-foot { margin-top: 24px; padding: 16px 18px; background: var(--faint-2); border: 1px solid var(--faint); border-radius: 14px; }
.crew { position: relative; height: 40px; }
.crew .cp { position: absolute; left: 0; top: 3px; color: var(--ink); transition: transform .6s cubic-bezier(.34, 1.3, .64, 1), color .45s ease; }
.crew .cp.free { color: var(--green); }
@media (prefers-reduced-motion: no-preference) { .crew .cp.free svg { animation: bob 2.8s ease-in-out infinite; } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
.crew-labs { display: flex; justify-content: space-between; gap: 12px; margin-top: 10px; font-size: 14.5px; color: var(--muted); }
.crew-labs b { color: var(--ink); font-weight: 600; }
.week-img { margin-top: clamp(-160px, -10vw, -70px); position: relative; z-index: 3; pointer-events: none; }
.week-img img { display: block; width: 100%; height: auto; margin-bottom: -4px; }

/* ---------- industries carousel ---------- */
.sv-industries { padding-top: var(--sv-gap); }
.sv-industries .wrap { margin-bottom: 48px; }
.ind-track { --ind-gutter: max(48px, calc((100vw - 1280px) / 2 + 48px)); --ind-fade: min(90px, var(--ind-gutter)); display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: var(--ind-gutter); -webkit-overflow-scrolling: touch; scrollbar-width: none; padding: 6px var(--ind-gutter) 24px; cursor: grab; -webkit-mask-image: linear-gradient(to right, transparent calc(var(--ind-gutter) - var(--ind-fade)), #000 var(--ind-gutter), #000 calc(100% - var(--ind-gutter)), transparent calc(100% - var(--ind-gutter) + var(--ind-fade))); mask-image: linear-gradient(to right, transparent calc(var(--ind-gutter) - var(--ind-fade)), #000 var(--ind-gutter), #000 calc(100% - var(--ind-gutter)), transparent calc(100% - var(--ind-gutter) + var(--ind-fade))); }
.ind-track::-webkit-scrollbar { display: none; }
.ind-track.dragging { cursor: grabbing; scroll-snap-type: none; }
.ind-card { position: relative; flex: 0 0 clamp(310px, 38vw, 470px); aspect-ratio: 470 / 600; border-radius: 26px; overflow: hidden; background: #05070b; scroll-snap-align: start; isolation: isolate; }
.ind-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center bottom; z-index: 0; user-select: none; -webkit-user-drag: none; }
.ind-content { position: relative; z-index: 2; padding: 32px 32px 0; }
.ind-brand { display: flex; align-items: center; gap: 9px; color: #fff; font-weight: 600; font-size: 18px; letter-spacing: -0.01em; }
.ind-logo { width: 26px; height: 26px; border-radius: 7px; background: #fff; display: grid; place-items: center; flex-shrink: 0; }
.ind-brand em { font-family: var(--serif); font-style: italic; font-weight: 420; font-size: 19px; color: rgba(255, 255, 255, 0.82); margin-left: 1px; }
.ind-card h3 { color: #fff; font-family: var(--sans); font-weight: 600; font-size: clamp(23px, 2.3vw, 29px); line-height: 1.2; letter-spacing: -0.015em; margin: 22px 0 0; max-width: 17ch; text-wrap: balance; }
.ind-sub { color: rgba(255, 255, 255, 0.82); font-size: 16px; line-height: 1.5; margin: 13px 0 0; max-width: 30ch; text-wrap: pretty; }
.ind-arrow { position: absolute; right: 24px; bottom: 24px; z-index: 3; width: 60px; height: 60px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.22); background: rgba(12, 16, 22, 0.32); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); color: #fff; display: grid; place-items: center; cursor: pointer; transition: background .2s ease, border-color .2s ease; }
.ind-arrow:hover { background: rgba(255, 255, 255, 0.16); border-color: rgba(255, 255, 255, 0.4); }

/* ---------- customer ---------- */
.sv-customer .sec-h2 { margin-bottom: clamp(48px, 5vw, 80px); }
.customer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 72px); align-items: center; }
.customer-copy h3 { font-family: var(--sans); font-weight: 600; font-size: clamp(24px, 2.4vw, 31px); line-height: 1.3; letter-spacing: -0.018em; color: var(--muted); margin: 0; text-wrap: pretty; }
.customer-copy h3 b { color: var(--ink); font-weight: 600; }
.customer-link { display: inline-flex; align-items: center; gap: 7px; margin-top: 24px; font-size: 15px; font-weight: 700; color: var(--ink); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.customer-link:hover { text-decoration-thickness: 2px; }
.customer-link span { display: inline-block; transition: transform .25s cubic-bezier(.22, 1, .36, 1); }
.customer-link:hover span { transform: translateX(4px); }
.customer-quote { margin: 48px 0 0; padding-left: 22px; border-left: 2px solid var(--line); max-width: 46ch; }
.customer-quote blockquote { font-family: var(--serif); font-weight: 420; font-size: 21px; line-height: 1.5; letter-spacing: -0.01em; color: var(--ink); margin: 0; }
.customer-quote figcaption { margin-top: 18px; font-size: 14.5px; line-height: 1.5; }
.customer-quote .who { display: block; font-weight: 700; color: var(--ink); }
.customer-quote .role { display: block; color: var(--muted); }
.customer-card { position: relative; border-radius: 26px; background: #efece5; aspect-ratio: 4 / 3.4; overflow: hidden; display: grid; place-items: center; }
.customer-logo { width: 60%; height: 42%; }
.customer-watch { position: absolute; right: 22px; bottom: 22px; z-index: 3; display: inline-flex; align-items: center; gap: 9px; padding: 11px 18px 11px 14px; border-radius: 999px; border: 0; background: rgba(16, 14, 12, 0.62); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: #fff; font-family: var(--sans); font-weight: 600; font-size: 13.5px; cursor: pointer; transition: background .2s ease; }
.customer-watch:hover { background: rgba(16, 14, 12, 0.8); }
.customer-watch .play { width: 24px; height: 24px; border-radius: 50%; background: #fff; display: grid; place-items: center; flex-shrink: 0; }
.customer-watch .play svg { width: 9px; height: 9px; margin-left: 1px; }

/* ---------- final cta ---------- */
.sv-final { text-align: center; }
.final-ctas { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 36px; flex-wrap: wrap; }

footer { border-top: 1px solid var(--line); padding: 44px 0; color: var(--muted-2); font-size: 14.5px; text-align: center; }

/* ---------- reveals ---------- */
@media (prefers-reduced-motion: no-preference) {
  .rv { opacity: 0; transform: translateY(26px); transition: opacity .8s ease var(--rv-d, 0ms), transform .8s cubic-bezier(.22, 1, .36, 1) var(--rv-d, 0ms); }
  .rv.in { opacity: 1; transform: none; }
}

/* ---------- hamburger + mobile nav ---------- */
.hamburger { display: none; width: 42px; height: 42px; border: 1px solid var(--line); background: #fff; border-radius: 11px; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 4px; flex-shrink: 0; transition: background .18s ease; }
.hamburger:hover { background: var(--faint-2); }
.hamburger span { display: block; width: 18px; height: 1.9px; background: var(--ink); border-radius: 2px; transition: transform .26s ease, opacity .18s ease; }
body.menu-open .hamburger span:nth-child(1) { transform: translateY(5.9px) rotate(45deg); }
body.menu-open .hamburger span:nth-child(2) { opacity: 0; }
body.menu-open .hamburger span:nth-child(3) { transform: translateY(-5.9px) rotate(-45deg); }
@media (max-width: 1000px) { .menu { display: none; } .hamburger { display: flex; } .nav-actions { margin-left: auto; } }
.mobile-nav { display: block; position: fixed; top: 0; left: 0; right: 0; height: 100dvh; padding: 96px 22px 40px; background: var(--bg); z-index: 40; overflow-y: auto; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .22s ease, transform .26s ease, visibility .22s; }
body.menu-open .mobile-nav { opacity: 1; visibility: visible; transform: translateY(0); }
body.menu-open { overflow: hidden; }
body.menu-open>header { position: fixed; top: 0; left: 0; right: 0; background: var(--bg); backdrop-filter: none; -webkit-backdrop-filter: none; }
body.menu-open .subnav { display: none; }
.m-link, .m-acc-btn { display: flex; align-items: center; justify-content: space-between; width: 100%; font-family: var(--sans); font-size: 17px; font-weight: 600; color: var(--ink); text-decoration: none; padding: 16px 4px; border: 0; border-bottom: 1px solid var(--faint); background: none; cursor: pointer; text-align: left; }
.m-acc-btn .chev { width: 12px; height: 12px; opacity: .5; transition: transform .26s ease; }
.m-acc.open .m-acc-btn .chev { transform: rotate(180deg); }
.m-acc-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .28s ease; }
.m-acc.open .m-acc-body { grid-template-rows: 1fr; }
.m-acc-inner { overflow: hidden; }
.m-acc-body a { display: block; padding: 12px 4px 12px 16px; font-size: 15px; font-weight: 500; color: var(--muted); text-decoration: none; }
.m-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 24px; }
.m-actions .btn { width: 100%; padding: 14px; font-size: 15px; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .how-steps { grid-template-columns: 1fr; }
  .integrate-grid { grid-template-columns: 1fr; }
  .int-card { min-height: 480px; }
  .customer-grid { grid-template-columns: 1fr; }
  .customer-quote { margin-top: 38px; }
}
@media (max-width: 860px) {
  .wrap { padding: 0 22px; }
  .stats { grid-template-columns: 1fr; gap: 14px; }
  .calc-top { flex-direction: column; gap: 8px; }
  .calc-out { grid-template-columns: 1fr; gap: 14px; }
  .co { padding: 0; }
  .co + .co { border-left: 0; }
  .nav-actions .btn-ghost { display: none; }
}
@media (max-width: 560px) {
  .ind-card { flex-basis: 82vw; }
  .ind-track { --ind-gutter: 22px; }
  h1 { font-size: clamp(42px, 11vw, 56px); }
}

/* claude.com-style centered hero */
.hero-centered .wrap { display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero-centered h1 { max-width: 17ch; margin-left: auto; margin-right: auto; }
.hero-centered .lede { margin-left: auto; margin-right: auto; }
.hero-centered .email-form { margin-left: auto; margin-right: auto; }
.hero-centered .hero-points { justify-content: center; }
/* framed product shot (claude.com window treatment) */
.hero-visual { max-width: 1180px; margin-left: auto; margin-right: auto; }
.hero-img { border-radius: 20px; box-shadow: 0 40px 90px -40px rgba(45, 30, 15, .38), 0 0 0 1px rgba(20, 17, 13, .06); }
/* eyebrows */
.eyebrow { display: block; width: fit-content; font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.11em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.eyebrow.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ============ confidence pass: tighter rhythm, quieter trust strip, real footer ============ */
:root { --sv-gap: clamp(76px, 7vw, 116px); }
.sv-hero { padding-top: clamp(40px, 4vw, 64px); }
h1 { font-size: clamp(48px, 5.4vw, 88px); margin-top: 22px; }
.lede { margin-top: 22px; font-size: clamp(17px, 1.5vw, 20px); }
.email-form { margin-top: 28px; }
.hero-visual { margin-top: clamp(40px, 4.5vw, 68px); }
.sec-h2 { font-size: clamp(34px, 4vw, 54px); }
.week-h { font-size: clamp(34px, 4vw, 54px); }
/* trust strip: quiet, dense, no cards */
.sv-teams { padding-top: clamp(48px, 5vw, 72px); padding-bottom: clamp(48px, 5vw, 72px); }
.trust-line { font-size: 14px; font-weight: 500; color: var(--muted-2); text-align: center; letter-spacing: 0.01em; }
.sv-teams .logo-marquee { margin-top: 28px; }
.logo { min-width: 0; height: auto; padding: 0 34px; border: 0; background: none; font-size: 21px; color: #a49b8d; transition: color .2s ease; }
.logo:hover { color: var(--ink); border-color: transparent; box-shadow: none; }
.logo-track { gap: 0; }
/* section head → content spacing consistent */
.sv-how .sec-h2 { margin-bottom: clamp(40px, 4.5vw, 64px); }
.sv-customer .sec-h2 { margin-bottom: clamp(40px, 4.5vw, 64px); }
.sv-industries .wrap { margin-bottom: 40px; }
.stats { margin-top: clamp(32px, 3.6vw, 52px); }
/* footer */
footer { padding: clamp(48px, 5vw, 72px) 0 36px; text-align: left; color: var(--muted); }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: clamp(28px, 4vw, 64px); }
.foot-brand p { margin-top: 14px; font-size: 14.5px; line-height: 1.55; color: var(--muted-2); max-width: 30ch; }
.foot-col { display: flex; flex-direction: column; gap: 10px; }
.foot-col b { font-size: 13px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 4px; }
.foot-col a { font-size: 14.5px; color: var(--ink-soft); text-decoration: none; width: fit-content; }
.foot-col a:hover { color: var(--amber); }
.foot-legal { margin-top: clamp(36px, 4vw, 56px); padding-top: 22px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--muted-2); }
.foot-disc { margin: 0; max-width: 88ch; font-size: 12.5px; line-height: 1.6; color: var(--muted-2); text-wrap: pretty; }
.foot-copy { margin: 14px 0 0; font-size: 13.5px; color: var(--muted-2); }
.foot-legal a { color: var(--muted-2); text-decoration: none; }
.foot-legal a:hover { color: var(--ink); }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } }

/* ============ $100M pass: feature grid + developer band ============ */
.trust-line b { color: var(--ink); font-weight: 700; }
.sv-features .sec-h2 { margin-bottom: clamp(36px, 4vw, 56px); }
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 1.8vw, 22px); }
.feat { background: #FDFCF8; border: 1px solid var(--line); border-radius: 18px; padding: clamp(22px, 2.2vw, 30px); transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease; }
.feat:hover { border-color: #d8d3ca; box-shadow: 0 18px 40px -26px rgba(45, 30, 15, .35); transform: translateY(-3px); }
.feat-ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--faint); color: var(--ink-soft); margin-bottom: 16px; }
.feat h4 { font-size: 16.5px; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); margin: 0 0 7px; }
.feat p { font-size: 14.5px; line-height: 1.55; color: var(--muted); margin: 0; text-wrap: pretty; }
/* developer band — dark, matches brand's dark sections */
.sv-dev { padding-top: 0; }
.sv-dev .dev-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 4vw, 64px); align-items: center; background: var(--black); border-radius: 28px; padding: clamp(36px, 4.5vw, 64px); }
.dev-eyebrow { color: rgba(255, 255, 255, 0.5); }
.dev-h { color: #fff; }
.dev-copy p { margin-top: 18px; font-size: 16.5px; line-height: 1.6; color: rgba(255, 255, 255, 0.68); max-width: 40ch; text-wrap: pretty; }
.btn-light { margin-top: 28px; background: #fff; color: var(--ink); }
.btn-light:hover { background: #EFECE3; }
.dev-code { background: #1a1714; border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 16px; padding: clamp(18px, 2vw, 28px); overflow-x: auto; }
.dev-code pre { margin: 0; }
.dev-code code { font-family: var(--mono); font-size: 13px; line-height: 1.75; color: rgba(255, 255, 255, 0.75); }
.dev-code .c { color: rgba(255, 255, 255, 0.35); }
.dev-code .k { color: #E4C99A; }
.dev-code .s { color: #9DBFA8; }
.dev-code .v { color: #D8A87C; }
@media (max-width: 980px) { .feat-grid { grid-template-columns: 1fr 1fr; } .sv-dev .dev-grid { grid-template-columns: 1fr; } }
@media (max-width: 620px) { .feat-grid { grid-template-columns: 1fr; } }
/* week section closes normally now (no full-bleed image) */
.sv-week { padding-bottom: var(--sv-gap); }

/* ============ craft pass: bespoke industry art + results card ============ */
.ind-card { background: #14110d; }
.ind-card::after { content: ""; position: absolute; inset: 0; z-index: 1; background: radial-gradient(120% 55% at 50% 118%, rgba(255, 244, 218, 0.16), transparent 60%); pointer-events: none; }
.ind-screening { background: radial-gradient(140% 90% at 85% 110%, #3E6B4F 0%, #1c3527 42%, #10201a 100%); }
.ind-lending { background: radial-gradient(140% 90% at 15% 110%, #6B563E 0%, #35291c 42%, #1c1610 100%); }
.ind-mortgage { background: radial-gradient(140% 90% at 85% 110%, #8C5A3A 0%, #462c1c 42%, #241610 100%); }
.ind-auto { background: radial-gradient(140% 90% at 15% 110%, #3E566B 0%, #1e2b35 42%, #12191f 100%); }
.ind-banking { background: radial-gradient(140% 90% at 85% 110%, #55663E 0%, #2a331e 42%, #171c12 100%); }
.ind-card .ind-content { padding-top: 36px; }
/* results card — dark editorial stat card */
.results-card { position: relative; border-radius: 26px; background: var(--black); color: #fff; padding: clamp(28px, 3vw, 44px); display: flex; flex-direction: column; overflow: hidden; min-height: 380px; }
.results-card::after { content: ""; position: absolute; inset: 0; background: radial-gradient(110% 60% at 85% 115%, rgba(228, 201, 154, 0.22), transparent 60%); pointer-events: none; }
.rc-brand { align-self: flex-start; font-weight: 600; font-size: 18px; letter-spacing: -0.01em; color: #fff; }
.rc-brand em { font-family: var(--serif); font-style: italic; font-weight: 420; color: rgba(255, 255, 255, 0.8); }
.rc-big { font-family: var(--serif); font-weight: 420; font-size: clamp(84px, 8vw, 128px); line-height: 1; letter-spacing: -0.02em; margin-top: auto; }
.rc-cap { font-size: 15.5px; line-height: 1.5; color: rgba(255, 255, 255, 0.7); max-width: 30ch; margin-top: 10px; }
.rc-row { display: flex; gap: clamp(20px, 2.5vw, 40px); margin-top: 26px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.14); }
.rc-mini b { display: block; font-family: var(--serif); font-weight: 440; font-size: 26px; }
.rc-mini span { display: block; font-size: 12.5px; color: rgba(255, 255, 255, 0.6); margin-top: 3px; }
.results-card .customer-watch { position: absolute; right: 22px; top: 22px; bottom: auto; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.18); }
.results-card .customer-watch:hover { background: rgba(255, 255, 255, 0.2); }

/* ============ smart use-case showcase ============ */
.sv-use .sec-h2 { margin-bottom: 32px; }
.use-tabs { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin-bottom: clamp(28px, 3vw, 44px); }
.use-tab { font-family: inherit; font-size: 14.5px; font-weight: 600; color: var(--muted); background: none; border: 1px solid var(--line); border-radius: 999px; padding: 10px 20px; cursor: pointer; transition: all .22s ease; }
.use-tab:hover { color: var(--ink); border-color: #cfc9be; }
.use-tab.active { background: var(--black); border-color: var(--black); color: #fff; }
.use-stage { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(18px, 2.2vw, 28px); max-width: 1020px; margin: 0 auto; align-items: stretch; }
.use-left { background: #FDFCF8; border: 1px solid var(--line); border-radius: 22px; padding: clamp(24px, 2.6vw, 34px); display: flex; flex-direction: column; }
.use-label { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 18px; }
.use-chips { display: flex; flex-wrap: wrap; gap: 10px; align-content: flex-start; }
.use-chip { display: inline-flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 600; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 9px 14px 9px 9px; opacity: 0; transform: translateY(8px) scale(.96); transition: opacity .4s ease, transform .4s cubic-bezier(.2,.9,.3,1.2); }
.use-chip.in { opacity: 1; transform: none; }
.use-chip i { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; color: #fff; font-style: normal; font-size: 10.5px; font-weight: 700; font-family: var(--mono); }
.use-linkrow { display: flex; align-items: center; gap: 9px; margin-top: auto; padding-top: 26px; font-family: var(--mono); font-size: 13px; color: var(--muted); }
.use-file { background: var(--black); border-radius: 22px; padding: clamp(24px, 2.6vw, 34px); color: #fff; display: flex; flex-direction: column; }
.use-file-head { display: flex; align-items: center; gap: 13px; padding-bottom: 18px; border-bottom: 1px solid rgba(255,255,255,.12); }
.use-av { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #E4C99A; color: #100e0c; font-weight: 700; font-size: 14px; flex-shrink: 0; }
.use-who { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.use-who b { font-size: 15.5px; font-weight: 600; }
.use-who small { font-size: 12.5px; color: rgba(255,255,255,.55); }
.use-status { margin-left: auto; font-family: var(--mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.65); padding: 6px 12px; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; white-space: nowrap; transition: all .3s ease; }
.use-status.ready { color: #100e0c; background: #B8D8A8; border-color: #B8D8A8; }
.use-rows { display: flex; flex-direction: column; margin-top: 6px; }
.use-row { display: flex; align-items: center; gap: 12px; padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.07); opacity: 0; transform: translateY(6px); transition: opacity .35s ease, transform .35s ease; }
.use-row.in { opacity: 1; transform: none; }
.use-row:last-child { border-bottom: 0; }
.use-ic { position: relative; width: 20px; height: 20px; flex-shrink: 0; }
.use-ic .spin { position: absolute; inset: 0; border: 2px solid rgba(255,255,255,.2); border-top-color: #E4C99A; border-radius: 50%; animation: usespin .7s linear infinite; }
.use-ic .done { position: absolute; inset: 0; display: none; }
.use-row.ok .spin { display: none; }
.use-row.ok .done { display: block; }
@keyframes usespin { to { transform: rotate(360deg); } }
.use-row .t { font-size: 14.5px; color: rgba(255,255,255,.85); }
.use-row .p { margin-left: auto; font-family: var(--mono); font-size: 12px; color: rgba(255,255,255,.45); }
@media (max-width: 860px) { .use-stage { grid-template-columns: 1fr; } .use-linkrow { padding-top: 20px; } }

/* ============ claude.com visual language pass ============ */
.hero-split .hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero-split .hero-copy { display: flex; flex-direction: column; align-items: flex-start; text-align: left; }
.hero-split h1 { font-size: clamp(52px, 5.8vw, 92px); max-width: 12ch; margin: 0; }
.hero-split .lede { margin-left: 0; margin-right: 0; text-align: left; max-width: 40ch; }
.hero-split .email-form { margin-left: 0; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.hero-chip { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 600; color: var(--ink-soft); text-decoration: none; background: #FDFCF8; border: 1px solid var(--line); border-radius: 999px; padding: 8px 15px; transition: all .2s ease; }
.hero-chip:hover { border-color: #cfc9be; color: var(--ink); transform: translateY(-1px); }
.hero-art { display: grid; place-items: center; }
.hero-art svg { width: 100%; max-width: 480px; height: auto; }
.doodle { stroke-dasharray: 1200; stroke-dashoffset: 1200; animation: doodledraw 1.6s cubic-bezier(.4,0,.2,1) forwards; }
.d2 { animation-delay: .35s; } .d3 { animation-delay: .7s; } .d4 { animation-delay: 1s; }
@keyframes doodledraw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .doodle { stroke-dashoffset: 0; animation: none; } }
@media (max-width: 900px) { .hero-split .hero-grid { grid-template-columns: 1fr; } .hero-art { display: none; } }
/* grouped icon tabs (claude.com pill group) */
.use-tabs { display: inline-flex; gap: 4px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 5px; margin: 0 auto clamp(28px, 3vw, 44px); flex-wrap: nowrap; overflow-x: auto; max-width: 100%; }
.sv-use .wrap { display: flex; flex-direction: column; align-items: center; }
.use-tab { display: inline-flex; align-items: center; gap: 8px; border: 0; border-radius: 999px; padding: 10px 18px; white-space: nowrap; }
.use-tab:hover { background: var(--faint); }
.use-tab.active:hover { background: var(--black); }
/* tinted showcase panel */
.use-panel { width: 100%; background: #ECE5D8; border-radius: 32px; padding: clamp(20px, 2.6vw, 40px); }
.use-stage { max-width: 100%; }
.use-left { border-color: transparent; }
/* bigger serif section heads, more air */
.sec-h2.center { font-size: clamp(40px, 4.6vw, 64px); }
.week-h { font-size: clamp(40px, 4.6vw, 64px); }

/* doodle polish */
.doodle-dot { transform-origin: 286px 236px; animation: dotpop .5s cubic-bezier(.3,1.4,.5,1) 1.3s backwards; }
@keyframes dotpop { from { transform: scale(0); } to { transform: scale(1); } }
.d2 { animation-delay: .9s; } .d3 { animation-delay: 1.5s; } .d4 { animation-delay: 1.65s; }
.rc-big { margin-top: 34px; }
.rc-row { margin-top: auto; }
@media (max-width: 1080px) { .results-card { min-height: 0; } .rc-big { margin-top: 22px; } }

/* simplified how-it-works */
.how-step h3 { margin-top: 14px; }
.how-step .step-mock { margin-top: 22px; }

/* open how-it-works: no card containers (claude.com editorial columns) */
.how-step { background: none; border: 0; border-radius: 0; padding: clamp(26px, 2.6vw, 38px) 0 0; border-top: 1px solid #D8D2C4; }
.how-step:hover { border-color: #D8D2C4; box-shadow: none; transform: none; }
.how-steps { gap: clamp(28px, 3.5vw, 56px); }
.step-badge { border: 0; padding: 0; background: none; font-size: 13px; color: var(--muted-2); }
.how-step h3 { margin-top: 12px; }
.how-step .step-mock { margin-top: 26px; }
@media (max-width: 980px) { .how-step { padding-top: 22px; } }

/* journey strip: one connected story */
.journey { display: flex; align-items: center; justify-content: center; gap: clamp(10px, 1.6vw, 26px); }
.j-node { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.j-art { display: grid; place-items: center; }
.j-art .sm-flow, .j-art .sm-linkpill, .j-art .sm-report { margin: 0; }
.j-cap { display: flex; align-items: baseline; gap: 10px; }
.j-n { font-family: var(--mono); font-size: 12px; color: var(--muted-2); }
.j-t { font-family: var(--serif); font-weight: 470; font-size: clamp(19px, 1.7vw, 23px); letter-spacing: -0.005em; color: var(--ink); }
.j-arrow { flex: 0 0 clamp(56px, 7vw, 90px); align-self: flex-start; margin-top: 26px; }
.j-arrow svg { width: 100%; height: auto; display: block; }
.j-dash { animation: jdash 1.2s linear infinite; }
@keyframes jdash { to { stroke-dashoffset: -12; } }
@media (prefers-reduced-motion: reduce) { .j-dash { animation: none; } }
@media (max-width: 900px) { .journey { flex-direction: column; gap: 18px; } .j-arrow { transform: rotate(90deg); flex-basis: 44px; width: 60px; margin: 0; align-self: center; } }

/* journey polish: equal-height artifacts, centered arrows, staged reveal */
.journey { align-items: flex-start; }
.j-art { height: 104px; display: grid; place-items: center; }
.j-art .sm-flow { transform: scale(1.15); transform-origin: center; }
.j-art .sm-linkpill { transform: scale(1.12); box-shadow: 0 14px 30px -18px rgba(45,30,15,.35); }
.j-art .sm-report { transform: scale(1.12); box-shadow: 0 14px 30px -18px rgba(45,30,15,.35); }
.j-cap { justify-content: center; }
.j-node { gap: 16px; }
.j-arrow { align-self: flex-start; margin-top: 34px; }
/* staged reveal */
.j-node, .j-arrow { opacity: 0; transform: translateY(10px); transition: opacity .55s ease, transform .55s cubic-bezier(.2,.8,.3,1); }
.journey.play .j-node, .journey.play .j-arrow { opacity: 1; transform: none; }
.journey.play > *:nth-child(1) { transition-delay: 0s; }
.journey.play > *:nth-child(2) { transition-delay: .35s; }
.journey.play > *:nth-child(3) { transition-delay: .55s; }
.journey.play > *:nth-child(4) { transition-delay: .9s; }
.journey.play > *:nth-child(5) { transition-delay: 1.1s; }
@media (prefers-reduced-motion: reduce) { .j-node, .j-arrow { opacity: 1; transform: none; transition: none; } }
@media (max-width: 900px) { .journey { align-items: center; } .j-arrow { margin-top: 0; } .j-art { height: auto; } }

/* friendly applicant demo */
.seq-stage.friendly { display: flex; flex-direction: column; justify-content: center; height: 100%; }
.friendly-body { display: flex; flex-direction: column; gap: 22px; }
.fr-dots { display: flex; gap: 8px; justify-content: center; padding-bottom: 4px; }
.fr-dots span { width: 8px; height: 8px; border-radius: 50%; background: #DED8CB; transition: all .3s ease; }
.fr-dots span.on { background: var(--ink); width: 22px; border-radius: 999px; }
.fr-dots span.done { background: #B4A88F; }

/* dead-simple steps line */
.steps-line { display: flex; align-items: center; justify-content: center; gap: clamp(18px, 3vw, 40px); flex-wrap: wrap; }
.sl-step { display: inline-flex; align-items: baseline; gap: 14px; font-family: var(--serif); font-weight: 460; font-size: clamp(26px, 2.8vw, 40px); letter-spacing: -0.01em; color: var(--ink); }
.sl-step em { font-style: normal; font-family: var(--mono); font-size: 0.45em; color: var(--muted-2); }
.sl-sep { width: clamp(30px, 3.4vw, 44px); flex-shrink: 0; }
.sl-sep svg { width: 100%; height: auto; display: block; }
@media (max-width: 700px) { .steps-line { flex-direction: column; gap: 14px; } .sl-sep { transform: rotate(90deg); width: 26px; } }

/* steps with doodle icons */
.sl-step { flex-direction: column; align-items: center; gap: 18px; display: inline-flex; }
.sl-doodle { width: clamp(48px, 4.6vw, 64px); height: clamp(48px, 4.6vw, 64px); display: block; }
.sl-doodle svg { width: 100%; height: 100%; display: block; }
.sl-word { display: inline-flex; align-items: baseline; gap: 12px; }
.sl-sep { align-self: center; margin-top: 34px; }
.steps-line { align-items: flex-start; }
@media (max-width: 700px) { .steps-line { align-items: center; } .sl-sep { margin-top: 0; } }

/* cinematic staged steps */
.sl-doodle path, .sl-doodle rect { stroke-dasharray: 240; stroke-dashoffset: 240; }
.sl-sep path { stroke-dasharray: 60; stroke-dashoffset: 60; }
.sl-word { opacity: 0; transform: translateY(12px); }
.steps-line.play .sl-doodle path, .steps-line.play .sl-doodle rect { animation: sldraw .9s cubic-bezier(.4,0,.2,1) forwards; }
.steps-line.play .sl-word { animation: slword .6s cubic-bezier(.2,.8,.3,1) forwards; }
.steps-line.play .sl-sep path { animation: sldraw .5s ease forwards; }
.steps-line.play .sl-step:nth-child(1) .sl-doodle path, .steps-line.play .sl-step:nth-child(1) .sl-doodle rect { animation-delay: .1s; }
.steps-line.play .sl-step:nth-child(1) .sl-word { animation-delay: .45s; }
.steps-line.play .sl-sep:nth-child(2) path { animation-delay: .8s; }
.steps-line.play .sl-step:nth-child(3) .sl-doodle path, .steps-line.play .sl-step:nth-child(3) .sl-doodle rect { animation-delay: 1.05s; }
.steps-line.play .sl-step:nth-child(3) .sl-word { animation-delay: 1.4s; }
.steps-line.play .sl-sep:nth-child(4) path { animation-delay: 1.75s; }
.steps-line.play .sl-step:nth-child(5) .sl-doodle path, .steps-line.play .sl-step:nth-child(5) .sl-doodle rect { animation-delay: 2s; }
.steps-line.play .sl-step:nth-child(5) .sl-word { animation-delay: 2.35s; }
@keyframes sldraw { to { stroke-dashoffset: 0; } }
@keyframes slword { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .sl-doodle path, .sl-doodle rect, .sl-sep path { stroke-dasharray: none; stroke-dashoffset: 0; } .sl-word { opacity: 1; transform: none; } .steps-line.play * { animation: none !important; } }

/* taller how-it-works */
.sv-how { padding-top: clamp(110px, 11vw, 170px); padding-bottom: clamp(110px, 11vw, 170px); }
.sv-how .sec-h2 { margin-bottom: clamp(70px, 7.5vw, 120px); }
.steps-line { gap: clamp(28px, 4.5vw, 64px); }
.sl-doodle { width: clamp(58px, 5.4vw, 76px); height: clamp(58px, 5.4vw, 76px); }
.sl-step { gap: 24px; }

/* higgs-field cards */
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 26px); }
.field-card { background: var(--black); border-radius: 28px; padding: clamp(32px, 3.4vw, 52px) clamp(26px, 2.8vw, 44px) 0; display: flex; flex-direction: column; align-items: center; text-align: center; overflow: hidden; }
.field-card h3 { font-family: var(--serif); font-weight: 460; font-size: clamp(26px, 2.4vw, 34px); letter-spacing: -0.01em; color: #fff; margin: 0 0 14px; }
.field-card p { font-size: 15.5px; line-height: 1.6; color: rgba(255,255,255,.62); max-width: 38ch; margin: 0; text-wrap: pretty; }
.field-canvas { width: 100%; height: clamp(260px, 26vw, 360px); margin-top: clamp(24px, 2.6vw, 40px); display: block; }
@media (max-width: 860px) { .field-grid { grid-template-columns: 1fr; } }

/* ---------- mega dropdown (Products / solutions) ---------- */
header nav { position: relative; }
.menu-item.mega-item { position: static; }
.dropdown.mega { left: 0; right: auto; width: min(920px, calc(100vw - 96px)); min-width: 0; display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 0 clamp(10px, 1.2vw, 22px); padding: 16px; border-radius: 18px; }
.mega-col { padding: 0; min-width: 0; }
.mega-feat { background: var(--faint); border-radius: 13px; padding: 14px 10px; }
.mega-h { display: block; font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .13em; text-transform: uppercase; color: var(--muted-2); padding: 3px 12px 10px; }
.mega-h2 { padding-top: 20px; }
.dropdown.mega a { display: flex; align-items: center; gap: 11px; padding: 8px 12px; border-radius: 9px; font-size: 14.5px; font-weight: 500; color: var(--ink-soft); }
.dropdown.mega a i { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: #fff; border: 1px solid var(--line); color: var(--terra); }
.dropdown.mega a i svg { width: 16px; height: 16px; }
.dropdown.mega a b { display: block; font-weight: 600; font-size: 14.5px; color: var(--ink); min-width: 0; }
.dropdown.mega a b em { display: block; font-style: normal; font-weight: 400; font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.dropdown.mega a:hover { color: var(--ink); background: #fff; }
.mega-col:not(.mega-feat) a:hover { background: var(--faint-2); }
.mega-col:not(.mega-feat) a i { background: var(--faint); border-color: transparent; width: 26px; height: 26px; }
.mega-col:not(.mega-feat) a i svg { width: 15px; height: 15px; }
@media (max-width: 1300px) { .dropdown.mega { grid-template-columns: 1fr 1fr; width: min(620px, calc(100vw - 64px)); row-gap: 16px; } }

/* ---------- breadcrumb subnav (every page below the top level) ---------- */
.subnav { border-top: 1px solid var(--line); }
.subnav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 48px; padding-top: 8px; padding-bottom: 8px; }
.sn-path { display: inline-flex; align-items: center; gap: 9px; font-size: 14px; color: var(--muted); min-width: 0; }
.sn-path svg { color: var(--muted-2); flex-shrink: 0; }
.sn-path a { color: var(--muted); text-decoration: none; transition: color .15s ease; }
.sn-path a:hover { color: var(--ink); }
.sn-path b { color: var(--ink); font-weight: 600; white-space: nowrap; }
.sn-explore > button { font-family: var(--sans); font-size: 14px; font-weight: 500; color: var(--muted); background: none; border: 0; cursor: pointer; padding: 7px 10px; border-radius: 8px; display: inline-flex; align-items: center; gap: 7px; transition: background .18s ease, color .18s ease; }
.sn-explore > button:hover { background: var(--faint); color: var(--ink); }
.sn-explore > button .chev { width: 9px; height: 9px; opacity: .55; transition: transform .2s ease; }
.sn-explore:hover > button .chev { transform: rotate(180deg); }
.sn-explore .dropdown { min-width: 190px; }
.sn-explore .dropdown.right { left: auto; right: 0; }
@media (max-width: 700px) { .subnav .sn-explore { display: block; } .subnav .sn-explore > button { padding: 7px 2px; } .subnav .sn-explore .dropdown { min-width: min(280px, calc(100vw - 32px)); max-height: 62vh; overflow-y: auto; } }

.dropdown.mega.mega-one { grid-template-columns: minmax(0, 1fr); width: min(660px, calc(100vw - 48px)); padding: 10px; }
.mega-one .mega-feat { background: none; padding: 6px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 10px; }
.mega-one .mega-h { grid-column: 1 / -1; }
@media (max-width: 700px) { .dropdown.mega.mega-one { width: min(360px, calc(100vw - 48px)); } .mega-one .mega-feat { grid-template-columns: 1fr; } }

/* hamburger: bare lines, no container */
.hamburger { border: 0; background: none; border-radius: 0; width: 34px; height: 34px; }
.hamburger:hover { background: none; }
.hamburger:hover span { background: var(--muted); }

/* featured promo inside the use-cases dropdown */
.dropdown.mega.mega-one { grid-template-columns: minmax(0, 1fr) 250px; width: min(940px, calc(100vw - 48px)); gap: 0 22px; }
.mega-promo { border-left: 1px solid var(--line); background: var(--faint); margin: -10px -10px -10px 0; padding: 16px 18px; border-radius: 0 16px 16px 0; }
.mega-promo-card { display: block !important; padding: 0 !important; border-radius: 12px !important; }
.mega-promo-card:hover { background: none !important; }
.mega-promo-art { display: block; aspect-ratio: 16/11; border-radius: 10px; overflow: hidden; background: #EDE6DA; }
.mega-promo-art .islot { display: block; width: 100%; height: 100%; }
.mega-promo-card b { display: block; margin-top: 13px; font-weight: 600; font-size: 14.5px; line-height: 1.3; color: var(--ink); }
.mega-promo-card em { display: block; margin-top: 5px; font-style: normal; font-size: 13.5px; font-weight: 400; line-height: 1.4; color: var(--muted); text-wrap: pretty; }
.mega-promo-card:hover b { color: var(--terra); }
@media (max-width: 1100px) { .dropdown.mega.mega-one { grid-template-columns: minmax(0, 1fr); width: min(620px, calc(100vw - 48px)); } .mega-promo { display: none; } }

/* ---------- nav type scale: match the home page ---------- */
.menu-item > button { font-size: 16px; padding: 10px 13px; }
.nav-actions .btn { font-size: 15px; padding: 12px 20px; }
.brand { font-size: 21px; }
.dropdown a { font-size: 15.5px; }
.dropdown a span { font-size: 14px; }
.sn-path, .sn-explore > button { font-size: 15px; }
.dropdown.mega.mega-one { padding: 14px; gap: 0 24px; }
.mega-one .mega-feat { padding: 10px 0 6px; }
.mega-h { font-size: 11.5px; padding: 0 12px 12px; }
.dropdown.mega a { font-size: 15.5px; padding: 9px 12px; gap: 13px; }
.dropdown.mega a b { font-size: 15.5px; }
.dropdown.mega a b em { font-size: 13.5px; }
.dropdown.mega a i { width: 34px; height: 34px; border-radius: 9px; }
.dropdown.mega a i svg { width: 17px; height: 17px; }
.mega-promo { margin: -14px -14px -14px 0; padding: 24px 22px 24px; }
.mega-promo .mega-h { padding-left: 0; }
.mega-promo-card b { font-size: 15.5px; }
.mega-promo-card em { font-size: 14px; }

.mega-cust { grid-template-columns: minmax(0, 1fr) 252px !important; width: min(660px, calc(100vw - 48px)) !important; }
.mega-cust .mega-feat { grid-template-columns: minmax(0, 1fr) !important; }

.dropdown.mega.mega-one { align-items: stretch; }
.mega-promo { display: flex; flex-direction: column; }

/* keep nav + dropdowns above all page content */
body>header{z-index:300}
.dropdown{z-index:310}
.mobile-nav{z-index:290}

/* external links: small outbound glyph, never in the primary nav row */
svg.ext{width:12px;height:12px;flex:none;opacity:.5;vertical-align:-1px;margin-left:2px}
.dropdown a svg.ext{margin-left:auto;opacity:.45}
.dropdown a:hover svg.ext{opacity:.8}
.foot-col a svg.ext{opacity:.45}

/* dropdown columns: two columns once a menu has more than four items */
.mega-feat:has(a:nth-of-type(5)){display:grid!important;grid-template-columns:1fr 1fr!important;gap:0 clamp(6px,.8vw,14px);align-content:start}
.mega-feat:has(a:nth-of-type(5))>.mega-h{grid-column:1 / -1}
.dropdown.mega.mega-one:has(.mega-feat a:nth-of-type(5)){width:min(900px,calc(100vw - 48px))!important;grid-template-columns:minmax(0,1fr) 252px!important}
@media (max-width:1100px){.dropdown.mega.mega-one:has(.mega-feat a:nth-of-type(5)){width:min(620px,calc(100vw - 48px))!important}}
@media (max-width:700px){.mega-feat:has(a:nth-of-type(5)){grid-template-columns:1fr!important}}

/* Resources panel: three labeled groups + API strip */
.mega-docs{display:block!important}
.mega-docs .mega-grps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 26px;align-items:start}
.mega-docs .mega-grp{display:flex;flex-direction:column;gap:2px;min-width:0}
.mega-docs .mega-h2{display:block;font-family:var(--mono);font-size:10.5px;font-weight:500;letter-spacing:.13em;text-transform:uppercase;color:var(--muted-2);padding:0 0 8px 2px;margin-top:4px}
.mega-docs .mega-grp a{padding:8px 8px!important}
.dropdown.mega.mega-one:has(.mega-docs){width:min(940px,calc(100vw - 48px))!important;grid-template-columns:minmax(0,1fr) 252px!important}

/* API portal — external highlight inside the Resources panel */
.mega-docs .mega-api{grid-column:1 / -1;align-items:flex-start!important;margin-top:16px;padding:13px 12px!important;border:1px solid var(--line-2);border-radius:11px;background:var(--faint)}
.mega-docs .mega-api:hover{background:#fff;border-color:var(--muted-2)}
.mega-docs .mega-api i{background:var(--ink)!important;color:#FAF9F5!important;border-color:var(--ink)!important}
.mega-docs .mega-api b{display:block;font-weight:600;font-size:15.5px;color:var(--ink)}
.mega-docs .mega-api b svg.ext{margin-left:5px;opacity:.5}
.mega-docs .mega-api em{display:block;font-style:normal;font-weight:400;font-size:13.5px;line-height:1.4;color:var(--muted);margin-top:3px}

/* language toggle — shared nav */
.nav-actions .dropdown.right{left:auto;right:0}
.lang{position:relative}
.lang .lang-btn{display:flex;align-items:center;gap:6px;font-family:var(--sans);font-size:15px;font-weight:600;color:var(--ink-soft);background:none;border:0;cursor:pointer;padding:9px 11px;border-radius:8px;transition:background .18s ease,color .18s ease}
.lang .lang-btn:hover{background:var(--faint);color:var(--ink)}
.lang-btn svg{opacity:.8}
.lang-code{letter-spacing:.02em}
.lang-menu{min-width:184px}
/* narrow devices: keep the nav row on-screen */
@media (max-width:600px){header nav{gap:10px}.nav-actions{gap:8px}.nav-actions .btn{font-size:14px;padding:10px 16px}}
@media (max-width:479px){.nav-actions .btn-dark{display:none}.lang .lang-btn{padding:9px 8px}}
@media (max-width:359px){.brand{font-size:19px}.wrap{padding:0 18px}header nav{gap:8px}.lang .lang-btn{padding:9px 6px}}
.lang-menu a.active::after{content:"\2713";float:right;color:oklch(0.6 0.13 55);font-weight:700}
/* nav breakpoint: hold the full menu longer by tightening the row first */
@media (max-width:1180px){
.menu{gap:0}
.menu-item>button{font-size:15px;padding:9px 9px}
header nav{gap:10px}
.nav-actions{gap:8px}
.nav-actions .btn{font-size:14.5px;padding:11px 17px}
.lang .lang-btn{padding:9px 8px}
.lang .lang-code{font-size:14px}
}
@media (max-width:1080px){
.menu-item>button{font-size:14.5px;padding:8px 7px}
.nav-actions .btn{padding:11px 15px}
.lang .lang-btn .chev{display:none}
}

/* mega panels: the promo column is a fixed 252px track, so once the panel
   narrows it eats the link columns and titles wrap. Below 1180px the promo
   narrows and the links go single-column instead of collapsing. Last in file
   + !important because `.mega-cust{width:…!important}` outranks a media query. */
@media (max-width:1180px){
.dropdown.mega.mega-one,
.dropdown.mega.mega-one.mega-cust,
.dropdown.mega.mega-one:has(.mega-feat a:nth-of-type(5)){grid-template-columns:minmax(0,1fr) 200px!important;width:min(800px,calc(100vw - 40px))!important}
.mega-promo{padding:20px 18px!important}
.dropdown.mega.mega-one.mega-cust:not(:has(.mega-feat a:nth-of-type(5))):not(:has(.mega-docs)){width:min(620px,calc(100vw - 40px))!important}
.dropdown.mega.mega-one:has(.mega-docs){width:min(860px,calc(100vw - 40px))!important}
.mega-promo-card b{font-size:14.5px!important}
.mega-promo-card em{font-size:13px!important}
}
@media (max-width:1080px){
.dropdown.mega.mega-one,
.dropdown.mega.mega-one.mega-cust,
.dropdown.mega.mega-one:has(.mega-feat a:nth-of-type(5)){grid-template-columns:minmax(0,1fr) 188px!important;width:min(740px,calc(100vw - 32px))!important}
.dropdown.mega.mega-one:has(.mega-docs){width:min(780px,calc(100vw - 32px))!important}
.mega-docs .mega-grps{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 18px}
}
