/*
 * wodboss.com. One stylesheet for every page.
 *
 * Colours and type come from the app (docs/design/DESIGN_SYSTEM.md): page
 * #1B1B1C, text #EAEAEA, the one bright orange #FF9973 with a #1B1B1C label,
 * Bebas Neue for display, Inter for reading. Spacing is the app's 8 px grid.
 * The neon colours are NeonMark.tsx's own.
 */

@font-face {
  font-family: "Bebas Neue";
  src: url(/assets/fonts/bebas-neue.woff2) format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url(/assets/fonts/inter-latin.woff2) format("woff2");
  font-weight: 400 800;
  font-display: swap;
}

:root {
  --night: #1b1b1c;
  --block: #252527;
  --line: #3a3a3e;
  --bone: #eaeaea;
  --muted: #b4afa8;
  --orange: #ff9973;
  --on-orange: #1b1b1c;
  --neon: #ff6a1a;
  --neon-wall: #ff5a1f;
  --chalk: #f2f0ed;
  --ink: #1a1614;
  --ink-muted: #4a443f;
  --rust: #c2410c;
  --tape: #9e2a1f;

  --display: "Bebas Neue", "Oswald", Impact, "Arial Narrow", sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --s1: 8px;
  --s2: 16px;
  --s3: 24px;
  --s4: 32px;
  --s5: 40px;
  --s6: 48px;
  --s8: 64px;
  --s10: 80px;
  --s12: 96px;
  --s16: 128px;

  --measure: 34rem;
  --page: 72rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--s10);
}

body {
  margin: 0;
  background: var(--night);
  color: var(--bone);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-optical-sizing: auto;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--orange);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
a:hover {
  text-decoration-thickness: 2px;
}

:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
  border-radius: 2px;
}

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: 0.01em;
  margin: 0;
}

p {
  margin: 0 0 var(--s2);
}

