/* Fastchise landing page, round 3. Dark immersive layout in the Searchable palette (see DESIGN.md for the colour map). */
:root {
  /* Palette tokens */
  --accent: #F24900;
  --ink: #0A0A0A;
  --text: #1C1917;
  --text-2: #57534E;
  --text-3: #78716C;
  --border: #E7E5E4;
  --page: #FDFDFD;
  --white: #FFFFFF;
  /* Derived tints (documented in DESIGN.md) */
  --accent-deep: #B93500;
  --peach: #FCDBCC;
  --apricot: #F89B73;
  --sand: #B0ABA8;
  --ember: #7E2A05;

  --font: "Inter Tight", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --pad: clamp(20px, 6vw, 86px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; background: var(--ink); }
body { margin: 0; background: var(--ink); color: var(--white); font-family: var(--font); font-weight: 300; font-size: 18px; line-height: 1.45; overflow-x: clip; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, figure, blockquote { margin: 0; }
b, strong { font-weight: 600; }
button, input, select, textarea { font: inherit; color: inherit; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: var(--ink); padding: 10px 16px; border-radius: 999px; z-index: 100; }
.skip:focus { left: 12px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.wrap { padding-inline: var(--pad); max-width: 1600px; margin-inline: auto; position: relative; z-index: 2; }
section { position: relative; }
[data-prog] { --p: .5; }
[data-stage] { --s: 1; }

h1, h2 { font-weight: 200; letter-spacing: -.025em; line-height: 1.04; }
h1 { font-size: clamp(42px, 4.7vw, 70px); }
h2 { font-size: clamp(36px, 4.1vw, 60px); }
h1 b, h2 b { font-weight: 600; }
h1 b { white-space: nowrap; }

/* Glows */
.glow { position: absolute; pointer-events: none; border-radius: 50%; z-index: 0; }
.g1 { width: 1200px; height: 1200px; left: 8%; top: -520px; background: radial-gradient(closest-side, rgba(242, 73, 0, .3), rgba(242, 73, 0, 0)); }
.g2 { width: 1000px; height: 1000px; left: -300px; top: 4%; background: radial-gradient(closest-side, rgba(242, 73, 0, .2), rgba(242, 73, 0, 0)); }
.g3 { width: 1000px; height: 1000px; right: -300px; top: 10%; background: radial-gradient(closest-side, rgba(242, 73, 0, .16), rgba(242, 73, 0, 0)); }

/* Header */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 60; }
.hdr { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 22px 26px; gap: 16px; }
.logo { display: inline-flex; align-items: center; gap: 12px; font-size: 26px; font-weight: 500; letter-spacing: -.02em; width: fit-content; }
.logo-mark { width: 44px; height: 44px; flex: none; border-radius: 50%; }
.logo-text { white-space: nowrap; overflow: hidden; max-width: 320px; transition: max-width .45s var(--ease), opacity .3s; }
.pill-nav, .pill-right { display: flex; align-items: center; height: 58px; border-radius: 999px; background: rgba(28, 25, 23, .72); border: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); transition: opacity .35s, transform .45s var(--ease); }
.pill-nav { padding: 0 12px; position: relative; }
.pill-nav > a, .dd-btn { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 20px; border-radius: 999px; font-size: 16px; font-weight: 500; background: none; border: 0; cursor: pointer; transition: background .2s; }
.pill-nav > a:hover, .dd-btn:hover, .dd-btn[aria-expanded="true"] { background: rgba(255, 255, 255, .1); }
.chev { width: 11px; height: 8px; transition: transform .25s; }
.dd-btn[aria-expanded="true"] .chev { transform: rotate(180deg); }
.has-dd { position: relative; }
.dd-panel { position: absolute; top: calc(100% + 18px); left: 0; min-width: 300px; padding: 10px; background: var(--text); border: 1px solid rgba(255, 255, 255, .14); border-radius: 24px; box-shadow: 0 24px 60px rgba(10, 10, 10, .6); }
.dd-panel[hidden] { display: none; }
.dd-panel a { display: block; padding: 12px 16px; border-radius: 16px; }
.dd-panel a:hover, .dd-panel a:focus-visible { background: rgba(255, 255, 255, .08); }
.dd-panel strong { display: block; font-size: 16px; font-weight: 500; }
.dd-panel span { display: block; font-size: 14px; color: rgba(255, 255, 255, .66); }
.pill-right { justify-self: end; padding: 6px; gap: 4px; }
.sign-in { padding: 0 20px; font-size: 16px; font-weight: 500; }
.btn-demo { display: inline-flex; align-items: center; height: 46px; padding: 0 26px; border-radius: 999px; background: var(--accent); color: var(--ink); font-size: 16px; font-weight: 500; transition: transform .2s, background .2s; }
.btn-demo:hover { transform: translateY(-1px); background: var(--apricot); }
.menu-btn { display: none; justify-self: end; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2); background: rgba(28, 25, 23, .8); cursor: pointer; position: relative; }
.menu-btn .burger { position: absolute; left: 15px; top: 23px; width: 18px; height: 2px; background: var(--white); box-shadow: 0 -6px 0 var(--white), 0 6px 0 var(--white); transition: transform .25s; }
.menu-btn .burger::before { content: ""; position: absolute; inset: 0; background: var(--white); transition: transform .25s; }
.menu-btn[aria-expanded="true"] .burger { box-shadow: none; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] .burger::before { transform: rotate(90deg); }
.mobile-menu { position: absolute; left: 14px; right: 14px; top: 78px; padding: 12px; background: var(--text); border: 1px solid rgba(255, 255, 255, .14); border-radius: 28px; display: flex; flex-direction: column; box-shadow: 0 24px 60px rgba(10, 10, 10, .6); }
.mobile-menu[hidden] { display: none; }
.mobile-menu a { padding: 14px 16px; font-size: 20px; border-radius: 16px; }
.mobile-menu a:hover { background: rgba(255, 255, 255, .08); }
.mobile-menu .btn-demo { justify-content: center; margin-top: 8px; height: 54px; }
.scrolled .logo-text { max-width: 0; opacity: 0; }
.scrolled .logo-mark { box-shadow: 0 0 0 7px rgba(28, 25, 23, .8), 0 0 0 8px rgba(242, 73, 0, .5); }
.scrolled .pill-nav { opacity: 0; transform: translateY(-16px); pointer-events: none; }
.scrolled .sign-in { display: none; }
.scrolled .pill-right { background: none; border-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; padding: 0; }
.scrolled .btn-demo { box-shadow: 0 0 0 6px rgba(28, 25, 23, .8), 0 0 0 7px rgba(242, 73, 0, .5); }

