/* Perasai Tech v3 — dark "operations" world. Own palette: deep ink, electric blue, amber flag. */
:root {
  --bg: #050505;
  --bg-2: #0b0b0c;
  --panel: #111113;
  --panel-2: #161618;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #f4f4f5;
  --text-2: #a1a1aa;
  --text-3: #71717a;
  --blue: #f2b250;
  --blue-2: #f2b250;
  --blue-soft: rgba(242, 178, 80, 0.12);
  --amber: #f5b942;
  --amber-soft: rgba(245, 185, 66, 0.14);
  --red: #f0715a;
  --red-soft: rgba(240, 113, 90, 0.14);
  --green: #49c98a;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --sans: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "Cascadia Mono", monospace;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; background: var(--bg); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--sans); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
::selection { background: var(--blue); color: #fff; }
::-webkit-scrollbar { width: 10px; } ::-webkit-scrollbar-track { background: var(--bg); } ::-webkit-scrollbar-thumb { background: #2a2a2e; border-radius: 10px; border: 2px solid var(--bg); }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 3px; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -0.03em; text-wrap: balance; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }
.data { font-family: var(--mono); font-size: 12px; line-height: 1.4; font-variant-numeric: tabular-nums; letter-spacing: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Ambient light (one, quiet) */
.glow { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 0; }
.glow { background: radial-gradient(760px 460px at 92% 4%, rgba(242, 178, 80, 0.10), rgba(242, 178, 80, 0.03) 50%, transparent 78%); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; padding: 12px 0; }
.site-header .bar { display: flex; align-items: center; gap: 24px; height: 60px; padding: 0 12px 0 18px; border-radius: 10px; border: 1px solid transparent; transition: background-color 240ms var(--ease), border-color 240ms var(--ease), backdrop-filter 240ms var(--ease); }
.scrolled .site-header .bar { background: rgba(12, 12, 13, 0.8); border-color: var(--line); backdrop-filter: blur(14px) saturate(140%); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; font-size: 17px; letter-spacing: -0.02em; white-space: nowrap; }
.brand img { width: 28px; height: 28px; }
.nav { display: none; gap: 4px; margin-left: auto; font-size: 14.5px; }
.nav a { color: var(--text-2); text-decoration: none; padding: 8px 12px; border-radius: 8px; transition: color 160ms var(--ease), background-color 160ms var(--ease); }
.nav a:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.site-header .btn { margin-left: auto; }
@media (min-width: 980px) { .nav { display: flex; } .site-header .btn { margin-left: 8px; } }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; white-space: nowrap;
  min-height: 46px; padding: 0 20px; border-radius: 8px;
  font: 500 15.5px/1.2 var(--sans); text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: background-color 180ms var(--ease), border-color 180ms var(--ease), color 180ms var(--ease), transform 120ms var(--ease), box-shadow 180ms var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--text); color: #0a0a0a; }
.btn-primary:hover { background: #fff; box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.08); }
.btn-blue { background: var(--blue-2); color: #fff; }
.btn-blue:hover { background: #f5bf66; }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line-2); }
.btn-ghost:hover { border-color: rgba(255, 255, 255, 0.3); background: rgba(255, 255, 255, 0.03); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 14.5px; }
.btn svg { width: 16px; height: 16px; }
.btn .long { display: none; }
@media (min-width: 520px) { .btn .long { display: inline; } }

/* Sections */
.sec { position: relative; padding: 88px 0; }
@media (min-width: 960px) { .sec { padding: 120px 0; } }
.sec.tight { padding-top: 40px; }
.head { display: grid; gap: 16px; margin-bottom: 44px; }
@media (min-width: 960px) { .head.split { grid-template-columns: 1.2fr 1fr; align-items: end; gap: 64px; } }
.h2 { font-size: clamp(30px, 3.3vw, 46px); line-height: 1.08; font-weight: 500; letter-spacing: -0.035em; max-width: 18ch; }
.lede { font-size: 16.5px; line-height: 1.65; color: var(--text-2); max-width: 52ch; }
.dim { color: var(--text-3); }

/* Text reveal (headline words) */
.words .w { display: inline-block; white-space: pre; }
.js .reveal-words .w { opacity: 0; filter: blur(8px); transform: translateY(14px); transition: opacity 700ms var(--ease), filter 700ms var(--ease), transform 700ms var(--ease); transition-delay: calc(var(--i) * 55ms); }
.js .reveal-words.in .w { opacity: 1; filter: none; transform: none; }
.js .rise { opacity: 0; transform: translateY(18px); transition: opacity 800ms var(--ease), transform 800ms var(--ease); transition-delay: var(--d, 0ms); }
.js .rise.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal-words .w, .js .rise { opacity: 1 !important; filter: none !important; transform: none !important; transition: none !important; } }

/* Hero */
.hero { position: relative; padding: 48px 0 88px; overflow: hidden; }
@media (min-width: 960px) { .hero { padding: 72px 0 112px; } }
.hero .wrap { position: relative; z-index: 1; }
.status-line { display: inline-flex; align-items: center; gap: 10px; color: var(--text-2); font-size: 14px; padding: 6px 12px 6px 10px; border: 1px solid var(--line); border-radius: 8px; background: rgba(255, 255, 255, 0.02); }
.pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 0 rgba(242, 178, 80, 0.5); }
@media (prefers-reduced-motion: no-preference) { .pulse { animation: pulse 2.4s var(--ease) infinite; } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(242, 178, 80, 0.45); } 70% { box-shadow: 0 0 0 9px rgba(242, 178, 80, 0); } 100% { box-shadow: 0 0 0 0 rgba(242, 178, 80, 0); } }
.hero h1 { margin-top: 24px; font-size: clamp(40px, 4.8vw, 66px); line-height: 1.04; font-weight: 500; letter-spacing: -0.045em; max-width: 16ch; }
.hl { color: var(--blue); }
.hero h1 .hl { background: none; }
.hero h1 .soft { color: var(--text-3); }
.hero-row { display: grid; gap: 28px; margin-top: 22px; max-width: 56ch; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Ops window (hero product view) */
.ops { margin-top: 56px; border: 1px solid var(--line-2); border-radius: 8px; background: linear-gradient(180deg, #111113, #0b0b0c); box-shadow: 0 40px 120px -40px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.02) inset; overflow: hidden; }
.ops-top { display: flex; align-items: center; gap: 14px; height: 46px; padding: 0 16px; border-bottom: 1px solid var(--line); }
.dots { display: flex; gap: 6px; } .dots i { width: 10px; height: 10px; border-radius: 50%; background: #2c2c30; }
.ops-top .title { font-size: 13.5px; color: var(--text-2); }
.ops-top .tag { margin-left: auto; color: var(--text-3); border: 1px solid var(--line); border-radius: 6px; padding: 3px 8px; }
.ops-body { display: grid; min-height: 420px; }
@media (min-width: 860px) { .ops-body { grid-template-columns: 210px 1fr; } }
.ops-nav { display: flex; gap: 4px; padding: 12px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
@media (min-width: 860px) { .ops-nav { flex-direction: column; border-bottom: 0; border-right: 1px solid var(--line); } }
.ops-tab { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 9px; border: 0; background: transparent; color: var(--text-3); font: 500 14px/1.2 var(--sans); cursor: pointer; white-space: nowrap; position: relative; overflow: hidden; transition: color 200ms var(--ease), background-color 200ms var(--ease); text-align: left; }
.ops-tab { flex: none; }
@media (max-width: 640px) { .ops-top .tag { display: none; } .ops .fstep { grid-template-columns: minmax(0, 1fr) auto; row-gap: 2px; } .ops .fstep .src { grid-column: 1 / -1; } }
.ops-tab::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: 0.5; flex: none; }
.ops-tab:hover { color: var(--text-2); }
.ops-tab[aria-selected="true"] { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.ops-tab[aria-selected="true"]::before { background: var(--blue); opacity: 1; }
.ops-tab .bar { position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--blue); }
.ops-tab[aria-selected="true"] .bar { animation: fill var(--dur, 6s) linear forwards; }
.ops.paused .ops-tab .bar { animation-play-state: paused; }
@keyframes fill { to { width: 100%; } }
.ops-view { padding: 20px; position: relative; }
@media (min-width: 860px) { .ops-view { padding: 24px 28px; } }
.view { display: none; }
.view.on { display: block; animation: viewin 500ms var(--ease) both; }
@keyframes viewin { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.view-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; }
.view-head h3 { font-size: 15px; letter-spacing: -0.01em; font-weight: 500; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 9px; border-radius: 6px; font: 500 12px/1 var(--sans); border: 1px solid var(--line-2); color: var(--text-2); white-space: nowrap; }
.chip.blue, .chip.amber, .chip.red, .chip.green { color: var(--blue); background: transparent; border-color: rgba(242, 178, 80, 0.35); }
.chip i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
/* flow steps inside views */
.flow { display: grid; gap: 8px; }
.fstep { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px; background: rgba(255, 255, 255, 0.015); }
.fstep .src { color: var(--text-3); }
.fstep .txt { font-size: 14.5px; color: var(--text); }
.fstep .t { color: var(--text-3); }
.view.on .fstep { animation: stepin 520ms var(--ease) both; animation-delay: calc(var(--i) * 420ms + 150ms); }
@keyframes stepin { from { opacity: 0; transform: translateX(-10px); } to { opacity: 1; transform: none; } }
.split-view { display: grid; gap: 16px; }
@media (min-width: 1000px) { .split-view { grid-template-columns: 1.15fr 1fr; } }
.card { border: 1px solid var(--line); border-radius: 8px; background: rgba(255, 255, 255, 0.02); padding: 16px; }
.card h4 { font-size: 13px; font-weight: 500; color: var(--text-3); letter-spacing: 0; margin-bottom: 12px; }
.kv { display: grid; gap: 10px; margin: 0; }
.kv div { display: flex; justify-content: space-between; gap: 16px; font-size: 14px; }
.kv dt { color: var(--text-3); } .kv dd { margin: 0; text-align: right; }
.msg-list { display: grid; gap: 8px; }
.msg { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px; background: rgba(255, 255, 255, 0.015); }
.msg .src { color: var(--text-3); }
.msg .q { grid-column: 1; font-size: 14.5px; }
.msg .chip { grid-row: 1 / span 2; grid-column: 2; align-self: center; }
.msg.sel { border-color: rgba(242, 178, 80, 0.45); background: rgba(242, 178, 80, 0.06); }
.view.on .msg { animation: stepin 520ms var(--ease) both; animation-delay: calc(var(--i) * 260ms + 120ms); }
.bubble { padding: 10px 14px; border-radius: 10px; font-size: 14.5px; line-height: 1.5; max-width: 90%; }
.bubble.in { background: rgba(255, 255, 255, 0.05); border-bottom-left-radius: 4px; }
.bubble.out { background: var(--blue-2); color: #fff; margin-left: auto; border-bottom-right-radius: 4px; }
.checks { list-style: none; padding: 0; margin: 12px 0; display: grid; gap: 8px; font-size: 14px; color: var(--text-2); }
.checks li { display: flex; gap: 10px; align-items: center; }
.checks svg { width: 16px; height: 16px; color: var(--blue); flex: none; }
.view.on .checks li { animation: stepin 420ms var(--ease) both; animation-delay: calc(var(--i) * 380ms + 400ms); }
.typing::after { content: "▍"; color: var(--blue); margin-left: 2px; }
@media (prefers-reduced-motion: no-preference) { .typing::after { animation: blink 1s steps(1) infinite; } }
@keyframes blink { 50% { opacity: 0; } }
.pipe { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 640px) { .pipe { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.col h5 { margin: 0 0 8px; font: 500 12.5px/1 var(--sans); color: var(--text-3); display: flex; justify-content: space-between; }
.tile { padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: rgba(255, 255, 255, 0.02); font-size: 13.5px; margin-bottom: 8px; }
.tile .chip { margin-top: 8px; height: 20px; font-size: 11px; }
.view.on .tile.move { animation: hop 900ms var(--ease) both; animation-delay: 1200ms; }
@keyframes hop { 0% { opacity: 0; transform: translateX(-40px); } 100% { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .view.on, .view.on .fstep, .view.on .msg, .view.on .checks li, .view.on .tile.move, .ops-tab .bar { animation: none !important; } }

/* Problems */
.problems { border-top: 1px solid var(--line); }
.prob-grid { display: grid; border-top: 1px solid var(--line); }
@media (min-width: 900px) { .prob-grid { grid-template-columns: 1fr 1fr; column-gap: 48px; } }
.prob { display: grid; grid-template-columns: 34px 1fr; gap: 4px 12px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.prob .n { color: var(--text-3); padding-top: 6px; }
.prob h3 { font-size: clamp(19px, 1.8vw, 23px); line-height: 1.3; font-weight: 500; letter-spacing: -0.02em; }
.prob p { grid-column: 2; margin-top: 6px; color: var(--text-3); font-size: 15px; display: flex; gap: 8px; align-items: baseline; }
.prob p b { color: #f6c87a; font-weight: 500; }
.prob-foot { margin-top: 40px; font-size: clamp(20px, 2vw, 26px); letter-spacing: -0.02em; color: var(--text-2); max-width: 40ch; }
.prob-foot strong { color: var(--text); font-weight: 500; }

/* Approach: tools converge */
.approach-box { border: 1px solid var(--line); border-radius: 8px; background: var(--bg-2); padding: 24px 16px; overflow: hidden; }
@media (min-width: 900px) { .approach-box { padding: 40px; } }
.converge { position: relative; width: 100%; aspect-ratio: 1000 / 380; }
.converge svg { width: 100%; height: 100%; overflow: visible; }
.converge .ln { fill: none; stroke: rgba(255, 255, 255, 0.14); stroke-width: 1; }
.converge .ln-out { fill: none; stroke: var(--blue); stroke-width: 1.5; }
.converge .pulse-dot { fill: var(--blue); }
.js .converge .ln, .js .converge .ln-out { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1400ms var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
.js .converge.in .ln, .js .converge.in .ln-out { stroke-dashoffset: 0; }
.js .converge .ln-out { transition-delay: 1100ms; }
.converge .tool rect { fill: #111113; stroke: rgba(255, 255, 255, 0.14); }
.converge .tool text { fill: #a7b0c2; font: 500 13px var(--sans); }
.converge .hub rect { fill: #1a1508; stroke: var(--blue); }
.converge .hub text { fill: #f8dfb0; font: 600 14px var(--sans); letter-spacing: 0.02em; }
.converge .out text { fill: #edf1f8; font: 600 24px var(--sans); letter-spacing: -0.02em; }
.js .converge .hub, .js .converge .out { opacity: 0; transition: opacity 700ms var(--ease) 900ms; }
.js .converge .out { transition-delay: 1700ms; }
.js .converge.in .hub, .js .converge.in .out { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .js .converge .ln, .js .converge .ln-out { stroke-dashoffset: 0; transition: none; } .js .converge .hub, .js .converge .out { opacity: 1; transition: none; } }
.converge-mobile { display: none; }
@media (max-width: 700px) { .converge { display: none; } .converge-mobile { display: grid; gap: 16px; } }
.tools-wrap { display: flex; flex-wrap: wrap; gap: 8px; }
.tools-wrap span { font-size: 13.5px; padding: 6px 12px; border-radius: 8px; border: 1px solid var(--line-2); color: var(--text-2); background: var(--panel); }
.arrow-down { width: 20px; height: 20px; color: var(--blue); margin: 0 auto; }
.hub-pill { justify-self: center; padding: 10px 16px; border: 1px solid var(--blue); border-radius: 10px; color: #f8dfb0; font-weight: 600; background: #1a1508; }
.approach-steps { display: grid; margin-top: 16px; border-top: 1px solid var(--line); }
@media (min-width: 900px) { .approach-steps { grid-template-columns: repeat(3, 1fr); } }
.astep { padding: 28px 24px 8px 0; }
@media (min-width: 900px) { .astep + .astep { padding-left: 28px; border-left: 1px solid var(--line); } }
.astep .data { color: var(--blue); }
.astep h3 { margin-top: 10px; font-size: 24px; font-weight: 500; }
.astep p { margin-top: 8px; color: var(--text-2); font-size: 15.5px; line-height: 1.55; }

/* Build bento */
.bento { display: grid; gap: 16px; }
@media (min-width: 900px) { .bento { grid-template-columns: repeat(6, 1fr); } .b-auto { grid-column: span 4; } .b-agent { grid-column: span 2; } .b-build { grid-column: span 2; } .b-new { grid-column: span 2; } .b-int { grid-column: span 2; } }
.tile-x { border: 1px solid var(--line); border-radius: 8px; background: var(--bg-2); overflow: hidden; display: flex; flex-direction: column; }
.stage { position: relative; min-height: 200px; display: grid; place-items: center; padding: 24px; border-bottom: 1px solid var(--line); background: radial-gradient(120% 120% at 50% 0%, rgba(242, 178, 80, 0.06), transparent 60%); }
.tile-x .body { padding: 22px 24px 24px; }
.tile-x h3 { font-size: 22px; font-weight: 500; letter-spacing: -0.02em; }
.tile-x p { margin-top: 8px; color: var(--text-2); font-size: 15px; line-height: 1.55; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.tags span { font-size: 12.5px; padding: 4px 10px; border-radius: 6px; border: 1px solid var(--line); color: var(--text-3); }
/* auto flow */
.chain { display: flex; align-items: center; gap: 0; flex-wrap: wrap; justify-content: center; }
.node { padding: 8px 14px; border: 1px solid var(--line-2); border-radius: 9px; font-size: 13.5px; color: var(--text-2); background: var(--panel); white-space: nowrap; transition: border-color 300ms var(--ease), color 300ms var(--ease), box-shadow 300ms var(--ease); }
.node.lit { border-color: var(--blue); color: #f8dfb0; box-shadow: 0 0 0 4px rgba(242, 178, 80, 0.12); }
.wire { width: 36px; height: 1px; background: var(--line-2); position: relative; overflow: hidden; }
.wire::after { content: ""; position: absolute; inset: 0; background: var(--blue); transform: translateX(-100%); }
.wire.lit::after { transform: none; transition: transform 500ms var(--ease); }
/* agent chat */
.mini-chat { width: 100%; max-width: 300px; display: grid; gap: 8px; }
.mini-chat .bubble { font-size: 13.5px; }
.js .mini-chat .bubble.out { opacity: 0; transform: translateY(6px); transition: opacity 500ms var(--ease) 900ms, transform 500ms var(--ease) 900ms; }
.js .in .mini-chat .bubble.out { opacity: 1; transform: none; }
/* build steps */
.ladder { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; width: 100%; max-width: 320px; }
.ladder div { text-align: center; }
.ladder .bar-x { height: 6px; border-radius: 6px; background: #1f1f23; overflow: hidden; }
.ladder .bar-x i { display: block; height: 100%; width: 0; background: var(--blue); }
.js .in .ladder .bar-x i { width: 100%; transition: width 700ms var(--ease); transition-delay: calc(var(--i) * 500ms + 200ms); }
.ladder span { display: block; margin-top: 8px; font-size: 12.5px; color: var(--text-3); }
/* integrations hub */
.hub-x { position: relative; width: 220px; height: 150px; }
.hub-x .core { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); padding: 8px 12px; border: 1px solid var(--blue); border-radius: 9px; background: #1a1508; font-size: 13px; color: #f8dfb0; font-weight: 500; }
.hub-x .sat { position: absolute; font-size: 12px; padding: 4px 9px; border: 1px solid var(--line-2); border-radius: 7px; color: var(--text-2); background: var(--panel); }
.hub-x svg { position: absolute; inset: 0; }
.hub-x line { stroke: var(--line-2); stroke-dasharray: 3 4; }
@media (prefers-reduced-motion: no-preference) { .in .hub-x line { animation: dash 1.6s linear infinite; } }
@keyframes dash { to { stroke-dashoffset: -14; } }
/* new territory */
.spark { width: 100%; max-width: 280px; }
.spark path { fill: none; stroke: var(--blue); stroke-width: 2; stroke-dasharray: 1; stroke-dashoffset: 1; }
.js .in .spark path { stroke-dashoffset: 0; transition: stroke-dashoffset 1600ms var(--ease) 200ms; }
.spark .base { stroke: var(--line-2); stroke-dasharray: none; stroke-dashoffset: 0; stroke-width: 1; }

/* Agents picker (kept) */
.picker { display: grid; gap: 32px; }
@media (min-width: 1020px) { .picker { grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; } }
.group + .group { margin-top: 24px; }
.group h3 { font-size: 13px; letter-spacing: 0; color: var(--text-3); font-weight: 500; margin: 0 0 8px 16px; }
.agent-btn { width: 100%; text-align: left; display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; align-items: center; padding: 14px 16px; margin: 0; border: 1px solid transparent; border-radius: 8px; background: transparent; cursor: pointer; font: inherit; color: inherit; transition: background-color 160ms var(--ease), border-color 160ms var(--ease); }
.agent-btn + .agent-btn { margin-top: 2px; }
.agent-btn .name { font-size: 17px; font-weight: 500; letter-spacing: -0.01em; }
.agent-btn .sub { grid-column: 1; color: var(--text-3); font-size: 14.5px; line-height: 1.45; }
.agent-btn .chev { grid-row: 1 / span 2; grid-column: 2; width: 18px; height: 18px; color: var(--text-3); transition: transform 160ms var(--ease), color 160ms var(--ease); }
.agent-btn:hover { background: rgba(255, 255, 255, 0.03); }
.agent-btn[aria-selected="true"] { background: rgba(255, 255, 255, 0.04); border-color: var(--line); }
.agent-btn[aria-selected="true"] .sub { color: var(--text-2); }
.agent-btn[aria-selected="true"] .chev { color: var(--blue); transform: translateX(3px); }
.preview { position: sticky; top: 100px; }
@media (max-width: 1019px) { .preview { position: static; margin: 8px 0 12px; } }
.work-order { background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 8px; padding: 24px; }
.wo-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.wo-head h4 { font-size: 20px; font-weight: 500; }
.wo-head .data { color: var(--text-3); }
.wo-rows { margin: 0; }
.wo-rows div { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.wo-rows dt { color: var(--text-3); font-size: 14px; }
.wo-rows dd { margin: 0; font-size: 15px; line-height: 1.5; color: var(--text-2); }
.wo-sample { margin-top: 18px; background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 16px; }
.wo-sample .data { color: var(--blue); }
.wo-sample p { margin-top: 8px; font-size: 14.5px; line-height: 1.55; }
.wo-foot { margin-top: 14px; font-size: 13px; color: var(--text-3); }
.panel-fade { animation: viewin 280ms var(--ease) both; }
@media (prefers-reduced-motion: reduce) { .panel-fade { animation: none; } }

/* Proof */
.proof-grid { display: grid; gap: 40px; }
@media (min-width: 1020px) { .proof-grid { grid-template-columns: 1fr 1.1fr; gap: 64px; } }
.results { border-top: 1px solid var(--line); }
.result { display: grid; grid-template-columns: minmax(118px, auto) 1fr; gap: 20px; align-items: baseline; padding: 20px 0; border-bottom: 1px solid var(--line); }
.result strong { font-size: 40px; line-height: 1; font-weight: 600; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.result span { color: var(--text-2); font-size: 15.5px; line-height: 1.5; }
.proof-note { margin-top: 18px; color: var(--text-3); font-size: 14px; }
.pipeline { border: 1px solid var(--line); border-radius: 8px; background: var(--bg-2); padding: 8px; }
.pstep { display: grid; grid-template-columns: 34px 1fr; gap: 4px 14px; padding: 15px 16px; }
.pstep + .pstep { border-top: 1px solid var(--line); }
.pstep .n { width: 26px; height: 26px; border-radius: 7px; display: grid; place-items: center; font: 500 12px/1 var(--mono); background: rgba(255,255,255,0.05); color: var(--text-2); }
.pstep.block .n { background: var(--red-soft); color: #f6a191; }
.pstep h3 { font-size: 16.5px; font-weight: 500; letter-spacing: -0.01em; }
.pstep p { grid-column: 2; font-size: 14.5px; line-height: 1.5; color: var(--text-2); }

/* Try it */
.try { border: 1px solid var(--line-2); border-radius: 8px; background: linear-gradient(180deg, var(--panel), var(--bg-2)); overflow: hidden; }
.try-grid { display: grid; }
@media (min-width: 1020px) { .try-grid { grid-template-columns: 1fr 1fr; } }
.try-in { padding: 24px; border-bottom: 1px solid var(--line); }
@media (min-width: 1020px) { .try-in { padding: 36px; border-bottom: 0; border-right: 1px solid var(--line); } }
.try-in label { display: block; font-size: 14px; color: var(--text-2); margin-bottom: 10px; }
.try-in textarea { width: 100%; min-height: 150px; resize: vertical; font: 400 17px/1.5 var(--sans); color: var(--text); background: var(--bg); border: 1px solid var(--line-2); border-radius: 8px; padding: 16px; transition: border-color 160ms var(--ease); }
.try-in textarea:focus { outline: none; border-color: var(--blue); }
.examples { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.ex { font: 400 13.5px/1.3 var(--sans); color: var(--text-2); background: rgba(255,255,255,0.03); border: 1px solid var(--line); border-radius: 6px; padding: 7px 12px; cursor: pointer; text-align: left; transition: border-color 160ms var(--ease), color 160ms var(--ease); }
.ex:hover { border-color: var(--line-2); color: var(--text); }
.try-in .btn { margin-top: 18px; }
.try-out { padding: 24px; min-height: 360px; }
@media (min-width: 1020px) { .try-out { padding: 36px; } }
.try-empty { height: 100%; display: grid; place-items: center; text-align: center; color: var(--text-3); font-size: 15px; min-height: 280px; }
.plan h3 { font-size: 21px; font-weight: 500; letter-spacing: -0.02em; }
.plan .rows { margin: 16px 0 0; }
.plan .rows div { display: grid; grid-template-columns: 120px 1fr; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); animation: stepin 420ms var(--ease) both; animation-delay: calc(var(--i) * 120ms); }
.plan dt { color: var(--text-3); font-size: 14px; }
.plan dd { margin: 0; font-size: 15px; line-height: 1.5; color: var(--text-2); }
.plan .btn { margin-top: 20px; }
.try-note { padding: 14px 24px; border-top: 1px solid var(--line); color: var(--text-3); font-size: 13px; }
@media (min-width: 1020px) { .try-note { padding: 14px 36px; } }

/* Cases */
.cases { display: grid; gap: 16px; }
@media (min-width: 900px) { .cases { grid-template-columns: 1fr 1fr; } }
.case { border: 1px solid var(--line); border-radius: 8px; background: var(--bg-2); padding: 28px; display: grid; gap: 18px; align-content: start; }
.case-top { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.case-top h3 { font-size: 21px; font-weight: 500; letter-spacing: -0.02em; }
.case .lbl { font-size: 12.5px; color: var(--text-3); margin-bottom: 6px; }
.case .problem p { font-size: 16.5px; line-height: 1.5; }
.case .solution { padding-top: 18px; border-top: 1px dashed var(--line-2); }
.case .solution p { color: var(--text-2); font-size: 15.5px; line-height: 1.55; }
.case .solution .lbl { color: #f6c87a; }

/* Process */
.steps { display: grid; gap: 16px; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { border-top: 1px solid var(--line-2); padding-top: 22px; }
.step .data { color: var(--blue); }
.step h3 { margin-top: 10px; font-size: 20px; font-weight: 500; letter-spacing: -0.02em; }
.step p { margin-top: 8px; color: var(--text-2); font-size: 15.5px; line-height: 1.55; }
.promises { display: grid; gap: 24px; margin-top: 56px; padding-top: 36px; border-top: 1px solid var(--line); }
@media (min-width: 900px) { .promises { grid-template-columns: repeat(3, 1fr); gap: 40px; } }
.promise { display: grid; grid-template-columns: 22px 1fr; gap: 4px 14px; }
.promise svg { width: 20px; height: 20px; color: var(--blue); margin-top: 2px; }
.promise h4 { font-size: 16.5px; font-weight: 500; letter-spacing: -0.01em; }
.promise p { grid-column: 2; color: var(--text-2); font-size: 15px; line-height: 1.5; }

/* Founder */
.founder { display: grid; gap: 40px; align-items: center; }
@media (min-width: 1020px) { .founder { grid-template-columns: 0.85fr 1.15fr; gap: 72px; } }
.portrait { position: relative; border-radius: 8px; overflow: hidden; border: 1px solid var(--line-2); max-width: 460px; background: #141416; }
.portrait img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 20%; }
.portrait figcaption { position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 8px; background: rgba(5, 5, 5, 0.72); backdrop-filter: blur(10px); border: 1px solid var(--line); }
.portrait figcaption strong { font-weight: 500; font-size: 15px; display: block; }
.portrait figcaption span { color: var(--text-3); font-size: 13px; }
.founder-copy p { font-size: 18px; line-height: 1.65; color: var(--text-2); max-width: 58ch; }
.founder-copy p + p { margin-top: 18px; }
.facts { margin: 32px 0 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.facts div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.facts dt { color: var(--text-3); } .facts dd { margin: 0; color: var(--text-2); }

/* FAQ */
.faq-list { border-top: 1px solid var(--line); max-width: 900px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; font-size: 18.5px; font-weight: 500; letter-spacing: -0.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 18px; height: 18px; flex: none; color: var(--text-3); transition: transform 220ms var(--ease); }
.faq details[open] summary svg { transform: rotate(45deg); color: var(--blue); }
.faq details p { padding: 0 0 24px; color: var(--text-2); font-size: 16px; line-height: 1.6; max-width: 70ch; }

/* Contact */
.contact { border-top: 1px solid var(--line); overflow: hidden; }
.contact-grid { display: grid; gap: 48px; position: relative; z-index: 1; }
@media (min-width: 1020px) { .contact-grid { grid-template-columns: 1fr 1.05fr; gap: 72px; align-items: start; } }
.contact .h2 { max-width: 12ch; }
.contact-alt { margin-top: 36px; display: grid; gap: 16px; }
.contact-alt span { display: block; color: var(--text-3); font-size: 13.5px; }
.contact-alt a { font-size: 17px; text-decoration: none; }
.contact-alt a:hover { text-decoration: underline; }
.form { border: 1px solid var(--line-2); border-radius: 8px; background: var(--bg-2); padding: 24px; display: grid; gap: 16px; }
@media (min-width: 720px) { .form { padding: 32px; } }
.field { display: grid; gap: 7px; }
.field label { font-size: 13.5px; color: var(--text-2); }
.field input, .field textarea, .field select { font: 400 16px/1.4 var(--sans); color: var(--text); background: var(--bg); border: 1px solid var(--line-2); border-radius: 8px; padding: 12px 14px; width: 100%; transition: border-color 160ms var(--ease); }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--blue); }
.two { display: grid; gap: 16px; }
@media (min-width: 600px) { .two { grid-template-columns: 1fr 1fr; } }
.form .hint { font-size: 13px; color: var(--text-3); }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 56px 0 36px; font-size: 14.5px; color: var(--text-2); }
.foot { display: grid; gap: 32px; }
@media (min-width: 900px) { .foot { grid-template-columns: 1.6fr 1fr 1fr; } }
.foot h4 { margin: 0 0 12px; font-size: 14px; font-weight: 500; letter-spacing: 0; color: var(--text); }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.foot a { color: var(--text-2); text-decoration: none; }
.foot a:hover { color: var(--text); }
.foot .about { margin-top: 12px; max-width: 26rem; color: var(--text-3); }
.legal { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--text-3); font-size: 13px; line-height: 1.6; display: grid; gap: 2px; }

/* Legal pages */
.doc { max-width: 760px; margin: 0 auto; padding: 48px 16px 96px; }
@media (min-width: 720px) { .doc { padding: 80px 32px 120px; } }
.doc h1 { font-size: clamp(36px, 5vw, 54px); line-height: 1.04; letter-spacing: -0.04em; }
.doc .updated { margin-top: 14px; color: var(--text-3); font-size: 13px; }
.doc h2 { font-size: 21px; line-height: 1.3; letter-spacing: -0.02em; font-weight: 500; margin-top: 44px; }
.doc p, .doc li { color: var(--text-2); font-size: 16.5px; line-height: 1.65; }
.doc p { margin-top: 12px; }
.doc ul, .doc ol { margin: 12px 0 0; padding-left: 22px; }
.doc li + li { margin-top: 6px; }
.doc a { color: #f6c87a; }
.doc strong { color: var(--text); font-weight: 500; }
.table-scroll { overflow-x: auto; margin-top: 16px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg-2); }
.doc table { width: 100%; border-collapse: collapse; font-size: 14.5px; line-height: 1.5; min-width: 540px; }
.doc th, .doc td { text-align: left; padding: 12px 14px; vertical-align: top; color: var(--text-2); }
.doc th { color: var(--text); font-weight: 500; background: var(--panel); }
.doc tr + tr td { border-top: 1px solid var(--line); }
.callout { margin-top: 28px; padding: 18px 20px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 8px; }
.callout p { margin: 0; }
.mono { font-family: var(--mono); font-size: 12.5px; }
.doc-page .site-header .bar { background: rgba(12, 12, 13, 0.8); border-color: var(--line); }

/* v3.1 feedback: ops window polish */
.fstep .txt b, .msg .q b { color: var(--blue); font-weight: 500; }
.ops-tab { padding: 10px 12px 12px; }
.ops-tab .bar { height: 2px; background: var(--blue); box-shadow: 0 0 8px rgba(242, 178, 80, 0.7); border-radius: 2px; left: 12px; bottom: 4px; }
.ops-tab[aria-selected="true"]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, 0.08); }
.ops-tab[aria-selected="true"] .bar { z-index: 1; }
@keyframes fill { to { width: calc(100% - 24px); } }
.js .ops .ops-tab { opacity: 0; transform: translateX(-8px); transition: opacity 500ms var(--ease), transform 500ms var(--ease), color 200ms var(--ease), background-color 200ms var(--ease); }
.js .ops.in .ops-tab { opacity: 1; transform: none; }
.js .ops.in .ops-tab:nth-child(1) { transition-delay: 500ms, 500ms, 0s, 0s; }
.js .ops.in .ops-tab:nth-child(2) { transition-delay: 600ms, 600ms, 0s, 0s; }
.js .ops.in .ops-tab:nth-child(3) { transition-delay: 700ms, 700ms, 0s, 0s; }
.js .ops.in .ops-tab:nth-child(4) { transition-delay: 800ms, 800ms, 0s, 0s; }
.js .ops.in .ops-tab:nth-child(5) { transition-delay: 900ms, 900ms, 0s, 0s; }
.ops .card { background: rgba(255, 255, 255, 0.02); }
.kv dd .accent, .kv dd b { color: var(--blue); font-weight: 500; }
@media (prefers-reduced-motion: reduce) { .js .ops .ops-tab { opacity: 1; transform: none; } }

/* v3.1 feedback: clean problem list */
.prob-list { list-style: none; margin: 0; padding: 0; display: grid; border-top: 1px solid var(--line); }
@media (min-width: 900px) { .prob-list { grid-template-columns: 1fr 1fr; column-gap: 56px; } }
.prob-list li { display: grid; grid-template-columns: 36px 1fr auto; align-items: center; gap: 12px; min-height: 76px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.prob-list .n { color: var(--text-3); }
.prob-list .t { font-size: 17.5px; line-height: 1.4; letter-spacing: -0.015em; color: var(--text); }
.prob-list .fix { font-size: 13px; color: var(--text-3); white-space: nowrap; transition: color 200ms var(--ease); }
.prob-list li:hover .fix { color: var(--blue); }
@media (max-width: 560px) { .prob-list li { grid-template-columns: 32px 1fr; } .prob-list .fix { grid-column: 2; } }
.prob-foot { margin-top: 36px; font-size: clamp(19px, 1.8vw, 23px); line-height: 1.4; letter-spacing: -0.02em; color: var(--text-2); max-width: none; }

/* v3.1 feedback: approach arc + glowing particles */
.converge { aspect-ratio: 1000 / 340; max-height: 380px; margin: 0 auto; }
.approach-box { padding: 20px 16px; }
@media (min-width: 900px) { .approach-box { padding: 24px 32px; } }
.converge .tool rect { fill: #121214; stroke: rgba(255, 255, 255, 0.14); }
.converge .tool text { fill: #c4c4cc; font: 500 13px var(--sans); }
.converge .ln { stroke: rgba(255, 255, 255, 0.12); }
.converge .spark-dot { fill: #ffd27f; }
.converge .hub rect { fill: #1a1508; stroke: var(--blue); stroke-width: 1.4; }
.converge .hub text { fill: #fbe7c2; font: 600 15px var(--sans); letter-spacing: 0; }
.converge .out text { fill: #f4f4f5; font: 500 22px var(--sans); letter-spacing: -0.02em; }
.hub-halo { opacity: 0; transform-origin: 560px 170px; }
.js .converge.in .hub-halo { opacity: 1; transition: opacity 900ms var(--ease) 900ms; }
@media (prefers-reduced-motion: no-preference) {
  .converge.in .hub rect { animation: hubpulse 1.2s ease-in-out infinite 1.2s; }
  .converge.in .hub-halo { animation: halo 1.2s ease-in-out infinite 1.2s; }
}
@keyframes hubpulse { 0%, 100% { filter: drop-shadow(0 0 2px rgba(242, 178, 80, 0.4)); } 50% { filter: drop-shadow(0 0 12px rgba(242, 178, 80, 0.9)); } }
@keyframes halo { 0%, 100% { transform: scale(0.92); } 50% { transform: scale(1.06); } }
.js .converge .tool { opacity: 0; transition: opacity 500ms var(--ease); transition-delay: calc(var(--i) * 60ms); }
.js .converge.in .tool { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .js .converge .tool { opacity: 1; } .hub-halo { opacity: 1; } }
#approach .head { margin-bottom: 32px; }
.approach-steps { margin-top: 8px; }
.astep { padding-top: 22px; }
.astep h3 { font-size: 20px; }

/* v3.1 feedback: calmer type scale for the rest of the page */
.tile-x h3 { font-size: 19px; }
.tile-x p { font-size: 14.5px; }
.stage { min-height: 180px; }
.agent-btn .name { font-size: 16px; }
.agent-btn .sub { font-size: 14px; }
.wo-head h4 { font-size: 18px; }
.result { padding: 16px 0; }
.result strong { font-size: 32px; }
.result span { font-size: 15px; }
.pstep h3 { font-size: 15.5px; }
.case { padding: 24px; gap: 14px; }
.case-top h3 { font-size: 18px; }
.case .problem p { font-size: 15.5px; }
.case .solution p { font-size: 14.5px; }
.step h3 { font-size: 18px; }
.step p, .promise p { font-size: 14.5px; }
.founder-copy p { font-size: 16.5px; }
.facts div { font-size: 14.5px; }
.faq summary { font-size: 17px; padding: 20px 0; }
.faq details p { font-size: 15.5px; }
.try-in textarea { font-size: 16px; }
.plan h3 { font-size: 19px; }
.contact-alt a { font-size: 16px; }
.status-line { font-size: 13px; }

/* v3.2: one accent, calmer shapes, cursor light */
.btn-blue { background: var(--text); color: #0a0a0a; }
.btn-blue:hover { background: #fff; }
.bubble.out { background: #151517; color: var(--text); border: 1px solid var(--line-2); border-radius: 8px; }
.bubble.in { background: rgba(255, 255, 255, 0.05); border-radius: 8px; }
.bubble { border-radius: 8px; }
.msg.sel { border-color: rgba(242, 178, 80, 0.45); background: rgba(242, 178, 80, 0.04); box-shadow: inset 2px 0 0 var(--blue); }
.ops-tab[aria-selected="true"]::before { background: var(--blue); }
.tile .chip { height: 20px; }
.hub-pill { border-radius: 8px; }
.converge .hub rect { stroke-width: 1.2; }

/* chain with small connector dots, one lit node at a time */
.wire { width: 44px; background: var(--line-2); overflow: visible; }
.wire::before { content: ""; position: absolute; left: 50%; top: 50%; width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--bg-2); transition: border-color 300ms var(--ease), background-color 300ms var(--ease); }
.wire::after { display: none; }
.wire.lit::before { border-color: var(--blue); background: var(--blue); }
.node.lit { border-color: rgba(242, 178, 80, 0.6); color: var(--text); box-shadow: none; background: rgba(242, 178, 80, 0.06); }
.node { border-radius: 6px; }

/* cursor light: a soft circle follows the pointer over cards */
.spot { position: relative; isolation: isolate; }
.spot::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 2;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, -200px), rgba(242, 178, 80, 0.09), transparent 60%);
  opacity: 0; transition: opacity 300ms var(--ease); }
.spot::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none; z-index: 3; padding: 1px;
  background: radial-gradient(240px circle at var(--mx, 50%) var(--my, -200px), rgba(242, 178, 80, 0.55), transparent 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity 300ms var(--ease); }
.spot:hover::after, .spot:hover::before { opacity: 1; }
@media (hover: none) { .spot::after, .spot::before { display: none; } }

/* v3.2: operations window, one grammar */
.ops-view { padding: 0; }
.ops-split { display: grid; min-height: 420px; }
@media (min-width: 1000px) { .ops-split { grid-template-columns: 1.1fr 1fr; } }
.ops-list { border-right: 1px solid var(--line); }
@media (max-width: 999px) { .ops-list { border-right: 0; border-bottom: 1px solid var(--line); } }
.list-label { font-size: 12.5px; color: var(--text-3); padding: 16px 20px 10px; display: flex; align-items: center; gap: 8px; }
.list-label.accent { color: var(--blue); padding: 18px 0 4px; }
.ops-list .msg { border: 0; border-radius: 0; border-top: 1px solid var(--line); padding: 14px 20px; background: transparent; }
.ops-list .msg.sel { background: rgba(255, 255, 255, 0.025); box-shadow: inset 2px 0 0 var(--blue); }
.ops-detail { padding: 20px; }
@media (min-width: 1000px) { .ops-detail { padding: 24px 28px; } }
.ops-detail .bubble { max-width: 100%; }
.ops-detail .bubble.in { display: inline-block; }
.ops-detail .bubble.out { margin-top: 4px; }
.ops .checks svg { color: var(--blue); }
.draft-actions { display: flex; gap: 8px; margin-top: 14px; }
.btn-xs { min-height: 32px; padding: 0 14px; font-size: 13.5px; border-radius: 6px; pointer-events: none; }
.view.on .ops-detail > * { animation: stepin 500ms var(--ease) both; }
.view.on .ops-detail > *:nth-child(2) { animation-delay: 250ms; }
.view.on .ops-detail > *:nth-child(4) { animation-delay: 1300ms; }
.view.on .ops-detail > *:nth-child(5) { animation-delay: 1500ms; }
@media (prefers-reduced-motion: reduce) { .view.on .ops-detail > * { animation: none; } }

.legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.contact-alt .addr { font-size: 15px; color: var(--text-2); }
.pstep.block .n { background: rgba(242, 178, 80, 0.1); color: var(--blue); }
.result strong { color: var(--text); }
.astep .data, .step .data { color: var(--blue); }

/* v3.3 */
.hero { padding-top: 0; }
.hero-main { min-height: calc(100svh - 84px); display: flex; flex-direction: column; justify-content: center; padding: 40px 0 64px; }
.hero-main .status-line { align-self: flex-start; }
.hero .ops { margin-top: 0; }
.cases-3 { display: grid; gap: 16px; }
@media (min-width: 760px) { .cases-3 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .cases-3 { grid-template-columns: repeat(3, 1fr); } }
.cases-3 .case { gap: 12px; padding: 26px; }
.cases-3 .case h3 { font-size: 19px; font-weight: 500; letter-spacing: -0.02em; line-height: 1.3; }
.case-fix { color: var(--text-2); font-size: 15px; line-height: 1.6; }
.case-fact { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13.5px; line-height: 1.5; color: var(--text-3); }
.case-fact a { color: var(--text-3); }
.founder-copy .quote { display: block; margin-top: 18px; color: var(--text); font-size: 20px; line-height: 1.45; letter-spacing: -0.02em; border-left: 2px solid var(--blue); padding-left: 16px; }
.try-empty { gap: 10px; display: flex; align-items: center; justify-content: center; }
.analyze { display: grid; gap: 12px; }
.astep-row { display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--text-3); transition: color 300ms var(--ease); }
.astep-row .ic { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--line-2); display: grid; place-items: center; flex: none; }
.astep-row.run { color: var(--text); }
.astep-row.run .ic { border-color: var(--blue); border-top-color: transparent; animation: spin 700ms linear infinite; }
.astep-row.done { color: var(--text-2); }
.astep-row.done .ic { border-color: var(--blue); background: var(--blue); }
.astep-row.done .ic::after { content: ""; width: 7px; height: 4px; border-left: 1.5px solid #0a0a0a; border-bottom: 1.5px solid #0a0a0a; transform: translateY(-1px) rotate(-45deg); }
@keyframes spin { to { transform: rotate(360deg); } }
.result-card { animation: viewin 500ms var(--ease) both; }
.result-card .found { display: flex; align-items: center; gap: 10px; color: var(--blue); font-size: 13.5px; }
.result-card h3 { margin-top: 10px; font-size: 24px; font-weight: 500; letter-spacing: -0.03em; }
.result-card .rows { margin: 14px 0 0; }
.result-card .rows div { display: grid; grid-template-columns: 120px 1fr; gap: 14px; padding: 12px 0; border-top: 1px solid var(--line); }
.result-card dt { color: var(--text-3); font-size: 14px; }
.result-card dd { margin: 0; font-size: 15px; line-height: 1.5; color: var(--text-2); }
.result-card .motto { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 17px; letter-spacing: -0.015em; color: var(--text); }
.result-card .motto b { color: var(--blue); font-weight: 500; }
.result-card .btn { margin-top: 18px; }
@media (prefers-reduced-motion: reduce) { .astep-row.run .ic { animation: none; } }

/* v3.4: clearer, slightly bolder */
.h2 { font-size: clamp(32px, 3.8vw, 52px); font-weight: 600; letter-spacing: -0.04em; }
.lede { font-size: 17.5px; color: #b4b4bc; }
.hero h1 { font-weight: 600; }
.prob-list li { grid-template-columns: 44px 1fr; min-height: 84px; }
.prob-list .t { font-size: 21px; font-weight: 500; letter-spacing: -0.02em; }
.prob-list .n { font-size: 13px; }
.prob-foot { font-size: clamp(21px, 2vw, 26px); color: var(--text); }
.cases-3 .case { padding: 28px; min-height: 0; }
.cases-3 .case h3 { font-size: 22px; font-weight: 600; }
.case-fix { font-size: 16px; color: #b4b4bc; }
.tile-x h3 { font-size: 21px; font-weight: 600; }
.tile-x p { font-size: 15.5px; }
.astep h3 { font-size: 22px; font-weight: 600; }
.astep p { font-size: 16px; }
.founder-copy p { font-size: 17.5px; color: #b4b4bc; }
.founder-copy .quote { font-size: 22px; font-weight: 500; }
.examples { display: grid; grid-template-columns: 1fr; gap: 8px; }
@media (min-width: 560px) { .examples { grid-template-columns: 1fr 1fr; } }
.ex { width: 100%; min-height: 44px; padding: 10px 14px; font-size: 14px; display: flex; align-items: center; }
.result-card h3 { font-size: 26px; font-weight: 600; }

/* contact form spam guards */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.cf-turnstile { min-height: 65px; }
#f-send:disabled { opacity: 0.6; cursor: progress; }
