:root {
  --night: #071018;
  --glycol: #1a8a6a;
  --sodium: #c9a227;
  --ice: #8ec8e8;
  --ink: #e8f4f0;
  --mute: #7aa098;
  --panel: #0e1a24;
  --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: 64px; }
body { margin: 0; color: var(--ink); background: var(--night); font-family: var(--sans); line-height: 1.7; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.app-link { color: var(--ice); text-decoration: underline; text-underline-offset: 3px; }
button { font-family: inherit; cursor: pointer; }
code { font-family: var(--mono); color: var(--sodium); }
.icefilm {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 6;
  opacity: 0.12;
  background-image: url("images/texture.webp");
  background-size: 280px auto;
  mix-blend-mode: screen;
}
.skip { position: absolute; left: -999px; }
.skip:focus { left: 10px; top: 10px; z-index: 80; background: var(--glycol); color: #04120c; padding: 8px; }
.padbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px 20px;
  background: rgba(7, 16, 24, 0.92);
  border-bottom: 1px solid var(--glycol);
}
.brand { font-weight: 700; letter-spacing: 0.04em; }
.brand small { display: block; font-family: var(--mono); font-size: 10px; color: var(--ice); letter-spacing: 0.14em; }
.nav-toggle { display: none; background: var(--glycol); color: #04120c; border: 0; padding: 8px 12px; }
.pad-nav { display: flex; gap: 14px; align-items: center; font-size: 13px; }
.pad-nav a { color: var(--mute); }
.pad-nav a.is-active, .pad-nav a:hover { color: var(--ice); }
.pad-nav a.live { background: var(--glycol); color: #04120c; padding: 7px 12px; }
.apron { display: grid; grid-template-columns: 1.15fr 0.85fr; background: var(--panel); }
.apron figure { margin: 0; }
.apron img { width: 100%; height: 100%; object-fit: cover; min-height: 440px; }
.copy { padding: 40px 28px; }
.kicker { font-family: var(--mono); letter-spacing: 0.18em; font-size: 11px; color: var(--sodium); margin: 0 0 10px; }
h1, h2, h3 { margin: 0 0 12px; line-height: 1.15; }
h1 { font-size: clamp(26px, 3.8vw, 40px); }
.ice-demo { margin: 16px 0; padding: 14px; background: #071820; border-left: 6px solid var(--glycol); }
.wing { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 6px; }
.wing button {
  border: 0;
  background: #123040;
  color: var(--ice);
  padding: 14px 10px;
  clip-path: polygon(8% 0, 100% 0, 92% 100%, 0 100%);
}
.wing button.on { background: var(--glycol); color: #04120c; }
.cta { display: flex; flex-wrap: wrap; gap: 10px; }
.btn { display: inline-flex; padding: 10px 14px; border: 1px solid currentColor; }
.btn.fill { background: var(--sodium); color: #1a1204; border-color: var(--sodium); }
.w { width: min(1080px, calc(100% - 40px)); margin: 0 auto; padding: 72px 0; }
.glycol { background: #0b2420; }
.tri { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 20px; }
.tri article, .io > div { background: #102830; padding: 16px; }
.tri ul, .io ul { margin: 0; padding-left: 1.1em; }
.quiet { color: var(--mute); max-width: 46em; }
figure { margin: 24px 0 0; }
figure img { width: 100%; max-height: 280px; object-fit: cover; }
figcaption { font-size: 13px; color: var(--mute); margin-top: 8px; }
.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) {
  .apron, .tri, .io, .wing { grid-template-columns: 1fr; }
  .wing button { clip-path: none; }
  .nav-toggle { display: inline-block; }
  .padbar { position: relative; }
  .pad-nav { display: none; position: absolute; right: 10px; top: 56px; flex-direction: column; background: var(--night); padding: 10px; border: 1px solid var(--glycol); }
  .pad-nav.open { display: flex; }
}
