@import url("https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=DM+Sans:wght@400;500;600;700;800&family=Shrikhand&display=swap");

:root {
  --cream: #fff7e6;
  --paper: #f1e5cb;
  --blue: #55acee;
  --deep-blue: #226a9f;
  --yellow: #ffcc4d;
  --orange: #f4900c;
  --red: #dd2e44;
  --stable: #78f5ad;
  --stable-dark: #0c9b61;
  --ink: #131927;
  --white: #ffffff;
  --line: 3px solid var(--ink);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--cream); font-family: "DM Sans", Arial, sans-serif; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, blockquote { margin-top: 0; }
::selection { background: var(--stable); color: var(--ink); }

body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 30; opacity: .11;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.78' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.27'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

.site-header {
  height: 82px; padding: 0 clamp(22px, 5vw, 76px); display: flex; align-items: center; justify-content: space-between;
  border-bottom: var(--line); background: rgba(255,247,230,.94); position: relative; z-index: 10;
}
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 22px; font-weight: 900; letter-spacing: -.04em; }
.brand-mark { width: 40px; height: 40px; padding: 5px; display: grid; place-items: center; border: 2px solid var(--ink); border-radius: 50%; background: var(--yellow); box-shadow: 3px 3px 0 var(--ink); }
.site-header nav { display: flex; gap: 32px; font-size: 13px; font-weight: 800; }
.site-header nav a { border-bottom: 2px solid transparent; }
.site-header nav a:hover { border-color: var(--red); }
.header-pill { display: flex; gap: 9px; align-items: center; padding: 10px 15px; border: 2px solid var(--ink); border-radius: 999px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 900; }
.header-pill span { color: var(--stable); font-family: "DM Mono", monospace; font-size: 10px; }

