@font-face {
  font-family: "Geist";
  src: url("assets/fonts/geist-variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Geist Mono";
  src: url("assets/fonts/geist-mono-variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --font-sans: "Geist", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "Geist Mono", "SFMono-Regular", Consolas, monospace;
  --page: 1400px;
  --pad: clamp(1.25rem, 4vw, 4.5rem);
  --radius: 2px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0e1009;
  --surface: #12160c;
  --surface-2: #171c0f;
  --text: #d8d9b4;
  --muted: #9fa583;
  --line: #2b3220;
  --line-strong: #4b552f;
  --accent: #f2c84b;
  --accent-2: #9dae5c;
  --solid-bg: #f2c84b;
  --solid-ink: #171a0b;
  --code-bg: #080a05;
  --code-text: #d8d9b4;
  --shadow: rgba(0, 0, 0, .38);
  --hud: rgba(8, 10, 5, .82);
}

html[data-theme="light"] {
  color-scheme: light;
  --bg: #e9e5cb;
  --surface: #f1eeda;
  --surface-2: #dfdbc0;
  --text: #2b321a;
  --muted: #686f50;
  --line: #c7c2a4;
  --line-strong: #9aa57a;
  --accent: #7d5200;
  --accent-2: #4f6428;
  --solid-bg: #2f381b;
  --solid-ink: #f1eeda;
  --code-bg: #11150b;
  --code-text: #d8d9b4;
  --shadow: rgba(43, 50, 26, .2);
  --hud: rgba(8, 10, 5, .82);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scrollbar-color: var(--accent-2) var(--bg);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color .35s var(--ease), color .35s var(--ease);
}

img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
h1, h2, h3, p, dl, dd { margin: 0; }
h1, h2, h3 { font-weight: 500; line-height: .98; letter-spacing: -.055em; }
code, kbd, pre { font-family: var(--font-mono); }

::selection { background: var(--accent); color: var(--solid-ink); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

html[data-theme="light"] .only-dark,
html[data-theme="dark"] .only-light { display: none !important; }

.skip-link {
  position: fixed;
  z-index: 100;
  top: 1rem;
  left: 1rem;
  padding: .75rem 1rem;
  background: var(--solid-bg);
  color: var(--solid-ink);
  transform: translateY(-200%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 2rem;
  height: 74px;
  padding: 0 var(--pad);
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 94%, transparent);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  font-size: .95rem;
  font-weight: 550;
  letter-spacing: -.02em;
  white-space: nowrap;
}

.brand-mark {
  width: 31px;
  height: 24px;
  fill: none;
  stroke: var(--accent-2);
  stroke-width: 1.5;
  stroke-linecap: round;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.1rem, 2.6vw, 2.6rem);
  margin-left: auto;
  font-size: .82rem;
  color: var(--muted);
}

.site-nav a {
  padding: .3rem 0;
  border-bottom: 1px solid transparent;
  transition: color .2s, border-color .2s;
}
.site-nav a:hover { color: var(--text); border-color: var(--accent); }

.header-actions { display: flex; align-items: center; gap: .6rem; }

.icon-button {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
  transition: border-color .2s, background .2s;
}
.icon-button:hover { border-color: var(--accent-2); background: var(--surface); }
.icon-button svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.icon-sun { display: none; }
html[data-theme="light"] .icon-sun { display: block; }
html[data-theme="light"] .icon-moon { display: none; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .7rem;
  min-height: 48px;
  padding: .7rem 1.15rem;
  border: 1px solid var(--solid-bg);
  border-radius: var(--radius);
  font-size: .84rem;
  font-weight: 550;
  letter-spacing: -.01em;
  cursor: pointer;
  transition: transform .2s var(--ease), background .2s, color .2s, border-color .2s;
}
.button:hover { transform: translateY(-2px); }
.button-solid { background: var(--solid-bg); color: var(--solid-ink); }
.button-solid:hover { background: var(--accent-2); border-color: var(--accent-2); color: var(--solid-ink); }
.button-ghost { border-color: var(--line-strong); background: transparent; color: var(--text); }
.button-ghost:hover { border-color: var(--accent); }
.button-small { min-height: 38px; padding: .45rem .9rem; font-size: .78rem; }
.button span { font-family: var(--font-mono); font-size: .7rem; opacity: .65; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 6vw, 7rem);
  align-items: center;
  width: min(100%, var(--page));
  min-height: min(850px, calc(100vh - 74px));
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 8rem) var(--pad);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: .55rem;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: .69rem;
  font-weight: 500;
  letter-spacing: .12em;
  line-height: 1.3;
  text-transform: uppercase;
}

