/* ─────────────────────────────────────────────
   Bench — imbenched.com
   Black & white like the app icon. The only color
   on the page is the one thing that pops in each photo.
   ───────────────────────────────────────────── */

:root {
  --paper: #f5f4f2;
  --paper-2: #eceae6;
  --ink: #1f1f1f;
  --ink-2: #3d3d3b;
  --mute: #77756f;
  --accent: #6e6e6e;          /* the gray bar in the logo */
  --accent-light: #b9b9b6;    /* accent on dark */
  --hair: rgba(31, 31, 31, 0.12);

  --heavy: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 48px);
  --r: 10px;
  --r-lg: 16px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--heavy);
  font-weight: 500;
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: var(--ink); color: var(--paper); }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* ───────── Type ───────── */
.mono { font-family: var(--mono); font-weight: 400; letter-spacing: 0.02em; }
.label {
  margin: 0 0 18px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--mute);
  display: flex;
  align-items: center;
  gap: 10px;
}
.label::before { content: ""; width: 22px; height: 1.5px; background: currentColor; }
.label--light { color: rgba(255, 255, 255, 0.72); }

.heavy { font-family: var(--heavy); font-weight: 800; letter-spacing: -0.035em; }
.serif { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }

.h2 {
  font-family: var(--heavy);
  font-weight: 800;
  font-size: clamp(38px, 5.2vw, 68px);
  line-height: 1;
  letter-spacing: -0.035em;
  margin: 0;
}
.h2 .serif { font-size: 1.08em; line-height: 0.9; }
.h2 .serif, .manifesto__line .serif, .aside { color: var(--accent); }
.hero .serif, .join .serif, .thanks .serif { color: var(--accent-light); }
.body { font-size: clamp(17px, 1.4vw, 19px); color: var(--ink-2); margin: 22px 0 0; max-width: 46ch; }

/* ───────── Buttons ───────── */
.btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1.5px solid transparent;
  border-radius: 8px;
  font-family: var(--heavy);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.01em;
  text-decoration: none;
  padding: 14px 22px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn--sm { padding: 9px 15px; font-size: 14px; }
