/* ===========================================================================
   Compete — marketing site styles
   Plain CSS, no build step. Design system mirrors the iOS app:
   white bg, near-black text, light-gray cards, amber accent (used sparingly).
   =========================================================================== */

/* ---- Design tokens ----------------------------------------------------- */
:root {
  --bg: #ffffff;
  --bg-tint: #fafafa;          /* very subtle section alternation */
  --text: #111111;
  --muted: #888888;
  --faint: #aaaaaa;
  --card: #f2f2f2;
  --card-2: #ececec;
  --line: #ededed;             /* hairline dividers */
  --amber: #d4a017;
  --amber-soft: #fbf3dd;       /* amber tint background */
  --danger: #cc3333;
  --green: #059669;
  --green-bg: #d1fae5;

  --radius: 16px;
  --radius-lg: 24px;
  --maxw: 1120px;

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "SFMono-Regular", "JetBrains Mono", Menlo,
    Consolas, "Liberation Mono", monospace;

  --shadow-soft: 0 1px 2px rgba(17, 17, 17, 0.04),
    0 8px 24px rgba(17, 17, 17, 0.05);
}

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

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

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.08;
}

p {
  margin: 0;
}

.mono {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}

/* ---- Layout helpers ---------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 96px 0;
}

.section--tint {
  background: var(--bg-tint);
}

.section-head {
  max-width: 680px;
  margin: 0 auto 56px;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 14px;
}

.section-head h2 {
  font-size: clamp(1.9rem, 4vw, 2.75rem);
}

.section-head p {
  margin-top: 18px;
  font-size: 1.125rem;
  color: var(--muted);
}

/* ---- Buttons ----------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 56px;
  padding: 0 28px;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 600;
  font-family: inherit;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, opacity 0.15s ease,
    box-shadow 0.15s ease;
  white-space: nowrap;
}

.btn:active {
  transform: translateY(1px);
}

.btn--primary {
  background: var(--amber);
  color: #111;
}

.btn--primary:hover {
  background: #c2920f;
}

.btn--dark {
  background: var(--text);
  color: #fff;
}

.btn--dark:hover {
  background: #000;
}

.btn--ghost {
  background: var(--card);
  color: var(--text);
  height: 48px;
}

.btn--ghost:hover {
  background: var(--card-2);
}

.btn--sm {
  height: 44px;
  padding: 0 20px;
  font-size: 0.95rem;
}

.btn--block {
  width: 100%;
}

.btn .apple {
  width: 18px;
  height: 18px;
}

/* ---- Header / nav ------------------------------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  position: relative;
}

.nav nav {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.brand .logo {
  width: 30px;
  height: 30px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.15s ease;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  margin: 4px 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ---- Hero -------------------------------------------------------------- */
.hero {
  padding: 72px 0 96px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--amber-soft);
  color: #9a7611;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 24px;
}

.hero-badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--amber);
}

.hero-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}

.hero-logo .logo {
  width: 54px;
  height: 54px;
}

.hero-logo .wordmark {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.hero h1 {
  font-size: clamp(2.4rem, 5.2vw, 3.85rem);
  letter-spacing: -0.035em;
  line-height: 1.02;
}

.hero h1 .accent {
  color: var(--amber);
}

.hero-sub {
  margin-top: 22px;
  font-size: 1.2rem;
  color: var(--muted);
  max-width: 30ch;
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 420px;
}

.notify-form {
  display: flex;
  gap: 10px;
}

.notify-form input {
  flex: 1;
  height: 52px;
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 999px;
  padding: 0 20px;
  font-size: 0.98rem;
  font-family: inherit;
  color: var(--text);
  transition: border-color 0.15s ease, background 0.15s ease;
}

.notify-form input:focus {
  outline: none;
  border-color: var(--amber);
  background: #fff;
}

.notify-form button {
  height: 52px;
  flex-shrink: 0;
}

.form-note {
  font-size: 0.85rem;
  color: var(--faint);
}

.form-note--ok {
  color: var(--green);
  font-weight: 600;
}

.hero-trust {
  margin-top: 26px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--muted);
}

