:root{
  --bg:#071522;--panel:#0a1d2c;--panel-2:#0d2435;--line:#1d394d;--line-soft:#142f42;
  --text:#f1f7fb;--muted:#88a2b5;--blue:#16adff;--cyan:#4ed5ff;--green:#34d399;
  --shadow:0 24px 80px rgba(0,0,0,.28);--radius:16px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:14px;line-height:1.5}
button,input{font:inherit}
button,a{-webkit-tap-highlight-color:transparent}
button{color:inherit}
a{color:inherit;text-decoration:none}
.topbar{height:72px;padding:0 clamp(20px,4vw,64px);display:flex;align-items:center;border-bottom:1px solid var(--line-soft);position:sticky;top:0;z-index:20;background:rgba(7,21,34,.9);backdrop-filter:blur(18px)}
.brand{display:flex;align-items:center;gap:11px;min-width:270px}.brand-mark{width:29px;height:29px;position:relative;display:block}.brand-mark i{position:absolute;width:12px;height:12px;border:2px solid var(--cyan);transform:rotate(45deg)}.brand-mark i:nth-child(1){left:1px;top:8px}.brand-mark i:nth-child(2){right:1px;top:1px}.brand-mark i:nth-child(3){right:1px;bottom:1px}
.brand b{font-size:16px;letter-spacing:.02em}.brand em,footer em{font-style:normal;color:var(--blue)}.brand small{display:block;font-size:8px;letter-spacing:.22em;color:var(--muted);font-weight:700}
.topnav{margin:auto;display:flex;gap:34px;color:#9db2c1;font-size:12px;font-weight:650}.topnav a:hover{color:var(--text)}
.copy-set,.secondary{border:1px solid var(--line);background:#0b1c29;border-radius:9px;padding:10px 15px;cursor:pointer}.copy-set:hover,.secondary:hover{border-color:#2b607f;background:#0e2638}
main{overflow:hidden}.hero{max-width:1440px;margin:auto;min-height:720px;padding:92px clamp(24px,6vw,88px) 76px;display:grid;grid-template-columns:minmax(0,1.06fr) minmax(420px,.8fr);gap:clamp(48px,7vw,110px);align-items:center;position:relative}.hero:before{content:"";position:absolute;width:620px;height:620px;border-radius:50%;background:radial-gradient(circle,rgba(22,173,255,.11),transparent 68%);left:-340px;top:20px;pointer-events:none}
.eyebrow,.section-kicker{font-size:10px;letter-spacing:.2em;font-weight:800;color:var(--cyan)}.eyebrow span{display:inline-block;width:24px;height:1px;background:var(--cyan);vertical-align:middle;margin-right:8px}
h1{font-size:clamp(44px,5vw,72px);letter-spacing:-.055em;line-height:1.03;margin:22px 0 24px;max-width:800px}h1 strong{color:var(--blue);font-weight:720}.lede{font-size:17px;line-height:1.75;color:#9bb1c1;max-width:690px}.hero-actions{display:flex;gap:12px;margin:34px 0 48px}.primary{background:linear-gradient(135deg,#0ba7ff,#1387ee);font-weight:750;padding:13px 18px;border-radius:9px;box-shadow:0 12px 30px rgba(20,157,247,.2)}.primary span{margin-left:15px}.secondary{padding:12px 18px}
.metrics{display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid var(--line-soft);padding-top:24px;max-width:720px}.metrics div{display:flex;flex-direction:column;border-right:1px solid var(--line-soft);padding-right:18px;margin-right:18px}.metrics div:last-child{border:0}.metrics b{font-size:22px}.metrics span{color:var(--muted);font-size:10px;text-transform:uppercase;letter-spacing:.08em;margin-top:2px}
.hero-preview{background:linear-gradient(145deg,#0d2435,#081926);padding:14px;border:1px solid #1d4058;border-radius:22px;box-shadow:var(--shadow);transform:perspective(1200px) rotateY(-2deg)}.preview-head{display:flex;justify-content:space-between;align-items:center;font-size:9px;letter-spacing:.14em;color:#7190a5;padding:5px 6px 15px}.live-dot{color:var(--green)}.live-dot:before{content:"";display:inline-block;width:6px;height:6px;background:var(--green);border-radius:50%;margin-right:6px;box-shadow:0 0 0 4px rgba(52,211,153,.09)}.preview-shell{background:#071722;border:1px solid #16364a;border-radius:11px;overflow:hidden}.preview-project{height:48px;padding:0 16px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #183547;color:#829bab;font-size:10px;letter-spacing:.12em}.preview-project button{background:none;border:0;color:#607c90}.nav-preview{padding:8px}.nav-row{height:38px;border-radius:7px;display:grid;grid-template-columns:32px 1fr 16px;align-items:center;padding:0 10px;color:#a9bdca;font-size:10px;font-weight:700;letter-spacing:.02em;transition:.2s}.nav-row:hover,.nav-row.active{background:#0f3349;color:#f6fbff}.nav-row.active{box-shadow:inset 2px 0 var(--blue)}.nav-row svg{width:18px;height:18px;color:#94adbd}.nav-row.active svg{color:var(--cyan)}.nav-row small{width:4px;height:4px;border:1px solid #4e6b7f;border-radius:50%}.preview-foot{height:34px;display:flex;align-items:center;padding:0 16px;border-top:1px solid #143144;color:#57758a;font-size:9px;letter-spacing:.12em}
.principles,.catalogue,.implementation{max-width:1440px;margin:auto;padding:100px clamp(24px,6vw,88px)}.principles{border-top:1px solid var(--line-soft)}.section-title{display:grid;grid-template-columns:1.1fr .9fr;gap:70px;margin-top:20px;align-items:end}.section-title h2,.catalogue h2,.implementation h2{font-size:clamp(32px,4vw,50px);line-height:1.1;letter-spacing:-.04em;margin:0}.section-title p,.catalogue-head p,.implementation-grid p{color:var(--muted);font-size:15px;line-height:1.75;margin:0}.principle-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:54px}.principle-grid article{background:var(--panel);border:1px solid var(--line-soft);border-radius:var(--radius);padding:28px;min-height:210px}.principle-grid article>span{font-size:10px;color:var(--blue);letter-spacing:.14em}.principle-grid h3{font-size:18px;margin:38px 0 10px}.principle-grid p{color:var(--muted);font-size:13px}.principle-grid code{color:var(--cyan)}
.catalogue{max-width:none;background:#081925;border-top:1px solid var(--line-soft);border-bottom:1px solid var(--line-soft)}.catalogue>.section-kicker,.catalogue-head,.catalogue-layout{max-width:1264px;margin-left:auto;margin-right:auto}.catalogue-head{display:grid;grid-template-columns:1fr .9fr;gap:70px;margin-top:20px;align-items:end}.catalogue-head h2{margin-bottom:14px}.catalogue-tools{display:flex;flex-direction:column;gap:12px}.search{height:44px;border:1px solid var(--line);background:#071722;border-radius:9px;display:flex;align-items:center;padding:0 13px;gap:10px;color:#648298}.search input{width:100%;border:0;outline:0;background:transparent;color:var(--text)}.search input::placeholder{color:#638095}.filters{display:flex;flex-wrap:wrap;gap:7px}.filter{border:1px solid var(--line);background:transparent;color:#7f9bad;border-radius:999px;padding:6px 11px;font-size:10px;cursor:pointer}.filter.active,.filter:hover{color:var(--text);border-color:#238ac4;background:#0c2b3f}
.catalogue-layout{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:20px;margin-top:38px;align-items:start}.icon-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.icon-card{position:relative;background:#0a1d2c;border:1px solid var(--line-soft);border-radius:13px;padding:18px;text-align:left;min-height:165px;cursor:pointer;transition:.18s;overflow:hidden}.icon-card:hover{transform:translateY(-2px);border-color:#285974;background:#0c2232}.icon-card.selected{border-color:var(--blue);box-shadow:inset 0 0 0 1px rgba(22,173,255,.32)}.icon-card:before{content:attr(data-number);position:absolute;right:13px;top:10px;color:#36546a;font-size:9px;letter-spacing:.12em}.icon-plate{width:48px;height:48px;border:1px solid #21475f;border-radius:11px;display:grid;place-items:center;background:#071823;color:#c1d5e2}.icon-plate svg{width:25px;height:25px}.icon-card.selected .icon-plate{background:#0c344c;color:var(--cyan);border-color:#20638b}.icon-card h3{font-size:13px;margin:18px 0 2px}.icon-card p{color:#66869b;font-size:9px;letter-spacing:.08em;margin:0;text-transform:uppercase}.empty-state{grid-column:1/-1;color:var(--muted);padding:50px;text-align:center;border:1px dashed var(--line);border-radius:12px}
.inspector{position:sticky;top:94px;background:#071722;border:1px solid var(--line);border-radius:15px;padding:22px;min-height:480px}.inspector-top{display:flex;justify-content:space-between;align-items:flex-start}.inspector-icon{width:82px;height:82px;border-radius:16px;border:1px solid #27617f;background:radial-gradient(circle at 50% 40%,#123b54,#091d2c);display:grid;place-items:center;color:var(--cyan)}.inspector-icon svg{width:43px;height:43px}.inspector-index{font-size:9px;color:#57778d;letter-spacing:.12em}.inspector h3{font-size:23px;margin:22px 0 4px}.inspector-code{color:var(--cyan);font:600 10px ui-monospace,SFMono-Regular,Menlo,monospace;word-break:break-all}.inspector-copy{color:#8fa9ba;font-size:13px;line-height:1.65;margin:20px 0}.tags{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:22px}.tag{font-size:9px;padding:5px 8px;border:1px solid var(--line);border-radius:999px;color:#7898ac;text-transform:uppercase;letter-spacing:.07em}.action-stack{display:grid;gap:8px}.action-stack button{border:1px solid var(--line);background:#0b2232;border-radius:8px;padding:10px;text-align:left;font-size:11px;cursor:pointer}.action-stack button:first-child{background:#0b8ee6;border-color:#0b8ee6;font-weight:750}.action-stack button:hover{filter:brightness(1.12)}
.implementation-grid{display:grid;grid-template-columns:.72fr 1.28fr;gap:80px;align-items:center}.implementation-grid h2{margin:16px 0}.prompt-card{border:1px solid #244b64;background:#091c2a;border-radius:14px;overflow:hidden;box-shadow:var(--shadow)}.prompt-head{display:flex;justify-content:space-between;padding:12px 16px;background:#0d2637;color:#6f91a7;font-size:9px;letter-spacing:.12em}.prompt-head button{border:0;background:none;color:var(--cyan);cursor:pointer}.prompt-card pre{margin:0;padding:22px;white-space:pre-wrap;color:#bdced9;font:12px/1.75 ui-monospace,SFMono-Regular,Menlo,monospace}.spec-row{display:grid;grid-template-columns:repeat(5,1fr);margin-top:60px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.spec-row div{padding:22px;border-right:1px solid var(--line)}.spec-row div:last-child{border:0}.spec-row span,.spec-row b{display:block}.spec-row span{font-size:9px;letter-spacing:.12em;color:#608096}.spec-row b{font-size:12px;margin-top:5px}
footer{max-width:1264px;margin:auto;padding:34px 0 50px;display:flex;justify-content:space-between;color:#607d90;font-size:11px}footer div{display:flex;gap:16px}footer b{color:#b8cbd6}
.toast{position:fixed;left:50%;bottom:28px;transform:translate(-50%,20px);background:#eaf8ff;color:#082033;border-radius:8px;padding:10px 15px;font-weight:750;opacity:0;pointer-events:none;transition:.2s;z-index:40;box-shadow:var(--shadow)}.toast.show{opacity:1;transform:translate(-50%,0)}
svg.stn-icon{fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke}
@media(max-width:1050px){.hero{grid-template-columns:1fr;padding-top:65px}.hero-preview{max-width:540px;transform:none}.catalogue-layout{grid-template-columns:1fr}.inspector{position:relative;top:0;min-height:0}.icon-grid{grid-template-columns:repeat(4,1fr)}}
@media(max-width:780px){.topnav{display:none}.topbar{height:64px}.copy-set{margin-left:auto}.brand{min-width:0}.brand small{display:none}.hero{padding-top:48px}.metrics{grid-template-columns:repeat(2,1fr);row-gap:20px}.section-title,.catalogue-head,.implementation-grid{grid-template-columns:1fr;gap:28px}.principle-grid{grid-template-columns:1fr}.icon-grid{grid-template-columns:repeat(2,1fr)}.spec-row{grid-template-columns:repeat(2,1fr)}footer{padding-left:24px;padding-right:24px;display:block}footer div{margin-bottom:10px}}
@media(max-width:480px){.copy-set{font-size:0;padding:9px}.copy-set:after{content:"Copy manifest";font-size:10px}.hero{padding-left:18px;padding-right:18px}h1{font-size:42px}.hero-actions{flex-direction:column;align-items:stretch}.hero-actions>*{text-align:center}.metrics span{font-size:8px}.icon-grid{grid-template-columns:1fr}.catalogue,.principles,.implementation{padding-left:18px;padding-right:18px}.spec-row{grid-template-columns:1fr}.spec-row div{border-bottom:1px solid var(--line)}.hero-preview{padding:8px}.nav-row{height:36px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}
