:root {
  --ink: #edf5f7;
  --muted: #8996a1;
  --paper: #070a0f;
  --cream: #0d131d;
  --coral: #c8ff2e;
  --coral-dark: #9de600;
  --mint: #0d2929;
  --acid: #69f7e8;
  --blue: #151d44;
  --violet: #785cff;
  --line: rgba(237, 245, 247, 0.17);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background-color: var(--paper);
  background-image: linear-gradient(rgba(105, 247, 232, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(105, 247, 232, .035) 1px, transparent 1px);
  background-size: 48px 48px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
button, input { font: inherit; }
button { color: inherit; }
::selection { background: var(--acid); color: #05070a; }

.skip-link {
  position: fixed; top: 10px; left: 10px; z-index: 100;
  padding: 10px 14px; background: var(--ink); color: white;
  transform: translateY(-150%); transition: transform .2s;
}
.skip-link:focus { transform: translateY(0); }

.shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.site-header {
  position: sticky; top: 0; z-index: 30;
  background: color-mix(in srgb, var(--paper) 84%, transparent);
  backdrop-filter: blur(16px); border-bottom: 1px solid var(--line);
}
.nav { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 850; letter-spacing: -.03em; }
.brand-mark {
  width: 35px; aspect-ratio: 1; display: grid; place-items: center;
  border-radius: 5px; background: var(--coral); color: #05070a; transform: rotate(-5deg);
}
.brand-mark svg { width: 21px; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { text-decoration: none; font-size: .94rem; font-weight: 700; }
.nav-links a:hover, .nav-links a:focus-visible { color: var(--coral-dark); }
.nav-cta { padding: 10px 17px; border: 1px solid var(--coral); border-radius: 999px; background: var(--coral); color: #05070a !important; }
.menu-button { display: none; border: 0; background: none; padding: 8px; }

.hero { padding: 80px 0 96px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.06fr .94fr; gap: 68px; align-items: center; }
.hero-grid > * { min-width: 0; }
.eyebrow { margin: 0 0 16px; color: var(--acid); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .72rem; font-weight: 750; letter-spacing: .13em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 22px; height: 2px; display: inline-block; margin: 0 9px 4px 0; background: currentColor; }
h1, h2, h3 { margin: 0; font-family: "Arial Narrow", "Helvetica Neue", Arial, sans-serif; font-weight: 850; line-height: .94; letter-spacing: -.055em; }
h1 { max-width: 760px; font-size: clamp(3.8rem, 7.6vw, 7.2rem); }
h2 { font-size: clamp(2.5rem, 5vw, 4.7rem); }
h3 { font-size: clamp(1.65rem, 2.7vw, 2.35rem); line-height: 1.05; }
.hero h1 em { color: var(--coral); font-style: normal; font-weight: inherit; text-shadow: 0 0 30px rgba(200,255,46,.2); }
.hero-lede { max-width: 620px; margin: 28px 0 34px; color: var(--muted); font-size: 1.19rem; }
.button-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 14px 22px; border: 1px solid var(--coral); border-radius: 999px; background: var(--coral); color: #05070a; text-decoration: none; font-weight: 800; transition: transform .2s, box-shadow .2s; }
.button:hover, .button:focus-visible { transform: translateY(-2px); box-shadow: 0 8px 0 var(--violet); }
.button.secondary { background: transparent; color: var(--ink); }

.hero-art { position: relative; min-height: 570px; }
.orbit { position: absolute; inset: 8% 2% 2% 4%; border: 1px dashed rgba(23,32,31,.35); border-radius: 50%; transform: rotate(-8deg); }
.profile-card { position: absolute; width: 70%; padding: 24px; border: 1px solid var(--ink); border-radius: 28px; background: #fffdfa; box-shadow: var(--shadow); }
.profile-card.one { left: 0; top: 0; transform: rotate(-4deg); }
.profile-card.two { right: 0; bottom: 20px; transform: rotate(5deg); background: var(--blue); }
.portrait { position: relative; height: 270px; overflow: hidden; border-radius: 19px; background: var(--mint); }
.portrait::before { content: ""; position: absolute; width: 132px; height: 158px; left: 50%; bottom: 18px; transform: translateX(-50%); border-radius: 70px 70px 42px 42px; background: var(--ink); }
.portrait::after { content: "✦"; position: absolute; top: 18px; right: 20px; color: var(--coral); font-size: 2.8rem; }
.portrait.alt { height: 190px; background: var(--acid); }
.portrait.alt::before { background: var(--coral); border-radius: 48% 48% 30% 30%; }
.profile-meta { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-top: 18px; }
.profile-meta strong { font-size: 1.1rem; }
.status { padding: 5px 10px; border-radius: 999px; background: white; font-size: .72rem; font-weight: 850; text-transform: uppercase; }
.spark { position: absolute; display: grid; place-items: center; width: 78px; aspect-ratio: 1; border: 1px solid var(--ink); border-radius: 50%; background: var(--coral); color: white; font-size: 2rem; box-shadow: 5px 7px 0 var(--ink); }
.spark.a { right: 5%; top: 5%; }
.spark.b { left: 5%; bottom: 4%; width: 60px; background: var(--acid); color: var(--ink); }

.machine-art { min-height: 590px; isolation: isolate; }
.signal-ring {
  position: absolute; inset: 2% 0 0 8%; z-index: -1;
  border: 1px solid rgba(105,247,232,.4); border-radius: 50%;
  background: repeating-radial-gradient(circle at 50% 50%, transparent 0 35px, rgba(105,247,232,.055) 36px 37px);
  box-shadow: inset 0 0 80px rgba(120,92,255,.18);
  transform: rotate(-9deg);
}
.system-window {
  position: absolute; top: 8%; left: 2%; width: 78%;
  border: 1px solid var(--acid); border-radius: 10px; overflow: hidden;
  background: rgba(5,9,14,.94); box-shadow: 14px 18px 0 rgba(120,92,255,.75), 0 30px 100px rgba(0,0,0,.55);
}
.system-bar {
  display: flex; justify-content: space-between; gap: 20px; padding: 12px 15px;
  border-bottom: 1px solid rgba(105,247,232,.35); color: var(--acid);
  font: 700 .66rem/1.2 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .09em;
}
.system-light { color: var(--coral); text-shadow: 0 0 12px var(--coral); }
.exchange { min-height: 330px; padding: 34px 30px; }
.exchange-label { margin: 21px 0 8px; color: var(--muted); font: 700 .64rem/1.2 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .1em; }
.exchange-human, .exchange-ai { width: 85%; margin: 0; padding: 16px 18px; border: 1px solid var(--line); border-radius: 4px 18px 18px 18px; background: #121a25; font-size: 1rem; line-height: 1.45; }
.exchange-ai { margin-left: auto; border-color: rgba(200,255,46,.55); border-radius: 18px 4px 18px 18px; background: rgba(200,255,46,.08); color: var(--coral); }
.memory-strip { display: flex; justify-content: space-between; gap: 15px; padding: 13px 16px; border-top: 1px solid var(--line); color: var(--muted); font: 700 .64rem/1.2 ui-monospace, SFMono-Regular, Menlo, monospace; text-transform: uppercase; }
.update-card {
  position: absolute; right: 0; bottom: 4%; width: 59%; padding: 23px;
  border: 1px solid var(--coral); border-radius: 8px; background: var(--coral); color: #05070a;
  box-shadow: 12px 14px 0 #020305; transform: rotate(4deg);
}
.update-card span, .update-card strong { display: block; }
.update-card .update-kicker { margin-bottom: 22px; font: 800 .62rem/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .12em; }
.update-card strong { font-size: 1.28rem; line-height: 1.1; }
.update-card > span:not(.update-kicker) { margin-top: 7px; font-size: .76rem; opacity: .7; }
.update-card button { margin-top: 18px; padding: 8px 11px; border: 1px solid #05070a; border-radius: 3px; background: transparent; color: #05070a; font: 800 .62rem/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .08em; }
.machine-art .spark { border-color: var(--acid); border-radius: 4px; background: #071011; color: var(--acid); box-shadow: 5px 7px 0 var(--violet); font: 800 .8rem/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.machine-art .spark.b { background: var(--violet); color: white; }

.marquee { overflow: hidden; border-block: 1px solid var(--acid); background: #090f13; color: var(--acid); }
.marquee-track { display: flex; width: max-content; gap: 30px; padding: 13px 0; animation: drift 28s linear infinite; font-size: .82rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.marquee-track span::after { content: "✦"; margin-left: 30px; }
@keyframes drift { to { transform: translateX(-50%); } }

.section { padding: 110px 0; }
.section.alt { background: var(--cream); background-image: radial-gradient(circle at 10% 10%, rgba(120,92,255,.12), transparent 35%); }
.section-heading { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: end; margin-bottom: 56px; }
.section-heading p { max-width: 520px; margin: 0; color: var(--muted); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { display: flex; flex-direction: column; min-height: 470px; padding: 28px; border: 1px solid var(--line); border-radius: 12px; background: #090d14; box-shadow: 7px 7px 0 var(--violet); }
.card:nth-child(2) { background: var(--mint); box-shadow-color: var(--acid); }
.card:nth-child(3) { background: var(--blue); box-shadow-color: var(--coral); }
.card-number { display: grid; place-items: center; width: 45px; aspect-ratio: 1; margin-bottom: 70px; border: 1px solid var(--ink); border-radius: 50%; font-size: .78rem; font-weight: 850; }
.card p { color: var(--muted); }
.card .text-link { margin-top: auto; }
.text-link { display: inline-flex; gap: 8px; align-items: center; width: fit-content; text-decoration: none; font-weight: 850; border-bottom: 1px solid currentColor; }
.text-link span { transition: transform .2s; }
.text-link:hover span { transform: translateX(4px); }

.explorer { display: grid; grid-template-columns: .8fr 1.2fr; border: 1px solid var(--acid); border-radius: 14px; overflow: hidden; box-shadow: 9px 9px 0 var(--violet); }
.explorer-tabs { padding: 18px; background: #030507; }
.explorer-tabs button { width: 100%; padding: 19px 18px; border: 0; border-bottom: 1px solid rgba(255,255,255,.2); background: transparent; color: white; text-align: left; cursor: pointer; font-weight: 780; }
.explorer-tabs button[aria-selected="true"] { border-radius: 6px; background: var(--coral); color: #05070a; }
.explorer-panel { min-height: 430px; padding: clamp(38px, 7vw, 80px); background: #0b1118; }
.explorer-panel p:not(.eyebrow) { max-width: 630px; color: var(--muted); }
.explorer-panel .text-link { margin-top: 24px; }

.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.post-card { position: relative; display: flex; flex-direction: column; min-height: 430px; padding: 25px; border: 1px solid var(--line); border-radius: 12px; background: #101720; text-decoration: none; overflow: hidden; transition: transform .25s; }
.post-card:hover { transform: translateY(-7px) rotate(-.5deg); }
.post-card:nth-child(2) { background: var(--violet); color: white; }
.post-card:nth-child(3) { background: var(--coral); color: #05070a; }
.post-card .tag { width: fit-content; padding: 5px 10px; border: 1px solid currentColor; border-radius: 999px; font-size: .7rem; font-weight: 850; text-transform: uppercase; }
.post-card h3 { margin-top: 85px; }
.post-card p { margin-top: 17px; opacity: .78; }
.post-card .arrow { margin-top: auto; font-size: 2rem; }

.manifesto { background: #020305; color: var(--ink); }
.manifesto-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 100px; }
.principles { margin: 0; padding: 0; list-style: none; }
.principles li { display: grid; grid-template-columns: 42px 1fr; gap: 20px; padding: 23px 0; border-top: 1px solid rgba(255,255,255,.2); }
.principles span { color: var(--acid); font-weight: 850; }
.principles strong { display: block; margin-bottom: 4px; font-size: 1.07rem; }
.principles p { margin: 0; color: rgba(255,255,255,.65); }

.site-footer { padding: 68px 0 30px; background: var(--coral); color: #05070a; }
.footer-top { display: grid; grid-template-columns: 1.25fr .75fr; gap: 80px; align-items: end; }
.footer-top h2 { max-width: 700px; }
.footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 30px; }
.footer-links a { font-weight: 750; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 80px; padding-top: 20px; border-top: 1px solid rgba(23,32,31,.35); font-size: .82rem; }

.page-hero { padding: 90px 0 70px; }
.page-hero h1 { max-width: 980px; font-size: clamp(3.3rem, 7vw, 6.7rem); }
.page-hero .lede { max-width: 720px; margin: 25px 0 0; color: var(--muted); font-size: 1.18rem; }
.article-wrap { display: grid; grid-template-columns: minmax(0, 720px) 220px; gap: 90px; align-items: start; width: min(1060px, calc(100% - 40px)); margin: 0 auto; padding: 25px 0 120px; }
.article { font-size: 1.08rem; }
.article h2 { margin: 2.2em 0 .65em; font-size: clamp(2rem, 4vw, 3.3rem); }
.article h3 { margin: 1.7em 0 .55em; font-size: 1.7rem; }
.article p, .article li { color: #aab6bd; }
.article a { text-decoration-thickness: 2px; text-underline-offset: 3px; }
.article blockquote { margin: 2.3em 0; padding: 26px 30px; border-left: 5px solid var(--coral); background: var(--cream); font-family: Georgia, serif; font-size: 1.45rem; line-height: 1.35; }
.article .note { margin: 2em 0; padding: 24px; border: 1px solid var(--ink); border-radius: 16px; background: var(--acid); color: #05070a; }
.article .note strong { color: #05070a; }
.article-meta { display: flex; gap: 16px; margin-top: 28px; color: var(--muted); font-size: .86rem; font-weight: 750; }
.article-aside { position: sticky; top: 110px; padding-left: 22px; border-left: 1px solid var(--line); font-size: .84rem; }
.article-aside strong { display: block; margin-bottom: 12px; }
.article-aside a { display: block; margin: 9px 0; color: var(--muted); }
.back-link { display: inline-block; margin-bottom: 30px; font-weight: 800; }

[data-reveal] { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

@media (max-width: 860px) {
  .shell { width: min(100% - 28px, 680px); }
  .menu-button { display: block; }
  .nav-links { display: none; position: absolute; inset: 76px 14px auto; padding: 18px; border: 1px solid var(--ink); border-radius: 16px; background: var(--paper); box-shadow: 6px 6px 0 var(--ink); }
  .nav-links[data-open] { display: grid; }
  .hero { padding-top: 55px; }
  .hero-grid, .section-heading, .manifesto-grid, .footer-top { grid-template-columns: 1fr; gap: 38px; }
  .hero-art { min-height: 480px; max-width: 580px; width: 100%; margin: 0 auto; }
  .cards, .blog-grid { grid-template-columns: 1fr; }
  .card { min-height: 390px; }
  .card-number { margin-bottom: 45px; }
  .explorer { grid-template-columns: 1fr; }
  .explorer-tabs { display: grid; grid-template-columns: repeat(3, 1fr); }
  .explorer-tabs button { padding: 14px 8px; text-align: center; font-size: .78rem; border-bottom: 0; }
  .article-wrap { grid-template-columns: 1fr; }
  .article-aside { display: none; }
}

@media (max-width: 540px) {
  body { font-size: 16px; }
  .hero { padding-bottom: 70px; }
  h1 { font-size: clamp(2.25rem, 11.5vw, 3.2rem); }
  .profile-card { width: 82%; padding: 16px; }
  .portrait { height: 220px; }
  .hero-art { min-height: 430px; }
  .machine-art { min-height: 500px; }
  .system-window { left: 0; width: 92%; }
  .exchange { min-height: 300px; padding: 22px 18px; }
  .exchange-human, .exchange-ai { width: 95%; padding: 13px; font-size: .9rem; }
  .update-card { width: 73%; right: 0; bottom: 0; }
  .section { padding: 80px 0; }
  .explorer-panel { min-height: 450px; padding: 38px 24px; }
  .footer-links { grid-template-columns: 1fr; }
  .footer-bottom { display: block; }
}