.status-dot {
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent-2) 55%, transparent);
  animation: pulse 2.8s infinite;
}

@keyframes pulse {
  0%, 60%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent-2) 50%, transparent); }
  30% { box-shadow: 0 0 0 5px transparent; }
}

.hero h1 {
  margin-top: 1.4rem;
  font-size: clamp(3.5rem, 7vw, 7.1rem);
}
.hero h1 .muted { color: var(--muted); }
.hero-lede {
  max-width: 34rem;
  margin-top: 1.7rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.16rem);
  line-height: 1.65;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 2.1rem; }

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
  margin-top: 3rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
}
.hero-stats dt {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: .62rem;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.hero-stats dd { margin-top: .3rem; font-size: .86rem; font-weight: 550; }

.hero-art { position: relative; }
.monitor {
  position: relative;
  padding: 9px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  box-shadow: 14px 14px 0 var(--accent-2);
  transform: rotate(-1.2deg);
}
.monitor-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 38px;
  padding: 0 .55rem;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: .57rem;
  letter-spacing: .08em;
}
.monitor-brand { color: var(--text); }
.monitor-dots { display: flex; gap: .27rem; }
.monitor-dots i { width: 5px; height: 5px; border: 1px solid var(--line-strong); border-radius: 50%; }
.monitor-dots i:first-child { background: var(--accent); border-color: var(--accent); }
.monitor-screen { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--bg); }
.monitor-screen img { width: 100%; height: 100%; object-fit: cover; }
.screen-tag {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: flex;
  align-items: center;
  gap: .55rem;
  padding: .42rem .55rem;
  background: var(--hud);
  color: #d8d9b4;
  font-family: var(--font-mono);
  font-size: .54rem;
  letter-spacing: .07em;
}
.screen-tag span { color: #f2c84b; }
.screen-tag small { padding-left: .55rem; border-left: 1px solid rgba(216, 217, 180, .24); color: #9fa583; font-size: .48rem; }
.art-note {
  display: flex;
  gap: .7rem;
  margin: 1.5rem 0 0 auto;
  max-width: 19rem;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: .63rem;
  line-height: 1.55;
}
.art-note span { color: var(--accent); white-space: nowrap; }

.ticker {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: var(--surface);
}
.ticker-track {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  width: max-content;
  padding: .82rem 0;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: .64rem;
  letter-spacing: .09em;
  text-transform: uppercase;
  animation: marquee 32s linear infinite;
}
.ticker-track i { color: var(--accent-2); font-style: normal; font-size: .45rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

.section {
  width: min(100%, var(--page));
  margin: 0 auto;
  padding: clamp(5rem, 10vw, 9rem) var(--pad);
}
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(17rem, .45fr);
  gap: 3rem;
  align-items: end;
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}
.section-head h2, .install-copy h2 {
  margin-top: 1rem;
  font-size: clamp(2.8rem, 5.4vw, 5.7rem);
}
.section-head p:not(.eyebrow), .section-aside {
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.7;
}
.section-tools { display: flex; flex-direction: column; align-items: flex-start; gap: 1.5rem; }

.mode-switch {
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--line);
  background: var(--surface);
}
.mode-switch button {
  padding: .45rem 1rem;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: .65rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
}
.mode-switch button[aria-pressed="true"] { background: var(--text); color: var(--bg); }

.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
}
.wall-card:last-child { grid-column: 2; }
.wall-card { min-width: 0; }
.wall-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
}
.wall-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease);
}
.wall-card:hover .wall-frame img { transform: scale(1.025); }
.wall-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid transparent;
  pointer-events: none;
  transition: border-color .25s;
}
.wall-card:hover .wall-frame::after { border-color: var(--accent); }
.wall-number {
  position: absolute;
  top: .7rem;
  right: .7rem;
  padding: .3rem .42rem;
  background: var(--hud);
  color: #d8d9b4;
  font-family: var(--font-mono);
  font-size: .57rem;
  letter-spacing: .08em;
}
.wall-download {
  position: absolute;
  right: .7rem;
  bottom: .7rem;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(216, 217, 180, .4);
  background: var(--hud);
  color: #d8d9b4;
  font-family: var(--font-mono);
  font-size: .9rem;
  transition: background .2s, color .2s, border-color .2s;
}
.wall-download:hover { background: var(--accent); color: #171a0b; border-color: var(--accent); }
.wall-meta { display: grid; grid-template-columns: auto 1fr; gap: .65rem; padding-top: .85rem; align-items: baseline; }
.wall-meta h3 { font-size: .95rem; letter-spacing: -.02em; white-space: nowrap; }
.wall-meta p { color: var(--muted); font-size: .75rem; line-height: 1.45; }

.download-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-top: 2rem;
  padding: 1.6rem;
  border: 1px solid var(--line-strong);
  background: var(--surface);
}
.download-band h3 { margin-top: .35rem; font-size: 1.7rem; }
.download-band p:not(.eyebrow) { color: var(--muted); font-size: .82rem; }

