/* =============================================================
   חמש אצבעות - 5ED Arena Design System
   Dark-first, RTL, mobile-first responsive
   ============================================================= */

:root {
  /* Surfaces */
  --5ed-void: #09090B;
  --5ed-surface: #18181B;
  --5ed-card-inner: rgba(9, 9, 11, 0.6);
  --5ed-hover: rgba(39, 39, 42, 0.5);

  /* Borders */
  --5ed-border: #27272A;
  --5ed-border-subtle: rgba(255, 255, 255, 0.05);
  --5ed-border-brand: rgba(255, 135, 20, 0.15);

  /* Text */
  --5ed-text1: #FAFAFA;
  --5ed-text2: #A1A1AA;
  --5ed-text3: #71717A;
  --5ed-text4: #3F3F46;

  /* Brand */
  --5ed-orange: #FF8714;
  --5ed-orange-on: #09090B;

  /* Glows */
  --5ed-glow: 0 0 20px rgba(255, 135, 20, 0.18);
  --5ed-glow-lg: 0 0 30px rgba(255, 135, 20, 0.3);
  --5ed-card-shadow: none;
  --5ed-feat-shadow: 0 0 40px rgba(255, 135, 20, 0.12);

  /* Fingers */
  --finger-body: #FF8714;
  --finger-heart: #FF8714;
  --finger-mind: #FF8714;
  --finger-social: #FF8714;
  --finger-purpose: #FF8714;

  /* Effects */
  --5ed-grid-opacity: 0.03;
  --5ed-orb-opacity: 1;

  --font-body: 'Heebo', sans-serif;
  --font-display: 'Oswald', 'Barlow Condensed', sans-serif;

  --whatsapp: #25D366;
}

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

html {
  scroll-behavior: smooth;
  /* keep the gutter reserved so the layout never shifts when the bar appears */
  scrollbar-gutter: stable;
}

/* ---------- Scrollbar ---------- */
/* Chromium & Safari: full pill styling. The standard scrollbar-width/color
   properties would override these in modern Chromium, so they are scoped to
   browsers WITHOUT ::-webkit-scrollbar support (Firefox) further down. */
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background-color: #3F3F46;
  border-radius: 99px;
  /* transparent border + padding-box clip = a floating pill, not a full-width bar */
  border: 3px solid transparent;
  background-clip: padding-box;
  transition: background-color 0.2s ease-out;
}
::-webkit-scrollbar-thumb:hover {
  background-color: var(--5ed-orange);
  background-clip: padding-box;
}
::-webkit-scrollbar-corner { background: transparent; }

/* Firefox */
@supports not selector(::-webkit-scrollbar) {
  html {
    scrollbar-width: thin;
    scrollbar-color: #3F3F46 transparent;
  }
}

body {
  font-family: var(--font-body);
  background: var(--5ed-void);
  color: var(--5ed-text1);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.icon { flex-shrink: 0; vertical-align: middle; }

:focus-visible {
  outline: 2px solid var(--5ed-orange);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- Background effects (dark only) ---------- */
.bg-effects { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }

.bg-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,1) 1px, transparent 1px);
  background-size: 56px 56px;
  opacity: var(--5ed-grid-opacity);
}

.bg-orb {
  position: absolute; border-radius: 50%; filter: blur(90px);
  opacity: var(--5ed-orb-opacity); animation: float 20s ease-in-out infinite;
}
.bg-orb-1 { width: 480px; height: 480px; top: -120px; inset-inline-start: -120px; background: rgba(255,135,20,0.09); }
.bg-orb-2 { width: 380px; height: 380px; bottom: 10%; inset-inline-end: -100px; background: rgba(139,92,246,0.06); animation-delay: -10s; }

@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(30px, -40px); }
}

#app { position: relative; z-index: 1; }