.btn--white { background: #fff; color: var(--ink); }
.btn--white:hover { background: var(--paper-2); }
.btn--line { border-color: currentColor; background: transparent; }

/* ───────── Header ───────── */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  color: #fff;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}
.header__inner { height: 76px; display: flex; align-items: center; justify-content: space-between; }
.header.is-scrolled {
  background: rgba(245, 244, 242, 0.92);
  -webkit-backdrop-filter: blur(12px) saturate(1.2);
  backdrop-filter: blur(12px) saturate(1.2);
  color: var(--ink);
  border-bottom-color: var(--hair);
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand__icon { width: 32px; height: 32px; border-radius: 8px; }
.brand__word { font-weight: 800; font-size: 24px; letter-spacing: -0.05em; line-height: 1; }
.header__nav { display: flex; align-items: center; gap: 28px; }
.header__link { font-size: 15px; font-weight: 600; text-decoration: none; opacity: 0.85; }
.header__link:hover { opacity: 1; }
.header .btn--line:hover { background: #fff; color: var(--ink); border-color: #fff; }
.header.is-scrolled .btn--line { background: var(--ink); color: #fff; border-color: var(--ink); }
.header.is-scrolled .btn--line:hover { background: #000; }

/* ───────── Hero ───────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
  background: #161616;
  overflow: hidden;
  padding: 124px 0 0;
}
@supports (min-height: 100svh) { .hero { min-height: 100svh; } }

.hero__media { position: absolute; inset: 0; }
.slide {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.4s ease, visibility 0s linear 1.4s;
}
.slide.is-on { opacity: 1; visibility: visible; transition: opacity 1.4s ease; }
.hero__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(12, 12, 12, 0.78) 0%, rgba(12, 12, 12, 0.45) 45%, rgba(12, 12, 12, 0.15) 100%),
    linear-gradient(to top, rgba(12, 12, 12, 0.6) 0%, rgba(12, 12, 12, 0) 35%);
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
  flex: 1;
}
.hero__kicker { margin: 0 0 22px; font-size: 13px; text-transform: uppercase; letter-spacing: 0.12em; color: rgba(255, 255, 255, 0.72); }
.hero__title { margin: 0; line-height: 0.92; }
.hero__title .heavy { display: block; font-size: clamp(50px, 7.4vw, 108px); }
.hero__title .serif { display: block; font-size: clamp(58px, 8.4vw, 124px); line-height: 0.95; margin-top: 0.02em; }
.hero__lede { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.5; max-width: 38ch; margin: 26px 0 30px; color: rgba(255, 255, 255, 0.86); }

.hero__ring { position: relative; width: 100%; max-width: 420px; justify-self: end; aspect-ratio: 1; }
.hero__ring svg { width: 100%; height: 100%; }
.hero__ring line { stroke-linecap: round; transition: stroke 0.35s ease; }
.hero__readout { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.hero__readout-value { font-weight: 800; font-size: clamp(64px, 7vw, 100px); letter-spacing: -0.05em; line-height: 1; }
.hero__readout-until { font-size: 14px; color: rgba(255, 255, 255, 0.72); margin-top: 10px; }

.hero__foot {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 32px;
  padding-top: 22px;
  padding-bottom: 26px;
  margin-top: clamp(40px, 6vh, 72px);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.68);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}
.hero__facts { display: flex; flex-wrap: wrap; gap: 8px 32px; }
.hero__facts span::before { content: "+ "; color: #fff; }
.hero__now { display: flex; align-items: center; gap: 14px; }
.hero__now b { color: #fff; font-weight: 500; min-width: 4ch; }
.hero__dots { display: flex; gap: 6px; }
.hero__dots i { width: 18px; height: 2px; background: rgba(255, 255, 255, 0.3); transition: background 0.4s ease, width 0.4s var(--ease); }
.hero__dots i.is-on { background: #fff; width: 32px; }

/* ───────── Signup ───────── */
.signup { max-width: 520px; }
.signup__row { display: flex; border-radius: var(--r); overflow: hidden; }
.signup__input {
  flex: 1 1 auto; min-width: 0;
  border: 0; border-radius: 0;
  font-family: var(--mono); font-size: 16px;
  padding: 16px 18px; outline: none;
}
.signup__btn { flex: 0 0 auto; border-radius: 0; }
.signup__note { margin: 12px 0 0; font-size: 12px; }

.signup--dark .signup__row {
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.signup--dark .signup__input { background: rgba(0, 0, 0, 0.3); color: #fff; }
.signup--dark .signup__input::placeholder { color: rgba(255, 255, 255, 0.55); }
.signup--dark .signup__row:focus-within { border-color: #fff; box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.25); }
.signup--dark .signup__note { color: rgba(255, 255, 255, 0.68); }

.signup.is-sending .signup__btn { opacity: 0.6; pointer-events: none; }
.signup.is-done .signup__row { display: none; }
.signup.is-done .signup__note {
  margin: 0; display: inline-block;
  padding: 15px 18px; font-size: 14px; color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.85); border-radius: var(--r);
}
.signup.is-error .signup__note { color: #fff; font-weight: 500; }

/* ───────── Marquee ───────── */
.marquee { background: var(--ink); color: var(--paper); overflow: hidden; padding: 18px 0; }
.marquee__track {
  display: flex; width: max-content; align-items: center; gap: 26px;
  animation: marquee 40s linear infinite;
  font-weight: 800; font-size: clamp(22px, 2.8vw, 34px);
  letter-spacing: -0.02em; text-transform: uppercase; white-space: nowrap;
}
.marquee__track b { font-family: var(--serif); font-style: italic; font-weight: 400; color: #8d8d8a; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 13px)); } }

/* ───────── Sections ───────── */
.section { padding: clamp(84px, 11vw, 150px) 0; }

/* How it works */
.how__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.steps { list-style: none; margin: clamp(40px, 5vw, 64px) 0 0; padding: 0; border-top: 1.5px solid var(--ink); }
.step { display: grid; grid-template-columns: 76px 1fr; gap: 18px; padding: 28px 0 30px; border-bottom: 1px solid var(--hair); }
.step__num { font-size: 52px; line-height: 0.9; color: var(--accent); }
.step h3 { font-weight: 800; font-size: clamp(24px, 2.2vw, 30px); letter-spacing: -0.03em; line-height: 1.05; margin: 0 0 8px; }
.step p { margin: 0; color: var(--ink-2); max-width: 44ch; }
.how__phone { position: sticky; top: 108px; }

/* Phone */
.phone { max-width: 340px; margin: 0 auto; background: var(--ink); border-radius: 52px; padding: 11px; box-shadow: 0 40px 70px -35px rgba(0, 0, 0, 0.5); }
.screen { background: #fff; border-radius: 42px; padding: 12px 20px 22px; display: flex; flex-direction: column; user-select: none; -webkit-user-select: none; }
.status { display: flex; align-items: center; justify-content: space-between; height: 28px; padding: 0 6px; font-size: 14px; font-weight: 700; }
.island { width: 86px; height: 25px; border-radius: 16px; background: var(--ink); }
.bars { display: inline-flex; align-items: flex-end; gap: 2px; height: 11px; }
.bars i { width: 3px; background: var(--ink); border-radius: 1px; }
.bars i:nth-child(1) { height: 4px; } .bars i:nth-child(2) { height: 6px; } .bars i:nth-child(3) { height: 8px; } .bars i:nth-child(4) { height: 11px; }
.scr-hi { margin: 20px 0 0; font-weight: 800; font-size: 26px; letter-spacing: -0.035em; line-height: 1; }
.scr-sub { margin: 6px 0 0; font-size: 11px; color: var(--mute); text-transform: uppercase; letter-spacing: 0.08em; }

.dial { position: relative; width: 100%; max-width: 262px; aspect-ratio: 1; margin: 14px auto 6px; }
.dial__svg { width: 100%; height: 100%; overflow: visible; }
.dial__svg line { stroke-linecap: round; }
.dial__knob { fill: #fff; stroke: var(--ink); stroke-width: 3; filter: drop-shadow(0 2px 3px rgba(0,0,0,0.25)); }
.dial__center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; pointer-events: none; }
.dial__value { font-weight: 800; font-size: 58px; letter-spacing: -0.05em; line-height: 1; }
.dial__value small { font-size: 0.55em; letter-spacing: -0.03em; }
.dial__until { font-size: 12px; color: var(--mute); margin-top: 6px; }
.dial__hit { position: absolute; inset: 0; border-radius: 50%; cursor: grab; touch-action: none; -webkit-tap-highlight-color: transparent; }
.dial__hit:active { cursor: grabbing; }

.steppers { display: flex; align-items: center; justify-content: space-between; max-width: 240px; width: 100%; margin: 0 auto; font-size: 10px; color: var(--mute); text-transform: uppercase; letter-spacing: 0.08em; }
.stepper { appearance: none; width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--ink); background: #fff; color: var(--ink); font-family: var(--heavy); font-weight: 700; font-size: 19px; line-height: 1; cursor: pointer; padding: 0; }
.stepper:active { background: var(--ink); color: #fff; }
.lineups { display: flex; gap: 6px; margin-top: 20px; }
.lineup { font-size: 12px; font-weight: 700; padding: 7px 11px; border-radius: 8px; border: 1.5px solid var(--ink); }
.lineup.is-on { background: var(--ink); color: #fff; }
.bench-btn { appearance: none; width: 100%; margin-top: 14px; border: 0; border-radius: 16px; background: var(--ink); color: #fff; font-family: var(--heavy); font-weight: 800; font-size: 19px; letter-spacing: -0.02em; padding: 16px 0; cursor: pointer; transition: transform 0.12s ease; }
.bench-btn:active { transform: scale(0.97); }
.bench-btn.is-benched { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }

/* ───────── Get in the game (activity grid) ───────── */
.game { background: var(--ink); color: var(--paper); }
.game .label { color: rgba(245, 244, 242, 0.6); }
.game .h2 .serif { color: var(--accent-light); }
.game .body { color: rgba(245, 244, 242, 0.72); margin: 0; }
.game__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px 64px;
  flex-wrap: wrap;
  margin-bottom: clamp(36px, 5vw, 60px);
}
.game__head .body { max-width: 34ch; }

.acts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(10px, 1.4vw, 18px);
}
.act {
  position: relative;
  margin: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: #2a2a2a;
  aspect-ratio: 4 / 5;
}
.act__img { position: absolute; inset: 0; width: 100%; height: 100%; transition: transform 1.4s var(--ease); }
.act:hover .act__img { transform: scale(1.03); }
.act__pop { opacity: 0; transition: opacity 1.4s var(--ease); }
.act.is-color .act__pop { opacity: 1; }
.act::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10, 10, 10, 0.72) 0%, rgba(10, 10, 10, 0) 45%);
  pointer-events: none;
}
.act figcaption {
  position: absolute;
  z-index: 1;
  left: 22px; right: 22px; bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: #fff;
}
.act figcaption b { font-weight: 800; font-size: clamp(28px, 2.6vw, 36px); letter-spacing: -0.035em; line-height: 1; }
.act figcaption span { font-size: 15px; color: rgba(255, 255, 255, 0.82); }

/* ───────── Pricing ───────── */
.pricing__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 120px); align-items: center; }
.aside { font-size: 34px; margin: 14px 0 0; }
.board { background: var(--ink); color: var(--paper); border-radius: var(--r-lg); padding: clamp(24px, 3.4vw, 40px); box-shadow: 0 40px 70px -40px rgba(0, 0, 0, 0.55); }
.board__head { display: flex; justify-content: space-between; font-size: 12px; text-transform: uppercase; letter-spacing: 0.12em; color: rgba(245, 244, 242, 0.55); padding-bottom: 16px; border-bottom: 1.5px solid rgba(245, 244, 242, 0.85); }
.board__row { display: flex; align-items: baseline; gap: 12px; padding: 16px 0; border-bottom: 1px solid rgba(245, 244, 242, 0.14); font-weight: 800; font-size: clamp(20px, 2.1vw, 26px); letter-spacing: -0.02em; }
.board__row i { flex: 1 1 auto; border-bottom: 2px dotted rgba(245, 244, 242, 0.3); transform: translateY(-6px); }
.board__row span:last-child { font-family: var(--mono); font-weight: 500; font-size: 0.8em; letter-spacing: 0; }
.board__row--free span:last-child { background: var(--paper); color: var(--ink); padding: 2px 10px; border-radius: 4px; text-transform: uppercase; font-size: 14px; }
.board__foot { margin: 18px 0 0; font-size: 12px; text-transform: uppercase; letter-spacing: 0.12em; color: rgba(245, 244, 242, 0.6); }

/* ───────── Manifesto ───────── */
.manifesto { background: var(--paper-2); border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.manifesto__grid { display: grid; grid-template-columns: 1.4fr 0.6fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.manifesto__line { margin: 0; font-weight: 800; font-size: clamp(40px, 6vw, 88px); line-height: 0.98; letter-spacing: -0.04em; }
.manifesto__line .serif { font-size: 1.1em; }
.countdown { position: relative; width: 100%; max-width: 320px; aspect-ratio: 1; justify-self: end; }
.countdown svg { width: 100%; height: 100%; }
.countdown line { stroke-linecap: round; }
.countdown__center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.countdown__time { font-weight: 800; font-size: clamp(34px, 3.4vw, 46px); letter-spacing: -0.04em; font-variant-numeric: tabular-nums; line-height: 1; }
.countdown__sub { font-size: 12px; color: var(--mute); margin-top: 8px; }

/* ───────── Join ───────── */
.join { position: relative; color: #fff; background: #141414; overflow: hidden; padding: clamp(110px, 14vw, 190px) 0; }
.join__bg { position: absolute; inset: 0; width: 100%; height: 100%; }
.join__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12, 12, 12, 0.72) 0%, rgba(12, 12, 12, 0.35) 60%, rgba(12, 12, 12, 0.2) 100%); }
.join__inner { position: relative; z-index: 1; }
.join__title { margin: 0; line-height: 0.92; font-size: clamp(54px, 9vw, 132px); }
.join__title .serif { font-size: 1.1em; }
.join__lede { max-width: 40ch; margin: 22px 0 32px; font-size: clamp(17px, 1.5vw, 20px); color: rgba(255, 255, 255, 0.85); }

/* ───────── Footer ───────── */
.footer { background: #141414; color: rgba(245, 244, 242, 0.68); padding: 26px 0 34px; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 12px 28px; flex-wrap: wrap; }
.footer p { margin: 0; font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; }
.footer .brand { color: #fff; }
.footer .brand__icon { width: 26px; height: 26px; border-radius: 7px; }
.footer .brand__word { font-size: 20px; }

/* ───────── Thanks page ───────── */
.thanks { min-height: 100vh; display: flex; align-items: center; background: var(--ink); color: #fff; padding: 120px 0 80px; }
.thanks .h2 .serif { display: block; }

/* ───────── Reveal ───────── */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ───────── Responsive ───────── */
@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__ring { order: -1; justify-self: start; max-width: 200px; margin-bottom: 4px; }
  .hero__readout-value { font-size: 46px; }
  .hero__readout-until { font-size: 11px; margin-top: 6px; }
  .how__grid { grid-template-columns: 1fr; }
  .how__phone { position: static; }
  .pricing__grid { grid-template-columns: 1fr; }
  .manifesto__grid { grid-template-columns: 1fr; }
  .countdown { justify-self: start; max-width: 260px; }
  .acts {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 62%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
    padding-bottom: 6px;
  }
  .acts::-webkit-scrollbar { display: none; }
  .act { scroll-snap-align: start; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .header__inner { height: 62px; }
  .header__link { display: none; }
  .brand__icon { width: 28px; height: 28px; }
  .brand__word { font-size: 22px; }
  .hero { padding-top: 92px; }
  .hero__ring { max-width: 160px; }
  .hero__readout-value { font-size: 38px; }
  .hero__title .heavy { font-size: clamp(40px, 12.2vw, 58px); }
  .hero__title .serif { font-size: clamp(46px, 14vw, 66px); }
  .hero__facts { display: none; }
  .signup__row { flex-direction: column; }
  .signup__btn { padding: 15px 20px; }
  .step { grid-template-columns: 52px 1fr; gap: 12px; }
  .step__num { font-size: 40px; }
  .phone { max-width: 320px; border-radius: 48px; padding: 10px; }
  .screen { border-radius: 39px; padding: 10px 16px 18px; }
  .acts { grid-auto-columns: 80%; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .slide { transition: opacity 0.6s ease, visibility 0s linear 0.6s; }
  .marquee__track { animation-duration: 140s; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .act__pop, .act__img { transition: none; }
}
