/* morewalkins home page (launched 2026-12-05, first drafted as delta.morewalkins.com): night city, warm shop light, motion everywhere.
   Everything respects prefers-reduced-motion.
   Two themes, one page: dark (default) and light, for an A/B test (the inline script in index.html picks one per page
   load). Light-only rules are written `:where([data-theme=light]) <selector>` right after the rule they change, so they
   keep the same strength and order as the dark rule. When you change a colour, change it for both themes. */
@font-face { font-family: "Bricolage"; src: url("/fonts/bricolage.woff2") format("woff2"); font-weight: 400 800; font-display: swap; }
:root {
  color-scheme: dark;
  --night: #07080d; --night2: #0d0f18; --panel: rgba(255,255,255,.045); --panel2: rgba(255,255,255,.08); --line: rgba(255,255,255,.1);
  --ink: #f4f0e8; --muted: #a9a6b8; --faint: #6f6c80;
  --amber: #ffb547; --coral: #ff6a3d; --violet: #8f7cff; --mint: #45e3b8;
  --warm: linear-gradient(100deg, var(--amber), var(--coral) 55%, var(--violet));
  --display: "Bricolage", system-ui, sans-serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 76rem;
}
:root[data-theme=light] { color-scheme: light; --night: #fbf8f3; --night2: #f4eee5; --panel: rgba(31,27,22,0.027); --panel2: rgba(31,27,22,0.048); --line: rgba(31,27,22,0.06); --ink: #1f1b16; --muted: #5a5248; --faint: #847b70; --amber: #c2410c; --coral: #ea580c; --violet: #0f766e; --mint: #15803d; }
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
body { margin: 0; background: var(--night); color: var(--ink); font: 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: var(--amber); text-underline-offset: .2em; }
h1, h2, h3 { font-family: var(--display); line-height: 1.02; margin: 0; letter-spacing: -.025em; }
h2 { font-size: clamp(2.3rem, 6vw, 4.6rem); font-weight: 800; }
h3 { font-size: 1.35rem; font-weight: 700; letter-spacing: -.01em; line-height: 1.2; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 1.4rem; }
.warm { background: var(--warm); -webkit-background-clip: text; background-clip: text; color: transparent; }
.kicker { display: inline-flex; align-items: center; gap: .6rem; font: 600 .78rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--amber); margin-bottom: 1.2rem; }
.kicker::before { content: ""; width: 1.8rem; height: 2px; background: var(--warm); border-radius: 2px; }
.sub { color: var(--muted); font-size: 1.12rem; max-width: 38rem; margin-top: 1.2rem; }
.skip { position: absolute; left: -999px; top: .5rem; background: var(--ink); color: var(--night); padding: .5rem 1rem; border-radius: .5rem; z-index: 100; }
:where([data-theme=light]) .skip { color: var(--on); }
.skip:focus { left: .5rem; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: .4rem; }
section { position: relative; padding: 8rem 0; }
@media (max-width: 760px) { section { padding: 5rem 0; } }

/* Film grain + scroll progress + cursor glow */
.grain { position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .06; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1s steps(6) infinite; }
@keyframes grain { 0%{transform:translate(0,0)} 20%{transform:translate(-3%,2%)} 40%{transform:translate(2%,-3%)} 60%{transform:translate(-2%,-1%)} 80%{transform:translate(3%,3%)} 100%{transform:translate(0,0)} }
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: var(--warm); z-index: 80; }
.glow { position: fixed; left: 0; top: 0; width: 36rem; height: 36rem; margin: -18rem 0 0 -18rem; border-radius: 50%; pointer-events: none; z-index: 1;
  background: radial-gradient(circle, rgba(255,181,71,.10), transparent 60%); transition: opacity .3s; opacity: 0; }
:where([data-theme=light]) .glow { background: radial-gradient(circle, rgba(194,65,12,.10), transparent 60%); }
@media (hover: hover) and (pointer: fine) { .glow { opacity: 1; } }

/* Header */
.top { position: fixed; top: 0; left: 0; right: 0; z-index: 70; transition: background .3s, backdrop-filter .3s, border-color .3s; border-bottom: 1px solid transparent; }
.top.solid { background: rgba(7,8,13,.72); backdrop-filter: blur(14px) saturate(1.4); border-color: var(--line); }
:where([data-theme=light]) .top.solid { background: rgba(251,248,243,0.82); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 4.4rem; }
.brand { display: flex; align-items: center; gap: .6rem; color: var(--ink); text-decoration: none; font: 700 1.2rem/1 var(--display); letter-spacing: -.02em; }
.brand .logo { width: 2.1rem; height: 2.1rem; border-radius: .6rem; background: var(--warm); color: var(--night); display: grid; place-items: center; font-weight: 800; font-size: 1.3rem; box-shadow: 0 0 24px rgba(255,140,60,.45); }
:where([data-theme=light]) .brand .logo { color: var(--on); box-shadow: 0 0 24px rgba(234,88,12,.45); }
.brand em { font-style: normal; color: var(--amber); }
.nav { display: flex; align-items: center; gap: 1.8rem; list-style: none; margin: 0; padding: 0; }
.nav a { color: var(--muted); text-decoration: none; font-size: .95rem; transition: color .2s; }
.nav a:hover { color: var(--ink); }
.nav a.btn, .nav a.btn:hover { color: var(--night); }
:where([data-theme=light]) .nav a.btn, :where([data-theme=light]) .nav a.btn:hover { color: var(--on); }
@media (max-width: 860px) { .nav .hide-sm { display: none; } }

