/* Adapted from local-app/src/styles.css for the public site (site/README.md) — same tokens and
   fonts as the box and the apps, but a page that scrolls: no `overflow:hidden` on body, no fixed
   viewport units, no cursor:none. No inline style=, no <style>, no <script> anywhere on this
   site — the CSP in _headers forbids all three. */

@font-face {
  font-family: "Orbitron";
  src: url("/fonts/orbitron.woff2") format("woff2");
  font-weight: 500 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Share Tech Mono";
  src: url("/fonts/sharetechmono.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #07090a;
  --tile: #0d0f11;
  --tile-hi: #23272b;
  --ink: #e9fbe4;
  --muted: #7c9682;
  --work: #a8f200;
  --rest: #33d1ff;
  --prepare: #ffb020;
  --font-display: "Orbitron", ui-sans-serif, sans-serif;
  --font-body: "Share Tech Mono", ui-monospace, monospace;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.55;
}

img,
svg {
  max-width: 100%;
  height: auto;
}

.break {
  overflow-wrap: anywhere;
}

h1,
h2,
h3,
.wordmark,
.readout {
  font-family: var(--font-display);
}

a {
  color: var(--work);
}

.wrap {
  max-width: 64rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ---- Header / footer, shared byte-for-byte across the three pages. */
.site-header {
  border-bottom: 1px solid var(--tile-hi);
}

.site-header__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0;
}

.wordmark {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-decoration: none;
  color: var(--ink);
}

.site-nav {
  display: flex;
  gap: 1.5rem;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
}

.site-footer {
  border-top: 1px solid var(--tile-hi);
  margin-top: 3rem;
}

.site-footer__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1.5rem;
  padding: 1.5rem 0 2.5rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer__row a {
  color: var(--muted);
}

/* ---- Hero */
.hero {
  padding: 2.5rem 0 1rem;
}

.hero__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 48rem) {
  .hero__row {
    grid-template-columns: 1fr 1fr;
  }
}

.hero__copy h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.15;
  letter-spacing: 0.01em;
  margin: 0 0 1rem;
}

.hero__copy p {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 34rem;
}

/* ---- The wall visual */
.screen {
  position: relative;
  overflow: hidden;
  background: var(--tile);
  border: 1px solid var(--tile-hi);
  border-radius: 12px;
  aspect-ratio: 16 / 9;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(0.75rem, 3vw, 1.5rem);
  padding: clamp(1rem, 4vw, 2rem);
}

.screen::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 55% at 15% -10%, rgba(168, 242, 0, 0.14), transparent 62%);
  pointer-events: none;
}

.readout {
  position: relative;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  font-size: clamp(3rem, 14vw, 8rem);
  color: var(--work);
  letter-spacing: 0.02em;
  line-height: 1;
}

.chips {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(0.35rem, 1.5vw, 0.6rem);
}

.chip {
  padding: 0.3rem 0.7rem;
  border: 1px solid var(--muted);
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: clamp(0.6rem, 1.6vw, 0.8rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.chip--work {
  border-color: var(--work);
  color: var(--work);
}

.chip--rest {
  border-color: var(--rest);
  color: var(--rest);
}

.chip--prepare {
  border-color: var(--prepare);
  color: var(--prepare);
}

/* ---- Body sections */
.section {
  padding: 2.5rem 0;
  border-top: 1px solid var(--tile-hi);
}

.section h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin: 0 0 1rem;
}

.section h2 {
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  letter-spacing: 0.02em;
  margin: 0 0 1.25rem;
}

.section h3 {
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  margin: 0 0 0.5rem;
}

.section p {
  color: var(--ink);
}

.section > p {
  max-width: 42rem;
}

.section--closing {
  text-align: center;
  border-top: none;
  padding-top: 0;
}

.section--closing p {
  font-size: 1.05rem;
  margin-left: auto;
  margin-right: auto;
}

.muted {
  color: var(--muted);
}

.grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
}

.card {
  background: var(--tile);
  border: 1px solid var(--tile-hi);
  border-radius: 10px;
  padding: 1.5rem;
}

.card p {
  color: var(--muted);
  margin: 0;
}

/* ---- Support / privacy lists */
ul {
  padding-left: 1.25rem;
}

li {
  margin-bottom: 0.4rem;
}

strong {
  color: var(--work);
}