/* ---- Phone mockups ----------------------------------------------------- */
.phone-wrap {
  display: flex;
  justify-content: center;
  perspective: 1600px;
}

.phone {
  position: relative;
  width: 290px;
  aspect-ratio: 290 / 600;
  background: #111;
  border-radius: 46px;
  padding: 9px;
  box-shadow: var(--shadow-soft);
}

.phone::after {
  /* subtle side button hint */
  content: "";
  position: absolute;
  right: -2px;
  top: 130px;
  width: 3px;
  height: 56px;
  background: #1d1d1d;
  border-radius: 2px;
}

.phone-screen {
  position: relative;
  height: 100%;
  width: 100%;
  background: #fff;
  border-radius: 38px;
  overflow: hidden;
  /* Swap target: drop an <img class="screen-img"> in here to use a real
     screenshot instead of the recreated HTML screen. */
}

.screen-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.phone-island {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 92px;
  height: 26px;
  background: #111;
  border-radius: 16px;
  z-index: 5;
}

/* tilt the hero phone a touch for life; flatten on hover */
.phone--hero {
  width: 250px;
  transform: rotateY(-12deg) rotateX(3deg) rotate(1.5deg);
  transition: transform 0.5s ease;
}

.phone--hero:hover {
  transform: rotateY(0) rotateX(0) rotate(0);
}

/* ---- In-phone app UI --------------------------------------------------- */
.app {
  position: absolute;
  inset: 0;
  padding: 44px 16px 16px;
  font-size: 13px;
  color: var(--text);
  display: flex;
  flex-direction: column;
}

.app-status {
  position: absolute;
  top: 14px;
  left: 0;
  right: 0;
  padding: 0 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  font-weight: 600;
  z-index: 4;
}

.app-status .sig {
  display: flex;
  gap: 4px;
  align-items: center;
}

.app-status .sig svg {
  width: 15px;
  height: 12px;
}

.app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.app-header h3 {
  font-size: 24px;
  letter-spacing: -0.03em;
}

.app-bell {
  position: relative;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--card);
  display: flex;
  align-items: center;
  justify-content: center;
}

.app-bell svg {
  width: 17px;
  height: 17px;
}

.app-bell .badge {
  position: absolute;
  top: 6px;
  right: 7px;
  width: 8px;
  height: 8px;
  background: var(--danger);
  border-radius: 50%;
  border: 1.5px solid #fff;
}

.app-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--faint);
  margin: 4px 0 10px;
}

/* match card (home) */
.m-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 14px;
  margin-bottom: 10px;
}

.m-card .m-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
}

.m-card h4 {
  font-size: 15px;
  letter-spacing: -0.02em;
}

.m-card .m-sub {
  font-size: 11.5px;
  color: var(--muted);
  margin-top: 3px;
}

.m-rank {
  flex-shrink: 0;
  text-align: right;
}

.m-rank .pos {
  font-size: 13px;
  font-weight: 700;
}

.m-rank .pos.first {
  color: var(--amber);
}

.m-rank .score {
  font-size: 12px;
  color: var(--muted);
}

.m-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
}

.badge-active {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--green);
  background: var(--green-bg);
  padding: 3px 8px;
  border-radius: 999px;
}

/* avatars */
.avatar {
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 600;
  background: #3a3a3a;
  flex-shrink: 0;
  font-size: 11px;
}

.avatar.amber-ring {
  box-shadow: 0 0 0 2px var(--amber), 0 0 0 4px #fff;
}

.av-stack {
  display: flex;
}

.av-stack .avatar {
  width: 26px;
  height: 26px;
  border: 2px solid var(--card);
  margin-left: -8px;
}

.av-stack .avatar:first-child {
  margin-left: 0;
}

.av-more {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #d8d8d8;
  color: #555;
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--card);
  margin-left: -8px;
}