/* Buttons */
.btn-accent { display: inline-flex; align-items: center; justify-content: space-between; gap: 34px; height: 58px; padding: 0 30px; border-radius: 999px; background: var(--accent); color: var(--ink); font-size: 17px; font-weight: 500; border: 0; cursor: pointer; transition: transform .25s var(--ease), background .2s; }
.btn-accent:hover { transform: translateY(-2px); background: var(--apricot); }
.arr { width: 56px; height: 11px; transition: transform .3s var(--ease); }
.btn-accent:hover .arr { transform: translateX(6px); }

/* Tags */
.ph-tag { display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; border: 1px dashed currentColor; opacity: .85; }
.ex-tag { position: absolute; top: 24px; right: 22px; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: rgba(10, 10, 10, .12); color: var(--ink); }
.ill-note { margin-top: 18px; font-size: 14px; color: rgba(255, 255, 255, .6); }

/* Hero */
.hero { padding-top: 170px; overflow: clip; }
.hero-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: 48px; align-items: end; }
.hero h1 { grid-column: 1; }
.hero-side { display: flex; flex-direction: column; gap: 34px; align-items: flex-start; padding-bottom: 10px; max-width: 520px; }
.hero-side p { font-size: 21px; line-height: 1.4; color: rgba(255, 255, 255, .92); }

/* Pre-approval cards */
.pcard { position: relative; flex: none; width: 338px; border-radius: 36px; overflow: hidden; background: var(--border); color: var(--ink); transition: transform .35s var(--ease), box-shadow .35s; }
.pcard.t-ok { background: var(--accent); }
.pcard.t-ver { background: var(--border); }
.pcard.t-need, .pcard.t-wait { background: var(--peach); }
.pc-top { position: relative; padding: 24px 26px 56px; min-height: 238px; }
.badge { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 14px 0 6px; border-radius: 999px; background: var(--ink); color: var(--white); font-size: 14px; font-weight: 500; }
.t-wait .badge { background: var(--ink); }
.bi { width: 18px; height: 18px; flex: none; }
.bi.lg { width: 52px; height: 52px; }
.pc-name { margin-top: 20px; font-size: 44px; line-height: 1; font-weight: 300; letter-spacing: -.03em; }
.pc-cat { margin-top: 14px; font-size: 20px; font-weight: 300; }
.pc-photo { position: relative; margin-top: -30px; border-radius: 34px 34px 0 0; overflow: hidden; background: var(--text-2); }
.pc-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.pc-figs { position: absolute; left: 12px; right: 12px; bottom: 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pc-figs div { padding: 10px 14px; border-radius: 16px; background: rgba(10, 10, 10, .52); border: 1px solid rgba(255, 255, 255, .2); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); color: var(--white); }
.pc-figs span { display: block; font-size: 12px; color: rgba(255, 255, 255, .78); }
.pc-figs strong { display: block; font-size: 24px; font-weight: 300; letter-spacing: -.02em; white-space: nowrap; }
.pcard:hover { transform: translateY(-8px); box-shadow: 0 30px 60px rgba(242, 73, 0, .22); }

