/* Konnect AI: a wiring schematic. Systems are nodes and wires; the page reads top-down like a signal path. */
:root {
  --bg: #F3F4F6; --surface: #FFFFFF; --ink: #0B0B0D; --ink-2: #4A4F57; --line: #D5D8DE;
  --accent: #0A6AE0; --accent-ink: #FFFFFF; --red: #CC0A0A; --red-ink: #FFFFFF; --live: #0E8A63; --wire: #A3A9B3;
  --night: #0B0C0F; --night-2: #14161B; --night-ink: #EDEFF2; --night-dim: #A0A6B0; --night-line: #272B33;
  --f-display: "Unbounded", "Arial Black", system-ui, sans-serif;
  --f-body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --maxw: 1180px; --r: 14px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #0B0C0F; --surface: #14161B; --ink: #EDEFF2; --ink-2: #A0A6B0; --line: #272B33;
    --accent: #4D9DFF; --accent-ink: #0B0C0F; --red: #FF4D4D; --red-ink: #0B0C0F; --live: #3FCB98; --wire: #4C525C; color-scheme: dark; }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.6 var(--f-body); -webkit-font-smoothing: antialiased; padding-bottom: env(safe-area-inset-bottom); }
a { color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
p { margin: 0; }
a, button { -webkit-tap-highlight-color: rgba(10,106,224,.15); }
.wrap { max-width: var(--maxw); margin: 0 auto; padding-left: max(18px, env(safe-area-inset-left)); padding-right: max(18px, env(safe-area-inset-right)); }
.mono { font-family: var(--f-mono); font-size: 13px; letter-spacing: .02em; }
.label { font-family: var(--f-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--ink-2); display: inline-flex; align-items: center; gap: 8px; }
.label::before { content: ""; width: 8px; height: 8px; border-radius: 50%; border: 2px solid var(--accent); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 22px; border-radius: 999px; font: 600 16px/1 var(--f-body); text-decoration: none; cursor: pointer; border: 1.5px solid var(--ink); transition: transform .18s ease, background-color .18s, color .18s, box-shadow .18s; }
.btn-primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); box-shadow: 0 10px 26px -14px var(--accent); }
.btn-primary:hover { transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--bg); }
.btn svg { width: 18px; height: 18px; transition: transform .18s; }
.btn:hover svg { transform: translateX(3px); }

/* reveal */
.js .rv { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.js .rv.in { opacity: 1; transform: none; }
.js .d1 { transition-delay: .08s; } .js .d2 { transition-delay: .16s; } .js .d3 { transition-delay: .24s; }

/* header */
.top { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); padding-top: env(safe-area-inset-top); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 700 18px/1 var(--f-display); letter-spacing: -0.01em; }
.logo { width: 30px; height: 30px; flex-shrink: 0; }
.nav { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.nav a { text-decoration: none; font-weight: 500; color: var(--ink-2); transition: color .2s; }
.nav a:hover { color: var(--ink); }
.top .btn { min-height: 42px; padding: 0 18px; font-size: 15px; }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; place-items: center; }
.menu-btn svg { width: 22px; height: 22px; } .menu-btn .x { display: none; }
.menu-open .menu-btn .x { display: block; } .menu-open .menu-btn .b3 { display: none; }
.menu { position: fixed; inset: 0; z-index: 25; background: var(--bg); padding: calc(90px + env(safe-area-inset-top)) max(22px, env(safe-area-inset-right)) calc(28px + env(safe-area-inset-bottom)) max(22px, env(safe-area-inset-left)); display: flex; flex-direction: column; overflow-y: auto; }
.menu a { text-decoration: none; font: 600 28px/1.2 var(--f-display); letter-spacing: -0.02em; padding: 14px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; }
.menu a::after { content: "→"; font-family: var(--f-body); color: var(--red); }
.menu .btn { margin-top: 22px; font: 600 17px/1 var(--f-body); border: 0; } .menu .btn::after { content: none; }
.menu .meta { margin-top: auto; padding-top: 22px; display: grid; gap: 6px; color: var(--ink-2); font-family: var(--f-mono); font-size: 14px; }
.menu-open { overflow: hidden; }
@media (max-width: 900px) { .nav, .top .btn { display: none; } .menu-btn { display: grid; } }

/* hero */
.hero { padding-block: 64px 40px; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.hero .wrap > * { min-width: 0; }
.hero h1 { font: 800 clamp(40px, 6vw, 76px)/0.95 var(--f-display); text-transform: uppercase; letter-spacing: -0.035em; margin-top: 18px; }
.hero h1 .r { color: var(--red); display: block; }
.hero h1 .word { display: inline-block; }
.js .hero h1 .word { opacity: 0; transform: translateY(40%) rotate(4deg); transition: opacity .6s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.js .hero.go h1 .word { opacity: 1; transform: none; }
.hero .lede { margin-top: 22px; font-size: 20px; color: var(--ink-2); max-width: 36ch; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.proof { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--ink-2); }
.proof span { display: inline-flex; align-items: center; gap: 8px; }
.proof svg { width: 16px; height: 16px; color: var(--live); }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; } .hero { padding-block: 40px 28px; } }

/* schematic */
.schematic { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 16px; background-image: radial-gradient(var(--line) 1px, transparent 1px); background-size: 22px 22px; box-shadow: 0 30px 60px -45px rgba(0,0,0,.45); }
.s-head { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 6px; flex-wrap: wrap; color: var(--ink-2); }
.status { display: inline-flex; align-items: center; gap: 8px; color: var(--live); }
.status i { width: 8px; height: 8px; border-radius: 50%; background: var(--live); animation: blink 1.6s ease-in-out infinite; }
.schematic svg { width: 100%; height: auto; display: block; }
.n rect { fill: var(--surface); stroke: var(--ink); stroke-width: 1.5; }
.n.ai rect { fill: var(--red); stroke: var(--red); }
.n text { font-family: var(--f-mono); font-size: 12px; fill: var(--ink-2); }
.n text.t { font-family: var(--f-body); font-weight: 600; font-size: 15px; fill: var(--ink); }
.n.ai text, .n.ai text.t { fill: var(--red-ink); }
.n.ai rect { animation: glow 2.4s ease-in-out infinite; }
.w { fill: none; stroke: var(--wire); stroke-width: 1.5; }
.pulse { fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 14 400; animation: flow 3.2s linear infinite; }
.pulse.d2 { animation-delay: .8s; } .pulse.d3 { animation-delay: 1.6s; }
.port { fill: var(--bg); stroke: var(--ink); stroke-width: 1.5; }
@keyframes flow { from { stroke-dashoffset: 414; } to { stroke-dashoffset: 0; } }
@keyframes blink { 50% { opacity: .35; } }
@keyframes glow { 50% { filter: drop-shadow(0 0 10px color-mix(in srgb, var(--red) 70%, transparent)); } }

/* live feed */
.feed { margin-top: 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); overflow: hidden; }
.feed-head { display: flex; justify-content: space-between; padding: 10px 14px; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.feed ul { list-style: none; margin: 0; padding: 0; height: 150px; overflow: hidden; position: relative; }
.feed li { display: grid; grid-template-columns: 64px 1fr; gap: 10px; padding: 9px 14px; border-bottom: 1px dashed var(--line); font-size: 14px; animation: slidein .5s cubic-bezier(.2,.8,.2,1); }
.feed li time { font-family: var(--f-mono); font-size: 12px; color: var(--ink-2); padding-top: 2px; }
.feed li b { color: var(--accent); font-weight: 600; }
.feed li .ok { color: var(--live); font-weight: 600; }
@keyframes slidein { from { opacity: 0; transform: translateY(-14px); } }

/* marquee */
.marquee { background: var(--ink); color: var(--bg); overflow: hidden; border-block: 1px solid var(--ink); }
.marquee .track { display: flex; gap: 44px; width: max-content; padding-block: 16px; animation: slide 36s linear infinite; }
.marquee span { white-space: nowrap; font: 600 15px/1 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; display: inline-flex; gap: 12px; align-items: center; }
.marquee span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--red); }
@keyframes slide { to { transform: translateX(-50%); } }