.live {
  width: 100%;
  max-width: none;
  background: var(--surface);
  border-block: 1px solid var(--line);
}
.live .section-head, .live-shell {
  width: min(100%, calc(var(--page) - 2 * var(--pad)));
  margin-inline: auto;
}
.live-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(18rem, .55fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: stretch;
}
.video-stage {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: #080a05;
  box-shadow: 10px 10px 0 var(--surface-2);
}
.live-video { width: 100%; height: 100%; object-fit: cover; }
.video-hud {
  position: absolute;
  top: .85rem;
  left: .85rem;
  right: .85rem;
  display: flex;
  justify-content: space-between;
  color: #d8d9b4;
  font-family: var(--font-mono);
  font-size: .56rem;
  letter-spacing: .08em;
  pointer-events: none;
}
.video-hud span { display: flex; align-items: center; gap: .45rem; padding: .34rem .45rem; background: var(--hud); }
.video-toggle {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(216, 217, 180, .35);
  background: var(--hud);
  color: #d8d9b4;
  cursor: pointer;
}
.video-toggle svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.play-icon { display: none; }
.is-paused .play-icon { display: block; }
.is-paused .pause-icon { display: none; }

.live-panel { display: flex; flex-direction: column; padding-top: .2rem; }
.loop-list { margin-top: .85rem; border-top: 1px solid var(--line); }
.loop-item {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr) auto;
  gap: .7rem;
  align-items: center;
  width: 100%;
  padding: .68rem .4rem;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: background .2s, padding .2s;
}
.loop-item span, .loop-item small { color: var(--muted); font-family: var(--font-mono); font-size: .6rem; }
.loop-item small { text-align: right; }
.loop-item strong { font-size: .82rem; font-weight: 500; }
.loop-item:hover { background: var(--surface-2); }
.loop-item.is-active { background: var(--surface-2); padding-left: .75rem; box-shadow: inset 2px 0 0 var(--accent); }
.loop-item.is-active span { color: var(--accent); }
.live-spec { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1rem; }
.live-spec span, .tag-row span, .install-requirements span {
  padding: .3rem .45rem;
  border: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: .56rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  width: fit-content;
  margin-top: auto;
  padding-top: 1rem;
  border-bottom: 1px solid var(--line-strong);
  color: var(--text);
  font-size: .8rem;
  transition: color .2s, border-color .2s;
}
.text-link:hover { color: var(--accent); border-color: var(--accent); }