/* Marquees */
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, rgba(10, 10, 10, 0), var(--ink) 7%, var(--ink) 93%, rgba(10, 10, 10, 0)); mask-image: linear-gradient(90deg, rgba(10, 10, 10, 0), var(--ink) 7%, var(--ink) 93%, rgba(10, 10, 10, 0)); }
.marquee .track { display: flex; width: max-content; --gap: 24px; }
.marquee .track > li { margin-right: var(--gap); flex: none; }
.marquee-run .track { animation: marquee-left 90s linear infinite; }
.marquee-cats.marquee-run .track { animation-duration: 70s; }
.marquee-chips.marquee-run .track { animation-duration: 50s; animation-direction: reverse; }
.marquee:hover .track, .marquee:focus .track, .marquee:focus-within .track { animation-play-state: paused; }
@keyframes marquee-left { to { transform: translateX(-50%); } }
.marquee-cards { margin-top: 70px; padding-top: 14px; }

/* Scene */
.scene { height: 230vh; }
.stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.rings { position: absolute; width: min(70vw, 940px); right: -6vw; top: -6%; z-index: 1; transform: scale(calc(.86 + var(--s) * .16)); transform-origin: 60% 50%; }
.scene-photo { position: absolute; left: 0; right: 0; bottom: 0; height: 62%; z-index: 2; clip-path: inset(calc((1 - var(--s)) * 16%) calc((1 - var(--s)) * 10%) 0 calc((1 - var(--s)) * 10%) round 48px 48px 0 0); }
.scene-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; transform: scale(calc(1 + (1 - var(--s)) * .14)); }
.scene-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--ink) 0%, rgba(10, 10, 10, .35) 30%, rgba(10, 10, 10, 0) 55%), linear-gradient(0deg, rgba(10, 10, 10, .35), rgba(10, 10, 10, 0) 40%); }
.scene-head { position: absolute; z-index: 4; left: var(--pad); top: 15%; opacity: min(1, calc(.12 + var(--s) * 2.2)); }
.stat-card { position: absolute; z-index: 5; left: var(--pad); top: 29%; width: min(520px, 44vw); padding: 28px 32px 30px; border-radius: 34px; background: rgba(231, 229, 228, .84); color: var(--ink); backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px); box-shadow: 0 30px 70px rgba(10, 10, 10, .45); transform: translateY(calc((1 - var(--s)) * 90px)); opacity: min(1, calc(.1 + var(--s) * 3)); }
.stat-card .big { display: block; margin-top: 12px; font-size: clamp(64px, 8vw, 118px); font-weight: 200; letter-spacing: -.04em; line-height: 1; }
.stat-card p { font-size: 22px; margin-top: 8px; }
.stat-card .up { position: absolute; right: 26px; top: 0; width: 34px; height: 54px; border-radius: 0 0 14px 14px; background: var(--ink); display: grid; place-items: center; }
.stat-card .up svg { width: 16px; height: 16px; }
.mini { position: absolute; z-index: 5; width: clamp(130px, 13vw, 190px); padding: 5px 5px 0; border-radius: 26px; background: var(--white); color: var(--ink); box-shadow: 0 24px 50px rgba(10, 10, 10, .5); }
.mini img { width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; border-radius: 21px; }
.mini figcaption { padding: 8px 10px 10px; }
.mini b { display: block; font-size: 18px; font-weight: 500; letter-spacing: -.02em; }
.mini small { font-size: 12px; color: var(--text-2); }
.mini .ex-tag { top: 12px; right: 12px; background: rgba(10, 10, 10, .72); color: var(--white); }
.m1 { right: 20vw; top: 6%; transform: translateY(calc(var(--s) * -50px)) rotate(-3deg); }
.m2 { right: 6vw; top: 33%; transform: translateY(calc(var(--s) * -110px)) rotate(4deg); }
.m3 { right: 30vw; top: 44%; transform: translateY(calc(var(--s) * -80px)) rotate(-2deg); }
.dot { position: absolute; z-index: 3; width: 20px; height: 20px; border-radius: 6px; }
.d1 { right: 34vw; top: 14%; background: var(--peach); transform: translateY(calc(var(--s) * -30px)); }
.d2 { right: 27vw; top: 28%; width: 10px; height: 10px; background: var(--white); transform: translateY(calc(var(--s) * -70px)); }
.d3 { right: 12vw; top: 10%; background: var(--apricot); transform: translateY(calc(var(--s) * -45px)); }
.d4 { right: 3vw; top: 24%; width: 14px; height: 14px; background: var(--border); transform: translateY(calc(var(--s) * -90px)); }
.d5 { right: 40vw; top: 32%; width: 12px; height: 12px; border: 2px solid var(--accent); transform: translateY(calc(var(--s) * -60px)); }

