:root {
  --bg: #f4f4f1; --paper: #ffffff; --ink: #1a1a1a; --ink-2: #4a4a47; --dim: #8a8a85;
  --line: #e4e4df; --line-2: #d9d9d3;
  --green: #1a6b52; --green-2: #118453; --deep: #0f2e25; --gold: #e0a526;
  --mono: "DM Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --pixel: "Geist Pixel", "DM Mono", ui-monospace, monospace;
  --sans: "Satoshi", "Inter", system-ui, sans-serif;
  --max: 1180px; --r: 14px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
svg { flex: none; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 28px; }
.mono { font-family: var(--mono); }
.pixel { font-family: var(--pixel); font-weight: 400; letter-spacing: -0.01em; }
.center { text-align: center; }
.dim { color: var(--dim); }
.g { color: var(--green-2); }
.fine { font-size: 13px; color: var(--dim); margin-top: 16px; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 6px; }

/* nav */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(244,244,241,.82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.nav-in { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 19px; letter-spacing: -0.02em; }
.mark { width: 30px; height: 30px; }
.links { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.links a { text-decoration: none; color: var(--ink-2); font-size: 15px; font-weight: 500; transition: color .15s; }
.links a:hover { color: var(--ink); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 999px; padding: 12px 22px; font: 600 15px/1 var(--sans); text-decoration: none; border: 0; cursor: pointer; transition: transform .15s, background .15s, color .15s, border-color .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #000; }
.btn-light { background: #fff; color: var(--ink); border-radius: 10px; }
.btn-light:hover { background: #f0f0ec; }
.btn-line { background: transparent; color: var(--ink); border: 1px solid var(--line-2); }
.btn-line:hover { border-color: var(--ink); }
.btn-line-light { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.3); margin-top: 22px; }
.btn-green { background: var(--green); color: #fff; width: 100%; padding: 15px 22px; border-radius: 10px; }
.btn-green:hover { background: #14563f; }
.btn:disabled { opacity: .7; cursor: default; transform: none; }

/* hero */
.hero { position: relative; padding: 36px 0 72px; overflow: hidden; }
.glow { position: absolute; inset: 0; pointer-events: none; background:
  radial-gradient(520px 320px at 50% 52%, rgba(17,132,83,.16), transparent 70%),
  radial-gradient(420px 300px at 22% 62%, rgba(224,165,38,.08), transparent 70%),
  radial-gradient(460px 320px at 82% 48%, rgba(26,107,82,.08), transparent 70%); }
.hero .wrap { position: relative; text-align: center; }
.pill-badge { display: inline-flex; gap: 8px; align-items: center; font: 400 13px/1 var(--mono); letter-spacing: .04em; color: var(--ink-2); text-decoration: none; background: rgba(255,255,255,.7); border: 1px solid var(--line); border-radius: 999px; padding: 9px 16px; transition: border-color .15s; }
.pill-badge:hover { border-color: var(--line-2); color: var(--ink); }
h1.pixel { font-size: clamp(40px, 6.4vw, 76px); line-height: 1.08; margin: 26px 0 10px; color: var(--ink); }
.hero-sub { font-size: clamp(18px, 2.2vw, 23px); color: var(--dim); }
.hero-sub b { color: var(--ink); font-weight: 500; }
.chip-inline { display: inline-block; font-family: var(--mono); font-size: .78em; color: var(--green); background: rgba(26,107,82,.08); border: 1px solid rgba(26,107,82,.18); border-radius: 8px; padding: 2px 10px; vertical-align: 2px; }

.stage { display: grid; grid-template-columns: 300px 1fr 330px; align-items: center; gap: 0; margin: 46px auto 0; text-align: left; min-height: 330px; }
.mono-label { font: 500 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); margin-bottom: 14px; }
.mono-label.green { color: var(--green-2); }
.lead-card { display: flex; align-items: center; gap: 14px; background: rgba(255,255,255,.85); border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; box-shadow: 0 1px 0 rgba(0,0,0,.02), 0 8px 24px -12px rgba(15,46,37,.12); }
.lead-card b { display: block; font-size: 17px; font-weight: 600; }
.lead-card small { font-size: 12.5px; color: var(--dim); }
.lead-ava { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, #e0a526, #f0c869); color: #3a2a06; font: 500 14px/1 var(--mono); }
.steps { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 14px; }
.steps li { display: flex; align-items: center; gap: 10px; font: 400 14px/1.2 var(--mono); color: var(--ink-2); }
.steps li i { margin-left: auto; font-style: normal; color: var(--green-2); font-size: 12px; }
.tick-ic { width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid var(--line-2); position: relative; transition: background .3s, border-color .3s; }
.tick-ic::after { content: ""; position: absolute; left: 4px; top: 3.5px; width: 5px; height: 3px; border-left: 1.6px solid #fff; border-bottom: 1.6px solid #fff; transform: rotate(-45deg); opacity: 0; }
.steps li.done .tick-ic, html:not(.anim) .tick-ic { background: var(--green-2); border-color: var(--green-2); }
.steps li.done .tick-ic::after, html:not(.anim) .tick-ic::after { opacity: 1; }
.anim .steps li { opacity: .38; transition: opacity .35s; }
.anim .steps li i { opacity: 0; transition: opacity .35s; }
.anim .steps li.done { opacity: 1; }
.anim .steps li.done i { opacity: 1; }
.example { margin-top: 14px; font-size: 11px; color: var(--dim); letter-spacing: .08em; text-transform: uppercase; }

.stage-center { position: relative; height: 320px; }
.wires { position: absolute; inset: 0; width: 100%; height: 100%; }
.wires path { fill: none; stroke: #c9cfc8; stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.hub { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: flex; align-items: center; gap: 12px; background: radial-gradient(closest-side, rgba(244,244,241,1), rgba(244,244,241,0)); padding: 26px 30px; }
.hub-mark { width: 50px; height: 50px; filter: drop-shadow(0 10px 22px rgba(15,46,37,.25)); }
.hub span { font-weight: 700; font-size: 26px; letter-spacing: -0.03em; }

.src-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.src { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 14px 8px; background: rgba(255,255,255,.75); border: 1px solid var(--line); border-radius: 12px; font-size: 14px; font-weight: 500; transition: transform .15s, border-color .15s; }
.src:hover { transform: translateY(-2px); border-color: var(--line-2); }
.src .ic, .card .ic { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); }
.src .ic svg, .card .ic svg { width: 18px; height: 18px; fill: none; stroke: var(--deep); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.src:nth-child(2) .ic svg, .src:nth-child(5) .ic svg { stroke: var(--green-2); }
.mono-note { margin-top: 14px; text-align: center; font: 400 12px/1.4 var(--mono); color: var(--dim); }
.mono-note b { color: var(--green-2); font-weight: 500; }

.term { display: inline-block; margin-top: 18px; font-size: 13.5px; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 10px 16px; box-shadow: 0 4px 16px -10px rgba(0,0,0,.15); }

.cmd { max-width: 600px; margin: 34px auto 0; background: #0b0b0b; border-radius: 18px; padding: 18px 10px 10px; box-shadow: 0 24px 50px -24px rgba(0,0,0,.45); }
.cmd-title { color: #fff; font-weight: 600; font-size: 15px; margin-bottom: 14px; }
.cmd-row { display: flex; align-items: center; gap: 12px; background: #1d1d1d; border-radius: 12px; padding: 8px 8px 8px 16px; }
.cmd-text { color: #e8e8e4; font-size: 14px; text-align: left; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cmd-text .dim { color: #7c7c78; margin-right: 6px; }

/* catalog */
.catalog { padding: 96px 0 40px; }
.kicker { text-align: center; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--dim); margin-bottom: 56px; }
.cat { margin-bottom: 44px; }
.cat-title { display: flex; align-items: center; gap: 18px; font-size: 19px; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 18px; }
.cat-title::after { content: ""; flex: 1; height: 1px; background: var(--line-2); }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.card { position: relative; display: flex; align-items: center; gap: 14px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 20px 16px; min-height: 84px; transition: transform .2s, box-shadow .2s, border-color .2s; }
.card:hover { transform: translateY(-2px); border-color: var(--line-2); box-shadow: 0 10px 26px -16px rgba(15,46,37,.22); }
.card b { display: block; font-size: 15px; font-weight: 600; line-height: 1.3; }
.card s { display: block; font-size: 11.5px; color: var(--dim); text-decoration-color: rgba(0,0,0,.35); margin-top: 3px; line-height: 1.35; }
.tag { display: inline-block; font-style: normal; font-size: 10.5px; border: 1px solid rgba(26,107,82,.25); color: var(--green); background: rgba(26,107,82,.06); border-radius: 6px; padding: 1px 7px; margin-top: 6px; }
.more { font-size: 12.5px; color: var(--dim); margin-top: 8px; }

/* split */
.split { padding: 80px 0; border-top: 1px solid var(--line-2); margin-top: 60px; }
.split-in { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.big { font-size: clamp(36px, 5vw, 58px); font-weight: 700; letter-spacing: -0.035em; line-height: 1.05; }
.lead-p { font-size: 18px; color: var(--ink-2); margin-top: 22px; max-width: 520px; line-height: 1.65; }
.lead-p b { color: var(--ink); font-weight: 600; }
.checks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 28px; font-size: 15.5px; color: var(--ink-2); }
.checks li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 12px; height: 7px; border-left: 2px solid var(--green-2); border-bottom: 2px solid var(--green-2); transform: rotate(-45deg); }
.panel { background: rgba(255,255,255,.6); border: 1px solid var(--line-2); border-radius: 22px; padding: 22px; overflow: hidden; }
.panel-top { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--ink-2); background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; width: max-content; margin: 0 auto 18px; }
.panel-top em { font-style: normal; color: var(--dim); font-size: 11px; border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green-2); box-shadow: 0 0 0 4px rgba(17,132,83,.15); }
.kpi-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 16px; }
.kpi-row div { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px; text-align: center; }
.kpi-row strong { display: block; font-size: 34px; line-height: 1.1; }
.kpi-row span { font-size: 11.5px; color: var(--dim); }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); margin-bottom: 16px; }
.track { display: flex; gap: 8px; width: max-content; animation: slide 28s linear infinite; }
.track span { font-size: 13px; font-weight: 500; background: #fff; border: 1px solid var(--line); border-radius: 9px; padding: 7px 12px; }
@keyframes slide { to { transform: translateX(-50%); } }
.track-row { display: grid; gap: 8px; }
.row { display: grid; grid-template-columns: 92px 1fr auto; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; font-size: 14px; }
.row b { font-weight: 600; }
.row .dim { font-size: 12px; }
.st { font-size: 11px; border-radius: 6px; padding: 3px 8px; text-align: center; }
.st-new { background: #f1f1ee; color: var(--ink-2); }
.st-fu { background: rgba(224,165,38,.14); color: #8a6210; }
.st-bk { background: rgba(17,132,83,.12); color: var(--green); }

/* how */
.how { padding: 90px 0; border-top: 1px solid var(--line-2); }
.how .kicker { margin-bottom: 18px; }
.how-grid { list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.how-grid li { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 28px; }
.how-grid .n { display: inline-block; font-size: 12px; color: var(--green-2); border: 1px solid rgba(17,132,83,.25); border-radius: 6px; padding: 2px 8px; }
.how-grid h3 { font-size: 20px; font-weight: 600; letter-spacing: -0.015em; margin: 18px 0 8px; }
.how-grid p { color: var(--ink-2); font-size: 15px; }

/* pricing */
.pricing { padding: 90px 0; border-top: 1px solid var(--line-2); }
.pricing .kicker { margin-bottom: 18px; }
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 380px)); justify-content: center; gap: 18px; margin-top: 48px; }
.plan { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 30px; display: flex; flex-direction: column; }
.plan-name { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); display: flex; align-items: center; gap: 10px; }
.plan-name em { font-style: normal; letter-spacing: .02em; text-transform: none; font-size: 11px; color: var(--gold); border: 1px solid rgba(224,165,38,.4); border-radius: 6px; padding: 1px 7px; }
.price { margin: 16px 0 20px; display: flex; align-items: baseline; gap: 6px; }
.price .pixel { font-size: 52px; line-height: 1; }
.price small { color: var(--dim); font-size: 13px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 10px; flex: 1; }
.plan li { position: relative; padding-left: 24px; font-size: 15px; color: var(--ink-2); }
.plan li::before { content: ""; position: absolute; left: 1px; top: 7px; width: 10px; height: 6px; border-left: 2px solid var(--green-2); border-bottom: 2px solid var(--green-2); transform: rotate(-45deg); }
.plan.dark { background: #0b0b0b; border-color: #0b0b0b; color: #fff; }
.plan.dark .plan-name { color: #c9c9c4; }
.plan.dark li { color: #d6d6d1; }
.plan.dark li::before { border-color: #5fd3a0; }
.plan.dark .price small { color: #8a8a85; }

/* start */
.start { padding: 40px 0 90px; }
.start-in { background: #0b0b0b; color: #fff; border-radius: 28px; padding: 56px; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; position: relative; overflow: hidden; }
.start-in::before { content: ""; position: absolute; inset: auto -10% -60% 30%; height: 120%; background: radial-gradient(closest-side, rgba(17,132,83,.35), transparent); pointer-events: none; }
.start-copy { position: relative; }
.big.light { color: #fff; font-size: clamp(32px, 4vw, 46px); margin: 6px 0 18px; }
.start-copy > p { color: #c9c9c4; font-size: 17px; max-width: 440px; }
.checks.light li { color: #d6d6d1; }
.checks.light li::before { border-color: #5fd3a0; }
.form { position: relative; display: grid; gap: 12px; background: #161616; border: 1px solid #262626; border-radius: 18px; padding: 24px; }
.form label { display: grid; gap: 6px; }
.form label span { font-size: 11.5px; letter-spacing: .06em; color: #9a9a95; text-transform: uppercase; }
.form input { font: 400 15px/1.3 var(--sans); color: #fff; background: #0d0d0d; border: 1px solid #2c2c2c; border-radius: 10px; padding: 12px 14px; transition: border-color .15s; }
.form input::placeholder { color: #5f5f5b; }
.form input:focus { outline: none; border-color: var(--green-2); }
.form .fine { color: #8a8a85; margin-top: 4px; }
.form .fine a { color: #5fd3a0; }


/* reveal */
.rv { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; transition: none; }
  .track { animation: none; }
  html { scroll-behavior: auto; }
}

/* responsive */
@media (max-width: 1060px) {
  .stage { grid-template-columns: 1fr 1fr; gap: 28px; }
  .stage-center { display: none; }
  .cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .links a:not(.signin) { display: none; }
  .split-in, .start-in { grid-template-columns: 1fr; gap: 36px; }
  .start-in { padding: 32px 22px; border-radius: 22px; }
  .how-grid { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .wrap { padding: 0 18px; }
  .nav-in { gap: 14px; }
  .stage { grid-template-columns: 1fr; margin-top: 34px; }
  .cards { grid-template-columns: 1fr; gap: 10px; }
  .card { min-height: 0; padding: 16px 14px; }
  .kicker { letter-spacing: .14em; margin-bottom: 40px; }
  .term { font-size: 12px; }
  .pill-badge { font-size: 11.5px; padding: 8px 14px; }
  .hide-sm { display: none; }
  .cmd-text { font-size: 12.5px; }
  .row { grid-template-columns: 80px 1fr; }
  .row .dim { grid-column: 2; }
  .panel { padding: 14px; }
  .catalog { padding-top: 70px; }
}

/* ============ v2: advanced interface ============ */
.scroll-bar { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 50; pointer-events: none; }
.scroll-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--green-2), var(--gold)); transform-origin: 0 50%; transform: scaleX(0); }
.nav { transition: box-shadow .25s, background .25s; }
.nav.scrolled { box-shadow: 0 1px 0 var(--line), 0 10px 30px -20px rgba(0,0,0,.25); background: rgba(244,244,241,.9); }
.btn-shine { position: relative; overflow: hidden; }
.btn-shine::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%); transform: translateX(-120%); animation: shine 4.5s ease-in-out infinite; }
@keyframes shine { 0%, 70% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }

/* hero layers */
.grid-bg { position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(15,46,37,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(15,46,37,.05) 1px, transparent 1px); background-size: 44px 44px; mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%); }
.spot { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 40%), rgba(17,132,83,.10), transparent 70%); transition: background .1s; }
.live-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--green-2); box-shadow: 0 0 0 0 rgba(17,132,83,.5); animation: live 2s infinite; }
@keyframes live { 0% { box-shadow: 0 0 0 0 rgba(17,132,83,.5); } 70% { box-shadow: 0 0 0 7px rgba(17,132,83,0); } 100% { box-shadow: 0 0 0 0 rgba(17,132,83,0); } }
.h1 .w { display: inline-block; }
.anim .h1 .w { opacity: 0; transform: translateY(18px); filter: blur(6px); animation: wordIn .8s cubic-bezier(.2,.7,.2,1) forwards; }
.anim .h1 .w:nth-child(2) { animation-delay: .08s; } .anim .h1 .w:nth-child(3) { animation-delay: .16s; } .anim .h1 .w:nth-child(4) { animation-delay: .24s; }
@keyframes wordIn { to { opacity: 1; transform: none; filter: none; } }
.anim .hero-sub, .anim .stage, .anim .term, .anim .cmd, .anim .hero .fine { opacity: 0; animation: fadeUp .8s .45s cubic-bezier(.2,.7,.2,1) forwards; }
.anim .stage { animation-delay: .6s; } .anim .term { animation-delay: .8s; } .anim .cmd, .anim .hero .fine { animation-delay: .9s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.chip-inline { transition: color .3s; }
.ex-tag { margin-left: 8px; font-size: 10px; letter-spacing: .06em; text-transform: lowercase; color: var(--dim); border: 1px solid var(--line-2); border-radius: 5px; padding: 1px 5px; }

.lead-card { position: relative; transition: transform .25s, opacity .22s, box-shadow .4s; }
.lead-card.swap { opacity: 0; transform: translateX(-8px) scale(.98); }
.lead-card.new { box-shadow: 0 0 0 3px rgba(17,132,83,.18), 0 14px 30px -14px rgba(15,46,37,.3); }
.lead-ping { position: absolute; top: 12px; right: 12px; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); opacity: 0; }
.lead-card.new .lead-ping { opacity: 1; animation: live 1.2s 2; box-shadow: 0 0 0 0 rgba(224,165,38,.5); }

.wires .base { fill: none; stroke: #cfd5ce; stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.wires .flow { fill: none; stroke: var(--green-2); stroke-width: 2.4; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 14 100; stroke-dashoffset: -100; opacity: 0; filter: drop-shadow(0 0 4px rgba(17,132,83,.6)); }
.wires .flow.go { animation: flowIn .9s cubic-bezier(.5,0,.5,1) forwards; }
@keyframes flowIn { 0% { stroke-dashoffset: -100; opacity: 1; } 90% { opacity: 1; } 100% { stroke-dashoffset: 14; opacity: 0; } }
.hub .ring { position: absolute; left: 30px; top: 50%; width: 50px; height: 50px; margin-top: -25px; border-radius: 16px; border: 1.5px solid var(--green-2); opacity: 0; pointer-events: none; }
.hub.pulse .r1 { animation: ring 1s ease-out; } .hub.pulse .r2 { animation: ring 1s .18s ease-out; }
@keyframes ring { from { opacity: .7; transform: scale(1); } to { opacity: 0; transform: scale(1.9); } }
.src { transition: transform .2s, border-color .25s, box-shadow .3s, background .3s; }
.src.on { border-color: rgba(17,132,83,.55); background: #fff; box-shadow: 0 0 0 3px rgba(17,132,83,.12), 0 10px 22px -14px rgba(17,132,83,.6); transform: translateY(-2px); }
.src.on .ic { border-color: rgba(17,132,83,.4); background: rgba(17,132,83,.06); }
.caret { display: inline-block; width: 7px; height: 14px; background: var(--ink); margin-left: 2px; vertical-align: -2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.anim #termOk { opacity: 0; transition: opacity .3s; } .anim #termOk.show { opacity: 1; }
.term { min-width: 420px; text-align: left; }

/* section sub */
.sub { color: var(--ink-2); font-size: 17px; max-width: 560px; margin: 16px auto 0; }

/* demo */
.demo { padding: 100px 0 40px; position: relative; }
.demo .kicker, .bento-sec .kicker { margin-bottom: 18px; }
.tabs { display: flex; justify-content: center; gap: 6px; margin: 34px auto 26px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 5px; width: max-content; max-width: 100%; overflow-x: auto; }
.tab { font: 500 13px/1 var(--mono); color: var(--ink-2); background: transparent; border: 0; border-radius: 999px; padding: 10px 16px; cursor: pointer; white-space: nowrap; transition: background .2s, color .2s; }
.tab:hover { color: var(--ink); }
.tab.on { background: var(--ink); color: #fff; }
.win { background: #fff; border: 1px solid var(--line-2); border-radius: 18px; overflow: hidden; box-shadow: 0 1px 0 rgba(0,0,0,.03), 0 40px 80px -40px rgba(15,46,37,.35), 0 18px 36px -24px rgba(0,0,0,.18); }
.win-bar { display: flex; align-items: center; gap: 14px; height: 44px; padding: 0 14px; border-bottom: 1px solid var(--line); background: #fafaf8; }
.lights { display: flex; gap: 6px; } .lights i { width: 11px; height: 11px; border-radius: 50%; background: #e2e2dc; }
.lights i:nth-child(1) { background: #ff6159; } .lights i:nth-child(2) { background: #ffbd2e; } .lights i:nth-child(3) { background: #28c941; }
.url { flex: 1; max-width: 360px; margin: 0 auto; display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 12px; color: var(--ink-2); background: #f0f0ec; border-radius: 8px; padding: 6px 10px; }
.url svg { width: 12px; height: 12px; fill: none; stroke: var(--dim); stroke-width: 2; }
.win-tag { font-size: 10.5px; color: var(--dim); border: 1px solid var(--line); border-radius: 6px; padding: 2px 7px; }
.win-body { display: grid; grid-template-columns: 58px 250px 1fr 240px; height: 520px; }
.side { border-right: 1px solid var(--line); display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 0; background: #fafaf8; }
.side-logo svg { width: 30px; height: 30px; margin-bottom: 10px; }
.side i { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; }
.side i.on { background: rgba(26,107,82,.1); }
.side svg { width: 18px; height: 18px; fill: none; stroke: #8a8a85; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.side i.on svg { stroke: var(--green); }
.inbox { border-right: 1px solid var(--line); overflow: hidden; }
.inbox-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 16px 10px; }
.inbox-head b { font-size: 15px; }
.count { font-size: 11px; color: var(--green); background: rgba(26,107,82,.08); border-radius: 6px; padding: 2px 7px; }
.threads { list-style: none; margin: 0; padding: 0 8px; display: grid; gap: 2px; }
.th { display: grid; grid-template-columns: 34px 1fr auto; gap: 10px; align-items: center; padding: 10px 8px; border-radius: 10px; transition: background .25s; }
.th.on { background: #f2f4f1; box-shadow: inset 2px 0 0 var(--green-2); }
.th b { display: block; font-size: 13.5px; font-weight: 600; }
.th small { display: block; font-size: 12px; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.th em { font-style: normal; font-size: 10.5px; color: var(--dim); align-self: start; margin-top: 3px; }
.th.dimmed { opacity: .85; }
.av { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font: 500 12px/1 var(--mono); color: #fff; flex: none; }
.a1 { background: linear-gradient(135deg, #e0a526, #f0c869); color: #3a2a06; } .a2 { background: linear-gradient(135deg, #1a6b52, #2f9a76); } .a3 { background: linear-gradient(135deg, #36435c, #5b6c8c); } .a4 { background: linear-gradient(135deg, #8a4f3a, #c07a5c); }
.convo { min-height: 0; display: flex; flex-direction: column; min-width: 0; background: linear-gradient(#fff, #fcfcfa); }
.convo-head { display: flex; align-items: center; gap: 12px; padding: 12px 18px; border-bottom: 1px solid var(--line); }
.convo-head b { display: block; font-size: 14.5px; } .convo-head small { font-size: 11.5px; color: var(--dim); }
.agent { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; font-size: 11px; color: var(--green); background: rgba(17,132,83,.07); border: 1px solid rgba(17,132,83,.2); border-radius: 999px; padding: 5px 10px; }
.msgs { flex: 1; min-height: 0; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 10px; scroll-behavior: smooth; scrollbar-width: none; }
.msgs::-webkit-scrollbar { display: none; }
.msg { max-width: 78%; opacity: 0; transform: translateY(8px); transition: opacity .35s, transform .35s cubic-bezier(.2,.7,.2,1); }
.msg.in { opacity: 1; transform: none; }
.msg p { font-size: 14px; line-height: 1.5; padding: 10px 14px; border-radius: 14px; }
.msg.lead { align-self: flex-start; } .msg.lead p { background: #f0f0ec; border-bottom-left-radius: 4px; }
.msg.ai { align-self: flex-end; text-align: right; } .msg.ai p { text-align: left; background: var(--deep); color: #fff; border-bottom-right-radius: 4px; }
.ai-tag { display: inline-block; font-size: 10.5px; margin-top: 4px; color: var(--dim); }
.ai-tag .st-a { display: none; color: var(--green-2); }
.msg.ok .ai-tag .st-d { display: none; } .msg.ok .ai-tag .st-a { display: inline; }
.msg.ai:not(.ok) p { background: #fff; color: var(--ink); border: 1px dashed rgba(15,46,37,.35); }
.msg.sys { align-self: center; max-width: 90%; font-size: 11px; color: var(--dim); background: #f6f6f3; border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; }
.msg.typing { display: inline-flex; gap: 4px; padding: 12px 14px; border-radius: 14px; background: #f0f0ec; width: max-content; }
.msg.typing.ai { align-self: flex-end; background: rgba(15,46,37,.08); }
.msg.typing i { width: 6px; height: 6px; border-radius: 50%; background: #9a9a95; animation: dots 1s infinite; }
.msg.typing i:nth-child(2) { animation-delay: .15s; } .msg.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dots { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }
.msg.book { align-self: center; max-width: 92%; display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid rgba(17,132,83,.35); border-radius: 14px; padding: 12px 14px; box-shadow: 0 0 0 4px rgba(17,132,83,.08), 0 14px 28px -18px rgba(17,132,83,.6); }
.msg.book.in { animation: pop .5s cubic-bezier(.2,1.4,.4,1); }
@keyframes pop { from { transform: scale(.9); } to { transform: scale(1); } }
.bk-ic { width: 38px; height: 38px; border-radius: 10px; background: var(--green-2); display: grid; place-items: center; flex: none; }
.bk-ic svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.msg.book small { display: block; font-size: 10.5px; color: var(--green); letter-spacing: .06em; text-transform: uppercase; }
.msg.book b { display: block; font-size: 16px; } .msg.book .bk-sub { display: block; font-size: 12.5px; color: var(--ink-2); }
.msg.book em { font-style: normal; font-size: 10.5px; color: var(--dim); margin-left: 6px; white-space: nowrap; }
.composer { display: flex; align-items: center; gap: 10px; margin: 0 14px 14px; padding: 10px 10px 10px 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.composer .mono { flex: 1; font-size: 12px; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.send { width: 30px; height: 30px; border-radius: 8px; background: var(--ink); display: grid; place-items: center; }
.send svg { width: 14px; height: 14px; fill: #fff; }
.details { border-left: 1px solid var(--line); padding: 18px 16px; background: #fafaf8; overflow: hidden; }
.details .mono-label { margin-bottom: 12px; }
.score { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px; margin-bottom: 14px; }
.score svg { width: 46px; height: 46px; transform: rotate(-90deg); }
.sc-bg { fill: none; stroke: #ecece7; stroke-width: 4; }
.sc-fg { fill: none; stroke: var(--green-2); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 0 100; transition: stroke-dasharray .9s cubic-bezier(.2,.7,.2,1); }
.score b { display: block; font-size: 26px; line-height: 1; } .score small { font-size: 11px; color: var(--dim); }
.facts { margin: 0 0 18px; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.facts div { display: flex; justify-content: space-between; gap: 8px; background: #fff; padding: 9px 12px; font-size: 12px; }
.facts dt { color: var(--dim); } .facts dd { margin: 0; color: var(--ink); text-align: right; }
.tl { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.tl li { position: relative; padding: 0 0 14px 22px; font-size: 12px; color: var(--dim); transition: color .3s; }
.tl li::before { content: ""; position: absolute; left: 3px; top: 3px; width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid var(--line-2); background: #fff; transition: background .3s, border-color .3s; }
.tl li::after { content: ""; position: absolute; left: 7px; top: 15px; bottom: 0; width: 1.5px; background: var(--line); }
.tl li:last-child::after { display: none; }
.tl li.done { color: var(--ink); } .tl li.done::before { background: var(--green-2); border-color: var(--green-2); box-shadow: 0 0 0 3px rgba(17,132,83,.15); }
.demo-foot { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 18px; font-size: 12px; flex-wrap: wrap; }
.replay { display: inline-flex; align-items: center; gap: 6px; font: 500 12px/1 var(--mono); color: var(--ink); background: #fff; border: 1px solid var(--line-2); border-radius: 999px; padding: 8px 14px; cursor: pointer; transition: border-color .15s; }
.replay:hover { border-color: var(--ink); }
.replay svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2; }

/* glow cards (cursor light) */
.card, .glowcard, .plan, .how-grid li { position: relative; isolation: isolate; }
.card::before, .glowcard::before, .how-grid li::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: -1; opacity: 0; transition: opacity .3s; background: radial-gradient(260px circle at var(--x, 50%) var(--y, 50%), rgba(17,132,83,.09), transparent 70%); }
.card:hover::before, .glowcard:hover::before, .how-grid li:hover::before { opacity: 1; }
.card:hover .ic { border-color: rgba(17,132,83,.35); }
.card .ic { transition: border-color .2s, transform .25s; } .card:hover .ic { transform: rotate(-6deg) scale(1.06); }

/* bento */
.bento-sec { padding: 90px 0 30px; }
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; margin-top: 48px; }
.bx { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 26px; overflow: hidden; display: flex; flex-direction: column; gap: 22px; min-height: 260px; transition: border-color .25s, transform .25s, box-shadow .25s; }
.bx:hover { border-color: var(--line-2); transform: translateY(-3px); box-shadow: 0 20px 40px -28px rgba(15,46,37,.35); }
.bx h3 { font-size: 19px; font-weight: 600; letter-spacing: -0.015em; margin-bottom: 6px; }
.bx p { font-size: 14.5px; color: var(--ink-2); }
.bx-speed { grid-column: span 4; } .bx-approve { grid-column: span 2; } .bx-cal { grid-column: span 2; } .bx-follow { grid-column: span 2; } .bx-signal { grid-column: span 2; }
.speed { display: grid; gap: 14px; margin-top: auto; }
.sp-row { display: grid; grid-template-columns: 80px 1fr 80px; align-items: center; gap: 14px; font-size: 12.5px; }
.sp-bar { height: 10px; border-radius: 999px; background: #f0f0ec; overflow: hidden; }
.sp-bar i { display: block; height: 100%; border-radius: 999px; transform-origin: 0 50%; }
.sp-bar.slow i { background: #d9d9d3; width: 100%; } .sp-bar.fast i { background: linear-gradient(90deg, var(--green-2), #5fd3a0); width: 4%; min-width: 14px; }
.anim .bx.in .sp-bar.slow i { animation: grow 3.2s cubic-bezier(.3,0,.3,1) both; } .anim .bx.in .sp-bar.fast i { animation: grow .5s .2s ease-out both; }
@keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.draft { margin-top: auto; background: #fafaf8; border: 1px dashed rgba(15,46,37,.3); border-radius: 14px; padding: 14px; }
.draft .mono { font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 6px; }
.draft p:not(.mono) { font-size: 13.5px; color: var(--ink); margin-bottom: 12px; }
.approve { display: inline-flex; font-size: 11.5px; background: var(--green-2); color: #fff; border-radius: 8px; padding: 7px 11px; }
.anim .approve { animation: press 3.6s ease-in-out infinite; }
@keyframes press { 0%, 60%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(17,132,83,.4); } 65% { transform: scale(.94); } 72% { transform: scale(1); box-shadow: 0 0 0 8px rgba(17,132,83,0); } }
.cal { margin-top: auto; }
.cal-h { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; font-size: 10.5px; color: var(--dim); margin-bottom: 6px; text-align: center; }
.cal-g { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.cal-g i { height: 26px; border-radius: 6px; background: #f3f3ef; border: 1px solid #ecece7; }
.cal-g i.bk { background: rgba(17,132,83,.14); border-color: rgba(17,132,83,.35); }
.anim .bx.in .cal-g i.bk { animation: slot .5s cubic-bezier(.2,1.4,.4,1) both; }
.cal-g .b1 { animation-delay: .3s !important; } .cal-g .b2 { animation-delay: .7s !important; } .cal-g .b3 { animation-delay: 1.1s !important; } .cal-g .b4 { animation-delay: 1.5s !important; } .cal-g .b5 { animation-delay: 1.9s !important; background: var(--green-2) !important; }
@keyframes slot { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }
.fu { list-style: none; margin: auto 0 0; padding: 0; display: grid; gap: 8px; }
.fu li { font-size: 12.5px; color: var(--ink-2); background: #fafaf8; border: 1px solid var(--line); border-radius: 10px; padding: 9px 12px; }
.fu b { font-weight: 500; color: var(--green-2); margin-right: 8px; }
.anim .bx.in .fu li { animation: fadeUp .5s both; } .anim .bx.in .fu li:nth-child(2) { animation-delay: .25s; } .anim .bx.in .fu li:nth-child(3) { animation-delay: .5s; }
.bx.dark { background: #0b0b0b; border-color: #0b0b0b; color: #fff; }
.bx.dark p { color: #b9b9b4; }
.radar { position: relative; width: 150px; height: 150px; margin: auto auto 0; border-radius: 50%; }
.rc { position: absolute; border-radius: 50%; border: 1px solid rgba(95,211,160,.22); inset: 0; }
.rc.c2 { inset: 25px; } .rc.c3 { inset: 50px; }
.sweep { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, rgba(95,211,160,.35), transparent 25%); animation: spin 4s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.rd { position: absolute; width: 7px; height: 7px; border-radius: 50%; background: #5fd3a0; box-shadow: 0 0 10px #5fd3a0; animation: blip 4s infinite; }
.d1 { top: 30px; left: 92px; animation-delay: .4s; } .d2 { top: 88px; left: 112px; animation-delay: 1.1s; } .d3 { top: 104px; left: 40px; animation-delay: 2.3s; background: var(--gold); box-shadow: 0 0 10px var(--gold); } .d4 { top: 46px; left: 34px; animation-delay: 3.1s; }
@keyframes blip { 0%, 100% { opacity: .25; transform: scale(.8); } 10% { opacity: 1; transform: scale(1.3); } 40% { opacity: .7; transform: scale(1); } }

/* how v2 */
.how-track { position: relative; height: 2px; background: var(--line-2); margin: 48px auto -30px; max-width: 760px; border-radius: 2px; overflow: hidden; }
.how-track i { position: absolute; inset: 0; background: linear-gradient(90deg, var(--green-2), var(--gold)); transform-origin: 0 50%; transform: scaleX(0); transition: transform .15s linear; }
.how-grid li { transition: border-color .3s, box-shadow .3s; overflow: hidden; }
.how-grid li.lit { border-color: rgba(17,132,83,.35); box-shadow: 0 16px 34px -24px rgba(17,132,83,.5); }
.how-grid li.lit .n { background: var(--green-2); color: #fff; border-color: var(--green-2); }
.how-grid .n { transition: background .3s, color .3s; }
.how-ic { position: absolute; right: 18px; top: 18px; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: #f6f6f3; border: 1px solid var(--line); }
.how-ic svg { width: 20px; height: 20px; fill: none; stroke: var(--deep); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* polish */
.plan { transition: transform .25s, box-shadow .25s; }
.plan:hover { transform: translateY(-4px); box-shadow: 0 26px 50px -30px rgba(15,46,37,.4); }
.plan.dark { background: radial-gradient(400px 200px at 80% 0%, rgba(17,132,83,.35), transparent 70%), #0b0b0b; }

@media (prefers-reduced-motion: reduce) {
  .btn-shine::after, .live-dot, .sweep, .rd, .anim .approve, .caret { animation: none !important; }
}
@media (max-width: 1060px) {
  .win-body { grid-template-columns: 58px 230px 1fr; }
  .details { display: none; }
  .bx-speed { grid-column: span 6; } .bx-approve, .bx-cal, .bx-follow, .bx-signal { grid-column: span 3; }
}
@media (max-width: 820px) {
  .win-body { grid-template-columns: 1fr; height: 500px; }
  .side, .inbox { display: none; }
  .term { min-width: 0; }
  .how-track { display: none; }
}
@media (max-width: 620px) {
  .bento { grid-template-columns: 1fr; }
  .bx-speed, .bx-approve, .bx-cal, .bx-follow, .bx-signal { grid-column: auto; }
  .bx { min-height: 0; padding: 22px; }
  .sp-row { grid-template-columns: 62px 1fr 60px; gap: 10px; font-size: 11.5px; }
  .tabs { justify-content: flex-start; }
  .tab { padding: 9px 12px; font-size: 12px; }
  .msg { max-width: 88%; }
  .msg.book { flex-wrap: wrap; } .msg.book em { margin-left: 50px; }
  .agent { display: none; }
  .demo { padding-top: 70px; }
  .term { font-size: 11.5px; }
}

.clock { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.clock .ev { display: flex; align-items: center; gap: 10px; background: #fafaf8; border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; }
.clock .ev b { display: block; font-size: 13.5px; font-weight: 600; }
.clock .ev small { font-size: 11.5px; color: var(--dim); }
.clock .ev .t { font-size: 22px; line-height: 1; }
.clock .ev.ok { border-color: rgba(17,132,83,.35); background: rgba(17,132,83,.05); }
.clock .ev.ok .t { color: var(--green-2); }
.clock .arrow { flex: 1; min-width: 40px; height: 2px; background: repeating-linear-gradient(90deg, var(--line-2) 0 6px, transparent 6px 12px); position: relative; overflow: hidden; }
.clock .arrow::after { content: ""; position: absolute; top: 0; left: -30%; width: 30%; height: 100%; background: var(--green-2); animation: dash 1.8s linear infinite; }
@keyframes dash { to { left: 100%; } }
@media (max-width: 620px) { .demo-foot { flex-direction: column; gap: 10px; text-align: center; } .clock .arrow { display: none; } }

/* ============ missed-lead calculator ============ */
.calc-sec { padding: 100px 0 40px; }
.calc-sec .kicker { margin-bottom: 18px; }
.calc { display: grid; grid-template-columns: 1fr 1fr; margin-top: 44px; border-radius: 24px; overflow: hidden; border: 1px solid var(--line-2); box-shadow: 0 40px 80px -46px rgba(15,46,37,.4); }
.calc-in { background: #fff; padding: 34px; display: grid; gap: 28px; align-content: start; }
.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.f-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; }
.f-top label, .field legend { font-size: 15px; font-weight: 600; }
.field legend { margin-bottom: 12px; padding: 0; }
.f-top output { font-size: 15px; color: var(--green); background: rgba(26,107,82,.08); border-radius: 8px; padding: 4px 10px; min-width: 54px; text-align: center; }
.f-scale { display: flex; justify-content: space-between; font-size: 11px; color: var(--dim); margin-top: 6px; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 999px; background: linear-gradient(90deg, var(--green-2) var(--p, 50%), #ecece7 var(--p, 50%)); outline: none; cursor: pointer; margin: 6px 0; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 2px solid var(--ink); box-shadow: 0 2px 8px rgba(0,0,0,.18); transition: transform .15s; }
input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.12); }
input[type="range"]::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 2px solid var(--ink); box-shadow: 0 2px 8px rgba(0,0,0,.18); }
input[type="range"]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px rgba(17,132,83,.3); }
.money { display: inline-flex; align-items: center; gap: 4px; background: #f6f6f3; border: 1px solid var(--line); border-radius: 10px; padding: 4px 10px; }
.money .mono { color: var(--dim); }
.money input { width: 96px; border: 0; background: transparent; font: 600 16px/1.3 var(--sans); color: var(--ink); text-align: right; outline: none; -moz-appearance: textfield; }
.money input::-webkit-outer-spin-button, .money input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.money:focus-within { border-color: var(--green-2); }
.presets { display: flex; gap: 6px; flex-wrap: wrap; }
.presets button, .speedpick span { font: 500 12.5px/1 var(--mono); color: var(--ink-2); background: #f6f6f3; border: 1px solid var(--line); border-radius: 999px; padding: 9px 13px; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.presets button:hover, .speedpick span:hover { border-color: var(--line-2); color: var(--ink); }
.presets button.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.speedpick { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.speedpick label { position: relative; }
.speedpick input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.speedpick span { display: block; text-align: center; border-radius: 12px; padding: 12px 8px; }
.speedpick input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.speedpick input:focus-visible + span { outline: 2px solid var(--green); outline-offset: 2px; }

.calc-out { position: relative; background: radial-gradient(500px 300px at 90% 0%, rgba(17,132,83,.35), transparent 65%), radial-gradient(400px 260px at 0% 100%, rgba(224,165,38,.12), transparent 70%), #0b0b0b; color: #fff; padding: 34px; display: flex; flex-direction: column; }
.calc-out .mono-label { color: #9a9a95; }
.loss { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.loss .pixel { font-size: clamp(46px, 6vw, 72px); line-height: 1; color: #fff; font-variant-numeric: tabular-nums; }
.loss small { color: #8a8a85; font-size: 14px; }
.loss-year { color: #b9b9b4; font-size: 14px; margin-top: 8px; }
.loss-year b { color: var(--gold); font-weight: 500; }
.dots-wrap { margin: 24px 0 18px; }
.dots { display: grid; grid-template-columns: repeat(20, 1fr); gap: 5px; min-height: 30px; }
.dots i { aspect-ratio: 1; border-radius: 3px; background: #5fd3a0; opacity: .9; transition: background .35s, opacity .35s, transform .35s; }
.dots i.cold { background: #3a3a37; opacity: 1; transform: scale(.82); box-shadow: inset 0 0 0 1px rgba(224,165,38,.5); }
.legend { display: flex; gap: 16px; flex-wrap: wrap; font-size: 11px; color: #b9b9b4; margin-top: 12px; }
.legend i { display: inline-block; width: 9px; height: 9px; border-radius: 2px; margin-right: 6px; vertical-align: -1px; }
.lg-ok { background: #5fd3a0; } .lg-cold { background: #3a3a37; box-shadow: inset 0 0 0 1px rgba(224,165,38,.6); }
.legend .dim { color: #75756f; margin-left: auto; }
.out-rows { margin: 0 0 18px; display: grid; gap: 1px; background: #262626; border: 1px solid #262626; border-radius: 12px; overflow: hidden; }
.out-rows div { display: flex; justify-content: space-between; background: #141414; padding: 11px 14px; font-size: 13px; }
.out-rows dt { color: #9a9a95; } .out-rows dd { margin: 0; color: #fff; }
.payback { font-size: 14.5px; color: #d6d6d1; margin-bottom: 18px; }
.payback b { color: #5fd3a0; font-weight: 600; }
.btn-wide { width: 100%; margin-top: auto; padding: 15px 20px; }

.math { max-width: 760px; margin: 22px auto 0; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.math summary { cursor: pointer; list-style: none; padding: 14px 18px; font-size: 13px; color: var(--ink-2); display: flex; justify-content: space-between; align-items: center; }
.math summary::-webkit-details-marker { display: none; }
.math summary::after { content: "+"; font-size: 18px; color: var(--dim); transition: transform .2s; }
.math[open] summary::after { transform: rotate(45deg); }
.math-in { padding: 0 18px 18px; display: grid; gap: 12px; font-size: 14.5px; color: var(--ink-2); }
.math-in a { color: var(--green); }
.formula { font-size: 12.5px; line-height: 1.8; background: #f6f6f3; border-radius: 10px; padding: 12px 14px; color: var(--ink); }
.math-in .dim { font-size: 13px; }

@media (max-width: 900px) { .calc { grid-template-columns: 1fr; } }
@media (max-width: 620px) {
  .calc-in, .calc-out { padding: 22px; }
  .calc { border-radius: 20px; }
  .dots { grid-template-columns: repeat(15, 1fr); gap: 4px; }
  .legend .dim { margin-left: 0; }
  .calc-sec { padding-top: 70px; }
}

/* ---------- footer: treg style ---------- */
.foot { position: relative; overflow: hidden; background: #0a0a0a; color: #a3a39e; border-top: 1px solid #1f1f1d; }
.foot-top { position: relative; border-bottom: 1px solid #222220; }
.foot-dots { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.foot-top-in { position: relative; padding: 34px 24px 120px; text-align: center; }
.foot-cta { margin: 0; font-size: 14.5px; color: #d6d6d0; }
.foot-cta a { color: #fff; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: #555; }
.foot-cta a:hover { text-decoration-color: var(--gold); }
.foot-trust { list-style: none; padding: 0; margin: 46px 0 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 34px; font-size: 13.5px; color: #8f8f89; }
.foot-trust b { color: #f4f4f1; font-weight: 500; }
.foot-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 32px; padding-top: 54px; padding-bottom: 40px; }
.brand.light { color: #fff; }
.foot-brand p { margin: 14px 0 0; font-size: 13px; line-height: 1.6; color: #8f8f89; }
.foot-col { display: flex; flex-direction: column; gap: 12px; }
.foot-col p { margin: 0 0 6px; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: #8f8f89; }
.foot-col a { color: #c9c9c3; text-decoration: none; font-size: 15px; transition: color .15s; width: max-content; max-width: 100%; }
.foot-col a:hover { color: #fff; }
.foot-base { position: relative; z-index: 1; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 12px; color: #6f6f6a; padding-bottom: 10px; }
.foot-word { position: relative; margin: 0; text-align: center; font-size: clamp(80px, 21vw, 320px); line-height: .82; color: transparent; background: linear-gradient(180deg, #2c2c29 0%, #0a0a0a 88%); -webkit-background-clip: text; background-clip: text; user-select: none; transform: translateY(14%); }
@media (max-width: 900px) { .foot-grid { grid-template-columns: repeat(2, 1fr); } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 620px) { .foot-top-in { padding: 28px 20px 80px; } .foot-trust { flex-direction: column; gap: 10px; margin-top: 30px; } .foot-col a { font-size: 14px; } }

/* footer v2: now clock, leak card, living wordmark */
.foot-top-in { padding: 46px 24px 110px; }
.now-clock { margin: 0; font-size: clamp(26px, 3.6vw, 44px); line-height: 1.1; color: #fff; display: inline-flex; align-items: center; gap: 10px; }
.now-blink { width: .5em; height: .1em; background: var(--gold); display: inline-block; transform: translateY(.32em); animation: nowb 1.1s steps(1) infinite; }
@keyframes nowb { 50% { opacity: 0; } }
.now-msg { margin: 14px auto 0; max-width: 620px; font-size: 16.5px; line-height: 1.55; color: #b9b9b3; }
.leak { margin: 30px auto 0; max-width: 680px; display: flex; align-items: center; justify-content: center; gap: 14px 22px; flex-wrap: wrap; padding: 14px 18px; border: 1px solid #2a2a27; border-radius: 14px; background: rgba(18,18,17,.75); backdrop-filter: blur(6px); }
.leak-txt { margin: 0; font-size: 14.5px; color: #c9c9c3; text-align: left; flex: 1 1 320px; }
.leak-txt b { color: #fff; font-weight: 600; }
.leak-txt b.gold { color: var(--gold); }
.leak.has { border-color: rgba(224,165,38,.35); box-shadow: 0 0 0 4px rgba(224,165,38,.06); }
.leak-btn { flex: none; font-size: 13px; color: #0a0a0a; background: #fff; text-decoration: none; padding: 10px 14px; border-radius: 9px; transition: background .15s; }
.leak-btn:hover { background: var(--gold); }
.foot-trust { margin-top: 34px; }
.foot-word-c { display: block; width: 100%; touch-action: pan-y; cursor: crosshair; }
.calc-chip { margin: 0; font-size: 12px; line-height: 1.5; color: #9be3c1; background: rgba(17,132,83,.16); border: 1px solid rgba(17,132,83,.4); border-radius: 8px; padding: 8px 10px; }
@media (max-width: 620px) { .leak { flex-direction: column; align-items: stretch; text-align: left; } .leak-txt { flex: none; } .leak-btn { text-align: center; } .now-msg { font-size: 15px; } }
@media (prefers-reduced-motion: reduce) { .now-blink { animation: none; } }

/* ---------- local signals map ---------- */
.sig-sec { position: relative; background: #0a0a0a; color: #c9c9c3; padding: 110px 0; overflow: hidden; }
.sig-sec::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1.2px); background-size: 14px 14px; mask-image: radial-gradient(ellipse at 70% 50%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at 70% 50%, #000 20%, transparent 75%); pointer-events: none; }
.sig-in { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px; align-items: center; }
.gold-l { color: var(--gold) !important; display: inline-flex; align-items: center; gap: 10px; }
.sig-copy .big { margin: 0; }
.sig-lead { margin: 18px 0 0; font-size: 17px; line-height: 1.65; color: #b4b4ae; max-width: 520px; }
.sig-stats { display: flex; gap: 34px; margin: 28px 0 0; flex-wrap: wrap; }
.sig-stats div { display: flex; flex-direction: column; gap: 4px; }
.sig-stats b { font-size: 36px; line-height: 1; color: #fff; font-weight: 400; }
.sig-stats span { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: #8f8f89; }
.sig-cats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.sig-cats button { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; color: #c9c9c3; background: #141413; border: 1px solid #2a2a27; border-radius: 999px; padding: 7px 12px; cursor: pointer; transition: border-color .15s, background .15s, color .15s; }
.sig-cats button i { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.sig-cats button em { font-style: normal; color: #77776f; }
.sig-cats button:hover { border-color: #4a4a45; color: #fff; }
.sig-cats button.on { background: #fff; color: #0a0a0a; border-color: #fff; }
.sig-cats button.on em { color: #55554f; }
.sig-feed-h { display: flex; justify-content: space-between; margin: 30px 0 10px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: #8f8f89; }
.sig-feed { list-style: none; margin: 0; padding: 0; border-top: 1px solid #222220; }
.sig-feed li { display: grid; grid-template-columns: 10px auto 1fr auto; align-items: center; gap: 10px; padding: 10px 6px; border-bottom: 1px solid #1c1c1a; font-size: 14px; color: #a3a39e; transition: background .2s, color .2s; border-radius: 6px; }
.sig-feed li i { width: 8px; height: 8px; border-radius: 50%; }
.sig-feed li b { color: #e8e8e2; font-weight: 500; }
.sig-feed li span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sig-feed li em { font-style: normal; font-size: 12px; color: #77776f; white-space: nowrap; }
.sig-feed li.on { background: #151514; color: #fff; }
.sig-map-wrap { position: relative; }
.sig-map { display: block; width: 100%; max-height: 720px; height: auto; overflow: visible; }
.sig-map .area { fill: rgba(26,160,110,.06); stroke: #2c2c29; stroke-width: .8; transition: fill .4s, stroke .15s; cursor: pointer; }
.sig-map .area.hl { stroke: #fff; stroke-width: 1.4; }
.sig-map .pt { opacity: .85; transition: opacity .3s; pointer-events: none; }
.sig-map .pt.off { opacity: 0; }
.sig-map.play .pt.new { animation: ptpulse 4.2s ease-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes ptpulse { 0%, 70%, 100% { transform: scale(1); } 8% { transform: scale(2.4); opacity: 1; } }
.sig-map .ring { fill: none; stroke-width: 2; opacity: 0; pointer-events: none; transform-box: fill-box; transform-origin: center; }
.sig-map .ring.go { animation: ringgo 1.6s ease-out; }
@keyframes ringgo { 0% { transform: scale(.3); } 60% { transform: scale(1.15); } 100% { transform: scale(1); } }
.sig-tip { position: absolute; z-index: 3; pointer-events: none; min-width: 170px; background: rgba(12,12,11,.95); border: 1px solid #333330; border-radius: 10px; padding: 10px 12px; font-size: 12px; color: #c9c9c3; display: flex; flex-direction: column; gap: 4px; box-shadow: 0 10px 30px rgba(0,0,0,.4); }
.sig-tip b { color: #fff; font-family: var(--sans); font-size: 14px; font-weight: 600; }
.sig-tip small { color: #8f8f89; font-size: 11.5px; margin-bottom: 2px; }
.sig-tip span { display: flex; align-items: center; gap: 6px; }
.sig-tip i { width: 7px; height: 7px; border-radius: 50%; }
.sig-src { margin: 14px 0 0; font-size: 11.5px; line-height: 1.6; color: #77776f; text-align: center; }
.sig-src a { color: #b4b4ae; }
@media (max-width: 980px) { .sig-in { grid-template-columns: 1fr; gap: 40px; } .sig-map { max-height: 620px; } .sig-sec { padding: 80px 0; } }
@media (max-width: 620px) { .sig-stats { gap: 22px; } .sig-stats b { font-size: 28px; } .sig-feed li { grid-template-columns: 10px auto 1fr; } .sig-feed li em { grid-column: 2 / -1; } }
@media (prefers-reduced-motion: reduce) { .sig-map.play .pt.new, .sig-map .ring.go { animation: none; } }
@media (max-width: 980px) {
  .sig-in { gap: 0; }
  .sig-copy { display: contents; }
  .sig-map-wrap { order: 1; margin: 34px 0 6px; }
  .sig-feed-h, .sig-feed { order: 2; }
}
