/* Marlionlabs — marketing site. Vanilla CSS, mobile-first, light and dark.
   v5 theme: white and light-grey bands, near-black text, one blue accent, pill buttons, big tight headlines
   (Inter Tight / Inter), borderless cards with large radii, generous whitespace. */
:root {
  --bg: #FFFFFF; --surface: #FFFFFF; --surface-2: #F5F5F7; --surface-3: #E8E8ED; --ink: #1D1D1F; --ink-2: #424245; --muted: #6E6E73; --line: rgba(0, 0, 0, .08); --line-strong: rgba(0, 0, 0, .16);
  --accent: #0071E3; --accent-hover: #0077ED; --accent-ink: #FFFFFF; --accent-soft: #E8F0FE; --accent-2: #0071E3; --accent-2-soft: #E8F0FE; --gold: #B8860B;
  --good: #1D9A4D; --warn: #B25E00; --shadow: 0 8px 32px rgba(0, 0, 0, .08); --shadow-sm: 0 2px 12px rgba(0, 0, 0, .06); --radius: 18px; --radius-sm: 12px; --radius-lg: 28px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Helvetica, Arial, sans-serif; --display: "Inter Tight", "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #000000; --surface: #1D1D1F; --surface-2: #161617; --surface-3: #2C2C2E; --ink: #F5F5F7; --ink-2: #D2D2D7; --muted: #86868B; --line: rgba(255, 255, 255, .12); --line-strong: rgba(255, 255, 255, .24);
    --accent: #2997FF; --accent-hover: #3EA3FF; --accent-ink: #FFFFFF; --accent-soft: #0B2A44; --accent-2: #2997FF; --accent-2-soft: #0B2A44; --gold: #E2B64A;
    --good: #30D158; --warn: #FFB340; --shadow: 0 8px 32px rgba(0, 0, 0, .5); --shadow-sm: 0 2px 12px rgba(0, 0, 0, .4); color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #000000; --surface: #1D1D1F; --surface-2: #161617; --surface-3: #2C2C2E; --ink: #F5F5F7; --ink-2: #D2D2D7; --muted: #86868B; --line: rgba(255, 255, 255, .12); --line-strong: rgba(255, 255, 255, .24);
  --accent: #2997FF; --accent-hover: #3EA3FF; --accent-ink: #FFFFFF; --accent-soft: #0B2A44; --accent-2: #2997FF; --accent-2-soft: #0B2A44; --gold: #E2B64A;
  --good: #30D158; --warn: #FFB340; --shadow: 0 8px 32px rgba(0, 0, 0, .5); --shadow-sm: 0 2px 12px rgba(0, 0, 0, .4); color-scheme: dark;
}
* { box-sizing: border-box }
[hidden] { display: none !important }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100% }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto } *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important } }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.55; color: var(--ink); background: var(--bg); overflow-x: hidden }
img, svg, video { max-width: 100%; display: block }
img { height: auto }
.cmp img { height: 100% }
a { color: var(--accent); text-underline-offset: 3px }
h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -.015em; margin: 0 0 .4em; font-weight: 800 }
h1 { font-size: clamp(2rem, 5.2vw, 3.6rem) }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem) }
h3 { font-size: 1.2rem }
p { margin: 0 0 1em }
.muted { color: var(--muted) }
.small { font-size: .9rem }
.wrap { width: min(1140px, 100% - 32px); margin: 0 auto }
.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: var(--accent-ink); padding: 8px 12px; border-radius: 8px; z-index: 100 }
.skip:focus { left: 8px }
:focus-visible { outline: 3px solid var(--accent-2); outline-offset: 2px }

/* header */
.top { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line) }
.top .wrap { display: flex; align-items: center; gap: 16px; height: 64px }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--ink); text-decoration: none; font-size: 1.1rem; letter-spacing: -.01em }
.brand svg { width: 34px; height: 34px; min-width: 34px }
.nav { display: none; gap: 4px; margin-left: auto }
.nav a { color: var(--ink); text-decoration: none; padding: 8px 12px; border-radius: 8px; font-weight: 600; font-size: .95rem }
.nav a:hover, .nav a[aria-current="page"] { background: var(--surface-2) }
.top .cta { margin-left: auto }
.theme { border: 1px solid var(--line); background: var(--surface); border-radius: 8px; width: 40px; height: 40px; cursor: pointer; display: grid; place-items: center; color: var(--ink) }
.menu { border: 1px solid var(--line); background: var(--surface); border-radius: 8px; width: 40px; height: 40px; cursor: pointer; color: var(--ink); display: grid; place-items: center }
.mobile-nav { display: none; border-top: 1px solid var(--line); background: var(--bg); padding: 10px 0 14px }
.mobile-nav a { display: block; padding: 10px 16px; color: var(--ink); text-decoration: none; font-weight: 600 }
.mobile-nav.open { display: block }
.top .cta { white-space: nowrap }
.brand svg { flex: none }
@media (max-width: 640px) { .top .cta { display: none } .top .wrap { gap: 10px } .top .theme { margin-left: auto } }
@media (min-width: 900px) { .nav { display: flex } .top .cta { margin-left: 8px } .menu { display: none } .mobile-nav.open { display: none } }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 18px; border-radius: 10px; font-weight: 700; text-decoration: none; cursor: pointer; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-family: inherit; font-size: 1rem; line-height: 1.2; transition: transform .12s ease, background .15s }
.btn:hover { transform: translateY(-1px) }
.btn:active { transform: translateY(0) }
.btn.primary { background: var(--accent); color: var(--accent-ink); border-color: var(--accent) }
.btn.warm { background: var(--accent-2); color: #fff; border-color: var(--accent-2) }
.btn.small { padding: 8px 12px; font-size: .9rem }
.btn[disabled] { opacity: .6; cursor: default; transform: none }

/* hero */
.hero { padding: 56px 0 28px; position: relative }
.hero .grid { display: grid; gap: 28px; align-items: center }
.hero .eyebrow { display: inline-flex; align-items: center; gap: 8px; background: var(--accent-soft); color: var(--accent); padding: 6px 12px; border-radius: 999px; font-weight: 700; font-size: .85rem; margin-bottom: 18px }
.hero .eyebrow i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); display: inline-block }
.hero p.lead { font-size: 1.2rem; color: var(--muted); max-width: 56ch }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 18px }
.proof { display: flex; flex-wrap: wrap; gap: 18px 28px; color: var(--muted); font-size: .95rem; margin-top: 10px }
.proof b { color: var(--ink) }
.hero-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px; display: grid; gap: 12px }
.phone { background: #0f1312; border-radius: 28px; padding: 14px; color: #fff; max-width: 340px; margin: 0 auto; box-shadow: var(--shadow); border: 6px solid #1e2523 }
.phone .screen { background: #141a19; border-radius: 18px; padding: 14px 12px; min-height: 330px; display: flex; flex-direction: column; gap: 8px }
.phone .bar { display: flex; justify-content: space-between; font-size: .75rem; color: #9fb0ac; padding: 0 4px 6px }
.bubble { max-width: 86%; padding: 9px 12px; border-radius: 16px; font-size: .92rem; line-height: 1.35; animation: pop .25s ease both }
.bubble.in { background: #243330; color: #e9f2f0; align-self: flex-start; border-bottom-left-radius: 4px }
.bubble.out { background: #3FB3AC; color: #06201E; align-self: flex-end; border-bottom-right-radius: 4px }
.bubble.sys { align-self: center; background: transparent; color: #8ea39e; font-size: .78rem; padding: 2px 0 }
.bubble.call { align-self: center; background: #2a1d1a; color: #f0b7a5; font-size: .85rem; border-radius: 10px }
@keyframes pop { from { opacity: 0; transform: translateY(6px) } to { opacity: 1; transform: none } }
.phone .choices { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto }
.phone .choices button { background: #1f2a28; color: #e9f2f0; border: 1px solid #334440; border-radius: 999px; padding: 7px 11px; font-size: .85rem; cursor: pointer; font-family: inherit }
.phone .choices button:hover { background: #2a3835 }
@media (min-width: 900px) { .hero { padding: 80px 0 40px } .hero .grid { grid-template-columns: 1.15fr .85fr } }

/* sections */
section { padding: 56px 0 }
section.alt { background: var(--surface-2) }
.section-head { max-width: 70ch; margin-bottom: 26px }
.section-head .kicker { color: var(--accent); font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; margin-bottom: 8px }
.cards { display: grid; gap: 16px }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; gap: 8px }
.card h3 { margin: 0 }
.card .price { font-weight: 800; color: var(--accent); margin-top: auto; padding-top: 8px }
.card .who { font-size: .85rem; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .06em }
.card .links { display: flex; gap: 10px; flex-wrap: wrap }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr) } }
@media (min-width: 1000px) { .cards.three { grid-template-columns: repeat(3, 1fr) } .cards.four { grid-template-columns: repeat(4, 1fr) } }
.tag { display: inline-block; font-size: .78rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--accent-soft); color: var(--accent) }
.tag.warm { background: var(--accent-2-soft); color: var(--accent-2) }
.fiction { font-size: .82rem; color: var(--muted); border-left: 3px solid var(--line); padding-left: 10px; margin-top: 8px }

/* demos */
.demo-grid { display: grid; gap: 18px }
@media (min-width: 900px) { .demo-grid { grid-template-columns: 1fr 1fr } }
.audio { display: grid; gap: 10px }
.audio .clip { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; background: var(--surface); display: grid; gap: 8px }
.audio .clip .row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap }
.audio .clip .play { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--accent); color: var(--accent-ink); cursor: pointer; display: grid; place-items: center; flex: none }
.audio .clip .meta { flex: 1; min-width: 160px }
.audio .clip .meta b { display: block }
.audio .clip .time { font-variant-numeric: tabular-nums; color: var(--muted); font-size: .9rem }
.audio progress { width: 100%; height: 6px; accent-color: var(--accent); border-radius: 3px; border: 0 }
.audio .transcript { display: none; font-size: .9rem; border-top: 1px dashed var(--line); padding-top: 8px; margin-top: 2px }
.audio .transcript.open { display: block }
.audio .line { display: grid; grid-template-columns: 84px 1fr; gap: 6px; padding: 3px 0 }
.audio .line b { color: var(--muted); font-weight: 700; font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; padding-top: 2px }
.audio .line.on { background: var(--accent-soft); border-radius: 6px; padding-left: 4px }
.chatbox { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); display: flex; flex-direction: column; min-height: 380px; max-height: 520px }
.chatbox .log { flex: 1; overflow: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px }
.chatbox .msg { max-width: 85%; padding: 10px 13px; border-radius: 14px; white-space: pre-wrap; font-size: .95rem; line-height: 1.4 }
.chatbox .msg.bot { background: var(--surface-2); align-self: flex-start; border-bottom-left-radius: 4px }
.chatbox .msg.me { background: var(--accent); color: var(--accent-ink); align-self: flex-end; border-bottom-right-radius: 4px }
.chatbox form { display: flex; gap: 8px; padding: 10px; border-top: 1px solid var(--line) }
.chatbox input { flex: 1; min-width: 0; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); font: inherit }
.chatbox .starters { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 12px 10px }
.chatbox .starters button { border: 1px solid var(--line); background: var(--bg); color: var(--ink); border-radius: 999px; padding: 6px 10px; font-size: .85rem; cursor: pointer; font-family: inherit }