/* sections */
section { padding-block: 92px; }
.head { display: grid; gap: 14px; max-width: 760px; margin-bottom: 44px; }
.head h2 { font: 700 clamp(30px, 4vw, 50px)/1.05 var(--f-display); letter-spacing: -0.025em; }
.head p { color: var(--ink-2); font-size: 19px; max-width: 60ch; }
.rule { border-top: 1px solid var(--line); }
@media (max-width: 640px) { section { padding-block: 64px; } .head { margin-bottom: 30px; } .head p { font-size: 17px; } .hero .lede { font-size: 18px; } .ctas .btn { flex: 1 1 100%; } }

/* two tracks */
.tracks { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.track-card { position: relative; border-radius: 22px; padding: 34px; display: grid; gap: 16px; align-content: start; overflow: hidden; min-width: 0; border: 1px solid var(--line); background: var(--surface); transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s; }
.track-card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -40px rgba(0,0,0,.4); }
.track-card.dark { background: var(--night); color: var(--night-ink); border-color: var(--night-line); }
.track-card .tag { font: 600 12px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--red); }
.track-card.dark .tag { color: #FF6B6B; }
.track-card h3 { font: 700 clamp(26px, 3vw, 34px)/1.1 var(--f-display); letter-spacing: -0.02em; }
.track-card p { color: var(--ink-2); } .track-card.dark p { color: var(--night-dim); }
.track-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.track-card li { display: flex; gap: 10px; }
.track-card li svg { width: 20px; height: 20px; color: var(--live); flex-shrink: 0; margin-top: 3px; }
.track-card.dark li svg { color: #3FCB98; }
.track-card .btn { justify-self: start; margin-top: 6px; }
.track-card.dark .btn-ghost { color: var(--night-ink); border-color: var(--night-ink); }
.track-card.dark .btn-ghost:hover { background: var(--night-ink); color: var(--night); }
.orb { position: absolute; width: 260px; height: 260px; right: -80px; top: -80px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--accent) 35%, transparent), transparent 70%); animation: float 8s ease-in-out infinite; pointer-events: none; }
.track-card.dark .orb { background: radial-gradient(circle, rgba(255,77,77,.35), transparent 70%); }
@keyframes float { 50% { transform: translate(-30px, 30px) scale(1.1); } }
@media (max-width: 860px) { .tracks { grid-template-columns: 1fr; } .track-card { padding: 26px; } }

