/* DJR LAB — site styles (djr UI system, Hebrew RTL).
   Project overrides of the djr UI defaults (approved by DJR, 2026-10-01):
   - Palette taken from the DJR logo: accent blue #3b8cff (was #7c9aff), second accent green #20b890 (replaces violet),
     gold #e8b52e (was #d4b87a). Signature gradient = blue → green → gold (J → arrow → R).
   - Filled buttons use deepened logo blue (#1766e8 → #0a4fc4) so white text passes WCAG AA (5.1:1).
   - Font: Heebo (Hebrew script coverage) + Space Mono for numbers. */

@font-face { font-family: 'Heebo'; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url('/assets/fonts/heebo-hebrew-var.woff2') format('woff2-variations'), url('/assets/fonts/heebo-hebrew-var.woff2') format('woff2');
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: 'Heebo'; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url('/assets/fonts/heebo-latin-var.woff2') format('woff2-variations'), url('/assets/fonts/heebo-latin-var.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Space Mono'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('/assets/fonts/space-mono-400.woff2') format('woff2'); unicode-range: U+0000-00FF, U+2000-206F, U+2212; }
@font-face { font-family: 'Space Mono'; font-style: normal; font-weight: 700; font-display: swap;
  src: url('/assets/fonts/space-mono-700.woff2') format('woff2'); unicode-range: U+0000-00FF, U+2000-206F, U+2212; }

:root {
  --bg-deep: #09090B;
  --bg-mid: #11131c;
  --bg-elevated: #161827;
  --card-bg: rgba(22, 24, 39, 0.65);
  --card-bg-strong: rgba(22, 24, 39, 0.92);
  --border-subtle: rgba(255, 255, 255, 0.06);
  --border-strong: rgba(255, 255, 255, 0.12);
  --border-active: rgba(59, 140, 255, 0.55);
  --text-primary: #f4f5fa;
  --text-secondary: rgba(244, 245, 250, 0.76);
  --text-tertiary: rgba(244, 245, 250, 0.62);   /* content-safe on glass: 7.1:1 */
  --accent: #3b8cff;
  --accent-soft: rgba(59, 140, 255, 0.12);
  --accent-glow: rgba(59, 140, 255, 0.30);
  --green: #20b890;
  --green-soft: rgba(32, 184, 144, 0.12);
  --gold: #e8b52e;
  --gold-soft: rgba(232, 181, 46, 0.12);
  --gold-border: rgba(232, 181, 46, 0.38);
  --success: #2ec7a3;
  --danger: #ff8a8a;
  --warning: #f5b544;
  --grad: linear-gradient(135deg, #3b8cff, #20b890, #e8b52e);
  --btn-grad: linear-gradient(135deg, #1766e8, #0a4fc4);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --radius-card: 20px;
  --radius-input: 12px;
  --font-he: 'Heebo', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --font-num: 'Space Mono', 'Heebo', ui-monospace, monospace;
  --gutter: clamp(16px, 4vw, 40px);
  --maxw: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { background: var(--bg-deep); color-scheme: dark; -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  background: var(--bg-deep); color: var(--text-primary);
  font-family: var(--font-he); font-size: 17px; line-height: 1.65; font-weight: 400;
  min-height: 100vh; overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
ul[role="list"], ol[role="list"] { list-style: none; }
.num, bdi.num { font-family: var(--font-num); letter-spacing: -0.02em; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }
.skip-link { position: absolute; inset-inline-start: 16px; inset-block-start: -80px; z-index: 1000; background: var(--bg-elevated); padding: 10px 18px; border-radius: 100px; text-decoration: none; border: 1px solid var(--border-strong); }
.skip-link:focus { inset-block-start: 12px; }

/* ---------- Environment banner (dev/preview only, injected at the edge) ---------- */
.env-banner { position: relative; z-index: 60; text-align: center; font-size: 13px; padding: 6px var(--gutter); color: var(--gold); background: var(--gold-soft); border-block-end: 1px solid var(--gold-border); }

/* ---------- Placeholders: content DJR still has to fill ---------- */

.ph-tag { display: inline-flex; align-items: center; font-size: 11px; font-weight: 700; line-height: 1; color: #1a1408; background: var(--gold); padding: 3px 8px; border-radius: 100px; vertical-align: middle; margin-inline-start: 6px; white-space: nowrap; letter-spacing: 0; }

/* ---------- Animated 4-layer background ---------- */
.bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; contain: strict; }
.bg__glow { position: absolute; inset: 0; background:
  radial-gradient(60% 50% at 85% 0%, rgba(59, 140, 255, 0.20), transparent 70%),
  radial-gradient(45% 40% at 10% 35%, rgba(32, 184, 144, 0.10), transparent 70%),
  radial-gradient(40% 30% at 50% 100%, rgba(232, 181, 46, 0.07), transparent 70%); }
.bg__grid { position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 80%); -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 80%); }
.bg__lines, .bg__points { position: absolute; inset: 0; direction: ltr; }
.bg__lines svg { position: absolute; inset-block-start: 18%; left: 0; width: 200%; height: 60%; will-change: transform; animation: bg-drift 40s linear infinite; }
.bg__lines svg + svg { inset-block-start: 46%; opacity: 0.7; animation-duration: 60s; animation-direction: reverse; }
@keyframes bg-drift { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }
.bg__points span { position: absolute; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); will-change: transform, opacity; animation: bg-pulse 4s var(--ease) infinite; }
.bg__points span:nth-child(2n) { background: var(--green); box-shadow: 0 0 12px var(--green); animation-delay: -1.3s; }
.bg__points span:nth-child(3n) { background: var(--gold); box-shadow: 0 0 10px var(--gold); animation-delay: -2.6s; }
@keyframes bg-pulse { 0%, 100% { transform: scale(0.6); opacity: 0.25; } 50% { transform: scale(1.4); opacity: 0.9; } }
.bg.is-paused *, .bg.is-paused { animation-play-state: paused !important; }
@media (prefers-reduced-motion: reduce) { .bg__lines svg, .bg__points span { animation: none; } }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(56px, 8vw, 104px); }
.section--tight-top { padding-block-start: 0; }
.section-head { max-width: 700px; margin-block-end: 40px; }
.section-head--center { margin-inline: auto; text-align: center; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 0.04em; color: var(--gold); margin-block-end: 12px; }
h1, h2, h3, h4 { line-height: 1.2; font-weight: 800; letter-spacing: -0.01em; }
h1 { font-size: clamp(36px, 6vw, 64px); letter-spacing: -0.02em; }
h2 { font-size: clamp(28px, 4vw, 42px); }
h3, .h3 { font-size: 20px; font-weight: 700; }
.lead { font-size: clamp(17px, 2vw, 20px); color: var(--text-secondary); margin-block-start: 16px; }
.muted { color: var(--text-tertiary); }
.small { font-size: 14px; }
.tiny { font-size: 13px; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 56px); align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.stack { display: grid; gap: 16px; }
.center { text-align: center; }
.mt-s { margin-block-start: 12px; } .mt-m { margin-block-start: 22px; } .mt-l { margin-block-start: 36px; }

/* ---------- Glass card + mouse-tracking glow ---------- */
.card { position: relative; isolation: isolate; background: var(--card-bg); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%);
  border: 1px solid var(--border-subtle); border-radius: var(--radius-card); padding: clamp(22px, 3vw, 30px); overflow: hidden;
  transition: box-shadow 0.4s var(--ease), border-color 0.4s var(--ease), transform 0.4s var(--ease); }
