* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg: #0a0a0b;
  --ink: #f4f4f5;
  --dim: #a6a6ac;
}

/* dark scrim behind the copy so text reads over the ASCII field */
.scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(ellipse 64% 62% at 50% 48%,
    rgba(10,10,11,0.92) 0%, rgba(10,10,11,0.74) 34%, rgba(10,10,11,0.28) 62%, transparent 82%);
}

html, body { height: 100%; background: var(--bg); color: var(--ink); }
body {
  font: 400 16px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  overflow: hidden;                 /* phase 1: no scroll. Later: overflow-x auto on .track */
  -webkit-font-smoothing: antialiased;
}

.track {
  display: flex;
  height: 100vh;
  /* later: overflow-x: auto; scroll-snap-type: x mandatory; */
}

.panel {
  position: relative;
  flex: 0 0 100vw;
  height: 100vh;
  scroll-snap-align: start;
  overflow: hidden;
}

#ascii {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

/* top/bottom chrome bars */
.chrome {
  position: absolute;
  left: 0; right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 34px;
  z-index: 3;
  pointer-events: none;
}
.chrome.top { top: 0; }
.chrome.bottom { bottom: 0; }
.label { font-size: 15px; font-weight: 600; letter-spacing: .01em; }

/* hero copy */
.stage {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 2;
  padding: 24px;
  pointer-events: none;
}
.eyebrow { color: var(--dim); font-size: 15px; margin-bottom: 18px; text-shadow: 0 1px 14px rgba(10,10,11,.95); }
.display {
  font-family: "Playfair Display", Georgia, serif;
  font-style: italic;
  font-weight: 600;
  font-size: clamp(44px, 8vw, 108px);
  line-height: .98;
  letter-spacing: .01em;
  text-wrap: balance;
  text-shadow: 0 2px 30px rgba(10,10,11,.85);
}
.subhead { color: #d0d0d5; font-size: clamp(15px, 1.7vw, 19px); margin-top: 22px; max-width: 34ch; text-shadow: 0 1px 14px rgba(10,10,11,.95); }

.cta {
  pointer-events: auto;
  margin-top: 34px;
  display: inline-block;
  padding: 13px 26px;
  border-radius: 999px;
  background: var(--ink);
  color: #0a0a0b;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: transform .15s ease, opacity .15s ease;
}
.cta:hover { transform: translateY(-1px); opacity: .92; }

/* bottom controls */
.cam {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: transparent;
  border: 1px solid rgba(255,255,255,.18);
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  padding: 8px 15px;
  border-radius: 999px;
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease;
}
.cam:hover { border-color: rgba(255,255,255,.4); background: rgba(255,255,255,.04); }
.cam .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--dim); transition: background .2s; }
.cam[aria-pressed="true"] .dot { background: #46d17a; box-shadow: 0 0 8px #46d17a; }

.privacy { color: var(--dim); font-size: 12.5px; }
.next { color: var(--dim); font-size: 30px; line-height: 1; }

.doclinks { display: flex; gap: 20px; pointer-events: auto; }
.doclinks a { color: var(--dim); font-size: 13px; text-decoration: none; letter-spacing: .02em; transition: color .15s; }
.doclinks a:hover { color: var(--ink); }

/* content / legal pages (share this stylesheet) */
.doc { max-width: 680px; margin: 0 auto; padding: 60px 28px 96px; height: 100vh; overflow-y: auto; }
.doc .home { color: var(--dim); text-decoration: none; font-weight: 600; font-size: 15px; }
.doc .home:hover { color: var(--ink); }
.doc h1 { font-family: "Playfair Display", Georgia, serif; font-style: italic; font-weight: 600; font-size: clamp(34px, 6vw, 58px); margin: 30px 0 6px; }
.doc .eff { color: var(--dim); font-size: 13px; margin-bottom: 24px; }
.doc .intro { color: #cfcfd4; font-size: 17px; line-height: 1.6; margin-bottom: 32px; }
.doc section { margin-bottom: 24px; }
.doc h2 { font-size: 13px; text-transform: uppercase; letter-spacing: .16em; color: #cfcfd4; margin-bottom: 7px; }
.doc p, .doc li { color: var(--dim); font-size: 15px; line-height: 1.65; }
.doc a { color: #e0e0e4; }
.doc .steps { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-top: 4px; }
.doc .steps b { color: var(--ink); }
.doc .steps .k { color: #9aa0ff; font-variant-numeric: tabular-nums; }

@media (max-width: 640px) {
  .chrome { padding: 18px 20px; }
  .privacy { display: none; }
}
@media (prefers-reduced-motion: reduce) { /* app.js checks this and freezes drift */ }
