:root{
  --bg:#08111a;
  --bg-raised:#0b1621;
  --surface:#0c1823;
  --surface-2:#101d29;
  --text:#edf2f6;
  --muted:#9aa7b3;
  --muted-2:#697886;
  --line:rgba(255,255,255,.10);
  --line-strong:rgba(255,255,255,.16);
  --orange:#ff8615;
  --orange-soft:rgba(255,134,21,.10);
  --wordmark:#f2f5f7;
  --shadow:0 18px 60px rgba(0,0,0,.20);
  --max:1180px;
}
html[data-theme="light"]{
  --bg:#f5f3ee;
  --bg-raised:#efede7;
  --surface:#ffffff;
  --surface-2:#f7f6f2;
  --text:#111820;
  --muted:#56616b;
  --muted-2:#7b858d;
  --line:rgba(17,24,32,.12);
  --line-strong:rgba(17,24,32,.20);
  --orange:#e96f00;
  --orange-soft:rgba(233,111,0,.08);
  --wordmark:#0d141b;
  --shadow:0 18px 55px rgba(35,39,43,.08);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  -webkit-font-smoothing:antialiased;
  transition:background .2s ease,color .2s ease;
}
a{color:inherit;text-decoration:none}
button{font:inherit}
.shell{width:min(calc(100% - 48px),var(--max));margin:0 auto}

.site-header{
  min-height:86px;
  display:grid;
  grid-template-columns:1fr auto 1fr;
  align-items:center;
  border-bottom:1px solid var(--line);
}
.brand{display:flex;align-items:center;gap:8px;width:max-content}
.brand-mark{width:54px;height:58px;object-fit:contain;display:block;flex:0 0 auto}
.brand-word{
  color:var(--wordmark);
  font-family:"Space Grotesk",Inter,sans-serif;
  font-size:22px;
  font-weight:700;
  letter-spacing:-.045em;
  line-height:1;
  transform:translateY(6px);
}
.brand-word>span{color:var(--orange)}
.brand-word.large{font-size:28px}
.site-header nav{display:flex;align-items:center;gap:30px;color:var(--muted);font-size:13px}
.site-header nav a:hover{color:var(--text)}
.header-actions{justify-self:end;display:flex;align-items:center;gap:15px}
.build-status{display:flex;align-items:center;gap:8px;color:var(--muted-2);font-size:10px;text-transform:uppercase;letter-spacing:.12em;white-space:nowrap}
.build-status i,.dev-note span{width:6px;height:6px;background:var(--orange);border-radius:50%;display:inline-block}
.theme-toggle{
  width:38px;height:38px;border-radius:50%;border:1px solid var(--line);
  display:grid;place-items:center;background:transparent;color:var(--muted);cursor:pointer;
}
.theme-toggle:hover{border-color:var(--line-strong);color:var(--text)}
.theme-toggle svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
html[data-theme="dark"] .theme-toggle .moon{display:none}
html[data-theme="light"] .theme-toggle .sun{display:none}

.hero{
  padding:86px 0 105px;
  min-height:675px;
}
.eyebrow{
  color:var(--muted-2);
  font-size:10px;
  font-weight:700;
  letter-spacing:.17em;
  text-transform:uppercase;
}
.hero h1{
  font-family:"Space Grotesk",Inter,sans-serif;
  font-size:clamp(60px,8vw,108px);
  line-height:.94;
  letter-spacing:-.06em;
  margin:26px 0 0;
  max-width:1100px;
  font-weight:600;
}
.hero h1 strong{color:var(--orange);font-weight:600}
.hero-subhead{
  font-family:"Space Grotesk",Inter,sans-serif;
  font-size:clamp(24px,3vw,34px);
  letter-spacing:-.035em;
  margin:36px 0 12px;
  font-weight:600;
}
.hero-copy{max-width:820px;margin:0;color:var(--muted);font-size:17px;line-height:1.7}
.acronym-strip{
  margin-top:48px;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
  display:grid;
  grid-template-columns:repeat(6,1fr);
}
.acronym-strip>div{padding:19px 14px;border-right:1px solid var(--line);display:flex;gap:10px;align-items:center;min-width:0}
.acronym-strip>div:last-child{border-right:0}
.acronym-strip b{color:var(--orange);font-family:"Space Grotesk";font-size:17px}
.acronym-strip span{font-size:11px;color:var(--muted);white-space:nowrap}
.text-link{display:inline-flex;align-items:center;gap:10px;margin-top:30px;font-size:12px;font-weight:600;color:var(--text)}
.text-link span{color:var(--orange)}