/* Buttons (magnetic on desktop) */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .95rem 1.6rem; border-radius: 999px; border: 0;
  font: 700 1rem/1 var(--sans); text-decoration: none; cursor: pointer; white-space: nowrap; color: var(--night); background: var(--warm); background-size: 200% 100%;
  box-shadow: 0 10px 30px -8px rgba(255,106,61,.6); transition: background-position .5s, box-shadow .3s, transform .2s; will-change: transform; }
:where([data-theme=light]) .btn { color: var(--on); box-shadow: 0 10px 30px -8px rgba(234,88,12,.6); }
.btn:hover { background-position: 100% 0; box-shadow: 0 14px 40px -8px rgba(143,124,255,.7); color: var(--night); }
:where([data-theme=light]) .btn:hover { box-shadow: 0 14px 40px -8px rgba(15,118,110,.7); color: var(--on); }
.btn.ghost { background: var(--panel); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); backdrop-filter: blur(8px); }
.btn.ghost:hover { background: var(--panel2); color: var(--ink); }
.btn.small { padding: .65rem 1.15rem; font-size: .92rem; }
.btn[disabled] { opacity: .6; cursor: wait; }

/* Reveal on scroll */
.rv { opacity: 0; transform: translateY(40px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); }
.rv.in { opacity: 1; transform: none; }
.split-words .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split-words .w > span { display: inline-block; transform: translateY(110%); transition: transform 1s cubic-bezier(.2,.8,.2,1); transition-delay: calc(var(--i) * 55ms); }
.split-words.in .w > span { transform: none; }

