/* playacceptall.com: one stylesheet for every page. No build step.
   The look is Night Shift (design/NIGHT_SHIFT.md): the landing page wears the costume (neon
   terminal on the dark grid); the privacy and support pages follow the plain skin rule ("anything
   about real money or privacy is always in the reality skin"), a white sheet on the dimmed ground
   like the app's Settings. Fonts are the app's own OFL files (fonts/, licenses in fonts/licenses/);
   the browser downloads only the faces a page uses. */

@font-face {
  font-family: "VT323";
  src: url("fonts/VT323-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("fonts/JetBrainsMono-Variable.ttf") format("truetype");
  font-weight: 100 800;
  font-display: swap;
}
@font-face {
  font-family: "Space Grotesk";
  src: url("fonts/SpaceGrotesk-Variable.ttf") format("truetype");
  font-weight: 300 700;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("fonts/IBMPlexMono-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-display: swap;
}

:root {
  /* Costume tokens */
  --bg: #090C17;
  --grid: rgba(140, 255, 90, 0.045);
  --panel: #111729;
  --panel-deep: #0E1324;
  --code-well: #0A0E1C;
  --line: #2A3557;
  --line-soft: #1F2846;
  --text: #E8EEFF;
  --text2: #C9D2EE;
  --text-dim: #8C97BD;
  --accept: #8CFF5A;
  --on-accept: #07150A;
  --reject: #FF5D73;
  --check: #3FE0FF;
  --vibes: #C77DFF;
  --users: #3FE0FF;
  --money: #FFB648;
  --security: #6E8BFF;
  --seg-off: #19203A;

  /* Reality tokens */
  --r-surface: #FFFFFF;
  --r-border: #CFCFCF;
  --r-text: #1A1A1A;
  --r-text2: #333333;
  --r-muted: #555555;
  --r-dim: #6B6B6B;
  --r-rule: #E6E6E6;
  --r-row: #EEEEEE;
  --r-fill: #F2F2F2;
  --r-pass: #145C33;

  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --body: "Space Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --plain: "IBM Plex Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --plain-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --arcade: "VT323", var(--mono);

  color-scheme: dark;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  background-color: var(--bg);
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 24px 24px;
  color: var(--text);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.55;
}

a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--check);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip {
  position: absolute;
  left: 16px;
  top: -100px;
  padding: 8px 12px;
  background: var(--accept);
  color: var(--on-accept);
  font-family: var(--mono);
  font-weight: 700;
  border-radius: 6px;
  z-index: 10;
}
.skip:focus { top: 12px; }

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.yesbot { display: block; shape-rendering: crispEdges; }

/* ───────────── Costume: the landing page and the 404 ───────────── */

.costume {
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  padding: 48px 16px 32px;
}

.hero { text-align: center; }

.hero .yesbot {
  width: 96px;
  height: 88px;
  margin: 0 auto 20px;
  filter: drop-shadow(0 0 14px rgba(63, 224, 255, 0.45));
}

.wordmark {
  margin: 0;
  font-family: var(--arcade);
  font-weight: 400;
  font-size: clamp(3.5rem, 17vw, 5.75rem);
  line-height: 0.9;
  letter-spacing: 0.02em;
  color: var(--accept);
  text-shadow: 0 0 12px rgba(140, 255, 90, 0.6);
}

.tagline {
  margin: 14px 0 0;
  font-family: var(--mono);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-dim);
}

.cursor {
  display: inline-block;
  width: 0.55em;
  height: 1.05em;
  margin-left: 4px;
  vertical-align: -0.18em;
  background: var(--accept);
  animation: blink 1.1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

.subtitle {
  margin: 22px 0 0;
  font-size: 1.375rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text);
}

.term {
  margin: 36px 0 0;
  background: var(--panel);
  border: 1.5px solid var(--line-soft);
  border-radius: 14px;
  overflow: hidden;
}

.term-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: var(--panel-deep);
  border-bottom: 1.5px solid var(--line-soft);
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.term-bar .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--line);
}
.term-bar .dot:first-child { background: var(--reject); }
.term-bar .dot:nth-child(2) { background: var(--money); }
.term-bar .dot:nth-child(3) { background: var(--accept); margin-right: 6px; }

.term-body { padding: 18px 18px 20px; }
.term-body p { margin: 0 0 12px; color: var(--text2); }
.term-body p:last-child { margin-bottom: 0; }
.term-body .lead {
  font-size: 1.1875rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text);
}

