/* ClubDrills, the short site for directors of coaching (CLU-122, 2026-09-15).
 *
 * One page per language, eight sections in the order Omer approved. Touchline, marketing
 * register: paper ground, white cards, near-black ink, ONE club red for the brand and the
 * primary action, hairlines instead of shadows, 2–6px corners. Rubik for display, Assistant
 * for body; both carry Hebrew. Logical properties throughout, so index.html (LTR) and
 * he/index.html (RTL) share every rule.
 *
 * Built for the phone first: a director opens the link Omer sent from WhatsApp.
 */

:root {
  --paper: #fbfaf6;
  --surface: #ffffff;
  --ink: #151515;
  --ink-muted: #5f5b57;
  --line: rgba(21, 21, 21, 0.1);
  --line-strong: rgba(21, 21, 21, 0.22);
  --accent: #d81e2c;
  --accent-strong: #b01523;
  --accent-tint: #fbe3e5;
  --night: #151515;
  --night-muted: #b9b3ad;
  --night-line: rgba(255, 255, 255, 0.14);

  --r-sm: 2px;
  --r-md: 4px;
  --r-lg: 6px;

  --font-body: 'Assistant', 'Segoe UI', system-ui, sans-serif;
  --font-display: 'Rubik', 'Segoe UI', system-ui, sans-serif;
  --gutter: clamp(20px, 5vw, 48px);
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
/* height:auto so the width/height attributes only reserve space and the CSS aspect-ratio wins */
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.02em; margin: 0; }
p { margin: 0; }

.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

.skip {
  position: absolute; inset-inline-start: 12px; top: -48px; z-index: 50;
  background: var(--ink); color: #fff; padding: 8px 14px; border-radius: var(--r-md); text-decoration: none;
}
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ── buttons ─────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 18px; border-radius: var(--r-md);
  font-family: var(--font-display); font-weight: 500; font-size: 16px; line-height: 1.2;
  text-decoration: none; border: 1px solid transparent; transition: background-color .15s, border-color .15s;
  white-space: nowrap;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-strong); }
.btn-quiet { border-color: var(--line-strong); color: var(--ink); background: transparent; }
.btn-quiet:hover { border-color: var(--ink); }
.btn-lg { min-height: 52px; padding: 14px 24px; font-size: 17px; }

