/* Landing and legal pages. /r/{id} keeps style.css. */
@font-face {
  font-family: 'Bebas Neue';
  src: url('/fonts/BebasNeue-Regular.ttf') format('truetype');
  font-display: swap;
}

:root {
  --bg: #0a0a0a;
  --surface: #141414;
  --border: #262626;
  --text: #f5f5f5;
  --muted: #a3a3a3;
  --accent: #c6ff00;
  --on-accent: #0a0a0a;
  --display: 'Bebas Neue', Impact, 'Arial Narrow', sans-serif;
  --body: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
}
a { color: var(--accent); }
img { max-width: 100%; }

.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* Header */
.top { border-bottom: 1px solid var(--border); }
.top .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-family: var(--display);
  font-size: 26px;
  letter-spacing: 0.06em;
  line-height: 1;
}
.logo img { height: 34px; width: auto; }
.pill {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  white-space: nowrap;
}

/* Hero */
.hero { padding: 72px 0 64px; text-align: center; }
.hero .mark { height: 120px; width: auto; margin-bottom: 24px; }
h1, h2, h3 {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1;
  margin: 0;
}
.hero h1 { font-size: clamp(48px, 10vw, 96px); }
.hero h1 span { color: var(--accent); }
.hero p {
  max-width: 560px;
  margin: 20px auto 0;
  color: var(--muted);
  font-size: 19px;
}
.store { display: inline-block; margin-top: 32px; line-height: 0; }
.store img { width: 220px; height: auto; }
.small { margin-top: 12px; font-size: 14px; color: var(--muted); }

/* Sections */
section { padding: 64px 0; border-top: 1px solid var(--border); }
section > .wrap > h2 { font-size: clamp(36px, 6vw, 56px); text-align: center; }
.lead { max-width: 620px; margin: 12px auto 0; text-align: center; color: var(--muted); }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 40px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
}
.card svg { width: 28px; height: 28px; color: var(--accent); }
.card h3 { font-size: 28px; margin-top: 14px; }
.card p { margin: 8px 0 0; color: var(--muted); font-size: 16px; }

.coach {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: 16px;
  padding: 32px;
}
.coach h2 { font-size: clamp(32px, 5vw, 44px); }
.coach p { margin: 8px 0 0; color: var(--muted); max-width: 560px; }

.top-nav { display: flex; align-items: center; gap: 18px; }
.top-nav > a:not(.pill) { color: var(--text); text-decoration: none; font-weight: 600; font-size: 15px; }

/* Coaching plans */
.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 40px;
}
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 24px 24px;
}
.plan.featured { border-color: var(--accent); }
.plan h3 { font-size: 30px; }
.plan .tag {
  position: absolute;
  top: -12px;
  left: 24px;
  padding: 2px 12px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--on-accent);
  font-size: 13px;
  font-weight: 700;
}
.prices { display: flex; flex-wrap: wrap; gap: 12px; }
.prices div {
  flex: 1 1 120px;
  display: flex;
  flex-direction: column;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--bg);
  border: 1px solid var(--border);
}
.prices strong { font-family: var(--display); font-weight: 400; font-size: 44px; line-height: 1; color: var(--accent); }
.prices span { color: var(--muted); font-size: 15px; }
.plan .pill { align-self: flex-start; margin-top: auto; }
.pill.ghost { background: transparent; color: var(--accent); border: 1px solid var(--accent); }
.note { margin: 12px 0 0; color: var(--muted); font-size: 14px; text-align: center; }
.steps-title { font-size: 32px; text-align: center; margin-top: 56px; }
.steps {
  max-width: 640px;
  margin: 20px auto 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.steps li {
  counter-increment: step;
  position: relative;
  padding: 14px 0 14px 56px;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
}
.steps li:last-child { border-bottom: 0; }
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 12px;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--accent);
  color: var(--accent);
  font-family: var(--display);
  font-size: 22px;
  line-height: 36px;
  text-align: center;
}
.steps strong { color: var(--text); }

.cta { text-align: center; }

/* Footer */
footer { border-top: 1px solid var(--border); padding: 32px 0 48px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
footer a { color: var(--muted); }
footer a:hover { color: var(--text); }

/* Legal pages */
.doc { max-width: 760px; padding-top: 48px; padding-bottom: 64px; }
.doc h1 { font-size: clamp(40px, 8vw, 64px); }
.doc .updated { color: var(--muted); font-size: 14px; margin-top: 8px; }
.doc h2 { font-size: 32px; margin-top: 44px; }
.doc h3 { font-size: 24px; margin-top: 28px; }
.doc p, .doc li { color: #d4d4d4; }
.doc ul, .doc ol { padding-left: 22px; }
.doc li { margin: 6px 0; }
.doc strong { color: var(--text); }
.doc .box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 20px;
  margin: 20px 0;
}
.doc .box p { margin: 0; }
.table { overflow-x: auto; margin: 16px 0; }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--border); }
th { color: var(--text); font-weight: 700; }
td { color: #d4d4d4; }

@media (max-width: 560px) {
  body { font-size: 16px; }
  .hero { padding: 48px 0 48px; }
  .hero .mark { height: 96px; }
  section { padding: 48px 0; }
  .coach { padding: 24px; }
  .top-nav { gap: 12px; }
  .plan h3 { font-size: 26px; }
}