.section{padding:130px 0;border-top:1px solid var(--line)}
.two-col{display:grid;grid-template-columns:1.1fr .9fr;gap:90px;align-items:end}
.section-intro h2,.thread-title,.platform-section h2,.closing h2{
  font-family:"Space Grotesk",Inter,sans-serif;
  letter-spacing:-.045em;
  font-weight:600;
}
.section-intro h2{font-size:clamp(42px,5.4vw,68px);line-height:1.02;margin:14px 0 0;max-width:760px}
.section-intro>p{margin:0;color:var(--muted);font-size:15px;line-height:1.75;max-width:520px}

.defeat-section{background:linear-gradient(180deg,var(--bg-raised),var(--bg))}
.lifecycle{
  margin-top:70px;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  border-top:1px solid var(--line);
  border-left:1px solid var(--line);
}
.life-step{
  min-height:330px;
  padding:28px;
  border-right:1px solid var(--line);
  border-bottom:1px solid var(--line);
  position:relative;
  background:color-mix(in srgb,var(--surface) 54%,transparent);
}
.life-step:hover{background:var(--surface)}
.step-head{display:flex;align-items:flex-start;justify-content:space-between}
.step-letter{font-family:"Space Grotesk";font-size:40px;line-height:1;color:var(--orange);font-weight:600}
.step-num{color:var(--muted-2);font-size:9px;letter-spacing:.14em}
.life-step h3{font-family:"Space Grotesk";font-size:23px;margin:24px 0 10px}
.life-step>p{color:var(--muted);font-size:13px;line-height:1.7;margin:0}
.output{position:absolute;left:28px;right:28px;bottom:27px;padding-top:15px;border-top:1px solid var(--line);font-size:10px;color:var(--muted);line-height:1.45}
.output span{display:block;color:var(--muted-2);text-transform:uppercase;letter-spacing:.11em;font-size:8px;margin-bottom:6px}

.why-section{background:var(--bg)}
.workflow-compare{
  margin-top:64px;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}
.workflow-row{
  display:grid;
  grid-template-columns:190px 1fr;
  gap:34px;
  padding:30px 0;
}
.workflow-row + .workflow-row{border-top:1px solid var(--line)}
.workflow-label{padding:6px 0 0}
.workflow-label span{
  display:block;
  color:var(--muted-2);
  font-size:8px;
  font-weight:700;
  letter-spacing:.16em;
  margin-bottom:9px;
}
.workflow-label strong{
  font-family:"Space Grotesk",Inter,sans-serif;
  font-size:19px;
  font-weight:600;
  letter-spacing:-.025em;
}
.defeat-flow .workflow-label span{color:var(--orange)}
.workflow-track{
  display:grid;
  grid-template-columns:1fr auto 1fr auto 1fr auto 1fr;
  gap:8px;
  align-items:stretch;
}
.workflow-track.six{grid-template-columns:1fr auto 1fr auto 1fr auto 1fr auto 1fr auto 1fr}
.workflow-step{
  min-height:118px;
  border:1px solid var(--line);
  background:var(--surface);
  padding:16px;
  display:flex;
  flex-direction:column;
  position:relative;
}
.workflow-step span{font-size:8px;color:var(--muted-2);letter-spacing:.13em}
.workflow-step strong{font-size:12px;margin-top:23px;margin-bottom:7px}
.workflow-step small{font-size:9px;color:var(--muted-2);line-height:1.45}
.workflow-step.accent{border-top-color:color-mix(in srgb,var(--orange) 65%,var(--line))}
.workflow-step.accent span{color:var(--orange);font-weight:700}
.workflow-step.end{background:color-mix(in srgb,var(--surface) 70%,var(--bg-raised))}
.workflow-track>i{align-self:center;font-style:normal;color:var(--muted-2);font-size:12px}