/* race standings screen */
.target-block {
  text-align: center;
  padding: 8px 0 18px;
}

.target-block .tlabel {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--faint);
}

.target-block .tnum {
  font-size: 40px;
  font-weight: 700;
  color: var(--amber);
  letter-spacing: -0.03em;
  margin-top: 2px;
}

.s-row {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
}

.s-row:last-child {
  border-bottom: none;
}

.s-rank {
  width: 18px;
  font-weight: 700;
  font-size: 13px;
  color: var(--faint);
  text-align: center;
}

.s-rank.first {
  color: var(--amber);
}

.s-mid {
  flex: 1;
  min-width: 0;
}

.s-name {
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.s-name .you {
  font-size: 9.5px;
  font-weight: 700;
  color: var(--muted);
  background: #e6e6e6;
  padding: 1px 6px;
  border-radius: 999px;
}

.bar {
  height: 6px;
  background: #e7e7e7;
  border-radius: 999px;
  margin-top: 6px;
  overflow: hidden;
}

.bar > span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: #2a2a2a;
}

.bar > span.amber {
  background: var(--amber);
}

.s-score {
  font-size: 13px;
  font-weight: 700;
  text-align: right;
  min-width: 56px;
}

/* result / winner screen */
.result {
  text-align: center;
  padding-top: 6px;
}

.trophy {
  width: 64px;
  height: 64px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: var(--amber-soft);
  display: flex;
  align-items: center;
  justify-content: center;
}

.trophy svg {
  width: 34px;
  height: 34px;
  color: var(--amber);
}

.result .winner-av {
  width: 72px;
  height: 72px;
  margin: 0 auto 10px;
  font-size: 26px;
}

.result .won {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
}

.result .winner-name {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-top: 2px;
}

.result-list {
  text-align: left;
  margin-top: 18px;
}

.stakes {
  margin-top: 16px;
  background: var(--card);
  border-radius: 14px;
  padding: 12px 14px;
  text-align: left;
}

.stakes .slabel {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
}

.stakes .stext {
  font-size: 13px;
  font-weight: 600;
  margin-top: 3px;
}

/* log sheet screen */
.sheet {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  border-top-left-radius: 26px;
  border-top-right-radius: 26px;
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.08);
  padding: 12px 18px 22px;
}

.sheet-grip {
  width: 38px;
  height: 5px;
  border-radius: 999px;
  background: #dcdcdc;
  margin: 0 auto 16px;
}

.sheet h4 {
  font-size: 17px;
  text-align: center;
  margin-bottom: 4px;
}

.sheet .sheet-sub {
  font-size: 11.5px;
  color: var(--muted);
  text-align: center;
  margin-bottom: 16px;
}

.num-input {
  background: var(--card);
  border-radius: 16px;
  padding: 18px;
  text-align: center;
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.num-input .cur {
  color: var(--faint);
}

.attach {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 14px 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}

.attach svg {
  width: 16px;
  height: 16px;
}

.sheet-submit {
  background: var(--text);
  color: #fff;
  text-align: center;
  font-weight: 600;
  font-size: 15px;
  padding: 15px;
  border-radius: 999px;
}

.app-faded {
  filter: blur(1.5px);
  opacity: 0.55;
}

/* ---- How it works ------------------------------------------------------ */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  counter-reset: step;
}

.step {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
}

.step .num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  color: var(--text);
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.step:first-child .num {
  background: var(--amber);
}

.step h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.step p {
  color: var(--muted);
  font-size: 1rem;
}