/* forms */
.form { display: grid; gap: 12px }
.form label { display: grid; gap: 5px; font-weight: 700; font-size: .9rem }
.form input, .form select, .form textarea { font: inherit; padding: 11px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); width: 100%; min-width: 0 }
.form textarea { min-height: 110px; resize: vertical }
.form .two { display: grid; gap: 12px }
@media (min-width: 640px) { .form .two { grid-template-columns: 1fr 1fr } }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden }
.form .status { font-size: .95rem; min-height: 1.4em }
.form .status.ok { color: var(--good); font-weight: 700 }
.form .status.err { color: var(--accent-2); font-weight: 700 }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px }
.slots button { border: 1px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 10px; padding: 10px 6px; cursor: pointer; font-family: inherit; font-weight: 600; font-size: .9rem; display: grid; gap: 2px }
.slots button small { color: var(--muted); font-weight: 500 }
.slots button.on { background: var(--accent); color: var(--accent-ink); border-color: var(--accent) }
.slots button.on small { color: inherit }

/* estimator */
.est { display: grid; gap: 10px }
.est label { display: grid; grid-template-columns: 24px 1fr auto; gap: 10px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); cursor: pointer }
.est label:has(input:checked) { border-color: var(--accent); background: var(--accent-soft) }
.est input { width: 18px; height: 18px; accent-color: var(--accent) }
.est .p { font-weight: 800; color: var(--accent); white-space: nowrap }
.est .total { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 8px; padding: 12px 14px; border-radius: 10px; background: var(--surface-2); font-weight: 800; font-size: 1.1rem }
.est .total small { color: var(--muted); font-weight: 600; font-size: .85rem }

/* before/after */
.cmp { position: relative; border-radius: 12px; overflow: hidden; background: var(--surface-2); aspect-ratio: 3 / 2; isolation: isolate }
.cmp img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover }
.cmp .after { clip-path: inset(0 0 0 50%) }
.cmp .handle { position: absolute; top: 0; bottom: 0; left: 50%; width: 3px; background: #fff; transform: translateX(-50%); pointer-events: none; box-shadow: 0 0 0 1px rgba(0,0,0,.2) }
.cmp .handle::after { content: "⇔"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 40px; height: 40px; border-radius: 50%; background: #fff; color: #17221F; display: grid; place-items: center; font-weight: 800; box-shadow: 0 4px 12px rgba(0,0,0,.25) }
.cmp input[type=range] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; margin: 0; cursor: ew-resize }
.cmp .lbl { position: absolute; bottom: 10px; padding: 4px 9px; border-radius: 6px; background: rgba(0,0,0,.55); color: #fff; font-size: .78rem; font-weight: 700; pointer-events: none }
.cmp .lbl.l { left: 10px } .cmp .lbl.r { right: 10px }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px }
.chips button { border: 1px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 999px; padding: 7px 12px; font-weight: 700; cursor: pointer; font-family: inherit; font-size: .88rem }
.chips button.on { background: var(--accent); color: var(--accent-ink); border-color: var(--accent) }
.visual { display: grid; gap: 10px }
.visual h3 { margin: 0 }

/* dashboard mock */
.dash { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; display: grid; gap: 14px }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px }
@media (min-width: 640px) { .stats { grid-template-columns: repeat(4, 1fr) } }
.stat { background: var(--surface-2); border-radius: 10px; padding: 12px }
.stat b { font-size: 1.5rem; display: block; letter-spacing: -.02em }
.stat span { color: var(--muted); font-size: .82rem }
.dash .chart { width: 100%; height: auto }
.dash .call { display: grid; grid-template-columns: 70px 1fr; gap: 8px; font-size: .9rem; padding: 6px 0; border-top: 1px solid var(--line) }
.dash .call .t { color: var(--muted); font-variant-numeric: tabular-nums }
.dash .call .k { display: inline-block; font-size: .72rem; padding: 2px 7px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); margin-right: 6px; font-weight: 700 }
.dash .call .k.w { background: var(--accent-2-soft); color: var(--accent-2) }

/* steps, pricing, faq */
.steps { display: grid; gap: 16px; counter-reset: s }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr) } }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 20px 20px 64px; position: relative }
.step::before { counter-increment: s; content: counter(s); position: absolute; left: 18px; top: 18px; width: 32px; height: 32px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; font-weight: 800 }
.table { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; font-size: .95rem }
.table th, .table td { text-align: left; padding: 12px 14px; border-top: 1px solid var(--line); vertical-align: top }
.table th { background: var(--surface-2); border-top: 0; font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted) }
.table td.p { white-space: nowrap; font-weight: 800; color: var(--accent) }
.table-wrap { overflow-x: auto; border-radius: var(--radius) }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 4px 18px; margin-bottom: 10px }
.faq summary { cursor: pointer; font-weight: 700; padding: 12px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px }
.faq summary::-webkit-details-marker { display: none }
.faq summary::after { content: "+"; color: var(--accent); font-weight: 800; font-size: 1.3rem; line-height: 1 }
.faq details[open] summary::after { content: "–" }
.faq details p { margin: 0 0 14px; color: var(--muted) }
.about { display: grid; gap: 18px }
@media (min-width: 900px) { .about { grid-template-columns: 1.2fr .8fr } }
.people { display: grid; gap: 12px }
.person { display: flex; gap: 14px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px }
.person .av { width: 48px; height: 48px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font-weight: 800; flex: none }
.contact { display: grid; gap: 18px }
@media (min-width: 900px) { .contact { grid-template-columns: 1fr 1fr } }
.contact .side { display: grid; gap: 12px; align-content: start }
.contact .side .box { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 16px }

/* footer */
footer { border-top: 1px solid var(--line); padding: 34px 0 60px; color: var(--muted); font-size: .9rem }
footer .cols { display: grid; gap: 18px }
@media (min-width: 900px) { footer .cols { grid-template-columns: 2fr 1fr 1fr } }
footer a { color: inherit }
.tiny { font-size: .8rem }
.sticky-cta { position: fixed; left: 12px; right: 12px; bottom: 12px; display: flex; gap: 8px; z-index: 40 }
.sticky-cta .btn { flex: 1; box-shadow: var(--shadow) }
@media (min-width: 900px) { .sticky-cta { display: none } }
.toast { position: fixed; left: 50%; bottom: 70px; transform: translateX(-50%); background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 10px; font-weight: 700; z-index: 60; max-width: calc(100% - 24px) }
.toast[hidden] { display: none }

/* ===== v3: multi-page layout ===== */
.section-head.center { text-align: center; margin-left: auto; margin-right: auto }
.wrap.narrow { width: min(900px, 100% - 32px) }
.center { text-align: center }
.kicker { color: var(--accent); font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; margin-bottom: 8px }
.btn.big { padding: 15px 24px; font-size: 1.05rem }
.btn.ghost { background: transparent; border-color: transparent; color: var(--accent); text-decoration: underline; text-underline-offset: 4px; padding-left: 6px; padding-right: 6px }
.linkbtn { background: none; border: 0; color: var(--accent); font: inherit; font-weight: 700; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; padding: 0 }

/* header: trades dropdown */
.nav .dd { position: relative }
.nav .menu-panel { display: none; position: absolute; left: 0; top: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); padding: 8px; min-width: 240px; z-index: 60 }
.nav .menu-panel a { display: block; white-space: nowrap }
.nav .dd:hover .menu-panel, .nav .dd:focus-within .menu-panel { display: block }
.mobile-nav .mgroup { padding: 6px 16px 10px; border-bottom: 1px solid var(--line); margin-bottom: 6px }
.mobile-nav .mgroup b { display: block; font-size: .8rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 4px }
.mobile-nav .mgroup a { display: inline-block; padding: 6px 10px; margin: 2px 4px 2px 0; border: 1px solid var(--line); border-radius: 999px; font-size: .9rem }
.mobile-nav a.strong { color: var(--accent) }

/* hero v3 */
.hero.v3 { padding: 28px 0 24px; overflow: hidden }
.hero.v3 .grid { grid-template-columns: 1fr; gap: 20px }
.hero.v3 .grid > * { min-width: 0 }
.hero.v3 .art { position: relative; order: -1 }
.hero.v3 .art img { border-radius: 18px; box-shadow: var(--shadow); width: 100%; aspect-ratio: 16 / 10; object-fit: cover }
.hero.v3 .float { display: none }
.hero.v3 h1 { font-size: clamp(1.9rem, 6.2vw, 3.6rem) }
.hero.v3 p.lead { font-size: 1.05rem; color: var(--muted); max-width: 56ch; margin-bottom: 0 }
.hero.v3 .actions { display: flex; flex-direction: column; gap: 6px; margin: 18px 0 14px }
.hero.v3 .actions .btn.primary { width: 100% }
.proofline { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 14px; color: var(--muted); font-size: .9rem }
.proofline li::before { content: "✓"; color: var(--good); font-weight: 800; margin-right: 5px }
.proofline b { color: var(--ink) }
@media (min-width: 640px) { .hero.v3 .actions { flex-direction: row; align-items: center; gap: 12px } .hero.v3 .actions .btn.primary { width: auto } .hero.v3 p.lead { font-size: 1.15rem } }
@media (min-width: 980px) {
  .hero.v3 { padding: 64px 0 36px }
  .hero.v3 .grid { grid-template-columns: 1.05fr .95fr; gap: 36px; align-items: center }
  .hero.v3 .art { order: 0 }
  .hero.v3 .art img { aspect-ratio: 3 / 2; border-radius: 22px }
  .hero.v3 .float { display: flex; position: absolute; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; box-shadow: var(--shadow); font-size: .85rem; font-weight: 700; align-items: center; gap: 8px; animation: drift 6s ease-in-out infinite }
  .hero.v3 .float i { width: 10px; height: 10px; border-radius: 50%; background: var(--good); display: inline-block }
  .hero.v3 .float.a { left: -8px; top: 18px } .hero.v3 .float.b { right: -6px; top: 42%; animation-delay: -2s } .hero.v3 .float.c { left: 10%; bottom: -10px; animation-delay: -4s }
}
@keyframes drift { 0%, 100% { transform: translateY(0) } 50% { transform: translateY(-6px) } }

/* inner page hero */
.phero { padding: 36px 0 18px }
.phero h1 { font-size: clamp(1.8rem, 4.6vw, 3rem); max-width: 22ch }
.phero .lead { font-size: 1.1rem; max-width: 62ch }
.phero.slim { padding-bottom: 8px }
.phero + section { padding-top: 24px }
.subnav { display: flex; gap: 8px; overflow-x: auto; padding: 6px 0 8px; margin-top: 10px; scrollbar-width: thin; -webkit-overflow-scrolling: touch }
.subnav a { flex: none; border: 1px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 999px; padding: 8px 13px; font-weight: 700; font-size: .9rem; text-decoration: none; white-space: nowrap }
.subnav a.on, .subnav a:hover { background: var(--accent); color: var(--accent-ink); border-color: var(--accent) }
.phero.sticky-sub { position: relative }