.wrap {
  max-width: var(--page);
  margin: 0 auto;
  padding: 0 var(--s3);
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip {
  position: absolute;
  left: var(--s2);
  top: -100px;
  z-index: 20;
  padding: var(--s1) var(--s2);
  background: var(--orange);
  color: var(--on-orange);
  font-weight: 700;
}
.skip:focus {
  top: var(--s2);
}

.fine {
  font-size: 0.9375rem;
  color: var(--muted);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 var(--s3);
  border-radius: var(--s1);
  background: var(--orange);
  color: var(--on-orange);
  font-weight: 700;
  font-size: 1.0625rem;
  text-decoration: none;
  transition: background-color 0.15s;
}
.btn:hover {
  background: #ffae8f;
}
.btn-small {
  min-height: 40px;
  padding: 0 var(--s2);
  font-size: 0.9375rem;
}
.btn-big {
  min-height: 56px;
  padding: 0 var(--s4);
  font-size: 1.125rem;
}

.link-quiet {
  color: var(--bone);
  font-weight: 600;
  padding: var(--s1) 0;
}

/* ---------- Top bar ---------- */

.bar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: var(--s3);
  padding: var(--s1) var(--s3);
  min-height: 64px;
  background: rgba(27, 27, 28, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
@supports (backdrop-filter: blur(8px)) {
  .bar {
    background: rgba(27, 27, 28, 0.78);
    backdrop-filter: blur(8px);
  }
}
.bar-home {
  display: flex;
  align-items: center;
  gap: var(--s1);
  color: var(--bone);
  text-decoration: none;
  font-family: var(--display);
  font-size: 1.75rem;
  line-height: 1;
  padding-top: 4px;
}
.bar-home img {
  margin-top: -4px;
}
.bar-nav {
  display: none;
  gap: var(--s3);
  margin-left: auto;
}
.bar-nav a {
  color: var(--bone);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9375rem;
  padding: var(--s1) 0;
}
.bar-nav a:hover {
  color: var(--orange);
}
.bar .btn {
  margin-left: auto;
}
@media (min-width: 840px) {
  .bar-nav {
    display: flex;
  }
  .bar .btn {
    margin-left: 0;
  }
}

/* ---------- Hero: the sign on the wall ---------- */

.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: var(--s5) 0 0;
}

/* The wall only exists where the sign lights it: the block texture is tinted
   neon and screened on, masked to a soft ellipse (MenuNeonSign.css, wall B). */
.hero-wall {
  position: absolute;
  z-index: -1;
  left: 50%;
  top: -120px;
  width: 1400px;
  height: 1000px;
  transform: translateX(-50%);
  background-image:
    linear-gradient(var(--neon-wall), var(--neon-wall)),
    url(/assets/img/wall-cinder.svg);
  background-size:
    auto,
    220px auto;
  background-blend-mode: multiply;
  mix-blend-mode: screen;
  opacity: 0.3;
  -webkit-mask-image: radial-gradient(
    closest-side,
    #000 0%,
    rgba(0, 0, 0, 0.5) 40%,
    rgba(0, 0, 0, 0.15) 72%,
    transparent 100%
  );
  mask-image: radial-gradient(
    closest-side,
    #000 0%,
    rgba(0, 0, 0, 0.5) 40%,
    rgba(0, 0, 0, 0.15) 72%,
    transparent 100%
  );
}

.hero-inner {
  max-width: var(--page);
  margin: 0 auto;
  padding: 0 var(--s3);
  display: grid;
  gap: var(--s4);
}

.hero-copy {
  text-align: center;
}

.sign-wrap {
  width: min(64vw, 300px);
  margin: 0 auto var(--s3);
}
.sign {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.hero h1 {
  font-size: clamp(3rem, 13vw, 6.5rem);
  max-width: 11ch;
  margin: 0 auto var(--s3);
  text-wrap: balance;
}
.lede {
  font-size: 1.1875rem;
  max-width: var(--measure);
  margin: 0 auto var(--s4);
  color: #d9d6d1;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: var(--s2) var(--s4);
  margin-bottom: var(--s2);
}
.hero-note {
  font-size: 0.9375rem;
  color: var(--muted);
}

.hero-bo {
  position: relative;
  margin: 0 auto;
  width: min(88vw, 420px);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-bo img {
  width: 100%;
  /* Bo stands on the floor line: the section ends at his belt. */
  margin-bottom: -2px;
}
.bo-quote {
  position: relative;
  margin: 0 0 var(--s2);
  padding: var(--s2) var(--s3);
  background: var(--bone);
  color: var(--ink);
  border-radius: var(--s2);
  font-weight: 800;
  font-size: 1.25rem;
  line-height: 1.25;
  max-width: 18rem;
  text-align: center;
}
.bo-quote p {
  margin: 0;
}
.bo-quote::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -12px;
  width: 24px;
  height: 24px;
  background: var(--bone);
  transform: translateX(-50%) rotate(45deg);
  border-radius: 0 0 4px 0;
}

@media (min-width: 960px) {
  .hero {
    padding-top: var(--s8);
  }
  .hero-inner {
    grid-template-columns: 1.15fr 1fr;
    align-items: end;
    gap: var(--s5);
  }
  .hero-copy {
    text-align: left;
    padding-bottom: var(--s10);
  }
  .sign-wrap {
    width: 300px;
    margin: 0 0 var(--s4) -16px;
  }
  .hero h1 {
    margin-left: 0;
  }
  .lede {
    margin-left: 0;
  }
  .hero-actions {
    justify-content: flex-start;
  }
  .hero-wall {
    left: 30%;
  }
  .hero-bo {
    width: 100%;
    max-width: 480px;
    justify-self: end;
    align-items: flex-start;
  }
  .bo-quote {
    margin-left: -8%;
  }
  .bo-quote::after {
    left: 70%;
  }
}

/* Power-on: the one orchestrated moment on the page. Cold glass, a strike,
   a stutter, then full burn (NeonMark.tsx stage order). */
.sign-stage-1,
.sign-stage-2 {
  opacity: 0;
}
.sign-stage-3 {
  opacity: 0;
  animation: sign-on 1.6s steps(1, end) 0.35s forwards;
}
.sign-stage-1 {
  animation: sign-cold 1.95s steps(1, end) forwards;
}
.sign-stage-2 {
  animation: sign-warm 1.95s steps(1, end) forwards;
}
.hero-wall {
  animation: wall-on 1.95s ease-out forwards;
}
.sign.flicker {
  animation: sign-flicker 0.5s steps(1, end);
}

@keyframes sign-cold {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
@keyframes sign-warm {
  0% {
    opacity: 0;
  }
  18% {
    opacity: 1;
  }
  24% {
    opacity: 0;
  }
  40% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
@keyframes sign-on {
  0% {
    opacity: 0;
  }
  30% {
    opacity: 1;
  }
  36% {
    opacity: 0.15;
  }
  44% {
    opacity: 1;
  }
  52% {
    opacity: 0.4;
  }
  58% {
    opacity: 1;
  }
  100% {
    opacity: 1;
  }
}
@keyframes wall-on {
  0% {
    opacity: 0;
  }
  30% {
    opacity: 0.08;
  }
  55% {
    opacity: 0.3;
  }
  100% {
    opacity: 0.3;
  }
}
@keyframes sign-flicker {
  0% {
    opacity: 1;
  }
  20% {
    opacity: 0.25;
  }
  35% {
    opacity: 1;
  }
  55% {
    opacity: 0.5;
  }
  70% {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .sign-stage-1,
  .sign-stage-2,
  .sign-stage-3,
  .hero-wall,
  .sign.flicker {
    animation: none;
  }
  .sign-stage-3 {
    opacity: 1;
  }
}

/* ---------- What it does ---------- */

.app {
  padding: var(--s12) 0 var(--s10);
  background: #202022;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.app h2,
.early h2,
.faq h2,
.bo h2 {
  font-size: clamp(3rem, 10vw, 5rem);
  margin-bottom: var(--s2);
}
.section-lede {
  color: var(--muted);
  max-width: var(--measure);
  margin-bottom: var(--s8);
}

.feature {
  display: grid;
  gap: var(--s4);
  align-items: center;
  padding: var(--s6) 0;
  border-top: 1px solid var(--line);
}
.feature h3 {
  font-size: clamp(2.5rem, 8vw, 3.5rem);
  color: var(--orange);
  margin-bottom: var(--s2);
}
.feature-text {
  max-width: var(--measure);
}
@media (min-width: 840px) {
  .feature {
    grid-template-columns: 1fr 300px;
    gap: var(--s10);
    padding: var(--s8) 0;
  }
  .feature-flip {
    grid-template-columns: 300px 1fr;
  }
  .feature-flip .phone {
    order: -1;
  }
}

.phone {
  width: min(72vw, 300px);
  margin: 0 auto;
  padding: 10px;
  border-radius: 36px;
  background: #0f0f10;
  box-shadow:
    inset 0 0 0 1px #4a4a50,
    0 0 0 1px #000,
    0 24px 48px rgba(0, 0, 0, 0.45);
}
.phone img {
  width: 100%;
  border-radius: 27px;
}
.phone-crop {
  border-radius: 24px;
}
.phone-crop img {
  border-radius: 15px;
}

.timer-kinds {
  list-style: none;
  padding: 0;
  margin: var(--s3) 0 0;
  display: grid;
  gap: var(--s1);
}
.tk {
  display: flex;
  align-items: baseline;
  gap: var(--s2);
  padding: var(--s1) var(--s2);
  border-radius: var(--s1);
  color: var(--on-orange);
  font-size: 0.9375rem;
  line-height: 1.4;
}
.tk b {
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.5rem;
  line-height: 1.1;
  min-width: 5.5rem;
  padding-top: 2px;
}
/* The app's own timer colours (DESIGN_SYSTEM.md, timer table). */
.tk-amrap {
  background: #4dbdb4;
}
.tk-fortime {
  background: #ff9973;
}
.tk-emom {
  background: #c3a6f5;
}
.tk-tabata {
  background: #4eb8a7;
}

.honest {
  margin-top: var(--s6);
  padding: var(--s4);
  border: 2px solid var(--orange);
  border-radius: var(--s2);
  font-size: 1.1875rem;
  font-weight: 600;
  max-width: 44rem;
}
.honest p:last-child {
  margin: 0;
  color: var(--orange);
}

/* ---------- Meet Bo ---------- */

.bo {
  padding: var(--s12) 0;
  overflow: hidden;
}
.bo-grid {
  display: grid;
  gap: var(--s5);
  align-items: center;
}
.bo-text {
  max-width: 38rem;
}
.bo-bars {
  width: min(80vw, 440px);
  margin: 0 auto;
}
@media (min-width: 960px) {
  .bo-grid {
    grid-template-columns: 1.2fr 1fr;
  }
}

/* Label-maker tape: the garage's own labels. Each strip plays Bo's line. */
.tapes {
  list-style: none;
  padding: 0;
  margin: var(--s3) 0 var(--s4);
  /* One column, always. A wrapping row put two short tapes side by side on
     desktop and read as an accident (Zack, 2026-11-25). */
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--s2);
}
.tape {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: var(--s1);
  min-height: 48px;
  padding: var(--s1) var(--s2) var(--s1) 12px;
  border: 0;
  border-radius: 3px;
  background:
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.035) 0 2px,
      transparent 2px 5px
    ),
    var(--tape);
  color: #fff;
  font: 700 1rem/1.3 var(--body);
  letter-spacing: 0.02em;
  text-align: left;
  text-shadow:
    0 1px 0 rgba(0, 0, 0, 0.45),
    0 -1px 0 rgba(255, 255, 255, 0.12);
  box-shadow:
    0 2px 0 rgba(0, 0, 0, 0.35),
    0 6px 14px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  transform: rotate(var(--tilt, 0deg));
  transition:
    transform 0.15s,
    background-color 0.15s;
}
.tapes li:nth-child(2n) .tape {
  --tilt: -0.8deg;
}
.tapes li:nth-child(3n) .tape {
  --tilt: 0.7deg;
}
.tape::before {
  content: "";
  flex: none;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 7px 0 7px 11px;
  border-color: transparent transparent transparent currentColor;
}
.tape:hover {
  transform: rotate(0deg) translateY(-1px);
}
.tape[aria-pressed="true"] {
  background:
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.035) 0 2px,
      transparent 2px 5px
    ),
    #c23a2b;
}
.tape[aria-pressed="true"]::before {
  width: 11px;
  height: 14px;
  border: 0;
  background: linear-gradient(
    90deg,
    currentColor 0 4px,
    transparent 4px 7px,
    currentColor 7px 11px
  );
}

/* ---------- The maker: daylight ---------- */

.maker {
  background: var(--chalk);
  color: var(--ink);
  padding: var(--s12) 0;
}
.maker a {
  color: var(--rust);
}
.maker .fine {
  color: var(--ink-muted);
}
.maker-grid {
  display: grid;
  gap: var(--s6);
  align-items: center;
}
.maker h2 {
  font-size: clamp(3rem, 10vw, 5rem);
  margin-bottom: var(--s3);
  max-width: 12ch;
}
.maker-text {
  max-width: var(--measure);
  font-size: 1.125rem;
}
.polaroid {
  margin: 0 auto;
  width: min(84vw, 400px);
  transform: rotate(-2.5deg);
  box-shadow:
    0 2px 4px rgba(26, 22, 20, 0.18),
    0 18px 40px rgba(26, 22, 20, 0.22);
}
@media (min-width: 840px) {
  .maker-grid {
    grid-template-columns: 400px 1fr;
    gap: var(--s10);
  }
}

/* ---------- Early access ---------- */

.early {
  padding: var(--s12) 0;
}
.steps {
  list-style: none;
  counter-reset: step;
  padding: 0;
  margin: 0 0 var(--s6);
  display: grid;
  gap: var(--s4);
}
.steps li {
  counter-increment: step;
  position: relative;
  padding-left: var(--s8);
  max-width: 26rem;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: -6px;
  font-family: var(--display);
  font-size: 3.5rem;
  line-height: 1;
  color: var(--orange);
}
.steps h3 {
  font-size: 2rem;
  margin-bottom: var(--s1);
}
.steps p {
  margin: 0;
  color: #d9d6d1;
}
@media (min-width: 840px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--s5);
  }
}
.early .btn-big {
  margin-bottom: var(--s2);
}

