/* SHAKA — graph paper, blue ink, one orange square. Sharp corners, dashed rules, hard shadows. */
@font-face { font-family: Geist; src: url(/assets/fonts/geist-400.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: Geist; src: url(/assets/fonts/geist-500.woff2) format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: Geist; src: url(/assets/fonts/geist-600.woff2) format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url(/assets/fonts/geist-mono-400.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url(/assets/fonts/geist-mono-500.woff2) format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: "Architects Daughter"; src: url(/assets/fonts/architects-daughter-400.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: Caveat; src: url(/assets/fonts/caveat-700.woff2) format('woff2'); font-weight: 700; font-display: swap; }

:root {
  /* Robinhood: black, white, neutrals, Robin Neon; green up, red-orange down */
  --paper: #0a0a0a; --card: #141414; --sheet: #101010; --panel: #141414; --ink: #f2f2f2; --h1: #ffffff; --ink2: #b0b0b0; --muted: #7a7a7a; --line: #2f2f2f;
  --blue: #ccff00; --blue2: #b5e600; --orange: #ccff00; --yellow: #0a0a0a; --ok: #00c805; --bad: #ff5000; --on: #0a0a0a;
  --ui: Geist, "Helvetica Neue", Arial, sans-serif; --mono: "Geist Mono", ui-monospace, Menlo, monospace; --hand: "Architects Daughter", "Segoe Print", cursive;
  --gut: clamp(16px, 2.2vw, 28px); --shadow: 6px 6px 0 rgba(204,255,0,.09);
  color-scheme: light;
}
html { font-size: 15px; -webkit-text-size-adjust: 100%; }
@media (min-width: 1600px) { html { font-size: 17px } }
@media (min-width: 2000px) { html { font-size: 19px } }
* { box-sizing: border-box; }
body { margin: 0; font: 400 1rem/1.3 var(--ui); color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
::selection { background: var(--blue); color: var(--on); }
a { color: inherit; }
img, svg { display: block; }
button { font: inherit; color: inherit; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
sub, sup { font-size: .62em; line-height: 0; }

.paper { position: relative; min-height: 100vh; background: var(--paper);
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 22px 22px; overflow-x: clip; }
.wrap { width: min(1440px, 100% - 2 * var(--gut)); margin: 0 auto; }

/* ---------------- header ---------------- */
.top { position: sticky; top: 0; z-index: 50; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem; padding: 14px var(--gut);
  background: linear-gradient(var(--paper) 70%, rgba(10,10,10,0)); }
.coord { font: 400 .72rem/1.05 var(--hand); opacity: .85; }
.nav { position: relative; display: flex; align-items: center; gap: clamp(.8rem, 2vw, 2rem); background: var(--panel); border: 1px solid var(--line); padding: 6px 6px 6px 10px; box-shadow: 0 1px 0 rgba(0,0,0,.4); }
.logo { display: flex; align-items: center; gap: .55rem; font: 500 1.05rem/1 var(--ui); letter-spacing: -.03em; text-decoration: none; color: var(--ink); }
.logo i { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; width: 30px; height: 30px; flex: none; }
.logo i b { background: var(--blue); }
.logo i b:nth-child(1) { border-radius: 0 100% 0 0; }
.logo i b:nth-child(2) { border-radius: 50%; }
.logo i b:nth-child(3) { border-radius: 0; transform: scale(.72); }
.logo i b:nth-child(4) { border-radius: 0 0 100% 0; }
.links { display: flex; gap: clamp(.8rem, 1.6vw, 1.6rem); font: 400 .88rem/1 var(--mono); }
.links a { text-decoration: none; white-space: nowrap; }
.links a:hover { text-decoration: underline; text-underline-offset: .25em; }
.icons { display: flex; gap: 4px; }
.ico { width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid var(--line); background: var(--panel); text-decoration: none; }
.ico svg { width: 14px; height: 14px; fill: var(--ink); }
.ico:hover { border-color: var(--ink); }
.cta, .btn { display: inline-flex; align-items: center; gap: .6rem; background: var(--blue); color: var(--on); border: 0; text-decoration: none; cursor: pointer; white-space: nowrap; }
.cta { font: 500 .9rem/1 var(--mono); padding: 6px 14px 6px 6px; }
.cta i, .btn i { width: 28px; height: 28px; background: var(--on); display: grid; place-items: center; flex: none; }
.cta i::after { content: ""; width: 10px; height: 10px; border: 2px solid var(--blue); border-radius: 50%; }
.cta:hover, .btn:hover { background: var(--blue2); }
.handle { justify-self: end; font: 400 .85rem/1 var(--hand); letter-spacing: .02em; text-decoration: none; text-transform: uppercase; }
.burger { all: unset; display: none; width: 36px; height: 36px; place-content: center; gap: 5px; cursor: pointer; }
.burger span { display: block; width: 20px; height: 2px; background: var(--ink); transition: transform .2s, opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.burger:focus-visible { outline: 2px solid var(--blue); }
.menu { position: absolute; left: var(--gut); right: var(--gut); top: calc(100% - 4px); background: var(--panel); border: 1px solid var(--line); box-shadow: var(--shadow); display: grid; padding: .4rem 1rem 1rem; z-index: 6; }
.menu[hidden] { display: none; }
.menu a:not(.cta) { padding: .85rem 0; border-bottom: 1px dashed var(--line); font: 500 1.05rem/1 var(--ui); letter-spacing: -.01em; text-decoration: none; }
.menu .cta { margin-top: .9rem; justify-content: center; padding: 10px 14px 10px 10px; }
@media (max-width: 900px) {
  .top { grid-template-columns: 1fr; }
  .coord, .links, .nav > .cta, .nav > .icons { display: none; }
  .burger { display: grid; }
  .nav { width: 100%; justify-content: space-between; }
  .handle { display: none; }
}

/* ---------------- buttons ---------------- */
.btn { font: 500 1rem/1 var(--mono); padding: 8px 18px 8px 8px; }
.btn i { width: 32px; height: 32px; }
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--ink); padding: 14px 18px; }
.btn.ghost:hover { background: rgba(255,255,255,.06); }

/* ---------------- hero ---------------- */
.hero { position: relative; text-align: center; padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(1.5rem, 3vw, 2.5rem); }
.sky { position: absolute; inset: 0 -2vw; pointer-events: none; z-index: 0; }
.sky span { position: absolute; font: 400 clamp(.75rem, 1.15vw, 1.25rem)/1.1 var(--hand); color: var(--ink); opacity: .3; white-space: nowrap; transform: rotate(var(--r)); }
.fr { display: inline-flex; flex-direction: column; vertical-align: middle; line-height: 1; font-size: .9em; margin: 0 .12em; text-align: center; }
.fr b { font-weight: inherit; border-bottom: 1.5px solid currentColor; padding: 0 .1em .05em; }
.h1 { position: relative; display: inline-block; z-index: 1; }
.h1 h1 { margin: 0; font: 500 clamp(2.7rem, 8vw, 8.6rem)/.9 var(--ui); letter-spacing: -.055em; color: var(--h1); }
.note { position: absolute; font: 400 clamp(.85rem, 1.25vw, 1.35rem)/.95 var(--hand); color: var(--muted); text-transform: uppercase; transform: rotate(-4deg); }
.note.a { right: calc(100% + 1.2rem); top: 22%; border-bottom: 1.5px solid currentColor; padding-bottom: 2px; white-space: nowrap; }
.note.b { left: calc(100% + 1rem); bottom: 18%; text-align: left; line-height: 1.05; white-space: nowrap; }
@media (max-width: 1100px) { .note.a { position: static; display: inline-block; margin-bottom: 1rem; } .note.b { position: static; display: block; margin-top: 1rem; text-align: center; } }
.sub { position: relative; z-index: 1; margin: clamp(1.2rem, 2.4vw, 2rem) auto 0; max-width: 52ch; font: 400 clamp(1rem, 1.45vw, 1.3rem)/1.4 var(--ui); letter-spacing: -.02em; color: var(--ink2); }
.hero__go { position: relative; z-index: 1; display: flex; justify-content: center; flex-wrap: wrap; gap: .7rem; margin-top: clamp(1.3rem, 2.4vw, 2rem); }
/* the CA: only here, full address, COPY */
.ca { position: relative; z-index: 1; display: inline-flex; align-items: stretch; margin-top: 1rem; max-width: 100%; background: var(--sheet); border: 1px dashed var(--line); font: 400 .9rem/1.3 var(--mono); }
.ca__k { display: grid; place-items: center; padding: 0 .75rem; background: var(--blue); color: var(--on); font-weight: 500; letter-spacing: .04em; }
.ca__v { padding: .6rem .8rem; color: var(--ink); overflow-wrap: anywhere; text-align: left; }
.ca.is-soon .ca__v { color: var(--muted); }
.ca__copy { display: inline-flex; align-items: center; gap: .4rem; border: 0; border-left: 1px dashed var(--line); background: transparent; padding: 0 .9rem; font: 500 .82rem/1 var(--mono); cursor: pointer; color: var(--blue); }
.ca__copy svg { width: 14px; height: 14px; fill: currentColor; }
.ca__copy:disabled { color: var(--muted); cursor: default; }
.ca__copy.is-done { color: var(--ok); }
@media (max-width: 520px) { .ca { font-size: .78rem; } .ca__copy span { display: none; } }

/* banner: the 3D study */
.band { position: relative; margin: 1em 40px; border: 1px solid var(--line); overflow: hidden; background: #050505; }
.study { position: relative; aspect-ratio: 3.25 / 1; }
.study__still { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 70%; transition: opacity .8s; }
.study__gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity .8s; }
.study.is-live .study__gl { opacity: 1; }
.study.is-live .study__still { opacity: 0; }
.band figcaption { position: absolute; top: clamp(.9rem, 2.2vw, 2rem); left: clamp(1rem, 14%, 16rem); right: clamp(1rem, 12%, 14rem); display: flex; align-items: center; justify-content: center; gap: .5rem; text-align: center; color: var(--ink); font: 500 clamp(.95rem, 1.6vw, 1.6rem)/1.2 var(--ui); letter-spacing: -.03em; pointer-events: none; }
.band figcaption span { background: rgba(10,10,10,.62); padding: .1em .35em; color: #fff; }
.band figcaption i { width: .7em; height: .7em; background: var(--orange); flex: none; animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0 } }
.band__hint { position: absolute; right: .7rem; bottom: .6rem; font: 400 .72rem/1 var(--mono); color: var(--ink2); background: rgba(10,10,10,.7); padding: .35rem .5rem; pointer-events: none; }
@media (max-width: 900px) { .band { margin: 1em 0; } }
@media (max-width: 700px) {
  .study { aspect-ratio: 1 / 1; }
  .band figcaption { position: static; padding: .7rem .9rem; background: var(--blue); color: var(--on); font-size: .95rem; text-align: left; justify-content: flex-start; }
  .band figcaption span { background: none; padding: 0; color: var(--on); }
  .band__hint { display: none; }
}
.strip { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem 2rem; padding: 1.1rem 0 0; font: 400 clamp(.8rem, 1.05vw, 1.05rem)/1.2 var(--hand); color: var(--ink2); }
.strip span:nth-child(odd) { transform: rotate(1deg); }
.strip span:nth-child(even) { transform: rotate(-1.5deg); }
@media (max-width: 700px) { .strip { justify-content: flex-start; gap: .4rem 1.2rem; } }

/* ---------------- sections ---------------- */
.sec { position: relative; padding: clamp(3.5rem, 8vw, 7rem) 0 0; scroll-margin-top: 4rem; }
.side { position: absolute; right: 0; top: clamp(3.5rem, 8vw, 7rem); font: 400 clamp(1rem, 2vw, 1.9rem)/1 var(--hand); color: var(--blue); opacity: .55; transform: rotate(-5deg); white-space: nowrap; }
@media (max-width: 700px) { .side { display: none; } }
.h2 { font: 500 clamp(2.2rem, 5vw, 4.8rem)/.95 var(--ui); letter-spacing: -.05em; margin: 0 0 clamp(1.5rem, 3vw, 2.6rem); max-width: 16ch; }
.h2 em { display: block; font: 400 .34em/1 var(--hand); color: var(--muted); font-style: normal; letter-spacing: 0; text-transform: uppercase; transform: rotate(-3deg); transform-origin: left; margin-bottom: .6em; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px dashed var(--ink); }
.steps > div { padding: 1.6rem 1.6rem 1.8rem 0; border-right: 1px dashed var(--line); min-width: 0; }
.steps > div + div { padding-left: 1.6rem; }
.steps > div:last-child { border-right: 0; }
.steps b { display: block; font: 400 1.6rem/1 var(--hand); color: var(--orange); margin-bottom: .9rem; }
.steps h3 { margin: 0 0 .5rem; font: 500 clamp(1.25rem, 1.8vw, 1.7rem)/1.1 var(--ui); letter-spacing: -.035em; }
.steps p { margin: 0; color: var(--ink2); line-height: 1.45; max-width: 34ch; }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr !important; } .steps > div, .steps > div + div { padding: 1.3rem 0; border-right: 0; border-bottom: 1px dashed var(--line); } }

.rows { border-top: 1px dashed var(--ink); }
.row { display: grid; grid-template-columns: 1.4fr 1fr auto; gap: 1rem; align-items: baseline; padding: clamp(.9rem, 1.6vw, 1.35rem) 0; border-bottom: 1px dashed var(--ink); font: 500 clamp(1.05rem, 1.9vw, 1.7rem)/1.1 var(--ui); letter-spacing: -.035em; text-decoration: none; }
.row > span:nth-child(2) { color: var(--ink2); font-weight: 400; }
.row small { font: 400 .9rem/1 var(--mono); color: var(--muted); letter-spacing: 0; text-align: right; white-space: nowrap; }
.row small .up { color: var(--ok); } .row small .down { color: var(--bad); }
.row:hover > span:first-child { text-decoration: underline; text-underline-offset: .2em; }
@media (max-width: 640px) { .row { grid-template-columns: 1fr auto; } .row small { grid-column: 1 / -1; text-align: left; } }
.alt { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.4rem; }
.alt > div { border: 1px dashed var(--ink); padding: 1.1rem 1.2rem; display: grid; gap: .45rem; align-content: start; }
.alt b { font: 500 1.25rem/1.1 var(--ui); letter-spacing: -.03em; }
.alt span { color: var(--ink2); line-height: 1.45; }
.alt a { font: 400 .88rem/1 var(--mono); color: var(--blue); text-underline-offset: .25em; justify-self: start; margin-top: .3rem; }
@media (max-width: 700px) { .alt { grid-template-columns: 1fr; } }

.sheet { background: var(--sheet); border: 1px solid var(--line); padding: clamp(1.4rem, 4vw, 4.5rem); box-shadow: var(--shadow); }
.formula { font: 400 clamp(1.3rem, 3.2vw, 2.9rem)/1.2 var(--mono); letter-spacing: -.04em; color: var(--blue); margin: 0 0 1.6rem; white-space: nowrap; overflow-x: auto; }
.terms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.terms > div { border-top: 1px solid var(--line); padding-top: .9rem; min-width: 0; }
.terms b { display: block; font: 500 1.1rem/1.2 var(--ui); letter-spacing: -.02em; margin-bottom: .35rem; }
.terms p { margin: 0; color: var(--ink2); line-height: 1.45; }
.terms .hand { font: 400 1.05rem/1.2 var(--hand); color: var(--orange); margin-top: .6rem; }
.habit { margin-top: 1.8rem; display: grid; grid-template-columns: auto 1fr; gap: 1.2rem 2rem; align-items: center; border-top: 1px dashed var(--line); padding-top: 1.4rem; }
.habit label { font: 400 .85rem/1.2 var(--mono); color: var(--ink2); display: grid; gap: .5rem; }
.habit input[type=range] { width: min(320px, 100%); accent-color: var(--blue); }
.habit__out { font: 400 .95rem/1.5 var(--mono); color: var(--ink); }
.habit__out b { color: var(--blue); font-weight: 500; }
.bars { display: flex; align-items: flex-end; gap: 3px; height: 90px; grid-column: 1 / -1; }
.bars i { flex: 1; background: var(--blue); min-width: 2px; opacity: .85; }
@media (max-width: 800px) { .terms { grid-template-columns: 1fr; } }
@media (max-width: 700px) { .formula { white-space: normal; font: 400 clamp(1.05rem, 5.2vw, 1.5rem)/1.45 var(--mono); } .habit { grid-template-columns: 1fr; } }

.two { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem, 2vw, 1.6rem); }
.card { background: var(--card); border: 1px solid var(--line); padding: clamp(1.3rem, 2.6vw, 2.2rem); display: grid; gap: .8rem; align-content: start; min-width: 0; }
.card .big { font: 500 clamp(2.6rem, 5vw, 4.4rem)/.9 var(--ui); letter-spacing: -.05em; color: var(--blue); }
.card h3 { margin: 0; font: 500 1.3rem/1.15 var(--ui); letter-spacing: -.03em; }
.card p { margin: 0; color: var(--ink2); line-height: 1.45; }
.card ul { list-style: none; padding: 0; margin: 0; font: 400 .92rem/1.6 var(--mono); }
.card li::before { content: "✓ "; color: var(--blue); }
@media (max-width: 800px) { .two { grid-template-columns: 1fr; } }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px dashed var(--ink); border-bottom: 1px dashed var(--ink); margin-bottom: 1.4rem; }
.stats > div { padding: 1.2rem 1rem 1.2rem 0; min-width: 0; }
.stats b { display: block; font: 500 clamp(1.8rem, 3.4vw, 3rem)/1 var(--ui); letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.stats span { font: 400 .82rem/1.2 var(--mono); color: var(--muted); }
@media (max-width: 800px) { .stats { grid-template-columns: 1fr 1fr; } }
.feed a { display: grid; grid-template-columns: 6rem 1fr auto auto; gap: 1rem; padding: .75rem 0; border-bottom: 1px dashed var(--line); font: 400 .95rem/1.2 var(--ui); align-items: baseline; text-decoration: none; }
.feed a:hover { background: rgba(255,255,255,.04); }
.feed .m { font: 500 .85rem/1 var(--mono); color: var(--blue); }
.feed .v { font-weight: 500; font-variant-numeric: tabular-nums; }
.feed .t { font: 400 .8rem/1 var(--mono); color: var(--blue); }
.feed .t.up { color: var(--ok); } .feed .t.down { color: var(--bad); }
.feed .sk { height: 1.2rem; background: linear-gradient(90deg, rgba(255,255,255,.04), rgba(255,255,255,.09), rgba(255,255,255,.04)); background-size: 200% 100%; animation: sk 1.2s linear infinite; }
@keyframes sk { to { background-position: -200% 0 } }
@media (max-width: 640px) { .feed a { grid-template-columns: 4.5rem 1fr auto; } .feed .n { display: none; } }

.bandblue { background: var(--blue); color: var(--on); padding: clamp(1.6rem, 4vw, 3.6rem); display: grid; grid-template-columns: 1.3fr 1fr; gap: 2rem; align-items: end; border: 1px solid var(--line); }
.bandblue .hand { display: block; font: 400 1.1rem/1 var(--hand); color: var(--on); opacity: .7; margin-bottom: .8rem; transform: rotate(-3deg); transform-origin: left; }
.bandblue h2 { margin: 0; font: 500 clamp(2rem, 4.4vw, 4rem)/.95 var(--ui); letter-spacing: -.05em; }
.bandblue p { line-height: 1.45; opacity: .85; margin: 0 0 1.2rem; }
.bandblue .btn { background: var(--on); color: var(--blue); }
.bandblue .btn i { background: var(--blue); }
.bandblue .btn.ghost { background: transparent; color: var(--on); border-color: var(--on); }
.bandblue .go { display: flex; flex-wrap: wrap; gap: .7rem; }
@media (max-width: 800px) { .bandblue { grid-template-columns: 1fr; } }

.wp { max-width: 46rem; font: 400 1.05rem/1.65 var(--ui); color: var(--ink); background: var(--card); border: 1px solid var(--line); padding: clamp(1.2rem, 4vw, 3rem); box-shadow: var(--shadow); }
.wp .lead { font-size: 1.2rem; line-height: 1.5; margin-top: 0; }
.wp h3 { font: 500 1.5rem/1.15 var(--ui); letter-spacing: -.03em; margin: 2.2rem 0 .7rem; padding-top: 1.2rem; border-top: 1px dashed var(--line); }
.wp ol, .wp ul { padding-left: 1.3rem; } .wp li { margin: .35rem 0; }
.wp .f { font: 400 1.05rem/1.5 var(--mono); color: var(--blue); overflow-x: auto; }
.wp table { width: 100%; border-collapse: collapse; font-size: .95rem; margin: .8rem 0; }
.wp th, .wp td { text-align: left; padding: .5rem .6rem; border-bottom: 1px dashed var(--line); vertical-align: top; }
.wp th { font-weight: 600; }
.wp a { color: var(--blue); }
.wp .mono { font: 400 .85rem/1.4 var(--mono); }

.faq { border-top: 1px dashed var(--ink); }
.faq details { border-bottom: 1px dashed var(--ink); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 1rem; padding: clamp(.9rem, 1.6vw, 1.3rem) 0; font: 500 clamp(1rem, 1.7vw, 1.45rem)/1.2 var(--ui); letter-spacing: -.03em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 1.4em/1 var(--mono); color: var(--muted); }
.faq details[open] summary::after { content: "−"; }
.faq p { margin: 0 0 1.3rem; max-width: 62ch; color: var(--ink2); line-height: 1.5; }

.foot { padding: clamp(3.5rem, 7vw, 6rem) 0 2.5rem; display: grid; gap: 1.6rem; justify-items: center; text-align: center; }
.foot .big { margin: 0; font: 500 clamp(2.4rem, 6vw, 5.6rem)/.9 var(--ui); letter-spacing: -.055em; max-width: 14ch; }
.lede { font: 400 clamp(1.05rem, 1.5vw, 1.4rem)/1.35 var(--ui); letter-spacing: -.02em; color: var(--ink2); max-width: 46ch; margin: 0; }
.small { font: 400 .78rem/1.6 var(--mono); color: var(--muted); max-width: 70ch; }
.small a { color: var(--ink2); }

/* dialog + toast */
.dlg { position: fixed; inset: 0; z-index: 100; display: none; place-items: center; background: rgba(0,0,0,.65); padding: 1rem; }
.dlg.is-open { display: grid; }
.dlg__box { background: var(--sheet); border: 1px solid var(--line); box-shadow: var(--shadow); padding: 1.4rem 1.5rem; width: min(420px, 100%); display: grid; gap: .8rem; }
.dlg__box h3 { margin: 0; font: 500 1.4rem/1.1 var(--ui); letter-spacing: -.03em; }
.dlg__box p { margin: 0; color: var(--ink2); line-height: 1.45; }
.dlg__box button { justify-self: start; }
.toast { position: fixed; left: 50%; bottom: 1.4rem; z-index: 120; transform: translate(-50%, 1rem); opacity: 0; pointer-events: none; background: var(--ink); color: var(--paper); font: 400 .85rem/1 var(--mono); padding: .7rem 1rem; transition: opacity .2s, transform .2s; }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* motion (GSAP sets the start state; without JS everything is simply visible) */
@media (prefers-reduced-motion: no-preference) { .js .rise { opacity: 0; } }
@media (max-width: 900px) { .sky span { opacity: .3; } .sky span:nth-child(n+7) { display: none; } }
@media (max-width: 700px) { .sky span:nth-child(n+3) { display: none; } .sky span { top: 1% !important; } }