/* ---------- Section headers - aligned to reading start ---------- */
.section-header { margin-bottom: 32px; }
.kicker {
  display: inline-block;
  color: var(--5ed-orange);
  font-weight: 700; font-size: 13px;
  padding-bottom: 6px; margin-bottom: 12px;
  border-bottom: 2px solid var(--5ed-orange);
}
.section-header h2 {
  font-weight: 900;
  font-size: clamp(26px, 4.5vw, 38px);
  line-height: 1.2;
}
.section-header .section-sub {
  color: var(--5ed-text2); margin-top: 8px;
  font-size: clamp(15px, 2vw, 17px);
  max-width: 560px;
}

/* ---------- Layout ---------- */
.container { max-width: 1080px; margin-inline: auto; padding-inline: 20px; }
section { padding-block: 48px; }

@media (min-width: 768px) {
  .container { padding-inline: 24px; }
  section { padding-block: 72px; }
}

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; inset-inline: 0; z-index: 50;
  padding-block: 10px;
  background: rgba(9, 9, 11, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--5ed-border-subtle);
}
.nav-inner {
  max-width: 1080px; margin-inline: auto; padding-inline: 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.nav-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--5ed-text1); min-width: 0; }
.nav-logo { width: 36px; height: 36px; object-fit: contain; flex-shrink: 0; }
.nav-title { font-weight: 900; font-size: 16px; line-height: 1.2; white-space: nowrap; }
.nav-context {
  font-size: 12px; color: var(--5ed-text3); white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis;
}
.nav-cta {
  flex-shrink: 0;
  background: var(--5ed-orange); color: var(--5ed-orange-on);
  font-family: var(--font-body); font-weight: 700; font-size: 14px;
  border: none; border-radius: 12px; padding: 10px 18px; cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease-out, box-shadow 0.15s ease-out;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: var(--5ed-glow); }
.nav-cta:active { transform: scale(0.97); }

/* ---------- Scroll progress (sits on the nav's bottom edge) ---------- */
.nav-progress {
  position: absolute;
  bottom: -1px;
  inset-inline: 0;
  height: 2px;
  background: var(--5ed-orange);
  box-shadow: 0 0 8px rgba(255, 135, 20, 0.5);
  transform: scaleX(0);
  transform-origin: right; /* RTL: fills from the right, with the reading direction */
  will-change: transform;
}

/* Modern browsers drive this straight off the scroll position - no JS, no jank */
@supports (animation-timeline: scroll()) {
  .nav-progress {
    animation: navProgressGrow linear forwards;
    animation-timeline: scroll(root block);
  }
}

@keyframes navProgressGrow {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-top: 108px; padding-bottom: 24px;
  overflow: hidden;
}
/* text sits at the top, the action row is pushed to the bottom edge */
.hero-footer {
  position: relative;
  z-index: 1;
  /* margin-inline:auto from .container would shrink-wrap this flex item */
  width: 100%;
  margin-top: auto;
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
/* with a video behind it the hero earns real height, so the footage reads */
.hero:has(.hero-bg) {
  min-height: 78vh;
  min-height: 78svh;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg video {
  width: 100%; height: 100%; object-fit: cover;
}
/* light over the footage, heavy only where it must melt into the page */
.hero-bg-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom,
    rgba(9, 9, 11, 0.30),
    rgba(9, 9, 11, 0.38) 50%,
    rgba(9, 9, 11, 0.72) 86%,
    var(--5ed-void) 100%);
}
.hero .hero-grid { position: relative; z-index: 1; }
.hero-sound {
  display: inline-flex; align-items: center; gap: 7px; flex-shrink: 0;
  background: rgba(9, 9, 11, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--5ed-text1);
  font-family: var(--font-body); font-weight: 700; font-size: 13px;
  border-radius: 32px; padding: 9px 16px; cursor: pointer;
  min-height: 38px;
  transition: background 0.15s ease-out, transform 0.15s ease-out;
}
.hero-sound:hover { background: rgba(39, 39, 42, 0.8); }
.hero-sound:active { transform: scale(0.96); }
.hero-grid { display: flex; align-items: center; gap: 40px; }
.hero-text { flex: 1; min-width: 0; }
.hero-mark { display: none; }
@media (min-width: 1024px) {
  .hero { padding-top: 132px; padding-bottom: 56px; }
  .hero:has(.hero-bg) { min-height: 86vh; min-height: 86svh; }
  .hero-mark {
    display: block; flex-shrink: 0; width: 230px;
    opacity: 0.9;
  }
  .hero-mark img {
    width: 100%;
    filter: drop-shadow(0 0 50px rgba(255, 135, 20, 0.25));
  }
}