.card::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), rgba(59, 140, 255, 0.16), transparent 60%);
  opacity: 0; transition: opacity 0.4s var(--ease); }
.card.is-glowing::before { opacity: 1; }
.card.is-glowing { box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35), 0 0 30px rgba(59, 140, 255, 0.18); border-color: rgba(255, 255, 255, 0.1); }
.card--accent::after { content: ""; position: absolute; inset-inline: 0; inset-block-start: 0; height: 2px; background: var(--grad); }
.card p { color: var(--text-secondary); }
.card h3 + p { margin-block-start: 8px; }
.icon-badge { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--accent-soft); border: 1px solid rgba(59, 140, 255, 0.22); color: var(--accent); margin-block-end: 18px; }
.icon-badge svg { width: 22px; height: 22px; }
.icon-badge--green { color: var(--success); background: var(--green-soft); border-color: rgba(46, 199, 163, 0.25); }
.index-num { font-family: var(--font-num); font-size: 14px; color: var(--gold); display: block; margin-block-end: 12px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 26px; border-radius: 100px;
  font-weight: 700; font-size: 16px; text-decoration: none; white-space: nowrap; border: 1px solid transparent; cursor: pointer;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background-color 0.3s var(--ease), border-color 0.3s var(--ease), opacity 0.3s var(--ease); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--primary { background: var(--btn-grad); color: #fff; box-shadow: 0 8px 28px -10px rgba(23, 102, 232, 0.75); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 36px -10px rgba(23, 102, 232, 0.95); }
.btn--ghost { background: rgba(255, 255, 255, 0.04); border-color: var(--border-strong); color: var(--text-primary); }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.24); }
.btn--sm { min-height: 40px; padding: 8px 18px; font-size: 14px; }
.btn--block { width: 100%; }
.btn[disabled], .btn[aria-busy="true"] { opacity: 0.6; cursor: progress; transform: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-block-start: 32px; }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--accent); font-weight: 600; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.text-link svg { width: 18px; height: 18px; }
.link-row { display: flex; flex-wrap: wrap; gap: 6px 28px; margin-block-start: 22px; }

/* ---------- Nav ---------- */
.nav { position: sticky; inset-block-start: 0; z-index: 40; background: rgba(9, 9, 11, 0.74); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-block-end: 1px solid var(--border-subtle); }
.nav__inner { display: flex; align-items: center; gap: 20px; min-height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; white-space: nowrap; }
.logo__img { width: 40px; height: 40px; border-radius: 50%; flex: none; box-shadow: 0 0 0 1px var(--gold-border), 0 4px 18px -6px rgba(232, 181, 46, 0.45); }
.nav__links { display: flex; gap: 2px; list-style: none; margin-inline-start: auto; }
.nav__links a { display: block; padding: 8px 12px; border-radius: 100px; text-decoration: none; color: var(--text-secondary); font-size: 15px; transition: color 0.2s, background-color 0.2s; }
.nav__links a:hover { color: var(--text-primary); background: rgba(255, 255, 255, 0.05); }
.nav__links a[aria-current="page"] { color: var(--text-primary); background: var(--accent-soft); box-shadow: inset 0 -2px 0 var(--accent); }
.nav__toggle { display: none; margin-inline-start: auto; width: 44px; height: 44px; border-radius: 100px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--border-strong); cursor: pointer; place-items: center; }
.nav__toggle svg { width: 22px; height: 22px; }
@media (max-width: 1060px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: grid; }
  .nav.is-open .nav__links { display: flex; flex-direction: column; position: absolute; inset-inline: 0; inset-block-start: 100%; background: rgba(9, 9, 11, 0.97); padding: 12px var(--gutter) 20px; border-block-end: 1px solid var(--border-subtle); max-height: calc(100vh - 68px); overflow-y: auto; }
  .nav.is-open .nav__links a { padding: 12px 14px; font-size: 17px; }
}

/* ---------- Hero ---------- */
.hero { padding-block: clamp(44px, 8vw, 110px) clamp(48px, 7vw, 90px); }
.hero__grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 40px; align-items: center; }
.hero__text { max-width: 760px; }
@media (max-width: 900px) { .hero__grid { grid-template-columns: 1fr; } }
.pill-note { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text-secondary); padding: 6px 14px; border-radius: 100px; border: 1px solid var(--border-strong); background: rgba(255, 255, 255, 0.03); margin-block-end: 22px; }
.dot-live { width: 8px; height: 8px; border-radius: 50%; background: var(--success); box-shadow: 0 0 10px var(--success); }
.hero__facts { display: none; }
@media (max-width: 900px) {
  .hero__facts { display: grid; gap: 4px; margin-block-start: 22px; padding: 12px 16px; border-radius: 16px; background: var(--card-bg); border: 1px solid var(--border-subtle); font-size: 15px; }
  .hero__facts strong { font-weight: 700; }
  .hero .cohort-card { display: none; }
}