/* ---- Match types ------------------------------------------------------- */
.types {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.type-card {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
}

.type-card .ico {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.type-card .ico svg {
  width: 24px;
  height: 24px;
  color: var(--text);
}

.type-card.is-amber .ico svg {
  color: var(--amber);
}

.type-card h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.type-card > p {
  color: var(--muted);
  margin-bottom: 22px;
}

.type-viz {
  margin-top: auto;
  background: #fff;
  border-radius: var(--radius);
  padding: 16px;
}

.viz-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 0;
}

.viz-row .vname {
  width: 56px;
  font-size: 0.82rem;
  font-weight: 600;
}

.viz-row .bar {
  flex: 1;
  margin-top: 0;
}

.viz-row .vscore {
  font-size: 0.82rem;
  font-weight: 700;
  min-width: 52px;
  text-align: right;
}

.viz-target {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 6px;
}

.viz-target .vt-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
}

.viz-target .vt-num {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--amber);
}

.viz-deadline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.viz-deadline .vd-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
}

.viz-deadline .vd-date {
  font-size: 0.95rem;
  font-weight: 700;
}

/* ---- Science / evidence cards ----------------------------------------- */
.sci-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.sci-card {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
}

.sci-card .sci-stat {
  font-family: var(--mono);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--amber);
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  line-height: 1;
}

.sci-card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.sci-card p {
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.6;
  flex: 1;
}

.sci-card .sci-cite {
  margin-top: 20px;
  font-size: 0.76rem;
  font-weight: 600;
  color: #9a7611;
  background: var(--amber-soft);
  padding: 4px 11px;
  border-radius: 999px;
  display: inline-block;
  align-self: flex-start;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
  cursor: pointer;
}

.sci-card a.sci-cite:hover {
  background: var(--amber);
  color: #fff;
}

/* ---- Mini UI cards (how it works) ---------------------------------------- */
.mini-how-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.mini-how-card {
  background: var(--card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.mini-how-preview {
  background: #fff;
  padding: 22px 18px 18px;
  border-bottom: 1px solid var(--line);
}

.mini-how-body {
  padding: 20px 20px 24px;
}

.mini-step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--text);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.mini-step-num--amber {
  background: var(--amber);
  color: var(--text);
}

.mini-how-body h3 { font-size: 1.05rem; margin-bottom: 8px; }
.mini-how-body p  { color: var(--muted); font-size: 0.93rem; line-height: 1.55; }

/* mini form elements */
.mf-label {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--faint);
  margin-bottom: 5px;
  margin-top: 11px;
}
.mf-label:first-child { margin-top: 0; }

.mf-field {
  background: var(--card);
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
}

.mf-types { display: flex; flex-direction: column; gap: 4px; }

.mf-type {
  background: var(--card);
  border-radius: 8px;
  padding: 7px 10px;
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
}

.mf-type.active { background: var(--text); color: #fff; }

/* mini standings elements */
.mf-match-title {
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.mf-row {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 6px 0;
  border-bottom: 1px solid var(--line);
}

.mf-rank { width: 14px; font-weight: 700; color: var(--faint); font-size: 11px; flex-shrink: 0; }
.mf-rank.first { color: var(--amber); }
.mf-name { width: 44px; font-weight: 600; font-size: 11px; flex-shrink: 0; }
.mf-score { font-size: 11px; font-weight: 700; min-width: 42px; text-align: right; font-family: var(--mono); flex-shrink: 0; }

.mf-log-btn {
  background: var(--text);
  color: #fff;
  border-radius: 999px;
  padding: 8px;
  font-size: 11px;
  font-weight: 700;
  text-align: center;
  margin-top: 13px;
}

/* mini winner elements */
.mf-trophy { text-align: center; font-size: 32px; margin-bottom: 4px; }
.mf-won { text-align: center; font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--amber); }
.mf-winner-name { text-align: center; font-size: 20px; font-weight: 700; letter-spacing: -0.02em; margin: 4px 0 14px; }
.mf-stakes { background: var(--card); border-radius: 8px; padding: 7px 10px; font-size: 11px; font-weight: 600; text-align: center; margin-top: 10px; color: var(--muted); }

/* ---- How-it-works showcase (interactive) ------------------------------- */
.how-phone-wrap .phone {
  width: 240px;
}
.how-showcase {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
}

.how-phone-wrap {
  display: flex;
  justify-content: center;
}

/* Screens stack inside the phone-screen; one is visible at a time */
.how-screen {
  position: absolute;
  inset: 0;
  background: #fff;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.how-screen.active {
  opacity: 1;
  pointer-events: auto;
}

/* iOS-style status bar */
.hs-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px 0;
  height: 38px;
  flex-shrink: 0;
}