/* Ticker */
.ticker { padding: 36px 0 70px; }
.marquee-chips .track > li { font-size: clamp(34px, 4vw, 56px); font-weight: 200; letter-spacing: -.02em; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .5); }
.marquee-chips .track > li::after { content: "\2022"; margin-left: 40px; color: var(--accent); -webkit-text-stroke: 0; }
.marquee-chips .track { --gap: 40px; }

/* Pain */
.pain { padding: 120px 0 160px; overflow: clip; }
.pain-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.pain-copy { max-width: 600px; }
.pain-copy h2 { margin-bottom: 56px; }
.pain-num { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; color: var(--apricot); }
.pain-num strong { font-size: clamp(80px, 9vw, 130px); font-weight: 200; letter-spacing: -.04em; line-height: 1; }
.pain-copy p { font-size: 22px; line-height: 1.35; margin-top: 18px; }
.pain-copy .soft { color: rgba(255, 255, 255, .72); font-size: 20px; }
.fan { position: relative; height: 640px; width: 100%; max-width: 640px; margin-left: auto; }
.fan .pcard { position: absolute; left: 0; top: 0; transform-origin: 0 50%; }
.fan .pcard.top { z-index: 10; }
.fan .back { z-index: calc(10 - var(--i)); width: 338px; transform: translate(calc(var(--i) * (26px + min(1, var(--p) * 2.4) * 22px)), calc(var(--i) * 8px)) scale(calc(1 - var(--i) * .045)); filter: brightness(calc(1 - var(--i) * .1)); box-shadow: -16px 0 40px rgba(10, 10, 10, .5); }
.fan .back .pc-top { min-height: 238px; padding: 0; }
.fan .back.b1 { background: var(--apricot); }
.fan .back.b2 { background: var(--border); }
.fan .back.b3 { background: var(--accent); }
.fan .back.b4 { background: var(--peach); }
.fan .back.b5 { background: var(--sand); }
.fan .top { box-shadow: 0 30px 70px rgba(10, 10, 10, .55); }
.fan .top:hover { transform: none; box-shadow: 0 30px 70px rgba(10, 10, 10, .55); }
.t-wait .pc-cat { font-size: 34px; color: var(--accent-deep); font-weight: 500; margin-top: 10px; letter-spacing: -.02em; }

/* Feature band */
.feature { padding: 150px 0 200px; overflow: clip; }
.feature-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 70px; align-items: center; }
.feature-visual { position: relative; display: flex; align-items: flex-start; min-height: 640px; }
.fcard { width: 320px; }
.chips { position: absolute; left: 300px; top: 100px; display: flex; flex-direction: column; gap: 14px; z-index: 3; }
.chips li { display: flex; align-items: center; gap: 14px; width: max-content; min-width: 250px; padding: 14px 18px; border-radius: 18px; background: rgba(28, 25, 23, .86); border: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 16px 40px rgba(10, 10, 10, .5); font-size: 16px; font-weight: 500; transform: translateX(calc((1 - min(1, var(--p) * 2.4)) * -60px)); opacity: min(1, calc(.2 + var(--p) * 3)); }
.chips li:nth-child(2) { margin-left: 28px; }
.chips li:nth-child(3) { margin-left: 14px; }
.chips li:nth-child(4) { margin-left: 42px; }
.chips .ci { width: 34px; height: 34px; flex: none; }
.chips .ok { width: 20px; height: 20px; flex: none; margin-left: auto; }
.chips small { display: block; font-size: 13px; font-weight: 300; color: rgba(255, 255, 255, .7); }
.feature-copy h2 { margin-bottom: 44px; }
.feature-copy h3 { font-size: 22px; font-weight: 500; margin: 34px 0 14px; }
.dots li { position: relative; padding-left: 26px; font-size: 21px; line-height: 1.35; margin-bottom: 10px; color: rgba(255, 255, 255, .92); }
.dots li::before { content: ""; position: absolute; left: 4px; top: .6em; width: 6px; height: 6px; background: var(--accent); }