.thread-section{background:var(--bg-raised)}
.thread-title{font-size:clamp(38px,5vw,58px);line-height:1.05;max-width:840px;margin:16px 0 55px}
.thread{display:grid;grid-template-columns:1fr auto 1fr auto 1fr auto 1fr auto 1fr;gap:12px;align-items:center}
.thread>div{min-height:132px;border:1px solid var(--line);background:var(--surface);padding:18px;display:flex;flex-direction:column}
.thread>div span{font-size:8px;color:var(--orange);letter-spacing:.14em}
.thread>div strong{font-size:13px;margin-top:auto;margin-bottom:7px}
.thread>div small{font-size:9px;color:var(--muted-2);line-height:1.45}
.thread>i{font-style:normal;color:var(--muted-2);font-size:13px}

.platform-section{background:var(--bg)}
.platform-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:95px;align-items:start}
.platform-section h2{font-size:clamp(40px,5vw,60px);line-height:1.04;margin:14px 0 22px}
.platform-lede{color:var(--muted);font-size:15px;line-height:1.75;margin:0;max-width:520px}
.dev-note{display:flex;align-items:center;gap:9px;margin-top:28px;color:var(--muted-2);font-size:10px;text-transform:uppercase;letter-spacing:.10em}
.platform-capabilities{border-top:1px solid var(--line)}
.platform-capabilities article{display:grid;grid-template-columns:46px 1fr;gap:20px;border-bottom:1px solid var(--line);padding:26px 0}
.platform-capabilities article>span{font-size:9px;color:var(--orange);letter-spacing:.12em;padding-top:6px}
.platform-capabilities h3{font-family:"Space Grotesk";font-size:18px;margin:0 0 8px;font-weight:600}
.platform-capabilities p{font-size:12px;line-height:1.65;color:var(--muted);margin:0}

.closing{
  margin-top:20px;
  margin-bottom:80px;
  border-top:1px solid var(--line);
  padding:100px 0 20px;
  text-align:center;
}
.closing-brand{display:flex;align-items:center;justify-content:center;gap:7px}
.closing-mark{width:66px;height:70px;object-fit:contain}
.closing h2{font-size:clamp(42px,5vw,66px);margin:28px 0 13px}
.closing>p{margin:0;color:var(--muted-2);font-size:11px;letter-spacing:.04em}
.site-footer{border-top:1px solid var(--line);min-height:90px;display:flex;align-items:center;justify-content:space-between;color:var(--muted-2);font-size:9px;letter-spacing:.05em}

@media(max-width:940px){
  .site-header{grid-template-columns:1fr auto}.site-header nav{display:none}
  .build-status{display:none}
  .two-col,.platform-grid{grid-template-columns:1fr;gap:25px}
  .lifecycle{grid-template-columns:repeat(2,1fr)}
  .workflow-row{grid-template-columns:1fr;gap:18px}
  .workflow-track,.workflow-track.six{grid-template-columns:repeat(2,1fr)}
  .workflow-track>i{display:none}
  .thread{grid-template-columns:1fr 1fr}.thread>i{display:none}
}
@media(max-width:680px){
  .shell{width:min(calc(100% - 28px),var(--max))}
  .site-header{min-height:72px}.brand-mark{width:50px;height:54px}.brand-word{font-size:19px}
  .theme-toggle{width:36px;height:36px}
  .hero{min-height:auto;padding:54px 0 72px}.hero h1{font-size:52px}.hero-copy{font-size:15px}
  .acronym-strip{grid-template-columns:repeat(3,1fr)}
  .acronym-strip>div{padding:17px 10px;border-bottom:1px solid var(--line)}
  .acronym-strip>div:nth-child(3n){border-right:0}
  .acronym-strip>div:nth-last-child(-n+3){border-bottom:0}
  .acronym-strip span{font-size:10px}
  .section{padding:90px 0}.lifecycle{grid-template-columns:1fr;margin-top:45px}
  .life-step{min-height:300px}
  .workflow-row{grid-template-columns:1fr;gap:18px;padding:26px 0}
  .workflow-track,.workflow-track.six{grid-template-columns:1fr}
  .workflow-track>i{display:none}
  .workflow-step{min-height:0}
  .thread{grid-template-columns:1fr}
  .site-footer{min-height:110px;flex-direction:column;justify-content:center;gap:10px}
}
