/* Zeron landing. One layout system: 1120px container, 120px section rhythm (80px on phones),
   every section = a centered heading block, then its content. Art plates carry the big moments;
   product screenshots sit on quiet dark tiles. */
:root {
  --paper: #f4f1ea;
  --ink: #121015;
  --ink-2: rgba(18, 16, 21, .56);
  --ink-3: rgba(18, 16, 21, .38);
  --hair: rgba(18, 16, 21, .1);
  --radius: 20px;
  --gap: 16px;
  --sec: 120px;
  color-scheme: light;
}
body { background: var(--paper); color: var(--ink); }
.wrap { width: 100%; max-width: 1168px; margin: 0 auto; padding: 0 24px; }

/* nav (static, scrolls with the page) */
.nav { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 72px; }
.brand { font: 600 16px/1 var(--sans); letter-spacing: -.02em; color: var(--ink); text-decoration: none; }
.links { display: flex; gap: 28px; font: 450 13.5px/1 var(--sans); }
.links a, .text-link { color: var(--ink-2); text-decoration: none; transition: color .2s; }
.links a:hover, .text-link:hover { color: var(--ink); }
.actions { display: flex; justify-content: flex-end; align-items: center; gap: 18px; }
.gh { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-2); text-decoration: none; font: 500 12px/1 var(--mono); }
.gh svg { width: 16px; height: 16px; }
.gh:hover { color: var(--ink); }
.pill { display: inline-flex; align-items: center; height: 34px; padding: 0 15px; border-radius: 10px; background: var(--ink); color: var(--paper); font: 500 13.5px/1 var(--sans); text-decoration: none; transition: background .2s; }
.pill:hover { background: #2a2530; }
.pill.light { background: #efe9dc; color: #121015; }
.pill.light:hover { background: #fff; }
.text-link { font: 500 13.5px/1 var(--sans); color: var(--ink); }
.text-link.light { color: #efe9dc; }
.ver { font: 500 11.5px/1 var(--mono); color: var(--ink-3); }

/* hero */
.hero { position: relative; overflow: hidden; padding-top: 72px; }
.hero .glyph-field { mix-blend-mode: multiply; }
.hero-copy { position: relative; z-index: 1; max-width: 600px; margin: 0 auto 64px; padding: 0 24px; text-align: center; }
.agents-row { display: flex; justify-content: center; flex-wrap: wrap; gap: 18px; margin-bottom: 28px; }
.agents-row .chip { display: inline-flex; color: var(--ink-3); transition: color .2s; }
.agents-row .chip:hover { color: #6d3fe8; }
.agents-row .agent-icon { width: 20px; height: 20px; }
.hero h1 { margin: 0; font: 500 clamp(21px, 2.1vw, 25px)/1.38 var(--sans); letter-spacing: -.022em; color: var(--ink-2); text-wrap: balance; }
.hero h1 b { font-weight: 600; color: var(--ink); }
.ctas { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px 20px; justify-content: center; align-items: center; }
.used-by { margin-top: 36px; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px 24px; }
.used-by > span { font: 450 12.5px/1 var(--sans); color: var(--ink-3); }
.used-by .logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px 26px; }
.used-by .logos a { display: block; width: var(--w); height: var(--h); background: var(--ink); opacity: .38; -webkit-mask: var(--logo) no-repeat center / contain; mask: var(--logo) no-repeat center / contain; transition: opacity .2s; }
.used-by .logos a:hover { opacity: .85; }

/* plates: art image filling a rounded frame */
.plate { position: relative; margin: 0; overflow: hidden; border-radius: var(--radius); background: #0a090c; isolation: isolate; }
.plate-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
.plate-hero { aspect-ratio: 16 / 10; display: grid; place-items: center; }
.hero-shot { width: 84%; height: auto; border-radius: 12px; box-shadow: 0 50px 120px -30px rgba(0,0,0,.9), 0 0 0 1px rgba(236,231,223,.08); }

/* sections */
.sec { padding-top: var(--sec); }
.sec-head { max-width: 560px; margin: 0 auto 48px; text-align: center; }
.sec-head p { margin: 0; font: 500 clamp(19px, 1.9vw, 22px)/1.42 var(--sans); letter-spacing: -.02em; color: var(--ink-2); text-wrap: balance; }
.sec-head b { color: var(--ink); font-weight: 600; }
.sec-foot { margin-top: 32px; text-align: center; }

/* features: 2×2 tiles, media + caption */
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px var(--gap); }
.tile { margin: 0; }
.tile-media { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; display: grid; place-items: center; }
.tile-shot { background: #0e0d11; }
.tile-shot img { width: 86%; height: auto; border-radius: 8px; box-shadow: 0 24px 60px -20px rgba(0,0,0,.8), 0 0 0 1px rgba(236,231,223,.08); }
.tile figcaption { margin-top: 14px; font: 450 14.5px/1.45 var(--sans); color: var(--ink-2); }
.tile figcaption b { color: var(--ink); font-weight: 600; }

/* the original landing's diagrams */
.diagram { position: relative; z-index: 1; width: min(420px, 82%); --line: #2c2340; --faint: rgba(236,231,223,.45); --dim: rgba(236,231,223,.8); --purple: #8b5cf6; --purple-hi: #b79df9; }
.plate .diagram::before { content: ""; position: absolute; inset: -18%; z-index: -1; background: radial-gradient(closest-side, rgba(6,4,10,.8), rgba(6,4,10,0)); pointer-events: none; }
.spoke-wrap, .flow-wrap { position: relative; width: 100%; aspect-ratio: 1; }
.spoke-wrap > svg, .flow-wrap > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.flow-wrap svg path { fill: none; }
.spoke-line, .spoke-accent { stroke-width: .35; }
.spoke-line { stroke: #4a3d6b; stroke-dasharray: 1.6 2.4; animation: spoke-flow 2.2s linear infinite; }
.spoke-accent { stroke: var(--purple); stroke-dasharray: .7 11.3; animation: spoke-flow 2.2s linear infinite; }
@keyframes spoke-flow { to { stroke-dashoffset: -12px; } }
.spoke-hub { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 70px; height: 70px; padding: 7px; background: #0c0913; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 12px 34px -10px rgba(0,0,0,.8), 0 0 34px -6px rgba(139,92,246,.35); }
.spoke-hub img { display: block; width: 100%; height: 100%; border-radius: 10px; }
.spoke-node, .dev-chip { position: absolute; transform: translate(-50%, -50%); display: flex; align-items: center; gap: 7px; padding: 6px 12px; background: #0b0812; border: 1px solid var(--line); border-radius: 999px; box-shadow: 0 5px 16px -6px rgba(0,0,0,.6); white-space: nowrap; }
.agent-icon { display: inline-block; flex: none; background-color: currentColor; -webkit-mask: var(--icon) no-repeat center / contain; mask: var(--icon) no-repeat center / contain; transition: background-color .2s; }
.spoke-node .agent-icon { width: 15px; height: 15px; background-color: var(--faint); }
.spoke-node span:last-child, .dev-chip span { font: 500 12px/1 var(--sans); color: var(--dim); }
.dev-chip svg { width: 13px; height: 13px; stroke: var(--faint); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.plate-wide { aspect-ratio: 16 / 8; display: grid; place-items: center; }
.plate-wide .diagram { width: min(400px, 70%); }

/* people: featured post, then the wall */
.plate-quote { aspect-ratio: 16 / 7; display: grid; place-items: center; }
.plate-quote::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 70% at 50% 45%, rgba(6,6,8,.7), rgba(6,6,8,.1)); }
.plate-quote blockquote { position: relative; z-index: 2; margin: 0; padding: 0 8%; text-align: center; }
.plate-quote p { margin: 0 auto; max-width: 24ch; font: 400 clamp(26px, 3.2vw, 44px)/1.12 "Instrument Serif", serif; letter-spacing: -.01em; color: #efe9dc; text-wrap: balance; }
.plate-quote cite { display: block; margin-top: 22px; font: 500 13px/1 var(--sans); font-style: normal; }
.plate-quote cite a { display: inline-flex; align-items: center; gap: 8px; color: #efe9dc; text-decoration: none; }
.plate-quote cite img { border-radius: 50%; }
.plate-quote cite span { color: rgba(239,233,220,.55); font-weight: 450; }
.plate-quote .glyph-field { z-index: 1 !important; mix-blend-mode: screen; }

.wall { position: relative; margin-top: 40px; height: 600px; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); overflow: hidden;
  -webkit-mask-image: linear-gradient(transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(transparent, #000 12%, #000 88%, transparent); }
.wall-col { display: flex; flex-direction: column; gap: var(--gap); animation: drift var(--dur, 70s) linear infinite; }
.wall-col.up { animation-direction: reverse; }
.wall:hover .wall-col { animation-play-state: paused; }
@keyframes drift { from { transform: translate3d(0, -50%, 0); } to { transform: translate3d(0, 0, 0); } }
.tweet { display: flex; flex-direction: column; gap: 12px; padding: 18px 18px 20px; border-radius: 16px; background: #fbfaf6; border: 1px solid var(--hair); color: var(--ink); text-decoration: none; transition: border-color .25s; }
.tweet:hover { border-color: rgba(124, 77, 255, .35); }
.tweet-head { display: flex; align-items: center; gap: 10px; }
.tweet-head img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }
.tweet-who { display: flex; flex-direction: column; gap: 4px; min-width: 0; flex: 1; }
.tweet-name { font: 600 13.5px/1.1 var(--sans); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tweet-handle { font: 450 12.5px/1 var(--sans); color: var(--ink-3); }
.tweet-x { width: 14px; height: 14px; color: var(--ink-3); }
.tweet p { margin: 0; font: 450 15px/1.5 var(--sans); color: rgba(18,16,21,.82); text-wrap: pretty; }
.tweet .hl { font-style: normal; color: #6d3fe8; }

/* downloads */
.dl { max-width: 880px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.dl h3 { margin: 0 0 12px; font: 600 14px/1 var(--sans); }
.dl ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--hair); }
.dl li { display: grid; grid-template-columns: 84px 1fr auto; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--hair); font: 450 14px/1.2 var(--sans); }
.dl-name { font-weight: 600; }
.dl-meta { color: var(--ink-3); font-size: 13px; }
.dl-btn { display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: 8px; border: 1px solid var(--hair); color: var(--ink); text-decoration: none; font: 500 12.5px/1 var(--sans); transition: background .2s, color .2s, border-color .2s; }
.dl-btn:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.dl-btn.off { color: var(--ink-3); pointer-events: none; }
.dl-notes { display: inline-block; margin-top: 16px; font: 450 13px/1 var(--sans); color: var(--ink-2); text-decoration: none; }
.dl-notes:hover { color: var(--ink); }

/* closing */
.plate-closing { aspect-ratio: 16 / 8; display: grid; place-items: center; }
.plate-closing::before { content: ""; position: absolute; inset: 0; background: radial-gradient(40% 52% at 50% 50%, rgba(6,6,8,.75), rgba(6,6,8,0)); }
.closing-copy { position: relative; z-index: 1; text-align: center; padding: 0 24px; }
.closing-copy h2 { margin: 0; font: 400 clamp(34px, 4.4vw, 60px)/1.04 "Instrument Serif", serif; letter-spacing: -.012em; color: #efe9dc; }
.closing-copy p { margin: 14px auto 0; max-width: 40ch; font: 450 15px/1.55 var(--sans); color: rgba(239,233,220,.75); }

/* footer */
.foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 48px; padding-bottom: 48px; font: 450 13px/1 var(--sans); color: var(--ink-3); }
.foot nav { display: flex; gap: 22px; }
.foot a { color: var(--ink-2); text-decoration: none; }
.foot a:hover { color: var(--ink); }

/* entrance: fade only (no movement) */
[data-reveal] { opacity: 0; transition: opacity .9s ease; }
[data-reveal].in { opacity: 1; }

/* tablet */
@media (max-width: 900px) {
  .links { display: none; }
  .nav { grid-template-columns: 1fr auto; }
  .grid { grid-template-columns: 1fr; gap: 36px; }
  .wall { grid-template-columns: repeat(2, 1fr); }
  .wall-col:nth-child(3) { display: none; }
  .plate-quote { aspect-ratio: 4 / 3; }
  .plate-wide, .plate-closing { aspect-ratio: 4 / 3; }
}

/* phone */
@media (max-width: 600px) {
  :root { --sec: 80px; --radius: 16px; --gap: 12px; }
  .wrap { padding: 0 14px; }
  .nav { height: 60px; }
  .gh { display: none; }
  .hero { padding-top: 40px; }
  .hero-copy { margin-bottom: 40px; padding: 0 18px; }
  .agents-row { gap: 14px; margin-bottom: 22px; }
  .agents-row .agent-icon { width: 17px; height: 17px; }
  .hero h1 { font-size: 20px; }
  .used-by { flex-direction: column; gap: 14px; }
  .used-by .logos a { transform: scale(.85); }
  .plate-hero { aspect-ratio: 4 / 3.4; }
  .hero-shot { width: 92%; border-radius: 8px; }
  .sec-head { margin-bottom: 32px; }
  .sec-head p { font-size: 18px; }
  .tile figcaption { font-size: 14px; }
  .diagram, .plate-wide .diagram { width: 94%; }
  .spoke-node, .dev-chip { gap: 5px; padding: 4px 9px; }
  .spoke-node .agent-icon { width: 12px; height: 12px; }
  .dev-chip svg { width: 11px; height: 11px; }
  .spoke-node span:last-child, .dev-chip span { font-size: 10.5px; }
  .spoke-hub { width: 52px; height: 52px; padding: 5px; border-radius: 12px; }
  .plate-wide { aspect-ratio: 1; }
  .plate-quote { aspect-ratio: auto; padding: 56px 0; }
  .plate-quote p { font-size: 26px; }
  .wall { grid-template-columns: 1fr; height: 520px; }
  .wall-col:nth-child(2) { display: none; }
  .dl { grid-template-columns: 1fr; gap: 32px; }
  .dl li { grid-template-columns: 70px 1fr auto; }
  .dl-meta { font-size: 12px; }
  .plate-closing { aspect-ratio: auto; padding: 72px 0; }
  .foot { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  .wall-col, .spoke-line, .spoke-accent { animation: none; }
  .wall { height: auto; max-height: 820px; overflow-y: auto; }
  [data-reveal] { opacity: 1; transition: none; }
}