/* trade cards (home) */
.tradegrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px }
@media (min-width: 760px) { .tradegrid { grid-template-columns: repeat(4, 1fr); gap: 16px } }
.tcard { display: grid; gap: 6px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 12px; text-decoration: none; color: var(--ink); transition: transform .15s, box-shadow .15s }
.tcard:hover { transform: translateY(-2px); box-shadow: var(--shadow) }
.tcard img { border-radius: 10px; aspect-ratio: 4 / 3; object-fit: cover; width: 100% }
.tcard .tname { font-weight: 800; font-size: 1.02rem; margin-top: 4px }
.tcard .tpain { color: var(--muted); font-size: .86rem; line-height: 1.4 }
.tcard .tgo { color: var(--accent); font-weight: 700; font-size: .88rem; margin-top: 2px }

/* home: try it */
.trywrap { display: grid; gap: 16px }
@media (min-width: 980px) { .trywrap { grid-template-columns: 1.15fr .85fr; align-items: start } }
.trymore { display: grid; gap: 10px }
.tile { display: grid; gap: 4px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; text-decoration: none; color: var(--ink) }
.tile b { font-size: 1.02rem } .tile span { color: var(--muted); font-size: .9rem }
.tile:hover { border-color: var(--accent) }

/* flow: big SVG on wide screens, stacked list on phones */
.flowmini { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; counter-reset: f }
.flowmini li { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px 12px 48px; position: relative; display: grid; gap: 2px }
.flowmini li::before { counter-increment: f; content: counter(f); position: absolute; left: 12px; top: 12px; width: 26px; height: 26px; border-radius: 50%; background: var(--surface-2); color: var(--ink); display: grid; place-items: center; font-weight: 800; font-size: .85rem }
.flowmini li.hot { border-color: var(--accent); background: var(--accent-soft) } .flowmini li.hot::before { background: var(--accent); color: var(--accent-ink) }
.flowmini li.warm { border-color: var(--accent-2); background: var(--accent-2-soft) } .flowmini li.warm::before { background: var(--accent-2); color: #fff }
.flowmini span { color: var(--muted); font-size: .9rem }
.flowbig { display: none }
@media (min-width: 760px) { .flowbig { display: block } .flowmini { display: none } }

/* home: 3 steps */
.steps3 { display: grid; gap: 12px; margin-bottom: 18px }
@media (min-width: 760px) { .steps3 { grid-template-columns: repeat(3, 1fr); gap: 16px } }
.step3 { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 14px; display: grid; gap: 8px; position: relative; grid-template-columns: 88px 1fr; align-items: start }
.step3 .n { position: absolute; left: 10px; top: 10px; width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; font-weight: 800; font-size: .9rem }
.step3 img { border-radius: 10px; aspect-ratio: 1; object-fit: cover; width: 88px; grid-row: span 2 }
.step3 b { font-size: 1.02rem; align-self: end } .step3 p { margin: 0; color: var(--muted); font-size: .92rem }
@media (min-width: 760px) { .step3 { grid-template-columns: 1fr; } .step3 img { width: 100%; grid-row: auto } }

/* CTA band */
.ctaband { background: linear-gradient(135deg, var(--accent) 0%, #0d4f4c 100%); color: #fff; padding: 48px 0 }
.ctaband .wrap { display: grid; gap: 18px; align-items: center }
@media (min-width: 900px) { .ctaband .wrap { grid-template-columns: 1.3fr 1fr } }
.ctaband h2 { color: #fff; margin-bottom: 6px } .ctaband p { color: #d6eceb; margin: 0 }
.ctaacts { display: flex; flex-direction: column; gap: 10px }
@media (min-width: 640px) { .ctaacts { flex-direction: row; flex-wrap: wrap; justify-content: flex-end } }
.ctaband .btn.primary { background: #fff; color: #0A6C68; border-color: #fff }
.ctaband .btn:not(.primary) { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.35) }

/* trade pages */
.thero { padding: 28px 0 20px; overflow: hidden }
.thero .grid { display: grid; gap: 18px; align-items: center }
.thero .grid > * { min-width: 0 }
.thero .art { border-radius: 18px; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; box-shadow: var(--shadow); order: -1 }
.thero .pain { color: var(--accent-2); font-weight: 700; font-size: .95rem; margin: 0 0 6px }
.thero h1 { font-size: clamp(1.8rem, 5.4vw, 3.2rem) }
.thero .lead { font-size: 1.05rem; margin-bottom: 0 }
.thero .actions { display: flex; flex-direction: column; gap: 6px; margin: 16px 0 12px }
.thero .actions .btn.primary { width: 100% }
@media (min-width: 640px) { .thero .actions { flex-direction: row; align-items: center; gap: 12px } .thero .actions .btn.primary { width: auto } }
@media (min-width: 980px) { .thero { padding: 56px 0 32px } .thero .grid { grid-template-columns: 1.1fr .9fr; gap: 36px } .thero .art { order: 0; aspect-ratio: 1; border-radius: 22px } }
.bgrid { display: grid; gap: 12px }
@media (min-width: 760px) { .bgrid { grid-template-columns: repeat(3, 1fr); gap: 16px } }
.bcard { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 18px 18px 18px 56px; position: relative; display: grid; gap: 6px }
.bcard .n { position: absolute; left: 16px; top: 18px; width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; font-weight: 800; font-size: .9rem }
.bcard b { font-size: 1.05rem } .bcard p { margin: 0; color: var(--muted); font-size: .93rem }
.pricebox { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 22px; display: grid; gap: 16px; align-items: center }
@media (min-width: 760px) { .pricebox { grid-template-columns: 1.3fr 1fr } }
.pricebox .big { font-size: clamp(1.7rem, 4vw, 2.4rem); font-weight: 800; letter-spacing: -.02em; margin: 2px 0 6px }
.pricebox p { margin: 0 }
.pacts { display: flex; flex-direction: column; gap: 10px }
@media (min-width: 640px) { .pacts { flex-direction: row; flex-wrap: wrap; justify-content: flex-end } }

/* demos page */
.demo-sec { padding: 44px 0 }
.textback { display: grid; gap: 18px; align-items: center }
@media (min-width: 760px) { .textback { grid-template-columns: 360px 1fr } }
.tbcopy h3 { font-size: 1.4rem }
.audiowrap { display: grid; gap: 10px }
.walkteaser { display: grid; gap: 16px; align-items: center }
@media (min-width: 760px) { .walkteaser { grid-template-columns: 1.2fr .8fr } }
.walkteaser a:first-child { position: relative; display: block; border-radius: 14px; overflow: hidden }
.walkteaser img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover }
.playbadge { position: absolute; left: 12px; bottom: 12px; background: rgba(23,34,31,.85); color: #fff; padding: 8px 12px; border-radius: 999px; font-weight: 700; font-size: .9rem }
.wtcopy h3 { font-size: 1.4rem }

/* voice card header */
.voice .vhead h3 { font-size: 1.4rem }
.voice .vhead p { margin-top: 4px }

/* estimator page layout */
.estwrap { display: grid; gap: 16px }
@media (min-width: 860px) { .estwrap { grid-template-columns: 1.4fr 1fr; align-items: start } .esttotal { position: sticky; top: 80px } }
.esttotal { display: grid; gap: 10px }
.sendrow { display: grid; gap: 8px }
.sendrow input { font: inherit; padding: 11px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); width: 100%; min-width: 0 }
.status { font-size: .95rem; min-height: 1.4em }
.status.ok { color: var(--good); font-weight: 700 } .status.err { color: var(--accent-2); font-weight: 700 }

/* contact page */
.contact2 { display: grid; gap: 18px; align-items: start }
@media (min-width: 900px) { .contact2 { grid-template-columns: 1.25fr .75fr } }
.formcard { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 20px; box-shadow: var(--shadow) }
@media (min-width: 640px) { .formcard { padding: 28px } }
.fstep { display: grid; gap: 12px }
.form .row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center }
.fdone { display: grid; gap: 10px }
.okmark { width: 52px; height: 52px; border-radius: 50%; background: var(--good); color: #fff; display: grid; place-items: center }
.fdone h2 { margin: 4px 0 0 }
.pills { display: flex; flex-wrap: wrap; gap: 8px }
.pills button { border: 1px solid var(--line); background: var(--bg); color: var(--ink); border-radius: 999px; padding: 8px 12px; font-weight: 600; cursor: pointer; font-family: inherit; font-size: .9rem }
.pills button.on { background: var(--accent); color: var(--accent-ink); border-color: var(--accent) }
.side2 { display: grid; gap: 12px }
.talk { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 16px; display: grid; gap: 4px }
.talk a { font-weight: 800; font-size: 1.2rem; text-decoration: none; color: var(--ink) }
.talk a + a { font-size: 1rem; font-weight: 700; color: var(--accent) }
.whatback { background: var(--surface-2); border-radius: 16px; padding: 16px }
.whatback ol { margin: 8px 0 0; padding-left: 20px; color: var(--muted); font-size: .95rem } .whatback li { margin: 4px 0 }
.nosticky .sticky-cta { display: none }
.nosticky .fab { bottom: 20px }

/* about */
.facts { display: grid; gap: 10px; margin-top: 18px }
@media (min-width: 760px) { .facts { grid-template-columns: repeat(2, 1fr) } }
.facts div { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; display: grid; gap: 4px }
.facts b { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--accent) } .facts span { color: var(--muted); font-size: .95rem }
.legal { max-width: 760px } .legal h1 { font-size: 2rem } .legal h2 { font-size: 1.25rem; margin-top: 1.4em }

/* assistant panel: lead hand-off */
.plead { padding: 10px 12px; border-top: 1px solid var(--line); background: var(--surface-2) }
.form.compact { gap: 8px } .form.compact input { padding: 9px 11px }
.pfoot { padding: 4px 12px 8px; font-size: .88rem }

/* carried over */
.tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; -webkit-overflow-scrolling: touch }
.info { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 18px; overflow: hidden }
.info svg { width: 100%; height: auto; display: block }
.info.scrollx { overflow-x: auto; -webkit-overflow-scrolling: touch }
.info.scrollx svg { min-width: 760px }
.info .cap { color: var(--muted); font-size: .9rem; margin: 10px 4px 0 }
.flow .node { fill: var(--surface-2); stroke: var(--line); stroke-width: 1.5 }
.flow .node.hot { fill: var(--accent-soft); stroke: var(--accent) }
.flow .node.warm { fill: var(--accent-2-soft); stroke: var(--accent-2) }
.flow text { font-family: var(--font); fill: var(--ink); font-size: 13px; font-weight: 600 }
.flow text.s { font-size: 11px; fill: var(--muted); font-weight: 500 }
.flow .edge { fill: none; stroke: var(--accent); stroke-width: 2; stroke-dasharray: 6 6; animation: dash 1.2s linear infinite }
.flow .edge.w { stroke: var(--accent-2) }
.flow .edge.g { stroke: var(--muted); stroke-dasharray: none; animation: none }
@keyframes dash { to { stroke-dashoffset: -12 } }
.timeline { display: grid; gap: 14px; counter-reset: d }
@media (min-width: 900px) { .timeline { grid-template-columns: repeat(5, 1fr) } }
.tl { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 14px; position: relative; display: grid; gap: 8px }
.tl img { border-radius: 10px; aspect-ratio: 1; object-fit: cover; width: 100% }
.tl .day { font-weight: 800; color: var(--accent); font-size: .85rem; text-transform: uppercase; letter-spacing: .06em }
.tl b { font-size: 1.02rem }
.tl p { margin: 0; color: var(--muted); font-size: .9rem }
@media (max-width: 899px) { .tl { grid-template-columns: 80px 1fr; align-items: start } .tl img { grid-row: span 3; width: 80px } }
.loop { display: grid; gap: 18px; align-items: center }
@media (min-width: 900px) { .loop { grid-template-columns: 1fr 1fr } }
.loop ol { margin: 0; padding-left: 20px; color: var(--muted) }
.loop li { margin: 8px 0 } .loop li b { color: var(--ink) }
.voice { background: linear-gradient(135deg, var(--accent) 0%, #0d4f4c 100%); color: #fff; border-radius: 20px; padding: 22px; display: grid; gap: 14px; position: relative; overflow: hidden }
.voice h3 { color: #fff; margin: 0 }
.voice p { color: #d6eceb; margin: 0 }
.voice .orb { width: 112px; height: 112px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #7fe0d9, #1a8f88 60%, #0b5f5b); margin: 6px auto; position: relative; box-shadow: 0 0 0 0 rgba(127,224,217,.5); transition: transform .2s }
.voice .orb.listening { animation: pulse 1.4s ease-out infinite }
.voice .orb.speaking { animation: talk .6s ease-in-out infinite alternate }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(127,224,217,.55) } 100% { box-shadow: 0 0 0 28px rgba(127,224,217,0) } }
@keyframes talk { from { transform: scale(.96) } to { transform: scale(1.06) } }
.voice .state { text-align: center; font-weight: 700; min-height: 1.4em }
.voice .vlog { background: rgba(0,0,0,.18); border-radius: 12px; padding: 10px; max-height: 190px; overflow: auto; display: flex; flex-direction: column; gap: 6px; font-size: .9rem }
.voice .vlog:empty { display: none }
.voice .vlog .m { padding: 6px 10px; border-radius: 10px; max-width: 90% }
.voice .vlog .m.you { background: rgba(255,255,255,.18); align-self: flex-end }
.voice .vlog .m.ai { background: rgba(255,255,255,.08); align-self: flex-start }
.voice .acts { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center }
.voice .btn { border-color: transparent }
.voice .btn.go { background: #fff; color: #0A6C68 }
.voice .btn.stop { background: rgba(255,255,255,.15); color: #fff }
.voice input { font: inherit; padding: 10px 12px; border-radius: 10px; border: 0; width: 100% }
.voice .tiny { color: #c2dedc }
.fab { position: fixed; right: 16px; bottom: 84px; z-index: 55; border: 0; background: var(--accent); color: var(--accent-ink); border-radius: 999px; padding: 12px 16px; font-weight: 800; font-family: inherit; font-size: .95rem; display: flex; align-items: center; gap: 8px; box-shadow: 0 10px 30px rgba(10,108,104,.35); cursor: pointer }
@media (min-width: 900px) { .fab { bottom: 20px } }
.fab .dot { width: 10px; height: 10px; border-radius: 50%; background: #7fe0d9; box-shadow: 0 0 0 0 rgba(127,224,217,.6); animation: pulse 2s infinite }
.panel { position: fixed; right: 16px; bottom: 84px; width: min(400px, calc(100% - 32px)); height: min(640px, calc(100% - 100px)); background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); z-index: 56; display: flex; flex-direction: column; overflow: hidden }
@media (min-width: 900px) { .panel { bottom: 20px } }
.panel[hidden] { display: none }
.panel .ph { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--line); background: var(--surface-2) }
.panel .ph b { flex: 1 }
.panel .ph button { border: 0; background: transparent; cursor: pointer; color: var(--ink); font-size: 1.2rem; width: 32px; height: 32px; border-radius: 8px }
.panel .ph button:hover { background: var(--line) }
.panel .log { flex: 1; overflow: auto; padding: 12px; display: flex; flex-direction: column; gap: 10px }
.panel .msg { max-width: 88%; padding: 9px 12px; border-radius: 14px; white-space: pre-wrap; font-size: .93rem; line-height: 1.4 }
.panel .msg.bot { background: var(--surface-2); align-self: flex-start; border-bottom-left-radius: 4px }
.panel .msg.me { background: var(--accent); color: var(--accent-ink); align-self: flex-end; border-bottom-right-radius: 4px }
.panel form#pform { display: flex; gap: 6px; padding: 10px; border-top: 1px solid var(--line) }
.panel #pin { flex: 1; min-width: 0; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); font: inherit }
.panel .mic { border: 1px solid var(--line); background: var(--surface); border-radius: 10px; width: 42px; cursor: pointer; color: var(--ink); display: grid; place-items: center }
.panel .mic.on { background: var(--accent-2); color: #fff; border-color: var(--accent-2) }
.panel .quick { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 12px 10px }
.panel .quick button { border: 1px solid var(--line); background: var(--bg); color: var(--ink); border-radius: 999px; padding: 6px 10px; font-size: .82rem; cursor: pointer; font-family: inherit }
.pgroups { display: grid; gap: 14px }
@media (min-width: 800px) { .pgroups { grid-template-columns: repeat(2, 1fr) } }
.pg { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 16px; display: grid; gap: 10px; align-content: start; scroll-margin-top: 80px }
.pg h3 { font-size: 1.05rem; margin: 0 }
.pg .it { display: flex; justify-content: space-between; gap: 14px; font-size: .92rem; border-top: 1px solid var(--line); padding-top: 8px; align-items: baseline }
.pg .it b { color: var(--accent); text-align: right; flex: none; max-width: 46% }
.pg .it span { color: var(--muted) }
.promise-grid { display: grid; gap: 12px }
@media (min-width: 640px) { .promise-grid { grid-template-columns: repeat(2, 1fr) } }
@media (min-width: 900px) { .promise-grid { grid-template-columns: repeat(4, 1fr) } }
.pcard { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 18px; display: grid; gap: 8px }
.pcard p { margin: 0 }
.pcard .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center }
.about2 { display: grid; gap: 18px; align-items: center }
@media (min-width: 900px) { .about2 { grid-template-columns: 1fr 1fr } }
.about2 img { border-radius: 18px; width: 100% }
.contacts { display: grid; gap: 8px; margin-top: 10px }
.contacts a { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; font-weight: 700; flex-wrap: wrap }
.contacts a span { color: var(--muted); font-weight: 500; font-size: .85rem }
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease }
.reveal.in { opacity: 1; transform: none }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none } }
section[id] { scroll-margin-top: 72px }
[id] { scroll-margin-top: 80px }

/* v3 fixes */
.demostack { display: grid; gap: 22px }
.demo-sec .voice .vhead, .demostack .voice .vhead { display: none }
.est .total { background: var(--surface); border: 1px solid var(--line) }
.sticky-cta .btn.ask { flex: 0 0 auto; background: var(--ink); color: var(--bg); border-color: var(--ink); gap: 6px }
.sticky-cta .btn.ask .dot { width: 8px; height: 8px; border-radius: 50%; background: #7fe0d9; display: inline-block }
@media (max-width: 899px) { .fab { display: none } .panel { bottom: 76px; height: min(560px, calc(100% - 90px)) } .nosticky .fab { display: flex } }
/* v3.1: nav alignment, trade pages, video */
.nav { align-items: center }
.nav a { display: inline-block; line-height: 1.2; border-bottom: 2px solid transparent; border-radius: 8px 8px 0 0 }
.nav .dd { display: flex; align-items: center }
.nav a[aria-current="page"] { background: transparent; border-bottom-color: var(--accent); border-radius: 0 }
.moments { display: grid; gap: 12px }
@media (min-width: 760px) { .moments { grid-template-columns: repeat(3, 1fr); gap: 16px } }
.moment { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--accent-2); border-radius: 14px; padding: 16px 18px; display: grid; gap: 6px }
.moment b { font-size: 1.05rem } .moment p { margin: 0; color: var(--muted); font-size: .95rem }
.details { margin-top: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px }
.details b { display: block; margin-bottom: 8px }
.details summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; margin-bottom: 8px }
.details summary::-webkit-details-marker { display: none }
.details summary::after { content: "–"; color: var(--accent); font-weight: 300; font-size: 1.5rem; line-height: 1 }
.details:not([open]) summary::after { content: "+" }
.details:not([open]) summary { margin-bottom: 0 }
.details ul { margin: 0; padding-left: 18px; color: var(--muted); display: grid; gap: 6px }
@media (min-width: 760px) { .details ul { grid-template-columns: 1fr 1fr; column-gap: 24px } }
.cmp-table { margin-top: 18px }
.cmp-table td:nth-child(2) { white-space: normal; font-weight: 700; color: var(--ink) }
.cmp-table tr.us td { background: var(--accent-soft); font-weight: 700 }
.cmp-table tr.us td:first-child { color: var(--accent) }
.proofs { display: grid; gap: 12px }
.proof { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px }
.proof p { margin: 0 0 8px; font-weight: 600 }
.proof .src { font-size: .85rem; color: var(--muted) } .proof .src a { color: var(--muted) }
.proof .tag { margin-right: 6px; font-size: .72rem }
.tag.vendor { background: var(--accent-2-soft); color: var(--accent-2) }
.tag.academic, .tag.independent, .tag.primary { background: var(--accent-soft); color: var(--accent) }
.hero.v3 .art img { object-position: 50% 40% }
.thero .art { object-position: 50% 35% }
.video { position: relative; border-radius: 14px; overflow: hidden; background: #0f1312; aspect-ratio: 16 / 9 }
.video video { width: 100%; height: 100%; display: block; object-fit: cover }
.walkteaser a.vid { display: block }

/* ===== v4: premium theme (type, surfaces, rhythm, motion) ===== */
body { font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; font-feature-settings: "ss01", "cv11" }
h1, h2 { font-family: var(--display); font-weight: 700; letter-spacing: -.03em; line-height: 1.06; text-wrap: balance; margin: 0 0 .45em; color: var(--ink) }
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem) }
h2 { font-size: clamp(1.7rem, 3.1vw, 2.5rem); line-height: 1.12; font-weight: 600 }
h3, h4 { font-weight: 700; letter-spacing: -.012em; line-height: 1.2 }
h3 { font-size: 1.18rem }
p { margin: 0 0 1.05em }
.muted { color: var(--muted) }
.wrap { width: min(1160px, 100% - 40px) }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color .15s }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px }
::selection { background: var(--accent-soft); color: var(--ink) }