/* HERO */
.hero { min-height: 100svh; display: flex; align-items: center; padding: 7rem 0 5rem; overflow: hidden; isolation: isolate; }
#city { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(70rem 40rem at 20% 50%, rgba(7,8,13,.85), rgba(7,8,13,.35) 60%, transparent), linear-gradient(to bottom, transparent 70%, var(--night)); }
:where([data-theme=light]) .hero::after { background: radial-gradient(70rem 40rem at 20% 50%, rgba(251,248,243,0.95), rgba(251,248,243,0.45) 60%, transparent), linear-gradient(to bottom, transparent 70%, var(--night)); }
.hero .wrap { width: 100%; display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center; }
@media (max-width: 960px) { .hero .wrap { grid-template-columns: 1fr; } }
.hero h1 { font-size: clamp(3.4rem, 10vw, 8.2rem); font-weight: 800; letter-spacing: -.045em; line-height: .92; }
.hero .rot { display: block; font-size: clamp(1.6rem, 4vw, 2.6rem); font-weight: 600; letter-spacing: -.02em; margin-top: 1.2rem; color: var(--muted); min-height: 1.2em; }
.hero .rot b { color: var(--ink); font-weight: 700; border-bottom: 3px solid var(--amber); }
.hero .lead { color: var(--muted); font-size: 1.15rem; max-width: 34rem; margin-top: 1.6rem; }
.hero .actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.2rem; }
.walkins { margin-top: 2.2rem; display: inline-flex; align-items: center; gap: .7rem; padding: .55rem 1rem .55rem .7rem; border-radius: 999px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); font-size: .9rem; color: var(--muted); backdrop-filter: blur(6px); }
.walkins .pulse { width: .65rem; height: .65rem; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 0 rgba(69,227,184,.6); animation: pulse 1.8s infinite; }
:where([data-theme=light]) .walkins .pulse { box-shadow: 0 0 0 0 rgba(21,128,61,.6); }
@keyframes pulse { 70% { box-shadow: 0 0 0 .7rem rgba(69,227,184,0); } 100% { box-shadow: 0 0 0 0 rgba(69,227,184,0); } }
.walkins b { color: var(--ink); font-variant-numeric: tabular-nums; }
.scroll-hint { position: absolute; bottom: 1.6rem; left: 50%; transform: translateX(-50%); width: 1.6rem; height: 2.6rem; border-radius: 1rem; box-shadow: inset 0 0 0 2px var(--line); }
.scroll-hint::after { content: ""; position: absolute; left: 50%; top: .5rem; width: 4px; height: .55rem; margin-left: -2px; border-radius: 2px; background: var(--amber); animation: wheel 1.6s infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(-4px); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* Glass checker */
.glass { position: relative; background: linear-gradient(160deg, rgba(255,255,255,.09), rgba(255,255,255,.03)); border-radius: 1.6rem; padding: 2rem;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.12), 0 30px 80px -20px rgba(0,0,0,.6); backdrop-filter: blur(18px) saturate(1.3); }
:where([data-theme=light]) .glass { background: linear-gradient(160deg, rgba(31,27,22,0.054), rgba(31,27,22,0.018)); box-shadow: inset 0 0 0 1px rgba(31,27,22,0.072), 0 30px 80px -20px rgba(31,27,22,0.18); }
.glass::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: conic-gradient(from var(--a, 0deg), transparent 0 70%, var(--amber), var(--coral), transparent);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: spinb 6s linear infinite; pointer-events: none; }
@property --a { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@keyframes spinb { to { --a: 360deg; } }
.glass h2 { font-size: 1.9rem; }
.glass .sub { font-size: .98rem; margin-top: .6rem; }
.glass form { display: flex; gap: .6rem; margin-top: 1.4rem; }
@media (max-width: 480px) { .glass form { flex-direction: column; } }
input, textarea, select { width: 100%; font: inherit; color: var(--ink); background: rgba(0,0,0,.35); border: 1px solid var(--line); border-radius: .9rem; padding: .9rem 1rem; transition: border-color .2s, box-shadow .2s; }
:where([data-theme=light]) input, :where([data-theme=light]) textarea, :where([data-theme=light]) select { background: #fff; }
input::placeholder, textarea::placeholder { color: var(--faint); }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--amber); box-shadow: 0 0 0 4px rgba(255,181,71,.15); }
:where([data-theme=light]) input:focus, :where([data-theme=light]) textarea:focus, :where([data-theme=light]) select:focus { box-shadow: 0 0 0 4px rgba(194,65,12,.15); }
.note { font-size: .85rem; color: var(--faint); margin-top: .8rem; }
.msg { margin-top: .9rem; font-size: .95rem; color: var(--muted); min-height: 1.2em; }
.msg.err { color: #ff8a80; }
:where([data-theme=light]) .msg.err { color: #b91c1c; }
.scan { position: relative; height: 4px; border-radius: 4px; background: var(--panel2); overflow: hidden; margin-top: 1rem; display: none; }
.scan.on { display: block; }
.scan::after { content: ""; position: absolute; inset: 0; width: 40%; background: var(--warm); border-radius: 4px; animation: scan 1.1s ease-in-out infinite; }
@keyframes scan { from { transform: translateX(-100%); } to { transform: translateX(260%); } }
.result { margin-top: 1.4rem; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.result .head { display: flex; align-items: center; gap: 1.1rem; }
.ring { --v: 0; --c: var(--mint); width: 5.4rem; height: 5.4rem; flex: none; border-radius: 50%; display: grid; place-items: center; position: relative;
  background: radial-gradient(closest-side, #12141d 78%, transparent 79%), conic-gradient(var(--c) calc(var(--v) * 1%), rgba(255,255,255,.08) 0); filter: drop-shadow(0 0 14px color-mix(in srgb, var(--c) 45%, transparent)); }
:where([data-theme=light]) .ring { background: radial-gradient(closest-side, #ffffff 78%, transparent 79%), conic-gradient(var(--c) calc(var(--v) * 1%), rgba(31,27,22,0.048) 0); }
.ring b { font: 800 1.8rem/1 var(--display); }
.grade { font: 700 1.25rem/1.2 var(--display); }
.curl { font-size: .85rem; color: var(--faint); word-break: break-all; }
.issues { list-style: none; padding: 0; margin: 1.1rem 0 0; display: grid; gap: .5rem; }
.issues li { display: flex; gap: .7rem; align-items: flex-start; font-size: .95rem; padding: .6rem .8rem; border-radius: .8rem; background: rgba(255,255,255,.04);
  opacity: 0; transform: translateX(-12px); animation: slidein .5s forwards; animation-delay: calc(var(--i) * 120ms + .4s); }
:where([data-theme=light]) .issues li { background: rgba(31,27,22,0.024); }
@keyframes slidein { to { opacity: 1; transform: none; } }
.dot { width: 1.4rem; height: 1.4rem; flex: none; border-radius: 50%; display: grid; place-items: center; font-size: .75rem; font-weight: 800; color: var(--night); }
:where([data-theme=light]) .dot { color: var(--on); }
.dot.fail { background: #ff6b6b; }
:where([data-theme=light]) .dot.fail { background: #b91c1c; } .dot.warn { background: var(--amber); } .dot.pass { background: var(--mint); }
.result .actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.3rem; }

/* Marquee */
.marquee { padding: 2.2rem 0; border-block: 1px solid var(--line); overflow: hidden; background: var(--night2); }
.marquee .track { display: flex; gap: 3rem; width: max-content; animation: marq 40s linear infinite; }
.marquee span { font: 700 clamp(1.4rem, 3vw, 2.2rem)/1 var(--display); color: var(--faint); white-space: nowrap; display: flex; align-items: center; gap: 3rem; letter-spacing: -.02em; }
.marquee span::after { content: "✦"; color: var(--amber); font-size: .7em; }
.marquee:hover .track { animation-play-state: paused; }
@keyframes marq { to { transform: translateX(-50%); } }

/* Story: sticky phone */
.story .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }
@media (max-width: 900px) {
  .story .wrap { grid-template-columns: 1fr; gap: 0; }
  .story .steps-col { display: contents; }
  .story .intro { order: -1; margin-bottom: 1.5rem; }
  .story .phone-col { order: 0; align-self: start; }
  .story .step { order: 1; }
}
.phone-col { position: sticky; top: 6rem; height: calc(100svh - 8rem); display: grid; place-items: center; }
@media (max-width: 900px) { .phone-col { top: 4.6rem; height: auto; padding: 1rem 0 2rem; z-index: 2; background: linear-gradient(var(--night) 85%, transparent); } }
.phone { width: min(22rem, 80vw); aspect-ratio: 9 / 18.5; border-radius: 3rem; padding: .7rem; background: linear-gradient(160deg, #2a2c38, #0f1017); box-shadow: 0 0 0 2px #34364a, 0 40px 120px -30px rgba(255,140,60,.35), 0 0 0 1px rgba(255,255,255,.06) inset; position: relative; }
:where([data-theme=light]) .phone { background: linear-gradient(160deg, #3a332c, #1f1b16); box-shadow: 0 0 0 2px #4a4139, 0 40px 120px -30px rgba(234,88,12,.35), 0 0 0 1px rgba(31,27,22,0.036) inset; }
@media (max-width: 900px) { .phone { width: min(13rem, 54vw); aspect-ratio: 9 / 12.5; border-radius: 2.1rem; padding: .5rem; } .screen { border-radius: 1.7rem; } .screen .bar { padding: .7rem .9rem .5rem; font-size: .75rem; } .chat { font-size: .72rem; padding: .6rem; gap: .45rem; } .facts { font-size: .66rem; } }
.screen { height: 100%; border-radius: 2.4rem; background: #0b0c12; overflow: hidden; display: flex; flex-direction: column; }
:where([data-theme=light]) .screen { background: #ffffff; }
.screen .bar { display: flex; align-items: center; gap: .5rem; padding: 1.1rem 1.2rem .8rem; border-bottom: 1px solid var(--line); font-size: .85rem; color: var(--muted); }
.screen .bar i { width: 1.6rem; height: 1.6rem; border-radius: 50%; background: var(--warm); display: inline-block; }
.chat { flex: 1; padding: 1rem; display: flex; flex-direction: column; justify-content: flex-end; gap: .6rem; font-size: .86rem; line-height: 1.45; overflow: hidden; }
.b { max-width: 88%; padding: .6rem .85rem; border-radius: 1.1rem; animation: pop .45s cubic-bezier(.2,1.4,.4,1) both; }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.96); } }
.b.me { align-self: flex-end; background: #2f6bff; color: #fff; border-bottom-right-radius: .35rem; }
.b.ai { align-self: flex-start; background: #1c1e29; border-bottom-left-radius: .35rem; }
:where([data-theme=light]) .b.ai { background: #f1ece4; }
.b.sys { align-self: center; background: transparent; color: var(--faint); font-size: .78rem; padding: .2rem; }
.b.ok { align-self: flex-start; background: rgba(69,227,184,.12); color: var(--mint); box-shadow: inset 0 0 0 1px rgba(69,227,184,.35); }
:where([data-theme=light]) .b.ok { background: rgba(21,128,61,.12); box-shadow: inset 0 0 0 1px rgba(21,128,61,.35); }
.typing { display: inline-flex; gap: .25rem; }
.typing i { width: .4rem; height: .4rem; border-radius: 50%; background: var(--muted); animation: blink 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 50% { opacity: .2; } }
.facts { display: grid; gap: .3rem; font: .74rem/1.4 ui-monospace, Menlo, monospace; color: #b9b6c9; }
:where([data-theme=light]) .facts { color: #5a5248; }
.facts div { animation: pop .35s both; } .facts b { color: var(--amber); font-weight: 600; }
.steps-col { padding: 10vh 0 30vh; }
@media (max-width: 900px) { .steps-col { padding: 2rem 0 10vh; } }
.step { min-height: 70vh; display: flex; flex-direction: column; justify-content: center; opacity: .25; transition: opacity .5s; }
@media (max-width: 900px) { .step { min-height: 42vh; justify-content: flex-end; padding-bottom: 6vh; } .step:last-child { margin-bottom: 20vh; } }
.step.on { opacity: 1; }
.step .n { font: 800 1rem/1 var(--display); color: var(--amber); margin-bottom: 1rem; }
.step h3 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 800; letter-spacing: -.03em; }
.step p { color: var(--muted); font-size: 1.1rem; margin-top: 1rem; max-width: 30rem; }
.label { font-size: .8rem; color: var(--faint); margin-top: 1rem; }

.step p.label { font-size: .85rem; color: var(--faint); margin-top: 1.1rem; padding-left: .8rem; border-left: 2px solid var(--violet); }
.b { white-space: pre-line; }

/* Live AI answer, under the check result */
.aisays { margin-top: 1.4rem; padding: 1.1rem; border-radius: 1.1rem; background: rgba(143,124,255,.08); box-shadow: inset 0 0 0 1px rgba(143,124,255,.28); animation: pop .5s both; }
:where([data-theme=light]) .aisays { background: rgba(15,118,110,.08); box-shadow: inset 0 0 0 1px rgba(15,118,110,.28); }
.aih { display: flex; align-items: center; gap: .5rem; font: 700 .95rem/1.3 var(--display); }
.aih .spark { color: var(--violet); }
.mini { display: flex; flex-direction: column; gap: .5rem; margin-top: .8rem; font-size: .9rem; line-height: 1.45; }
.mini .b { max-width: 92%; }
.aifoot { font-size: .78rem; color: var(--faint); margin-top: .7rem; }

/* Your turn: ask the bakery */
#try { padding-top: 2rem; }
#try .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 4rem; align-items: center; }
@media (max-width: 900px) { #try .wrap { grid-template-columns: 1fr; gap: 2.2rem; } }
.chips { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1.8rem; }
.chips button { font: 600 .92rem/1 var(--sans); color: var(--ink); background: var(--panel); border: 0; box-shadow: inset 0 0 0 1px var(--line); padding: .7rem 1rem; border-radius: 999px; cursor: pointer; transition: background .2s, box-shadow .2s, transform .2s; }
.chips button:hover { background: var(--panel2); box-shadow: inset 0 0 0 1px var(--amber); transform: translateY(-2px); }
#try .label { max-width: 32rem; margin-top: 1.4rem; }
.phone.live { justify-self: center; width: min(22rem, 90vw); aspect-ratio: auto; height: 34rem; }
@media (max-width: 900px) { .phone.live { width: min(22rem, 92vw); aspect-ratio: auto; height: 30rem; border-radius: 2.6rem; padding: .6rem; } .phone.live .screen { border-radius: 2.1rem; } .phone.live .chat { font-size: .86rem; padding: .9rem; gap: .55rem; } .phone.live .bar { padding: 1rem 1.1rem .7rem; font-size: .85rem; } }
.phone.live .chat { justify-content: flex-start; overflow-y: auto; scroll-behavior: smooth; overscroll-behavior: contain; }
.phone.live .chat > :first-child { margin-top: auto; }
.pill { margin-left: auto; font-size: .7rem; padding: .25rem .55rem; border-radius: 999px; background: rgba(255,181,71,.14); color: var(--amber); }
:where([data-theme=light]) .pill { background: rgba(194,65,12,.14); }
.askbar { display: flex; gap: .5rem; padding: .7rem; border-top: 1px solid var(--line); }
.askbar input { padding: .7rem .9rem; border-radius: 999px; font-size: .9rem; }
.askbar button { flex: none; width: 2.6rem; height: 2.6rem; border-radius: 50%; border: 0; background: var(--warm); color: var(--night); font-size: 1.1rem; font-weight: 800; cursor: pointer; }
:where([data-theme=light]) .askbar button { color: var(--on); }

/* Before / after */
.compare { position: relative; margin-top: 3.5rem; border-radius: 1.6rem; overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); height: 26rem; user-select: none; touch-action: pan-y; cursor: ew-resize; }
@media (max-width: 700px) { .compare { height: 38rem; } }
.compare .pane { position: absolute; inset: 0; padding: 2rem 0; display: flex; flex-direction: column; gap: .6rem; }
.compare .before { background: #15161c; color: #8c8a99; font: .92rem/1.6 ui-monospace, Menlo, monospace; }
:where([data-theme=light]) .compare .before { background: #efeae2; color: #8a8178; }
.compare .before .junk { color: #5c5a68; }
:where([data-theme=light]) .compare .before .junk { color: #b3aa9f; }
.compare .after { background: linear-gradient(135deg, #1c1407, #160d1d); clip-path: inset(0 0 0 var(--x, 50%)); }
:where([data-theme=light]) .compare .after { background: linear-gradient(135deg, #fff7ed, #ffffff); }
.compare .after .rowf { display: grid; grid-template-columns: 7.5rem 1fr; gap: 1rem; padding: .55rem 0; border-bottom: 1px solid var(--line); font-size: .98rem; }
.compare .after .rowf b { color: var(--amber); font-weight: 600; }
.compare .tagp { position: absolute; top: 1.2rem; font: 700 .75rem/1 var(--sans); letter-spacing: .15em; text-transform: uppercase; padding: .5rem .8rem; border-radius: 999px; z-index: 2; }
.compare .tagp.l { left: 1.2rem; background: #2a2b33; color: #a8a6b5; }
:where([data-theme=light]) .compare .tagp.l { background: #e8e0d4; color: #5a5248; }
.compare .tagp.r { right: 1.2rem; background: var(--amber); color: var(--night); }
:where([data-theme=light]) .compare .tagp.r { color: var(--on); }
.compare .after .inner, .compare .before .inner { margin-top: 2.6rem; }
.compare .before .inner { margin-left: 2rem; width: calc(var(--x, 50%) - 4rem); overflow-wrap: anywhere; }
.compare .after .inner { margin-left: calc(var(--x, 50%) + 2rem); margin-right: 2rem; }
@media (max-width: 700px) {
  .compare .before, .compare .after { font-size: .85rem; }
  .compare .before .inner { margin-left: 1.1rem; width: calc(var(--x, 50%) - 2.4rem); }
  .compare .after .inner { margin-left: calc(var(--x, 50%) + 1.3rem); margin-right: 1.1rem; }
  .compare .after .rowf { grid-template-columns: 1fr; gap: .1rem; font-size: .88rem; }
}
.handle { position: absolute; top: 0; bottom: 0; left: var(--x, 50%); width: 2px; background: var(--amber); z-index: 3; box-shadow: 0 0 20px var(--amber); }
.handle button { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 3.2rem; height: 3.2rem; border-radius: 50%; border: 0; background: var(--amber); color: var(--night); font-size: 1.1rem; font-weight: 800; cursor: ew-resize; box-shadow: 0 0 0 6px rgba(255,181,71,.25); }
:where([data-theme=light]) .handle button { color: var(--on); box-shadow: 0 0 0 6px rgba(194,65,12,.25); }

/* Services: tilt + spotlight cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; margin-top: 3.5rem; perspective: 1200px; }
@media (max-width: 960px) { .cards { grid-template-columns: 1fr; } }
.card { --mx: 50%; --my: 50%; position: relative; border-radius: 1.6rem; padding: 2.2rem; background: var(--night2); box-shadow: inset 0 0 0 1px var(--line);
  transform-style: preserve-3d; transition: transform .25s ease-out, box-shadow .3s; overflow: hidden; display: flex; flex-direction: column; }
.card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(22rem circle at var(--mx) var(--my), rgba(255,181,71,.16), transparent 45%); }
:where([data-theme=light]) .card::before { background: radial-gradient(22rem circle at var(--mx) var(--my), rgba(194,65,12,.16), transparent 45%); }
.card:hover::before { opacity: 1; }
.card:hover { box-shadow: inset 0 0 0 1px rgba(255,181,71,.35), 0 30px 60px -30px rgba(255,106,61,.5); }
:where([data-theme=light]) .card:hover { box-shadow: inset 0 0 0 1px rgba(194,65,12,.35), 0 30px 60px -30px rgba(234,88,12,.5); }
.card .big { font: 800 4.5rem/1 var(--display); background: var(--warm); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: .9; letter-spacing: -.05em; }
.card h3 { font-size: 2rem; font-weight: 800; margin-top: 1.2rem; letter-spacing: -.03em; }
.card > p { color: var(--muted); margin-top: .7rem; }
.card ul { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; gap: .9rem; flex: 1; }
.card li { padding-top: .9rem; border-top: 1px solid var(--line); }
.card li b { display: block; font-weight: 600; }
.card li span { color: var(--muted); font-size: .92rem; }
.card .go { margin-top: 1.6rem; font-weight: 700; text-decoration: none; display: inline-flex; gap: .4rem; align-items: center; }
.card .go:hover span { transform: translateX(4px); } .card .go span { transition: transform .2s; }

/* Numbers */
.numbers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border-radius: 1.6rem; overflow: hidden; margin-top: 3.5rem; }
@media (max-width: 760px) { .numbers { grid-template-columns: 1fr 1fr; } }
.numbers div { background: var(--night); padding: 2.2rem 1.6rem; }
.numbers b { display: block; font: 800 clamp(2.6rem, 6vw, 4.2rem)/1 var(--display); letter-spacing: -.04em; }
.numbers span { color: var(--muted); font-size: .95rem; display: block; margin-top: .6rem; }

/* Timeline */
.timeline { position: relative; margin-top: 4rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
@media (max-width: 760px) { .timeline { grid-template-columns: 1fr; padding-left: 2.2rem; } }
.timeline svg { position: absolute; top: 1.6rem; left: 0; width: 100%; height: 4px; overflow: visible; }
@media (max-width: 760px) { .timeline svg { display: none; } .timeline::before { content: ""; position: absolute; left: .6rem; top: .5rem; bottom: .5rem; width: 2px; background: var(--warm); } }
.timeline path { stroke: url(#tg); stroke-width: 3; fill: none; stroke-dasharray: 1; stroke-dashoffset: 1; }
.tnode .ball { width: 3.2rem; height: 3.2rem; border-radius: 50%; display: grid; place-items: center; background: var(--night2); box-shadow: inset 0 0 0 2px var(--line); font: 800 1.2rem/1 var(--display); position: relative; z-index: 1; transition: background .5s, box-shadow .5s, color .5s; }
@media (max-width: 760px) { .tnode .ball { position: absolute; left: -2.2rem; width: 1.4rem; height: 1.4rem; font-size: 0; margin-top: .2rem; } .tnode { position: relative; } }
.tnode.lit .ball { background: var(--amber); color: var(--night); box-shadow: 0 0 30px rgba(255,181,71,.6); }
:where([data-theme=light]) .tnode.lit .ball { color: var(--on); box-shadow: 0 0 30px rgba(194,65,12,.6); }
.tnode h3 { margin-top: 1.4rem; font-size: 1.6rem; }
@media (max-width: 760px) { .tnode h3 { margin-top: 0; } }
.tnode p { color: var(--muted); margin-top: .6rem; }
.promise { margin-top: 3.5rem; display: flex; flex-wrap: wrap; gap: 1.2rem 2rem; align-items: center; justify-content: space-between; padding: 1.8rem 2rem; border-radius: 1.6rem; background: linear-gradient(100deg, rgba(255,181,71,.12), rgba(143,124,255,.1)); box-shadow: inset 0 0 0 1px rgba(255,181,71,.3); }
:where([data-theme=light]) .promise { background: linear-gradient(100deg, rgba(194,65,12,.12), rgba(15,118,110,.1)); box-shadow: inset 0 0 0 1px rgba(194,65,12,.3); }
.promise p { font-size: 1.15rem; max-width: 40rem; }

/* Proof tiles */
.proof { display: grid; grid-template-columns: 1.2fr 1fr; gap: 1.3rem; margin-top: 3.5rem; }
@media (max-width: 900px) { .proof { grid-template-columns: 1fr; } }
.tile { border-radius: 1.6rem; padding: 2rem; background: var(--night2); box-shadow: inset 0 0 0 1px var(--line); text-decoration: none; color: inherit; display: flex; flex-direction: column; gap: .6rem; transition: transform .3s, box-shadow .3s; }
.tile:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px rgba(255,181,71,.35); color: inherit; }
:where([data-theme=light]) .tile:hover { box-shadow: inset 0 0 0 1px rgba(194,65,12,.35); }
.tile .tag { font: 700 .72rem/1 var(--sans); letter-spacing: .15em; text-transform: uppercase; color: var(--amber); }
.tile p { color: var(--muted); }
.tile .more { color: var(--amber); font-weight: 700; margin-top: auto; padding-top: .8rem; }
.stack { display: grid; gap: 1.3rem; }
.code { font: .85rem/1.7 ui-monospace, Menlo, monospace; color: #b9b6c9; background: #0a0b10; border-radius: 1rem; padding: 1rem 1.2rem; box-shadow: inset 0 0 0 1px var(--line); }
:where([data-theme=light]) .code { color: #5a5248; background: #f4eee5; }
.code .k { color: var(--amber); } .code .s { color: var(--mint); }

/* Guides carousel */
.rail { display: flex; gap: 1.1rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: 3rem 1.4rem 1.5rem; margin: 0 auto; max-width: var(--wrap); scrollbar-width: thin; scrollbar-color: var(--amber) transparent; cursor: grab; }
.rail.drag { cursor: grabbing; scroll-snap-type: none; }
.rail a { flex: 0 0 min(20rem, 78vw); scroll-snap-align: start; min-height: 14rem; border-radius: 1.4rem; padding: 1.6rem; text-decoration: none; color: var(--ink); background: var(--night2); box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; justify-content: space-between; transition: background .3s, transform .3s; user-select: none; }
.rail a:hover { background: #151826; transform: translateY(-4px); }
:where([data-theme=light]) .rail a:hover { background: #ffffff; }
.rail a h3 { font-size: 1.3rem; }
.rail a span { color: var(--amber); font-weight: 700; font-size: .9rem; }
.rail a .num { font: 800 .9rem/1 var(--display); color: var(--faint); }

/* FAQ */
.faq { max-width: 50rem; margin: 3rem auto 0; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 1.5rem 0; font: 700 1.25rem/1.3 var(--display); display: flex; justify-content: space-between; gap: 1rem; letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { flex: none; width: 2rem; height: 2rem; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line); position: relative; transition: transform .3s, background .3s; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: .8rem; height: 2px; margin: -1px 0 0 -.4rem; background: var(--amber); }
.faq summary i::after { transform: rotate(90deg); transition: transform .3s; }
.faq details[open] summary i { background: rgba(255,181,71,.12); }
:where([data-theme=light]) .faq details[open] summary i { background: rgba(194,65,12,.12); }
.faq details[open] summary i::after { transform: rotate(0); }
.faq .ans { overflow: hidden; }
.faq .ans p { color: var(--muted); padding-bottom: 1.5rem; max-width: 42rem; }

/* Conversational quote */
#quote { overflow: hidden; }
#quote .aurora { position: absolute; inset: 0; z-index: -1; filter: blur(80px); opacity: .55; pointer-events: none; }
#quote .aurora i { position: absolute; border-radius: 50%; animation: float 18s ease-in-out infinite alternate; }
#quote .aurora i:nth-child(1) { width: 34rem; height: 34rem; background: #ff6a3d; left: -8rem; top: 10%; }
:where([data-theme=light]) #quote .aurora i:nth-child(1) { background: #ea580c; }
#quote .aurora i:nth-child(2) { width: 30rem; height: 30rem; background: #8f7cff; right: -6rem; top: 30%; animation-duration: 22s; }
:where([data-theme=light]) #quote .aurora i:nth-child(2) { background: #0f766e; }
#quote .aurora i:nth-child(3) { width: 24rem; height: 24rem; background: #ffb547; left: 35%; bottom: -10rem; animation-duration: 26s; }
:where([data-theme=light]) #quote .aurora i:nth-child(3) { background: #c2410c; }
@keyframes float { to { transform: translate(6rem, -4rem) scale(1.15); } }
.convo { max-width: 46rem; margin: 3rem auto 0; background: rgba(7,8,13,.65); backdrop-filter: blur(20px); border-radius: 2rem; padding: 2.4rem; box-shadow: inset 0 0 0 1px var(--line), 0 40px 100px -40px rgba(0,0,0,.8); }
:where([data-theme=light]) .convo { background: rgba(251,248,243,0.75); box-shadow: inset 0 0 0 1px var(--line), 0 40px 100px -40px rgba(31,27,22,0.24); }
@media (max-width: 600px) { .convo { padding: 1.5rem; } }
.dots { display: flex; gap: .4rem; margin-bottom: 1.8rem; }
.dots i { height: 4px; flex: 1; border-radius: 4px; background: var(--panel2); overflow: hidden; position: relative; }
.dots i::after { content: ""; position: absolute; inset: 0; background: var(--warm); transform: scaleX(0); transform-origin: 0; transition: transform .5s; }
.dots i.done::after { transform: none; }
.q-step { display: none; }
.q-step.on { display: block; animation: stepin .5s cubic-bezier(.2,.8,.2,1); }
@keyframes stepin { from { opacity: 0; transform: translateX(30px); } }
.q-step h3 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); font-weight: 800; letter-spacing: -.03em; }
.q-step .hint { color: var(--muted); margin-top: .5rem; }
.pick { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; margin-top: 1.6rem; }
@media (max-width: 560px) { .pick { grid-template-columns: 1fr; } }
.pick label { position: relative; cursor: pointer; }
.pick input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pick span { display: block; padding: 1.1rem 1.2rem; border-radius: 1.1rem; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); transition: background .2s, box-shadow .2s, transform .2s; }
.pick span b { display: block; font: 700 1.1rem/1.2 var(--display); }
.pick span small { color: var(--muted); font-size: .88rem; }
.pick label:hover span { transform: translateY(-2px); }
.pick input:checked + span { background: rgba(255,181,71,.12); box-shadow: inset 0 0 0 2px var(--amber); }
:where([data-theme=light]) .pick input:checked + span { background: rgba(194,65,12,.12); }
.pick input:focus-visible + span { outline: 2px solid var(--amber); outline-offset: 3px; }
.q-step textarea { min-height: 9rem; margin-top: 1.4rem; resize: vertical; }
.q-step label.f { display: block; font-weight: 600; font-size: .95rem; margin: 1.2rem 0 .45rem; }
.q-step .opt { font-weight: 400; color: var(--faint); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
@media (max-width: 560px) { .row2 { grid-template-columns: 1fr; } }
.q-nav { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 2rem; }
.linkbtn { background: none; border: 0; color: var(--muted); font: inherit; cursor: pointer; padding: .5rem 0; }
.linkbtn:hover { color: var(--ink); }
.status { margin-top: 1rem; min-height: 1.2em; font-size: .95rem; }
.status.err { color: #ff8a80; }
:where([data-theme=light]) .status.err { color: #b91c1c; }
.done-box { text-align: center; padding: 2rem 0; }
.done-box .check { width: 5rem; height: 5rem; margin: 0 auto 1.4rem; border-radius: 50%; background: var(--mint); color: var(--night); display: grid; place-items: center; font-size: 2.4rem; font-weight: 800; box-shadow: 0 0 50px rgba(69,227,184,.5); animation: pop .6s cubic-bezier(.2,1.6,.4,1); }
:where([data-theme=light]) .done-box .check { color: var(--on); box-shadow: 0 0 50px rgba(21,128,61,.5); }
.hp { position: absolute; left: -9999px; }
#confetti { position: fixed; inset: 0; pointer-events: none; z-index: 95; }

/* Footer */
footer.site { padding: 6rem 0 2.5rem; border-top: 1px solid var(--line); overflow: hidden; }
footer.site .huge { font: 800 clamp(4rem, 16vw, 14rem)/.85 var(--display); letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.14); white-space: nowrap; transition: -webkit-text-stroke-color .4s; }
:where([data-theme=light]) footer.site .huge { -webkit-text-stroke: 1px rgba(31,27,22,0.084); }
footer.site .huge:hover { -webkit-text-stroke-color: var(--amber); }
footer.site .row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: 2.5rem; color: var(--faint); font-size: .92rem; }
footer.site a { color: var(--muted); }
footer.site a:hover { color: var(--ink); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .grain, .marquee .track, .glass::before, #quote .aurora i, .walkins .pulse, .scroll-hint::after { animation: none; }
  .rv, .split-words .w > span { opacity: 1; transform: none; transition: none; }
  .issues li { animation: none; opacity: 1; transform: none; }
  .step { opacity: 1; }
}

/* ---------- Light theme: rules that only exist in light (see the A/B note at the top) ---------- */
:root[data-theme=light] { --on: #fff; --line: #e8e0d4; --panel: rgba(31,27,22,.035); --panel2: rgba(31,27,22,.07); --deep: #1d2a27;
  --warm: linear-gradient(100deg, #c2410c, #9a3412 55%, #0f766e); --card: #fff;
  --lift: 0 1px 2px rgba(31,27,22,.05), 0 12px 32px -12px rgba(31,27,22,.18); }
:where([data-theme=light]) body { background: var(--night) radial-gradient(60rem 30rem at 85% -5%, #fdebdf, transparent 70%) no-repeat; }
:where([data-theme=light]) .glass { background: rgba(255,255,255,.92); box-shadow: inset 0 0 0 1px var(--line), 0 30px 70px -30px rgba(31,27,22,.35); backdrop-filter: blur(10px); }
:where([data-theme=light]) .brand .logo { box-shadow: 0 6px 18px -4px rgba(194,65,12,.45); }
:where([data-theme=light]) .btn { box-shadow: 0 10px 26px -10px rgba(194,65,12,.55); }
:where([data-theme=light]) .btn:hover { color: var(--on); box-shadow: 0 14px 32px -10px rgba(15,118,110,.55); }
:where([data-theme=light]) .btn.ghost { background: rgba(255,255,255,.7); }
:where([data-theme=light]) .btn.ghost:hover { background: #fff; }
:where([data-theme=light]) .ring { filter: none; }
:where([data-theme=light]) .issues li { background: var(--night); }
:where([data-theme=light]) .hero::after { background: radial-gradient(70rem 40rem at 20% 50%, rgba(251,248,243,.92), rgba(251,248,243,.45) 60%, transparent), linear-gradient(to bottom, transparent 75%, var(--night)); }
:where([data-theme=light]) .phone { box-shadow: 0 0 0 2px #4a4139, 0 40px 90px -30px rgba(31,27,22,.45); }
:where([data-theme=light]) .screen .bar { color: var(--ink); }
:where([data-theme=light]) .card, :where([data-theme=light]) .numbers div, :where([data-theme=light]) .rail a, :where([data-theme=light]) .convo { background: var(--card); }
:where([data-theme=light]) .card, :where([data-theme=light]) .rail a { box-shadow: inset 0 0 0 1px var(--line), var(--lift); }
:where([data-theme=light]) .card:hover { box-shadow: inset 0 0 0 1px rgba(194,65,12,.35), 0 30px 60px -30px rgba(194,65,12,.35); }
:where([data-theme=light]) .rail a:hover { background: #fff; box-shadow: inset 0 0 0 1px rgba(194,65,12,.35), var(--lift); }
:where([data-theme=light]) .numbers { box-shadow: var(--lift); }
:where([data-theme=light]) .tnode .ball { background: #fff; }
:where([data-theme=light]) .promise { background: var(--deep); color: #fbf8f3; box-shadow: none; }
:where([data-theme=light]) .promise b { color: #fff; }
:where([data-theme=light]) .convo { box-shadow: inset 0 0 0 1px var(--line), 0 40px 90px -40px rgba(31,27,22,.4); backdrop-filter: none; }
:where([data-theme=light]) #quote .aurora { opacity: .22; }
:where([data-theme=light]) .chips button { background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
:where([data-theme=light]) .chips button:hover { background: #fff; }
:where([data-theme=light]) .compare { box-shadow: inset 0 0 0 1px var(--line), var(--lift); }
:where([data-theme=light]) .compare .after .rowf b { color: var(--amber); }
:where([data-theme=light]) footer.site { background: var(--deep); color: #e8e0d4; border-top: 0; }
:where([data-theme=light]) footer.site .huge { -webkit-text-stroke: 1px rgba(251,248,243,.18); }
:where([data-theme=light]) footer.site .huge:hover { -webkit-text-stroke-color: #fb923c; }
:where([data-theme=light]) footer.site .row { color: #b9b0a4; }
:where([data-theme=light]) footer.site a { color: #fbf8f3; }
:where([data-theme=light]) footer.site a:hover { color: #fdba74; }
:where([data-theme=light]) .brand .logo { background: linear-gradient(135deg, #ea580c, #9a3412); }
:where([data-theme=light]) #tg stop:nth-child(1) { stop-color: #c2410c; }
:where([data-theme=light]) #tg stop:nth-child(2) { stop-color: #ea580c; }
:where([data-theme=light]) #tg stop:nth-child(3) { stop-color: #0f766e; }
:where([data-theme=light]) .tile { background: #fff; box-shadow: inset 0 0 0 1px var(--line), var(--lift); }
:where([data-theme=light]) .tile:hover { box-shadow: inset 0 0 0 1px rgba(194,65,12,.35), var(--lift); }