/* ---------- Cohort card ---------- */
.cohort-card { display: grid; gap: 14px; }
.cohort-track { display: grid; gap: 4px; padding-block-end: 14px; border-block-end: 1px solid var(--border-subtle); }
.cohort-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-block: 8px; }
.cohort-row + .cohort-row { border-block-start: 1px solid var(--border-subtle); }
.cohort-label { color: var(--text-tertiary); font-size: 15px; }
.cohort-value { font-size: 20px; font-weight: 700; }
/* Seats: never a number — a calm gold note only when 1–3 are left, or when the cohort is full */
.seat-badge { display: inline-block; font-size: 13px; font-weight: 700; padding: 3px 12px; border-radius: 100px; color: #f0cd6e; background: var(--gold-soft); border: 1px solid var(--gold-border); margin-inline-end: 8px; }
.seat-badge--full { color: var(--text-secondary); background: rgba(255, 255, 255, 0.05); border-color: var(--border-strong); }
/* Site dialog (session days) */
.site-dialog { margin: auto; width: min(520px, calc(100vw - 32px)); max-height: calc(100vh - 48px); overflow-y: auto; color: var(--text-primary); background: var(--card-bg-strong, #161827); padding: 24px; }
.site-dialog::backdrop { background: rgba(0, 0, 0, 0.6); }
.site-dialog__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-block-end: 6px; }
.site-dialog__head h2 { font-size: 22px; }
.sessions-list { margin-block: 14px; padding-inline-start: 26px; display: grid; gap: 6px; font-size: 15px; }
.sessions-list li::marker { color: var(--gold); font-family: var(--font-num); }
.seats-bar { height: 6px; border-radius: 100px; background: rgba(255, 255, 255, 0.07); overflow: hidden; margin-block-start: 6px; }
.seats-bar span { display: block; height: 100%; width: var(--taken, 0%); background: var(--grad); border-radius: inherit; }
.track-chip { display: inline-block; justify-self: start; font-size: 13px; font-weight: 700; padding: 4px 12px; border-radius: 100px; color: var(--accent); background: var(--accent-soft); border: 1px solid rgba(59, 140, 255, 0.3); }
.track-chip--gold { color: #f0cd6e; background: var(--gold-soft); border-color: var(--gold-border); }
.track-chip--green { color: #6fdcbc; background: var(--green-soft); border-color: rgba(32, 184, 144, 0.38); }
.track-chip--blue { color: var(--accent); }
.track-chip--sky { color: #8adcf2; background: rgba(103, 212, 245, 0.10); border-color: rgba(103, 212, 245, 0.35); }
.track-chip--violet { color: #c4b2ff; background: rgba(155, 123, 255, 0.12); border-color: rgba(155, 123, 255, 0.38); }
.track-chip--coral { color: #ffb29e; background: rgba(255, 138, 107, 0.12); border-color: rgba(255, 138, 107, 0.38); }

/* ---------- Tracks ---------- */
.track-card { display: flex; flex-direction: column; }
.track-card__who { margin-block-start: 8px; font-size: 17px; color: var(--text-primary) !important; }
.track-card__meta { margin-block-start: auto; padding-block: 20px 16px; font-size: 14px; color: var(--text-tertiary) !important; }

/* ---------- Lists ---------- */
.check-list, .x-list { list-style: none; display: grid; gap: 14px; margin-block-start: 18px; }
.check-list li, .x-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--text-secondary); }
.check-list svg, .x-list svg { width: 22px; height: 22px; flex: none; margin-block-start: 3px; }
.check-list svg { color: var(--success); }
.x-list svg { color: var(--danger); }

/* ---------- Video (click-to-load; controls never mirrored) ---------- */
.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-card); overflow: hidden; border: 1px solid var(--border-subtle); direction: ltr; max-width: 960px; margin-inline: auto;
  background: radial-gradient(circle at 30% 30%, rgba(59, 140, 255, 0.22), transparent 60%), linear-gradient(135deg, #14162a, #0d0e18); }
.video__btn { position: absolute; inset: 0; width: 100%; display: grid; place-items: center; align-content: center; gap: 14px; background: none; border: 0; cursor: pointer; color: var(--text-primary); }
.video__play { width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; background: var(--btn-grad); box-shadow: 0 0 0 10px rgba(59, 140, 255, 0.15); transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.video__btn:hover .video__play { transform: scale(1.06); box-shadow: 0 0 0 16px rgba(59, 140, 255, 0.18); }
.video__play svg { width: 30px; height: 30px; margin-left: 4px; }
.video__caption { direction: rtl; font-size: 15px; color: var(--text-secondary); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video__empty { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 20px; direction: rtl; color: var(--text-secondary); }

/* ---------- Price ---------- */
.price-amount { font-family: var(--font-num); font-size: clamp(40px, 6vw, 56px); font-weight: 700; line-height: 1.1; margin-block: 12px 8px; }
.price-install { color: var(--gold); font-weight: 700; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; max-width: 820px; margin-inline: auto; }
.faq details { padding: 0; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 26px; font-weight: 700; font-size: 18px; display: flex; justify-content: space-between; align-items: center; gap: 16px; border-radius: var(--radius-card); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 20px; height: 20px; flex: none; transition: transform 0.4s var(--ease); color: var(--accent); }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq__body { padding: 0 26px 22px; color: var(--text-secondary); }
.faq-group + .faq-group { margin-block-start: 48px; }
.syllabus-course__head { display: grid; gap: 2px; }
.syllabus-course__head strong { font-size: 20px; }
.syllabus-course__body { display: grid; gap: 14px; padding: 0 26px 26px; }
.syllabus-course__body .btn { justify-self: start; }
.faq-group h2 { font-size: 24px; margin-block-end: 18px; text-align: center; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 18px; }
.field { display: grid; gap: 7px; }
.field > label, .field > legend { font-weight: 600; font-size: 15px; }
.field .opt { color: var(--text-tertiary); font-weight: 400; font-size: 13px; }
.input { width: 100%; min-height: 50px; padding: 12px 18px; border-radius: var(--radius-input); background: rgba(9, 9, 11, 0.6); border: 1px solid var(--border-strong); color: var(--text-primary); transition: border-color 0.2s, box-shadow 0.2s; }
.input::placeholder { color: rgba(244, 245, 250, 0.45); }
.input:hover { border-color: rgba(255, 255, 255, 0.24); }
.input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(59, 140, 255, 0.25); }
.input[type="tel"], .input[type="email"], .input.ltr { direction: ltr; text-align: right; }
.input[aria-invalid="true"] { border-color: var(--danger); box-shadow: 0 0 0 3px rgba(255, 138, 138, 0.15); }
select.input { appearance: none; -webkit-appearance: none; padding-inline-end: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-opacity='.6' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-size: 16px; background-position: left 14px center; }
select.input option { background: var(--bg-elevated); }
.field__hint { font-size: 13px; color: var(--text-tertiary); }
.field__error { display: none; align-items: center; gap: 6px; font-size: 14px; color: var(--danger); }
.field__error svg { width: 16px; height: 16px; flex: none; }
.field.has-error .field__error { display: flex; }
fieldset.field { border: 0; }
.choice-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.choice-pills label { position: relative; cursor: pointer; }
.choice-pills input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice-pills label > span { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 16px; border-radius: 100px; border: 1px solid var(--border-strong); background: rgba(255, 255, 255, 0.03); font-size: 15px; color: var(--text-secondary); transition: background-color 0.2s, border-color 0.2s, color 0.2s; }
.choice-pills input:checked + span { background: var(--accent-soft); border-color: var(--border-active); color: var(--text-primary); }
.choice-pills input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--text-secondary); }
.consent input { width: 22px; height: 22px; flex: none; margin-block-start: 2px; accent-color: var(--accent); cursor: pointer; }
.consent a { color: var(--accent); }
.turnstile-slot { min-height: 65px; }
.form-alert { display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; background: rgba(255, 138, 138, 0.08); border: 1px solid rgba(255, 138, 138, 0.3); color: var(--danger); font-size: 15px; }
.form-alert svg { width: 20px; height: 20px; flex: none; margin-block-start: 3px; }
.form-note { font-size: 13px; color: var(--text-tertiary); text-align: center; }
.hp { position: absolute !important; inset-inline-start: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Secondary option & hidden-section note ---------- */
.alt-option { display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin-block-start: 20px; padding: 20px 24px; }
.hidden-note { border: 1px dashed rgba(255, 255, 255, 0.18); border-radius: var(--radius-card); padding: 22px 26px; display: flex; gap: 14px; align-items: center; color: var(--text-tertiary); font-size: 15px; }
.hidden-note svg { width: 22px; height: 22px; flex: none; }

/* ---------- Community ---------- */
.community-card { display: flex; flex-direction: column; gap: 6px; }
.community-card .btn { margin-block-start: 18px; align-self: flex-start; }

/* ---------- Steps / syllabus ---------- */
.steps { list-style: none; }
.module { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start; }
.module__num { font-family: var(--font-num); font-size: 22px; font-weight: 700; color: var(--gold); min-width: 44px; }
.module ul { margin-block-start: 10px; padding-inline-start: 18px; color: var(--text-secondary); display: grid; gap: 6px; }

/* ---------- Prose (about, legal) ---------- */
.prose { max-width: 760px; }
.prose p + p { margin-block-start: 14px; }
.prose h2 { font-size: 26px; margin-block: 32px 12px; }
.photo-slot { aspect-ratio: 4 / 5; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(160deg, rgba(59, 140, 255, 0.12), rgba(32, 184, 144, 0.10)); color: var(--text-tertiary); }
.photo-slot > div { display: grid; gap: 10px; justify-items: center; text-align: center; }

/* ---------- Thank-you ---------- */
.success-icon { width: 80px; height: 80px; border-radius: 50%; display: grid; place-items: center; margin-inline: auto; background: var(--green-soft); border: 1px solid rgba(46, 199, 163, 0.38); color: var(--success); }
.success-icon svg { width: 38px; height: 38px; }

/* ---------- Sticky mobile action bar ---------- */
.action-bar { display: none; }
@media (max-width: 900px) {
  .action-bar { display: flex; gap: 10px; align-items: center; position: fixed; inset-inline: 0; inset-block-end: 0; z-index: 40;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(9, 9, 11, 0.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-block-start: 1px solid var(--border-subtle); transform: translateY(110%); visibility: hidden; transition: transform 0.4s var(--ease), visibility 0.4s; }
  .action-bar.is-visible { transform: translateY(0); visibility: visible; }
  .action-bar .btn--primary { flex: 1; }
  .action-bar .icon-only { width: 48px; padding: 0; flex: none; }
  body.has-action-bar { padding-block-end: 76px; }
}
@media (prefers-reduced-motion: reduce) { .action-bar { transition: none; } }

/* ---------- Footer ---------- */
.footer { border-block-start: 1px solid var(--border-subtle); padding-block: 48px 32px; margin-block-start: 40px; background: rgba(9, 9, 11, 0.6); }
.footer__grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
@media (max-width: 800px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
.footer h2 { font-size: 15px; font-weight: 700; margin-block-end: 14px; }
.footer ul { list-style: none; display: grid; gap: 8px; }
.footer a { color: var(--text-secondary); text-decoration: none; font-size: 15px; }
.footer a:hover { color: var(--text-primary); text-decoration: underline; }
.footer__disclaimer { margin-block-start: 32px; padding: 16px 20px; border-radius: 14px; border: 1px solid var(--border-subtle); background: rgba(255, 255, 255, 0.02); font-size: 13px; color: var(--text-tertiary); }
.footer__bottom { margin-block-start: 24px; padding-block-start: 22px; border-block-start: 1px solid var(--border-subtle); color: var(--text-tertiary); font-size: 14px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }

/* ---------- Error page ---------- */
.error-code { font-family: var(--font-num); font-size: clamp(72px, 14vw, 140px); font-weight: 700; line-height: 1; }

/* =====================================================================
   v2 layout — selling rhythm (team review 2026-10-02):
   split hero → band → product visual → decision (tracks) → open columns →
   meet DJR → fit → timeline → FAQ → decision (form) → community.
   ===================================================================== */

/* Logo: the original DJR logo, shown larger (never altered) */
.logo__img { width: 56px; height: 56px; }
.logo__img--lg { width: 72px; height: 72px; }
.nav__inner { min-height: 76px; }

/* Section rhythm */
.section--decision { position: relative; }
.section--decision::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(60% 50% at 50% 0%, rgba(59, 140, 255, 0.10), transparent 70%); }
.section--tinted { background: linear-gradient(180deg, transparent, rgba(22, 24, 39, 0.55) 18%, rgba(22, 24, 39, 0.55) 82%, transparent); }
.link-row--center { justify-content: center; }
.h-small { font-size: 17px; }

/* Hero (home) */
.hero--home { padding-block: clamp(32px, 6vw, 72px) clamp(40px, 6vw, 72px); }
.hero--home .hero__grid { grid-template-columns: 1.05fr 0.95fr; gap: clamp(24px, 4vw, 56px); }
.hero__copy h1 { font-size: clamp(38px, 5.4vw, 66px); line-height: 1.12; }
.hero__copy h1 > span:not(.ph-tag) { display: block; }
.btn--lg { min-height: 56px; padding: 14px 32px; font-size: 17px; }
.fact-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-block-start: 24px; }
.fact-chips li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 100px; font-size: 15px; color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--border-strong); }
.fact-chips svg { width: 18px; height: 18px; color: var(--accent); flex: none; }
.next-cohort { display: flex; align-items: center; gap: 10px; margin-block-start: 18px; font-size: 15px; color: var(--text-secondary); }
.next-cohort strong { color: var(--text-primary); }
.trust-row { list-style: none; display: flex; gap: 28px; margin-block-start: 22px; }
.trust-row:empty { display: none; }
.trust-row li { display: grid; }
.trust-row strong { font-family: var(--font-num); font-size: 28px; line-height: 1.1; }
.trust-row span { font-size: 13px; color: var(--text-tertiary); }
.dot-live--red { background: #ff6b6b; box-shadow: 0 0 10px #ff6b6b; }

.hero__visual { position: relative; aspect-ratio: 1 / 1; max-width: 560px; width: 100%; margin-inline: auto; display: grid; place-items: end center; isolation: isolate; }
.hero__ring { position: absolute; inset: 8% 6% 4%; border-radius: 50%; z-index: -2;
  background: radial-gradient(circle at 50% 45%, rgba(59, 140, 255, 0.28), rgba(32, 184, 144, 0.10) 55%, transparent 72%); }
.hero__ring::after { content: ""; position: absolute; inset: 0; border-radius: 50%; padding: 2px;
  background: conic-gradient(from 200deg, #e8b52e, #3b8cff, #20b890, #e8b52e);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0.75; }
.hero__chart { position: absolute; inset: auto 0 18% 0; width: 100%; height: 40%; z-index: -1; opacity: 0.55; direction: ltr; }
.hero__portrait { width: 92%; height: auto; display: block;
  -webkit-mask-image: linear-gradient(to bottom, #000 78%, transparent 100%); mask-image: linear-gradient(to bottom, #000 78%, transparent 100%);
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.55)); }
.float-chip { position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 100px; font-size: 14px; font-weight: 700;
  background: var(--card-bg-strong); border: 1px solid var(--border-strong); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45); animation: chip-bob 6s var(--ease) infinite; will-change: transform; }
.float-chip img { width: 34px; height: 34px; border-radius: 50%; }
.float-chip--live { inset-block-start: 14%; inset-inline-end: 2%; }
.float-chip--brand { inset-block-end: 16%; inset-inline-start: 0; padding-block: 6px; padding-inline: 8px 16px; font-family: var(--font-num); animation-delay: -3s; }
@keyframes chip-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .float-chip { animation: none; } }
@media (max-width: 900px) {
  .hero--home .hero__grid { grid-template-columns: 1fr; }
  .hero--home .hero__visual { order: -1; max-width: 340px; }
}

/* Fact band */
.band { border-block: 1px solid var(--border-subtle); background: rgba(22, 24, 39, 0.45); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.band__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.band__grid > div { display: grid; gap: 2px; padding: 26px 20px; text-align: center; }
.band__grid > div + div { border-inline-start: 1px solid var(--border-subtle); }
.band__grid strong { font-size: clamp(26px, 3vw, 34px); font-weight: 800; line-height: 1.2; }
.band__grid span { font-size: 14px; color: var(--text-tertiary); }
@media (max-width: 760px) {
  .band__grid { grid-template-columns: 1fr 1fr; }
  .band__grid > div:nth-child(3) { border-inline-start: 0; }
  .band__grid > div:nth-child(n+3) { border-block-start: 1px solid var(--border-subtle); }
}

/* Product visual (live session) */
.split--visual { grid-template-columns: 0.9fr 1.1fr; }
@media (max-width: 900px) { .split--visual { grid-template-columns: 1fr; } }
.session-visual { margin: 0; display: grid; gap: 8px; }
.session-visual__svg { width: 100%; height: auto; border-radius: 16px; box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.7), 0 0 60px -20px rgba(59, 140, 255, 0.35); direction: ltr; }
.sv-live { animation: sv-blink 2s ease-in-out infinite; }
@keyframes sv-blink { 50% { opacity: 0.3; } }
@media (prefers-reduced-motion: reduce) { .sv-live { animation: none; } }
.callouts { list-style: none; display: grid; gap: 18px; margin-block-start: 28px; }
.callouts li { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; }
.callouts h3 { font-size: 18px; }
.callouts p { color: var(--text-secondary); font-size: 15px; margin-block-start: 2px; }
.callout__num { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-num); font-weight: 700; font-size: 14px;
  color: var(--accent); background: var(--accent-soft); border: 1px solid rgba(59, 140, 255, 0.35); }

/* Learning path */
/* One step per course + one-on-one; the connecting line runs from the first node to the last. */
.path { --steps: 3; list-style: none; position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 12px; max-width: 780px; margin: 0 auto 36px; }
.path:has(> :nth-child(4)) { --steps: 4; max-width: 900px; }
.path:has(> :nth-child(5)) { --steps: 5; max-width: 980px; }
.path:has(> :nth-child(6)) { --steps: 6; }
.path::before { content: ""; position: absolute; inset-inline: calc(50% / var(--steps)); inset-block-start: 23px; height: 2px; background: var(--grad); opacity: 0.6; }
@media (max-width: 560px) {
  .path:has(> :nth-child(4)) { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 20px; }
  .path:has(> :nth-child(4))::before { display: none; }
  .path__step strong { min-height: 2.6em; display: flex; align-items: center; }
}
.path__step { position: relative; display: grid; justify-items: center; text-align: center; gap: 4px; }
.path__step strong { font-size: 17px; margin-block-start: 6px; }
.path__step > span:last-child { font-size: 13px; color: var(--text-tertiary); }
.path__node { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-num); font-weight: 700; font-size: 15px;
  background: var(--bg-elevated); border: 2px solid var(--accent); color: var(--text-primary); box-shadow: 0 0 24px rgba(59, 140, 255, 0.35); }
.path__node--gold { border-color: var(--gold); box-shadow: 0 0 24px rgba(232, 181, 46, 0.3); font-size: 13px; }
.tracks-grid { max-width: 980px; margin-inline: auto; align-items: stretch; }
.track-card__head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.track-card__kind { font-size: 13px; color: var(--text-tertiary); }
.track-card__price { margin-block-start: 22px; padding-block-start: 18px; border-block-start: 1px solid var(--border-subtle); }
.track-card__price .price-amount { margin-block: 0 4px; font-size: clamp(34px, 4vw, 44px); }

/* Open columns (no boxes) */
.columns { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 48px); }
@media (max-width: 800px) { .columns { grid-template-columns: 1fr; } }
.column { position: relative; padding-block-start: 22px; }
.column::before { content: ""; position: absolute; inset-inline: 0; inset-block-start: 0; height: 2px; background: var(--grad); opacity: 0.7; }
.column p { color: var(--text-secondary); margin-block-start: 8px; }
.column__icon { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; margin-block-end: 14px; color: var(--accent); background: var(--accent-soft); }
.column__icon svg { width: 24px; height: 24px; }