/* kickers: a short rule, wide tracking */
.kicker, .section-head .kicker { display: flex; align-items: center; gap: 10px; color: var(--accent-2); font-weight: 700; text-transform: uppercase; letter-spacing: .14em; font-size: .72rem; margin-bottom: 14px }
.kicker::before, .section-head .kicker::before { content: ""; width: 22px; height: 1px; background: currentColor; opacity: .7 }
.section-head.center .kicker { justify-content: center }
.section-head.center .kicker::after { content: ""; width: 22px; height: 1px; background: currentColor; opacity: .7 }
.section-head { margin-bottom: 36px }
.section-head h2 { max-width: 22ch }
.section-head.center h2 { margin-left: auto; margin-right: auto }
.section-head p.muted, .section-head .muted { font-size: 1.08rem; max-width: 60ch }
.section-head.center .muted { margin-left: auto; margin-right: auto }

/* rhythm: more air between sections, tonal alternation instead of hard bands */
section { padding: 64px 0 }
section.alt { background: var(--surface-2) }
@media (min-width: 900px) { section { padding: 88px 0 } .phero + section { padding-top: 32px } }
.phero { padding: 44px 0 20px }
.phero h1 { max-width: 20ch }
.phero .lead { font-size: 1.15rem; max-width: 60ch; color: var(--muted) }
@media (min-width: 900px) { .phero { padding: 72px 0 28px } }