/* Bars */
.bars { position: absolute; left: 0; bottom: 0; width: 70%; height: 80%; display: flex; align-items: flex-end; gap: 7px; z-index: 0; pointer-events: none; -webkit-mask-image: linear-gradient(90deg, var(--ink), var(--ink) 60%, rgba(10, 10, 10, 0)); mask-image: linear-gradient(90deg, var(--ink), var(--ink) 60%, rgba(10, 10, 10, 0)); transform: translateX(calc((1 - var(--p)) * -60px)); }
.bars i { flex: 1 1 0; min-width: 4px; height: calc(var(--h) * 1%); background: linear-gradient(180deg, var(--accent) 0%, var(--apricot) 55%, var(--white) 100%); border-radius: 3px 3px 0 0; opacity: .72; transform-origin: bottom; transform: scaleY(calc(.45 + min(1, var(--p) * 2) * .55)); }
.bars-r { left: auto; right: 0; justify-content: flex-end; -webkit-mask-image: linear-gradient(270deg, var(--ink), var(--ink) 55%, rgba(10, 10, 10, 0)); mask-image: linear-gradient(270deg, var(--ink), var(--ink) 55%, rgba(10, 10, 10, 0)); transform: translateX(calc((1 - var(--p)) * 60px)); }
.bars-r i { }
.bars-l { height: 70%; }

/* Security */
.security { padding: 120px 0 140px; overflow: clip; }
.security-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.security-copy { max-width: 560px; }
.security-copy h2 { margin-bottom: 26px; }
.security-copy > p { font-size: 22px; line-height: 1.35; margin-bottom: 26px; color: rgba(255, 255, 255, .9); }
.security-copy .note { display: flex; gap: 14px; align-items: center; margin-top: 28px; font-size: 15px; color: rgba(255, 255, 255, .6); }
.emblem { order: -1; position: relative; width: min(100%, 600px); margin-inline: auto; aspect-ratio: 1; }
.emblem svg { width: 100%; height: 100%; overflow: visible; }
.e-rings { transform-origin: 300px 300px; transform: scale(calc(.9 + var(--p) * .2)); }
.emblem::after { content: ""; position: absolute; inset: 22%; border-radius: 50%; box-shadow: 0 0 120px 30px rgba(242, 73, 0, .32); z-index: -1; }
.js .emblem svg > path:first-of-type { filter: drop-shadow(0 0 22px rgba(242, 73, 0, .5)); }

/* Experience */
.experience { padding: 140px 0; overflow: clip; }
.exp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.exp-copy h2 { margin-bottom: 30px; max-width: 560px; }
.exp-copy p { font-size: 22px; }
.exp-visual { position: relative; display: flex; justify-content: center; padding: 0 0 40px; }
.exp-photo { width: min(100%, 520px); border-radius: 40px; overflow: hidden; transform: translateY(calc((.5 - var(--p)) * 50px)); }
.exp-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.quote-card { position: absolute; z-index: 3; width: min(300px, 62%); padding: 20px 22px; border-radius: 26px; background: rgba(253, 253, 253, .95); color: var(--ink); box-shadow: 0 24px 50px rgba(10, 10, 10, .45); }
.quote-card blockquote { margin: 12px 0 10px; font-size: 21px; line-height: 1.25; letter-spacing: -.01em; }
.quote-card figcaption { font-size: 14px; color: var(--text-2); }
.quote-card .ph-tag { color: var(--text-2); }
.q1 { left: 0; bottom: 0; transform: translateY(calc((.5 - var(--p)) * -90px)); }
.q2 { right: 0; top: 30px; transform: translateY(calc((.5 - var(--p)) * -140px)); }

/* Brands */
.brands { padding: 100px 0 110px; }
.brands h2 { margin-bottom: 56px; max-width: 900px; }
.marquee-cats .track { --gap: 20px; }
.marquee-cats .track > li { padding: 18px 34px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .24); background: rgba(255, 255, 255, .04); font-size: 26px; font-weight: 300; letter-spacing: -.01em; white-space: nowrap; }