.bars {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 18px;
  margin: 28px 0 0;
  padding: 16px 18px;
  list-style: none;
  background: var(--panel-deep);
  border: 1.5px solid var(--line-soft);
  border-radius: 14px;
}

.bar-label {
  display: block;
  margin-bottom: 6px;
  font-family: var(--mono);
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
}

/* An LED meter: 20 segments, lit up to --lit (0 to 20), in the meter's color. */
.meter {
  --segment: calc(100% / 20);
  height: 10px;
  background:
    repeating-linear-gradient(90deg, transparent 0 calc(var(--segment) - 2px), var(--panel-deep) calc(var(--segment) - 2px) var(--segment)),
    linear-gradient(90deg, var(--c) 0 calc(var(--segment) * var(--lit)), var(--seg-off) calc(var(--segment) * var(--lit)) 100%);
  border-radius: 2px;
  filter: drop-shadow(0 0 4px color-mix(in srgb, var(--c) 45%, transparent));
}
.meter.vibes { --c: var(--vibes); --lit: 15; }
.meter.users { --c: var(--users); --lit: 9; }
.meter.money { --c: var(--money); --lit: 4; }
.meter.security { --c: var(--security); --lit: 2; }

.facts {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}
.facts li {
  position: relative;
  padding: 0 0 12px 22px;
  color: var(--text2);
}
.facts li::before {
  content: ">";
  position: absolute;
  left: 0;
  font-family: var(--mono);
  font-weight: 700;
  color: var(--accept);
}

.status {
  margin: 30px 0 0;
  padding: 18px;
  text-align: center;
  background: var(--code-well);
  border: 1.5px dashed var(--line);
  border-radius: 14px;
}
.status-chip {
  display: inline-block;
  padding: 4px 10px;
  background: var(--accept);
  color: var(--on-accept);
  border-radius: 6px;
  font-family: var(--mono);
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.status p { margin: 10px 0 0; color: var(--text); font-weight: 600; text-wrap: balance; }
.status .fine { margin-top: 4px; font-weight: 400; color: var(--text-dim); font-size: 0.9375rem; }

.site-foot {
  max-width: 640px;
  margin: 0 auto;
  padding: 8px 16px 40px;
  text-align: center;
  color: var(--text-dim);
  font-size: 0.875rem;
}
.site-foot nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 28px;
  margin-bottom: 14px;
  font-family: var(--mono);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.site-foot nav a {
  display: inline-block;
  padding: 10px 2px;
  color: var(--accept);
  text-decoration: none;
  border-bottom: 1.5px solid transparent;
}
.site-foot nav a:hover { border-bottom-color: var(--accept); }
.site-foot p { margin: 0 auto; max-width: 30rem; }

.error-code {
  margin: 0;
  font-family: var(--arcade);
  font-weight: 400;
  font-size: clamp(4.5rem, 26vw, 8rem);
  line-height: 0.9;
  color: var(--reject);
  text-shadow: 0 0 14px rgba(255, 93, 115, 0.55);
}
.error-page .lead { margin: 18px 0 0; font-size: 1.25rem; font-weight: 700; }
.error-page p { color: var(--text2); }
.button {
  display: inline-block;
  margin-top: 18px;
  padding: 13px 22px;
  min-height: 48px;
  background: var(--accept);
  color: var(--on-accept);
  border-radius: 12px;
  font-family: var(--mono);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 0 24px rgba(140, 255, 90, 0.25);
}

/* ───────────── Reality: privacy and support ───────────── */

/* Only VT323 (the brand) and IBM Plex Mono load here; the text is in the system font. */
.plain-page { background-color: #05070E; font-family: var(--plain); }
.plain-page .site-foot nav,
.plain-page .skip { font-family: var(--plain-mono); font-weight: 600; }

.topbar {
  max-width: 760px;
  margin: 0 auto;
  padding: 14px 16px 2px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  text-decoration: none;
  color: var(--accept);
}
.brand .yesbot {
  width: 26px;
  height: 24px;
  filter: drop-shadow(0 0 6px rgba(63, 224, 255, 0.45));
}
.brand span {
  font-family: var(--arcade);
  font-size: 1.875rem;
  line-height: 1;
  text-shadow: 0 0 10px rgba(140, 255, 90, 0.5);
}

.sheet {
  max-width: 760px;
  margin: 8px auto 0;
  padding: 0 12px;
}
.sheet-inner {
  padding: 20px 20px 28px;
  background: var(--r-surface);
  color: var(--r-text);
  border: 1px solid var(--r-border);
  border-radius: 6px;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.35);
  font-family: var(--plain);
  font-size: 1.0625rem;
  line-height: 1.6;
  color-scheme: light;
}

.sheet-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--r-rule);
}
.sheet-head h1 {
  margin: 0;
  font-size: 1.75rem;
  line-height: 1.2;
  font-weight: 700;
}
.kicker, .meta {
  font-family: var(--plain-mono);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--r-dim);
}
.meta { margin: 14px 0 0; }