/* header: glass bar, quiet links */
.top { background: color-mix(in srgb, var(--bg) 74%, transparent); backdrop-filter: saturate(1.3) blur(16px); -webkit-backdrop-filter: saturate(1.3) blur(16px); border-bottom: 1px solid var(--line) }
.top .wrap { height: 70px }
.brand { font-weight: 700; font-size: 1.12rem; letter-spacing: -.02em }
.brand svg { width: 32px; height: 32px; min-width: 32px }
.nav a { font-weight: 500; font-size: .94rem; padding: 8px 11px; color: var(--ink-2); border-bottom: 0; border-radius: 10px; transition: background .15s, color .15s }
.nav a:hover { background: var(--surface-2); color: var(--ink) }
.nav a[aria-current="page"] { background: transparent; color: var(--ink); font-weight: 700; position: relative; border-radius: 10px }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 11px; right: 11px; bottom: 2px; height: 2px; background: var(--accent-2); border-radius: 2px }
.nav .menu-panel { border-radius: var(--radius-sm); box-shadow: var(--shadow); padding: 8px; border-color: var(--line) }
.nav .menu-panel a { font-weight: 500 }
.theme, .menu { border-radius: 10px; border-color: var(--line) }
.mobile-nav .mgroup a { border-radius: 999px; font-weight: 500 }

/* buttons: ink primary, hairline secondary, copper for warm actions; a quiet state layer on hover */
.btn { border-radius: var(--radius-sm); padding: 12px 20px; font-weight: 700; font-size: .98rem; letter-spacing: -.005em; border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); position: relative; overflow: hidden; transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s, border-color .18s, color .18s }
.btn::after { content: ""; position: absolute; inset: 0; background: currentColor; opacity: 0; transition: opacity .18s; pointer-events: none }
.btn:hover::after { opacity: .06 }
.btn:active::after { opacity: .1 }
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-sm) }
.btn.primary { background: var(--ink); color: var(--bg); border-color: var(--ink) }
.btn.primary:hover::after { opacity: .12 }
.btn.warm { background: var(--accent-2); border-color: var(--accent-2); color: #fff }
.btn.ghost { color: var(--ink); text-decoration: none; font-weight: 600; border-color: transparent; background: transparent }
.btn.ghost::before { content: "→"; order: 2; transition: transform .18s var(--ease) }
.btn.ghost:hover { box-shadow: none; transform: none; background: var(--surface-2) }
.btn.ghost:hover::before { transform: translateX(3px) }
.btn.big { padding: 15px 26px; font-size: 1.02rem }
.btn.small { padding: 8px 14px; font-size: .9rem }
.linkbtn { color: var(--ink); text-decoration-color: var(--accent-2) }

/* surfaces: one family of cards — paper, hairline, large radius, lift on hover */
.card, .tcard, .tile, .step3, .bcard, .moment, .pcard, .pg, .proof, .facts div, .talk, .person, .pricebox, .formcard, .details, .flowmini li, .tl, .info, .dash, .chatbox, .hero-card, .audio .clip, .contacts a, .whatback, .contact .side .box, .faq details, .step, .est label, .table { border-color: var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: none }
.tile, .tl, .moment, .proof, .facts div, .talk, .person, .flowmini li, .audio .clip, .contacts a, .est label, .faq details { border-radius: var(--radius-sm) }
.tcard, .pcard, .bcard, .step3, .pg, .card { padding: 22px }
.tcard:hover, .tile:hover, .pcard:hover, .bcard:hover, .moment:hover, .card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-strong) }
.tcard, .tile, .pcard, .bcard, .moment, .card { transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s }
section.alt .card, section.alt .tcard, section.alt .tile, section.alt .step3, section.alt .bcard, section.alt .pcard, section.alt .pg, section.alt .pricebox, section.alt .details, section.alt .faq details, section.alt .facts div, section.alt .proof { background: var(--surface) }
.faq details { padding: 6px 20px }
.faq summary { font-weight: 600; padding: 14px 0; font-size: 1.02rem }
.faq summary::after { content: "+"; color: var(--accent-2); font-weight: 500; font-size: 1.4rem; font-family: var(--display) }
.faq details[open] summary::after { content: "–" }
.faq details p { line-height: 1.6 }
.table { border-radius: var(--radius-sm) }
.table th { background: var(--surface-2); font-size: .74rem; letter-spacing: .1em; font-weight: 700 }
.table td.p { font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums }
.cmp-table tr.us td { background: var(--accent-soft) }
.tag { font-weight: 700; letter-spacing: .02em; font-size: .74rem; background: var(--surface-2); color: var(--ink-2) }
.tag.warm, .tag.vendor { background: var(--accent-2-soft); color: var(--accent-2) }
.tag.academic, .tag.independent, .tag.primary { background: var(--accent-soft); color: var(--accent) }

/* imagery: softer corners, a warm grade and a hairline inset so photos sit in the paper */
.hero.v3 .art img, .thero .art, .about2 img, .walkteaser img, .tcard img, .step3 img, .tl img { filter: saturate(.94) contrast(1.02); box-shadow: inset 0 0 0 1px rgba(20, 31, 29, .08) }
.hero.v3 .art img { border-radius: var(--radius-lg); box-shadow: var(--shadow) }
.thero .art { border-radius: var(--radius-lg); box-shadow: var(--shadow) }
@media (min-width: 980px) { .hero.v3 .art img, .thero .art { border-radius: 30px } }
.tcard img { border-radius: var(--radius-sm); transition: transform .6s var(--ease) }
.tcard:hover img { transform: scale(1.02) }
.tcard .tname { font-weight: 700; font-size: 1.06rem; margin-top: 8px; letter-spacing: -.01em }
.tcard .tgo { color: var(--accent-2); font-weight: 700; font-size: .86rem; margin-top: 4px }
.tradegrid { gap: 14px }
@media (min-width: 760px) { .tradegrid { gap: 20px } }

/* home hero: quiet eyebrow, serif headline, glass floats */
.hero.v3 .eyebrow, .hero .eyebrow { background: transparent; border: 1px solid var(--line-strong); color: var(--ink-2); font-weight: 600; font-size: .8rem; letter-spacing: .01em; padding: 7px 14px }
.hero .eyebrow i { background: var(--accent-2) }
.hero.v3 h1 { font-size: clamp(2.2rem, 5.6vw, 4rem) }
.hero.v3 p.lead { font-size: 1.12rem; line-height: 1.6; max-width: 54ch; color: var(--muted) }
@media (min-width: 640px) { .hero.v3 p.lead { font-size: 1.2rem } }
.hero.v3 .actions { margin: 24px 0 18px }
.proofline { font-size: .9rem; gap: 8px 18px }
.proofline li::before { content: "·"; color: var(--accent-2); font-weight: 800; margin-right: 6px; font-size: 1.1em }
.proofline li:first-child::before { content: none }
.proofline b { font-weight: 700 }
@media (min-width: 980px) {
  .hero.v3 { padding: 72px 0 44px }
  .hero.v3::before { content: ""; position: absolute; inset: -40% -20% auto auto; width: 60%; height: 120%; background: radial-gradient(closest-side, color-mix(in srgb, var(--accent-soft) 70%, transparent), transparent 70%); pointer-events: none; z-index: -1 }
  .hero.v3 .float { background: color-mix(in srgb, var(--surface) 78%, transparent); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); border: 1px solid color-mix(in srgb, var(--surface) 70%, transparent); box-shadow: var(--shadow); border-radius: 14px; font-weight: 600; padding: 11px 14px; letter-spacing: -.005em }
}
.thero h1 { font-size: clamp(2rem, 4.6vw, 3.3rem) }
.thero .pain { color: var(--accent-2); font-weight: 600; font-size: 1.02rem; letter-spacing: -.005em }
.thero .lead { font-size: 1.1rem }

/* home: three steps with serif numerals, promise cards with a copper mark */
.step3 .n, .bcard .n, .step::before, .flowmini li::before { background: transparent; color: var(--accent-2); font-family: var(--display); font-weight: 700; font-size: 1.3rem; width: auto; height: auto; border-radius: 0; line-height: 1 }
.step3 .n { position: static; margin-bottom: 2px }
.step3 { grid-template-columns: 88px 1fr; padding: 16px }
.step3 .n { grid-column: 1 / -1 }
@media (min-width: 760px) { .step3 { grid-template-columns: 1fr; padding: 18px } .step3 img { margin-top: 2px } }
.step3 b, .bcard b { font-size: 1.1rem; letter-spacing: -.01em }
.step3 p, .bcard p, .moment p { line-height: 1.55 }
.bcard { padding: 22px 22px 22px 22px; display: grid; gap: 8px }
.bcard .n { position: static; width: auto; height: auto }
.moment { border-left: 0; padding: 20px 22px }
.moment b { font-family: var(--display); font-weight: 700; font-size: 1.15rem; letter-spacing: -.02em; display: block; margin-bottom: 4px }
.moment::before { content: ""; display: block; width: 28px; height: 2px; background: var(--accent-2); margin-bottom: 14px; border-radius: 2px }
.pcard .ic { background: var(--surface-2); color: var(--accent-2); border-radius: 12px }
.pcard b { font-size: 1.05rem; letter-spacing: -.01em }
.tile b { font-size: 1.04rem }
.tile::after { content: "→"; color: var(--accent-2); font-weight: 700; justify-self: end; margin-top: -1.5em; transition: transform .18s var(--ease) }
.tile:hover::after { transform: translateX(3px) }
.trymore { gap: 12px }