/* Partners: logo strip and broker cards. Rendered by partners.js only when data/partners.json holds entries with written consent (docs/PARTNERS.md). */
.partners { padding: 0 0 120px; }
.logo-strip { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, rgba(10, 10, 10, 0), var(--ink) 6%, var(--ink) 94%, rgba(10, 10, 10, 0)); mask-image: linear-gradient(90deg, rgba(10, 10, 10, 0), var(--ink) 6%, var(--ink) 94%, rgba(10, 10, 10, 0)); margin-bottom: 40px; }
.logo-strip .track { display: flex; align-items: center; width: max-content; padding-block: 44px; --gap: 60px; }
.logo-strip .track > li { flex: none; margin-right: var(--gap); }
.logo-strip img { display: block; height: 46px; width: auto; max-width: 220px; opacity: .72; filter: brightness(0) invert(1); transition: opacity .25s; }
.logo-strip a:hover img, .logo-strip a:focus-visible img { opacity: 1; }
.logo-strip a { display: block; }
.logo-run .track { animation: logo-right var(--dur, 90s) linear infinite; }
.logo-strip:hover .track, .logo-strip:focus .track, .logo-strip:focus-within .track { animation-play-state: paused; }
@keyframes logo-right { from { transform: translateX(-50%); } to { transform: translateX(0); } }
.partners-grid { display: grid; grid-template-columns: minmax(0, 546px) minmax(0, 520px); gap: 80px; justify-content: space-between; align-items: center; }
.partners-grid-solo { grid-template-columns: minmax(0, 900px); justify-content: start; margin-bottom: 24px; }
.partners-grid-solo + .logo-strip { margin-bottom: 0; }
.partners-copy h2 { margin-bottom: 24px; }
.partners-copy p { font-size: 20px; color: rgba(255, 255, 255, .8); }
/* The carousel is wider than its column so the neighbouring cards peek in; the active card lines up with the column edge. */
.bk-carousel { width: calc(100% / .78); margin-left: calc(-100% * .11 / .78); min-width: 0; }
.bk-viewport { overflow: hidden; padding-bottom: 48px; margin-bottom: -48px; -webkit-mask-image: linear-gradient(90deg, rgba(10, 10, 10, 0), var(--ink) 11%, var(--ink) 89%, rgba(10, 10, 10, 0)); mask-image: linear-gradient(90deg, rgba(10, 10, 10, 0), var(--ink) 11%, var(--ink) 89%, rgba(10, 10, 10, 0)); touch-action: pan-y; }
.bk-track { display: flex; transition: transform .8s var(--ease); }
.bk-card { flex: 0 0 78%; margin-inline: 11%; display: flex; flex-direction: column; border-radius: 32px; overflow: hidden; background: var(--white); color: var(--ink); box-shadow: 0 24px 18px rgba(10, 10, 10, .25); }
.bk-top { position: relative; display: grid; place-items: center; height: 220px; padding: 32px; background: var(--text); overflow: hidden; }
.bk-top::before { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 90% at 50% 125%, rgba(242, 73, 0, .5), rgba(242, 73, 0, 0)); }
.bk-logo { position: relative; display: block; width: auto; height: auto; max-width: 70%; max-height: 72px; filter: brightness(0) invert(1); }
.bk-body { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; flex: 1; padding: 32px; }
.bk-name { font-size: 14px; font-weight: 600; letter-spacing: .02em; }
.bk-blurb { flex: 1; font-size: 22px; font-weight: 300; line-height: 1.27; letter-spacing: -.01em; }
.bk-link { display: inline-flex; align-items: center; gap: 14px; font-size: 16px; font-weight: 500; transition: color .2s; }
.bk-link:hover { color: var(--accent-deep); }
.bk-link .arr { width: 44px; height: 9px; }
.bk-link:hover .arr { transform: translateX(6px); }

/* Carousel */
.stories { padding: 60px 0 140px; }
.stories-grid { display: grid; grid-template-columns: minmax(0, 480px) 1fr; gap: 80px; align-items: center; }
.stories-grid > * { min-width: 0; }
.stories-copy { max-width: 520px; }
.stories-copy h2 { margin-bottom: 24px; }
.stories-copy p { font-size: 20px; color: rgba(255, 255, 255, .8); }
.carousel { width: 100%; }
.viewport { overflow: hidden; border-radius: 40px; background: rgba(231, 229, 228, .94); color: var(--ink); touch-action: pan-y; }
.slides { display: flex; transition: transform .7s var(--ease); }
.slide { flex: 0 0 100%; min-height: 420px; padding: 36px 34px; display: flex; flex-direction: column; justify-content: space-between; gap: 30px; }
.slide .ph-tag { align-self: flex-start; color: var(--text-2); }
.slide blockquote { font-size: clamp(26px, 2.4vw, 34px); font-weight: 200; line-height: 1.12; letter-spacing: -.025em; }
.slide figcaption { display: flex; gap: 14px; align-items: baseline; font-size: 17px; color: var(--text-2); flex-wrap: wrap; }
.slide figcaption strong { color: var(--ink); font-weight: 500; }
.dots-nav { display: flex; justify-content: center; gap: 10px; margin-top: 26px; }
.cdot { width: 12px; height: 12px; border-radius: 50%; border: 0; padding: 0; background: rgba(255, 255, 255, .3); cursor: pointer; position: relative; transition: width .3s var(--ease); }
.cdot::before { content: ""; position: absolute; inset: -12px -5px; }
.cdot[aria-current="true"] { background: var(--accent); width: 34px; border-radius: 999px; }