.hero h1 {
  font-weight: 900;
  font-size: clamp(30px, 5.5vw, 54px);
  line-height: 1.15;
  max-width: 15em;
}
.hero:has(.hero-bg) h1 { text-shadow: 0 2px 16px rgba(0, 0, 0, 0.6); }
.hero:has(.hero-bg) .hero-sub {
  color: #D4D4D8;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.65);
}
.hero-sub {
  color: var(--5ed-text2);
  font-size: clamp(16px, 2.2vw, 19px);
  max-width: 560px; margin-top: 16px;
}
.hero-ctas {
  display: flex; flex-wrap: wrap; gap: 12px;
}
/* on a phone the two CTAs share one full-width row instead of stacking */
@media (max-width: 560px) {
  .hero-ctas { width: 100%; flex-wrap: nowrap; }
  .hero-ctas .btn { flex: 1 1 0; min-width: 0; padding-inline: 12px; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-body); font-weight: 700; font-size: 16px;
  border-radius: 14px; padding: 13px 26px; cursor: pointer;
  min-height: 44px;
  text-decoration: none; border: none;
  transition: transform 0.15s ease-out, box-shadow 0.15s ease-out, background 0.15s ease-out;
}
.btn:active { transform: scale(0.97); }
.btn-sm { padding: 9px 18px; font-size: 14px; min-height: 40px; }
.btn-primary {
  background: var(--5ed-orange); color: var(--5ed-orange-on);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: var(--5ed-glow); }
.btn-ghost {
  background: transparent; color: var(--5ed-text1);
  border: 1px solid var(--5ed-border);
}
.btn-ghost:hover { background: var(--5ed-hover); }
.btn-whatsapp {
  background: rgba(37, 211, 102, 0.1); color: #4ADE80;
  border: 1px solid rgba(37, 211, 102, 0.25);
}
.btn-whatsapp:hover { background: rgba(37, 211, 102, 0.18); }

/* ---------- Info board ---------- */
.info-board {
  background: var(--5ed-surface);
  border: 1px solid var(--5ed-border);
  border-radius: 20px;
  display: grid; grid-template-columns: 1fr;
  overflow: hidden;
}
@media (min-width: 768px) { .info-board { grid-template-columns: 1fr 1fr; } }

.info-row {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 20px 22px;
  border-bottom: 1px solid var(--5ed-border-subtle);
}
@media (min-width: 768px) {
  .info-row { padding: 24px 28px; }
  .info-row:nth-child(odd) { border-inline-end: 1px solid var(--5ed-border-subtle); }
  .info-row:nth-last-child(-n+2) { border-bottom: none; }
}
@media (max-width: 767px) { .info-row:last-child { border-bottom: none; } }