.hs-time {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #111;
}

.hs-icons {
  display: flex;
  gap: 5px;
  align-items: center;
}

/* Navigation bar */
.hs-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 14px 10px;
  border-bottom: 1px solid var(--line);
  flex-shrink: 0;
  min-height: 44px;
}

.hs-back {
  font-size: 22px;
  color: var(--amber);
  font-weight: 500;
  line-height: 1;
  width: 24px;
}

.hs-nav-title {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #111;
}

/* Scrollable content area */
.hs-body {
  padding: 14px 14px 16px;
  flex: 1;
  overflow: hidden;
}

/* Primary action button inside the screen */
.hs-primary-btn {
  background: #111;
  color: #fff;
  border-radius: 999px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  padding: 12px;
  margin-top: 18px;
}

/* Step buttons */
.how-steps {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.how-step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  text-align: left;
  background: var(--card);
  border: 2px solid transparent;
  border-radius: 18px;
  padding: 20px 22px;
  cursor: pointer;
  font-family: var(--font);
  color: var(--text);
  width: 100%;
  transition: background 0.2s ease, border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.how-step:hover { background: var(--card-2); }

.how-step.active {
  background: #fff;
  border-color: #111;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.07);
}

.how-step-num {
  min-width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #e5e5e5;
  color: #888;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  flex-shrink: 0;
  transition: background 0.2s ease, color 0.2s ease;
}

.how-step.active .how-step-num {
  background: #111;
  color: #fff;
}

.how-step-copy { flex: 1; }

.how-step-title {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 5px;
  line-height: 1.2;
}

.how-step-desc {
  font-size: 0.87rem;
  color: var(--muted);
  line-height: 1.5;
}

/* ---- Metric chips (compete on anything) -------------------------------- */
.compete-on {
  margin-bottom: 52px;
}

.types-sub-head {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--faint);
  margin: 0 0 20px;
  text-align: center;
}

.metric-chips {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 6px;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.metric-chips::-webkit-scrollbar { display: none; }

.metric-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  background: var(--card);
  border-radius: 20px;
  padding: 22px 18px;
  min-width: 130px;
  flex: 1;
  text-align: center;
  border: 2px solid transparent;
}

.metric-chip--custom {
  background: #fff;
  border-color: #d8d8d8;
  border-style: dashed;
}

.metric-chip-icon {
  width: 48px;
  height: 48px;
  background: #e5e5e5;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.metric-chip-icon svg {
  width: 21px;
  height: 21px;
}

.metric-chip-icon--amber {
  background: var(--amber-soft);
}

.metric-chip-icon--amber svg {
  stroke: var(--amber);
}

.metric-chip-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.35;
}

.metric-chip-sub {
  font-size: 0.72rem;
  color: var(--muted);
  margin-top: -4px;
}

.types-sep {
  height: 1px;
  background: var(--line);
  margin: 0 0 44px;
}

/* ---- Features ---------------------------------------------------------- */
.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.feature {
  background: var(--card);
  border-radius: var(--radius);
  padding: 26px;
  transition: transform 0.2s ease;
}

.feature:hover {
  transform: translateY(-3px);
}

