/* ── Forged Boxing brand system ─────────────────────────────────────────────
   Mirrors the app (C:\forged\src\styles.css): near-black ground, heavy
   condensed uppercase display type in off-white, deep red kickers/accent
   bars, letter-spaced micro-labels, ghost numerals as background texture. */

:root {
  --ink: #111111;
  --ink-2: #181818;
  --ink-3: #222222;
  --line: #2e2e2e;
  --paper: #f5f3ef;
  --paper-dim: #b5b1a9;
  --paper-faint: #7a766f;
  --red: #b3241e;
  --red-bright: #d92e27;
  --display: 'Anton', 'Arial Narrow', sans-serif;
  --body: 'Inter', system-ui, sans-serif;
}

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

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

body {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
button { font-family: inherit; color: inherit; background: none; border: none; cursor: pointer; }

/* ── Type system ── */
.display {
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 0.95;
  letter-spacing: 0.01em;
}
.kicker {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--red-bright);
}
.kicker--dim { color: var(--paper-faint); }
.h2 { font-size: clamp(34px, 7vw, 56px); margin-top: 10px; }
.h3 { font-size: clamp(26px, 5vw, 38px); margin: 6px 0 10px; }
.h4 { font-size: 24px; margin-bottom: 8px; }
.muted { color: var(--paper-dim); }
.faint { color: var(--paper-faint); font-size: 14px; }
.strong { color: var(--paper); font-weight: 700; }
.red { color: var(--red-bright); }
.link { color: var(--paper-dim); text-decoration-color: var(--red); text-underline-offset: 3px; }
.link:hover { color: var(--paper); }
.mt8 { margin-top: 8px; } .mt12 { margin-top: 12px; } .mt16 { margin-top: 16px; }

.redbar {
  border: none;
  width: 56px;
  height: 4px;
  background: var(--red);
  margin: 18px 0;
}
.redbar--center { margin-left: auto; margin-right: auto; }

/* ── Layout ── */
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 22px; }
.wrap--narrow { max-width: 760px; }
.section { padding: 84px 0; border-top: 1px solid var(--line); }
.section--tight { padding: 0 0 84px; border-top: none; }
.section--alt { background: var(--ink-2); }

/* ── Buttons (match app) ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--ink-3);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px 26px;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform 0.06s, background 0.15s;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn--red { background: var(--red); border-color: var(--red); }
.btn--red:hover { background: var(--red-bright); border-color: var(--red-bright); }
.btn--ghost { background: transparent; }
.btn--ghost:hover { background: var(--ink-3); }
.btn--full { width: 100%; }
.btn--lg { padding: 17px 34px; font-size: 16px; }
.btn--sm { padding: 9px 16px; font-size: 13px; }

/* ── Top bar ── */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 22px;
  background: rgba(17, 17, 17, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.topbar__brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.topbar__brand img { border-radius: 6px; }
.topbar__brand .display { font-size: 19px; letter-spacing: 0.02em; }

/* ── Hero ── */
.hero {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 96px 0 88px;
}
/* ghost FB monogram texture — same as the app: overlapping letterforms,
   B carries a faint red undertone, echoing the brand mark */
.ghost-num {
  position: absolute;
  right: -0.04em;
  top: 40px;
  font-family: var(--display);
  font-size: clamp(200px, 40vw, 480px);
  line-height: 1;
  letter-spacing: -0.14em;
  color: #191919;
  user-select: none;
  pointer-events: none;
}
.ghost-num b { font-weight: 400; color: #211316; }
.hero__inner { position: relative; }
.hero__title { font-size: clamp(64px, 17vw, 170px); margin-top: 14px; }
.hero__sub { font-size: clamp(20px, 4.6vw, 32px); letter-spacing: 0.02em; }
.hero__lede { max-width: 560px; margin: 18px auto 0; }
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}
.hero__micro { margin-top: 16px; }
.hero__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 30px;
}
.hero__nav a {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--paper-dim);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 16px;
  transition: color 0.15s, border-color 0.15s;
}
.hero__nav a:hover { color: var(--paper); border-color: var(--red); }

/* Anchor jumps land below the sticky top bar. */
section[id] { scroll-margin-top: 64px; }