/* ---------- Questions ---------- */

.faq {
  padding: var(--s10) 0 var(--s12);
  background: #202022;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.faq details {
  max-width: 44rem;
  border-top: 1px solid var(--line);
}
.faq details:last-of-type {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  display: flex;
  justify-content: space-between;
  gap: var(--s2);
  padding: var(--s3) 0;
  min-height: 48px;
  cursor: pointer;
  font-weight: 700;
  font-size: 1.125rem;
  list-style: none;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  flex: none;
  font-family: var(--display);
  font-size: 2rem;
  line-height: 0.8;
  color: var(--orange);
}
.faq details[open] summary::after {
  content: "\2212";
}
.faq details p {
  max-width: var(--measure);
  color: #d9d6d1;
  padding-bottom: var(--s2);
}

/* ---------- Footer ---------- */

.foot {
  padding: var(--s8) 0 var(--s6);
  border-top: 1px solid var(--line);
  font-size: 0.9375rem;
}
.foot-grid {
  display: grid;
  gap: var(--s4);
}
.foot-brand {
  display: flex;
  gap: var(--s2);
  align-items: center;
}
.foot-brand p {
  margin: 0;
  color: var(--muted);
}
.foot-brand b {
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.75rem;
  color: var(--bone);
  line-height: 1;
}
.foot-nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s1) var(--s4);
}
.foot-nav a {
  padding: var(--s1) 0;
  color: var(--bone);
}
.foot-fine {
  color: var(--muted);
  max-width: 44rem;
  margin: 0;
}
@media (min-width: 840px) {
  .foot-grid {
    grid-template-columns: auto 1fr;
    column-gap: var(--s8);
  }
  .foot-fine {
    grid-column: 1 / -1;
  }
}