.device-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.15rem; }
.device-card {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  min-height: 420px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
}
.device-art {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 420px;
  padding: 2.5rem 1.5rem;
  overflow: hidden;
  background: var(--surface-2);
  border-right: 1px solid var(--line);
}
.device-art::before,
.device-art::after {
  content: "";
  position: absolute;
  width: 90%;
  height: 45%;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  transform: rotate(-18deg);
  opacity: .4;
}
.device-art::before { top: -18%; left: -28%; }
.device-art::after { right: -34%; bottom: -24%; }
.phone {
  position: relative;
  z-index: 1;
  width: min(205px, 62%);
  padding: 7px;
  border: 1px solid #3d452c;
  border-radius: 32px;
  background: #090b06;
  box-shadow: 0 24px 50px var(--shadow);
  transform: rotate(-4deg);
}
.phone-screen { aspect-ratio: 9 / 19.5; overflow: hidden; border-radius: 24px; }
.phone-screen img, .tablet-screen img { width: 100%; height: 100%; object-fit: cover; }
.tablet {
  position: relative;
  z-index: 1;
  width: min(410px, 100%);
  padding: 8px;
  border: 1px solid #3d452c;
  border-radius: 18px;
  background: #090b06;
  box-shadow: 0 24px 50px var(--shadow);
  transform: rotate(2deg);
}
.tablet-screen { aspect-ratio: 4 / 3; overflow: hidden; border-radius: 10px; }
.device-copy { display: flex; flex-direction: column; align-items: flex-start; padding: clamp(1.5rem, 3vw, 2.5rem); }
.device-copy h3 { margin-top: 1rem; font-size: clamp(2rem, 3.2vw, 3.2rem); }
.device-copy > p:not(.eyebrow) { margin-top: 1rem; color: var(--muted); font-size: .84rem; line-height: 1.65; }
.tag-row { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: 1.2rem; }
.device-copy .button { margin-top: auto; }
.device-copy .button span { margin-left: .2rem; }