/* ── top bar ─────────────────────────────────────────────────────────────── */
.topbar {
  position: sticky; top: 0; z-index: 20;
  background: rgba(251, 250, 246, 0.94); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.topbar .wrap { display: flex; align-items: center; gap: 16px; min-height: 64px; }
.brand {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
  font-family: var(--font-display); font-weight: 700; font-size: 19px; letter-spacing: -0.01em;
}
.brand img { width: 30px; height: 30px; border-radius: var(--r-md); }
.topbar .actions { margin-inline-start: auto; display: flex; align-items: center; gap: 8px; }
.topbar .lang, .topbar .signin {
  font-size: 15px; text-decoration: none; color: var(--ink-muted); padding: 10px 8px; min-height: 44px;
  display: inline-flex; align-items: center;
}
.topbar .lang:hover, .topbar .signin:hover { color: var(--ink); }
@media (max-width: 640px) {
  .topbar .signin { display: none; }
  .topbar .btn { padding-inline: 14px; font-size: 15px; }
}

/* ── section rhythm ──────────────────────────────────────────────────────── */
section { padding-block: clamp(56px, 9vw, 104px); border-top: 1px solid var(--line); }
section:first-of-type { border-top: 0; }
.eyebrow {
  display: block; font-family: var(--font-display); font-size: 13px; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 14px;
}
[dir="rtl"] .eyebrow { letter-spacing: 0; text-transform: none; font-size: 14px; }
.eyebrow b { color: var(--accent); font-weight: 700; margin-inline-end: 8px; }
h2 { font-size: clamp(30px, 4.6vw, 46px); line-height: 1.1; max-width: 20ch; }
.lede { font-size: clamp(18px, 2vw, 21px); color: var(--ink-muted); max-width: 60ch; margin-top: 16px; }

/* ── 1. hero ─────────────────────────────────────────────────────────────── */
.hero { padding-block: clamp(40px, 7vw, 88px); }
.hero .wrap { display: grid; gap: clamp(32px, 5vw, 64px); align-items: center; grid-template-columns: 1fr; }
@media (min-width: 900px) { .hero .wrap { grid-template-columns: 1.1fr 0.9fr; } }
.hero h1 { font-size: clamp(38px, 6.4vw, 68px); line-height: 1.04; max-width: 15ch; }
.hero .sub { font-size: clamp(19px, 2.1vw, 22px); color: var(--ink-muted); max-width: 44ch; margin-top: 20px; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero .buyer { margin-top: 18px; font-size: 15px; color: var(--ink-muted); }
.hero figure { margin: 0; position: relative; }
.hero figure img {
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--r-lg); max-height: 560px;
  border: 1px solid var(--line);
}
.voice {
  position: absolute; inset-inline-start: 16px; bottom: 16px; max-width: calc(100% - 32px);
  display: flex; align-items: center; gap: 12px;
  background: var(--night); color: #fff; border-radius: var(--r-md); padding: 12px 16px;
  font-size: 16px; line-height: 1.35;
}
.voice small { display: block; color: var(--night-muted); font-size: 13px; }
.eq { display: inline-flex; align-items: flex-end; gap: 3px; height: 22px; flex: none; }
.eq i { width: 3px; background: var(--accent); border-radius: 1px; height: 40%; }
.eq i:nth-child(2) { height: 90%; }
.eq i:nth-child(3) { height: 60%; }
.eq i:nth-child(4) { height: 100%; }
.eq i:nth-child(5) { height: 45%; }
@media (prefers-reduced-motion: no-preference) {
  .eq i { animation: eq 1.1s ease-in-out infinite alternate; }
  .eq i:nth-child(2) { animation-delay: -.3s; }
  .eq i:nth-child(3) { animation-delay: -.6s; }
  .eq i:nth-child(4) { animation-delay: -.15s; }
  .eq i:nth-child(5) { animation-delay: -.45s; }
  @keyframes eq { from { transform: scaleY(.35); } to { transform: scaleY(1); } }
  .eq i { transform-origin: bottom; }
}

/* ── 2. why audio ────────────────────────────────────────────────────────── */
.audio .grid { display: grid; gap: clamp(28px, 5vw, 64px); grid-template-columns: 1fr; margin-top: 36px; }
@media (min-width: 900px) { .audio .grid { grid-template-columns: 1fr 1fr; align-items: start; } }
.audio .prose p + p { margin-top: 16px; }
.audio .prose { font-size: 19px; max-width: 54ch; }
.compare { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
.compare div { padding: 18px 20px; }
.compare div + div { border-top: 1px solid var(--line); }
.compare dt { font-family: var(--font-display); font-weight: 500; font-size: 15px; color: var(--ink-muted); }
.compare dd { margin: 4px 0 0; font-size: 18px; }
.compare .ours dt { color: var(--accent); }

/* ── 3. what the club buys ───────────────────────────────────────────────── */
.buys .cards { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; margin-top: 36px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .buys .cards { grid-template-columns: 1fr 1fr; } }
.buys .card { background: var(--surface); padding: clamp(22px, 3vw, 32px); }
.buys h3 { font-size: 22px; }
.buys .card p { margin-top: 8px; color: var(--ink-muted); }
.buys .num { font-family: var(--font-display); color: var(--accent); font-size: 14px; font-weight: 500; display: block; margin-bottom: 10px; }

/* ── 4. one week ─────────────────────────────────────────────────────────── */
.week ol { list-style: none; margin: 36px 0 0; padding: 0; border-top: 2px solid var(--ink); }
.week li {
  display: grid; gap: 4px 24px; padding-block: 20px; border-bottom: 1px solid var(--line);
  grid-template-columns: 1fr;
}
@media (min-width: 700px) { .week li { grid-template-columns: 220px 1fr; align-items: baseline; } }
.week .who { font-family: var(--font-display); font-weight: 700; font-size: 20px; }
.week .who span { color: var(--accent); margin-inline-end: 10px; font-weight: 500; }
.week p { font-size: 19px; }

/* ── 5. easy for staff ───────────────────────────────────────────────────── */
.staff .cols { display: grid; gap: 28px; margin-top: 36px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .staff .cols { grid-template-columns: repeat(3, 1fr); gap: 40px; } }
.staff .fig { font-family: var(--font-display); font-size: clamp(34px, 4vw, 44px); font-weight: 700; letter-spacing: -0.02em; line-height: 1; }
.staff h3 { font-size: 20px; margin-top: 12px; }
.staff .cols p { margin-top: 8px; color: var(--ink-muted); }
.staff .col { border-top: 1px solid var(--line-strong); padding-top: 20px; }

/* ── 6. local proof ──────────────────────────────────────────────────────── */
.proof { background: var(--night); color: #fff; border-top: 0; }
.proof .wrap { display: grid; gap: clamp(28px, 5vw, 56px); grid-template-columns: 1fr; align-items: center; }
@media (min-width: 900px) { .proof .wrap { grid-template-columns: 0.9fr 1.1fr; } }
.proof img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r-lg); }
.proof .eyebrow { color: var(--night-muted); }
.proof .lede { color: var(--night-muted); }
/* one fact per row on a phone, then as many across as there are facts (a fixed column count leaves empty cells) */
.proof dl { margin: 28px 0 0; display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--night-line); border: 1px solid var(--night-line); border-radius: var(--r-lg); overflow: hidden; }
@media (min-width: 560px) { .proof dl { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); } }
.proof dl div { background: var(--night); padding: 16px 18px; }
.proof dt { font-size: 14px; color: var(--night-muted); }
.proof dd { margin: 4px 0 0; font-family: var(--font-display); font-size: 20px; font-weight: 500; }