/* ---------- Text pages (privacy, delete account, how it is made) ---------- */

.doc {
  padding: var(--s8) 0 var(--s12);
}
.doc .wrap {
  max-width: 46rem;
}
.doc h1 {
  font-size: clamp(3rem, 11vw, 4.5rem);
  margin-bottom: var(--s3);
}
.doc h2 {
  font-size: 2.25rem;
  margin: var(--s6) 0 var(--s2);
  color: var(--orange);
}
.doc h3 {
  font-family: var(--body);
  font-weight: 700;
  font-size: 1.125rem;
  line-height: 1.4;
  margin: var(--s4) 0 var(--s1);
}
.doc ul,
.doc ol {
  padding-left: var(--s3);
  margin: 0 0 var(--s2);
}
.doc li {
  margin-bottom: var(--s1);
}
.doc .updated {
  color: var(--muted);
}
.doc table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 var(--s3);
  font-size: 0.9375rem;
}
.doc th,
.doc td {
  text-align: left;
  vertical-align: top;
  padding: 12px var(--s1) 12px 0;
  border-bottom: 1px solid var(--line);
}
.doc th {
  color: var(--muted);
  font-weight: 600;
}
.table-scroll {
  overflow-x: auto;
}
.made dt {
  font-family: var(--display);
  font-size: 2rem;
  line-height: 1;
  color: var(--orange);
  margin-top: var(--s4);
}
.made dd {
  margin: var(--s1) 0 0;
}

/* Open items Zack must answer before this page is public. Loud on purpose. */
.todo {
  background: #ffe27a;
  color: #1b1b1c;
  padding: 0 4px;
  border-radius: 3px;
  font-weight: 700;
}
.draft-banner {
  background: #ffe27a;
  color: #1b1b1c;
  padding: var(--s2) var(--s3);
  font-weight: 700;
  text-align: center;
}