/* Support */
.support { padding: 140px 0 200px; overflow: clip; }
.support-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.support-copy { max-width: 600px; }
.support-copy h2 { margin-bottom: 36px; }
.support-copy > p { font-size: 22px; line-height: 1.35; }
.big-line { margin-top: 36px; font-size: clamp(28px, 2.8vw, 40px) !important; font-weight: 200; letter-spacing: -.02em; line-height: 1.12 !important; }
.small-stat { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 34px; font-size: 18px !important; color: rgba(255, 255, 255, .8); }
.small-stat strong { font-size: 28px; font-weight: 300; color: var(--apricot); }
.support-photo { justify-self: end; width: min(100%, 580px); border-radius: 40px; overflow: hidden; box-shadow: 0 40px 80px rgba(10, 10, 10, .55); transform: translateY(calc((.5 - var(--p)) * 60px)); }
.support-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

/* Demo */
.demo { padding: 130px 0 160px; overflow: clip; }
.demo-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: center; }
.form-card { position: relative; z-index: 3; max-width: 520px; padding: 40px 38px 42px; border-radius: 36px; background: var(--white); color: var(--ink); box-shadow: 0 40px 90px rgba(10, 10, 10, .6); }
.form-card h2 { font-size: 40px; font-weight: 300; margin-bottom: 26px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 6px; color: var(--text); }
.opt { font-weight: 300; color: var(--text-2); }
.field input, .field select, .field textarea { width: 100%; height: 52px; padding: 0 16px; border-radius: 14px; border: 1px solid var(--border); background: var(--page); color: var(--ink); font-size: 16px; font-weight: 400; appearance: none; -webkit-appearance: none; }
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--text-2) 50%), linear-gradient(135deg, var(--text-2) 50%, transparent 50%); background-position: calc(100% - 22px) 23px, calc(100% - 16px) 23px; background-size: 6px 6px; background-repeat: no-repeat; }
.field textarea { height: auto; padding: 14px 16px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.field .invalid { border-color: var(--accent-deep); }
.err { margin-top: 6px; font-size: 14px; color: var(--accent-deep); font-weight: 500; }
.err[hidden] { display: none; }
.submit { width: 100%; margin-top: 8px; }
.submit[aria-busy="true"] { opacity: .7; cursor: progress; }
.send-err { margin-top: 12px; font-size: 15px; }
.send-err a { color: inherit; text-decoration: underline; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }
.thanks { text-align: left; padding: 10px 0; }
.thanks[hidden] { display: none; }
.thanks h3 { font-size: 40px; font-weight: 300; margin: 18px 0 8px; letter-spacing: -.02em; }
.thanks p { font-size: 19px; color: var(--text); }
.thanks .small { margin-top: 18px; font-size: 14px; color: var(--text-2); }
.demo-copy { max-width: 560px; justify-self: end; }
.demo-copy h2 { margin-bottom: 26px; }
.demo-copy p { font-size: 22px; color: rgba(255, 255, 255, .85); }

/* Footer */
.site-footer { position: relative; z-index: 2; border-top: 1px solid rgba(255, 255, 255, .12); padding: 80px 0 40px; background: var(--ink); }
.foot-grid { display: grid; grid-template-columns: repeat(3, auto) 1fr; gap: 40px 90px; align-items: start; }
.foot-grid nav { display: flex; flex-direction: column; gap: 12px; }
.foot-h { font-size: 14px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .55); margin-bottom: 6px; }
.foot-grid nav a { font-size: 18px; color: rgba(255, 255, 255, .88); }
.foot-grid nav a:hover { color: var(--accent); }
.foot-logo { justify-self: end; }
.legal { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 70px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 14px; color: rgba(255, 255, 255, .6); }

/* Reveals (added by JS only) */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s var(--ease) var(--d, 0ms), transform .8s var(--ease) var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }

/* Tablet and mobile */
@media (max-width: 1100px) {
  .pill-nav > a, .dd-btn { padding: 0 14px; }
  .hero-grid { grid-template-columns: 1fr; gap: 28px; align-items: start; }
  .hero-side { max-width: 560px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-visual { min-height: 0; flex-direction: column; align-items: flex-start; gap: 24px; }
  .chips { position: relative; left: auto; top: auto; }
  .chips li:nth-child(n) { margin-left: 0; }
  .demo-grid { grid-template-columns: 1fr; }
  .demo-copy { order: -1; justify-self: start; }
  .form-card { max-width: 640px; }
}
@media (max-width: 900px) {
  .stories-grid { grid-template-columns: 1fr; gap: 40px; }
  .stories-copy { order: -1; }
  .partners-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .partners-grid .partners-copy { order: -1; }
  .partners-grid .bk-carousel { width: 100%; margin-left: 0; }
  .hdr { grid-template-columns: 1fr auto; padding: 14px 16px; }
  .pill-nav, .pill-right { display: none; }
  .menu-btn { display: block; }
  .logo { font-size: 22px; }
  .logo-mark { width: 40px; height: 40px; }
  .emblem { order: 0; }
  .pain-grid, .security-grid, .exp-grid, .support-grid { grid-template-columns: 1fr; gap: 50px; }
  .fan { max-width: 520px; margin: 0 auto; height: 600px; }
  .foot-grid { grid-template-columns: repeat(2, auto); justify-content: start; }
  .foot-logo { justify-self: start; order: -1; grid-column: 1 / -1; }
  .support-photo { justify-self: start; }
  .support-grid { display: flex; flex-direction: column-reverse; align-items: stretch; }
  .support-copy { max-width: none; }
}
@media (max-width: 700px) {
  body { font-size: 17px; }
  .hero { padding-top: 120px; }
  .hero-side p { font-size: 18px; }
  .pcard { width: 272px; border-radius: 30px; }
  .pc-top { min-height: 200px; padding: 20px 20px 50px; }
  .pc-name { font-size: 36px; margin-top: 16px; }
  .pc-cat { font-size: 17px; }
  .pc-figs strong { font-size: 19px; }
  .pc-figs div { padding: 8px 10px; }
  .marquee .track { --gap: 16px; }
  .marquee-cards { margin-top: 44px; }
  .scene { height: 200vh; }
  .scene-head { top: 12%; }
  .stat-card { top: 24%; width: calc(100% - 2 * var(--pad)); padding: 22px 24px 24px; }
  .stat-card .big { font-size: 64px; }
  .stat-card p { font-size: 18px; }
  .scene-photo { height: 52%; }
  .rings { width: 130vw; right: -40vw; top: 2%; }
  .mini { width: 118px; }
  .mini b { font-size: 14px; }
  .mini figcaption { padding: 6px 8px 8px; }
  .m1 { right: 6vw; top: 52%; }
  .m2 { right: auto; left: 8vw; top: 66%; }
  .m3, .d1, .d2, .d5 { display: none; }
  .ticker { padding: 20px 0 50px; }
  .pain { padding: 80px 0 100px; }
  .pain-copy h2 { margin-bottom: 36px; }
  .pain-copy p { font-size: 19px; }
  .fan { height: 560px; max-width: 380px; margin-left: 0; }
  .fan .pcard.top, .fan .back { width: 272px; }
  .feature { padding: 90px 0 130px; }
  .fcard { width: 272px; }
  .chips li { min-width: 0; width: 100%; max-width: 330px; }
  .dots li { font-size: 18px; }
  .security, .experience, .support { padding: 80px 0; }
  .security-copy > p, .exp-copy p, .support-copy > p, .demo-copy p { font-size: 19px; }
  .exp-visual { padding-bottom: 60px; }
  .quote-card { width: 78%; }
  .q1 { left: -4px; bottom: 0; }
  .q2 { right: -4px; top: -20px; }
  .brands { padding: 70px 0; }
  .marquee-cats .track > li { font-size: 20px; padding: 14px 24px; }
  .partners { padding-bottom: 80px; }
  .logo-strip { margin-bottom: 24px; }
  .logo-strip .track { --gap: 44px; padding-block: 30px; }
  .logo-strip img { height: 38px; max-width: 170px; }
  .bk-viewport { -webkit-mask-image: none; mask-image: none; }
  .bk-card { flex-basis: 100%; margin-inline: 0; border-radius: 28px; }
  .bk-top { height: 180px; }
  .bk-body { padding: 26px 24px 28px; }
  .bk-blurb { font-size: 19px; }
  .stories { padding: 30px 0 90px; }
  .viewport { border-radius: 30px; }
  .slide { min-height: 340px; padding: 32px 24px; }
  .demo { padding: 90px 0 110px; }
  .form-card { padding: 30px 22px 32px; border-radius: 28px; }
  .site-footer { padding: 60px 0 30px; }
  .legal { margin-top: 40px; }
}

/* Reduced motion: everything visible, nothing moves */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee .track { animation: none !important; }
  .marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .logo-strip { -webkit-mask-image: none; mask-image: none; }
  .logo-strip .track { animation: none !important; width: auto; flex-wrap: wrap; justify-content: center; gap: 28px 44px; padding-inline: var(--pad); }
  .logo-strip .track > li { margin-right: 0; }
  .logo-strip img { transition: none; }
  .bk-track, .bk-link, .bk-link .arr { transition: none; }
  .scene { height: auto; }
  .stage { position: relative; height: 100svh; }
  .slides, .logo-text, .pill-nav, .btn-demo, .pcard, .arr { transition: none; }
  .pcard:hover { transform: none; }
}