/* Timeline */
.timeline { list-style: none; position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.timeline::before { content: ""; position: absolute; inset-inline: 6%; inset-block-start: 21px; height: 2px; background: linear-gradient(to left, var(--accent), var(--green), var(--gold)); opacity: 0.5; }
.timeline li { position: relative; display: grid; gap: 6px; align-content: start; }
.timeline h3 { font-size: 18px; margin-block-start: 10px; }
.timeline p { color: var(--text-secondary); font-size: 15px; }
.timeline__dot { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-num); font-weight: 700;
  background: var(--bg-elevated); border: 2px solid var(--accent); position: relative; }
.timeline__dot--gold { border-color: var(--gold); color: var(--gold); }
@media (max-width: 800px) {
  .timeline { grid-template-columns: 1fr; gap: 22px; }
  .timeline::before { inset-inline: auto; inset-inline-start: 21px; inset-block: 22px; width: 2px; height: auto; background: linear-gradient(to bottom, var(--accent), var(--green), var(--gold)); }
  .timeline li { grid-template-columns: auto 1fr; column-gap: 16px; }
  .timeline li h3 { margin: 0; grid-column: 2; grid-row: 1; align-self: end; }
  .timeline li p { grid-column: 2; grid-row: 2; }
  .timeline__dot { grid-row: 1 / span 2; grid-column: 1; }
}
.faq--start { margin-inline: 0; }