/* ── Video ── */
.video { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--ink-2); }
.video__poster { position: relative; aspect-ratio: 16 / 9; }
.video__posterart {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding-bottom: 56px; /* keep clear of the centered play button */
  text-align: center;
  background:
    radial-gradient(ellipse at 50% 120%, rgba(179, 36, 30, 0.18), transparent 60%),
    var(--ink);
}
.video__posterart img { border-radius: 16px; border: 1px solid var(--line); }
.video__posterart .display { font-size: clamp(20px, 3.4vw, 30px); }
.video__play {
  position: absolute;
  left: 50%;
  bottom: 9%;
  margin-left: -42px;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: var(--red);
  color: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.6);
  transition: transform 0.12s, background 0.15s;
}
.video__play:hover { transform: scale(1.06); background: var(--red-bright); }
.video__play svg { margin-left: 4px; }
.video__badge {
  position: absolute;
  top: 14px;
  left: 14px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: rgba(17, 17, 17, 0.8);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 5px 10px;
}
.video iframe, .video video { width: 100%; aspect-ratio: 16 / 9; display: block; border: none; }

/* ── Panels / mocks ── */
.panel {
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px;
}

.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-top: 48px;
}
.feature--flip .feature__text { order: 2; }
.feature--flip .feature__mock { order: 1; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 7px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--ink-3);
  color: var(--paper-dim);
  white-space: nowrap;
}
.chip.on { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.chip.on--red { background: var(--red); color: var(--paper); border-color: var(--red); }
.chip--lock { opacity: 0.65; }

.mock { display: flex; flex-direction: column; gap: 16px; }
.mock__field label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--paper-faint);
  margin-bottom: 8px;
}
.mock__btn { pointer-events: none; }

.solo-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  font-weight: 700;
  font-size: 14px;
}
.solo-toggle .sw {
  width: 40px;
  height: 22px;
  border-radius: 999px;
  background: var(--ink-3);
  border: 1px solid var(--line);
  position: relative;
  flex-shrink: 0;
}
.solo-toggle .sw::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--paper-faint);
  transition: left 0.15s, background 0.15s;
}
.solo-toggle.on .sw { background: var(--red); border-color: var(--red); }
.solo-toggle.on .sw::after { left: 20px; background: var(--paper); }

.mock__result { border-top: 1px solid var(--line); padding-top: 14px; }

.drill__name { font-size: 26px; margin: 6px 0 4px; }
.drill__tags {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--paper-faint);
}
.drill__cue {
  font-weight: 800;
  color: var(--red-bright);
  letter-spacing: 0.04em;
  margin: 12px 0 8px;
}
.drill__desc { font-size: 14px; }

.feature-pair {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.feature-card { padding: 28px; }

/* Combo Caller mock — the call lands big, like it does on the timer screen. */
.caller-mock { gap: 14px; }
.callflash-mock {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--ink);
  padding: 26px 18px;
  text-align: center;
}
.callflash-mock__text {
  font-size: clamp(34px, 6vw, 46px);
  color: var(--red-bright);
  letter-spacing: 0.02em;
}
.caller-mock__hint { text-align: center; }

/* The Tally mock — streak first, totals under it. */
.tally-mock {
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--ink);
  padding: 16px;
}
.tally-mock__streak {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.tally-mock__streak .display { font-size: 44px; color: var(--red-bright); }
.tally-mock__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding-top: 12px;
}
.tally-mock__grid span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--paper-faint);
}
.tally-mock__grid b {
  display: block;
  font-size: 26px;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: var(--paper);
}

.timer-mock {
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  background: var(--ink);
}
.timer-mock__phase {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.24em;
  color: var(--red-bright);
}
.timer-mock__time { font-size: 64px; }
.timer-mock__bar {
  width: 100%;
  height: 5px;
  border-radius: 999px;
  background: var(--ink-3);
  overflow: hidden;
}
.timer-mock__bar i { display: block; width: 62%; height: 100%; background: var(--red); }

/* ── Who ── */
.who-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.who-card { border-top: 3px solid var(--red); padding: 26px; }

/* ── Install ── */
.section--install { border-top: 4px solid var(--red); }
.install__lede { max-width: 640px; margin-top: 6px; }

.install__tabs { display: flex; gap: 10px; margin-top: 30px; }
.tab {
  flex: 1;
  max-width: 240px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--ink-2);
  font-family: var(--display);
  text-transform: uppercase;
  font-size: 20px;
  letter-spacing: 0.03em;
  color: var(--paper-dim);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}
.tab__sub {
  font-family: var(--body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--paper-faint);
}
.tab.on { border-color: var(--red); color: var(--paper); background: var(--ink-3); }
.tab.on .tab__sub { color: var(--red-bright); }

.install__body {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 48px;
  align-items: start;
  margin-top: 34px;
}

.steps { list-style: none; display: flex; flex-direction: column; gap: 26px; }
.steps[hidden] { display: none; }
.step { display: flex; gap: 18px; align-items: flex-start; }
.step__num {
  font-size: 40px;
  color: var(--red-bright);
  width: 30px;
  flex-shrink: 0;
  text-align: center;
}
.step__icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--ink-2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--paper);
}
.step p { margin-top: 4px; }