.hero { min-height: 780px; display: grid; grid-template-columns: .95fr 1.05fr; border-bottom: var(--line); }
.hero-copy { padding: clamp(70px, 8vw, 120px) clamp(28px, 6vw, 95px); display: flex; flex-direction: column; justify-content: center; }
.eyebrow, .kicker { text-transform: uppercase; letter-spacing: .15em; font-size: 11px; font-weight: 900; }
.eyebrow { display: flex; align-items: center; gap: 9px; margin-bottom: 22px; }
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--stable-dark); box-shadow: 0 0 0 5px rgba(120,245,173,.35); }
h1 { max-width: 720px; font-family: "Shrikhand", Georgia, serif; font-size: clamp(58px, 6.6vw, 105px); font-weight: 400; line-height: .9; letter-spacing: -.035em; margin-bottom: 31px; }
h1 em { display: block; color: var(--red); font-style: normal; transform: rotate(-1deg); transform-origin: left; }
.hero-lede { max-width: 620px; font-size: clamp(16px, 1.45vw, 20px); line-height: 1.6; font-weight: 500; }
.hero-lede strong { color: var(--deep-blue); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 20px; }
.button { min-height: 54px; padding: 0 23px; display: inline-flex; align-items: center; justify-content: center; border: 2px solid var(--ink); border-radius: 4px; font-size: 12px; font-weight: 900; letter-spacing: .045em; text-transform: uppercase; box-shadow: 5px 5px 0 var(--ink); transition: transform .16s ease, box-shadow .16s ease; }
.button:hover { transform: translate(3px,3px); box-shadow: 2px 2px 0 var(--ink); }
.button-primary { color: #fff; background: var(--red); }
.button-ghost { background: var(--stable); }
.micro-note { margin: 31px 0 0; font-family: "DM Mono", monospace; font-size: 10px; color: #656b77; }

.hero-art { min-height: 680px; position: relative; overflow: hidden; border-left: var(--line); background: var(--ink); }
.hero-art::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(120,245,173,.1) 1px,transparent 1px),linear-gradient(90deg,rgba(120,245,173,.1) 1px,transparent 1px); background-size: 42px 42px; }
.grid-glow { position: absolute; width: 620px; height: 620px; left: 50%; top: 45%; transform: translate(-50%,-50%); border-radius: 50%; background: radial-gradient(circle,rgba(85,172,238,.5),rgba(85,172,238,.08) 47%,transparent 70%); }
.hero-robot { position: absolute; z-index: 2; width: min(40vw,500px); left: 50%; top: 48%; transform: translate(-50%,-50%) rotate(-2deg); filter: drop-shadow(14px 18px 0 rgba(0,0,0,.32)); animation: float 3s ease-in-out infinite; }
.robot-halo { position: absolute; z-index: 1; width: 440px; height: 440px; left: 50%; top: 46%; transform: translate(-50%,-50%); border: 2px dashed var(--stable); border-radius: 50%; animation: spin 24s linear infinite; }
@keyframes float { 50% { transform: translate(-50%,-53%) rotate(1deg); } }
@keyframes spin { to { transform: translate(-50%,-50%) rotate(360deg); } }
.orbit { position: absolute; z-index: 3; padding: 7px 11px; border: 1px solid var(--stable); border-radius: 999px; color: var(--stable); background: var(--ink); font-family: "DM Mono",monospace; font-size: 9px; letter-spacing: .08em; }
.orbit-one { left: 9%; top: 19%; transform: rotate(-6deg); }
.orbit-two { right: 11%; top: 27%; transform: rotate(5deg); }
.orbit-three { right: 8%; bottom: 26%; transform: rotate(-4deg); }
.terminal-card { position: absolute; z-index: 4; left: 6%; bottom: 6%; width: 235px; padding: 13px 15px; border: 2px solid var(--stable); background: rgba(19,25,39,.91); color: #d9ffe9; box-shadow: 6px 6px 0 rgba(120,245,173,.3); font: 10px/1.45 "DM Mono",monospace; }
.terminal-card p { margin: 5px 0; }
.terminal-card strong { color: var(--stable); }
.terminal-top { display: flex; align-items: center; gap: 5px; padding-bottom: 8px; margin-bottom: 7px; border-bottom: 1px solid rgba(120,245,173,.4); }
.terminal-top span { width: 7px; height: 7px; border-radius: 50%; background: var(--red); }
.terminal-top span:nth-child(2) { background: var(--yellow); }
.terminal-top span:nth-child(3) { background: var(--stable); }
.terminal-top b { margin-left: auto; font-size: 8px; }
.meme-sticker { position: absolute; z-index: 5; right: 5%; top: 7%; width: 148px; height: 148px; display: grid; place-content: center; text-align: center; border: var(--line); border-radius: 50%; background: var(--yellow); box-shadow: 6px 6px 0 var(--red); font: 10px/1.5 "DM Mono",monospace; transform: rotate(8deg); }
.meme-sticker strong { font: 21px/1 "Shrikhand",serif; color: var(--red); }

.ticker { height: 55px; display: flex; align-items: center; overflow: hidden; white-space: nowrap; border-bottom: var(--line); background: var(--stable); }
.ticker > div { min-width: max-content; display: flex; align-items: center; gap: 29px; animation: ticker 24s linear infinite; font-size: 11px; font-weight: 900; letter-spacing: .12em; }
.ticker b { color: var(--red); }
@keyframes ticker { to { transform: translateX(-47%); } }

.section { padding: clamp(86px,10vw,145px) clamp(22px,6vw,90px); }
.section-intro { max-width: 840px; margin: 0 auto 65px; text-align: center; }
.kicker { color: var(--red); margin-bottom: 17px; }
h2 { font-family: "Shrikhand",Georgia,serif; font-size: clamp(44px,5.5vw,78px); font-weight: 400; line-height: .98; letter-spacing: -.035em; margin-bottom: 22px; }
h2 em { color: var(--red); font-style: normal; }
.origin { background: var(--cream); }
.quote-chain { max-width: 1050px; margin: auto; display: grid; grid-template-columns: 1fr 94px 1fr; align-items: center; }
.quote-card { min-height: 500px; padding: 28px; border: var(--line); background: #fff; box-shadow: 8px 8px 0 var(--ink); }
.announcement-card { background: var(--ink); color: #fff; }
.quote-head { display: flex; align-items: center; gap: 12px; margin-bottom: 32px; }
.quote-head div { display: flex; flex-direction: column; }
.quote-head small { margin-top: 3px; color: #8a8e98; font-size: 10px; }
.avatar { width: 42px; height: 42px; display: grid; place-items: center; border: 2px solid currentColor; border-radius: 50%; font-family: "Shrikhand",serif; }
.tether-avatar { color: var(--stable); }
.paolo-avatar { color: var(--red); background: var(--yellow); }
.verified { margin-left: auto; color: var(--stable); font: 9px "DM Mono",monospace; }
.mini-bot { width: 34px; margin-left: auto; }
.quote-big { font: 36px/1.08 "Shrikhand",serif; color: var(--stable); }
.quote-card > p:not(.quote-big) { line-height: 1.65; }
.quote-card blockquote { font: 27px/1.35 "Shrikhand",serif; }
.quote-card > a { display: inline-block; margin-top: 24px; padding-bottom: 3px; border-bottom: 2px solid currentColor; font-size: 11px; font-weight: 900; }
.origin-photo { position: relative; margin-top: 22px; border: 2px solid var(--ink); background: #eee; }
.origin-photo img { width: 100%; aspect-ratio: 1.7; object-fit: cover; }
.origin-photo span { position: absolute; right: 9px; bottom: 9px; padding: 5px 9px; border: 2px solid var(--ink); background: var(--yellow); font-size: 9px; font-weight: 900; transform: rotate(-3deg); }
.chain-link { display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--red); }
.chain-link span { font-size: 42px; }
.chain-link b { font: 9px "DM Mono",monospace; letter-spacing: .12em; writing-mode: vertical-rl; }
.lore-line { max-width: 1050px; margin: 80px auto 0; display: grid; grid-template-columns: auto 1fr auto 1fr auto; align-items: center; gap: 20px; }
.lore-line > span { font: 20px "Shrikhand",serif; text-align: center; white-space: nowrap; }
.lore-line small { display: block; margin-top: 5px; font: 8px "DM Mono",monospace; letter-spacing: .12em; color: #777; }
.lore-line i { height: 3px; background: var(--ink); position: relative; }
.lore-line i::after { content: ""; position: absolute; right: 0; top: -4px; border-left: 9px solid var(--ink); border-top: 5px solid transparent; border-bottom: 5px solid transparent; }

.machine { color: #fff; background: var(--ink); border-top: var(--line); }
.machine-heading { max-width: 850px; margin-bottom: 65px; }
.machine-heading h2 em { color: var(--stable); }
.machine-heading > p:last-child { max-width: 700px; color: #afb5c2; font-size: 17px; line-height: 1.6; }
.anatomy-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 17px; }
.anatomy-card { min-height: 350px; padding: 24px; position: relative; border: 2px solid #fff; color: var(--ink); background: var(--cream); box-shadow: 6px 6px 0 var(--stable); transition: transform .18s ease; }
.anatomy-card:hover { transform: translateY(-7px); }
.anatomy-card:nth-child(2) { background: var(--blue); }
.anatomy-card:nth-child(3) { background: var(--stable); }
.anatomy-card:nth-child(4) { background: var(--yellow); }
.card-number { position: absolute; top: 15px; right: 17px; font: 10px "DM Mono",monospace; }
.card-icon { height: 100px; display: flex; align-items: center; font-size: 65px; }
.anatomy-card > img { height: 100px; width: 100px; object-fit: contain; margin-bottom: 4px; }
.card-label { margin: 20px 0 6px; font: 9px "DM Mono",monospace; letter-spacing: .15em; text-transform: uppercase; }
.anatomy-card h3 { font: 35px "Shrikhand",serif; margin-bottom: 13px; }
.anatomy-card > p:last-child { font-size: 13px; line-height: 1.55; font-weight: 600; }
.context-note { margin: 26px 0 0; color: #7e8795; font: 9px "DM Mono",monospace; text-align: right; }

.stable { background: var(--stable); }
.stable-panel { max-width: 1220px; margin: auto; display: grid; grid-template-columns: 1fr .92fr; border: var(--line); background: var(--cream); box-shadow: 12px 12px 0 var(--ink); }
.stable-copy { padding: clamp(40px,6vw,85px); }
.stable-copy > p:not(.kicker) { max-width: 620px; font-size: 17px; line-height: 1.65; }
.culture-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 34px; }
.culture-tags span { padding: 8px 11px; border: 2px solid var(--ink); border-radius: 999px; background: #fff; font: 9px "DM Mono",monospace; }
.button-dark { color: #fff; background: var(--ink); box-shadow: 5px 5px 0 var(--red); }
.stable-manifesto { min-height: 500px; padding: 55px 38px; position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: center; border-left: var(--line); color: #fff; background: var(--deep-blue); }
.stable-manifesto p, .stable-manifesto strong { position: relative; z-index: 2; margin: 0 0 10px; font: 26px/1.1 "Shrikhand",serif; }
.stable-manifesto strong { color: var(--yellow); font-size: clamp(36px,4vw,61px); }
.stable-manifesto img { position: absolute; width: 245px; right: -45px; bottom: -35px; transform: rotate(12deg); opacity: .85; }

.culture { display: grid; grid-template-columns: .8fr 1.2fr; gap: 8vw; align-items: center; background: var(--paper); border-top: var(--line); }
.culture-robot { min-height: 430px; position: relative; display: grid; place-items: center; border: var(--line); background: var(--blue); box-shadow: 10px 10px 0 var(--ink); overflow: hidden; }
.culture-robot img { position: relative; z-index: 2; width: 70%; filter: drop-shadow(9px 11px 0 rgba(19,25,39,.25)); }
.pulse-ring { position: absolute; width: 390px; height: 390px; border: 18px solid var(--yellow); border-radius: 50%; box-shadow: 0 0 0 32px var(--red); }
.culture-copy > p:not(.kicker) { max-width: 700px; font-size: 17px; line-height: 1.65; }
.principles { margin-top: 35px; border-top: 2px solid var(--ink); }
.principles div { display: grid; grid-template-columns: 55px 1fr; gap: 18px; align-items: center; padding: 18px 0; border-bottom: 2px solid var(--ink); }
.principles strong { color: var(--red); font: 20px "Shrikhand",serif; }
.principles span { font-size: 13px; font-weight: 700; }

.final-cta { min-height: 650px; padding: 100px 24px; position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: #fff; background: var(--ink); border-top: var(--line); }
.final-cta::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(120,245,173,.22) 2px,transparent 2px); background-size: 38px 38px; }
.final-cta > * { position: relative; z-index: 2; }
.corner-code { position: absolute; top: 28px; right: 32px; color: var(--stable); font: 9px "DM Mono",monospace; }
.final-cta > p { color: var(--stable); font: 18px "DM Mono",monospace; }
.final-cta h2 { margin-bottom: 43px; color: #fff; font-size: clamp(70px,9vw,130px); line-height: .82; }
.cta-robot { position: absolute; z-index: 1; width: 245px; left: -45px; bottom: -28px; transform: rotate(14deg); }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.button-light { color: var(--ink); background: var(--cream); box-shadow: 5px 5px 0 var(--blue); }
.button-stable { color: var(--ink); background: var(--stable); box-shadow: 5px 5px 0 var(--red); }

footer { min-height: 125px; padding: 25px clamp(22px,5vw,75px); display: grid; grid-template-columns: auto 1fr 1.3fr; align-items: center; gap: 35px; color: #fff; background: #090d16; font-size: 10px; }
footer p { margin: 0; }
.footer-brand .brand-mark { border-color: #fff; box-shadow: 3px 3px 0 var(--stable); }
.footer-social { display: inline-block; margin-top: 8px; color: var(--stable); font-family: "DM Mono", monospace; font-weight: 700; }
.footer-social:hover { color: var(--yellow); }
.disclaimer { color: #7e8795; line-height: 1.5; text-align: right; }

@media (max-width: 1000px) {
  .site-header nav { display: none; }
  .hero { grid-template-columns: 1fr; }
  .hero-art { min-height: 680px; border-left: 0; border-top: var(--line); }
  .hero-robot { width: min(65vw,470px); }
  .quote-chain { grid-template-columns: 1fr; gap: 25px; max-width: 620px; }
  .chain-link { transform: none; }
  .chain-link b { writing-mode: horizontal-tb; }
  .anatomy-grid { grid-template-columns: repeat(2,1fr); }
  .stable-panel, .culture { grid-template-columns: 1fr; }
  .stable-manifesto { border-left: 0; border-top: var(--line); }
  footer { grid-template-columns: 1fr; text-align: center; }
  .disclaimer { text-align: center; }
}

@media (max-width: 640px) {
  .site-header { height: 70px; padding: 0 16px; }
  .brand { font-size: 18px; }
  .brand-mark { width: 34px; height: 34px; }
  .header-pill { padding: 8px 10px; font-size: 10px; }
  .header-pill span { display: none; }
  .hero-copy { padding: 66px 22px 58px; }
  h1 { font-size: 54px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .hero-art { min-height: 570px; }
  .hero-robot { width: 82vw; }
  .robot-halo { width: 330px; height: 330px; }
  .meme-sticker { width: 110px; height: 110px; font-size: 8px; }
  .meme-sticker strong { font-size: 16px; }
  .terminal-card { width: 205px; }
  .section { padding: 82px 18px; }
  .quote-card { min-height: auto; padding: 22px; }
  .quote-card blockquote { font-size: 23px; }
  .lore-line { grid-template-columns: 1fr; gap: 14px; }
  .lore-line i { width: 3px; height: 35px; margin: auto; }
  .lore-line i::after { right: -4px; top: auto; bottom: 0; border-top: 9px solid var(--ink); border-left: 5px solid transparent; border-right: 5px solid transparent; border-bottom: 0; }
  .anatomy-grid { grid-template-columns: 1fr; }
  .anatomy-card { min-height: 300px; }
  .stable-copy { padding: 38px 23px; }
  .stable-manifesto { min-height: 400px; padding: 38px 23px; }
  .culture-robot { min-height: 330px; }
  .culture-robot img { width: 75%; }
  .pulse-ring { width: 270px; height: 270px; }
  .final-cta { min-height: 600px; }
  .final-cta > p { font-size: 12px; }
  .cta-robot { width: 150px; left: -48px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-robot, .robot-halo, .ticker > div { animation: none; }
  .button, .anatomy-card { transition: none; }
}