/* Review switch: ?ph=off hides placeholder outlines and tags (to judge the design without noise) */
html.ph-off [data-ph] { outline: none; }
html.ph-off .ph-tag, html.ph-off .env-banner { display: none; }

/* v2 harmony fixes (team visual check) */
.section { padding-block: clamp(48px, 6vw, 88px); }
.section + .section--tight-top, .band + .section { padding-block-start: clamp(48px, 6vw, 80px); }
/* Portrait: soft fade on the bottom AND on the photo's cropped side, so no hard edge shows */
.hero__portrait {
  -webkit-mask-image: linear-gradient(to bottom, #000 76%, transparent 100%), linear-gradient(to left, transparent 0%, #000 16%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to bottom, #000 76%, transparent 100%), linear-gradient(to left, transparent 0%, #000 16%);
  mask-composite: intersect;
}
/* Video inside a split column must take the column width */
.split > .video { width: 100%; }

/* Large screens + rhythm (1920 scroll review) */
.section { padding-block: clamp(40px, 5vw, 72px); }
@media (min-width: 1600px) { :root { --maxw: 1280px; } }

/* Turnstile: reserve the compact widget's height on small screens (no layout shift, no overflow) */
@media (max-width: 400px) { .turnstile-slot { min-height: 140px; } }

/* =====================================================================
   v3 — contrast + alignment (DJR review 2026-10-02, team: Uma + Xander)
   ===================================================================== */

/* Cards a step lighter than the page, with a clearer edge (were nearly identical to the background) */
:root {
  --card-bg: rgba(30, 34, 56, 0.82);
  --border-subtle: rgba(255, 255, 255, 0.10);
  --border-strong: rgba(255, 255, 255, 0.18);
}
.card { border-color: rgba(255, 255, 255, 0.11); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 12px 32px -18px rgba(0, 0, 0, 0.7); }

/* Form fields: lighter fill + borders ≥ 3:1 against the card (WCAG 1.4.11 non-text contrast) */
.input { background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.40); }
.input::placeholder { color: rgba(244, 245, 250, 0.55); }
.input:hover { border-color: rgba(255, 255, 255, 0.55); background: rgba(255, 255, 255, 0.08); }
.input:focus { background: rgba(255, 255, 255, 0.08); }
.choice-pills label > span { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.40); color: var(--text-primary); }
.consent input { outline: 1px solid rgba(255, 255, 255, 0.40); outline-offset: 0; border-radius: 4px; }
.field > label, .field > legend { color: var(--text-primary); }