.sheet-inner h2 {
  margin: 32px 0 8px;
  padding-top: 18px;
  border-top: 1px solid var(--r-rule);
  font-size: 1.25rem;
  line-height: 1.3;
  font-weight: 700;
}
.sheet-head + h2 {
  margin-top: 20px;
  padding-top: 0;
  border-top: 0;
}
.sheet-inner h3 {
  margin: 22px 0 4px;
  font-size: 1.0625rem;
  font-weight: 700;
}
.sheet-inner p { margin: 0 0 12px; color: var(--r-text2); }
.sheet-inner ul { margin: 0 0 12px; padding-left: 1.25rem; color: var(--r-text2); }
.sheet-inner li { margin-bottom: 6px; }
.sheet-inner li::marker { color: var(--r-dim); }
.sheet-inner strong { color: var(--r-text); }
.sheet-inner a { color: var(--r-text); text-decoration-thickness: 1px; text-underline-offset: 2px; }
.sheet-inner a:hover { text-decoration-thickness: 2px; }
.sheet-inner :focus-visible { outline-color: var(--r-text); }

.summary {
  margin: 18px 0 0;
  padding: 16px 18px 6px;
  background: var(--r-fill);
  border-radius: 6px;
}
.summary h2 {
  margin: 0 0 8px;
  padding: 0;
  border: 0;
  font-size: 1.0625rem;
}
.summary ul { padding-left: 1.1rem; }

.toc {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  columns: 2 14rem;
  column-gap: 24px;
  font-size: 0.9375rem;
}
.toc li { margin: 0 0 4px; break-inside: avoid; }

.path {
  font-family: var(--plain-mono);
  font-weight: 600;
  font-size: 0.875em;
  white-space: nowrap;
}

.contact-box {
  margin: 12px 0 0;
  padding: 16px 18px;
  border: 1.5px solid var(--r-text);
  border-radius: 6px;
}
.contact-box p { margin: 0 0 6px; }
.contact-box p:last-child { margin-bottom: 0; }
.email {
  font-family: var(--plain-mono);
  font-weight: 600;
  font-size: 1.0625rem;
  overflow-wrap: anywhere;
}

.faq details {
  border-bottom: 1px solid var(--r-row);
}
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 52px;
  padding: 12px 0;
  cursor: pointer;
  font-weight: 700;
  color: var(--r-text);
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex: none;
  font-family: var(--plain-mono);
  font-size: 1.25rem;
  line-height: 1;
  color: var(--r-dim);
}
.faq details[open] summary::after { content: "\2212"; }
.faq .answer { padding: 0 0 14px; }

.sheet-foot {
  margin-top: 32px;
  padding-top: 14px;
  border-top: 1px solid var(--r-rule);
  font-size: 0.9375rem;
  color: var(--r-dim);
}
.sheet-foot p { color: var(--r-dim); }

.plain-page .site-foot { padding-top: 22px; }

@media (min-width: 600px) {
  .costume { padding-top: 72px; }
  .sheet { padding: 0 16px; }
  .sheet-inner { padding: 28px 36px 36px; }
}

@media (prefers-reduced-motion: reduce) {
  .cursor { animation: none; }
}

@media (prefers-contrast: more) {
  :root { --text-dim: #C9D2EE; --line-soft: #8C97BD; }
  .wordmark, .brand span, .error-code { text-shadow: none; }
  .meter, .hero .yesbot, .brand .yesbot { filter: none; }
}

@media print {
  body, .plain-page { background: #fff; color: #000; }
  .topbar, .site-foot, .skip { display: none; }
  .sheet-inner { border: 0; box-shadow: none; padding: 0; }
}