.feature .ico {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.feature .ico svg {
  width: 22px;
  height: 22px;
  color: var(--text);
  stroke-width: 1.8;
}

.feature h3 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.feature p {
  color: var(--muted);
  font-size: 0.96rem;
}

/* ---- Why / CTA band ---------------------------------------------------- */
.why {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.why h2 {
  font-size: clamp(1.9rem, 4vw, 2.75rem);
}

.why p {
  margin-top: 20px;
  font-size: 1.15rem;
  color: var(--muted);
}

.why-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.stat {
  background: var(--card);
  border-radius: var(--radius);
  padding: 26px;
}

.stat .big {
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.stat .big.amber {
  color: var(--amber);
}

.stat .lbl {
  color: var(--muted);
  font-size: 0.95rem;
  margin-top: 4px;
}

.cta-band {
  background: var(--text);
  border-radius: var(--radius-lg);
  padding: 64px 40px;
  text-align: center;
  color: #fff;
}

.cta-band .logo {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
}

.cta-band h2 {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  color: #fff;
}

.cta-band p {
  margin: 16px auto 30px;
  max-width: 46ch;
  color: #bdbdbd;
  font-size: 1.1rem;
}

.cta-band .btn--primary {
  background: var(--amber);
  color: #111;
}

.cta-band .cta-note {
  margin-top: 16px;
  font-size: 0.85rem;
  color: #8a8a8a;
}

/* ---- Footer ------------------------------------------------------------ */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 56px 0 40px;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
}

.footer-brand {
  max-width: 280px;
}

.footer-brand .brand {
  margin-bottom: 12px;
}

.footer-brand p {
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-links {
  display: flex;
  gap: 64px;
  flex-wrap: wrap;
}

.footer-col h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--faint);
  margin-bottom: 14px;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  color: var(--muted);
  font-size: 0.95rem;
  transition: color 0.15s ease;
}

.footer-col a:hover {
  color: var(--text);
}

.footer-bottom {
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--faint);
  font-size: 0.88rem;
}

/* ---- Scroll reveal ----------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.in {
  opacity: 1;
  transform: none;
}

.reveal.d1 {
  transition-delay: 0.08s;
}
.reveal.d2 {
  transition-delay: 0.16s;
}
.reveal.d3 {
  transition-delay: 0.24s;
}

/* =========================================================================
   Subpages (legal + support)
   ========================================================================= */
.page-hero {
  padding: 64px 0 32px;
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
}

.page-hero .updated {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.95rem;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
  margin-bottom: 26px;
  transition: color 0.15s ease;
}

.back-link:hover {
  color: var(--text);
}

.back-link svg {
  width: 16px;
  height: 16px;
}

/* readable legal/document body */
.doc {
  max-width: 760px;
  margin: 0 auto;
  padding: 56px 24px 96px;
}

.doc h2 {
  font-size: 1.5rem;
  margin: 48px 0 14px;
  letter-spacing: -0.02em;
}

.doc h3 {
  font-size: 1.15rem;
  margin: 28px 0 10px;
}

.doc p {
  margin: 14px 0;
  color: #2b2b2b;
  line-height: 1.7;
}

.doc ul {
  margin: 14px 0;
  padding-left: 22px;
  color: #2b2b2b;
  line-height: 1.7;
}

.doc li {
  margin: 8px 0;
}

.doc a {
  color: #9a7611;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.doc strong {
  color: var(--text);
}

.doc hr {
  border: none;
  border-top: 1px solid var(--line);
  margin: 40px 0;
}

.callout {
  background: var(--card);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 24px 0;
  border-left: 4px solid var(--amber);
}

.callout p {
  margin: 0;
}

.doc table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 0.95rem;
}

.doc th,
.doc td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.doc th {
  font-weight: 700;
  background: var(--bg-tint);
}

.doc-note {
  margin-top: 40px;
  font-size: 0.9rem;
  color: var(--muted);
  font-style: italic;
}

/* placeholder you must fill in before launch */
.todo {
  background: var(--amber-soft);
  color: #8a6a0d;
  padding: 1px 6px;
  border-radius: 4px;
  font-weight: 600;
  font-style: normal;
}

/* ---- Support form ------------------------------------------------------ */
/* Single column since the contact form was dropped in favour of a plain email
   address (see support.html). Kept as a grid so the mobile override below and
   the surrounding spacing stay unchanged. */
.support-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: start;
  max-width: 620px;
  margin: 0 auto;
  padding: 56px 24px 96px;
}