/* Track cards: one shared row grid, so every row (title, text, list, price, meta, buttons) lines up across cards */
.tracks-grid { --cols: 2; display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); column-gap: 20px; row-gap: 0; }
.tracks-grid:has(> :nth-child(3)) { --cols: 3; max-width: 1180px; }
.tracks-grid:has(> :nth-child(4)):not(:has(> :nth-child(5))) { --cols: 2; max-width: 980px; }
/* No price yet: the price row stays (cards keep their shared rows) but shows nothing. */
.track-card__price:not(:has(.price-amount)) { border: 0; padding: 0; margin: 0 !important; }
@media (max-width: 1100px) { .tracks-grid:has(> :nth-child(3)) { --cols: 2; } }
.tracks-grid > .track-card { display: grid; grid-row: span 6; grid-template-rows: subgrid; row-gap: 0; align-content: start; margin-block-end: 20px; }
.tracks-grid > .track-card > * { margin-block: 0; }
.tracks-grid > .track-card .track-card__who { padding-block: 14px 4px; }
.tracks-grid > .track-card .check-list { margin-block-start: 14px; }
.tracks-grid > .track-card .track-card__price { align-self: start; margin-block-start: 22px; }
.tracks-grid > .track-card .track-card__meta { padding-block: 16px; margin: 0; }
.tracks-grid > .track-card .stack { align-self: end; }
@media (max-width: 760px) {
  .tracks-grid { grid-template-columns: 1fr; row-gap: 20px; }
  .tracks-grid > .track-card { grid-row: auto; grid-template-rows: none; display: flex; flex-direction: column; margin-block-end: 0; }
}

/* Community (and any card with a trailing button): buttons sit on the same baseline */
.community-card .btn { margin-block-start: auto; }
.community-card p { margin-block-end: 18px; }
.grid > .community-card { height: 100%; }

/* FAQ: heading on the reading side, questions beside it — fills the row instead of a narrow strip */
.faq-split { display: grid; grid-template-columns: minmax(260px, 0.8fr) 1.2fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.faq-split .faq { max-width: none; margin: 0; }
.faq-split__head .lead { margin-block-start: 12px; }
@media (max-width: 900px) { .faq-split { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .tracks-grid > .track-card .stack { align-self: stretch; margin-block-start: auto; } }

/* Admin entry icon in the header (opens the admin panel in a new window) */
.nav__admin { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 100px; color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--border-strong); transition: color 0.2s, background-color 0.2s, border-color 0.2s; }
.nav__admin:hover { color: var(--text-primary); background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.3); }
.nav__admin svg { width: 19px; height: 19px; }
@media (max-width: 1060px) { .nav__admin { margin-inline-start: auto; } .nav__admin + .nav__toggle { margin-inline-start: 8px; } }

/* Editable content: uploaded photo in a photo slot; rich text blocks (legal pages) */
.photo-slot.has-photo { padding: 0; overflow: hidden; display: block; }
.photo-slot img { width: 100%; height: 100%; object-fit: cover; }
.prose-rich h2 { font-size: 24px; margin-block: 28px 10px; }
.prose-rich p + p { margin-block-start: 12px; }
.prose-rich ul { padding-inline-start: 22px; margin-block: 10px; display: grid; gap: 6px; color: var(--text-secondary); }

/* =====================================================================
   v4 — research upgrade (approved by DJR 2026-10-03; report in docs/research/)
   Colour roles: blue = buttons, links, emphasis · green = only the DJR line and progress ·
   gold = only the premium 1:1 offer · red only for real errors. Calm background, no card glow.
   ===================================================================== */

/* Calm background: one soft blue light + the faint grid; no drifting lines or points */
.bg__glow { background: radial-gradient(60% 50% at 85% 0%, rgba(59, 140, 255, 0.16), transparent 70%); }
.card::before, .card.is-glowing::before { display: none; }
.card.is-glowing { box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 12px 32px -18px rgba(0, 0, 0, 0.7); }

/* Colour roles */
.eyebrow { color: var(--accent); }
/* The logo's three colours (blue → green → gold) stay as the signature on headline words: a distinctive brand asset (DJR 2026-10-03). */
.index-num, .module__num { color: var(--accent); }
.check-list svg { color: var(--accent); }
.price-install { color: var(--text-secondary); font-weight: 600; }
.sessions-list li::marker { color: var(--accent); }
.seat-badge { color: var(--text-primary); background: var(--accent-soft); border-color: rgba(59, 140, 255, 0.55); }
.timeline__dot--end { border-color: var(--green); color: var(--text-primary); }
.hero__ring { background: radial-gradient(circle at 50% 45%, rgba(59, 140, 255, 0.24), transparent 70%); }
.hero__ring::after { background: conic-gradient(from 200deg, rgba(59, 140, 255, 0.9), rgba(59, 140, 255, 0.15), rgba(59, 140, 255, 0.9)); opacity: 0.6; }

/* Risk notice: one calm line above the header on every page */
.risk-bar { background: var(--bg-mid); border-block-end: 1px solid var(--border-subtle); font-size: 13.5px; color: var(--text-secondary); }
.risk-bar__inner { display: flex; gap: 10px; align-items: center; justify-content: center; padding-block: 7px; text-align: center; }
.risk-bar svg { width: 16px; height: 16px; flex: none; color: var(--accent); }

/* Header: CTA a touch larger (44px tap target) */
.btn--sm { min-height: 44px; }

/* Hero: one main button + WhatsApp as a quiet text link */
.text-wa { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--text-secondary); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.text-wa:hover { color: var(--text-primary); }
.text-wa svg { width: 18px; height: 18px; flex: none; }
.btn-row { align-items: center; }
.cta-note { margin-block-start: 12px; font-size: 14px; color: var(--text-tertiary); }

