@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;
  --bg: #040608;
  --panel: #070a0c;
  --panel-2: #0d1114;
  --border: #202529;
  --border-2: #343a3f;
  --text: #f3f4f3;
  --secondary: #a3a6aa;
  --muted: #666b70;
  --lime: #addf42;
  --lime-hover: #bced50;
  --lime-border: rgba(173,223,66,.42);
  --mono: "DM Mono", "SFMono-Regular", Consolas, monospace;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --container: 1200px;
}

*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:78px}
body{margin:0;min-width:320px;overflow-x:hidden;background:var(--bg);color:var(--text);font:14px/1.55 var(--sans);-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none}
button,textarea{font:inherit}
button{color:inherit}
svg{display:block;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.svg-sprite{position:absolute;width:0;height:0;overflow:hidden}
.container{width:min(calc(100% - 98px),var(--container));margin-inline:auto}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.skip-link{position:fixed;z-index:1000;top:8px;left:8px;transform:translateY(-150%);padding:8px 12px;background:var(--lime);color:#090c04;border-radius:5px;font-weight:600}
.skip-link:focus{transform:none}
:focus-visible{outline:2px solid var(--lime);outline-offset:3px}

.site-header{height:70px;border-bottom:1px solid #171b1e;background:rgba(4,6,8,.95)}
.header-inner{width:min(calc(100% - 80px),var(--container));height:69px;display:flex;align-items:center}
.brand{color:var(--lime);font:500 19px/1 var(--mono);letter-spacing:-.05em;white-space:nowrap}
.brand span{color:var(--lime)}
.desktop-nav{display:flex;gap:36px;margin-left:auto;margin-right:84px}
.desktop-nav a,.header-actions>a:first-child{font-size:13px;color:#f0f1f0;transition:color .2s}
.desktop-nav a:hover,.header-actions>a:first-child:hover{color:var(--lime)}
.header-actions{display:flex;align-items:center;gap:32px}
.header-cta{display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:0 15px;border:1px solid #659213;border-radius:6px;color:var(--lime);font-size:13px;font-weight:500;transition:background .2s,border-color .2s}
.header-cta:hover{background:rgba(173,223,66,.08);border-color:var(--lime)}
.menu-toggle{display:none;width:40px;height:40px;margin-left:auto;padding:0;place-items:center;border:1px solid var(--border);border-radius:6px;background:transparent}
.menu-toggle svg{width:21px;height:21px}
.menu-close{display:none}
.menu-toggle[aria-expanded=true] .menu-open{display:none}
.menu-toggle[aria-expanded=true] .menu-close{display:block}
.mobile-nav{position:absolute;z-index:50;top:70px;left:0;width:100%;padding:12px 24px 22px;border-bottom:1px solid var(--border);background:#040608}
.mobile-nav a{display:block;padding:10px 0;color:var(--secondary)}
.mobile-nav .header-cta{margin-top:8px;color:var(--lime)}

.hero{height:344px;overflow:hidden}
.hero-grid{width:min(calc(100% - 80px),var(--container));height:100%;display:grid;grid-template-columns:45% 55%;position:relative}
.hero-copy{z-index:2;padding:30px 0 0 16px}
.eyebrow{display:inline-block;margin:0 0 23px;padding:4px 8px;border:1px solid #5f8615;border-radius:5px;color:var(--lime);font:500 10px/1.6 var(--mono);letter-spacing:.02em}
.hero h1{margin:0 0 14px;font-size:50px;line-height:1.02;letter-spacing:-.045em;font-weight:500}
.hero h1 span{color:var(--lime)}
.hero-lead{margin:0 0 16px;color:#b9bbc0;font:400 15px/1.5 var(--mono);letter-spacing:-.02em}
.hero-text{margin:0 0 29px;color:var(--secondary);font-size:15px;line-height:1.7}
.hero-actions{display:flex;gap:17px}
.button{height:42px;display:inline-flex;align-items:center;justify-content:center;padding:0 16px;border:1px solid transparent;border-radius:6px;font-size:13px;font-weight:500;transition:background .2s,border-color .2s,transform .2s}
.button:hover{transform:translateY(-1px)}
.button-primary{background:var(--lime);color:#071000;box-shadow:inset 0 0 0 1px rgba(255,255,255,.1)}
.button-primary:hover{background:var(--lime-hover)}
.button-primary span{font-family:var(--mono);font-size:13px}
.button-secondary{border-color:#4a5055;background:transparent;color:#e5e6e5}
.button-secondary:hover{border-color:#697177;background:#090d0f}
.planet-wrap{position:absolute;right:-5px;top:-18px;width:56%;height:385px}
.code-planet{width:100%;height:100%;overflow:visible}
.particles{fill:var(--lime);stroke:none;opacity:.48;animation:particles 12s ease-in-out infinite alternate;transform-box:fill-box;transform-origin:center}
.planet-float{animation:float 10s ease-in-out infinite;transform-box:fill-box;transform-origin:center}
.rings-behind{animation:ring 82s ease-in-out infinite;transform-box:fill-box;transform-origin:center}
.rings-behind text{fill:#9cc936;stroke:none;font:500 4.3px var(--mono);letter-spacing:.04em;opacity:.48}
.rings-behind text:nth-child(2n){fill:#b4db5a;opacity:.33}.rings-behind text:nth-child(3n){opacity:.24}
.planet-occlusion{fill:#040608;stroke:none}
.code-fill{animation:codeB 74s ease-in-out infinite}
.code-fill text{fill:#9fcf39;stroke:none;font:500 4.3px var(--mono);letter-spacing:.02em;opacity:.42}
.code-fill text:nth-child(3n){fill:#c0e46d;opacity:.32}.code-fill text:nth-child(4n){opacity:.22}
.ascii-shell{display:none}
.syntax-code{animation:codeB 71s ease-in-out infinite}
.syntax-code text{fill:#addf42;stroke:none;font:500 9.2px var(--mono);letter-spacing:.015em;opacity:.82}
.syntax-code text:nth-child(3n){fill:#bde45e}.syntax-code text:nth-child(7n){opacity:.68}
.rings-front text{fill:#addf42;stroke:none;font:500 4.7px var(--mono);letter-spacing:.035em;opacity:.74}
.rings-front text:nth-child(2){fill:#b7db63;opacity:.58}.rings-front text:nth-child(3){opacity:.48}.rings-front .ring-code-small{font-size:4.25px;opacity:.4}
@keyframes float{50%{transform:translateY(-3px) rotate(.12deg)}}
@keyframes ring{50%{transform:rotate(.8deg) translate(2px,-1px)}}
@keyframes codeA{50%{transform:translateX(4px)}}
@keyframes codeB{50%{transform:translateX(-3px)}}
@keyframes particles{to{opacity:.28;transform:translate(2px,-2px)}}

.process{height:144px}
.process-grid{height:100%;display:grid;grid-template-columns:repeat(4,1fr)}
.process article{text-align:center;padding-top:10px}
.process svg{width:29px;height:29px;margin:0 auto 12px;color:var(--lime)}
.process h2{margin:0 0 4px;font-size:14px;line-height:1.3;font-weight:500}
.process p{margin:0;color:#979ba0;font-size:12px;line-height:1.65}

.chat-section{padding-top:0}
.chat-panel{height:475px;position:relative;overflow:hidden;border:1px solid var(--border);border-radius:12px;background:#05080a}
.chat-header{height:69px;display:flex;align-items:center;justify-content:space-between;padding:0 22px;border-bottom:0}
.chat-header h2{display:flex;align-items:center;gap:8px;margin:0;font-size:18px;font-weight:500}
.chat-header h2 i{width:6px;height:6px;border-radius:50%;background:var(--lime)}
.chat-header>div{display:flex;gap:10px}
.context-button,.more-button{height:35px;display:flex;align-items:center;justify-content:center;gap:8px;border:1px solid var(--border);border-radius:6px;background:#05080a;color:#e8e9e8;font-size:12px;cursor:pointer}
.context-button{padding:0 14px}
.context-button svg{display:none;width:16px;height:16px;color:var(--lime)}
.more-button{width:35px;padding:0}
.more-button svg{width:17px;height:17px}
.context-button:hover,.context-button[aria-expanded=true],.more-button:hover{border-color:var(--lime-border)}
.context-panel{position:absolute;z-index:5;top:59px;right:66px;width:390px;padding:14px 16px;border:1px solid var(--lime-border);border-radius:7px;background:#0a0e10;box-shadow:0 18px 40px rgba(0,0,0,.35)}
.context-panel:not([hidden]){display:grid;grid-template-columns:1fr 1fr;gap:10px 20px}
.context-panel span{display:grid;color:#ddd;font-size:11px}
.context-panel small{color:var(--lime);font:8px var(--mono)}
.context-panel p{grid-column:1/-1;margin:2px 0 0;color:var(--muted);font-size:10px}
.conversation{height:319px;position:relative;padding:0 22px}
.message{position:absolute;display:flex;gap:16px;color:#eef0ef;font-size:13px}
.message p{margin:0 0 3px;line-height:1.55}
.houston-message{top:6px;left:22px}
.houston-message.second{top:175px}
.avatar{width:41px;height:41px;display:grid;place-items:center;border:1px solid #6d981a;border-radius:50%;color:var(--lime);background:#080c08}
.avatar svg{width:25px;height:25px}
.message-meta{display:flex;align-items:center;gap:14px;margin:4px 0 5px}
.message-meta strong{font-size:12px;font-weight:600}
.message-meta time{color:#676b70;font-size:11px}
.user-message{top:73px;right:22px;width:382px;padding:15px 21px 14px;border-radius:13px;background:#101417}
.user-message .message-meta{margin:0 0 7px}
.read-check{position:absolute;right:17px;bottom:11px;color:var(--lime);font-size:12px}
.suggestions{position:absolute;top:260px;left:77px;display:flex;gap:10px}
.suggestions button{height:35px;display:flex;align-items:center;gap:9px;padding:0 14px;border:1px solid #405316;border-radius:6px;background:#06090a;color:#a9acb0;font-size:11px;white-space:nowrap;cursor:pointer}
.suggestions button:hover{border-color:var(--lime);color:#e7e8e7}
.suggestions svg{width:14px;height:14px;color:var(--lime)}
.chat-input{position:absolute;left:17px;right:17px;bottom:17px;height:66px;margin:0;padding:12px 13px 8px 17px;border:1px solid #161b1e;border-radius:9px;background:#0a0e11}
.chat-input textarea{display:block;width:calc(100% - 60px);height:28px;padding:0;resize:none;border:0;outline:0;background:transparent;color:var(--text);font-size:12px;line-height:1.5}
.chat-input textarea::placeholder{color:#74787d}
.chat-input>span{position:absolute;left:16px;bottom:6px;color:#808489;font-size:15px;line-height:1}
.chat-input button{position:absolute;right:12px;top:12px;width:40px;height:40px;display:grid;place-items:center;padding:0;border:0;border-radius:6px;background:var(--lime);color:#0c1304;cursor:pointer}
.chat-input button:hover{background:var(--lime-hover)}
.chat-input button svg{width:20px;height:20px}

.stages{height:177px;padding-top:14px}
.stages-title{height:36px;display:flex;align-items:center;justify-content:center;gap:10px;margin:0;color:var(--lime);font-size:15px;font-weight:500}
.stages-title i{width:4px;height:4px;border-radius:50%;background:#41640b}
.stage-grid{height:127px;display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.stage-grid article{display:flex;align-items:flex-start;gap:21px;padding:31px 28px;border:1px solid var(--border);border-radius:8px;background:#06090b}
.stage-grid svg{width:31px;height:31px;flex:none;color:var(--lime)}
.stage-grid h3{margin:0 0 6px;font-size:14px;font-weight:500}
.stage-grid p{margin:0;color:#95999e;font-size:12px;line-height:1.55}

.stats{height:118px;padding-top:18px}
.stats-grid{height:83px;display:grid;grid-template-columns:repeat(4,1fr);border:1px solid var(--border);border-radius:8px;background:#06090b}
.stats-grid>div{display:flex;align-items:center;justify-content:center;gap:14px}
.stats-grid svg{width:25px;height:25px;color:var(--lime)}
.stats-grid p{display:grid;margin:0}
.stats-grid strong{font-size:22px;line-height:1.15;font-weight:400;letter-spacing:.01em}
.stats-grid span{margin-top:5px;color:#969a9f;font-size:12px}

.site-footer{height:208px;border-top:1px solid #171b1e;padding-top:26px}
.footer-grid{display:grid;grid-template-columns:1.85fr repeat(3,1fr)}
.footer-brand p{margin:17px 0 0;color:#92969b;font-size:12px;line-height:1.9}
.footer-grid>div:not(.footer-brand){display:flex;flex-direction:column;gap:7px}
.footer-grid h2{margin:0 0 3px;font-size:12px;font-weight:500}
.footer-grid>div:not(.footer-brand) a{width:max-content;color:#92969b;font-size:12px}
.footer-grid>div:not(.footer-brand) a:hover{color:var(--text)}
.footer-bottom{display:flex;align-items:center;justify-content:space-between;margin-top:19px;color:#85898e;font-size:11px}
.socials{display:flex;align-items:center;gap:29px;padding-right:10px}
.socials a{color:#8d9196}
.socials a:hover{color:var(--lime)}
.socials svg{width:18px;height:18px}

@media (min-width:1200px){
  .hero{height:390px}.process{height:150px}.chat-panel{height:500px}.conversation{height:344px}.stages{height:190px}.stage-grid{height:138px}.stats{height:126px}.site-footer{height:225px}
}

@media (max-width:900px){
  .container{width:min(calc(100% - 40px),var(--container))}
  .desktop-nav{gap:22px;margin-right:35px}
  .hero-grid{grid-template-columns:48% 52%}
  .hero-copy{padding-left:0}
  .planet-wrap{right:-35px;width:59%}
  .stage-grid article{gap:12px;padding-inline:18px}
}

@media (max-width:760px){
  html{scroll-padding-top:70px}
  .desktop-nav,.header-actions{display:none}
  .menu-toggle{display:grid}
  .hero{height:auto;overflow:visible;padding:45px 0 10px}
  .hero-grid{display:flex;height:auto;flex-direction:column}
  .hero-copy{padding:0}
  .hero h1{font-size:clamp(44px,11vw,56px)}
  .hero-text br{display:none}
  .planet-wrap{position:relative;top:auto;right:auto;width:100%;height:auto;aspect-ratio:560/355;margin-top:4px}
  .process{height:auto;padding:20px 0 35px}
  .process-grid{grid-template-columns:1fr 1fr;gap:34px 15px}
  .process article{padding:0}
  .chat-panel{height:auto;min-height:620px}
  .conversation{height:auto;min-height:430px;padding:15px 18px}
  .message{position:relative;top:auto!important;left:auto!important;right:auto!important;margin-bottom:25px}
  .user-message{width:min(100%,382px);margin-left:auto}
  .suggestions{position:relative;top:auto;left:auto;display:flex;flex-wrap:wrap;margin-left:57px}
  .chat-input{position:relative;left:auto;right:auto;bottom:auto;margin:0 12px 12px}
  .stages{height:auto;padding:24px 0 18px}
  .stages-title{height:auto;margin-bottom:17px;text-align:center}
  .stage-grid{height:auto;grid-template-columns:1fr 1fr}
  .stage-grid article{min-height:126px}
  .stats{height:auto;padding:0 0 26px}
  .stats-grid{height:auto;grid-template-columns:1fr 1fr}
  .stats-grid>div{min-height:82px}
  .site-footer{height:auto;padding:35px 0 24px}
  .footer-grid{grid-template-columns:1.5fr 1fr 1fr;gap:30px}
  .footer-brand{grid-column:1/-1}
}

@media (max-width:480px){
  .container{width:calc(100% - 28px)}
  .hero{padding-top:36px}
  .eyebrow{margin-bottom:20px}
  .hero h1{font-size:43px}
  .hero-lead{font-size:14px}
  .hero-actions{display:grid;gap:10px}
  .button{width:100%}
  .planet-wrap{width:calc(100% + 22px);margin-left:-11px}
  .process-grid{grid-template-columns:1fr}
  .process article{display:grid;grid-template-columns:42px 1fr;text-align:left;column-gap:12px}
  .process svg{grid-row:1/3;margin:3px auto 0}
  .process h2{margin-top:0}.process br{display:none}
  .chat-header{padding-inline:14px}.chat-header h2{font-size:16px}
  .context-button{width:35px;padding:0;font-size:0}.context-button svg{display:block}
  .conversation{padding-inline:13px}.houston-message{gap:11px}.avatar{width:34px;height:34px}
  .message p{font-size:12px}.message p br{display:none}
  .user-message{padding-inline:15px}
  .suggestions{display:grid;margin-left:45px}.suggestions button{justify-content:flex-start}
  .stage-grid,.stats-grid{grid-template-columns:1fr}
  .stage-grid article{min-height:110px;padding-block:23px}
  .stats-grid>div{justify-content:flex-start;padding-left:30%}
  .footer-grid{grid-template-columns:1fr 1fr;gap:28px}
  .footer-brand{grid-column:1/-1}
  .footer-bottom{align-items:flex-end;gap:20px}.socials{gap:16px;padding:0}
}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}
  .planet-float,.rings-behind,.code-fill,.ascii-shell,.syntax-code,.particles{animation:none!important;transform:none!important}
}
