:root {
  --bg: #f3f5fa;
  --surface: #fff;
  --surface-2: #e9eaf1;
  --ink: #1a1a1c;
  --muted: #6b6b70;
  --quiet: #929299;
  --line: rgba(26,26,28,.08);
  --brand: #6a5ae0;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, monospace;
  --ease-out: cubic-bezier(.23,1,.32,1);
}

body { min-height: 100dvh; background-color: #fff; background-image: linear-gradient(180deg,#f3f5fa 0%,#fff 42rem); background-repeat: no-repeat; font-size: 16px; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 5px; }
.site-header { position: relative; height: auto; max-width: 1060px; margin: auto; padding: 20px clamp(16px,4vw,32px); background: transparent; border: 0; backdrop-filter: none; }
.brand { gap: 10px; font-family: var(--sans); font-size: 18px; text-transform: none; letter-spacing: -.02em; }
.brand-mark, .mini-mark { width: 42px; height: 42px; object-fit: contain; background: transparent; border-radius: 0; box-shadow: none; }
.site-nav { gap: 24px; font-family: var(--sans); font-size: 13px; text-transform: none; }
.site-nav > a:not(.nav-cta):hover { text-decoration: none; color: var(--brand); }
.nav-cta { height: 38px; padding: 0 17px; color: #fff; background: #111113; border-radius: 999px; font-weight: 600; transition: transform .16s var(--ease-out),box-shadow .16s var(--ease-out); }
.nav-cta:hover { background: #000; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(0,0,0,.16); }

.hero { max-width: 1060px; padding: clamp(45px,7vw,78px) clamp(16px,4vw,32px) 80px; }
.hero-copy { max-width: 760px; }
.eyebrow, .section-index, .micro { font-family: var(--sans); letter-spacing: .06em; }
.eyebrow { margin-bottom: 18px; color: var(--muted); font-size: 11px; }
.status-dot { background: var(--brand); }
.hero h1, .section-intro h2, .principles h2, .download h2 { font-family: var(--sans); text-transform: none; letter-spacing: -.045em; }
.hero h1 { max-width: 800px; font-size: clamp(42px,5.5vw,62px); line-height: 1.07; }
.hero h1 em, .download h2 em { display: inline; margin: 0; padding: 0; color: var(--brand); background: transparent; font: inherit; }
.hero-lede { max-width: 680px; margin-top: 22px; font-size: clamp(17px,1.5vw,19px); line-height: 1.6; }
.hero-actions { gap: 10px; margin-top: 27px; }
.button { min-height: 48px; padding: 0 22px; border: 0; border-radius: 999px; font-family: var(--sans); font-size: 15px; text-transform: none; letter-spacing: 0; transition: transform .16s var(--ease-out),box-shadow .16s var(--ease-out); }
.button:hover { transform: translateY(-1px); }
.button-primary, .button-dark { color: #fff; background: #111113; }
.button-primary:hover, .button-dark:hover { background: #000; box-shadow: 0 7px 22px rgba(0,0,0,.17); }
.button-secondary { color: var(--ink); background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.button-secondary:hover { border: 0; box-shadow: inset 0 0 0 1px var(--line),0 7px 22px rgba(26,26,28,.08); }
.hero-facts { width: auto; display: flex; gap: 8px; margin-top: 40px; border: 0; }
.hero-facts div { min-width: 135px; padding: 10px 14px; background: rgba(255,255,255,.72); border: 1px solid var(--line); border-radius: 999px; }
.hero-facts div:last-child { border-right: 1px solid var(--line); }
.hero-facts dt { display: none; }
.hero-facts dd { margin: 0; color: var(--muted); font-family: var(--sans); font-size: 11px; text-transform: none; }

.app-window { margin-top: 68px; overflow: hidden; background: #eef0f5; border: 0; border-radius: 28px; box-shadow: 0 30px 80px rgba(37,38,52,.18),inset 0 0 0 1px rgba(255,255,255,.7); }
.window-bar { height: 45px; color: #595961; background: rgba(255,255,255,.78); border-bottom: 1px solid var(--line); backdrop-filter: blur(20px); }
.traffic i { width: 10px; height: 10px; border: 0; background: #d8d8dc; }
.traffic i:first-child { background: #ff605c; }
.traffic i:nth-child(2) { background: #ffbd44; }
.traffic i:nth-child(3) { background: #00ca4e; }
.window-live .status-dot { background: #34c759; }
.app-sidebar { background: rgba(31,31,36,.94); }
.mini-mark { box-shadow: none; }
.project.active { background: rgba(255,255,255,.08); border-color: transparent; border-radius: 8px; }
.project.active > i, .side-link b, .new-agent, .agent-badge, .running, .activity span { color: #fff; background: var(--brand); }
.side-link { border-radius: 7px; }
.app-main { padding: 31px; }
.workspace-head h2 { font-size: 26px; }
.new-agent { border-radius: 999px; padding: 8px 13px; }
.session-row { background: rgba(255,255,255,.92); border: 1px solid var(--line); border-radius: 12px; }
.agent-badge { border-radius: 9px; }
.agent-badge.dark { background: #1c1c1e; border-radius: 9px; }
.running, .ready { border-radius: 999px; }
.terminal { margin: 8px 0 13px; background: #18181b; border-radius: 12px; }
.terminal .prompt, .terminal .ok { color: #a89cff; }
.cursor { background: #a89cff; }

.signal-strip { gap: 42px; padding: 27px 20px; color: var(--muted); background: transparent; border-bottom: 1px solid var(--line); font-family: var(--sans); font-size: 10px; }
.signal-strip i { color: #b7b7bd; }
.section { padding: clamp(80px,10vw,120px) 24px; }
.section-intro { max-width: 760px; margin-bottom: 52px; }
.section-index { margin-bottom: 13px; color: var(--brand); }
.section-intro h2, .principles h2, .download h2 { font-size: clamp(34px,4.5vw,52px); line-height: 1.06; }
.section-intro > p:last-child { margin-top: 18px; font-size: 16px; }
.feature-grid { max-width: 900px; grid-template-columns: repeat(2,1fr); gap: 16px; border: 0; }
.feature { min-height: 320px; padding: 27px; background: rgba(255,255,255,.88); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.feature-wide { grid-column: span 2; }
.feature-number { color: #a3a3aa; }
.feature-glyph { width: 52px; height: 52px; margin-bottom: 65px; color: #5547c0; background: rgba(106,90,224,.13); border-radius: 14px; }
.feature h3 { font-family: var(--sans); font-size: 20px; text-transform: none; letter-spacing: -.02em; }
.feature p { font-size: 15px; }
.feature-dark { color: #fff; background: linear-gradient(145deg,#7565e8,#5142bd); border: 0; }
.feature-dark p, .feature-dark .feature-number { color: rgba(255,255,255,.72); }
.feature-dark .feature-glyph { color: #fff; background: rgba(255,255,255,.15); }
.session-flow { margin-bottom: 58px; }
.flow-node { background: #fff; border: 1px solid var(--line); border-radius: 11px; box-shadow: 0 8px 24px rgba(26,26,28,.06); }
.pulse-line { background: rgba(106,90,224,.35); }
.pulse-line::after { color: #fff; background: var(--brand); border-radius: 999px; }

.workflow { background: transparent; border-block: 1px solid var(--line); }
.steps { max-width: 900px; gap: 16px; border: 0; }
.steps li { min-height: 315px; padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: 18px; }
.step-number { color: var(--brand); font-family: var(--sans); }
.step-command { margin: 55px 0 45px; color: #504d5a; background: #f1f1f5; border-radius: 10px; font-family: var(--mono); }
.step-command span { color: var(--brand); }
.steps h3 { font-family: var(--sans); font-size: 20px; text-transform: none; letter-spacing: -.02em; }
.steps p { font-size: 15px; }

.principles { max-width: 1000px; grid-template-columns: .9fr 1.1fr; gap: 70px; margin: 80px auto; padding: 55px; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 28px; }
.section-index.light { color: var(--brand); }
.principle-copy > p:not(.section-index) { color: var(--muted); }
.principle-copy li { border-color: var(--line); }
.principle-copy li span, .text-link { color: var(--brand); }
.text-link { border: 0; font-family: var(--sans); font-size: 13px; text-transform: none; }
.local-map { min-height: 480px; border: 0; border-radius: 20px; background-color: #f0f1f6; background-image: radial-gradient(rgba(106,90,224,.18) 1px,transparent 1px); overflow: hidden; }
.map-label { color: #fff; background: var(--brand); border-radius: 0 0 9px 0; }
.map-node { background: rgba(255,255,255,.9); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 10px 26px rgba(26,26,28,.09); }
.connector { border-color: var(--brand); }
.connector span { color: var(--brand); background: #f0f1f6; }

.download { max-width: 1000px; margin: 0 auto 80px; padding: clamp(75px,10vw,110px) 24px; background: linear-gradient(145deg,#eeeaff,#f7f5ff); border: 1px solid rgba(106,90,224,.1); border-radius: 28px; }
.download .eyebrow { color: var(--brand); }
.download h2 { font-size: clamp(40px,5.8vw,68px); }
.download p:not(.eyebrow) { font-size: 17px; }
.download > small { font-family: var(--sans); text-transform: none; }
.site-footer { max-width: 1060px; padding-inline: 32px; border-top: 1px solid var(--line); }
.footer-brand strong, .site-footer nav { font-family: var(--sans); text-transform: none; }

@media (max-width: 1000px) {
  .site-nav { top: 66px; padding: 12px 20px 20px; background: rgba(243,245,250,.97); border: 1px solid var(--line); border-radius: 0 0 16px 16px; }
  .site-nav a { border-color: var(--line); }
  .principles { margin: 50px 20px; padding: 42px; }
}

@media (max-width: 760px) {
  .hero-facts { width: 100%; flex-direction: column; }
  .hero-facts div { min-width: 0; }
  .app-window { border-radius: 18px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-wide { grid-column: span 1; }
  .steps { gap: 12px; }
  .steps li { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .principles { margin: 40px 14px; padding: 28px 20px; border-radius: 20px; }
  .download { margin: 0 14px 50px; border-radius: 20px; }
}