/* build grid */
.builds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.build { background: var(--surface); padding: 28px; display: grid; gap: 12px; align-content: start; min-width: 0; position: relative; transition: background-color .25s; }
.build::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: linear-gradient(90deg, var(--accent), var(--red)); transform: scaleX(0); transform-origin: left; transition: transform .4s ease; }
.build:hover::after { transform: scaleX(1); }
.build:hover { background: color-mix(in srgb, var(--accent) 5%, var(--surface)); }
.build svg { width: 30px; height: 30px; color: var(--accent); transition: transform .3s; }
.build:hover svg { transform: scale(1.12) rotate(-4deg); }
.build h3 { font-size: 20px; line-height: 1.25; }
.build p { color: var(--ink-2); }
.build .io { color: var(--ink-2); padding-top: 12px; border-top: 1px dashed var(--line); overflow-wrap: anywhere; }
.build .io b { color: var(--accent); font-weight: 500; }
@media (max-width: 960px) { .builds { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .builds { grid-template-columns: 1fr; } }

/* calculator */
.calc-sec { background: var(--night); color: var(--night-ink); }
.calc-sec .label { color: var(--night-dim); }
.calc-sec .head p { color: var(--night-dim); }
.calc { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.calc > * { min-width: 0; }
.inputs { display: grid; gap: 22px; background: var(--night-2); border: 1px solid var(--night-line); border-radius: 20px; padding: 28px; }
.rng { display: grid; gap: 10px; }
.rng .row { display: flex; justify-content: space-between; gap: 10px; font-weight: 600; }
.rng output { font-family: var(--f-mono); color: #4D9DFF; }
.rng input { width: 100%; accent-color: #4D9DFF; height: 28px; }
.result { border-radius: 20px; padding: 30px; background: linear-gradient(140deg, #1A1D24, #0B0C0F); border: 1px solid var(--night-line); display: grid; gap: 14px; align-content: center; position: relative; overflow: hidden; }
.result .big { font: 800 clamp(40px, 6vw, 72px)/1 var(--f-display); letter-spacing: -0.03em; color: #FF4D4D; font-variant-numeric: tabular-nums; }
.result .sub { color: var(--night-dim); }
.result .hours { font: 600 22px/1.2 var(--f-display); font-variant-numeric: tabular-nums; }
.result .fine { color: var(--night-dim); font-size: 14px; }
.result .btn { justify-self: start; background: #4D9DFF; border-color: #4D9DFF; color: #0B0C0F; }
.meter { height: 10px; border-radius: 5px; background: var(--night-line); overflow: hidden; }
.meter i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #4D9DFF, #FF4D4D); transition: width .5s cubic-bezier(.2,.7,.2,1); }
@media (max-width: 860px) { .calc { grid-template-columns: 1fr; } .inputs, .result { padding: 22px; } }

/* example flows */
.examples { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ex { border: 1px solid var(--line); border-radius: var(--r); padding: 24px; display: grid; gap: 14px; align-content: start; background: var(--surface); min-width: 0; }
.ex .who { color: var(--ink-2); }
.ex h3 { font-size: 20px; line-height: 1.3; }
.flow { list-style: none; margin: 0; padding: 0; }
.flow li { font-family: var(--f-mono); font-size: 13px; padding: 9px 0 9px 26px; position: relative; color: var(--ink-2); transition: color .35s; }
.flow li::before { content: ""; position: absolute; left: 3px; top: 13px; width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--wire); background: var(--surface); z-index: 1; transition: border-color .35s, background-color .35s, transform .35s; }
.flow li:not(:last-child)::after { content: ""; position: absolute; left: 8px; top: 23px; bottom: -9px; width: 2px; background: var(--line); }
.flow li.on { color: var(--ink); }
.flow li.on::before { border-color: var(--accent); background: var(--accent); transform: scale(1.15); }
.flow li.on:last-child::before { border-color: var(--live); background: var(--live); }
.ex-note { margin-top: 16px; color: var(--ink-2); }
@media (max-width: 960px) { .examples { grid-template-columns: 1fr; max-width: 640px; } }

/* website samples */
.webs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.web { display: grid; gap: 12px; min-width: 0; }
.frame { border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); box-shadow: 0 24px 50px -38px rgba(0,0,0,.5); transition: transform .4s cubic-bezier(.2,.7,.2,1); }
.web:hover .frame { transform: translateY(-6px) rotate(-.6deg); }
.chrome { display: flex; gap: 6px; padding: 9px 12px; border-bottom: 1px solid var(--line); background: var(--bg); }
.chrome i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.mock { aspect-ratio: 4 / 3; padding: 16px; display: grid; grid-template-rows: auto 1fr auto; gap: 10px; color: #fff; }
.mock .nav-m { display: flex; justify-content: space-between; align-items: center; font: 700 11px/1 var(--f-body); }
.mock .nav-m span { width: 50px; height: 14px; border-radius: 7px; background: rgba(255,255,255,.9); }
.mock .h { font: 800 clamp(16px, 2vw, 22px)/1.05 var(--f-display); letter-spacing: -0.02em; align-self: center; }
.mock .bar { display: flex; gap: 6px; } .mock .bar i { height: 22px; flex: 1; border-radius: 6px; background: rgba(255,255,255,.18); }
.mock .bar i:first-child { background: #fff; flex: .8; }
.m1 { background: linear-gradient(135deg, #0B5CAD, #083B70); }
.m2 { background: linear-gradient(135deg, #2B2420, #5A3E2B); }
.m3 { background: linear-gradient(135deg, #1B4332, #2D6A4F); }
.web b { font-weight: 600; } .web span.k { color: var(--ink-2); font-size: 15px; }
@media (max-width: 860px) { .webs { grid-template-columns: 1fr; max-width: 520px; } }

/* process */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; list-style: none; padding: 0; margin: 0; }
.steps::before, .steps .bar { content: ""; position: absolute; top: 22px; left: 22px; right: 22px; height: 2px; background: var(--line); }
.steps .bar { background: linear-gradient(90deg, var(--accent), var(--red)); right: auto; width: 0; }
.steps li { position: relative; display: grid; gap: 10px; align-content: start; min-width: 0; }
.num { position: relative; z-index: 1; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--ink); display: grid; place-items: center; font: 500 15px/1 var(--f-mono); background: var(--bg); transition: background-color .35s, color .35s, border-color .35s, transform .35s; }
.steps li.on .num { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); transform: scale(1.08); }
.steps h3 { font-size: 20px; }
.steps p { color: var(--ink-2); }
.steps .time { color: var(--accent); }
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; gap: 26px; }
  .steps::before, .steps .bar { top: 22px; bottom: 22px; left: 21px; right: auto; width: 2px; height: auto; }
  .steps .bar { height: 0; bottom: auto; }
  .steps li { grid-template-columns: 44px 1fr; column-gap: 18px; }
  .steps li > :not(.num) { grid-column: 2; } .num { grid-row: 1 / span 3; }
}

/* promise */
.promise { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.pr { padding: 24px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); display: grid; gap: 8px; align-content: start; min-width: 0; }
.pr svg { width: 28px; height: 28px; color: var(--red); }
.pr h3 { font-size: 18px; } .pr p { color: var(--ink-2); font-size: 15px; }
@media (max-width: 960px) { .promise { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .promise { grid-template-columns: 1fr; } }
.founder { margin-top: 28px; display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: center; padding: 26px; border-radius: 20px; background: var(--night); color: var(--night-ink); }
.founder .av { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; font: 700 22px/1 var(--f-display); background: linear-gradient(135deg, #4D9DFF, #FF4D4D); color: #0B0C0F; }
.founder p { color: var(--night-dim); } .founder b { color: var(--night-ink); }
@media (max-width: 560px) { .founder { grid-template-columns: 1fr; } }

/* compare */
.compare-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
table { border-collapse: collapse; width: 100%; min-width: 560px; }
th, td { text-align: left; padding: 16px 20px; border-bottom: 1px solid var(--line); vertical-align: top; }
tr:last-child td { border-bottom: 0; }
th { font: 500 12px/1.2 var(--f-mono); text-transform: uppercase; letter-spacing: .1em; color: var(--ink-2); }
th.us { color: var(--accent); } td:first-child { font-weight: 600; width: 24%; } td.them { color: var(--ink-2); }

/* faq */
.faq { max-width: 820px; border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; list-style: none; padding: 22px 0; font-weight: 600; font-size: 19px; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font: 400 26px/1 var(--f-mono); color: var(--accent); transition: transform .25s; flex-shrink: 0; }
details[open] summary::after { transform: rotate(45deg); }
details p { padding-bottom: 22px; color: var(--ink-2); max-width: 65ch; animation: slidein .35s ease; }

/* contact */
.cta { padding-block: 96px; }
.cta-box { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; background: var(--surface); border: 1.5px solid var(--ink); border-radius: 22px; padding: clamp(22px, 5vw, 54px); }
.cta-box > * { min-width: 0; }
.cta h2 { font: 800 clamp(32px, 4.6vw, 56px)/0.98 var(--f-display); text-transform: uppercase; letter-spacing: -0.03em; }
.cta h2 span { color: var(--red); }
.cta-copy > p { margin-top: 18px; color: var(--ink-2); font-size: 18px; max-width: 40ch; }
.card { margin-top: 26px; padding-top: 22px; border-top: 1px dashed var(--line); display: grid; gap: 12px; }
.card .who { font-weight: 600; font-size: 18px; }
.crow { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.crow a { font-family: var(--f-mono); font-size: 15px; text-decoration: none; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.copy { font: 500 12px/1 var(--f-mono); color: var(--ink-2); background: transparent; border: 1px solid var(--line); border-radius: 999px; padding: 8px 12px; min-height: 32px; cursor: pointer; }
form { display: grid; gap: 14px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-weight: 600; font-size: 15px; }
.hint { font-size: 14px; color: var(--ink-2); font-weight: 400; }
input, select, textarea { font: inherit; font-size: 16px; color: var(--ink); background: var(--bg); border: 1.5px solid var(--line); border-radius: 10px; padding: 12px 14px; width: 100%; min-height: 48px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 25%, transparent); }
textarea { min-height: 110px; resize: vertical; }
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.err { color: #C2362B; font-size: 14px; }
@media (prefers-color-scheme: dark) { .err { color: #FF8A7E; } }
.sent { border: 1.5px solid var(--live); border-radius: 12px; padding: 22px; display: grid; gap: 8px; animation: slidein .4s ease; }
.sent strong { color: var(--live); }
@media (max-width: 860px) { .cta-box { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .frow { grid-template-columns: 1fr; } form .btn { width: 100%; } }

footer { border-top: 1px solid var(--line); padding-block: 32px; color: var(--ink-2); }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; align-items: center; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; } footer a { text-decoration: none; } footer a:hover { color: var(--ink); }

/* Reduce Motion: soften, don't remove */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .rv { transform: none; transition: opacity .6s ease; }
  .js .hero h1 .word { transform: none; }
  .marquee .track { animation-duration: 90s; }
  .orb { animation: none; }
  .track-card:hover, .web:hover .frame, .btn-primary:hover { transform: none; }
}

/* ===== AI chat widget ===== */
.kc { position: fixed; z-index: 40; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); font-family: var(--f-body); }
.kc-open { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 20px 0 16px; border-radius: 999px; border: 0; cursor: pointer; background: var(--ink); color: var(--bg); font: 600 16px/1 var(--f-body); box-shadow: 0 14px 34px -14px rgba(0,0,0,.55); transition: transform .2s; }
.kc-open:hover { transform: translateY(-2px); }
.kc-dot { width: 10px; height: 10px; border-radius: 50%; background: #3FCB98; box-shadow: 0 0 0 0 rgba(63,203,152,.6); animation: kcping 2s infinite; }
@keyframes kcping { 70% { box-shadow: 0 0 0 10px rgba(63,203,152,0); } 100% { box-shadow: 0 0 0 0 rgba(63,203,152,0); } }
.kc.on .kc-open { display: none; }
.kc-panel { width: min(380px, calc(100vw - 32px)); height: min(560px, calc(100vh - 120px)); display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; box-shadow: 0 30px 70px -30px rgba(0,0,0,.55); animation: kcin .3s cubic-bezier(.2,.8,.2,1); }
.kc-panel[hidden] { display: none; }
@keyframes kcin { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.kc-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; background: var(--ink); color: var(--bg); }
.kc-head b { display: block; font-size: 15px; } .kc-head small { font-size: 12px; opacity: .7; }
.kc-x { width: 36px; height: 36px; border-radius: 10px; border: 0; background: transparent; color: inherit; font-size: 16px; cursor: pointer; }
.kc-log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; -webkit-overflow-scrolling: touch; }
.kc-msg { max-width: 85%; padding: 10px 13px; border-radius: 14px; font-size: 15px; line-height: 1.45; white-space: pre-wrap; overflow-wrap: anywhere; animation: slidein .3s ease; }
.kc-msg.bot { background: var(--bg); border: 1px solid var(--line); border-bottom-left-radius: 4px; align-self: flex-start; }
.kc-msg.me { background: var(--accent); color: var(--accent-ink); border-bottom-right-radius: 4px; align-self: flex-end; }
.kc-msg a { color: var(--accent); font-weight: 600; } .kc-msg.me a { color: inherit; }
.kc-typing { display: inline-flex; gap: 4px; }
.kc-typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--ink-2); animation: kcb 1.2s infinite ease-in-out; }
.kc-typing i:nth-child(2) { animation-delay: .15s; } .kc-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes kcb { 0%, 80%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-4px); } }
.kc-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 16px 12px; }
.kc-chips button { border: 1px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 999px; padding: 8px 12px; font: 500 14px/1 var(--f-body); cursor: pointer; min-height: 36px; }
.kc-chips button:hover { border-color: var(--accent); color: var(--accent); }
.kc-form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); }
.kc-form input { flex: 1; min-height: 46px; border-radius: 999px; padding: 0 16px; }
.kc-form button { width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--accent); color: var(--accent-ink); font-size: 20px; cursor: pointer; flex-shrink: 0; }
.kc-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
@media (max-width: 520px) {
  .kc.on { inset: 0; right: 0; bottom: 0; }
  .kc.on .kc-panel { width: 100%; height: 100%; border-radius: 0; border: 0; padding-top: env(safe-area-inset-top); padding-bottom: env(safe-area-inset-bottom); }
  .kc-open span:last-child { display: none; } .kc-open { padding: 0 16px; width: 52px; justify-content: center; }
}

/* ===== sub pages ===== */
.page-hero { padding-block: 72px 56px; border-bottom: 1px solid var(--line); }
.page-hero .wrap { display: grid; gap: 18px; }
.crumbs { font-family: var(--f-mono); font-size: 13px; color: var(--ink-2); } .crumbs a { text-decoration: none; }
.page-hero h1 { font: 800 clamp(36px, 6vw, 72px)/1 var(--f-display); text-transform: uppercase; letter-spacing: -0.03em; max-width: 16ch; }
.page-hero h1 span { color: var(--red); }
.page-hero p { color: var(--ink-2); font-size: 20px; max-width: 56ch; }
@media (max-width: 640px) { .page-hero { padding-block: 44px 36px; } .page-hero p { font-size: 17px; } }
.pkgs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
.pkg { border: 1px solid var(--line); border-radius: 20px; padding: 28px; background: var(--surface); display: grid; gap: 14px; min-width: 0; transition: transform .3s, box-shadow .3s; }
.pkg:hover { transform: translateY(-5px); box-shadow: 0 28px 56px -40px rgba(0,0,0,.45); }
.pkg.pop { border: 2px solid var(--accent); position: relative; }
.pkg.pop::before { content: "Most popular"; position: absolute; top: -13px; left: 24px; background: var(--accent); color: var(--accent-ink); font: 600 12px/1 var(--f-mono); padding: 6px 10px; border-radius: 999px; }
.pkg h3 { font: 700 26px/1.1 var(--f-display); letter-spacing: -0.02em; }
.pkg .price { font: 600 18px/1.2 var(--f-body); }
.pkg .for { color: var(--ink-2); }
.pkg ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.pkg li { display: flex; gap: 10px; } .pkg li svg { width: 20px; height: 20px; color: var(--live); flex-shrink: 0; margin-top: 3px; }
.pkg .btn { justify-self: stretch; }
@media (max-width: 960px) { .pkgs { grid-template-columns: 1fr; max-width: 560px; } }
.inds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ind { display: grid; gap: 10px; padding: 26px; border-radius: 18px; border: 1px solid var(--line); background: var(--surface); text-decoration: none; transition: transform .3s, border-color .3s; min-width: 0; }
.ind:hover { transform: translateY(-5px); border-color: var(--accent); }
.ind h3 { font: 700 22px/1.15 var(--f-display); letter-spacing: -0.02em; } .ind p { color: var(--ink-2); } .ind .go { color: var(--accent); font-weight: 600; }
@media (max-width: 860px) { .inds { grid-template-columns: 1fr; } }
.pain-gain { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.pain-gain > div { border-radius: 20px; padding: 28px; display: grid; gap: 14px; align-content: start; min-width: 0; }
.pain-gain .pain { background: var(--surface); border: 1px solid var(--line); } .pain-gain .gain { background: var(--night); color: var(--night-ink); }
.pain-gain h3 { font: 700 22px/1.2 var(--f-display); }
.pain-gain ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.pain-gain li { display: flex; gap: 12px; } .pain-gain li svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 3px; }
.pain-gain .pain svg { color: var(--red); } .pain-gain .gain svg { color: #3FCB98; }
@media (max-width: 860px) { .pain-gain { grid-template-columns: 1fr; } }
.legal { max-width: 760px; } .legal h2 { font: 700 24px/1.2 var(--f-display); margin: 36px 0 10px; } .legal p, .legal li { color: var(--ink-2); } .legal p + p { margin-top: 12px; } .legal ul { padding-left: 20px; display: grid; gap: 8px; }
.note-box { margin-top: 20px; padding: 16px 18px; border-radius: 12px; border: 1px dashed var(--line); color: var(--ink-2); font-size: 15px; }
.est { margin-top: 6px; display: grid; gap: 10px; padding-top: 16px; border-top: 1px solid var(--night-line); }
.est label { font-weight: 600; font-size: 15px; }
.est .r { display: flex; gap: 8px; flex-wrap: wrap; }
.est input[type=email] { flex: 1 1 200px; background: #0B0C0F; color: #EDEFF2; border-color: var(--night-line); color-scheme: dark; }
.est button { min-height: 48px; padding: 0 18px; border-radius: 10px; border: 0; background: #EDEFF2; color: #0B0C0F; font: 600 15px/1 var(--f-body); cursor: pointer; }

.cta-split { grid-template-columns: 1fr auto; align-items: center; }
@media (max-width: 860px) { .cta-split { grid-template-columns: 1fr; } .cta-split .btn { width: 100%; } }

/* ===== reviews ===== */
.rcard { margin: 0; height: 100%; display: flex; flex-direction: column; justify-content: space-between; gap: 22px; padding: 28px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s; }
.rcard:hover { transform: translateY(-4px); box-shadow: 0 26px 50px -38px rgba(0,0,0,.45); }
.rcard blockquote { margin: 0; font-size: 18px; line-height: 1.55; position: relative; }
.rcard figcaption { display: flex; align-items: center; gap: 12px; }
.rcard figcaption b { display: block; } .rcard figcaption small { color: var(--ink-2); font-size: 14px; }
.rav { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; flex-shrink: 0; font: 700 15px/1 var(--f-display); color: #fff; background: linear-gradient(135deg, var(--accent), var(--red)); }
.rcard.big { background: var(--night); color: var(--night-ink); border-color: var(--night-line); padding: clamp(28px, 5vw, 52px); }
.rcard.big blockquote { font: 600 clamp(22px, 2.8vw, 34px)/1.3 var(--f-display); letter-spacing: -0.015em; }
.rcard.big figcaption small { color: var(--night-dim); }
.rfeat { margin-bottom: 20px; }
.rgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.rgrid > div { min-width: 0; }
@media (max-width: 760px) { .rgrid { grid-template-columns: 1fr; } .rcard blockquote { font-size: 17px; } }
.rmarquee { overflow: hidden; padding-block: 6px 10px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.rtrack { display: flex; gap: 20px; width: max-content; animation: slide 60s linear infinite; }
.rtrack:hover { animation-play-state: paused; }
.rdup { display: contents; }
.rmarquee .rcard { width: min(400px, 82vw); flex-shrink: 0; height: auto; }
@media (prefers-reduced-motion: reduce) { .rtrack { animation-duration: 160s; } }

/* ===== 15-industry grid ===== */
.inds { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 960px) { .inds { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .inds { grid-template-columns: 1fr; gap: 10px; } .ind { padding: 18px 20px; gap: 6px; } .ind h3 { font-size: 19px; } }

/* ===== Build your system ===== */
.sb-sec { background: var(--night); color: var(--night-ink); }
.sb-sec .label { color: var(--night-dim); } .sb-sec .head p { color: var(--night-dim); }
.sb { display: grid; gap: 24px; }
.sb-stage { position: relative; display: grid; grid-template-columns: 1fr auto 1fr; gap: 72px; align-items: center; padding: 28px; border-radius: 22px; background: var(--night-2); border: 1px solid var(--night-line); background-image: radial-gradient(var(--night-line) 1px, transparent 1px); background-size: 22px 22px; }
.sb-wires { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.sb-w { fill: none; stroke: #3A404B; stroke-width: 1.5; }
.sb-p { fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 12 600; animation: sbflow 2.6s linear infinite; }
.sb-p.in { stroke: #4D9DFF; } .sb-p.out { stroke: #FF4D4D; }
@keyframes sbflow { from { stroke-dashoffset: 612; } to { stroke-dashoffset: 0; } }
.sb-col { position: relative; z-index: 1; display: grid; gap: 10px; align-content: center; min-width: 0; }
.sb-col h3 { font: 500 12px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--night-dim); margin-bottom: 4px; }
.sb-chip { display: flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 14px; border-radius: 12px; border: 1.5px dashed #3A404B; background: #0B0C0F; color: var(--night-dim); font: 600 15px/1.2 var(--f-body); text-align: left; cursor: pointer; transition: border-color .2s, color .2s, background-color .2s, transform .2s; }
.sb-chip::before { content: "+"; font-family: var(--f-mono); width: 16px; color: #5A606B; }
.sb-chip:hover { color: var(--night-ink); border-color: #5A606B; }
.sb-chip[aria-pressed="true"] { border-style: solid; color: var(--night-ink); background: #14161B; }
.sb-chip[aria-pressed="true"]::before { content: "●"; }
.sb-col.in .sb-chip[aria-pressed="true"] { border-color: #4D9DFF; } .sb-col.in .sb-chip[aria-pressed="true"]::before { color: #4D9DFF; }
.sb-col.out .sb-chip[aria-pressed="true"] { border-color: #FF4D4D; } .sb-col.out .sb-chip[aria-pressed="true"]::before { color: #FF4D4D; }
.sb-core { position: relative; z-index: 1; width: 230px; display: grid; gap: 10px; padding: 18px; border-radius: 18px; background: #1A1D24; border: 1.5px solid #3A404B; transition: border-color .3s, box-shadow .3s; }
.sb-core.live { border-color: #FF4D4D; box-shadow: 0 0 0 6px rgba(255,77,77,.12), 0 0 40px rgba(255,77,77,.18); }
.sb-core b { font: 700 18px/1.1 var(--f-display); display: flex; align-items: center; gap: 8px; }
.sb-core b i { width: 9px; height: 9px; border-radius: 50%; background: #5A606B; }
.sb-core.live b i { background: #3FCB98; animation: blink 1.4s infinite; }
.sb-core .sb-chip { min-height: 40px; font-size: 14px; }
.sb-core .sb-chip[aria-pressed="true"] { border-color: #EDEFF2; }
.sb-out { display: grid; grid-template-columns: 1.3fr 1fr; gap: 20px; align-items: start; }
.sb-out > * { min-width: 0; }
.sb-summary-box { padding: 22px; border-radius: 18px; background: var(--night-2); border: 1px solid var(--night-line); display: grid; gap: 8px; }
.sb-summary { font: 600 clamp(18px, 2vw, 22px)/1.4 var(--f-body); }
.sb-form { display: grid; gap: 10px; padding: 22px; border-radius: 18px; background: var(--night-2); border: 1px solid var(--night-line); }
.sb-form .r { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sb-form input:not([type=hidden]) { background: #0B0C0F; color: #EDEFF2; border-color: var(--night-line); color-scheme: dark; }
.sb-form button { min-height: 50px; border-radius: 999px; border: 0; background: #4D9DFF; color: #0B0C0F; font: 600 16px/1 var(--f-body); cursor: pointer; }
.sb-sent { padding: 22px; border-radius: 18px; border: 1.5px solid #3FCB98; display: grid; gap: 6px; } .sb-sent strong { color: #3FCB98; }
.sb-err { color: #FF8A7E; font-size: 14px; }
@media (max-width: 960px) { .sb-out { grid-template-columns: 1fr; } }
@media (max-width: 760px) {
  .sb-stage { grid-template-columns: 1fr; gap: 56px; padding: 18px; }
  .sb-col { grid-template-columns: 1fr 1fr; } .sb-col h3 { grid-column: 1 / -1; }
  .sb-core { width: 100%; } .sb-core .sb-chip { min-height: 42px; }
  .sb-chip { min-height: 44px; font-size: 14px; padding: 0 10px; }
  .sb-form .r { grid-template-columns: 1fr; }
}

/* ===== founder photo/video, service areas ===== */
.fphoto { width: 72px; height: 72px; border-radius: 18px; object-fit: cover; }
.founder.has-video { grid-template-columns: auto 1fr; }
.fvideo { grid-column: 1 / -1; width: 100%; max-width: 720px; border-radius: 14px; background: #000; }
footer .areas { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); display: block; font-size: 14px; color: var(--ink-2); line-height: 1.9; }
footer .areas a { text-decoration: none; } footer .areas a:hover { color: var(--ink); }

/* =====================================================================
   MOTION SYSTEM
   Timing tokens, easing (slow in / slow out), springs for follow-through.
   ===================================================================== */
:root {
  --t1: .12s; --t2: .2s; --t3: .32s; --t4: .5s;
  --ease-out: cubic-bezier(.2,.8,.2,1);      /* decelerate: things arriving */
  --ease-in: cubic-bezier(.5,0,.75,0);       /* accelerate: things leaving */
  --ease-io: cubic-bezier(.65,0,.35,1);      /* slow in, slow out */
  --spring: cubic-bezier(.34,1.56,.64,1);    /* overshoot + settle (follow-through) */
  /* solid drawing: one light source from above, consistent elevation */
  --e1: 0 1px 2px rgba(10,12,16,.06), 0 2px 8px -2px rgba(10,12,16,.08);
  --e2: 0 2px 4px rgba(10,12,16,.06), 0 14px 28px -12px rgba(10,12,16,.22);
  --e3: 0 4px 8px rgba(10,12,16,.08), 0 28px 50px -22px rgba(10,12,16,.35);
  --hero: #D91A1A; --hero-ink: #FFFFFF;
}
@media (prefers-color-scheme: dark) { :root { --e1: 0 1px 2px rgba(0,0,0,.5); --e2: 0 14px 28px -12px rgba(0,0,0,.7); --e3: 0 28px 50px -20px rgba(0,0,0,.85); --hero: #FF4D4D; --hero-ink: #0B0C0F; } }

/* ---------- Logo intro ---------- */
.intro-ov { display: none; }
.intro .intro-ov { display: grid; place-items: center; position: fixed; inset: 0; z-index: 100; background: var(--bg); cursor: pointer;
  animation: introFailsafe 0s linear 3.4s forwards; }
@keyframes introFailsafe { to { visibility: hidden; pointer-events: none; } }
.intro-stage { display: grid; justify-items: center; gap: 18px; transform-origin: center; will-change: transform; }
.intro-logo { width: clamp(110px, 22vw, 168px); height: auto; overflow: visible; color: var(--ink); animation: logoPulse .5s var(--spring) 1.3s both; }
.ip { transform-box: fill-box; transform-origin: center; }
.ip-stem, .ip-arm, .ip-low, .ip-leg { fill: currentColor; }
.ip-stem { transform-origin: bottom; animation: stemIn .55s var(--ease-out) .05s both; }
.ip-arm { animation: slideArm .5s var(--spring) .28s both; }
.ip-low { animation: slideLow .5s var(--spring) .36s both; }
.ip-leg { animation: slideLeg .5s var(--spring) .42s both; }
.ip-rn { fill: var(--red); transform-origin: center bottom; animation: dropNode .6s var(--ease-out) .55s both; }
.ip-gap { fill: none; stroke: var(--bg); stroke-width: 5; animation: fadeIn .2s linear .7s both; }
.ip-rl { stroke: var(--red); stroke-width: 9; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw .35s var(--ease-io) .82s forwards; }
.ip-bn { fill: var(--accent); animation: arcNode .6s var(--ease-io) .86s both; }
.ip-bl { stroke: var(--accent); stroke-width: 7; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw .25s var(--ease-out) 1.18s forwards; }
.ip-ring { fill: none; stroke: var(--red); stroke-width: 2; opacity: 0; animation: ring .7s var(--ease-out) 1.3s; }
.intro-word { display: flex; overflow: hidden; font: 700 clamp(22px, 4vw, 30px)/1.1 var(--f-display); letter-spacing: -0.01em; color: var(--ink); }
.intro-word span { display: inline-block; animation: letterUp .5s var(--spring) both; animation-delay: calc(1.05s + var(--i) * 40ms); }
.intro-skip { position: absolute; bottom: max(24px, env(safe-area-inset-bottom)); font: 500 12px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); opacity: 0; animation: fadeIn .4s ease .8s forwards; }
/* exit: the logo travels to where it lives in the header (origin awareness) */
.intro-out .intro-ov { animation: none; background: transparent; transition: background-color .45s var(--ease-io) .1s; pointer-events: none; }
.intro-out .intro-stage { transform: translate(var(--tx, 0), var(--ty, -40vh)) scale(var(--ts, .2)); opacity: 0; transition: transform .6s var(--ease-io), opacity .25s linear .4s; }
.intro-out .intro-skip { opacity: 0 !important; transition: opacity .15s; }
.intro .top .brand { opacity: 0; }
.intro-out .top .brand, .intro-done .top .brand { opacity: 1; transition: opacity .3s ease .45s; }
@keyframes stemIn { 0% { transform: scale(1, 0); } 45% { transform: scale(.9, 1.14); } 68% { transform: scale(1.08, .93); } 85% { transform: scale(.98, 1.02); } 100% { transform: none; } }
@keyframes slideArm { from { transform: translate(34%, -34%); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes slideLow { from { transform: translate(-60%, 60%); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes slideLeg { from { transform: translate(50%, 50%); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes dropNode { 0% { transform: translateY(-260%) scale(.7, 1.2); opacity: 0; } 50% { transform: translateY(0) scale(1.35, .68); opacity: 1; } 68% { transform: scale(.88, 1.14); } 84% { transform: scale(1.05, .96); } 100% { transform: none; opacity: 1; } }
@keyframes arcNode { 0% { transform: translate(160%, 120%) scale(.4); opacity: 0; } 35% { transform: translate(120%, -110%) scale(.8); opacity: 1; } 70% { transform: translate(-12%, 8%) scale(1.18); } 100% { transform: none; opacity: 1; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes ring { 0% { opacity: .8; transform: scale(1); } 100% { opacity: 0; transform: scale(3.6); } }
@keyframes logoPulse { 0%, 100% { transform: none; } 45% { transform: scale(1.1) rotate(-2deg); } }
@keyframes letterUp { from { transform: translateY(110%); } to { transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .ip-stem, .ip-arm, .ip-low, .ip-leg, .ip-rn, .ip-bn, .intro-logo, .intro-word span { animation: fadeIn .35s ease both; }
  .ip-rl, .ip-bl { animation-delay: .2s; animation-duration: .2s; }
  .ip-ring { display: none; }
  .intro-out .intro-stage { transform: none; }
}

/* ---------- Standout booking button (Von Restorff) ---------- */
.btn-hero { position: relative; overflow: hidden; isolation: isolate; background: var(--hero) !important; border-color: var(--hero) !important; color: var(--hero-ink) !important; box-shadow: 0 10px 28px -14px var(--hero), 0 0 0 0 color-mix(in srgb, var(--hero) 40%, transparent); }
.btn-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.35) 50%, transparent 65%); transform: translateX(-120%); animation: sheen 5s var(--ease-io) 2.5s infinite; }
@keyframes sheen { 0%, 70% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }
.btn-hero:hover { box-shadow: 0 14px 34px -14px var(--hero), 0 0 0 6px color-mix(in srgb, var(--hero) 18%, transparent); }

/* ---------- Anticipation + squash & stretch on press, spring release ---------- */
.btn, .ftab, .sb-chip, .kc-open, .ab-chat, .copy, .menu-btn, .kc-chips button, .est button, .sb-form button, .kc-form button {
  transition: transform var(--t3) var(--spring), background-color var(--t2) ease, color var(--t2) ease, border-color var(--t2) ease, box-shadow var(--t3) var(--ease-out); }
.btn:hover { transform: translateY(-2px); }
.btn:active, .ftab:active, .sb-chip:active, .kc-open:active, .ab-chat:active, .copy:active, .menu-btn:active, .kc-chips button:active, .est button:active, .sb-form button:active, .kc-form button:active {
  transform: scale(.94, .9); transition-duration: var(--t1); transition-timing-function: var(--ease-out); }
.go .arr, .btn svg { display: inline-block; transition: transform var(--t3) var(--spring); }
.ind:hover .go .arr { transform: translateX(5px); }

/* ---------- Header logo: secondary action on hover ---------- */
.brand .logo { transition: transform var(--t4) var(--spring); }
.brand:hover .logo { transform: rotate(-8deg) scale(1.12); }
.brand:active .logo { transform: scale(.88); transition-duration: var(--t1); }

/* ---------- Menu button morph (interruptible transitions) ---------- */
.menu-btn { position: relative; z-index: 31; }
.mb { position: relative; width: 20px; height: 14px; display: block; }
.mb i { position: absolute; left: 0; right: 0; height: 2px; border-radius: 2px; background: currentColor; transition: transform var(--t3) var(--spring), opacity var(--t2) ease, top var(--t2) var(--ease-out); }
.mb i:nth-child(1) { top: 0; } .mb i:nth-child(2) { top: 6px; } .mb i:nth-child(3) { top: 12px; }
.menu-open .mb i:nth-child(1) { top: 6px; transform: rotate(45deg); }
.menu-open .mb i:nth-child(2) { opacity: 0; transform: scaleX(0); }
.menu-open .mb i:nth-child(3) { top: 6px; transform: rotate(-45deg); }
/* menu grows out of the button that opened it (origin awareness) */
.menu { clip-path: circle(0 at var(--ox, 95%) var(--oy, 32px)); transition: clip-path .5s var(--ease-io); }
.menu.open { clip-path: circle(150% at var(--ox, 95%) var(--oy, 32px)); }
.menu > a { opacity: 0; transform: translateX(24px); transition: opacity var(--t3) ease, transform var(--t4) var(--spring); }
.menu.open > a { opacity: 1; transform: none; transition-delay: calc(.12s + var(--i, 6) * 45ms); }

/* ---------- Thumb-zone action bar on phones (Fitts + frequency of use) ---------- */
.actionbar { display: none; }
@media (max-width: 760px) {
  .actionbar { display: flex; gap: 10px; position: fixed; z-index: 35; left: 0; right: 0; bottom: 0; padding: 10px max(12px, env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
    background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line);
    transform: translateY(110%); transition: transform var(--t4) var(--spring); }
  .actionbar.show { transform: none; }
  .actionbar .btn { flex: 1; min-height: 52px; }
  .ab-chat { display: inline-flex; align-items: center; gap: 8px; min-height: 52px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--ink); background: var(--surface); color: var(--ink); font: 600 15px/1 var(--f-body); cursor: pointer; }
  .kc:not(.on) .kc-open { display: none; }
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  footer a, footer .areas a { display: inline-block; padding: 8px 0; }     /* bigger tap targets */
  .nav a { padding: 10px 0; }
}

/* ---------- Staggered entrances ---------- */
.js .stg > * { opacity: 0; transform: translateY(18px) scale(.98); transition: opacity .5s ease, transform .6s var(--spring); }
.js .stg.in > * { opacity: 1; transform: none; transition-delay: calc(min(var(--i, 0), 10) * 50ms); }
.js .stg.in > *:hover { transition-delay: 0s; }

/* ---------- Industry filter (Hick's law: fewer choices at a time) ---------- */
.ftabs { display: flex; flex-wrap: wrap; gap: 8px; margin: -20px 0 26px; }
.ftab { min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink-2); font: 600 15px/1 var(--f-body); cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
.ftab small { font: 500 12px/1 var(--f-mono); padding: 4px 7px; border-radius: 999px; background: var(--bg); }
.ftab:hover { border-color: var(--ink-2); color: var(--ink); }
.ftab[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.ftab[aria-pressed="true"] small { background: color-mix(in srgb, var(--bg) 20%, transparent); }
.ind.out { display: none; }
.ind.enter { animation: cardIn .45s var(--spring) both; animation-delay: calc(var(--n, 0) * 40ms); }
@keyframes cardIn { from { opacity: 0; transform: translateY(14px) scale(.96); } to { opacity: 1; transform: none; } }

/* ---------- Depth (solid drawing) ---------- */
.rcard, .pr, .ind, .ex, .pkg, .frame, .schematic, .feed, .track-card, .build, .cta-box, .sb-summary-box, .sb-form { box-shadow: var(--e1); }
.ind, .pr, .ex, .rcard { transition: transform var(--t4) var(--spring), box-shadow var(--t3) var(--ease-out), border-color var(--t2) ease; }
.ind:hover, .pr:hover, .ex:hover, .rcard:hover, .track-card:hover, .pkg:hover { box-shadow: var(--e3); transform: translateY(-5px); }

/* ---------- Follow-through on toggles ---------- */
.sb-chip.pop, .ftab.pop { animation: chipPop .45s var(--spring); }
@keyframes chipPop { 0% { transform: scale(.92); } 50% { transform: scale(1.06); } 100% { transform: none; } }
.sb-core.bump { animation: coreBump .5s var(--spring); }
@keyframes coreBump { 40% { transform: scale(1.04); } }

/* ---------- Hero headline: exaggerated entrance ---------- */
.js .hero h1 .word { transform: translateY(55%) rotate(6deg) scale(.9); }
.js .hero.go h1 .word { transition: opacity .5s ease, transform .8s var(--spring); }

/* ---------- Chat panel grows from its button, along an arc ---------- */
.kc-panel { transform-origin: bottom right; animation: kcArc .5s var(--spring) both; }
@keyframes kcArc { 0% { opacity: 0; transform: translate(30px, 40px) scale(.6) rotate(5deg); } 60% { opacity: 1; transform: translate(-3px, -6px) scale(1.02) rotate(-.6deg); } 100% { transform: none; } }
.kc-panel.closing { animation: none; opacity: 0; transform: translate(20px, 30px) scale(.7) rotate(3deg); transition: opacity var(--t2) ease, transform var(--t3) var(--ease-in); }

/* ---------- Rubber-band drag on the reviews strip ---------- */
.rmarquee { touch-action: pan-y; cursor: grab; user-select: none; }
.rmarquee.dragging { cursor: grabbing; }
.rmarquee .rtrack-wrap { transition: transform .7s var(--spring); }
.rmarquee.dragging .rtrack-wrap { transition: none; }

/* ---------- Peak-end: celebratory success states ---------- */
.celebrate { position: relative; animation: successIn .6s var(--spring) both; }
@keyframes successIn { 0% { opacity: 0; transform: scale(.9) translateY(10px); } 100% { opacity: 1; transform: none; } }
.okmark { width: 44px; height: 44px; display: block; margin-bottom: 4px; }
.okmark circle { fill: none; stroke: var(--live); stroke-width: 3; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw .5s var(--ease-out) .1s forwards; }
.okmark path { fill: none; stroke: var(--live); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw .35s var(--ease-out) .5s forwards; }
.burst { position: absolute; left: 30px; top: 30px; width: 0; height: 0; pointer-events: none; }
.burst i { position: absolute; width: 7px; height: 7px; border-radius: 50%; background: var(--c); animation: burst .8s var(--ease-out) .45s both; }
@keyframes burst { from { transform: translate(0, 0) scale(1); opacity: 1; } to { transform: translate(var(--x), var(--y)) scale(0); opacity: 0; } }

/* ---------- End of page: a signal runs into the final booking button ---------- */
.cta-box { position: relative; overflow: hidden; }
.cta-box::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, transparent, var(--accent), var(--red), transparent); background-size: 50% 100%; background-repeat: no-repeat; animation: endSignal 3.2s var(--ease-io) infinite; }
@keyframes endSignal { from { background-position: -50% 0; } to { background-position: 150% 0; } }

@media (prefers-reduced-motion: reduce) {
  .btn-hero::after, .cta-box::before { animation-duration: 12s; }
  .btn:active, .ftab:active, .sb-chip:active { transform: scale(.97); }
  .kc-panel { animation: fadeIn .25s ease both; }
  .js .hero h1 .word { transform: none; }
}
.menu-open .actionbar, .chat-open .actionbar { transform: translateY(110%) !important; }

/* ===== Outcome-led messaging ===== */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* rotating outcome line under the headline */
.rotator { margin-top: 16px; font: 700 clamp(20px, 2.4vw, 30px)/1.2 var(--f-display); letter-spacing: -0.02em; color: var(--ink); }
.rot { position: relative; display: inline-grid; vertical-align: bottom; overflow: hidden; color: var(--accent); padding-bottom: .08em; }
.rot b { grid-area: 1 / 1; font-weight: inherit; white-space: nowrap; transform: translateY(105%); opacity: 0; transition: transform .55s var(--spring), opacity .3s ease; }
.rot b.on { transform: none; opacity: 1; }
.rot b.off { transform: translateY(-105%); opacity: 0; transition: transform .4s var(--ease-in), opacity .25s ease; }
.rot::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; border-radius: 2px; background: currentColor; transform-origin: left; animation: rotBar 2.8s linear infinite; opacity: .35; }
@keyframes rotBar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (max-width: 520px) { .rot b { white-space: normal; } }

/* three outcome pillars */
.outs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.out { position: relative; display: grid; gap: 14px; align-content: start; padding: 28px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--e1); overflow: hidden; min-width: 0; transition: transform var(--t4) var(--spring), box-shadow var(--t3) var(--ease-out); --oc: var(--accent); }
.out:hover { transform: translateY(-6px); box-shadow: var(--e3); }
.out::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--oc); }
.o-clients { --oc: var(--red); } .o-time { --oc: var(--accent); } .o-auto { --oc: var(--live); }
.otag { font: 600 12px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--oc); }
.out h3 { font: 700 clamp(24px, 2.4vw, 30px)/1.1 var(--f-display); letter-spacing: -0.02em; }
.out p { color: var(--ink-2); }
.out ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.out li { display: flex; gap: 10px; font-size: 15px; } .out li svg { width: 18px; height: 18px; color: var(--oc); flex-shrink: 0; margin-top: 3px; }
.ov { height: 132px; border-radius: 14px; background: color-mix(in srgb, var(--oc) 7%, var(--bg)); display: grid; place-items: center; position: relative; overflow: hidden; }
/* clients: notifications slide in one after another */
.notes { display: grid; gap: 7px; width: 86%; }
.notes span { display: flex; align-items: center; gap: 8px; padding: 7px 10px; border-radius: 10px; background: var(--surface); box-shadow: var(--e1); font-size: 13px; font-weight: 600; opacity: 0; transform: translateX(-16px); }
.notes span b { font-weight: 500; color: var(--ink-2); }
.notes span i { width: 8px; height: 8px; border-radius: 50%; background: var(--oc); flex-shrink: 0; }
.out.in .notes span { animation: noteIn 6s var(--spring) infinite; }
.out.in .notes span:nth-child(2) { animation-delay: .5s; } .out.in .notes span:nth-child(3) { animation-delay: 1s; }
@keyframes noteIn { 0% { opacity: 0; transform: translateX(-16px); } 10%, 80% { opacity: 1; transform: none; } 92%, 100% { opacity: 0; transform: translateX(12px); } }
/* time: a ring fills while the hand sweeps */
.ring { width: 104px; height: 104px; }
.rbg { fill: none; stroke: color-mix(in srgb, var(--oc) 18%, transparent); stroke-width: 9; }
.rfg { fill: none; stroke: var(--oc); stroke-width: 9; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; transform: rotate(-90deg); transform-origin: center; }
.hand { stroke: var(--ink); stroke-width: 3; stroke-linecap: round; transform-origin: 60px 60px; }
.pin { fill: var(--ink); }
.out.in .rfg { animation: ringFill 4s var(--ease-io) infinite; }
.out.in .hand { animation: sweep 4s var(--ease-io) infinite; }
@keyframes ringFill { 0% { stroke-dashoffset: 1; } 70%, 90% { stroke-dashoffset: .02; } 100% { stroke-dashoffset: 1; } }
@keyframes sweep { 0% { transform: rotate(0); } 70%, 90% { transform: rotate(353deg); } 100% { transform: rotate(360deg); } }
.rlabel { position: absolute; right: 16px; bottom: 14px; font: 500 11px/1.3 var(--f-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--ink-2); text-align: right; }
/* automate: tasks tick themselves off */
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; width: 80%; }
.ticks li { position: relative; padding: 6px 10px 6px 34px; border-radius: 9px; background: var(--surface); box-shadow: var(--e1); font-size: 13px; font-weight: 600; color: var(--ink-2); }
.ticks li::before { content: ""; position: absolute; left: 10px; top: 50%; width: 14px; height: 14px; margin-top: -7px; border-radius: 4px; border: 2px solid var(--line); transition: background-color .3s, border-color .3s; }
.out.in .ticks li { animation: tickText 5s steps(1) infinite; }
.out.in .ticks li::before { animation: tickBox 5s var(--spring) infinite; }
.out.in .ticks li:nth-child(2), .out.in .ticks li:nth-child(2)::before { animation-delay: .6s; }
.out.in .ticks li:nth-child(3), .out.in .ticks li:nth-child(3)::before { animation-delay: 1.2s; }
.out.in .ticks li:nth-child(4), .out.in .ticks li:nth-child(4)::before { animation-delay: 1.8s; }
@keyframes tickBox { 0%, 8% { background: transparent; border-color: var(--line); transform: none; } 12% { background: var(--oc); border-color: var(--oc); transform: scale(1.25); } 18%, 85% { background: var(--oc); border-color: var(--oc); transform: none; } 100% { background: transparent; border-color: var(--line); } }
@keyframes tickText { 0%, 10% { color: var(--ink-2); } 11%, 85% { color: var(--ink); } }
@media (max-width: 960px) { .outs { grid-template-columns: 1fr; max-width: 640px; } }
/* "we can build anything" banner */
.anything { margin-top: 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; padding: 26px 30px; border-radius: 22px; background: var(--night); color: var(--night-ink); box-shadow: var(--e2); }
.anything .mono { color: var(--night-dim); }
.anything strong { font: 800 clamp(24px, 3.2vw, 40px)/1 var(--f-display); text-transform: uppercase; letter-spacing: -0.03em; margin-right: auto; }
.anything strong span { color: #FF4D4D; }
.anything .btn-ghost { color: var(--night-ink); border-color: var(--night-ink); } .anything .btn-ghost:hover { background: var(--night-ink); color: var(--night); }
/* outcome tags on build cards */
.btags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: -4px; }
.btag { font: 600 11px/1 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; padding: 5px 8px; border-radius: 999px; border: 1px solid currentColor; }
.t-c { color: var(--red); } .t-t { color: var(--accent); } .t-a { color: var(--live); } .t-x { color: var(--ink-2); }
@media (prefers-reduced-motion: reduce) { .out.in .notes span, .out.in .ticks li, .out.in .ticks li::before, .out.in .rfg, .out.in .hand { animation-duration: 12s; } .rot::after { display: none; } }

/* ===== careers ===== */
.roles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.role { --oc: var(--accent); display: grid; gap: 12px; align-content: start; padding: 28px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--e1); min-width: 0; transition: transform var(--t4) var(--spring), box-shadow var(--t3) var(--ease-out); }
.role:nth-child(2) { --oc: var(--red); } .role:nth-child(3) { --oc: var(--live); } .role:nth-child(4) { --oc: var(--ink-2); }
.role:hover { transform: translateY(-5px); box-shadow: var(--e3); }
.role h3 { font: 700 24px/1.15 var(--f-display); letter-spacing: -0.02em; }
.role p { color: var(--ink-2); }
.role ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.role li { display: flex; gap: 10px; font-size: 15px; } .role li svg { width: 18px; height: 18px; color: var(--oc); flex-shrink: 0; margin-top: 3px; }
.role .btn { justify-self: start; margin-top: 4px; }
@media (max-width: 760px) { .roles { grid-template-columns: 1fr; } }
input[type=file] { padding: 10px; }

/* ---------- SMS consent + text-us line ---------- */
.sms-consent { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; line-height: 1.5; color: var(--ink-2); font-weight: 400; cursor: pointer; }
.sms-consent input { flex: none; width: 18px; height: 18px; min-height: 0; margin: 2px 0 0; padding: 0; accent-color: var(--accent); }
.sms-consent a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
footer .wrap.textus { display: block; font-size: 14px; line-height: 1.6; color: var(--ink-2); padding-top: 14px; }
footer .textus .mono { margin-right: 6px; }
.legal h2[id] { scroll-margin-top: 96px; }
footer .textus a { color: var(--ink); font-weight: 600; }