/* numbers and prices in the display face */
.pricebox .big { font-family: var(--display); font-weight: 700; letter-spacing: -.03em; font-size: clamp(1.9rem, 4vw, 2.6rem); line-height: 1.05 }
.pricebox { padding: 28px; border-radius: var(--radius-lg) }
@media (min-width: 760px) { .pricebox { padding: 34px } }
.pg h3 { font-family: var(--display); font-weight: 700; font-size: 1.3rem; letter-spacing: -.02em }
.pg .it { padding-top: 10px; font-size: .95rem }
.pg .it b { color: var(--ink); font-weight: 700; font-variant-numeric: tabular-nums }
.stat b { font-family: var(--display); font-weight: 700; font-size: 1.7rem; letter-spacing: -.03em }
.card .price { color: var(--ink) }
.est .p, .est .total { color: var(--ink); font-variant-numeric: tabular-nums }
.est .total { background: var(--surface-2); border-radius: var(--radius-sm); font-family: var(--display); font-weight: 700; font-size: 1.25rem; letter-spacing: -.02em }
.est label:has(input:checked) { border-color: var(--ink); background: var(--surface) }
.est input, .audio progress { accent-color: var(--ink) }
.tl .day, .facts b, .card .who { color: var(--accent-2); letter-spacing: .12em; font-size: .72rem }
.proof p { font-weight: 600; line-height: 1.5 }

/* forms */
.form input, .form select, .form textarea, .sendrow input, .chatbox input, .panel #pin { border-radius: var(--radius-sm); padding: 12px 14px; border-color: var(--line-strong); background: var(--surface); transition: border-color .15s, box-shadow .15s }
.form input:focus, .form select:focus, .form textarea:focus, .sendrow input:focus, .chatbox input:focus, .panel #pin:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px color-mix(in srgb, var(--ink) 10%, transparent) }
.form label { font-weight: 600; font-size: .88rem; color: var(--ink-2) }
.pills button, .chips button, .subnav a, .slots button, .chatbox .starters button, .panel .quick button, .mobile-nav .mgroup a { border-color: var(--line-strong); background: var(--surface); font-weight: 600; transition: background .15s, color .15s, border-color .15s }
.pills button.on, .chips button.on, .subnav a.on, .subnav a:hover, .slots button.on { background: var(--ink); color: var(--bg); border-color: var(--ink) }
.pills button:hover, .chips button:hover, .chatbox .starters button:hover, .panel .quick button:hover { background: var(--surface-2) }
.formcard { border-radius: var(--radius-lg); box-shadow: var(--shadow) }
.okmark { background: var(--accent) }

