/* AI Systems Club — design language
   One idea: chaos -> system. Shapes come from the stencil "Ai" logo (hard diagonal slices, parallelograms),
   colours from the posters (navy ground, violet, cream, lavender, electric-blue highlight), a faint dot grid = the system canvas. */
:root {
  --ease: cubic-bezier(.22, 1, .36, 1);
  --violet: #6C4EFD; --violet-2: #9C92FF; --violet-dk: #4B33D6;
  --navy: #102139; --navy-2: #1A2B4A; --navy-3: #0B1829;
  --cream: #F6F2EA; --paper: #FFFDF9; --lav: #DED6FB; --lav-2: #ECE8FD;
  --blue: #0E34F7; --muted: #4A5873; --soft: #FFFDF9; --note: #C9B8FF;
  --poster: "Archivo", "Arial Black", Impact, sans-serif;
  --body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  --hand: "Segoe Print", "Bradley Hand", "Chalkboard SE", "Comic Sans MS", cursive;
  --slash: polygon(10% 0, 100% 0, 90% 100%, 0 100%); /* the logo's slant, used on buttons and tags */
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body { margin: 0; overflow-x: clip; background: var(--navy); color: var(--paper); font: 500 17px/1.65 var(--body); -webkit-font-smoothing: antialiased; position: relative; }
/* behind everything: the logo's diagonal slabs and soft violet glows, drifting slowly */
body::before { content: ""; position: fixed; inset: -12% -10%; z-index: -1; pointer-events: none; transform: translate3d(0, calc(var(--sy, 0) * -.06px), 0);
  background: linear-gradient(116deg, transparent 0 14%, rgba(108, 78, 253, .10) 14% 24%, transparent 24% 46%, rgba(132, 119, 243, .07) 46% 50%, transparent 50% 74%, rgba(108, 78, 253, .09) 74% 86%, transparent 86%); }
svg { display: block; } a { color: inherit; } p { margin: 0; } h1, h2, h3, h4 { margin: 0; }
:focus-visible { outline: 3px solid var(--lav); outline-offset: 3px; }
.cream :focus-visible { outline-color: var(--blue); }
.ico { width: 1.25em; height: 1.25em; stroke: currentColor; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.wrap { width: min(1140px, 100% - 40px); margin-inline: auto; }

/* type */
h2 { font: 900 clamp(2.3rem, 6.4vw, 4.8rem)/.95 var(--poster); font-stretch: 112%; text-transform: uppercase; letter-spacing: -.01em; }
h3 { font: 600 1.25rem/1.2 var(--body); }
.lead { font-size: 1.15rem; color: var(--soft); max-width: 56ch; }
.cream .lead { color: var(--muted); }
.head { margin-bottom: clamp(28px, 4vw, 48px); } .head .lead { margin-top: 22px; }
code { font: 600 .86em var(--mono); background: var(--lav-2); color: var(--navy); padding: 2px 6px; border-radius: 6px; }

/* buttons: parallelogram, like the i-dot of the logo */
.btn { display: inline-flex; align-items: center; gap: 10px; font: 600 .95rem/1 var(--body); padding: 19px 34px; border: 0; background: var(--paper); color: var(--navy); text-decoration: none; cursor: pointer; clip-path: var(--slash); transition: background .15s, transform .15s; }
.btn:hover { background: var(--lav); transform: translateX(3px); }
.btn.violet { background: var(--violet); color: #fff; } .btn.violet:hover { background: var(--violet-2); }
.btn.ghost { background: rgba(255, 255, 255, .12); color: inherit; } .btn.ghost:hover { background: rgba(255, 255, 255, .22); }
.btn.small { padding: 14px 26px; font-size: .85rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.tag { display: inline-block; font: 500 0.8125rem/1 var(--body);  text-transform: none; padding: 7px 14px; background: var(--lav); color: var(--navy); clip-path: var(--slash); }
.tag.v { background: var(--violet); color: #fff; }

/* header */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background .25s, backdrop-filter .25s; }
.site-header.solid { background: rgba(16, 33, 57, .88); backdrop-filter: blur(14px); box-shadow: 0 1px 0 rgba(132, 119, 243, .3); }
.nav { position: relative; display: flex; align-items: center; gap: 26px; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font: 600 1rem/1 var(--body); }
.logo { width: 40px; height: 40px; border-radius: 9px; }
.nav-links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-links a:not(.btn) { text-decoration: none; font: 500 0.8125rem/1 var(--body);  text-transform: none; padding: 12px 14px; color: var(--soft); position: relative; }
.nav-links a:not(.btn):hover, .nav-links a[aria-current] { color: var(--paper); }
.nav-links a[aria-current]::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; background: var(--violet-2); }
.nav-links .btn { margin-left: 10px; }
.menu-btn { display: none; margin-left: auto; background: var(--navy-2); color: inherit; border: 0; padding: 12px 18px; font: 500 0.8125rem var(--body);  text-transform: none; cursor: pointer; clip-path: var(--slash); }
@media (max-width: 860px) {
   .menu-btn { display: block; }
  .nav-links { display: none; position: absolute; top: 100%; left: -20px; right: -20px; flex-direction: column; align-items: stretch; background: var(--navy); border-bottom: 1px solid rgba(132, 119, 243, .4); padding: 12px 20px 24px; }
  .nav-links.open { display: flex; } .nav-links a:not(.btn) { padding: 16px 4px; } .nav-links .btn { margin: 12px 0 0; justify-content: center; }
}

/* ===== HERO SCENE: chaos -> system, driven by scroll (--p goes 0 -> 1) ===== */
.scene { --p: 0; --w: 0; --o: 12; position: relative; height: 220vh; }
.scene .sticky { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; flex-direction: column; overflow: hidden; padding-top: 86px; }
.copy { width: min(1140px, 100% - 40px); margin: 0 auto; position: relative; z-index: 3; }
.scene h1 { font: 900 clamp(2.3rem, 6.2vw, 5.2rem)/.96 var(--poster); font-stretch: 112%; text-transform: uppercase; letter-spacing: -.01em; margin: 0 0 18px; }
.scene .lead { margin-bottom: 22px; max-width: 52ch; }
.board { position: relative; flex: 1; width: min(1140px, 100% - 40px); margin: 8px auto 28px; min-height: 250px; }
.item { --cw: 196px; position: absolute; left: calc((var(--sx) * (1 - var(--p)) + var(--ex) * var(--p)) * 1%); top: calc((var(--sy) * (1 - var(--p)) + var(--ey) * var(--p)) * 1%); width: var(--cw); transform: translate(-50%, -50%) rotate(calc(var(--sr) * (1 - var(--p)) * 1deg)); z-index: 1; }
.item > div { display: grid; min-height: 66px; padding: 12px 14px; border-radius: 12px; color: var(--navy); font: 600 .84rem/1.3 var(--body); background: color-mix(in srgb, var(--paper) calc(var(--p) * 100%), var(--bg0)); box-shadow: 0 14px 26px -14px rgba(0, 0, 0, .6); }
.item.chat { --bg0: #E3E5F0; } .item.note { --bg0: var(--note); }
.item.note .a { font-family: var(--hand); font-size: 1rem; }
.item > div > * { grid-area: 1 / 1; }
.a { opacity: clamp(0, calc(1.5 - var(--p) * 3), 1); }
.a small { display: block; font: 500 0.8125rem var(--body);  text-transform: none; color: var(--muted); margin-bottom: 3px; }
.b { display: flex; align-items: center; gap: 10px; opacity: clamp(0, calc(var(--p) * 3 - 1.5), 1); }
.b .ck { flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--violet); color: #fff; display: grid; place-items: center; }
.b .ck .ico { width: 14px; height: 14px; stroke-width: 3.2; }
.b span { font-weight: 800; } .b small { display: block; font-weight: 500; color: var(--muted); font-size: .72rem; }
@keyframes bob { 50% { transform: translateY(calc(-7px * (1 - var(--p)))) rotate(calc(1.2deg * (1 - var(--p)))); } }
.run { position: absolute; left: 50%; bottom: -6px; transform: translateX(-50%); z-index: 2; display: flex; align-items: center; gap: 10px; background: var(--violet); color: #fff; font: 700 .78rem var(--mono); letter-spacing: .08em; padding: 11px 22px; clip-path: var(--slash); opacity: clamp(0, calc(var(--p) * 4 - 3), 1); white-space: nowrap; }
.run::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #fff; }
@keyframes blink { 50% { opacity: .25; } }
.board .hint { position: absolute; left: 50%; bottom: -6px; transform: translateX(-50%); font: 500 0.8125rem var(--body);  text-transform: none; color: var(--soft); opacity: clamp(0, calc(1 - var(--p) * 5), 1); white-space: nowrap; }
.agents { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-top: 20px; font: 500 0.8125rem var(--body);  text-transform: none; color: var(--soft); }
.agents b { background: var(--violet); color: #fff; padding: 7px 14px; clip-path: var(--slash); font-weight: 700; }
@media (max-width: 760px) {
  .item { --cw: 148px; left: calc((var(--sx) * (1 - var(--p)) + var(--mx) * var(--p)) * 1%); top: calc((var(--sy) * (1 - var(--p)) + var(--my) * var(--p)) * 1%); }
  .item > div { min-height: 56px; padding: 9px 10px; font-size: .74rem; }
  .scene .lead { font-size: 1rem; margin-bottom: 16px; } .board { min-height: 300px; margin-bottom: 20px; }
  .btn { padding: 17px 26px; }
}
@media (max-height: 700px) { .scene .lead { display: none; } }
@media (prefers-reduced-motion: reduce) { .scene { height: auto; } .scene .sticky { position: relative; height: auto; min-height: 100svh; } .board { min-height: 340px; } .item > div { animation: none; } }

/* ===== bands: skewed backgrounds, the logo's slant ===== */
.band { position: relative; isolation: isolate; padding: clamp(72px, 8vw, 104px) 0; --bg: transparent; }
.band::before { content: ""; position: absolute; inset: 0; background: var(--bg); transform: skewY(-3deg); z-index: -1; }
.band.cream { --bg: var(--cream); color: var(--navy); }
.band.deep { --bg: var(--navy-3); }
.band.violet { --bg: var(--violet); }
.band.plain::before { display: none; }

/* faq as a chat thread */
.notes { display: flex; flex-wrap: wrap; gap: 18px; justify-content: center; margin-bottom: 64px; }
.sticky-note { background: var(--note); color: var(--navy); font: 400 1.25rem/1.25 var(--hand); padding: 22px 26px; max-width: 250px; transform: rotate(var(--r, -2deg)); box-shadow: 0 16px 28px -14px rgba(0, 0, 0, .6); }
.sticky-note b { display: block; font: 600 0.875rem var(--body);  text-transform: none; margin-bottom: 8px; color: var(--navy); }

/* closer */
.closer { text-align: center; }
.closer img { width: 96px; height: 96px; margin: 0 auto 30px; border-radius: 20px; }
@keyframes float { 50% { transform: translateY(-12px) rotate(-4deg); } }
.big { font: 900 clamp(2.8rem, 10vw, 8.4rem)/.92 var(--poster); font-stretch: 112%; text-transform: uppercase; letter-spacing: -.01em; margin-bottom: 28px; }
.closer .lead { margin: 0 auto 34px; color: var(--lav-2); }

/* cta bar */
.cta-bar { position: fixed; left: 50%; bottom: 18px; z-index: 40; transform: translate(-50%, 160%); transition: transform .4s var(--ease); display: flex; align-items: center; gap: 20px; background: var(--navy-3); color: var(--paper); padding: 8px 8px 8px 26px; box-shadow: 0 0 0 1px rgba(132, 119, 243, .5), 0 16px 40px -10px #000; font: 700 .78rem var(--mono); letter-spacing: .06em; white-space: nowrap; }
.cta-bar.show { transform: translate(-50%, 0); }
@media (max-width: 560px) { .cta-bar span { display: none; } .cta-bar { padding: 8px; } }

/* reveal */
.js .rv { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s var(--ease); transition-delay: var(--d, 0s); }
.js .rv.in { opacity: 1; transform: none; }

/* sub pages */
.page-hero { padding: clamp(112px, 12vw, 144px) 0 16px; }
.page-hero h1 { font: 900 clamp(2.4rem, 7vw, 5rem)/.95 var(--poster); font-stretch: 112%; text-transform: uppercase; margin-bottom: 20px; }
/* footer */
.site-footer { border-top: 1px solid rgba(132, 119, 243, .3); padding: 44px 0 36px; text-align: center; color: var(--soft); }
.foot-logo { width: 46px; height: 46px; border-radius: 11px; margin: 0 auto 14px; }
.sig { display: block; color: var(--paper); font: 600 1.0625rem var(--body); margin-bottom: 20px; text-decoration: none; }
.foot-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 26px; margin-bottom: 20px; font: 500 0.8125rem var(--body);  text-transform: none; }
.foot-links a { text-decoration: none; } .foot-links a:hover { color: var(--paper); }
.copy-line { font-size: .875rem; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .rv { opacity: 1; transform: none; }
}
* { scrollbar-width: thin; scrollbar-color: var(--violet-2) transparent; }
.nodes { scrollbar-width: none; } .nodes::-webkit-scrollbar { display: none; }
.vbody pre code { background: none; color: inherit; padding: 0; font: inherit; border-radius: 0; }

/* ===== static components ===== */
.grid { display: grid; gap: 20px; } .g3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .g3 { grid-template-columns: repeat(2, 1fr); } } @media (max-width: 600px) { .g3 { grid-template-columns: 1fr; } }
.icard { background: var(--navy-2); border-radius: 20px; padding: 30px; box-shadow: inset 0 0 0 1px rgba(185, 190, 221, .14); }
.icard h3 { font: 900 1.3rem/1.1 var(--poster); text-transform: uppercase; margin-bottom: 10px; }
.icard p { color: var(--soft); font-size: .97rem; }
.icard.hot { background: var(--violet); box-shadow: none; } .icard.hot p { color: var(--lav-2); }

/* curriculum (numbered contents) */
.curr { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 56px; }
@media (max-width: 820px) { .curr { grid-template-columns: 1fr; } }
.curr li { display: flex; gap: 22px; align-items: flex-start; padding: 24px 0; border-bottom: 1px solid rgba(185, 190, 221, .22); }
.curr b { flex: none; font: 900 2rem/1 var(--poster); color: var(--violet-2); min-width: 2.1em; }
.curr h3 { font: 900 1.12rem/1.15 var(--poster); text-transform: uppercase; margin-bottom: 6px; }
.curr p { color: var(--soft); font-size: .94rem; line-height: 1.5; }

/* nextwork-style library: toolbar, featured + recent, card grid */
.toolbar { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin-bottom: 28px; }
.search { flex: 1 1 280px; display: flex; align-items: center; gap: 12px; background: var(--navy-2); padding: 0 20px; border-radius: 999px; color: var(--soft); box-shadow: inset 0 0 0 1px rgba(185, 190, 221, .18); }
.search input { flex: 1; border: 0; background: none; font: inherit; padding: 16px 0; color: var(--paper); min-width: 0; } .search input:focus { outline: none; } .search input::placeholder { color: var(--soft); }
.search:focus-within { box-shadow: 0 0 0 2px var(--lav); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font: 500 0.8125rem/1 var(--body);  text-transform: none; padding: 12px 18px; background: var(--navy-2); color: var(--soft); border: 0; cursor: pointer; clip-path: var(--slash); }
.chip:hover { color: var(--paper); } .chip[aria-pressed="true"] { background: var(--paper); color: var(--navy); }
.feat-row { display: grid; grid-template-columns: 1.7fr 1fr; gap: 20px; margin-bottom: 36px; }
@media (max-width: 900px) { .feat-row { grid-template-columns: 1fr; } }
.feat { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; gap: 14px; min-height: 340px; padding: clamp(26px, 4vw, 44px); border-radius: 24px; text-decoration: none; color: var(--paper);
  background: linear-gradient(118deg, transparent 0 58%, rgba(255, 255, 255, .10) 58% 72%, transparent 72%), linear-gradient(150deg, var(--violet) 0%, var(--violet-dk) 100%); transition: transform .2s; }
.feat:hover { transform: translateY(-4px); }
.feat-kicker { align-self: flex-start; font: 500 0.8125rem var(--body);  text-transform: none; background: var(--paper); color: var(--navy); padding: 8px 16px; clip-path: var(--slash); }
.feat h3 { font: 900 clamp(1.9rem, 4vw, 3rem)/1 var(--poster); font-stretch: 110%; text-transform: uppercase; }
.feat p { color: var(--lav-2); max-width: 52ch; }
.feat-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.feat-meta .by { display: flex; align-items: center; gap: 10px; font: 600 .85rem var(--body); margin-right: 8px; } .feat-meta .by img { border-radius: 8px; }
.feat .tag { background: rgba(255, 255, 255, .18); color: #fff; }
.recent { background: var(--navy-2); border-radius: 24px; padding: 24px; box-shadow: inset 0 0 0 1px rgba(185, 190, 221, .16); }
.recent h3 { display: flex; align-items: center; gap: 10px; font: 500 0.8125rem var(--body);  text-transform: none; color: var(--soft); margin-bottom: 14px; }
.recent ol { list-style: none; margin: 0; padding: 0; }
.recent li + li { border-top: 1px solid rgba(185, 190, 221, .14); }
.recent a { display: grid; gap: 2px; padding: 13px 8px; border-radius: 10px; text-decoration: none; transition: background .15s; }
.recent a:hover { background: rgba(255, 255, 255, .06); }
.recent time { font: 500 0.8125rem var(--body);  text-transform: none; color: var(--violet-2); }
.recent b { font: 600 .98rem/1.25 var(--body); } .recent small { color: var(--soft); font-size: .8rem; }
.rcard { display: flex; flex-direction: column; background: var(--paper); color: var(--navy); border-radius: 20px; overflow: hidden; text-decoration: none; transition: transform .2s; }
.rcard:hover { transform: translateY(-5px); }
.rcard[hidden] { display: none; }
.thumb { height: 132px; display: flex; align-items: flex-end; padding: 16px 20px; position: relative; overflow: hidden; background: var(--violet); color: #fff; }
.thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(118deg, transparent 0 60%, rgba(255, 255, 255, .13) 60% 74%, transparent 74%); }
.thumb span { position: relative; z-index: 1; font: 900 1.7rem/1 var(--poster); text-transform: uppercase; }
.thumb.t2 { background: var(--navy); } .thumb.t3 { background: var(--lav); color: var(--navy); } .thumb.t4 { background: var(--blue); }
.rcard .body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.rcard h3 { font: 600 1.14rem/1.25 var(--body); } .rcard p { color: var(--muted); font-size: .93rem; line-height: 1.5; }
.meta { display: flex; flex-wrap: wrap; gap: 6px; } .rcard .tag { background: var(--lav-2); }
.empty { padding: 40px; text-align: center; color: var(--soft); background: var(--navy-2); border-radius: 20px; margin-top: 20px; } .empty[hidden] { display: none; }

/* resource pages */
.narrow { max-width: 860px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font: 500 0.8125rem var(--body);  text-transform: none; color: var(--soft); margin-bottom: 26px; }
.crumbs a { text-decoration: none; } .crumbs a:hover { color: var(--paper); } .crumbs span:last-child { color: var(--paper); }
.doc h2, .related h2 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); margin-bottom: 18px; }
.doc .hint { color: var(--soft); margin-bottom: 20px; }
.snippet { background: var(--paper); color: var(--navy); border-radius: 20px; overflow: hidden; margin-bottom: 72px; }
.snip-bar { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px 12px 24px; background: var(--lav); font: 500 0.8125rem var(--body);  text-transform: none; }
.snippet pre { margin: 0; padding: 26px 24px; white-space: pre-wrap; word-break: break-word; font: 500 .9rem/1.75 var(--mono); }
.related { padding-bottom: 120px; } .related .grid { margin-bottom: 36px; }
.join-card { display: flex; flex-wrap: wrap; gap: 20px 32px; align-items: center; justify-content: space-between; background: var(--violet); border-radius: 24px; padding: 30px 34px; }
.join-card p { color: var(--lav-2); margin-top: 6px; max-width: 54ch; }
.join-card h3 { font: 900 1.6rem/1.05 var(--poster); text-transform: uppercase; }

/* ===== motion round 5 ===== */
.rcard { animation: rise .5s both; } @keyframes rise { from { opacity: 0; transform: translateY(14px); } }
.rcard:nth-child(2) { animation-delay: .05s; } .rcard:nth-child(3) { animation-delay: .1s; } .rcard:nth-child(4) { animation-delay: .15s; }

/* marquees */
.mq-rows { display: grid; gap: 14px; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.mq { display: flex; gap: 14px; width: max-content; animation: slide var(--s, 60s) linear infinite; }
.mq.rev { animation-direction: reverse; } .marquee:hover .mq { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-50%); } }
.mq a { display: flex; align-items: center; gap: 14px; background: var(--navy-2); padding: 20px 30px; border-radius: 16px; text-decoration: none; font: 900 1.05rem/1 var(--poster); text-transform: uppercase; white-space: nowrap; box-shadow: inset 0 0 0 1px rgba(185, 190, 221, .16); transition: background .2s; }
.mq a:hover { background: var(--violet); }
.mq a b { font: 700 .72rem var(--mono); color: var(--violet-2); letter-spacing: .1em; } .mq a:hover b { color: #fff; }
@media (prefers-reduced-motion: reduce) { .marquee { overflow-x: auto; } .mq { animation: none; } .rcard { animation: none; } body::before { transform: none; } } 
/* curriculum page */
.cur-wrap { display: grid; grid-template-columns: 250px 1fr; gap: clamp(28px, 6vw, 80px); padding-bottom: 120px; align-items: start; }
.cur-side { position: sticky; top: 110px; }
.cur-count { display: flex; align-items: baseline; gap: 10px; }
.cur-count b { font: 900 clamp(4rem, 8vw, 6.4rem)/1 var(--poster); color: var(--violet-2); }
.cur-count span { font: 700 1rem var(--mono); color: var(--soft); }
.cur-bar { height: 8px; background: var(--navy-2); margin: 18px 0; clip-path: var(--slash); } .cur-bar i { display: block; height: 100%; width: 0; background: var(--violet-2); transition: width .3s; }
.cur-side p { font: 600 1rem/1.3 var(--body); color: var(--paper); min-height: 2.6em; }
.clist { list-style: none; margin: 0; padding: 0; }
.crow { display: flex; gap: clamp(18px, 4vw, 44px); align-items: baseline; padding: 30px 0; border-bottom: 1px solid rgba(185, 190, 221, .2); opacity: .38; transition: opacity .35s, padding-left .25s; }
.crow.done { opacity: 1; } .crow:hover { padding-left: 14px; opacity: 1; }
.crow b { flex: none; font: 900 clamp(2.4rem, 6vw, 4.2rem)/1 var(--poster); color: var(--soft); min-width: 1.7em; transition: color .35s; }
.crow.done b { color: var(--violet-2); }
.crow h2 { font: 900 clamp(1.3rem, 3vw, 2rem)/1.05 var(--poster); font-stretch: 108%; text-transform: uppercase; margin-bottom: 8px; }
.crow p { color: var(--soft); max-width: 52ch; }
@media (max-width: 820px) { .cur-wrap { grid-template-columns: 1fr; } .cur-side { position: sticky; top: 72px; z-index: 5; display: flex; align-items: center; gap: 16px; background: rgba(16, 33, 57, .92); backdrop-filter: blur(10px); padding: 10px 0; margin-bottom: 8px; } .cur-count b { font-size: 2.2rem; } .cur-bar { flex: 1; margin: 0; } .cur-side p { display: none; } }

.scene h1 .two { color: var(--note); }

.nav-links a:not(.btn), .menu-btn { font-size: .9375rem; }
.foot-links, .crumbs { font-size: .9375rem; }
.chip { font-size: .875rem; } .tag { font-size: .8125rem; }

/* ===== brief content: made for, explore rows, augmentation, build in the open, about, contact ===== */
.ph { background: rgba(222, 214, 251, .92); color: var(--navy); border: 1px dashed var(--violet); border-radius: 4px; padding: 0 .32em; font-size: .92em; font-family: var(--body); font-weight: 500; letter-spacing: 0; text-transform: none; }
.forwho { border-block: 1px solid rgba(185, 190, 221, .18); padding: 32px 0; }
.forwho .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; }
.label { margin: 0; font-weight: 500; color: var(--soft); }
.tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { background: var(--navy-2); border-radius: 8px; padding: 8px 16px; font-size: .9375rem; font-weight: 500; box-shadow: inset 0 0 0 1px rgba(185, 190, 221, .16); }
.rows { border-top: 1px solid rgba(185, 190, 221, .28); }
.row { display: grid; grid-template-columns: 1fr 2fr; gap: 16px 48px; padding: 32px 0; border-bottom: 1px solid rgba(185, 190, 221, .16); }
.row h3 { font: 900 1.25rem/1.15 var(--poster); text-transform: uppercase; }
.row p { color: var(--soft); max-width: 56ch; }
@media (max-width: 760px) { .row { grid-template-columns: 1fr; padding: 24px 0; } }
.ticks { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 8px; color: var(--soft); font-size: .9688rem; }
.ticks li { position: relative; padding-left: 28px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .32em; width: 16px; height: 16px; background: var(--violet-2); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / contain no-repeat; }
.aug { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; } .aug .lead { margin-top: 20px; }
.aug-points { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.aug-points li { border-top: 1px solid rgba(185, 190, 221, .28); padding-top: 16px; } .aug-points p { color: var(--soft); margin-top: 4px; font-size: .9688rem; }
@media (max-width: 900px) { .aug { grid-template-columns: 1fr; gap: 40px; } } @media (max-width: 520px) { .aug-points { grid-template-columns: 1fr; } }
.two-col { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: start; } .two-col .lead { margin-top: 20px; }
.h2-s { font-size: clamp(1.9rem, 4.4vw, 3.2rem); margin-bottom: 8px; }
.small-h { font-weight: 500; color: var(--soft); margin-bottom: 8px; }
.lines { list-style: none; margin: 0; padding: 0; } .lines li { padding: 16px 0; border-top: 1px solid rgba(185, 190, 221, .22); color: var(--soft); } .lines li:last-child { border-bottom: 1px solid rgba(185, 190, 221, .22); }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; gap: 40px; } }
.about-top { display: grid; grid-template-columns: 1.3fr 1fr; gap: 64px; align-items: center; }
.photo { aspect-ratio: 4 / 5; border: 1px dashed var(--violet-2); border-radius: 20px; background: rgba(108, 78, 253, .12); display: grid; place-items: center; text-align: center; padding: 24px; max-width: 380px; width: 100%; justify-self: end; }
@media (max-width: 900px) { .about-top { grid-template-columns: 1fr; gap: 40px; } .photo { justify-self: start; aspect-ratio: 1; max-width: 240px; } }
.story { font-size: 1.25rem; line-height: 1.7; margin-top: 20px; }
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 64px; align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; gap: 48px; } }
.field { display: grid; gap: 8px; margin-bottom: 24px; } .field label { font-weight: 500; }
.field input, .field select, .field textarea { font: inherit; padding: 12px 16px; border: 1px solid rgba(185, 190, 221, .3); border-radius: 10px; background: var(--navy-2); color: var(--paper); width: 100%; transition: border-color .16s var(--ease); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--violet-2); box-shadow: 0 0 0 3px rgba(132, 119, 243, .25); }
.field .bad { border-color: #FF8A8A; }
.status { margin-top: 16px; font-weight: 500; } .status.ok { color: #7FE0A8; } .status.err { color: #FF9A9A; }
.side { border-top: 1px solid rgba(185, 190, 221, .28); padding-top: 24px; } .side a { color: var(--note); font-weight: 500; } .side p { margin-bottom: 20px; }
.btn.small, .btn { font-weight: 600; }

/* ===== round 8: waitlist, token-saving pillars, explore bento, FAQ accordion, socials, photo ===== */
.opt { color: var(--soft); font-weight: 400; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .pillars { grid-template-columns: 1fr; } }
.pillar { background: var(--navy-2); border-radius: 20px; padding: 32px; box-shadow: inset 0 0 0 1px rgba(185, 190, 221, .16); }
.pillar h3 { font: 900 1.5rem/1.1 var(--poster); text-transform: uppercase; margin-bottom: 12px; }
.pillar p { color: var(--soft); }
.pillar.hot { background: var(--violet); box-shadow: none; } .pillar.hot p, .pillar.hot .ticks { color: var(--lav-2); } .pillar.hot .ticks li::before { background: #fff; }
.aside { margin-top: 32px; color: var(--soft); }

.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; }
.tile { border-radius: 20px; padding: 32px; display: flex; flex-direction: column; gap: 12px; }
.tile h3 { font: 900 1.375rem/1.1 var(--poster); text-transform: uppercase; }
.tile p { max-width: 46ch; }
.tl { list-style: none; margin: auto 0 0; padding: 16px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tl li { border-radius: 6px; padding: 4px 12px; font-size: .875rem; font-weight: 500; background: rgba(255, 255, 255, .16); }
.t-work { grid-column: span 7; background: var(--violet); } .t-work p { color: var(--lav-2); }
.t-biz { grid-column: span 5; background: var(--navy-2); box-shadow: inset 0 0 0 1px rgba(185, 190, 221, .16); } .t-biz p { color: var(--soft); }
.t-free { grid-column: span 4; background: var(--lav); color: var(--navy); } .t-free p { color: #3B3A66; }
.t-life { grid-column: span 4; background: var(--cream); color: var(--navy); } .t-life p { color: var(--muted); } .t-life .tl li { background: rgba(16, 33, 57, .08); }
.t-build { grid-column: span 4; background: var(--navy-2); box-shadow: inset 0 0 0 1px rgba(185, 190, 221, .16); } .t-build p { color: var(--soft); }
.t-eff { grid-column: span 12; background: var(--violet-dk); } .t-eff p { color: var(--lav-2); max-width: 64ch; }
@media (max-width: 900px) { .tile { grid-column: span 12 !important; } }

.faq { border-top: 1px solid rgba(185, 190, 221, .28); }
.faq details { border-bottom: 1px solid rgba(185, 190, 221, .16); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; padding: 24px 0; font-weight: 500; font-size: 1.0625rem; }
.faq summary::-webkit-details-marker { display: none; } .faq summary::after { content: "+"; font: 400 1.5rem/1 var(--body); color: var(--violet-2); } .faq details[open] summary::after { content: "\2013"; }
.faq p { padding: 0 0 24px; color: var(--soft); max-width: 62ch; }

img.photo { aspect-ratio: 4 / 5; height: auto; object-fit: cover; object-position: 50% 20%; border: 0; padding: 0; background: var(--navy-2); }
.socials { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.socials a { display: inline-flex; gap: 12px; align-items: baseline; background: var(--navy-2); padding: 14px 20px; border-radius: 10px; text-decoration: none; font-weight: 600; box-shadow: inset 0 0 0 1px rgba(185, 190, 221, .16); transition: background-color .16s var(--ease); }
.socials a:hover { background: var(--violet); } .socials span { font-weight: 400; color: var(--soft); } .socials a:hover span { color: #fff; }

/* social icons */
.socials .ico { width: 1.25em; height: 1.25em; align-self: center; }
.foot-social { display: flex; justify-content: center; gap: 12px; margin-bottom: 20px; }
.foot-social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; background: var(--navy-2); color: var(--soft); box-shadow: inset 0 0 0 1px rgba(185, 190, 221, .16); transition: background-color .16s var(--ease), color .16s var(--ease); }
.foot-social a:hover { background: var(--violet); color: #fff; }
.foot-social .ico { width: 20px; height: 20px; }
.side .socials { margin-top: 16px; }

/* ===== round 10: readable text everywhere, tighter gaps ===== */
/* panels that carry text on violet use a slightly deeper violet and pure white text (6:1+) */
.pillar.hot, .t-work { background: #5A3FE6; }
.pillar.hot p, .pillar.hot .ticks, .t-work p, .t-eff p { color: #fff; }
.t-eff { background: #4B33D6; }
.t-life p { color: #34405A; }
.t-free p { color: #2B2A57; }
/* tag chips sit on a darker tint so their white text is easy to read on every tile */
.tl li { background: rgba(16, 33, 57, .34); color: #fff; }
.t-life .tl li { background: rgba(16, 33, 57, .1); color: var(--navy); }
.t-free .tl li { background: rgba(16, 33, 57, .1); color: var(--navy); }
.closer .lead { color: #fff; }
.band.violet .lead { color: #fff; }
.btn.small, .btn { font-weight: 600; }
.lead { font-weight: 500; }
.contact-grid { padding-bottom: 80px !important; }
.faq summary { font-weight: 600; }
.faq p { color: var(--soft); font-size: 1.0625rem; line-height: 1.7; }
.sec-head, .head .lead { max-width: 60ch; }

/* back-to-back plain sections share one gap instead of two */
.band.plain + .band.plain { padding-top: 8px; }
.notes { margin-bottom: 0; }
/* deeper violet for text-bearing panels: white text at 7:1+ */
.pillar.hot, .t-work { background: #5034D8; }

/* empty padding between neighbouring sections is halved: only coloured bands keep full padding inside their own background */
.band:not(.plain) + .band.plain { padding-top: 24px; }
.band.plain:has(+ .band:not(.plain)) { padding-bottom: 32px; }
.band.plain + .band.plain { padding-top: 8px; }
.scene { height: 190vh; }

/* ===== round 11: all text on dark is white; the extra hierarchy comes from size and weight ===== */
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.fine { margin-top: 16px; font-size: .9375rem; }
.small-h, .label, .aside, .opt { color: #fff; }
.small-h { font-weight: 600; }
.nav-links a:not(.btn), .foot-links a, .copy-line, .socials span { color: #fff; }
.nav-links a:not(.btn):hover, .nav-links a[aria-current] { background: rgba(255, 255, 255, .12); }
.tags li, .tl li { color: #fff; }
.faq p, .row p, .lead, .pillar p, .aug-points p, .ticks, .lines li { color: #fff; }
.t-life p, .t-free p { color: var(--navy); }
.t-life .tl li, .t-free .tl li { color: var(--navy); }

/* ===== round 12: consent, privacy page, profile block ===== */
.consent { display: flex; gap: 14px; align-items: flex-start; cursor: pointer; font-weight: 500; line-height: 1.5; }
.consent input { flex: none; width: 24px; height: 24px; margin: 2px 0 0; accent-color: var(--violet-2); cursor: pointer; }
.consent-field { margin-bottom: 24px; }
.fine a, .prose a { color: #fff; text-decoration: underline; text-underline-offset: .2em; }
.prose h2 { font: 900 1.35rem/1.15 var(--poster); text-transform: uppercase; margin: 40px 0 12px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: #fff; max-width: 68ch; }
.prose ul { margin: 0 0 1em; padding-left: 1.25em; display: grid; gap: 8px; }
.profile { display: grid; gap: 16px; justify-self: end; width: 100%; max-width: 380px; }
.profile .photo { justify-self: stretch; max-width: none; }
.profile .socials { flex-direction: column; margin-top: 0; gap: 8px; }
.profile .socials a { width: 100%; }
@media (max-width: 900px) { .profile { justify-self: start; max-width: 100%; } .profile .photo { max-width: 260px; } }

/* ===== round 15: social links as three icon buttons in one row, the same width as the photo ===== */
.profile { max-width: 380px; }
.profile .socials.icons { flex-direction: row; flex-wrap: nowrap; gap: 12px; margin-top: 0; }
.profile .socials.icons li { flex: 1 1 0; min-width: 0; }
.profile .socials.icons a { width: 100%; height: 56px; justify-content: center; align-items: center; padding: 0; border-radius: 12px; }
.profile .socials.icons .ico { width: 26px; height: 26px; }
@media (max-width: 900px) { .profile { max-width: 320px; } .profile .photo { max-width: none; } }

/* ===== round 16: the next band's slanted top edge must not cross the content above it ===== */
.page-hero, .forwho { position: relative; z-index: 1; }
.page-hero:has(+ .band) { padding-bottom: 56px; }
.band.plain:has(+ .band:not(.plain)) { padding-bottom: 56px; }

/* ===== 404 page ===== */
.nf { min-height: 100svh; display: grid; align-items: center; padding: 120px 0 72px; position: relative; z-index: 1; }
.nf-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 5vw, 72px); align-items: center; }
.nf-art { position: relative; display: grid; place-items: center; min-height: clamp(220px, 34vw, 420px); }
.nf-num { position: relative; font: 900 clamp(8rem, 24vw, 19rem)/.85 var(--poster); font-stretch: 125%; letter-spacing: -.03em; margin: 0;
  color: var(--lav); animation: nf-in .9s var(--ease) both; }
.nf-slab { position: absolute; inset: 8% 4%; background: rgba(108, 78, 253, .22); clip-path: var(--slash); animation: nf-slab 1.1s var(--ease) both; }
.nf-slab.two { inset: 22% -2% 2% 18%; background: rgba(156, 146, 255, .14); animation-delay: .12s; }
.nf-copy h1 { font: 900 clamp(2.2rem, 5.2vw, 3.8rem)/.98 var(--poster); font-stretch: 112%; text-transform: uppercase; margin-bottom: 20px; }
.nf-copy .btn-row { margin-top: 32px; }
.nf-links { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 26px; margin: 34px 0 0; padding: 0; }
.nf-links a { color: var(--lav-2); font-weight: 600; text-underline-offset: 5px; text-decoration-thickness: 2px; }
.nf-links a:hover { color: #fff; }
@keyframes nf-in { from { opacity: 0; transform: translateY(24px); } }
@keyframes nf-slab { from { opacity: 0; transform: translateX(-40px); } }
@media (max-width: 800px) { .nf { padding-top: 104px; } .nf-grid { grid-template-columns: 1fr; text-align: left; } .nf-art { min-height: 200px; } }
@media (prefers-reduced-motion: reduce) { .nf-num, .nf-slab { animation: none; } }

/* the Join button is greyed out until the consent box is ticked */
.btn:disabled, .btn:disabled:hover { background: rgba(255, 255, 255, .12); color: rgba(255, 255, 255, .72); cursor: not-allowed; transform: none; }
/* "Conditions" is a long word: keep the terms heading inside a phone screen */
body[data-page="terms"] .page-hero h1 { font-size: clamp(1.75rem, 8.2vw, 5rem); }

/* cookie notice */
.cookie { position: fixed; left: 16px; bottom: 16px; z-index: 60; width: min(440px, calc(100% - 32px)); padding: 18px 20px; background: var(--navy-2); border: 1px solid rgba(156, 146, 255, .45); border-radius: 14px; box-shadow: 0 18px 50px rgba(0, 0, 0, .45); }
.cookie[hidden] { display: none; }
.cookie p { color: #fff; font-size: .95rem; line-height: 1.55; }
.cookie a { color: #fff; text-decoration: underline; text-underline-offset: .2em; }
.cookie-btns { display: flex; gap: 12px; margin-top: 14px; }
.cookie-btns .btn { flex: 1; justify-content: center; }

/* terms page tabs */
.tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.tabs a { display: inline-flex; padding: 13px 24px; background: rgba(255, 255, 255, .12); color: #fff; font: 600 .9rem/1 var(--body); text-decoration: none; clip-path: var(--slash); transition: background .15s; }
.tabs a:hover { background: rgba(255, 255, 255, .22); }
.tabs a[aria-current] { background: var(--violet); }
.tabpanel[hidden] { display: none; }
.tabpanel { scroll-margin-top: 90px; }
.prose strong { color: #fff; }
.side p + .h2-s { margin-top: 36px; }
/* waitlist result message: a clear box so people can see whether they were added */
.status.ok, .status.err { padding: 14px 16px; border-radius: 10px; border: 1px solid currentColor; background: rgba(255, 255, 255, .06); line-height: 1.5; }
/* cookie notice: one horizontal bar, centred at the bottom (stacks on phones) */
.cookie { left: 50%; transform: translateX(-50%); width: min(940px, calc(100% - 32px)); display: flex; align-items: center; gap: 24px; padding: 16px 22px; }
.cookie p { flex: 1; }
.cookie-btns { margin-top: 0; flex: none; }
.cookie-btns .btn { flex: none; min-width: 112px; }
@media (max-width: 680px) { .cookie { flex-direction: column; align-items: stretch; gap: 14px; } .cookie-btns .btn { flex: 1; } }
/* the floating join bar sits above the cookie notice while it is open */
.cta-bar { bottom: calc(18px + var(--cookie-h, 0px)); transition: transform .4s var(--ease), bottom .3s var(--ease); }
/* space between paragraphs, lists and the cookie button on the legal page */
.prose p + p, .prose p + ul, .prose ul + p { margin-top: 1em; }

/* footer: Google preferred-source link */
.foot-pref { margin-bottom: 20px; }

/* links that jump to a section stop below the fixed header */
html { scroll-padding-top: 92px; }

/* phones: no scroll-driven hero. The page scrolls normally and a slider turns the mess into a system */
.build { display: none; }
.build[hidden] { display: none !important; }
@media (max-width: 760px) {
  .scene { height: auto; }
  .scene .sticky { position: relative; height: auto; min-height: 0; padding-bottom: 8px; }
  .scene .lead { display: block; }
  .board .hint { display: none; }
  .board { margin-bottom: 12px; }
  .build { display: block; width: min(1140px, 100% - 40px); margin: 0 auto 40px; position: relative; z-index: 3; }
  .build label { display: block; font: 600 1rem/1.3 var(--body); color: #fff; margin-bottom: 8px; }
  .build input[type=range] { width: 100%; height: 44px; margin: 0; accent-color: var(--violet-2); cursor: pointer; }
  .build-ends { display: flex; justify-content: space-between; font: 500 .9rem var(--body); color: #fff; }
}

/* buttons stay still on hover: only the colour changes */
.btn:hover { transform: none; }
@media (max-width: 760px) { .run { display: none; } }   /* the "Running automatically" chip sat on top of the cards on phones */

/* hero on every screen size: the page scrolls normally and the slider builds the system */
.scene { height: auto; }
.scene .sticky { position: relative; height: auto; min-height: 0; padding-bottom: 8px; }
.scene .lead { display: block; }
.board { min-height: 290px; margin-bottom: 8px; }
.board .hint, .run { display: none; }
.build { display: block; width: min(1140px, 100% - 40px); margin: 0 auto 56px; position: relative; z-index: 3; }
.build label { display: block; font: 600 1rem/1.3 var(--body); color: #fff; margin-bottom: 8px; }
.build input[type=range] { width: min(520px, 100%); height: 44px; margin: 0; accent-color: var(--violet-2); cursor: pointer; display: block; }
.build-ends { display: flex; justify-content: space-between; width: min(520px, 100%); font: 500 .9rem var(--body); color: #fff; }
@media (max-width: 760px) { .board { min-height: 300px; } .build input[type=range], .build-ends { width: 100%; } }
