@font-face {
  font-family: "Inter";
  src: url("/assets/font/InterVariable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --bg: #000;
  --bg-raised: #0d0d12;
  --bg-tile: #111117;
  --line: rgba(255, 255, 255, 0.1);
  --text: #f5f5f7;
  --muted: #a1a1aa;
  --dim: #6e6e78;
  --magenta: #b923f0;
  --blue: #2f7bff;
  --cyan: #14d0f0;
  --yellow: #ffc400;
  --orange: #ff7a00;
  --red: #ff4d12;
  --cool: linear-gradient(100deg, var(--magenta) 0%, var(--blue) 45%, var(--cyan) 100%);
  --warm: linear-gradient(100deg, var(--yellow) 0%, var(--orange) 55%, var(--red) 100%);
  --brand: linear-gradient(100deg, var(--magenta) 0%, var(--blue) 35%, var(--cyan) 62%, var(--yellow) 82%, var(--red) 100%);
  --radius: 28px;
  --gutter: max(22px, env(safe-area-inset-left));
  --max: 1180px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 64px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-feature-settings: "ss01", "cv11";
  font-size: 17px;
  line-height: 1.47;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 700; }
p { margin: 0; }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--text); color: #000; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

/* ---------- Navigation ---------- */
.localnav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line);
}
.localnav__inner {
  max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter);
  height: 52px; display: flex; align-items: center; gap: 28px;
}
.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; }
.brand img { width: 35px; height: auto; }
.brand__word { font-size: 21px; font-weight: 400; letter-spacing: -0.02em; }
.brand__word b { font-weight: 800; }
.localnav__links { display: flex; gap: 26px; margin-left: auto; font-size: 13px; }
.localnav__links a { color: var(--muted); text-decoration: none; transition: color .2s; }
.localnav__links a:hover { color: var(--text); }