.support-info h2 {
  font-size: 1.6rem;
  margin-bottom: 14px;
}

.support-info p {
  color: var(--muted);
  margin-bottom: 18px;
}

.support-contact {
  background: var(--card);
  border-radius: var(--radius);
  padding: 22px;
  margin-top: 8px;
}

.support-contact .lbl {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--faint);
  font-weight: 700;
}

.support-contact a {
  display: block;
  margin-top: 6px;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
}

.form-card {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 30px;
}

.field {
  margin-bottom: 18px;
}

.field label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 7px;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  padding: 13px 15px;
  font-size: 1rem;
  font-family: inherit;
  color: var(--text);
  transition: border-color 0.15s ease;
}

.field textarea {
  resize: vertical;
  min-height: 140px;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--amber);
}

/* ---- Responsive -------------------------------------------------------- */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-actions {
    max-width: 100%;
  }

  .phone--hero {
    transform: none;
  }

  .steps,
  .types,
  .features,
  .sci-cards {
    grid-template-columns: 1fr;
  }

  .mini-how-cards {
    grid-template-columns: 1fr;
  }

  .how-showcase {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .how-phone-wrap {
    order: -1;
  }

  .why {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .support-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .nav-links,
  .nav-cta .btn {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  /* mobile dropdown nav */
  .nav-links.open {
    display: flex;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 8px 24px 16px;
  }

  .nav-links.open li {
    width: 100%;
  }

  .nav-links.open a {
    display: block;
    padding: 13px 0;
    font-size: 1.05rem;
    color: var(--text);
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 560px) {
  .section {
    padding: 64px 0;
  }

  .container {
    padding: 0 18px;
  }

  .features {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta-band {
    padding: 48px 24px;
  }

  .notify-form {
    flex-direction: column;
  }

  .notify-form button {
    width: 100%;
  }

  .why-stats {
    grid-template-columns: 1fr 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .phone--hero {
    transform: none;
  }
}

/* =========================================================================
   Science / proof sections — shared by the A/B/C landing variants
   ========================================================================= */
.claim {
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
  font-size: clamp(1.5rem, 3.2vw, 2.3rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.25;
}
.claim .hl {
  color: var(--amber);
}
.stat .cite {
  display: block;
  margin-top: 10px;
  font-size: 0.76rem;
  color: var(--faint);
}
.proof-note {
  max-width: 620px;
  margin: 28px auto 0;
  text-align: center;
  font-size: 0.9rem;
  color: var(--faint);
}
.feature .study {
  display: inline-block;
  margin-top: 14px;
  font-size: 0.76rem;
  font-weight: 600;
  color: #9a7611;
  background: var(--amber-soft);
  padding: 4px 11px;
  border-radius: 999px;
}
.statline {
  text-align: center;
}
.statline .big {
  font-family: var(--mono);
  font-size: clamp(3.5rem, 11vw, 7rem);
  font-weight: 700;
  color: var(--amber);
  letter-spacing: -0.04em;
  line-height: 1;
}
.statline .cap {
  max-width: 50ch;
  margin: 18px auto 0;
  font-size: 1.15rem;
  color: var(--muted);
}
.statline .cite {
  display: block;
  margin-top: 14px;
  font-size: 0.8rem;
  color: var(--faint);
}
.lead-text {
  max-width: 740px;
  margin: 0 auto;
  text-align: center;
  font-size: clamp(1.25rem, 2.6vw, 1.7rem);
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: -0.02em;
}
.lead-text .muted {
  color: var(--muted);
  font-weight: 400;
}
.sources {
  max-width: 760px;
  margin: 0 auto;
}
.sources h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--faint);
  margin-bottom: 14px;
  text-align: center;
}
.sources ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.sources li {
  font-size: 0.9rem;
  color: var(--muted);
  text-align: center;
}
.sources a {
  color: #9a7611;
  text-decoration: underline;
  text-underline-offset: 2px;
}
