@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Inter:wght@400;500;600&display=swap');

:root {
  color-scheme: dark;
  --ink: #0a0a0c;
  --paper: #f3f1ea;
  --muted: #a3a19c;
  --line: rgba(255,255,255,.14);
  --lime: #c8ff4d;
  --violet: #9d81ff;
  --coral: #ff775f;
  font-family: Inter, system-ui, sans-serif;
  background: var(--ink);
  color: var(--paper);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; background: var(--ink); }
.grain { position: fixed; inset: 0; pointer-events: none; opacity: .16; z-index: 20; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.24'/%3E%3C/svg%3E"); }
.shell { width: min(1240px, calc(100% - 48px)); margin-inline: auto; }
.nav { height: 88px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.wordmark { color: inherit; text-decoration: none; font-weight: 600; letter-spacing: -.04em; font-size: 19px; }
.mark { color: var(--lime); font-size: 9px; vertical-align: top; margin-left: 5px; }
nav { display: flex; gap: 30px; align-items: center; }
nav a, footer a { color: #b8b7b2; text-decoration: none; font-size: 13px; }
nav a:hover, footer a:hover { color: #fff; }
.nav-cta { border: 1px solid var(--line); border-radius: 999px; padding: 11px 16px; color: #fff; }
.nav-cta span, .button span { margin-left: 9px; }

.hero { padding-top: 92px; }
.kicker, .section-tag { font: 500 11px/1.2 'DM Mono', monospace; letter-spacing: .14em; color: var(--muted); }
.kicker span { display: inline-block; width: 7px; height: 7px; margin-right: 9px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 16px var(--lime); }
h1 { margin: 30px 0 38px; max-width: 1100px; font-size: clamp(64px, 10vw, 142px); line-height: .82; letter-spacing: -.085em; font-weight: 500; }
h1 em { color: var(--lime); font-style: normal; }
.hero-bottom { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 80px; }
.intro { max-width: 570px; color: #b9b8b3; font-size: clamp(18px, 2vw, 24px); line-height: 1.45; letter-spacing: -.025em; }
.hero-actions { display: flex; justify-content: flex-end; gap: 10px; }
.button { display: inline-flex; align-items: center; justify-content: center; padding: 15px 20px; border-radius: 999px; text-decoration: none; font-size: 14px; font-weight: 600; }
.button.primary { background: var(--lime); color: #111; }
.button.secondary { border: 1px solid var(--line); color: #e7e5de; }
.button.light { margin-top: 30px; background: var(--paper); color: #111; }

.connection-demo { margin: 84px 0 130px; min-height: 330px; display: grid; grid-template-columns: 1fr .55fr 1.15fr .55fr 1fr; align-items: center; padding: 38px; border: 1px solid var(--line); border-radius: 28px; background: radial-gradient(circle at 50% 50%, rgba(157,129,255,.13), transparent 30%), #0d0d10; }
.node { position: relative; min-height: 220px; padding: 20px; border-radius: 17px; border: 1px solid var(--line); background: rgba(8,8,10,.86); display: flex; flex-direction: column; justify-content: flex-end; }
.node-top { position: absolute; top: 18px; left: 18px; display: flex; align-items: center; gap: 8px; color: #78777a; font: 500 9px 'DM Mono', monospace; letter-spacing: .12em; }
.dot { width: 6px; height: 6px; border-radius: 50%; }
.lime { background: var(--lime); }.violet { background: var(--violet); }.coral { background: var(--coral); }
.node strong { font-size: 15px; }.node small { margin-top: 5px; color: #6f6e73; }
.screen-lines { margin: auto 0 32px; display: grid; gap: 10px; }
.screen-lines i { height: 8px; border-radius: 8px; background: #29292e; }.screen-lines i:nth-child(2) { width: 72%; background: #3b3b40; }.screen-lines i:nth-child(3) { width: 46%; background: var(--lime); opacity: .6; }
.agent-orbit { margin: auto; width: 92px; height: 92px; border: 1px solid rgba(157,129,255,.4); border-radius: 50%; display: grid; place-items: center; position: relative; }
.agent-orbit::before, .agent-orbit::after { content: ''; position: absolute; inset: -13px; border: 1px dashed rgba(157,129,255,.3); border-radius: 50%; animation: rotate 20s linear infinite; }
.agent-orbit::after { inset: 14px; border-style: solid; border-color: rgba(157,129,255,.18); }
.agent-orbit span { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--violet); color: #111; font: 600 13px 'DM Mono'; }
.signal-stack { margin: auto 0 25px; display: flex; gap: 7px; align-items: end; height: 80px; }
.signal-stack i { flex: 1; border-radius: 6px 6px 2px 2px; background: #2f2929; }.signal-stack i:nth-child(1){height:42%;}.signal-stack i:nth-child(2){height:84%;background:#55312c}.signal-stack i:nth-child(3){height:62%;}.signal-stack i:nth-child(4){height:100%;background:var(--coral);opacity:.72;}
.path { text-align: center; color: #77767a; font: 9px 'DM Mono'; letter-spacing: .08em; }
.path i { display: block; height: 1px; margin: 10px 0 -10px; background: linear-gradient(90deg, transparent, #5d5c62, transparent); }
.path b { color: var(--lime); font-size: 18px; font-weight: 400; }
.returning b { color: var(--coral); }

.manifesto { padding: 24px 0 140px; }
.statement { max-width: 1120px; margin: 40px 0 90px; font-size: clamp(44px, 6.8vw, 92px); line-height: .98; letter-spacing: -.065em; }
.statement em { color: var(--violet); font-style: normal; }
.principles { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid var(--line); }
.principles article { padding: 28px 35px 0 0; min-height: 190px; border-right: 1px solid var(--line); }
.principles article + article { padding-left: 35px; }
.principles article:last-child { border: 0; }
.principles span { color: var(--lime); font: 11px 'DM Mono'; }.principles h3 { margin: 35px 0 12px; font-size: 21px; }.principles p { color: #8e8d91; line-height: 1.55; max-width: 310px; }

.how { padding: 120px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: .85fr 1.15fr; gap: 80px; align-items: center; }
.how h2, .dream-teaser h2 { font-size: clamp(42px, 5vw, 70px); line-height: .98; letter-spacing: -.06em; font-weight: 500; margin: 28px 0; }
.how-copy > p:not(.section-tag), .dream-teaser p:not(.section-tag) { color: #9f9ea1; font-size: 17px; line-height: 1.6; max-width: 520px; }
.how-copy > a { display: inline-block; margin-top: 22px; color: var(--lime); text-decoration: none; font-size: 14px; }
.terminal { border: 1px solid #333238; border-radius: 16px; overflow: hidden; background: #060608; box-shadow: 0 35px 100px rgba(0,0,0,.35); }
.terminal-bar { height: 48px; border-bottom: 1px solid #29282d; display: flex; align-items: center; gap: 7px; padding: 0 16px; }
.terminal-bar span { width: 8px; height: 8px; border-radius: 50%; background: #3e3d42; }.terminal-bar b { margin-left: auto; font: 10px 'DM Mono'; color: #5e5d61; }
.terminal code { display: block; padding: 26px; white-space: nowrap; overflow-x: auto; font: 13px 'DM Mono'; color: #e1dfd9; border-bottom: 1px solid #222126; }
.muted { color: #5e5d61; }.green, .success { color: var(--lime); }
.terminal-output { padding: 22px 26px 26px; font: 12px/1.65 'DM Mono'; color: #7f7e83; }.terminal-output p { margin: 4px 0; }.terminal-output b { color: #c7c5bf; font-weight: 400; }.permissions { color: #aaa8a2!important; }.allow span { color: var(--violet); }.success { margin-top: 16px!important; }

.dream-teaser { padding: 125px 0; background: var(--violet); color: #101014; overflow: hidden; }
.dream-grid { display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: 60px; }
.dream-teaser .section-tag, .dream-teaser p:not(.section-tag) { color: rgba(16,16,20,.62); }
.thought-field { min-height: 580px; position: relative; }
.thought { position: absolute; width: 245px; padding: 16px; border-radius: 13px; border: 1px solid rgba(15,15,18,.18); background: rgba(255,255,255,.18); backdrop-filter: blur(8px); }
.thought span { font: 10px 'DM Mono'; letter-spacing: .1em; }.thought p { font-size: 13px!important; line-height: 1.45!important; color: #24232a!important; margin-bottom: 0; }
.t1 { top: 25px; left: 10%; transform: rotate(-3deg); }.t2 { top: 70px; right: 2%; transform: rotate(3deg); }.t3 { bottom: 45px; left: 0; transform: rotate(2deg); }.t4 { bottom: 25px; right: 7%; transform: rotate(-4deg); }
.synthesis-ring { position: absolute; inset: 50% auto auto 50%; transform: translate(-50%,-50%); width: 190px; height: 190px; border: 1px solid rgba(15,15,18,.38); border-radius: 50%; display: grid; place-items: center; font: 500 11px 'DM Mono'; letter-spacing: .16em; }
.synthesis-ring::before { content:''; position:absolute; inset:18px; border:1px dashed rgba(15,15,18,.28); border-radius:50%; animation:rotate 18s linear infinite reverse; }

footer { min-height: 200px; display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; border-top: 1px solid var(--line); }
footer p { color: #6f6e72; text-align: center; } footer div { justify-self: end; display: flex; flex-direction: column; align-items: end; gap: 10px; } footer div span { font-size: 11px; color: #555459; }
@keyframes rotate { to { transform: rotate(360deg); } }

@media (max-width: 900px) {
  nav > a:not(.nav-cta) { display: none; }
  .hero-bottom, .how, .dream-grid { grid-template-columns: 1fr; }
  .hero-actions { justify-content: flex-start; }
  .connection-demo { grid-template-columns: 1fr; gap: 12px; padding: 18px; }
  .path { transform: rotate(90deg); height: 36px; }
  .node { min-height: 180px; }
  .principles { grid-template-columns: 1fr; }.principles article, .principles article + article { padding: 25px 0; border-right: 0; border-bottom: 1px solid var(--line); min-height: auto; }
  .thought-field { min-height: 520px; }
}
@media (max-width: 600px) {
  .shell { width: min(100% - 28px, 1240px); }
  .nav { height: 70px; }
  .nav-cta { font-size: 0; padding-inline: 13px; }
  .nav-cta::before { content: 'Dream'; font-size: 13px; }
  .nav-cta span { font-size: 13px; margin-left: 7px; }
  h1 { font-size: clamp(48px, 14vw, 56px); margin-top: 24px; letter-spacing: -.075em; }
  .hero-bottom, .hero-bottom > * { min-width: 0; }
  .intro { font-size: 17px; overflow-wrap: anywhere; }
  .hero { padding-top: 65px; }.hero-actions { flex-direction: column; align-items: stretch; }.connection-demo { margin: 60px 0 90px; }
  .statement { font-size: 44px; }.how { padding: 90px 0; gap: 45px; }.terminal code { font-size: 11px; }
  .dream-teaser { padding: 90px 0; }.thought { width: 190px; }.t1 { left: 0 }.t2 { right: 0 }.t4 { right: 0 }.synthesis-ring { width: 150px; height: 150px; }
  footer { padding: 50px 0; grid-template-columns: 1fr; gap: 25px; text-align: center; } footer div { justify-self: center; align-items: center; }
}
