:root {
  --algae: #145c32;
  --steel: #c8d4d0;
  --ink: #e8f4ec;
  --mute: #8ab49a;
  --sans: "Noto Sans SC", "PingFang SC", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 72px; }
body { margin: 0; color: var(--ink); background: #0c2418; font-family: var(--sans); line-height: 1.7; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.app-link { color: #6fd080; text-decoration: underline; text-underline-offset: 3px; }
button { font-family: inherit; cursor: pointer; }
code { font-family: var(--mono); color: #6fd080; }
.algae { pointer-events: none; position: fixed; inset: 0; z-index: 6; opacity: 0.14; background-image: url("images/texture.webp"); background-size: 360px auto; mix-blend-mode: overlay; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 10px; top: 10px; z-index: 80; background: #6fd080; color: #041208; padding: 8px; }
.tubebar { position: sticky; top: 0; z-index: 50; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 20px; background: #082010; border-bottom: 3px solid #28a050; }
.brand { font-weight: 700; }
.brand small { display: block; font-family: var(--mono); font-size: 10px; color: var(--mute); letter-spacing: 0.14em; }
.nav-toggle { display: none; background: #28a050; color: #041208; border: 0; padding: 8px 12px; }
.tube-nav { display: flex; gap: 14px; align-items: center; font-size: 13px; }
.tube-nav a { color: var(--mute); }
.tube-nav a.is-active, .tube-nav a:hover { color: #6fd080; }
.tube-nav a.live { background: #28a050; color: #041208; padding: 7px 12px; }
.lab { display: grid; grid-template-columns: 1.1fr 0.9fr; }
.lab figure { margin: 0; }
.lab img { width: 100%; height: 100%; object-fit: cover; min-height: 400px; }
.copy { padding: 40px 32px; }
.kicker { font-family: var(--mono); letter-spacing: 0.16em; font-size: 11px; color: #6fd080; margin: 0 0 10px; }
h1, h2, h3 { margin: 0 0 12px; line-height: 1.15; }
h1 { font-size: clamp(28px, 4.2vw, 44px); }
.tube { margin: 16px 0; padding: 14px; background: #12301c; }
.tube-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.tube-btns button { border: 1px solid #28a050; background: transparent; color: var(--ink); padding: 8px 12px; }
.tube-btns button.on { background: #28a050; color: #041208; }
.cta { display: flex; flex-wrap: wrap; gap: 10px; }
.btn { display: inline-flex; padding: 10px 14px; border: 1px solid currentColor; }
.btn.fill { background: #28a050; color: #041208; border-color: #28a050; }
.w { width: min(1080px, calc(100% - 40px)); margin: 0 auto; padding: 72px 0; }
#need, #tube, #rules { background: #e8f0e8; color: #0c2418; }
#need .kicker, #tube .kicker, #rules .kicker { color: #145c32; }
.green { background: #102818; }
.tri { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 20px; }
.tri article, .io > div { background: rgba(255,255,255,0.05); padding: 16px; }
#need .tri article { background: #fff; }
.tri ul, .io ul { margin: 0; padding-left: 1.1em; }
.quiet { color: var(--mute); max-width: 46em; }
.io { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
footer { padding: 18px 22px 36px; font-family: var(--mono); font-size: 12px; color: var(--mute); }
@media (max-width: 900px) {
  .lab, .tri, .io { grid-template-columns: 1fr; }
  .nav-toggle { display: inline-block; }
  .tube-nav { display: none; position: absolute; right: 10px; top: 52px; flex-direction: column; background: #082010; padding: 10px; }
  .tube-nav.open { display: flex; }
}