/* The DJR line (partial djr-line.html, traced from the logo). Light travels bottom-left → upper-right in a loop. */
.djr-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.djr-mark { display: block; overflow: visible; pointer-events: none; direction: ltr; }
.djr-mark__shape { fill: url(#djr-green); }
.djr-mark__halo { fill: #4dffc4; }
.djr-mark__band rect, .djr-mark__sheen rect { transform: translateX(-420px); }
.djr-mark__sheen { opacity: 0.85; }
@media (prefers-reduced-motion: no-preference) {
  .djr-mark__band rect, .djr-mark__sheen rect { animation: djr-sweep 4.2s cubic-bezier(0.45, 0.05, 0.55, 0.95) var(--sweep-delay, 0s) infinite; }
  .djr-mark--hero .djr-mark__reveal { animation: djr-reveal 1.6s 0.25s var(--ease) backwards; }
  .djr-mark--hero .djr-mark__band rect, .djr-mark--hero .djr-mark__sheen rect { animation-delay: 1.8s; }
}
.djr-mark.is-off .djr-mark__band rect, .djr-mark.is-off .djr-mark__sheen rect { animation-play-state: paused; }
@keyframes djr-sweep { 0% { transform: translateX(-420px); } 75%, 100% { transform: translateX(1180px); } }
@keyframes djr-reveal { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(-40% -40% -40% -40%); } }
.djr-mark--hero { position: absolute; z-index: 2; inset-inline-end: -6%; inset-block-end: 2%; width: 112%; }
.djr-mark--divider { width: 190px; margin: 8px auto; }
.footer > .djr-mark--divider { margin-block: -60px 28px; }
.section--close > .djr-mark--divider { margin-block: 0 28px; }
@media (max-width: 900px) { .djr-mark--hero { width: 100%; inset-inline-end: 0; } }

/* Hero portrait: no floating chips, no old chart; soft fade on the cropped side and the bottom */
.hero__portrait { position: relative; z-index: 1;
  -webkit-mask-image: linear-gradient(to bottom, #000 74%, transparent 100%), linear-gradient(to left, transparent 0%, #000 30%);
  mask-image: linear-gradient(to bottom, #000 74%, transparent 100%), linear-gradient(to left, transparent 0%, #000 30%);
  filter: none; }

/* Proof band: only real numbers; the whole band hides when DJR has not filled any */
.band--proof .band__grid { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.band--proof .band__grid > div + div { border-inline-start: 1px solid var(--border-subtle); }
.band--proof strong { font-family: var(--font-num); }
.band--proof a { font-size: 14px; color: var(--text-tertiary); text-decoration: underline; text-underline-offset: 3px; }
.band--proof:not(:has(.band__grid > div)) { display: none; }
@media (max-width: 760px) { .band--proof .band__grid > div:nth-child(3) { border-inline-start: 0; } }

/* Cancellation line under prices and next to forms */
.trust-line { display: flex; flex-wrap: wrap; gap: 6px 10px; justify-content: center; align-items: center; margin-block-start: 22px; font-size: 14px; color: var(--text-secondary); text-align: center; }
.trust-line svg { width: 18px; height: 18px; flex: none; color: var(--accent); }
.trust-line a { color: var(--accent); font-weight: 600; }

/* Honest section: light reading surface (dark text on light reads best for longer text) */
.honest { background: #e9ebf2; color: #12141c; }
.honest .eyebrow { color: #1257c9; }
.honest .lead { color: #3a3f4f; }
.honest__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.honest__grid > * { min-width: 0; }
.honest__fact { margin-block-start: 22px; border-inline-start: 4px solid #1257c9; padding-inline-start: 16px; font-size: 15.5px; color: #2a2f3d; }
.honest__cite { margin-block-start: 6px; padding-inline-start: 20px; font-size: 13px; color: #4f5669; }
.honest__list { list-style: none; display: grid; gap: 14px; }
.honest__list li { background: #fff; border: 1px solid #d6d9e3; border-radius: 14px; padding: 16px 18px; display: grid; grid-template-columns: 28px 1fr; gap: 12px; }
.honest__list svg { width: 22px; height: 22px; color: #6b7285; }
.honest__list strong { display: block; font-size: 17px; }
.honest__list p { font-size: 15px; color: #4a5063; }
.honest a { color: #1257c9; }
@media (max-width: 900px) { .honest__grid { grid-template-columns: 1fr; } }

/* Free lesson: free value first */
.free-lesson { display: flex; gap: 20px 32px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.free-lesson p { max-width: 60ch; }
.h-card { font-size: clamp(24px, 3vw, 30px); }
.free-lesson__when { font-family: var(--font-num); font-weight: 700; color: var(--text-primary) !important; margin-block-start: 8px; }

/* Branded ending (peak-end): the original logo, large and unaltered */
.close-brand__logo { width: clamp(120px, 14vw, 168px); height: auto; border-radius: 50%; margin-block-end: 18px; }
.section--close .lead { max-width: 52ch; }
/* "Not suitable if" marks are not errors: neutral, not red */
.x-list svg { color: var(--text-tertiary); }

/* Verified reviews (admin → ביקורות). Every real review shown; breakdown over all of them. */
.reviews { display: grid; grid-template-columns: 300px 1fr; gap: 24px; align-items: start; }
.reviews > * { min-width: 0; }
.rv-summary { display: grid; gap: 14px; }
.rv-summary__avg strong { font-family: var(--font-num); font-size: 48px; line-height: 1; margin-inline-end: 6px; }
.rv-summary__avg span { color: var(--text-tertiary); }
.rv-summary__note { font-size: 13px; color: var(--text-tertiary) !important; }
.rv-dist { display: grid; gap: 6px; font-size: 13px; color: var(--text-tertiary); }
.rv-row { display: grid; grid-template-columns: 18px 1fr 28px; gap: 8px; align-items: center; }
.rv-bar { display: block; height: 8px; border-radius: 6px; background: rgba(255, 255, 255, 0.07); overflow: hidden; }
.rv-bar span { display: block; height: 100%; background: var(--accent); border-radius: 6px; }
.review-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 16px; }
.review { display: flex; flex-direction: column; gap: 12px; margin: 0; }
.review blockquote { color: var(--text-primary); }
.stars { letter-spacing: 2px; color: var(--text-primary); }
.stars__off { color: var(--text-tertiary); opacity: 0.5; }
.review__who { display: flex; gap: 10px; align-items: center; margin-block-start: auto; font-size: 14px; }
.review__who strong { display: block; }
.review__who span span { display: block; color: var(--text-tertiary); font-size: 13px; }
.review__avatar { width: 38px; height: 38px; flex: none; border-radius: 50%; display: grid; place-items: center; font-weight: 700; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--border-strong); }
.empty-note { text-align: center; max-width: 560px; margin-inline: auto; }
@media (max-width: 900px) { .reviews { grid-template-columns: 1fr; } }

/* v4 team review fixes (2026-10-03) */
.section--close .split, .section .split:has(#lead-form) { align-items: start; }
.choice-pills label > span { min-height: 44px; }
.text-link { min-height: 44px; }
.footer a { display: inline-block; padding-block: 6px; }
h1, h2 { text-wrap: balance; }
.dot-live { background: var(--accent); box-shadow: 0 0 10px var(--accent); }
@media (max-width: 520px) { .hero--home .hero__visual { max-width: 240px; } }

/* Studio portrait (dark backdrop, close to the page black): feathered edges melt it into the page; the photo's own blue rim light does the work. */
.hero__portrait--studio { width: 96%; filter: none;
  -webkit-mask-image: radial-gradient(ellipse 72% 80% at 50% 42%, #000 58%, transparent 100%); mask-image: radial-gradient(ellipse 72% 80% at 50% 42%, #000 58%, transparent 100%);
  -webkit-mask-composite: source-over; mask-composite: add; }

/* v5 — three-colour signature (team, after DJR: "everybody uses white and blue"): each logo colour has a job.
   Blue = action · green = progress/reassurance · gold = value/numbers · the blue→green→gold gradient = the signature. */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--text-secondary); }
.eyebrow::before { content: ""; width: 22px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, #3b8cff, #20b890, #e8b52e); flex: none; }
.honest .eyebrow { color: #1257c9; }
.btn--primary { border: 1.5px solid transparent; background: var(--btn-grad) padding-box, var(--grad) border-box; }
.path__node, .timeline__dot { border-color: transparent; color: var(--text-primary);
  background: linear-gradient(var(--bg-elevated), var(--bg-elevated)) padding-box, conic-gradient(from 210deg, #3b8cff, #20b890, #e8b52e, #3b8cff) border-box;
  box-shadow: 0 0 22px rgba(32, 184, 144, 0.18); }
.path__node--gold { background: var(--bg-elevated); border-color: var(--gold); box-shadow: 0 0 24px rgba(232, 181, 46, 0.3); }
.timeline__dot--end { background: var(--bg-elevated); border-color: var(--green); }
.check-list svg, .fact-chips svg, .trust-line svg { color: var(--green); }
.dot-live { background: var(--green); box-shadow: 0 0 10px var(--green); }
.risk-bar svg { color: var(--text-tertiary); }
.index-num, .module__num, .band--proof strong, .rv-summary__avg strong { color: var(--gold); }
.stars { color: var(--gold); }
.rv-bar span { background: var(--gold); }
.seat-badge { color: #f0cd6e; background: var(--gold-soft); border-color: var(--gold-border); }
.nav__links a[aria-current="page"] { background: rgba(255, 255, 255, 0.05); box-shadow: inset 0 -2px 0 #20b890; }
.footer { border-block-start: 0; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06); }

/* Free-lesson page */
.free-when { display: inline-flex; align-items: center; gap: 10px; margin-block-start: 20px; padding: 10px 16px; border-radius: 14px; background: var(--card-bg); border: 1px solid var(--border-subtle); font-size: 16px; }
.free-when svg { width: 20px; height: 20px; flex: none; color: var(--green); }
.free-when strong { font-family: var(--font-num); }
.free-when--soon { color: var(--text-secondary); }
.timeline--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 800px) { .timeline--3 { grid-template-columns: 1fr; } }

/* קורס אישי page */
.private-grid { max-width: 1100px; margin-inline: auto; }
.private-grid > div:empty { display: none; }
.private-card { display: flex; flex-direction: column; gap: 10px; height: 100%; }
.private-card__lessons { color: var(--text-primary) !important; font-weight: 600; }
.private-card .stack { margin-block-start: auto; }
.private-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
.private-grid > .private-card { flex: 0 1 340px; }
.private-card .track-chip { align-self: flex-start; }

/* ---------- Checkout (/checkout) ---------- */
.checkout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 360px); gap: 28px; align-items: start; }
.checkout__main { display: grid; gap: 14px; min-width: 0; }
.checkout__head { grid-column: 1 / -1; display: grid; gap: 8px; }
.checkout__head > * { margin: 0; }
.checkout__form { display: grid; gap: 16px; }
.checkout__coupon { display: flex; gap: 8px; }
.checkout__coupon .input { flex: 1 1 auto; min-width: 0; }
.checkout__summary { position: sticky; top: 96px; display: grid; gap: 10px; }
.checkout__lines { display: grid; grid-template-columns: 1fr auto; gap: 8px 16px; margin: 6px 0 0; padding-block-start: 12px; border-block-start: 1px solid var(--border-strong); }
.checkout__lines dd { margin: 0; text-align: end; font-variant-numeric: tabular-nums; }
.checkout__lines dd strong { color: var(--gold); font-size: 22px; }
.checkout__closed, .checkout__result { display: grid; gap: 14px; justify-items: start; }
.track-card .btn--ghost, .private-card .btn--ghost { justify-content: center; }
@media (max-width: 860px) {
  .checkout { grid-template-columns: minmax(0, 1fr); }
  .checkout__summary { position: static; }
  .checkout__main { order: 1; }
}

/* About: the DJR LAB logo above the heading */
.about-logo { width: 96px; height: 96px; border-radius: 50%; display: block; margin-block-end: 18px; box-shadow: 0 0 0 1px var(--gold-border), 0 6px 22px -8px rgba(232, 181, 46, 0.5); }

/* Nav: the student area entry ("אזור אישי"), visible next to the call-to-action */
.nav__student { display: inline-flex; align-items: center; gap: 6px; flex: none; min-height: 40px; padding: 6px 14px; border-radius: 100px; border: 1px solid rgba(46, 199, 163, 0.45); color: #7ce3c6; font-weight: 700; font-size: 14px; text-decoration: none; white-space: nowrap; }
.nav__student:hover { background: var(--green-soft); color: var(--text-primary); }
.nav__student svg { width: 18px; height: 18px; }
.nav__links-student { display: none; }
@media (min-width: 1061px) and (max-width: 1250px) { .nav__student span { display: none; } .nav__student { padding: 0; width: 40px; justify-content: center; } }
@media (max-width: 1060px) { .nav__student { margin-inline-start: auto; } .nav__student + .nav__cta + .nav__admin, .nav__student ~ .nav__admin { margin-inline-start: 8px; } }
@media (max-width: 1060px) { .nav.is-open .nav__links .nav__links-student { display: list-item; } }

/* Staff entry (lock): a small menu — teaching panel or admin */
details.nav__admin { position: relative; display: block; padding: 0; }
.nav__admin summary { list-style: none; display: grid; place-items: center; width: 40px; height: 40px; cursor: pointer; border-radius: 100px; }
.nav__admin summary::-webkit-details-marker { display: none; }
.nav__admin-menu { position: absolute; inset-block-start: calc(100% + 8px); inset-inline-end: 0; z-index: 60; display: grid; min-width: 160px; padding: 6px; border-radius: 14px; background: var(--bg-elevated, #161827); border: 1px solid var(--border-strong); box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5); }
.nav__admin-menu a { padding: 10px 14px; border-radius: 10px; color: var(--text-primary); text-decoration: none; font-weight: 600; white-space: nowrap; }
.nav__admin-menu a:hover { background: rgba(255, 255, 255, 0.06); }
.unsub-form { display: grid; gap: 14px; margin-block: 24px; max-width: 480px; }
.private-card__as { margin: 0; font-size: 14px; color: var(--text-secondary); }