/* Phone mockup */
.phone { justify-self: center; text-align: center; }
.phone__screen {
  position: relative;
  width: 240px;
  height: 440px;
  margin: 0 auto;
  border: 3px solid var(--line);
  border-radius: 32px;
  background: linear-gradient(180deg, #1a1a1a, #121212);
  padding: 26px 18px;
  overflow: hidden;
}
.phone__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  justify-items: center;
}
.phone__app {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--ink-3);
  border: 1px solid var(--line);
}
.phone__app--fb {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(179, 36, 30, 0.35);
  overflow: hidden;
}
.phone__app--fb img { width: 100%; height: 100%; object-fit: cover; }
.phone__label {
  display: block;
  margin-top: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--paper-dim);
}
.phone__sheet {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 14px;
  background: var(--paper);
  color: var(--ink);
  border-radius: 14px;
  padding: 6px;
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.5);
}
.phone__sheet-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 12px;
  border-radius: 9px;
  font-size: 13.5px;
  font-weight: 600;
  outline: 2px solid var(--red);
  outline-offset: -2px;
}
.phone__caption { margin-top: 14px; }

.install__cta { text-align: center; margin-top: 44px; }

/* ── Pricing ── */
.price-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 40px;
  align-items: stretch;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: stretch;
}

/* ── Optional email sign-up ── */
.signup { margin-top: 24px; }
.signup__hp { position: absolute; left: -9999px; }
.signup__label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--paper-faint);
  margin-bottom: 8px;
}
.signup__row { display: flex; gap: 10px; flex-wrap: wrap; }
.signup__input {
  flex: 1 1 260px;
  min-height: 52px;
  padding: 12px 16px;
  font-size: 16px;
  font-family: inherit;
  color: var(--paper);
  background: #1c1c1c;
  border: 1px solid #2e2e2e;
  border-radius: 8px;
}
.signup__input:focus { outline: 2px solid var(--red); outline-offset: -1px; }
.signup__status { margin-top: 10px; }
.signup__status:empty { display: none; }
.price-card { padding: 30px; display: flex; flex-direction: column; }
.price-card--red { border-color: var(--red); border-width: 2px; }
.price-card__price { font-size: clamp(40px, 6vw, 56px); margin: 10px 0 18px; }
.price-card__intl { margin: -10px 0 18px; }
.price-card .btn { margin-top: auto; }
.price-card .faint { margin-bottom: 4px; }

.ticks { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.ticks li {
  position: relative;
  padding-left: 26px;
  color: var(--paper-dim);
  font-size: 15px;
}
.ticks li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 12px;
  height: 7px;
  border-left: 2.5px solid var(--paper-faint);
  border-bottom: 2.5px solid var(--paper-faint);
  transform: rotate(-45deg);
}
.ticks--red li::before { border-color: var(--red-bright); }

/* ── FAQ ── */
.faq {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--ink);
  margin-top: 14px;
  overflow: hidden;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 20px;
  font-family: var(--display);
  text-transform: uppercase;
  font-size: 19px;
  letter-spacing: 0.02em;
  position: relative;
  padding-right: 48px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--body);
  font-weight: 400;
  font-size: 24px;
  color: var(--red-bright);
}
.faq[open] summary::after { content: '–'; }
.faq p { padding: 0 20px 20px; }
.section--alt .faq { background: var(--ink-2); }

/* ── Footer ── */
.footer { border-top: 4px solid var(--red); padding: 56px 0 36px; background: var(--ink-2); }
.footer__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: center;
  justify-content: space-between;
}
.footer__brand { display: flex; gap: 16px; align-items: center; }
.footer__brand img { border-radius: 10px; }
.footer__name { font-size: 24px; }
.footer__links { display: flex; flex-wrap: wrap; gap: 22px; font-size: 14px; font-weight: 600; }
.footer__legal { margin-top: 36px; }

/* ── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 860px) {
  .section { padding: 56px 0; }
  .feature, .feature-pair, .price-grid, .support-grid { grid-template-columns: 1fr; gap: 18px; }
  .feature { margin-top: 36px; }
  .feature-pair { margin-top: 24px; }
  .feature-card { padding: 22px; }
  .feature--flip .feature__text { order: 1; }
  .feature--flip .feature__mock { order: 2; }
  .install__body { grid-template-columns: 1fr; }
  .phone { order: -1; }
  .who-grid { grid-template-columns: 1fr; gap: 16px; }
  .hero { padding: 64px 0 60px; }
  .timer-mock__time { font-size: 52px; }
}
@media (max-width: 480px) {
  .topbar__brand .display { font-size: 16px; }
  .step { gap: 12px; }
  .step__num { font-size: 30px; width: 22px; }
  .hero__cta .btn { width: 100%; }
}