.info-icon {
  width: 40px; height: 40px; border-radius: 12px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255, 135, 20, 0.09);
  color: var(--5ed-orange);
}
.info-label { font-size: 13px; color: var(--5ed-text3); margin-bottom: 2px; }
.info-value { font-weight: 700; font-size: 16px; line-height: 1.45; }
.info-note { color: var(--5ed-text3); font-size: 13px; margin-top: 3px; }
.info-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: #4ADE80; text-decoration: none;
  transition: color 0.15s ease-out;
}
.info-link:hover { color: #86EFAC; text-decoration: underline; }
.details-actions {
  margin-top: 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
}
.details-actions > .btn, .details-actions > details > summary { min-height: 50px; }
.details-actions .btn-trial { margin-top: 0; }
@media (max-width: 600px) { .details-actions { grid-template-columns: 1fr; } }

/* ---------- Coach ---------- */
.coach-card {
  background: var(--5ed-surface);
  border: 1px solid var(--5ed-border);
  border-radius: 20px; overflow: hidden;
  display: flex; flex-direction: column;
}
@media (min-width: 768px) { .coach-card { flex-direction: row; max-width: 820px; } }

.coach-photo {
  flex-shrink: 0; width: 100%; height: 220px;
  background: linear-gradient(160deg, rgba(255,135,20,0.12), rgba(9,9,11,0.4));
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
@media (min-width: 768px) { .coach-photo { width: 250px; height: auto; min-height: 100%; } }
.coach-photo > img:not(.coach-photo-fallback) {
  width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0;
}
.coach-photo-fallback { width: 84px; opacity: 0.5; }

.coach-body { padding: 24px; }
@media (min-width: 768px) { .coach-body { padding: 30px 32px; } }
.coach-name { font-weight: 900; font-size: 23px; margin-bottom: 8px; }
.coach-bio { color: var(--5ed-text2); font-size: 15px; }
.coach-team-note {
  margin-top: 14px; padding: 13px 16px;
  background: var(--5ed-card-inner);
  border-inline-start: 3px solid var(--5ed-orange);
  border-radius: 10px;
  color: var(--5ed-text2); font-size: 14px;
}
.coach-contact { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }

.program-copy {
  max-width: 780px; color: var(--5ed-text2); font-size: 16px;
  display: grid; gap: 14px;
}
.program-highlight {
  display: grid; gap: 5px; margin-top: 10px; padding: 20px 22px;
  background: rgba(255, 135, 20, 0.08); border: 1px solid var(--5ed-border-brand);
  border-radius: 16px;
}
.program-highlight strong { color: var(--5ed-orange); font-size: 18px; }

/* ---------- Values ---------- */
/* Deliberately NOT cards: no surface fill, no border box, no icon chips.
   A finger-coloured rule + an index numeral carries the structure instead. */
.values-list { display: flex; flex-direction: column; }

.value-row {
  display: grid;
  grid-template-columns: 3px minmax(0, 1fr);
  gap: 20px;
  padding: 22px 0;
}
.value-row + .value-row { border-top: 1px solid var(--5ed-border-subtle); }

.value-rule {
  background: var(--fc, var(--5ed-orange));
  border-radius: 99px;
  /* the rule marks the text block, not the whole row's padding */
  margin: 4px 0;
}

.value-index {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 2px;
  color: var(--fc, var(--5ed-orange));
  margin-bottom: 6px;
}

.value-body h3 {
  font-weight: 900;
  font-size: clamp(18px, 2.4vw, 22px);
  line-height: 1.3;
  margin-bottom: 6px;
}
.value-body p {
  color: var(--5ed-text2);
  font-size: 15.5px;
  max-width: 620px;
  text-wrap: pretty;
}

@media (min-width: 768px) {
  .value-row { grid-template-columns: 4px minmax(0, 1fr); gap: 26px; padding: 26px 0; }
}

/* ---------- Videos ---------- */
.videos-grid {
  display: grid; grid-template-columns: 1fr; gap: 20px;
}
@media (min-width: 768px) { .videos-grid { grid-template-columns: repeat(2, 1fr); } }

.video-card {
  background: var(--5ed-surface);
  border: 1px solid var(--5ed-border);
  border-radius: 18px; overflow: hidden;
}
.video-head { padding: 16px 20px 12px; }
.video-title { font-weight: 900; font-size: 16px; }
.video-sub { color: var(--5ed-text3); font-size: 13px; margin-top: 2px; }

.video-frame { position: relative; width: 100%; background: #000; }
.video-frame.ar-wide { aspect-ratio: 16 / 9; }
.video-frame.ar-tall { aspect-ratio: 9 / 14; max-height: 440px; }
.video-frame iframe, .video-frame video {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
}
.video-frame video { object-fit: contain; }

.video-placeholder {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  background:
    radial-gradient(ellipse at center, rgba(255,135,20,0.07), transparent 70%),
    var(--5ed-card-inner);
  color: var(--5ed-text3); font-size: 14px;
}
.play-circle {
  width: 56px; height: 56px; border-radius: 50%;
  border: 1.5px solid var(--5ed-border-brand);
  display: flex; align-items: center; justify-content: center;
  color: var(--5ed-orange);
}
.play-circle .icon { margin-inline-start: 3px; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 680px; display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  background: var(--5ed-surface);
  border: 1px solid var(--5ed-border);
  border-radius: 14px; overflow: hidden;
}
.faq-item summary {
  padding: 16px 20px; cursor: pointer; font-weight: 700; font-size: 15.5px;
  list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 44px;
  transition: background 0.15s ease-out;
}
.faq-item summary:hover { background: var(--5ed-hover); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-plus { color: var(--5ed-orange); transition: transform 0.25s ease-out; }
.faq-item[open] .faq-plus { transform: rotate(45deg); }
.faq-item .faq-a { padding: 0 20px 16px; color: var(--5ed-text2); font-size: 14.5px; }

/* ---------- Final CTA ---------- */
.final-cta {
  background: var(--5ed-surface);
  border: 1px solid var(--5ed-border-brand);
  box-shadow: var(--5ed-feat-shadow);
  border-radius: 24px;
  padding: 36px 24px;
}
@media (min-width: 768px) { .final-cta { padding: 48px 44px; } }
.final-cta h2 {
  font-weight: 900; font-size: clamp(24px, 4vw, 34px); line-height: 1.25;
  max-width: 18em;
}
.final-cta .accent { color: var(--5ed-orange); }
.final-cta p { color: var(--5ed-text2); max-width: 520px; margin-top: 10px; }
.final-cta .cta-buttons {
  display: flex; gap: 12px; margin-top: 28px;
}
/* the closing CTA carries the most weight on the page */
.final-cta .btn-primary {
  padding: 16px 32px;
  font-size: 17px;
  box-shadow: var(--5ed-glow);
}
.final-cta .btn-primary:hover { box-shadow: var(--5ed-glow-lg); }
.final-cta .btn-ghost { padding: 16px 28px; }

/* phone: one full-width column so both are easy to hit and evenly sized */
@media (max-width: 560px) {
  .final-cta .cta-buttons { flex-direction: column; align-items: stretch; }
  .final-cta .cta-buttons .btn { width: 100%; }
}
/* wider: side by side and exactly equal, so the pair reads as one deliberate
   group - the primary still dominates through colour and glow, not width */
@media (min-width: 561px) {
  .final-cta .cta-buttons { max-width: 540px; }
  .final-cta .cta-buttons .btn { flex: 1 1 0; min-width: 0; padding-inline: 20px; }
}
.final-cta .cta-note { margin-top: 20px; color: var(--5ed-text3); font-size: 13.5px; }
.final-cta .cta-note a { color: var(--5ed-orange); }

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--5ed-border);
  margin-top: 24px;
  padding: 26px 20px calc(88px + env(safe-area-inset-bottom));
  text-align: center; color: var(--5ed-text3); font-size: 13px;
}
@media (min-width: 768px) { .footer { padding-bottom: 26px; } }
.footer-logo { width: 28px; display: block; margin: 0 auto 10px; opacity: 0.55; }
.footer a { color: var(--5ed-text2); text-decoration: none; }
.footer a:hover { color: var(--5ed-orange); }

/* ---------- Sticky mobile CTA bar ---------- */
.sticky-cta {
  position: fixed; bottom: 0; inset-inline: 0; z-index: 40;
  display: flex; gap: 10px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(9, 9, 11, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--5ed-border-subtle);
  transform: translateY(100%);
  transition: transform 0.3s ease-out;
}
.sticky-cta.visible { transform: translateY(0); }
.sticky-cta .btn { flex: 1; padding: 12px 10px; font-size: 15px; }
@media (min-width: 768px) { .sticky-cta { display: none; } }

/* ---------- WhatsApp FAB (desktop) ---------- */
.wa-fab {
  position: fixed; bottom: 24px; inset-inline-start: 24px; z-index: 40;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--whatsapp); color: #fff;
  display: none; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
  text-decoration: none;
  transition: transform 0.15s ease-out;
}
.wa-fab:hover { transform: scale(1.06); }
.wa-fab:active { transform: scale(0.95); }
@media (min-width: 768px) { .wa-fab { display: flex; } }

/* ---------- Wizard ---------- */
.area-hero {
  position: relative; min-height: 72svh; display: grid; place-items: center;
  padding: 118px 20px 64px; overflow: hidden; text-align: center;
}
.area-hero-bg, .area-hero-overlay { position: absolute; inset: 0; }
.area-hero-bg video { width: 100%; height: 100%; object-fit: cover; }
.area-hero-overlay {
  background: linear-gradient(to bottom, rgba(9,9,11,.45), rgba(9,9,11,.67) 70%, var(--5ed-void));
}
.area-hero-content { position: relative; z-index: 1; display: grid; justify-items: center; }
.area-hero h1 {
  font-weight: 900; font-size: clamp(42px, 8vw, 82px); line-height: 1.05;
  text-shadow: 0 3px 22px rgba(0,0,0,.75);
}
.area-invite { font-weight: 900; font-size: clamp(25px, 4.5vw, 42px); margin-top: 12px; }
.area-promo {
  color: var(--5ed-orange); background: #fff; font-weight: 900;
  font-size: clamp(22px, 4vw, 36px); line-height: 1.3;
  padding: 14px 24px; border-radius: 18px; margin-top: 28px;
  box-shadow: 0 12px 44px rgba(0,0,0,.3);
}
.area-instruction {
  color: var(--5ed-orange); font-weight: 900; font-size: clamp(20px, 3vw, 28px);
  margin-top: 22px; padding-inline: 10px;
}
.area-main { padding: 42px 0 76px; }
.area-groups { max-width: 960px; margin-inline: auto; display: grid; gap: 18px; }
.area-group-card {
  background: var(--5ed-surface); border: 1px solid var(--5ed-border);
  border-radius: 20px; padding: 22px; box-shadow: var(--5ed-feat-shadow);
}
.area-group-head { display: flex; align-items: center; gap: 15px; }
.area-group-head h2 { font-size: clamp(20px, 3vw, 27px); line-height: 1.2; }
.area-group-head p { color: var(--5ed-text3); margin-top: 4px; }
.area-group-facts {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px;
  margin: 20px 0; padding: 16px 0; border-block: 1px solid var(--5ed-border-subtle);
}
.area-group-facts dt { color: var(--5ed-text3); font-size: 13px; }
.area-group-facts dd { font-weight: 700; margin-top: 3px; }
.area-group-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.btn-trial {
  width: 100%; margin-top: 10px; color: var(--5ed-orange);
  background: rgba(255,135,20,.08); border: 1px solid var(--5ed-border-brand);
  list-style: none;
}
.btn-trial::-webkit-details-marker { display: none; }
.trial-actions-body {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding-top: 10px;
}
.trial-actions-body a, .trial-actions-body span {
  min-height: 44px; display: flex; align-items: center; justify-content: center; gap: 7px;
  color: var(--5ed-text1); background: var(--5ed-card-inner); border: 1px solid var(--5ed-border);
  border-radius: 12px; text-decoration: none; font-weight: 700; text-align: center; padding: 10px;
}
.trial-actions-body a:hover { border-color: var(--5ed-orange); }
@media (max-width: 600px) {
  .area-hero { min-height: 68svh; padding-inline: 14px; }
  .area-promo { padding: 12px 14px; }
  .area-group-facts, .area-group-actions, .trial-actions-body { grid-template-columns: 1fr; }
}

.wizard-wrap {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  padding: 48px 20px;
}
.wizard-card {
  width: 100%; max-width: 500px;
  background: var(--5ed-surface);
  border: 1px solid var(--5ed-border);
  border-radius: 22px;
  padding: 32px 24px;
}
@media (min-width: 640px) { .wizard-card { padding: 40px 38px; } }

.wizard-logo { width: 64px; display: block; margin: 0 auto 18px; }
.wizard-card h1 {
  font-weight: 900; font-size: clamp(22px, 5vw, 28px);
  text-align: center; line-height: 1.3;
}
.wizard-card .wizard-sub { color: var(--5ed-text2); text-align: center; margin-top: 8px; font-size: 15px; }

.wizard-step-label {
  font-weight: 700; font-size: 14px; color: var(--5ed-orange);
  margin: 26px 0 10px;
}
.option-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.option-btn {
  background: var(--5ed-card-inner);
  border: 1px solid var(--5ed-border);
  color: var(--5ed-text1);
  font-family: var(--font-body); font-weight: 700; font-size: 15px;
  border-radius: 13px; padding: 14px 12px; cursor: pointer;
  min-height: 48px;
  transition: border-color 0.15s ease-out, background 0.15s ease-out, transform 0.15s ease-out;
  text-align: center;
}
.option-btn:hover { border-color: var(--5ed-border-brand); }
.option-btn:active { transform: scale(0.97); }
.option-btn.selected {
  border-color: var(--5ed-orange);
  background: rgba(255, 135, 20, 0.1);
  color: var(--5ed-orange);
}

.city-chosen {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: rgba(255, 135, 20, 0.08);
  border: 1px solid var(--5ed-border-brand);
  border-radius: 13px;
  padding: 12px 16px;
}
.city-chosen-name { font-weight: 900; font-size: 17px; color: var(--5ed-orange); }
.city-change {
  background: transparent;
  border: 1px solid var(--5ed-border);
  color: var(--5ed-text2);
  font-family: var(--font-body); font-weight: 700; font-size: 13px;
  border-radius: 10px; padding: 8px 14px; cursor: pointer;
  min-height: 36px;
  transition: color 0.15s ease-out, border-color 0.15s ease-out, transform 0.15s ease-out;
}
.city-change:hover { color: var(--5ed-text1); border-color: var(--5ed-text3); }
.city-change:active { transform: scale(0.97); }

.group-list { display: flex; flex-direction: column; gap: 10px; }
.group-btn {
  display: flex; align-items: center; gap: 14px;
  background: var(--5ed-card-inner);
  border: 1px solid var(--5ed-border);
  color: var(--5ed-text1);
  font-family: var(--font-body);
  border-radius: 13px; padding: 13px 16px; cursor: pointer;
  min-height: 56px;
  text-align: start;
  transition: border-color 0.15s ease-out, transform 0.15s ease-out;
}
.group-btn:hover { border-color: var(--5ed-border-brand); }
.group-btn:active { transform: scale(0.98); }
.group-grade {
  flex-shrink: 0;
  min-width: 46px; height: 40px; padding-inline: 6px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255, 135, 20, 0.1);
  color: var(--5ed-orange);
  font-weight: 900; font-size: 14px;
  border-radius: 10px;
}
.group-info { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.group-name { font-weight: 700; font-size: 15px; }
.group-meta { color: var(--5ed-text3); font-size: 12.5px; }
.group-chevron { color: var(--5ed-text3); }

.wizard-hint {
  background: rgba(255, 135, 20, 0.05);
  border: 1px solid var(--5ed-border-subtle);
  border-radius: 12px; padding: 14px 16px;
  color: var(--5ed-text3); font-size: 14px;
}

.wizard-footer { margin-top: 26px; text-align: center; color: var(--5ed-text4); font-size: 12px; }

/* ---------- Motion: state-change bridges ---------- */

/* FAQ content entrance (paired with the rotating plus) */
@keyframes faqIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}
.faq-item[open] .faq-a { animation: faqIn 200ms ease-out; }

/* Route render entrance - one beat per page */
@keyframes pageIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.page-enter { animation: pageIn 250ms ease-out; }

/* Wizard group list entrance - light stagger */
@keyframes rowIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
.group-list .group-btn {
  animation: rowIn 180ms ease-out backwards;
  animation-delay: calc(var(--i, 0) * 40ms);
}

/* Values grid - stagger the shared reveal */
.values-list .reveal, .value-row.reveal { transition-delay: calc(var(--i, 0) * 60ms); }

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.reveal.in-view { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .hero-bg { display: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .faq-item[open] .faq-a, .page-enter, .group-list .group-btn { animation: none; }
  .values-list .reveal, .value-row.reveal { transition-delay: 0ms; }
  .bg-orb { animation: none; }
  html { scroll-behavior: auto; }
  .btn, .option-btn, .group-btn, .nav-cta { transition: none; }
}