.pill-button {
  display: inline-flex; align-items: center; justify-content: center;
  border: 0; cursor: pointer; text-decoration: none; white-space: nowrap;
  font: inherit; font-weight: 600; font-size: 17px; color: #fff;
  padding: 13px 26px; border-radius: 999px;
  background: var(--blue);
  background-image: linear-gradient(100deg, #7a2cf5, var(--blue) 55%, #1aa6f5);
  transition: transform .2s, filter .2s;
}
.pill-button:hover { filter: brightness(1.12); }
.pill-button:active { transform: scale(.98); }
.pill-button--small { font-size: 12px; padding: 7px 14px; }
.text-link { color: #2997ff; text-decoration: none; font-size: 19px; }
.text-link:hover { text-decoration: underline; }

/* ---------- Shared type ---------- */
.eyebrow { font-size: 17px; font-weight: 600; color: var(--muted); margin-bottom: 14px; letter-spacing: 0; }
.section-head { max-width: 980px; margin: 0 auto; padding: 0 var(--gutter); text-align: center; }
.section-title { font-size: clamp(40px, 6.4vw, 80px); line-height: 1.05; letter-spacing: -0.035em; font-weight: 700; }
.section-lede { font-size: clamp(19px, 1.9vw, 24px); line-height: 1.38; color: var(--muted); max-width: 760px; margin: 26px auto 0; font-weight: 500; letter-spacing: -0.015em; }
.gradient-text { background: var(--cool); -webkit-background-clip: text; background-clip: text; color: transparent; }
.gradient-text--warm { background: var(--warm); -webkit-background-clip: text; background-clip: text; }

section { position: relative; }

.frame {
  border-radius: 18px; overflow: hidden; background: #fff;
  box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 40px 120px -40px rgba(0,0,0,.9);
}
.frame--glow { position: relative; }
.frame--glow::before {
  content: ""; position: absolute; inset: -2px; border-radius: 20px; z-index: -1;
  background: var(--brand); filter: blur(40px); opacity: .45;
}

/* ---------- Reveal animations ---------- */
.js .reveal { opacity: 0; transform: translateY(36px); transition: opacity 1s cubic-bezier(.2,.7,.2,1), transform 1s cubic-bezier(.2,.7,.2,1); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Hero ---------- */
.hero { padding: 84px 0 40px; text-align: center; overflow: hidden; }
.hero > * { position: relative; z-index: 1; }
.hero__glow {
  position: absolute; z-index: 0; inset: -10% -20% auto; height: 900px; pointer-events: none;
  background:
    radial-gradient(40% 50% at 25% 30%, rgba(185,35,240,.28), transparent 70%),
    radial-gradient(35% 45% at 75% 20%, rgba(255,122,0,.18), transparent 70%),
    radial-gradient(45% 55% at 50% 60%, rgba(47,123,255,.22), transparent 70%);
  filter: blur(10px);
  animation: drift 18s ease-in-out infinite alternate;
}
@keyframes drift { to { transform: translate3d(0, 40px, 0) scale(1.06); } }
.hero .eyebrow { color: var(--text); font-size: 21px; }
.hero__title {
  font-size: clamp(42px, 6.6vw, 86px); line-height: 1.03; letter-spacing: -0.045em;
  max-width: 1100px; margin: 0 auto; padding: 0 var(--gutter); font-weight: 800;
}
.hero__title span { display: block; }
.hero__lede { max-width: 780px; margin: 30px auto 0; padding: 0 var(--gutter); font-size: clamp(19px, 2vw, 24px); color: var(--muted); font-weight: 500; line-height: 1.35; }
.hero__ctas { display: flex; gap: 28px; justify-content: center; align-items: center; margin-top: 40px; flex-wrap: wrap; padding: 0 var(--gutter); }
.hero__shot { max-width: 1240px; margin: 90px auto 0; padding: 0 var(--gutter); transform-origin: 50% 0; will-change: transform; }

/* ---------- Dictation pill ---------- */
.dictation { margin: 44px auto 0; padding: 0 var(--gutter); max-width: 900px; }
.dictation__pill {
  position: relative; display: inline-flex; align-items: center; gap: 14px;
  width: min(620px, 100%); min-height: 64px; padding: 10px 28px 10px 12px; border-radius: 999px;
  background: rgba(20, 20, 28, 0.82); backdrop-filter: blur(16px);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08), 0 20px 60px -20px rgba(47,123,255,.5);
  font-size: clamp(16px, 2vw, 21px); font-weight: 500; text-align: left;
}
.dictation__pill::before {
  content: ""; position: absolute; inset: -1.5px; border-radius: inherit; padding: 1.5px;
  background: var(--brand); background-size: 200% 100%;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  animation: ring 6s linear infinite;
}
@keyframes ring { to { background-position: 200% 0; } }
.dictation__mic {
  flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--brand); color: #fff; box-shadow: 0 0 0 0 rgba(47,123,255,.5);
  animation: listen 2.2s ease-out infinite;
}
@keyframes listen { 0% { box-shadow: 0 0 0 0 rgba(47,123,255,.55); } 100% { box-shadow: 0 0 0 16px rgba(47,123,255,0); } }
.dictation__wave { flex: none; display: inline-flex; align-items: center; gap: 3px; height: 28px; }
.dictation__wave i { display: block; width: 3px; height: 100%; border-radius: 3px; background: var(--text); opacity: .85; transform: scaleY(.25); animation: wave 1.1s ease-in-out infinite; }
.dictation__wave i:nth-child(2) { animation-delay: -.9s; } .dictation__wave i:nth-child(3) { animation-delay: -.3s; }
.dictation__wave i:nth-child(4) { animation-delay: -.7s; } .dictation__wave i:nth-child(5) { animation-delay: -.1s; }
.dictation__wave i:nth-child(6) { animation-delay: -.5s; } .dictation__wave i:nth-child(7) { animation-delay: -.8s; }
.dictation.is-paused .dictation__wave i { animation-play-state: paused; }
@keyframes wave { 0%, 100% { transform: scaleY(.2); } 50% { transform: scaleY(1); } }
.dictation__text { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.dictation__caret { flex: none; width: 2px; height: 1.2em; margin-left: -10px; background: var(--cyan); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.dictation__artifacts { list-style: none; padding: 0; margin: 22px 0 0; display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; min-height: 34px; }
.dictation__artifacts li {
  font-size: 13px; font-weight: 600; padding: 7px 13px; border-radius: 999px;
  background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1);
  opacity: 0; transform: translateY(10px) scale(.96); transition: opacity .5s, transform .5s;
}
.dictation__artifacts li.is-in { opacity: 1; transform: none; }
.dictation__artifacts li span { color: var(--dim); font-weight: 500; margin-right: 6px; }
.dictation__caption { margin-top: 16px; font-size: 14px; color: var(--dim); }

/* ---------- Statement ---------- */
.statement { max-width: 1000px; margin: 0 auto; padding: 170px var(--gutter) 150px; }
.statement__text { font-size: clamp(28px, 3.8vw, 48px); line-height: 1.16; font-weight: 700; letter-spacing: -0.03em; }
.statement__text .word { color: #3a3a40; transition: color .4s; }
.statement__text .word.is-lit { color: var(--text); }
.statement__text em { font-style: normal; }
.statement__text em .word.is-lit { color: var(--cyan); }

/* ---------- Sprawl ---------- */
.sprawl { padding: 60px 0 150px; overflow: hidden; }
.sprawl__stage { position: relative; height: 460px; max-width: 900px; margin: 60px auto 0; }
.chip {
  position: absolute; left: 50%; top: 50%;
  padding: 12px 20px; border-radius: 999px; font-size: 15px; font-weight: 600; white-space: nowrap;
  background: #16161d; box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); color: var(--muted);
  transition: transform 1.2s cubic-bezier(.2,.7,.2,1), opacity 1s, background .8s, color .8s;
}
.chip::after { content: ""; position: absolute; left: 50%; top: 50%; width: 6px; height: 6px; border-radius: 50%; background: var(--red); transform: translate(-50%, -50%); opacity: 0; }
.sprawl__core {
  position: absolute; left: 50%; top: 50%; width: 200px; height: 200px; margin: -100px 0 0 -100px;
  border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle, rgba(47,123,255,.25), transparent 70%);
  opacity: 0; transform: scale(.6); transition: opacity 1s .5s, transform 1.2s .5s cubic-bezier(.2,.7,.2,1);
}
.sprawl__core img { width: 110px; }
.sprawl__stage.is-unified .chip { opacity: 0; }
.sprawl__stage.is-unified .sprawl__core { opacity: 1; transform: scale(1); }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: var(--max); margin: 20px auto 0; padding: 0 var(--gutter); }
.compare__col { border-radius: var(--radius); padding: 40px; background: var(--bg-tile); }
.compare__col h3 { font-size: 24px; letter-spacing: -0.02em; margin-bottom: 20px; }
.compare__col ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; color: var(--muted); font-size: 18px; }
.compare__col li { padding-left: 30px; position: relative; }
.compare__col--before li::before { content: "×"; position: absolute; left: 0; top: -1px; color: #ff5a4f; font-weight: 700; }
.compare__col--after { background: linear-gradient(160deg, rgba(47,123,255,.18), rgba(185,35,240,.08) 60%, var(--bg-tile)); box-shadow: inset 0 0 0 1px rgba(47,123,255,.3); }
.compare__col--after li { color: var(--text); }
.compare__col--after li::before { content: "✓"; position: absolute; left: 0; color: var(--cyan); font-weight: 700; }
.kicker { text-align: center; font-size: clamp(30px, 4.2vw, 56px); font-weight: 800; letter-spacing: -0.035em; margin-top: 110px; padding: 0 var(--gutter); }

/* ---------- Thread ---------- */
.thread { padding: 150px 0 120px; background: linear-gradient(#000, #07070c 30%, #07070c 70%, #000); }
.thread__line { max-width: var(--max); margin: 70px auto 30px; padding: 0 var(--gutter); }
.thread__line svg { width: 100%; height: 90px; overflow: visible; }
.thread__stops { list-style: none; padding: 0; margin: 4px 0 0; display: grid; grid-template-columns: repeat(7, 1fr); text-align: center; font-size: 14px; font-weight: 600; color: var(--muted); }
.thread__stops li { opacity: .35; transition: opacity .6s, color .6s; }
.thread__stops li.is-lit { opacity: 1; color: var(--text); }

.story { max-width: var(--max); margin: 60px auto 0; padding: 0 var(--gutter); display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 60px; }
.story__step { min-height: 72vh; display: flex; flex-direction: column; justify-content: center; opacity: .25; transition: opacity .6s; }
.story__step.is-active { opacity: 1; }
.story__num { font-size: 14px; font-weight: 700; color: var(--cyan); letter-spacing: .08em; margin-bottom: 14px; }
.story__step h3 { font-size: clamp(28px, 3vw, 40px); letter-spacing: -0.03em; line-height: 1.1; margin-bottom: 16px; }
.story__step p { color: var(--muted); font-size: 19px; line-height: 1.45; }
.story__media { position: relative; }
.story__laptop.device { position: sticky; top: calc(50vh - min(19vw, 240px)); }
.story__frame { background: #f5f6f8; }
.story__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: left top; opacity: 0; transform: scale(1.03); transition: opacity .7s, transform .9s cubic-bezier(.2,.7,.2,1); }
.story__frame img.is-active { opacity: 1; transform: none; }

/* ---------- Workspaces ---------- */
.workspaces { padding: 150px 0; }
.tiles { max-width: var(--max); margin: 70px auto 0; padding: 0 var(--gutter); display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tile { position: relative; overflow: hidden; border-radius: var(--radius); padding: 40px 36px 44px; min-height: 420px; background: var(--bg-tile); display: flex; flex-direction: column; }
.tile::before { content: ""; position: absolute; inset: auto -30% -40% -30%; height: 70%; filter: blur(60px); opacity: .55; }
.tile--discovery::before { background: radial-gradient(closest-side, var(--magenta), transparent); }
.tile--architecture::before { background: radial-gradient(closest-side, var(--blue), transparent); }
.tile--delivery::before { background: radial-gradient(closest-side, var(--orange), transparent); }
.tile > * { position: relative; }
.tile__tag { font-size: 14px; font-weight: 700; color: var(--muted); }
.tile h3 { font-size: 32px; line-height: 1.1; letter-spacing: -0.03em; margin: 12px 0 auto; }
.tile ul { list-style: none; padding: 0; margin: 40px 0 0; display: grid; gap: 10px; font-size: 18px; font-weight: 600; }
.tile li { display: flex; align-items: center; gap: 10px; }
.tile li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--text); opacity: .6; }

/* ---------- Agent ---------- */
.agent { padding: 150px 0; background: radial-gradient(60% 40% at 50% 30%, rgba(47,123,255,.12), transparent 70%); }
.run {
  width: calc(100% - 2 * var(--gutter)); max-width: 760px; margin: 80px auto 0; padding: 34px 36px; border-radius: var(--radius);
  background: rgba(17,17,23,.9); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08), 0 50px 120px -50px rgba(47,123,255,.6);
}
.run__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.run__label { font-size: 13px; color: var(--dim); font-weight: 600; }
.run__title { font-size: 24px; font-weight: 700; letter-spacing: -0.02em; }
.run__status { font-size: 13px; font-weight: 700; padding: 5px 12px; border-radius: 999px; background: rgba(255,255,255,.08); color: var(--muted); white-space: nowrap; }
.run__status.is-running { background: rgba(47,123,255,.18); color: #7fb0ff; }
.run__status.is-done { background: rgba(48,209,88,.16); color: #4ade80; }
.run__bar { height: 6px; border-radius: 6px; background: rgba(255,255,255,.08); margin-top: 22px; overflow: hidden; }
.run__bar span { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--brand); transition: width .6s cubic-bezier(.2,.7,.2,1); }
.run__count { font-size: 14px; color: var(--muted); margin-top: 10px; }
.run__tasks { list-style: none; counter-reset: task; margin: 22px 0 0; padding: 0; display: grid; gap: 8px; }
.run__tasks li {
  counter-increment: task; position: relative; padding: 13px 110px 13px 46px; border-radius: 14px;
  background: rgba(255,255,255,.035); font-weight: 600; font-size: 15px; color: var(--muted); transition: background .4s, color .4s;
}
.run__tasks li::before { content: counter(task); position: absolute; left: 18px; top: 13px; color: var(--dim); font-size: 13px; }
.run__tasks li::after {
  content: "Pending"; position: absolute; right: 14px; top: 11px; font-size: 12px; font-weight: 700;
  padding: 3px 10px; border-radius: 999px; background: rgba(255,255,255,.06); color: var(--dim);
}
.run__tasks li .detail { display: block; font-weight: 500; font-size: 13px; color: var(--dim); max-height: 0; overflow: hidden; transition: max-height .5s, margin .5s; }
.run__tasks li.is-running { background: rgba(47,123,255,.1); color: var(--text); }
.run__tasks li.is-running::after { content: "Running"; background: rgba(47,123,255,.2); color: #7fb0ff; }
.run__tasks li.is-running .detail, .run__tasks li.is-done .detail { max-height: 40px; margin-top: 4px; }
.run__tasks li.is-done { color: var(--text); }
.run__tasks li.is-done::after { content: "Done"; background: rgba(48,209,88,.16); color: #4ade80; }
.pr {
  display: flex; gap: 14px; align-items: center; margin-top: 18px; padding: 16px 18px; border-radius: 16px;
  background: linear-gradient(120deg, rgba(48,209,88,.14), rgba(47,123,255,.1)); box-shadow: inset 0 0 0 1px rgba(74,222,128,.3);
  opacity: 0; transform: translateY(12px); transition: opacity .6s, transform .6s;
}
.pr.is-in { opacity: 1; transform: none; }
.pr__icon { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: #238636; color: #fff; flex: none; }
.pr__title { font-weight: 700; }
.pr__meta { font-size: 14px; color: var(--muted); }
.run__note { font-size: 12px; color: var(--dim); margin-top: 16px; text-align: center; }

.steps { list-style: none; counter-reset: step; max-width: var(--max); margin: 90px auto 0; padding: 0 var(--gutter); display: grid; grid-template-columns: repeat(4, 1fr); gap: 34px; }
.steps li { counter-increment: step; font-size: 18px; color: var(--muted); line-height: 1.45; }
.steps li::before { content: "0" counter(step); display: block; font-size: 14px; font-weight: 700; color: var(--cyan); margin-bottom: 12px; letter-spacing: .08em; }
.steps b { color: var(--text); }
.gallery { max-width: var(--max); margin: 100px auto 0; padding: 0 var(--gutter); display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.gallery figcaption { margin-top: 16px; color: var(--muted); font-size: 16px; }
.assurances { list-style: none; max-width: var(--max); margin: 100px auto 0; padding: 0 var(--gutter); display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.assurances li { padding: 34px; border-radius: var(--radius); background: var(--bg-tile); }
.assurances h3 { font-size: 21px; letter-spacing: -0.02em; margin-bottom: 10px; }
.assurances p { color: var(--muted); }

/* ---------- Control ---------- */
.control { padding: 150px 0; }
.split { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); display: grid; grid-template-columns: 1fr 1.1fr; gap: 70px; align-items: center; }
.split > * { min-width: 0; }
.split--reverse .split__copy { order: 2; }
.split .section-title { font-size: clamp(36px, 4.6vw, 60px); }
.split .section-lede { margin-left: 0; }
.split .text-link { display: inline-block; margin-top: 26px; }
.principles { max-width: var(--max); margin: 110px auto 0; padding: 0 var(--gutter); display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.principle { padding: 34px 30px; border-radius: var(--radius); background: var(--bg-tile); position: relative; overflow: hidden; }
.principle::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--brand); opacity: .9; }
.principle h3 { font-size: 21px; letter-spacing: -0.02em; margin-bottom: 12px; }
.principle p { color: var(--muted); font-size: 16px; }

/* ---------- Architecture ---------- */
.architecture { padding: 150px 0; background: linear-gradient(#000, #06060b 50%, #000); }
.architecture__shot { max-width: 1180px; margin: 80px auto 0; padding: 0 var(--gutter); }
.stats { max-width: 980px; margin: 90px auto 0; padding: 0 var(--gutter); display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; text-align: center; }
.stats dt { font-size: clamp(56px, 8vw, 96px); font-weight: 800; letter-spacing: -0.05em; line-height: 1; background: var(--brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stats dd { margin: 10px 0 0; color: var(--muted); font-size: 17px; }

/* ---------- Templates ---------- */
.templates { padding: 150px 0; }
.code {
  margin: 0; padding: 34px 36px; border-radius: var(--radius); background: #0b0b10; overflow-x: auto;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); font: 500 15px/1.65 ui-monospace, "SF Mono", Menlo, Consolas, monospace; color: #d4d4d8;
}
.c-dec { color: #c792ea; } .c-str { color: #ffcb6b; } .c-key { color: #82aaff; } .c-type { color: #4fd6be; }

/* ---------- Audience ---------- */
.audience { padding: 120px 0 150px; }
.audience__grid { max-width: var(--max); margin: 70px auto 0; padding: 0 var(--gutter); display: grid; grid-template-columns: repeat(4, 1fr); gap: 34px; }
.audience__grid h3 { font-size: 21px; margin-bottom: 10px; letter-spacing: -0.02em; }
.audience__grid p { color: var(--muted); }

/* ---------- Waitlist ---------- */
.waitlist { padding: 150px var(--gutter) 160px; text-align: center; overflow: hidden; }
.waitlist__glow { position: absolute; inset: 10% -10% -20%; background: radial-gradient(45% 50% at 50% 60%, rgba(47,123,255,.25), transparent 70%), radial-gradient(30% 40% at 70% 40%, rgba(255,122,0,.15), transparent 70%); pointer-events: none; }
.waitlist > * { position: relative; }
.waitlist__mark { width: 120px; margin: 0 auto 40px; }
.waitlist .section-title { font-size: clamp(34px, 5vw, 64px); }
.signup { max-width: 760px; margin: 50px auto 0; }
.signup__row { display: flex; gap: 10px; padding: 8px; border-radius: 999px; background: rgba(20,20,28,.9); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); }
.signup input, .signup select {
  font: inherit; font-size: 17px; color: var(--text); background: transparent; border: 0; outline: none;
  padding: 12px 18px; border-radius: 999px; min-width: 0;
}
.signup input[type=email] { flex: 1.6; }
.signup select { flex: 1; color: var(--muted); appearance: none; cursor: pointer; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 52%, calc(100% - 15px) 52%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
.signup select option { background: #16161d; color: var(--text); }
.signup input:focus-visible, .signup select:focus-visible { outline: 2px solid var(--cyan); outline-offset: 0; }
.signup .pill-button { flex: none; }
.signup__message { min-height: 26px; margin-top: 18px; font-weight: 600; }
.signup__message.is-error { color: #ff6b5e; }
.signup__message.is-ok { color: #4ade80; }
.signup__fine { font-size: 13px; color: var(--dim); }
.signup.is-done .signup__row { opacity: .5; pointer-events: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Consent ---------- */
.signup__consent { display: flex; gap: 12px; align-items: flex-start; max-width: 620px; margin: 18px auto 0; text-align: left; font-size: 14px; color: var(--muted); cursor: pointer; }
.signup__consent input { flex: none; width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--blue); cursor: pointer; }
.signup__consent a { color: #2997ff; }

/* ---------- Legal pages ---------- */
.legal { max-width: 760px; margin: 0 auto; padding: 80px var(--gutter) 120px; color: #d4d4d8; font-size: 17px; line-height: 1.6; }
.legal h1 { font-size: clamp(36px, 5vw, 56px); letter-spacing: -0.035em; line-height: 1.08; color: var(--text); margin-bottom: 14px; }
.legal__alt { color: var(--muted); font-weight: 600; }
.legal h2 { font-size: 22px; letter-spacing: -0.02em; color: var(--text); margin: 44px 0 12px; }
.legal p, .legal ul, .legal address { margin: 0 0 14px; }
.legal ul { padding-left: 22px; }
.legal li { margin-bottom: 6px; }
.legal b { color: var(--text); }
.legal a { color: #2997ff; }
.legal__updated { color: var(--dim); font-size: 14px; }
.legal__card { font-style: normal; padding: 20px 24px; border-radius: 18px; background: var(--bg-tile); box-shadow: inset 0 0 0 1px var(--line); }
.legal [data-operator] { color: #ffc400; }
.legal__privacy { margin-top: 40px !important; }
.localnav__cta { margin-left: auto; }

/* ---------- Contact form ---------- */
.contact-form { display: grid; gap: 8px; margin-top: 36px; }
.contact-form label { font-size: 14px; font-weight: 600; color: var(--text); margin-top: 10px; }
.contact-form__optional { color: var(--dim); font-weight: 500; }
.contact-form input, .contact-form textarea { font: inherit; font-size: 16px; color: var(--text); background: rgba(20,20,28,.9); border: 0; border-radius: 14px; padding: 13px 16px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); resize: vertical; }
.contact-form input:focus-visible, .contact-form textarea:focus-visible { outline: 2px solid var(--cyan); outline-offset: 0; }
.contact-form .pill-button { justify-self: start; margin-top: 18px; }
.contact-form .signup__fine { margin-top: 4px; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 40px var(--gutter) 60px; color: var(--dim); font-size: 13px; }
.footer__inner { max-width: var(--max); margin: 0 auto; display: grid; gap: 12px; }
.brand--footer .brand__word { color: var(--text); font-size: 18px; }
.footer p { color: var(--muted); }
.footer__links { display: flex; gap: 22px; font-size: 13px; }
.footer__links a { color: var(--muted); text-decoration: none; }
.footer__links a:hover, .footer__links a[aria-current] { color: var(--text); }
.footer .footer__small { color: var(--dim); font-size: 12px; }


/* ---------- Devices (generic laptop and tablet frames) ---------- */
.device { position: relative; }
.laptop__lid {
  position: relative; padding: 2.2% 2.2% 2.6%; border-radius: 22px 22px 6px 6px; background: #0c0c0f;
  box-shadow: inset 0 0 0 2px #2a2a30, inset 0 0 0 6px #050506, 0 60px 120px -40px rgba(47,123,255,.55);
}
.laptop__lid::before { content: ""; position: absolute; top: 0.9%; left: 50%; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: #1d1d24; box-shadow: inset 0 0 0 1.5px #2f2f3a; }
.laptop__screen { position: relative; aspect-ratio: 16 / 10; border-radius: 5px; overflow: hidden; background: #eef0f4; }
.laptop__screen > img { width: 100%; height: 100%; object-fit: cover; object-position: left top; }
.laptop__base { position: relative; height: clamp(12px, 1.6vw, 22px); margin: 0 -7%; border-radius: 2px 2px 22px 22px; background: linear-gradient(#d9dbe0, #a7aab2 45%, #6d7079); box-shadow: 0 30px 50px -20px rgba(0,0,0,.9); }
.laptop__base::before { content: ""; position: absolute; top: 0; left: 50%; width: 16%; height: 40%; transform: translateX(-50%); border-radius: 0 0 10px 10px; background: linear-gradient(#8d9099, #b9bcc4); }
.laptop__base::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: rgba(255,255,255,.7); }
.laptop--inset .laptop__screen { display: grid; place-items: center; }
.laptop--inset .laptop__screen > img { width: 72%; height: auto; border-radius: 10px; box-shadow: 0 20px 50px -10px rgba(15,23,42,.35); }

.tablet { padding: 2.4%; border-radius: 30px; background: #0b0b0e; box-shadow: inset 0 0 0 2px #34343c, inset 0 0 0 6px #050506, 0 50px 100px -30px rgba(0,0,0,.95); }
.tablet__screen { position: relative; aspect-ratio: 4 / 3; border-radius: 18px; overflow: hidden; background: #fff; }
.tablet__screen > img { width: 100%; height: 100%; object-fit: cover; object-position: left top; }
.tablet__screen--fit { aspect-ratio: 867 / 680; }
.tablet__screen--arch { aspect-ratio: 1800 / 1310; }
.tablet--ring::after { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1.5px; background: var(--brand); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.tablet--tilt { transform: perspective(1800px) rotateY(-8deg) rotateX(4deg); }

/* ---------- Effects ---------- */
.glare { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.2) 42%, transparent 54%); background-size: 250% 100%; animation: glare 7s ease-in-out infinite; }
@keyframes glare { 0%, 25% { background-position: 150% 0; } 65%, 100% { background-position: -60% 0; } }
.float { animation: float 7s ease-in-out infinite; }
.float:nth-of-type(2n) { animation-delay: -2.5s; } .float:nth-of-type(3n) { animation-delay: -4.5s; }
@keyframes float { 50% { translate: 0 -12px; } }
.card { position: absolute; z-index: 3; border-radius: 16px; background: rgba(18,18,26,.84); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14), 0 30px 60px -16px rgba(0,0,0,.9); white-space: nowrap; }
.card--artifact { padding: 10px 16px; font-size: 14px; font-weight: 600; }
.card b { display: block; font-size: 11px; color: #8e8e98; font-weight: 600; margin-bottom: 2px; letter-spacing: .05em; text-transform: uppercase; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 7px; vertical-align: 1px; }
.dot--blue { background: var(--blue); } .dot--orange { background: var(--orange); } .dot--cyan { background: var(--cyan); } .dot--green { background: #4ade80; }

/* ---------- Hero duo ---------- */
.duo { position: relative; max-width: 1180px; margin: 90px auto 0; padding: 0 var(--gutter); aspect-ratio: 1180 / 700; }
.duo__laptop { position: absolute; left: 3%; top: 4%; width: 70%; transition: transform .3s ease-out; }
.duo__tablet { position: absolute; right: 2%; top: 30%; width: 43%; transition: transform .3s ease-out; }
.duo__tablet .tablet { rotate: -2deg; }
.duo__c1 { left: 0; top: 18%; } .duo__c2 { left: 42%; top: -2%; } .duo__c3 { right: 0; top: 14%; } .duo__c4 { left: 10%; bottom: 0; }
.duo::before { content: ""; position: absolute; inset: 10% 5% -5%; z-index: -1; border-radius: 50%; filter: blur(90px); background: radial-gradient(closest-side at 35% 50%, rgba(185,35,240,.45), transparent), radial-gradient(closest-side at 75% 60%, rgba(255,122,0,.3), transparent); }

/* ---------- Exploded thread ---------- */
.exploded { max-width: 1180px; margin: 170px auto 0; padding: 0 var(--gutter); height: 560px; perspective: 2200px; }
.exploded__stack { position: relative; width: 760px; height: 100%; margin: 0 auto; transform-style: preserve-3d; transform: rotateX(52deg) rotateZ(-28deg) translate(-300px, 150px); }
.exploded__layer { position: absolute; left: 0; top: 0; width: 640px; transform: translate3d(calc(var(--i) * 95px * var(--spread, 1)), calc(var(--i) * 80px * var(--spread, 1)), calc(var(--i) * 90px * var(--spread, 1))); transition: transform .15s linear; }
.exploded__layer:nth-child(1) { --i: 0; opacity: .55; } .exploded__layer:nth-child(2) { --i: 1; opacity: .75; }
.exploded__layer:nth-child(3) { --i: 2; opacity: .9; } .exploded__layer:nth-child(4) { --i: 3; }
.exploded__tag { position: absolute; left: -10px; top: -34px; font-size: 18px; font-weight: 700; color: var(--text); opacity: .85; }

/* ---------- Scenes ---------- */
.scene { position: relative; max-width: 1180px; margin: 100px auto 0; padding: 0 var(--gutter); }
.scene--agent .laptop { width: 74%; margin: 0 auto; }
.scene--agent .laptop__lid { box-shadow: inset 0 0 0 2px #2a2a30, inset 0 0 0 6px #050506, 0 60px 120px -40px rgba(74,222,128,.35); }
.card--tasks { left: 0; top: 12%; padding: 14px 18px; }
.task { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; padding: 6px 0; color: #d4d4d8; }
.tdot { width: 18px; height: 18px; border-radius: 50%; flex: none; display: grid; place-items: center; font-size: 11px; background: rgba(255,255,255,.08); color: #71717a; }
.tdot--done { background: rgba(74,222,128,.18); color: #4ade80; }
.tdot--run { background: rgba(47,123,255,.22); color: #7fb0ff; animation: pulse 1.6s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(47,123,255,.6); } 100% { box-shadow: 0 0 0 10px rgba(47,123,255,0); } }
.card--pr { right: 0; top: 46%; padding: 16px 20px; width: 300px; white-space: normal; box-shadow: inset 0 0 0 1px rgba(74,222,128,.35), 0 30px 60px -16px rgba(0,0,0,.9); }
.card--pr__row { display: flex; gap: 12px; align-items: center; }
.card--pr__icon { width: 36px; height: 36px; border-radius: 50%; background: #238636; display: grid; place-items: center; font-size: 18px; flex: none; }
.card--pr__title { font-weight: 700; }
.card--pr__meta { font-size: 13px; color: var(--muted); margin-top: 4px; }
.card--pr__bars { display: flex; gap: 4px; margin-top: 12px; }
.card--pr__bars i { flex: 1; height: 6px; border-radius: 3px; background: linear-gradient(90deg, #4ade80, var(--cyan)); }
.card--agent { left: 6%; bottom: 6%; padding: 12px 18px; display: flex; gap: 12px; align-items: center; font-size: 14px; font-weight: 600; }
.live { width: 10px; height: 10px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 4px rgba(74,222,128,.2); }

.scene--arch { perspective: 2400px; }
.tablet--arch { width: 70%; margin: 0 auto; transform: rotateX(12deg) rotateY(-9deg) rotateZ(1deg); }
.card--stat { padding: 16px 22px; }
.card--stat strong { display: block; font-size: 44px; font-weight: 800; letter-spacing: -.04em; line-height: 1; background: var(--brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.card--stat span { font-size: 13px; color: var(--muted); font-weight: 600; }
.card--badge { padding: 10px 14px; font-size: 13px; font-weight: 600; box-shadow: inset 0 0 0 1px rgba(74,222,128,.35); }
.card--badge em { font-style: normal; color: #4ade80; margin-left: 8px; font-size: 12px; }
.arch__s1 { left: 2%; top: 14%; } .arch__s2 { left: 5%; top: 46%; } .arch__s3 { right: 3%; bottom: 10%; }
.arch__b1 { right: 0; top: 10%; } .arch__b2 { right: 3%; top: 22%; }
.stats--compact { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1068px) {
  .principles, .audience__grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .story { grid-template-columns: 1fr 1.1fr; gap: 40px; }
}
@media (max-width: 834px) {
  .localnav__links { display: none; }
  .localnav__inner .pill-button { margin-left: auto; }
  .tiles, .assurances, .gallery, .compare { grid-template-columns: 1fr; }
  .tile { min-height: 0; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split--reverse .split__copy { order: 0; }
  .story { grid-template-columns: 1fr; }
  .story__media { display: none; }
  .story__step { min-height: 0; opacity: 1; padding: 34px 0; }
  .story__step::after { content: ""; display: block; margin-top: 22px; aspect-ratio: 1390 / 752; border-radius: 14px; background-size: cover; background-position: left top; box-shadow: 0 0 0 1px rgba(255,255,255,.08); }
  .story__step[data-shot="0"]::after { background-image: url("/assets/shots/02-domain-story-canvas.webp"); }
  .story__step[data-shot="1"]::after { background-image: url("/assets/shots/01-domain-language-schema.webp"); }
  .story__step[data-shot="2"]::after { background-image: url("/assets/shots/04-event-model-command-details.webp"); }
  .story__step[data-shot="3"]::after { background-image: url("/assets/shots/08-api-contract.webp"); }
  .story__step[data-shot="4"]::after { background-image: url("/assets/shots/05-backlog-acceptance-criteria.webp"); }
  .story__step[data-shot="5"]::after { background-image: url("/assets/shots/06-test-suites.webp"); }
  .thread__stops { font-size: 11px; }
  .stats { grid-template-columns: 1fr; gap: 40px; }
  .signup__row { flex-direction: column; border-radius: 26px; }
  .signup .pill-button { width: 100%; }
  .sprawl__stage { height: 380px; }
  .chip { font-size: 13px; padding: 9px 14px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .hero { padding-top: 70px; }
  .hero .eyebrow { font-size: 17px; }
  .principles, .audience__grid, .steps { grid-template-columns: 1fr; }
  .dictation__wave { display: none; }
  .dictation__pill { padding-right: 18px; }
  .run { padding: 24px 18px; }
  .run__tasks li { padding: 12px 14px 12px 38px; }
  .run__tasks li::after { position: static; display: inline-block; margin-top: 6px; }
  .run__tasks li::before { left: 14px; }
  .compare__col { padding: 30px 24px; }
  .thread__stops li:nth-child(even) { visibility: hidden; }
  .brand__word { font-size: 18px; }
}


@media (max-width: 834px) {
  .duo { aspect-ratio: auto; height: auto; margin-top: 60px; }
  .duo__laptop { position: relative; left: 0; top: 0; width: 100%; padding: 0 6%; }
  .duo__tablet { position: relative; right: auto; top: auto; width: 62%; margin: -18% 0 0 auto; }
  .card { display: none; }
  .exploded { display: none; }
  .scene { margin-top: 60px; }
  .scene--agent .laptop { width: 88%; }
  .tablet--arch { width: 100%; }
  .tablet--arch, .tablet--tilt { transform: none; }
  .stats--compact { display: grid; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