/* ── 7. FAQ ──────────────────────────────────────────────────────────────── */
.faq .list { margin-top: 32px; border-top: 1px solid var(--line-strong); max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; display: flex; align-items: center; gap: 16px;
  min-height: 60px; padding-block: 14px; font-family: var(--font-display); font-weight: 500; font-size: 19px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; margin-inline-start: auto; flex: none; width: 12px; height: 12px;
  /* physical sides on purpose: a down-chevron points down in Hebrew too */
  border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg) translateY(-4px);
  transition: transform .15s;
}
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.faq details p { padding-bottom: 20px; color: var(--ink-muted); max-width: 64ch; }

/* ── 8. CTA ──────────────────────────────────────────────────────────────── */
.cta { text-align: start; }
.cta .box {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(28px, 5vw, 56px); display: grid; gap: 24px; grid-template-columns: 1fr; align-items: center;
}
@media (min-width: 900px) { .cta .box { grid-template-columns: 1.4fr auto; } }
.cta .box p { color: var(--ink-muted); margin-top: 14px; max-width: 58ch; }
.cta .note { font-size: 15px; color: var(--ink-muted); margin-top: 10px; }

/* ── footer ──────────────────────────────────────────────────────────────── */
footer { border-top: 1px solid var(--line); padding-block: 32px; font-size: 15px; color: var(--ink-muted); }
footer .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
footer nav { display: flex; flex-wrap: wrap; gap: 4px 20px; }
footer nav a, footer .mail { text-decoration: none; }
footer nav a:hover, footer .mail:hover { color: var(--ink); text-decoration: underline; }
footer .copy { margin-inline-start: auto; }