.install {
  display: grid;
  grid-template-columns: minmax(0, .75fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 7vw, 8rem);
  align-items: start;
  border-top: 1px solid var(--line);
}
.install-copy > p:not(.eyebrow) { max-width: 31rem; margin-top: 1.5rem; color: var(--muted); line-height: 1.7; }
.install-links { display: flex; flex-direction: column; gap: .2rem; margin-top: 2rem; }
.install-links .text-link { margin-top: 0; padding-top: .65rem; }
.install-panel { border: 1px solid var(--line-strong); background: var(--surface); }
.install-tabs { display: flex; border-bottom: 1px solid var(--line); }
.install-tabs button {
  flex: 1;
  padding: .8rem 1rem;
  border: 0;
  border-right: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: .62rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
}
.install-tabs button:last-child { border-right: 0; }
.install-tabs button[aria-selected="true"] { background: var(--surface-2); color: var(--text); box-shadow: inset 0 -2px 0 var(--accent); }
.code-block { background: var(--code-bg); color: var(--code-text); }
.code-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .65rem 1rem;
  border-bottom: 1px solid #242b18;
  color: #7f866b;
  font-family: var(--font-mono);
  font-size: .56rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.copy-button {
  padding: .25rem .4rem;
  border: 1px solid #333b25;
  background: transparent;
  color: #a4a98a;
  font-family: var(--font-mono);
  font-size: .55rem;
  cursor: pointer;
}
.copy-button:hover { color: #f2c84b; border-color: #f2c84b; }
.code-block pre { margin: 0; padding: 1.3rem 1rem; overflow-x: auto; font-size: clamp(.68rem, .9vw, .8rem); line-height: 1.8; }
.code-block code { color: #d8d9b4; }
.install-note { padding: 1rem; border-top: 1px solid var(--line); background: var(--surface-2); }
.install-note strong { font-size: .76rem; }
.install-note p { margin-top: .25rem; color: var(--muted); font-size: .73rem; line-height: 1.55; }
.install-note code { color: var(--text); }
.install-requirements { display: flex; flex-wrap: wrap; gap: .4rem; padding: 1rem; border-top: 1px solid var(--line); }

.site-footer {
  width: min(100%, var(--page));
  margin: 0 auto;
  padding: 3rem var(--pad) 2rem;
  border-top: 1px solid var(--line);
}
.footer-main { display: grid; grid-template-columns: 1fr 1.2fr; gap: 2rem; align-items: start; }
.footer-main p { color: var(--muted); font-size: .8rem; line-height: 1.6; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1.5rem; margin: 2rem 0; color: var(--muted); font-size: .78rem; }
.footer-links a:hover { color: var(--accent); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: .58rem;
  letter-spacing: .03em;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .65s var(--ease), transform .65s var(--ease);
}
[data-reveal].is-visible { opacity: 1; transform: none; }

.not-found {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  width: min(100%, var(--page));
  min-height: calc(100vh - 74px - 150px);
  margin: 0 auto;
  padding: clamp(4rem, 10vw, 8rem) var(--pad);
}
.not-found h1 { margin-top: 1.2rem; font-size: clamp(3rem, 7vw, 6.4rem); }
.not-found > p:not(.eyebrow) { max-width: 32rem; margin-top: 1.4rem; color: var(--muted); }
.not-found .button { margin-top: 2rem; }

@media (max-width: 1100px) {
  .site-nav { gap: 1.2rem; }
  .hero { gap: 3rem; }
  .device-card { grid-template-columns: 1fr; }
  .device-art { border-right: 0; border-bottom: 1px solid var(--line); }
  .device-phone .device-art { min-height: 500px; }
  .device-copy .button { margin-top: 2rem; }
}

@media (max-width: 900px) {
  .site-nav { display: none; }
  .header-actions { margin-left: auto; }
  .hero { grid-template-columns: 1fr; min-height: 0; padding-top: 4.5rem; }
  .hero-copy { max-width: 46rem; }
  .hero-art { max-width: 46rem; width: 100%; }
  .section-head { grid-template-columns: 1fr; gap: 1.5rem; align-items: start; }
  .section-aside, .section-tools { max-width: 36rem; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wall-card:last-child { grid-column: auto; }
  .live-shell { grid-template-columns: 1fr; }
  .live-panel { padding-top: 0; }
  .text-link { margin-top: 1rem; }
  .device-grid { grid-template-columns: 1fr; }
  .install { grid-template-columns: 1fr; }
  .install-copy > p:not(.eyebrow) { max-width: 42rem; }
  .install-panel { max-width: 44rem; }
}

@media (max-width: 640px) {
  .site-header { height: 64px; gap: 1rem; }
  .site-header .button-small { display: none; }
  .hero { padding-top: 3.5rem; }
  .hero h1 { font-size: clamp(3.2rem, 15vw, 4.8rem); }
  .hero-lede { font-size: .96rem; }
  .hero-actions .button { width: 100%; }
  .hero-stats { gap: 1.2rem 1.8rem; }
  .monitor { box-shadow: 8px 8px 0 var(--accent-2); transform: none; }
  .monitor-bar { height: 32px; font-size: .48rem; }
  .screen-tag { display: none; }
  .art-note { margin-left: 0; }
  .section { padding-top: 4.5rem; padding-bottom: 4.5rem; }
  .section-head h2, .install-copy h2 { font-size: clamp(2.7rem, 13vw, 4rem); }
  .gallery { grid-template-columns: 1fr; }
  .wall-meta { grid-template-columns: 1fr; gap: .2rem; }
  .wall-meta p { font-size: .78rem; }
  .download-band { align-items: flex-start; flex-direction: column; }
  .download-band .button { width: 100%; }
  .video-hud { font-size: .48rem; }
  .loop-item { grid-template-columns: 1.4rem 1fr auto; }
  .loop-item small { display: none; }
  .device-art { min-height: 360px; }
  .device-phone .device-art { min-height: 460px; }
  .device-copy .button { width: 100%; }
  .install-tabs button { font-size: .55rem; }
  .code-block pre { font-size: .63rem; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .ticker-track { animation: none; }
}