/* chat, voice and the assistant: ink-teal gradient, no neon */
.voice, .ctaband { background: linear-gradient(160deg, #123F3B 0%, #0D2B29 60%, #0B1F1E 100%); color: #fff }
.voice { border-radius: var(--radius-lg); padding: 26px }
.voice h3 { font-family: var(--display); font-weight: 700; font-size: 1.35rem; letter-spacing: -.02em }
.voice p, .ctaband p { color: #CFE0DD }
.voice .orb { background: radial-gradient(circle at 35% 35%, #9BE8E0, #2C9E96 55%, #0F5D59); box-shadow: 0 0 0 0 rgba(155, 232, 224, .5) }
.voice .btn.go { background: #fff; color: #123F3B; border-color: #fff }
.voice .btn.stop { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.3) }
.ctaband { padding: 72px 0; position: relative; overflow: hidden }
.ctaband::before { content: ""; position: absolute; right: -10%; top: -40%; width: 50%; height: 160%; background: radial-gradient(closest-side, rgba(180, 83, 44, .35), transparent 70%); pointer-events: none }
.ctaband .wrap { position: relative }
.ctaband h2 { color: #fff; font-size: clamp(1.9rem, 3.6vw, 2.9rem) }
.ctaband .btn.primary { background: #fff; color: #0D2B29; border-color: #fff }
.ctaband .btn:not(.primary) { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.3) }
.chatbox .msg.me, .panel .msg.me, .bubble.out { background: var(--ink); color: var(--bg) }
.panel { border-radius: var(--radius); box-shadow: var(--shadow) }
.panel .ph { background: var(--surface) }
.fab { background: var(--ink); color: var(--bg); box-shadow: 0 12px 30px rgba(20, 31, 29, .28); font-weight: 700 }
.fab .dot { background: var(--accent-2); box-shadow: 0 0 0 0 rgba(180, 83, 44, .5) }
.sticky-cta .btn.ask { background: var(--surface); color: var(--ink); border-color: var(--line-strong) }
.sticky-cta .btn.ask .dot { background: var(--accent-2) }
.sticky-cta .btn.primary { background: var(--ink); color: var(--bg); border-color: var(--ink) }
.toast { background: var(--ink); color: var(--bg); border-radius: var(--radius-sm) }

/* dashboard mock, flow */
.stat { background: var(--surface-2); border-radius: var(--radius-sm) }
.dash .call .k { background: var(--accent-soft); color: var(--accent) }
.flow .node.hot { fill: var(--accent-soft); stroke: var(--accent) }
.flowmini li.hot { border-color: var(--accent); background: var(--accent-soft) }
.flowmini li.warm { background: var(--accent-2-soft); border-color: var(--accent-2) }
.flowmini li::before, .flowmini li.hot::before, .flowmini li.warm::before { background: transparent; color: var(--accent-2); font-size: 1.2rem; top: 10px }
.flowmini li.hot::before { color: var(--accent) }
.timeline .tl { padding: 16px }
.info .cap, .fiction { color: var(--muted) }

/* footer: hairline, large faint wordmark */
footer { position: relative; overflow: hidden; padding: 56px 0 96px; color: var(--muted); border-top: 1px solid var(--line) }
footer .fb { color: var(--ink); font-weight: 700; display: inline-block; margin-bottom: 8px; letter-spacing: -.01em }
footer .cols { gap: 28px; position: relative; z-index: 1 }
footer a:hover { color: var(--ink) }
footer::after { content: "Marlionlabs"; position: absolute; left: 0; right: 0; bottom: -.3em; text-align: center; font-family: var(--display); font-weight: 800; font-size: clamp(4.5rem, 16vw, 14rem); letter-spacing: -.05em; line-height: 1; color: var(--ink); opacity: .04; pointer-events: none; white-space: nowrap }
@media (min-width: 900px) { footer { padding-bottom: 150px } }

/* legal, about */
.legal h1 { font-size: 2.3rem } .legal h2 { font-family: var(--font); font-weight: 700; font-size: 1.2rem; letter-spacing: -.01em }
.about2 img { border-radius: var(--radius-lg); box-shadow: var(--shadow) }
.walkteaser a:first-child { border-radius: var(--radius); box-shadow: var(--shadow) }
.playbadge { background: rgba(20, 31, 29, .78); backdrop-filter: blur(8px); font-weight: 600 }
.wtcopy h3, .tbcopy h3 { font-family: var(--display); font-weight: 700; font-size: 1.35rem; letter-spacing: -.02em }
.reveal { transition: opacity .7s var(--ease), transform .7s var(--ease) }
.center { text-align: center }
.bcard .n, .step3 .n { display: block; text-align: left; place-items: unset }
@media (max-width: 759px) { .tcard { padding: 12px } .tcard .tname { font-size: 1rem } .tcard .tpain { font-size: .84rem } .pcard, .bcard, .card, .pg { padding: 18px } }

/* ===== v5: the Apple-like pass — neutral bands, one blue, pills, borderless cards ===== */
body { font-family: var(--font); font-size: 17px; line-height: 1.47; letter-spacing: -.01em; font-feature-settings: "cv11", "ss03" }
h1, h2 { font-family: var(--display); font-weight: 600; letter-spacing: -.025em; line-height: 1.05 }
h1 { font-size: clamp(2.4rem, 5.4vw, 4rem) }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); font-weight: 600; line-height: 1.08 }
h3 { font-family: var(--display); font-weight: 600; letter-spacing: -.015em; font-size: 1.25rem }
.hero.v3 h1 { font-size: clamp(2.5rem, 6.2vw, 4.6rem) }
.thero h1 { font-size: clamp(2.1rem, 4.8vw, 3.5rem) }
p.lead, .hero.v3 p.lead, .phero .lead, .thero .lead { font-size: 1.25rem; line-height: 1.45; color: var(--muted); letter-spacing: -.012em }
@media (min-width: 640px) { .hero.v3 p.lead { font-size: 1.3rem } }
.section-head .muted { font-size: 1.15rem }
.kicker, .section-head .kicker { color: var(--accent); text-transform: none; letter-spacing: -.005em; font-size: 1.02rem; font-weight: 600; margin-bottom: 10px }
.kicker::before, .kicker::after, .section-head .kicker::before, .section-head.center .kicker::after { display: none }
.hero.v3 .eyebrow, .hero .eyebrow { border: 0; background: transparent; padding: 0; color: var(--accent); font-weight: 600; font-size: 1rem; letter-spacing: -.005em; margin-bottom: 14px }
.hero .eyebrow i { display: none }

/* home hero: centred headline, product image below */
.hero.v3 { padding: 72px 0 24px; background: var(--bg) }
.hero.v3::before { display: none }
.hero.v3 .grid, .hero.v3 .grid[class] { grid-template-columns: 1fr; gap: 36px; text-align: center }
.hero.v3 .copy { max-width: 880px; margin: 0 auto }
.hero.v3 .copy p.lead { margin: 0 auto }
.hero.v3 .actions { justify-content: center; margin: 26px 0 16px }
.proofline { justify-content: center }
.hero.v3 .art { order: 1; width: min(1040px, 100%); margin: 8px auto 0 }
.hero.v3 .art img { aspect-ratio: 16 / 8.5; border-radius: var(--radius-lg); box-shadow: none; filter: none }
@media (min-width: 980px) { .hero.v3 { padding: 96px 0 40px } .hero.v3 .float { background: rgba(255,255,255,.85); border: 0; box-shadow: var(--shadow); color: #1D1D1F; backdrop-filter: blur(14px) } }
:root[data-theme="dark"] .hero.v3 .float { background: rgba(29,29,31,.85); color: #F5F5F7 }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .hero.v3 .float { background: rgba(29,29,31,.85); color: #F5F5F7 } }

/* header: translucent white bar */
.top { background: rgba(255,255,255,.75); backdrop-filter: saturate(1.8) blur(20px); -webkit-backdrop-filter: saturate(1.8) blur(20px); border-bottom: 1px solid var(--line) }
:root[data-theme="dark"] .top { background: rgba(0,0,0,.72) }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .top { background: rgba(0,0,0,.72) } }
.top .wrap { height: 60px }
.brand { font-weight: 600; font-size: 1.08rem }
.nav a { font-weight: 400; font-size: .92rem; color: var(--ink); padding: 7px 11px }
.nav a:hover { background: transparent; color: var(--accent) }
.nav a[aria-current="page"] { font-weight: 600 }
.nav a[aria-current="page"]::after { display: none }
.theme, .menu { border: 0; background: var(--surface-2); border-radius: 999px }

/* buttons: blue pill, grey pill, blue text link with a chevron */
.btn { border-radius: 980px; padding: 12px 22px; font-weight: 500; font-size: 1rem; letter-spacing: -.012em; border: 1px solid transparent; background: var(--surface-2); color: var(--ink) }
.btn:hover { transform: none; box-shadow: none; background: var(--surface-3) }
.btn::after { display: none }
.btn.primary { background: var(--accent); color: #fff; border-color: transparent }
.btn.primary:hover { background: var(--accent-hover) }
.btn.warm { background: var(--ink); color: var(--bg) }
.btn.ghost { color: var(--accent); background: transparent; font-weight: 400; padding-left: 4px; padding-right: 4px }
.btn.ghost::before { content: "›"; order: 2; font-size: 1.25em; line-height: 0; margin-left: 2px }
.btn.ghost:hover { background: transparent; text-decoration: underline; text-underline-offset: 3px }
.btn.big { padding: 15px 28px; font-size: 1.08rem }
.btn.small { padding: 8px 16px; font-size: .9rem }
a { color: var(--accent) }
.linkbtn { color: var(--accent); text-decoration: none }
.linkbtn:hover { text-decoration: underline }

/* sections and cards: alternate white / light grey, cards borderless and tonal */
section { padding: 80px 0 }
@media (min-width: 900px) { section { padding: 104px 0 } }
section.alt { background: var(--surface-2) }
.card, .tcard, .tile, .step3, .bcard, .moment, .pcard, .pg, .proof, .facts div, .talk, .person, .pricebox, .formcard, .details, .flowmini li, .tl, .info, .dash, .chatbox, .hero-card, .audio .clip, .contacts a, .whatback, .contact .side .box, .faq details, .step, .est label, .table, .plan, .guide { border: 0; background: var(--surface-2); box-shadow: none }
section.alt .card, section.alt .tcard, section.alt .tile, section.alt .step3, section.alt .bcard, section.alt .pcard, section.alt .pg, section.alt .pricebox, section.alt .details, section.alt .faq details, section.alt .facts div, section.alt .proof, section.alt .moment, section.alt .tl, section.alt .est label, section.alt .table, section.alt .formcard, section.alt .talk, section.alt .whatback, section.alt .info, section.alt .flowmini li, section.alt .chatbox, section.alt .audio .clip, section.alt .contacts a { background: var(--surface) }
.tcard:hover, .tile:hover, .pcard:hover, .bcard:hover, .moment:hover, .card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: transparent }
.formcard { box-shadow: var(--shadow-sm) }
.table th { background: var(--surface-3) }
.cmp-table tr.us td { background: var(--accent-soft) }
.faq details { padding: 8px 22px }
.faq summary::after { content: "+"; color: var(--accent); font-family: var(--font); font-weight: 300; font-size: 1.6rem }
.tag { background: var(--surface-3) }
.tag.warm, .tag.vendor, .tag.academic, .tag.independent, .tag.primary { background: var(--accent-soft); color: var(--accent) }
.moment::before { display: none }
.moment { padding: 24px }
.moment b { font-family: var(--display); font-weight: 600; font-size: 1.2rem }
.thero .pain { color: var(--ink); font-weight: 600; font-size: 1.05rem }
.step3 .n, .bcard .n, .step::before, .flowmini li::before { color: var(--accent); font-family: var(--display); font-weight: 600; font-size: 1.1rem }
.pcard .ic { background: var(--accent-soft); color: var(--accent) }
.tcard .tgo, .tile::after, .proofline li::before { color: var(--accent) }
.tcard img, .step3 img, .tl img, .thero .art, .about2 img, .walkteaser img { filter: none; box-shadow: none }
.thero .art { border-radius: var(--radius-lg) }
.tl .day, .facts b, .card .who { color: var(--accent); letter-spacing: 0; text-transform: none; font-size: .9rem; font-weight: 600 }
.pricebox .big, .pg h3, .stat b, .est .total, .voice h3, .wtcopy h3, .tbcopy h3 { font-family: var(--display); font-weight: 600 }
.est label:has(input:checked) { border: 0; background: var(--accent-soft) }
.est input, .audio progress { accent-color: var(--accent) }
.pills button, .chips button, .subnav a, .slots button, .chatbox .starters button, .panel .quick button, .mobile-nav .mgroup a, .rooms button { border: 0; background: var(--surface-2); font-weight: 500 }
section.alt .pills button, section.alt .chips button, section.alt .subnav a, section.alt .slots button { background: var(--surface) }
.pills button.on, .chips button.on, .subnav a.on, .subnav a:hover, .slots button.on, .rooms button.on,
section.alt .pills button.on, section.alt .chips button.on, section.alt .subnav a.on, section.alt .subnav a:hover, section.alt .slots button.on { background: var(--ink); color: var(--bg) }
.form input, .form select, .form textarea, .sendrow input, .chatbox input, .panel #pin, .gform input { border: 1px solid #D2D2D7; background: var(--surface); border-radius: var(--radius-sm) }
.form input:focus, .form select:focus, .form textarea:focus, .sendrow input:focus, .chatbox input:focus, .panel #pin:focus, .gform input:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(0, 113, 227, .25) }
:root[data-theme="dark"] .form input, :root[data-theme="dark"] .form select, :root[data-theme="dark"] .form textarea, :root[data-theme="dark"] .sendrow input, :root[data-theme="dark"] .chatbox input, :root[data-theme="dark"] .panel #pin, :root[data-theme="dark"] .gform input { border-color: #424245 }
.okmark { background: var(--good) }

/* the dark panels: receptionist card and the closing band */
.voice, .ctaband { background: #1D1D1F; color: #F5F5F7 }
.voice { background: linear-gradient(170deg, #2C2C2E 0%, #1D1D1F 55%, #000 100%); border-radius: var(--radius-lg) }
.voice p, .ctaband p { color: #A1A1A6 }
.voice .tiny { color: #86868B }
.voice .orb { background: radial-gradient(circle at 35% 35%, #9ED0FF, #2997FF 55%, #0A4FA3); box-shadow: 0 0 0 0 rgba(41, 151, 255, .5) }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(41, 151, 255, .5) } 100% { box-shadow: 0 0 0 28px rgba(41, 151, 255, 0) } }
.voice .btn.go { background: #fff; color: #1D1D1F }
.voice .btn.stop { background: rgba(255,255,255,.14); color: #fff }
.ctaband::before { display: none }
.ctaband h2 { color: #F5F5F7 }
.ctaband .btn.primary { background: var(--accent); color: #fff; border-color: transparent }
.ctaband .btn:not(.primary) { background: rgba(255,255,255,.12); color: #fff; border-color: transparent }
.chatbox .msg.me, .panel .msg.me, .bubble.out, .glog .m.me { background: var(--accent); color: #fff }
.fab { background: var(--accent); color: #fff; box-shadow: 0 10px 30px rgba(0, 113, 227, .3) }
.fab .dot { background: #fff; box-shadow: 0 0 0 0 rgba(255,255,255,.5) }
.sticky-cta .btn.primary { background: var(--accent); color: #fff; border-color: transparent }
.sticky-cta .btn.ask { background: var(--surface); color: var(--ink); border: 0; box-shadow: var(--shadow-sm) }
.sticky-cta .btn.ask .dot { background: var(--accent) }
.toast { background: var(--ink); color: var(--bg) }
.stat { background: var(--surface-3) }
.dash .call .k { background: var(--accent-soft); color: var(--accent) }
.flow .node.hot { fill: var(--accent-soft); stroke: var(--accent) } .flow .node.warm { fill: var(--surface-3); stroke: var(--line-strong) }
.flow .edge { stroke: var(--accent) } .flow .edge.w { stroke: var(--muted) }
.flowmini li.hot { border: 0; background: var(--accent-soft) } .flowmini li.warm { border: 0; background: var(--surface-3) }
.flowmini li.hot::before, .flowmini li.warm::before { color: var(--accent); background: transparent }
.hud .room { background: var(--accent) }
.gorb { background: radial-gradient(circle at 35% 35%, #9ED0FF, #2997FF 55%, #0A4FA3) }

/* footer: light grey, small, quiet */
footer { background: var(--surface-2); border-top: 0; color: var(--muted); font-size: .8rem; padding: 40px 0 90px }
footer .fb { color: var(--ink); font-weight: 600 }
footer a { color: var(--ink-2) }
footer::after { display: none }
@media (min-width: 900px) { footer { padding-bottom: 56px } }

.section-head h2 { max-width: 28ch }
.chatbox { min-width: 0; max-width: 100% }
.chatbox form { flex-wrap: wrap }
.chatbox .starters button { max-width: 100%; white-space: normal; text-align: left }
.demostack > * { min-width: 0 }
.sticky-cta { gap: 6px }
.sticky-cta .btn { padding-left: 12px; padding-right: 12px; min-width: 0 }

/* ===== v5.1: production pass — phone layouts, density, compare table, fab ===== */
/* short copy on phones: .less shows under 640px, .more above (hero leads, page leads, trade leads, about) */
.less { display: none }
@media (max-width: 639px) {
  .hero.v3 { padding: 40px 0 8px }
  .hero.v3 h1 { font-size: 2.35rem; letter-spacing: -.03em }
  .hero.v3 p.lead { font-size: 1.05rem; line-height: 1.45 }
  .more { display: none !important } .less { display: inline }
  .hero.v3 .eyebrow { font-size: .9rem; margin-bottom: 10px }
  .hero.v3 .actions { margin: 18px 0 12px; gap: 4px }
  .proofline { font-size: .84rem; gap: 4px 12px }
  .proofline li:nth-child(4) { display: none }
  .hero.v3 .art img { aspect-ratio: 4 / 3; border-radius: 18px }
  .tradegrid { grid-template-columns: 1fr; gap: 10px }
  .tcard { grid-template-columns: 84px 1fr; align-items: center; gap: 4px 14px; padding: 12px }
  .tcard img { width: 84px; height: 84px; aspect-ratio: 1; border-radius: 12px; grid-row: span 2 }
  .tcard .tname { margin: 0; font-size: 1.02rem; align-self: end }
  .tcard .tpain { display: none }
  .tcard .tgo { margin: 0; align-self: start }
  .thero { padding: 16px 0 12px }
  .thero .pain { display: none }
  .thero h1 { font-size: 2rem }
  .thero .lead { font-size: 1.02rem }
  .thero .actions { margin: 14px 0 10px }
  section { padding: 56px 0 }
  .section-head { margin-bottom: 22px }
  h2 { font-size: 1.75rem }
  .section-head .muted { font-size: 1.02rem }
  .moment, .bcard, .pcard, .card, .pg, .step3 { padding: 16px }
  /* card rows swipe sideways instead of stacking into a text pile; the next card peeks in from the right */
  .moments, .bgrid, .proofs, .steps3, .promise-grid { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -16px; padding: 2px 16px 10px; scrollbar-width: none; -webkit-overflow-scrolling: touch }
  .moments::-webkit-scrollbar, .bgrid::-webkit-scrollbar, .proofs::-webkit-scrollbar, .steps3::-webkit-scrollbar, .promise-grid::-webkit-scrollbar { display: none }
  .moment, .bcard, .proof, .step3, .promise-grid > * { flex: 0 0 82%; scroll-snap-align: start; min-width: 0 }
  .proof { flex-basis: 86% }
  .steps3 .step3 { grid-template-columns: 1fr } .steps3 .step3 img { width: 100%; grid-row: auto; aspect-ratio: 16 / 10 }
  .hero.v3 h1 { font-size: 2.25rem }
  .swipe-hint { display: block; font-size: .8rem; color: var(--muted); margin: -2px 0 0; text-align: right }
  .nosticky .fab { display: none } /* the contact page is the conversion point; the chat is one tap away everywhere else */
  .loop svg { max-width: 320px; margin: 0 auto; display: block }
  /* comparison table becomes stacked cards */
  .cmp-table thead { display: none }
  .cmp-table, .cmp-table tbody, .cmp-table tr, .cmp-table td { display: block; width: 100% }
  .cmp-table tr { padding: 12px 14px; border-top: 1px solid var(--line) }
  .cmp-table td { padding: 2px 0; border: 0 }
  .cmp-table td:first-child { font-weight: 600; color: var(--ink) }
  .cmp-table td:nth-child(2) { font-weight: 500; color: var(--ink) }
  .cmp-table td:nth-child(3) { color: var(--muted); font-size: .92rem }
  .cmp-table tr.us { border-radius: 12px; border: 0 }
  .table-wrap { border-radius: 12px; overflow: hidden }
}
.walkpage h1 { font-size: clamp(1.7rem, 3.4vw, 2.4rem) }
.voice .demo-tag { display: inline-block; vertical-align: middle; margin-left: 8px; padding: 3px 9px; border-radius: 999px; background: rgba(255,255,255,.14); color: #F5F5F7; font: 600 .72rem/1.4 var(--font); letter-spacing: .02em; text-transform: uppercase }

/* ===== v6: phone pass — less chrome, left-aligned hero, tiles and lists instead of boxes, one sticky button ===== */
.mobile-nav .theme-row { display: none }
.sticky-cta { transform: translateY(120%); opacity: 0; transition: transform .35s var(--ease), opacity .3s; pointer-events: none }
.sticky-cta.show { transform: none; opacity: 1; pointer-events: auto }
.sticky-cta .ico { flex: 0 0 48px; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm); border: 0; cursor: pointer; text-decoration: none }
.sticky-cta .btn.primary { height: 48px; padding: 0 18px; font-size: 1rem }
.bcard.collapsible { cursor: pointer }
.bcard.collapsible > p { display: none }
.bcard.collapsible.open > p { display: block }
.bcard.collapsible > b { display: flex; justify-content: space-between; align-items: center; gap: 12px }
.bcard.collapsible > b::after { content: "+"; color: var(--accent); font-weight: 300; font-size: 1.5rem; line-height: 1; flex: 0 0 auto }
.bcard.collapsible.open > b::after { content: "–" }

@media (max-width: 639px) {
  :root { --radius: 14px; --radius-lg: 16px }
  body { padding-bottom: 0 }
  .reveal { opacity: 1; transform: none; transition: none }
  /* chrome */
  .top .wrap { height: 56px; gap: 10px }
  .top .theme { display: none }
  .top .cta { display: inline-flex; padding: 8px 14px; font-size: .9rem; margin-left: auto }
  .mobile-nav .theme-row { display: flex; width: calc(100% - 32px); margin: 6px 16px 0; align-items: center; justify-content: space-between; padding: 12px 0 4px; border: 0; border-top: 1px solid var(--line); background: transparent; color: var(--ink); font: 600 1rem var(--font); cursor: pointer }
  .mobile-nav .theme-row .sw { width: 42px; height: 24px; border-radius: 999px; background: var(--surface-3); position: relative; transition: background .2s }
  .mobile-nav .theme-row .sw::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .2s }
  .mobile-nav .theme-row[aria-pressed="true"] .sw { background: var(--accent) } .mobile-nav .theme-row[aria-pressed="true"] .sw::after { transform: translateX(18px) }
  .sticky-cta { left: 16px; right: 16px; bottom: 14px; gap: 10px }
  .fab { display: none }
  /* hero: left-aligned, one message, full-bleed picture */
  .hero.v3 { padding: 28px 0 0 }
  .hero.v3 .grid, .hero.v3 .grid[class] { text-align: left; gap: 0 }
  .hero.v3 .copy { max-width: none; margin: 0 }
  .hero.v3 .copy p.lead { margin: 0 }
  .hero.v3 .eyebrow { display: none }
  .hero.v3 h1 { font-size: 2.3rem; line-height: 1.08; letter-spacing: -.03em; margin: 0 0 12px; max-width: none }
  h1, .section-head h2 { text-wrap: pretty }
  .hero.v3 p.lead { font-size: 1.08rem; line-height: 1.5; margin: 0 }
  .hero.v3 .actions { margin: 18px 0 8px; align-items: flex-start; gap: 2px }
  .hero.v3 .actions .btn.primary { width: 100% }
  .hero.v3 .actions .btn.ghost { padding-left: 0 }
  .proofline { justify-content: flex-start; gap: 4px 14px; font-size: .86rem; margin-top: 4px }
  .proofline li:nth-child(4) { display: none }
  .hero.v3 .art { order: 1; width: auto; margin: 22px -16px 0 }
  .hero.v3 .art img { aspect-ratio: 4 / 3.2; border-radius: 0; object-position: 50% 36% }
  .hero.v3 .float { display: none }
  /* sections: left-aligned heads, tighter rhythm */
  section { padding: 44px 0 }
  .section-head, .section-head.center { text-align: left; margin: 0 0 18px; max-width: none }
  .section-head h2 { font-size: 1.7rem; line-height: 1.12; letter-spacing: -.025em; margin: 0 0 8px; max-width: none }
  .section-head .kicker { font-size: .9rem; margin-bottom: 6px; justify-content: flex-start }
  .section-head .muted { font-size: 1rem; margin: 0 }
  /* trades: eight picture tiles, two across */
  .tradegrid { grid-template-columns: 1fr 1fr; gap: 10px }
  .tcard { display: block; position: relative; padding: 0; border-radius: 14px; overflow: hidden; background: #1D1D1F; aspect-ratio: 1 / 1 }
  .tcard img { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; border-radius: 0; filter: brightness(.82) }
  .tcard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,.62) 100%) }
  .tcard .tname { position: absolute; left: 12px; right: 12px; bottom: 11px; z-index: 1; color: #fff; font-size: .98rem; line-height: 1.2; margin: 0; letter-spacing: -.01em }
  .tcard .tpain, .tcard .tgo { display: none }
  /* lists instead of boxes */
  .moments, .proofs { display: block; margin: 0; padding: 0; overflow: visible }
  .moment, .proof { flex: none; background: transparent; border: 0; border-top: 1px solid var(--line); border-radius: 0; padding: 14px 0 }
  .moment:last-child, .proof:last-child { border-bottom: 1px solid var(--line) }
  .moment b { font-size: 1.05rem; margin-bottom: 2px }
  .moment p, .proof p { font-size: .95rem; line-height: 1.5 }
  .proof p { font-weight: 500; margin-bottom: 6px }
  .proof .src { font-size: .8rem }
  .flowmini { gap: 0; position: relative }
  .flowmini li, .flowmini li.hot, .flowmini li.warm { background: transparent; border: 0; border-radius: 0; padding: 10px 0 10px 44px; position: relative }
  .flowmini li::before, .flowmini li.hot::before, .flowmini li.warm::before { left: 0; top: 10px; width: 28px; height: 28px; border-radius: 50%; background: var(--surface-2); color: var(--ink); font: 600 .85rem/28px var(--font); text-align: center; display: block }
  .flowmini li.hot::before { background: var(--accent); color: #fff }
  .flowmini li.warm::before { background: var(--ink); color: var(--bg) }
  .flowmini li:not(:last-child)::after { content: ""; position: absolute; left: 13.5px; top: 40px; bottom: -10px; width: 1px; background: var(--line) }
  .flowmini li b { font-size: 1rem }
  .flowmini li span { font-size: .88rem }
  /* home steps: thumbnail rows; promises: compact two-up */
  .steps3 { display: grid; gap: 10px; margin: 0 0 14px; padding: 0; overflow: visible }
  .steps3 .step3 { flex: none; grid-template-columns: 76px 1fr; gap: 4px 14px; padding: 12px; align-items: center }
  .steps3 .step3 img { width: 76px; height: 76px; aspect-ratio: 1; grid-column: 1; grid-row: 1 / span 3; margin: 0; border-radius: 12px }
  .steps3 .step3 .n, .steps3 .step3 b, .steps3 .step3 p { grid-column: 2 }
  .steps3 .step3 .n { font-size: .85rem; margin: 0 }
  .steps3 .step3 b { font-size: 1rem } .steps3 .step3 p { font-size: .88rem; line-height: 1.45 }
  .promise-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0; padding: 0; overflow: visible }
  .promise-grid > * { flex: none; padding: 14px; gap: 6px }
  .pcard .ic { width: 34px; height: 34px; border-radius: 10px }
  .pcard b { font-size: .95rem; line-height: 1.25 }
  .pcard p { font-size: .84rem; line-height: 1.4 }
  /* trade pages */
  .thero { padding: 0 0 8px }
  .thero .art { margin: 0 -16px 18px; width: calc(100% + 32px); aspect-ratio: 3 / 2; border-radius: 0 }
  .thero .kicker { font-size: .9rem; margin-bottom: 8px }
  .thero h1 { font-size: 2rem; line-height: 1.1; margin-bottom: 10px }
  .thero .lead { font-size: 1.05rem }
  .thero .actions { margin: 16px 0 6px; gap: 2px } .thero .actions .btn.ghost { padding-left: 0 }
  .bgrid { display: grid; gap: 8px; margin: 0; padding: 0; overflow: visible }
  .bcard { flex: none; padding: 14px 16px; gap: 6px }
  .bcard .n { display: none }
  .bcard b { font-size: 1rem }
  .bcard p { font-size: .93rem; line-height: 1.5; margin-top: 2px }
  .details { margin-top: 10px; padding: 14px 16px }
  .pricebox .big { font-size: 2rem }
  .pricebox p.muted { font-size: .93rem }
  /* the receptionist card */
  .voice { padding: 20px; gap: 10px }
  .voice .vhead h3 { font-size: 1.2rem }
  .voice .vhead p { font-size: .95rem }
  .voice .orb { width: 84px; height: 84px; margin: 2px auto }
  .voice .state { font-size: .95rem }
  .voice .tiny { font-size: .74rem; line-height: 1.4 }
  /* closing band and footer */
  .ctaband { padding: 44px 0 }
  .ctaband h2 { font-size: 1.8rem }
  footer { padding: 32px 0 110px; font-size: .82rem }
  footer .cols { grid-template-columns: 1fr 1fr; gap: 18px 14px }
  footer .cols > div:first-child { grid-column: 1 / -1 }
  footer a { display: inline-block; padding: 2px 0 }
}
