/* ==========================================================================
   Racheli — Statistics tutoring landing page
   Mobile-first. RTL. No framework.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --plum-950: #1A0520;
  --plum-900: #25082B;
  --plum-800: #30173F;   /* brand plum (sampled from logo) */
  --plum-700: #4B1B50;
  --plum-600: #6A3A6F;
  --plum-300: #BFA6C2;

  --ivory: #FCF8F1;
  --ivory-2: #FFFDF9;
  --cream: #F5EDE0;
  --cream-2: #EDE2D0;
  --line: #E4D6C1;
  --line-strong: #D3C1A6;

  --gold: #C9A15E;
  --gold-light: #E2C287;
  --gold-soft: #DBB676;
  --gold-ink: #7E5D28;   /* gold for text on light backgrounds (AA) */

  --ink: #2A1B2D;
  --ink-2: #5A4A5C;
  --ink-3: #75667A;

  --on-dark: #F8F2E7;
  --on-dark-2: rgba(248, 242, 231, .78);
  --on-dark-3: rgba(248, 242, 231, .58);

  --wa-green: #25D366;
  --error: #B42318;
  --success: #1E6A43;

  --font-display: "Frank Ruhl Libre", "David Libre", "Times New Roman", serif;
  --font-body: "Heebo", "Segoe UI", "Arial Hebrew", Arial, sans-serif;
  --font-ui-ltr: "Segoe UI", "Helvetica Neue", Arial, sans-serif;

  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-xl: 28px;

  --shadow-sm: 0 1px 2px rgba(48, 23, 63, .06), 0 2px 8px rgba(48, 23, 63, .04);
  --shadow: 0 2px 6px rgba(48, 23, 63, .05), 0 14px 34px -12px rgba(48, 23, 63, .16);
  --shadow-lg: 0 4px 14px rgba(26, 5, 32, .08), 0 36px 70px -28px rgba(26, 5, 32, .38);

  --gutter: clamp(16px, 4.2vw, 32px);
  --section-y: clamp(64px, 9vw, 120px);
  --header-h: 64px;
  --sticky-h: 64px;

  --focus: var(--plum-600);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}
body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--ivory);
  overflow-x: clip;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
ul[role="list"], ol { list-style: none; padding: 0; }
h1, h2, h3 { line-height: 1.15; text-wrap: balance; }
p { text-wrap: pretty; }
bdi { unicode-bidi: isolate; }
[hidden] { display: none !important; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.section-plum, .final-cta, .site-footer, .sticky-cta, .viz-card { --focus: var(--gold-light); }

.skip-link {
  position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100;
  background: var(--plum-800); color: var(--on-dark); padding: 10px 16px;
  border-radius: var(--radius-sm); text-decoration: none; font-weight: 600;
  transition: top .2s;
}
.skip-link:focus { top: 12px; }

.container {
  width: 100%;
  max-width: calc(1200px + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.show-xs { display: none; }
@media (max-width: 479.98px) {
  .hide-xs { display: none !important; }
  .show-xs { display: inline; }
}

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--plum-800);
  --btn-fg: var(--on-dark);
  --btn-bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px;
  border: 1.5px solid var(--btn-bd); border-radius: var(--radius);
  background: var(--btn-bg); color: var(--btn-fg);
  font-weight: 600; font-size: 1rem; line-height: 1.2; text-decoration: none; text-align: center;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s, transform .2s var(--ease), box-shadow .2s var(--ease);
  -webkit-user-select: none; user-select: none;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-icon { width: 20px; height: 20px; flex: none; }
.btn-icon-end { width: 18px; height: 18px; }
.btn-lg { min-height: 56px; padding: 0 28px; font-size: 1.0625rem; }
.btn-sm { min-height: 44px; padding: 0 16px; font-size: .9375rem; border-radius: 12px; white-space: nowrap; }

.btn-primary, .btn-wa { box-shadow: 0 10px 24px -12px rgba(48, 23, 63, .65); }
.btn-primary:hover, .btn-wa:hover { --btn-bg: var(--plum-700); box-shadow: 0 14px 28px -12px rgba(48, 23, 63, .7); }
.btn-primary .btn-icon, .btn-wa .btn-icon { color: var(--wa-green); }

.btn-ghost { --btn-bg: transparent; --btn-fg: var(--plum-800); --btn-bd: rgba(48, 23, 63, .28); }
.btn-ghost:hover { --btn-bg: rgba(48, 23, 63, .05); --btn-bd: var(--plum-800); }

.btn-gold { --btn-bg: var(--gold); --btn-fg: var(--plum-950); box-shadow: 0 12px 28px -14px rgba(201, 161, 94, .8); }
.btn-gold:hover { --btn-bg: var(--gold-light); }

.btn-light { --btn-bg: var(--ivory); --btn-fg: var(--plum-800); }
.btn-light:hover { --btn-bg: #fff; }

.btn-outline-light { --btn-bg: transparent; --btn-fg: var(--on-dark); --btn-bd: rgba(248, 242, 231, .42); }
.btn-outline-light:hover { --btn-bg: rgba(248, 242, 231, .08); --btn-bd: var(--on-dark); }

.text-link, .service-cta {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; color: var(--plum-800); text-decoration: none;
  min-height: 44px;
}
.text-link svg, .service-cta svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.text-link:hover svg, .service-cta:hover svg { transform: translateX(-4px); }
.text-link span, .text-link { text-underline-offset: 5px; }
.text-link:hover, .service-cta:hover { text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.inline-link { color: var(--plum-800); font-weight: 600; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 4px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(252, 248, 241, .9);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 20px -16px rgba(48, 23, 63, .35); }
.header-inner { display: flex; align-items: center; gap: 12px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; min-width: 0; margin-inline-end: auto; }
.brand-mark { height: 36px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; min-width: 0; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.375rem; color: var(--plum-800); }
.brand-tag { font-size: .75rem; color: var(--ink-3); white-space: nowrap; margin-top: 2px; }
@media (max-width: 559.98px) { .brand-tag { display: none; } }

.header-nav { display: none; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.icon-link {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
  color: var(--plum-700); transition: background-color .2s, color .2s;
}
.icon-link svg { width: 20px; height: 20px; }
.icon-link:hover { background: rgba(48, 23, 63, .06); color: var(--plum-800); }
.header-actions .fb-link { display: none; }

@media (min-width: 960px) {
  :root { --header-h: 76px; }
  .brand-mark { height: 44px; }
  .brand-name { font-size: 1.5rem; }
  .header-nav { display: block; }
  .header-nav ul { display: flex; gap: 4px; list-style: none; padding: 0; }
  .header-nav a {
    display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px;
    text-decoration: none; color: var(--ink-2); font-weight: 500; font-size: .9688rem; border-radius: 10px; white-space: nowrap;
    position: relative; transition: color .2s;
  }
  .header-nav a::after {
    content: ""; position: absolute; inset-inline: 14px; bottom: 8px; height: 2px; background: var(--gold);
    transform: scaleX(0); transform-origin: right; transition: transform .3s var(--ease);
  }
  .header-nav a:hover { color: var(--plum-800); }
  .header-nav a:hover::after, .header-nav a[aria-current="true"]::after { transform: scaleX(1); }
  .header-nav a[aria-current="true"] { color: var(--plum-800); }
  .header-actions .fb-link:not([hidden]) { display: inline-grid; }
  .header-actions { gap: 6px; margin-inline-start: 12px; }
}

/* ---------- Generic sections ---------- */
.section { padding-block: var(--section-y); position: relative; }
.section-cream { background: var(--cream); }
.section-plum { background: var(--plum-800); color: var(--on-dark); }

.section-head { text-align: center; max-width: 720px; margin: 0 auto clamp(36px, 5vw, 56px); }
.section-head-start { text-align: start; margin-inline: 0; }
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .8125rem; font-weight: 600; letter-spacing: .04em; color: var(--gold-ink);
  margin-bottom: 14px;
}
.kicker::before { content: ""; width: 26px; height: 1.5px; background: currentColor; opacity: .7; }
.kicker-light { color: var(--gold-light); }
.title-line { display: inline-block; }
.section-title {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.875rem, 1.15rem + 2.9vw, 3.125rem);
  color: var(--plum-800); letter-spacing: -.005em;
}
.section-plum .section-title { color: var(--on-dark); }
.section-sub { margin-top: 16px; font-size: clamp(1.0313rem, .98rem + .3vw, 1.1875rem); color: var(--ink-2); line-height: 1.7; }
.section-plum .section-sub { color: var(--on-dark-2); }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- A. Hero ---------- */
.hero { position: relative; padding-block: clamp(28px, 6vw, 88px) clamp(56px, 8vw, 112px); overflow: hidden; isolation: isolate; }
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(to right, rgba(48, 23, 63, .055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(48, 23, 63, .055) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 30% 40%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 70% at 30% 40%, #000 20%, transparent 75%);
}
.hero::after {
  content: ""; position: absolute; z-index: -1; inset-inline-start: -20%; top: -30%;
  width: 70vw; max-width: 760px; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(226, 194, 135, .28), transparent 65%);
}
.hero-grid { display: grid; gap: clamp(36px, 6vw, 64px); align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .875rem; font-weight: 600; color: var(--gold-ink); margin-bottom: 18px;
}
.eyebrow-line { width: 28px; height: 1.5px; background: currentColor; opacity: .75; }
.hero-title {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2.125rem, 1.15rem + 4.7vw, 4.5rem);
  line-height: 1.1; letter-spacing: -.01em; color: var(--plum-800);
}
.hero-title-accent {
  display: block; margin-top: .08em; color: var(--plum-600);
}
.hero-title-accent::after {
  content: ""; display: block; width: min(220px, 50%); height: 14px; margin-top: 10px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 14'%3E%3Cpath d='M2 11C40 11 58 3 110 3s70 8 108 8' fill='none' stroke='%23C9A15E' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right center / contain;
}
.hero-lead { margin-top: 22px; font-size: clamp(1.0625rem, 1rem + .45vw, 1.25rem); line-height: 1.75; color: var(--ink-2); max-width: 36em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.cta-row .btn { flex: 1 1 auto; }
.hero-modes { display: grid; gap: 8px; list-style: none; padding: 0; margin-top: 22px; }
.hero-modes li {
  display: flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 14px;
  background: var(--ivory-2); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  font-size: .9375rem; font-weight: 600; line-height: 1.4; color: var(--plum-800);
}
.hero-modes li:last-child { border-color: rgba(201, 161, 94, .6); background: rgba(201, 161, 94, .12); }
.hero-modes .nowrap { white-space: nowrap; }
.hero-modes svg { flex: none; width: 22px; height: 22px; color: var(--gold-ink); }
@media (min-width: 640px) { .hero-modes { display: flex; flex-wrap: wrap; gap: 10px; } }
.hero-alt { margin-top: 16px; font-size: .9688rem; color: var(--ink-3); }
.hero-alt a { color: var(--plum-800); font-weight: 600; text-decoration-color: var(--gold); text-underline-offset: 4px; display: inline-block; padding-block: 10px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px 18px; list-style: none; padding: 0; margin-top: 18px; padding-top: 22px; border-top: 1px solid var(--line); }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; font-size: .9375rem; font-weight: 500; color: var(--ink-2); }
.hero-points svg { width: 18px; height: 18px; color: var(--gold-ink); flex: none; }

@media (min-width: 480px) {
  .cta-row .btn { flex: 0 0 auto; }
}
@media (max-width: 379.98px) {
  .btn-lg { font-size: 1rem; padding: 0 16px; gap: 8px; }
}

/* Hero visual */
.hero-visual { position: relative; padding: 18px 8px 26px; max-width: 560px; width: 100%; margin-inline: auto; }
.viz-card {
  position: relative; background: linear-gradient(160deg, var(--plum-800), var(--plum-950));
  border-radius: var(--radius-xl); padding: 16px 16px 14px; box-shadow: var(--shadow-lg);
  border: 1px solid rgba(226, 194, 135, .18); color: var(--on-dark);
}
.viz-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 2px 4px 8px; }
.viz-dots { display: inline-flex; gap: 6px; }
.viz-dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(248, 242, 231, .22); }
.viz-dots i:first-child { background: var(--gold); }
.viz-title { font-family: var(--font-ui-ltr); font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; color: var(--on-dark-3); }
.viz-chart { width: 100%; height: auto; overflow: visible; direction: ltr; }
.viz-grid path { stroke: rgba(248, 242, 231, .08); stroke-width: 1; fill: none; }
.viz-axis { stroke: rgba(248, 242, 231, .35); stroke-width: 1.2; fill: none; }
.viz-bars rect { fill: url(#g-bar); opacity: .88; transform-box: fill-box; transform-origin: 50% 100%; }
.viz-ci { fill: url(#g-ci); }
.viz-curve { fill: none; stroke: var(--on-dark); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.viz-mean { stroke: var(--gold-light); stroke-width: 1.4; stroke-dasharray: 4 5; fill: none; opacity: .9; }
.viz-ticks text { font-family: var(--font-ui-ltr); font-size: 12px; fill: rgba(248, 242, 231, .6); text-anchor: middle; }
.viz-peak { fill: var(--gold-light); filter: drop-shadow(0 0 6px rgba(226, 194, 135, .9)); }
.viz-foot {
  display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 8px; padding-top: 12px;
  border-top: 1px solid rgba(248, 242, 231, .1);
  font-family: var(--font-ui-ltr); font-size: .8125rem; color: var(--on-dark-2);
}
.viz-foot span { padding: 4px 10px; border-radius: 999px; background: rgba(248, 242, 231, .06); border: 1px solid rgba(248, 242, 231, .1); }
.viz-foot b { color: var(--gold-light); font-weight: 600; }
.viz-foot .viz-p { color: var(--plum-950); background: var(--gold-light); border-color: transparent; font-weight: 600; }

.viz-chip {
  position: absolute; display: inline-flex; align-items: center; gap: 8px;
  background: var(--ivory-2); color: var(--plum-800); border: 1px solid var(--line);
  border-radius: 999px; padding: 7px 14px; font-size: .8125rem; font-weight: 600;
  box-shadow: var(--shadow); white-space: nowrap;
}
.viz-chip svg { width: 16px; height: 16px; color: var(--success); }
.viz-chip-a { top: 0; inset-inline-start: 0; font-family: var(--font-ui-ltr); font-weight: 500; }
.viz-chip-b { bottom: 4px; inset-inline-end: 0; }

/* Hero animations */
.js .viz-bars rect { animation: bar-grow 1s var(--ease) both, bar-breathe 5.5s ease-in-out 1.6s infinite; }
.js .viz-bars rect:nth-child(1)  { animation-delay: .10s, 1.6s; }
.js .viz-bars rect:nth-child(2)  { animation-delay: .15s, 2.0s; }
.js .viz-bars rect:nth-child(3)  { animation-delay: .20s, 2.6s; }
.js .viz-bars rect:nth-child(4)  { animation-delay: .25s, 1.8s; }
.js .viz-bars rect:nth-child(5)  { animation-delay: .30s, 3.1s; }
.js .viz-bars rect:nth-child(6)  { animation-delay: .35s, 2.2s; }
.js .viz-bars rect:nth-child(7)  { animation-delay: .40s, 2.9s; }
.js .viz-bars rect:nth-child(8)  { animation-delay: .45s, 1.7s; }
.js .viz-bars rect:nth-child(9)  { animation-delay: .50s, 3.4s; }
.js .viz-bars rect:nth-child(10) { animation-delay: .55s, 2.4s; }
.js .viz-bars rect:nth-child(11) { animation-delay: .60s, 1.9s; }
.js .viz-bars rect:nth-child(12) { animation-delay: .65s, 3.0s; }
.js .viz-bars rect:nth-child(13) { animation-delay: .70s, 2.1s; }
.js .viz-bars rect:nth-child(14) { animation-delay: .75s, 2.7s; }
.js .viz-curve { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.6s var(--ease) .7s forwards; }
.js .viz-ci { opacity: 0; animation: fade-in 1s ease 1.6s forwards; }
.js .viz-mean, .js .viz-peak { opacity: 0; animation: fade-in .8s ease 1.9s forwards; }
.js .viz-chip-a { animation: float-a 7s ease-in-out infinite; }
.js .viz-chip-b { animation: float-b 8s ease-in-out infinite; }

@keyframes bar-grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes bar-breathe { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(.93); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade-in { to { opacity: 1; } }
@keyframes float-a { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes float-b { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }

@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 1.08fr .92fr; }
  .hero-visual { padding: 34px 10px 40px; }
  .viz-card { padding: 20px 22px 18px; }
  .viz-chip { font-size: .875rem; padding: 9px 16px; }
  .viz-chip-a { top: 0; inset-inline-start: -14px; }
  .viz-chip-b { bottom: 6px; inset-inline-end: -18px; }
}

/* ---------- B. Pain ---------- */
.pain-grid { display: grid; gap: 14px; max-width: 980px; margin-inline: auto; }
.pain-card {
  position: relative; display: flex; flex-direction: column; gap: 14px;
  background: var(--ivory-2); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 22px 22px 20px; box-shadow: var(--shadow-sm); overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.pain-card::before {
  content: ""; position: absolute; inset-block: 22px; inset-inline-start: 0; width: 3px;
  border-radius: 0 3px 3px 0; background: var(--gold); opacity: .85;
}
.pain-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.pain-num { font-family: var(--font-display); font-size: .9375rem; font-weight: 700; color: var(--gold-ink); letter-spacing: .06em; }
.pain-card p { font-size: clamp(1.0938rem, 1.02rem + .35vw, 1.25rem); font-weight: 500; line-height: 1.55; color: var(--ink); padding-inline-end: 64px; }
.pain-glyph { position: absolute; inset-inline-end: 18px; top: 22px; width: 64px; height: auto; fill: none; stroke: var(--gold); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; opacity: .55; }
.pain-glyph circle { fill: var(--gold); stroke: none; }
.pain-close { margin-top: clamp(32px, 5vw, 52px); text-align: center; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.pain-close p {
  font-family: var(--font-display); font-weight: 700; font-size: clamp(1.5rem, 1.15rem + 1.5vw, 2.125rem);
  color: var(--plum-800); display: flex; align-items: center; gap: 16px;
}
.pain-close p::before, .pain-close p::after { content: ""; width: clamp(20px, 6vw, 56px); height: 1.5px; background: var(--gold); flex: none; }
@media (min-width: 640px) {
  .pain-grid { grid-template-columns: 1fr 1fr; gap: 18px; }
  .pain-card { padding: 28px 28px 26px; min-height: 176px; }
}

/* ---------- C. Services ---------- */
.services-grid { display: grid; gap: 16px; }
.service-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--ivory-2); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 26px 24px 18px; box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.service-card::after {
  content: ""; position: absolute; inset-inline: 24px; top: -1px; height: 2px; border-radius: 2px;
  background: linear-gradient(to left, var(--gold), transparent);
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.service-icon {
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px;
  background: var(--plum-800); color: var(--gold-light); margin-bottom: 18px;
  box-shadow: inset 0 0 0 1px rgba(226, 194, 135, .25);
}
.service-icon svg { width: 30px; height: 30px; }
.service-card h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.4375rem; color: var(--plum-800); }
.service-card > p { margin-top: 10px; color: var(--ink-2); line-height: 1.7; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 16px 0 6px; }
.chips li { font-size: .8125rem; font-weight: 500; color: var(--plum-700); background: var(--cream); border: 1px solid var(--cream-2); border-radius: 999px; padding: 3px 11px; }
.service-cta { margin-top: auto; padding-top: 10px; border-top: 1px solid var(--line); width: 100%; justify-content: space-between; }
.services-note {
  margin: clamp(28px, 4vw, 44px) auto 0; max-width: 640px; text-align: center; color: var(--ink-2);
  font-size: 1rem; padding: 14px 20px; border-radius: 999px; background: var(--cream);
}
@media (min-width: 640px) { .services-grid { grid-template-columns: 1fr 1fr; gap: 20px; } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(3, 1fr); } .service-card { padding: 30px 26px 18px; } }

/* ---------- B2. Audience ---------- */
.aud-grid { display: grid; gap: 16px; max-width: 980px; margin-inline: auto; }
.aud-card {
  position: relative; display: flex; flex-direction: column; gap: 14px;
  padding: 26px 22px 12px; border-radius: var(--radius-xl);
  background: var(--ivory-2); border: 1px solid var(--line); box-shadow: var(--shadow-sm); overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.aud-card::before { content: ""; position: absolute; inset-inline: 0; top: 0; height: 4px; background: linear-gradient(to left, var(--plum-800), var(--plum-600)); }
.aud-edu::before { background: linear-gradient(to left, var(--gold), var(--gold-light)); }
.aud-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.aud-top { display: flex; align-items: center; gap: 14px; }
.aud-icon { flex: none; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: var(--plum-800); color: var(--gold-light); box-shadow: inset 0 0 0 1px rgba(226, 194, 135, .25); }
.aud-edu .aud-icon { background: var(--gold-light); color: var(--plum-900); box-shadow: inset 0 0 0 1px rgba(48, 23, 63, .15); }
.aud-icon svg { width: 30px; height: 30px; }
.aud-tag { font-size: .8438rem; font-weight: 600; letter-spacing: .03em; color: var(--gold-ink); }
.aud-card h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.875rem; color: var(--plum-800); }
.aud-list { list-style: none; padding: 0; display: grid; gap: 9px; margin-bottom: 6px; }
.aud-list li { position: relative; padding-inline-start: 24px; color: var(--ink-2); line-height: 1.55; }
.aud-list li::before { content: ""; position: absolute; inset-inline-start: 3px; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 3px rgba(201, 161, 94, .2); }
.aud-card .service-cta { margin-top: auto; padding-top: 10px; border-top: 1px solid var(--line); width: 100%; justify-content: space-between; }
.aud-note { max-width: 680px; margin: clamp(24px, 4vw, 36px) auto 0; text-align: center; font-size: .9375rem; line-height: 1.7; color: var(--ink-3); }
@media (min-width: 720px) {
  .aud-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .aud-card { padding: 32px 32px 14px; }
}

.service-card .service-flag {
  display: flex; align-items: flex-start; gap: 8px; margin: 14px 0 0; padding: 9px 12px; border-radius: 12px;
  background: rgba(201, 161, 94, .15); color: var(--plum-800); font-size: .9063rem; font-weight: 600; line-height: 1.45;
}
.service-flag svg { flex: none; width: 18px; height: 18px; margin-top: 2px; color: var(--gold-ink); }

/* ---------- C2. Seasonal campaign sections ---------- */
.campaigns { padding-block: calc(var(--section-y) * .75); }
.camp-stack { display: grid; gap: 24px; }
.camp {
  position: relative; display: grid; gap: 30px; align-items: center; isolation: isolate; overflow: hidden;
  padding: clamp(24px, 5vw, 60px); border-radius: var(--radius-xl);
  transition: box-shadow .6s var(--ease), opacity .7s var(--ease), transform .7s var(--ease);
}
.camp::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.camp-title { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.75rem, 1.15rem + 2.5vw, 2.875rem); line-height: 1.15; }
.camp-lead { margin-top: 14px; font-size: clamp(1.0313rem, .98rem + .3vw, 1.1875rem); line-height: 1.75; max-width: 34em; }
.camp-list { display: grid; gap: 11px; margin: 22px 0 28px; list-style: none; padding: 0; }
.camp-list li { display: flex; align-items: center; gap: 12px; font-weight: 500; line-height: 1.5; }
.camp-list svg { flex: none; width: 28px; height: 28px; padding: 6px; border-radius: 50%; }
.camp-fine { margin-top: 16px; font-size: .875rem; line-height: 1.6; }
.camp-visual { display: grid; place-items: center; }
.camp-visual svg { width: 100%; max-width: 380px; height: auto; direction: ltr; overflow: visible; }
.camp.is-featured { box-shadow: 0 0 0 3px var(--gold), 0 34px 70px -34px rgba(48, 23, 63, .55); }

/* exam preparation: deep plum, gold progress ring */
.camp-exams { background: linear-gradient(155deg, var(--plum-800), var(--plum-950) 85%); color: var(--on-dark); --focus: var(--gold-light); }
.camp-exams::before {
  background-image:
    linear-gradient(to right, rgba(248, 242, 231, .045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(248, 242, 231, .045) 1px, transparent 1px);
  background-size: 36px 36px;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 25% 40%, #000 15%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 80% at 25% 40%, #000 15%, transparent 75%);
}
.camp-exams .camp-title { color: var(--on-dark); }
.camp-exams .camp-lead { color: var(--on-dark-2); }
.camp-exams .camp-list svg { background: rgba(226, 194, 135, .18); color: var(--gold-light); }
.camp-exams .camp-fine { color: var(--on-dark-3); }

/* beginning of semester: warm ivory with a gold frame, rising blocks */
.camp-start { background: linear-gradient(160deg, var(--ivory-2), var(--cream)); border: 1.5px solid rgba(201, 161, 94, .6); color: var(--ink); }
.camp-start::before {
  background-image: radial-gradient(rgba(201, 161, 94, .32) 1.3px, transparent 1.6px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 75% 50%, #000 10%, transparent 70%);
  mask-image: radial-gradient(ellipse 70% 80% at 75% 50%, #000 10%, transparent 70%);
}
.camp-start .camp-title { color: var(--plum-800); }
.camp-start .camp-lead { color: var(--ink-2); }
.camp-start .camp-list svg { background: var(--plum-800); color: var(--gold-light); }

/* group lessons (Introduction to Statistics only): ivory card, gold frame */
.group { padding-block: calc(var(--section-y) * .75) 0; }
.camp-group { background: linear-gradient(160deg, var(--ivory-2), var(--cream)); border: 1.5px solid rgba(201, 161, 94, .6); color: var(--ink); }
.camp-group::before {
  background-image: radial-gradient(rgba(201, 161, 94, .32) 1.3px, transparent 1.6px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 80% 50%, #000 10%, transparent 70%);
  mask-image: radial-gradient(ellipse 70% 80% at 80% 50%, #000 10%, transparent 70%);
}
.camp-group .camp-title { color: var(--plum-800); }
.camp-group .camp-lead { color: var(--ink-2); }
.camp-group .camp-list svg { background: var(--plum-800); color: var(--gold-light); }
.camp-group .camp-fine { color: var(--ink-3); }
.group-badge {
  display: grid; justify-items: center; gap: 6px; padding: 28px 34px; border-radius: var(--radius-xl);
  background: linear-gradient(155deg, var(--plum-800), var(--plum-950)); color: var(--on-dark);
  box-shadow: var(--shadow), inset 0 0 0 1px rgba(226, 194, 135, .35); text-align: center;
}
.group-badge-icon { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: rgba(226, 194, 135, .16); color: var(--gold-light); margin-bottom: 6px; }
.group-badge-icon svg { width: 40px; height: 40px; }
.group-badge-label { font-size: .875rem; font-weight: 600; letter-spacing: .04em; color: var(--gold-light); }
.group-badge-course { font-family: var(--font-display); font-weight: 700; font-size: 1.625rem; line-height: 1.2; }
.camp-group .camp-visual { display: none; }   /* decorative badge: desktop only, keeps mobile compact */
@media (min-width: 900px) { .camp-group { grid-template-columns: 1.3fr .7fr; gap: 56px; } .camp-group .camp-visual { display: grid; } }

.camp-start .camp-visual { order: 2; }   /* mobile: headline and copy first, illustration after */
@media (min-width: 900px) {
  .camp-start .camp-visual { order: 0; }
  .camp-exams { grid-template-columns: 1.1fr .9fr; gap: 56px; }
  .camp-start { grid-template-columns: .9fr 1.1fr; gap: 56px; }
}

/* exam art */
.ex-ring-bg { fill: none; stroke: rgba(248, 242, 231, .1); stroke-width: 10; }
.ex-ring { fill: none; stroke: var(--gold-light); stroke-width: 10; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: .26; transform: rotate(-90deg); transform-origin: 180px 160px; }
.ex-ticks path { stroke: rgba(248, 242, 231, .3); stroke-width: 2; stroke-linecap: round; fill: none; }
.ex-paper { filter: drop-shadow(0 18px 28px rgba(0, 0, 0, .45)); }
.ex-check { fill: none; stroke: var(--success); stroke-width: 2.8; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.ex-q3 .ex-check { stroke: var(--gold-ink); }
.ex-chip text { font-family: var(--font-ui-ltr); font-size: 13px; font-weight: 600; fill: var(--on-dark); }
.js .camp .ex-ring { stroke-dashoffset: 1; transition: stroke-dashoffset 1.9s var(--ease) .3s; }
.js .camp.is-visible .ex-ring { stroke-dashoffset: .26; }
.js .camp .ex-check { stroke-dashoffset: 1; transition: stroke-dashoffset .6s var(--ease); }
.js .camp.is-visible .ex-q1 .ex-check { stroke-dashoffset: 0; transition-delay: .9s; }
.js .camp.is-visible .ex-q2 .ex-check { stroke-dashoffset: 0; transition-delay: 1.3s; }
.js .camp.is-visible .ex-q3 .ex-check { stroke-dashoffset: 0; transition-delay: 2s; }
.js .ex-chip-a { animation: float-a 7s ease-in-out infinite; }
.js .ex-chip-b { animation: float-b 8s ease-in-out infinite; }

/* start-of-semester art */
.st-base { stroke: var(--line-strong); stroke-width: 2; stroke-dasharray: 5 6; fill: none; }
.st-block rect { filter: drop-shadow(0 10px 14px rgba(48, 23, 63, .18)); }
.st-block text { font-family: var(--font-display); font-size: 38px; font-weight: 700; fill: var(--plum-800); }
.st-b4 text { fill: var(--gold-light); }
.st-path { stroke: var(--plum-600); stroke-width: 2.4; stroke-dasharray: 2 7; stroke-linecap: round; fill: none; }
.st-flag path:first-child { stroke: var(--plum-800); stroke-width: 3; stroke-linecap: round; }
.st-flag path:last-child { fill: var(--gold); }
.st-dot { fill: var(--plum-800); stroke: var(--ivory-2); stroke-width: 3; }
.js .camp .st-block { transform-box: fill-box; transform-origin: 50% 100%; transform: scaleY(0); transition: transform .8s var(--ease); }
.js .camp.is-visible .st-block { transform: none; }
.js .camp.is-visible .st-b1 { transition-delay: .25s; }
.js .camp.is-visible .st-b2 { transition-delay: .5s; }
.js .camp.is-visible .st-b3 { transition-delay: .75s; }
.js .camp.is-visible .st-b4 { transition-delay: 1s; }
.js .camp .st-flag { opacity: 0; transition: opacity .6s ease 1.7s; }
.js .camp.is-visible .st-flag { opacity: 1; }

/* hide the default hero text for a moment when a campaign URL is detected, to avoid a visible swap */
.campaign-pending [data-hero-main], .campaign-pending [data-hero-accent], .campaign-pending [data-hero-lead] { visibility: hidden; }

/* ---------- D. Process ---------- */
.process { overflow: hidden; }
.process::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 60% 50% at 15% 30%, rgba(226, 194, 135, .12), transparent 70%),
    radial-gradient(ellipse 50% 60% at 90% 90%, rgba(106, 58, 111, .45), transparent 70%);
}
.process-grid { position: relative; display: grid; gap: 28px; grid-template-areas: "head" "viz" "steps"; }
.process .section-head { grid-area: head; margin-bottom: 0; }
.process-viz {
  grid-area: viz; position: relative; background: rgba(26, 5, 32, .55);
  border: 1px solid rgba(226, 194, 135, .2); border-radius: var(--radius-xl);
  padding: clamp(14px, 3vw, 28px); box-shadow: inset 0 1px 0 rgba(248, 242, 231, .06);
}
.pv-svg { width: 100%; height: auto; overflow: visible; }
.pv-axis { stroke: rgba(248, 242, 231, .3); stroke-width: 1.2; }
.pv-area { fill: rgba(226, 194, 135, .14); opacity: 0; transition: opacity .8s ease .5s; }
.pv-curve { fill: none; stroke: var(--gold-light); stroke-width: 2.6; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.2s var(--ease) .35s; }
.pv-bins rect { fill: none; stroke: rgba(248, 242, 231, .22); stroke-dasharray: 3 4; opacity: 0; transition: opacity .6s ease; }
.pv-dots circle { fill: var(--gold-light); transition: transform 1s var(--ease), fill .6s, opacity .6s; }
.pv-q { font-family: var(--font-display); font-size: 40px; font-weight: 700; fill: rgba(248, 242, 231, .18); transition: opacity .5s; }
.process-viz[data-state="1"] .pv-bins rect { opacity: 1; }
.process-viz[data-state="1"] .pv-q, .process-viz[data-state="2"] .pv-q { opacity: 0; }
.process-viz[data-state="2"] .pv-curve { stroke-dashoffset: 0; }
.process-viz[data-state="2"] .pv-area { opacity: 1; }
.process-viz[data-state="2"] .pv-dots circle { fill: var(--on-dark); }
/* no-JS: show the clear end state */
html:not(.js) .pv-curve { stroke-dashoffset: 0; }
html:not(.js) .pv-area { opacity: 1; }
html:not(.js) .pv-q { display: none; }
.pv-legend { display: flex; justify-content: center; margin-top: 10px; }
.pv-legend span { font-size: .875rem; color: var(--on-dark-2); padding: 4px 14px; border-radius: 999px; border: 1px solid rgba(248, 242, 231, .14); }
html:not(.js) .pv-legend { display: none; }

.process-steps { grid-area: steps; display: grid; gap: 10px; }
.pstep {
  position: relative; display: flex; gap: 16px; align-items: flex-start; width: 100%; text-align: start;
  background: transparent; border: 1px solid rgba(248, 242, 231, .12); border-radius: var(--radius-lg);
  padding: 18px 18px 20px; color: var(--on-dark); overflow: hidden;
  transition: background-color .3s, border-color .3s;
}
.pstep:hover { background: rgba(248, 242, 231, .04); }
.pstep[aria-pressed="true"] { background: rgba(248, 242, 231, .07); border-color: rgba(226, 194, 135, .55); }
.pstep-num { font-family: var(--font-display); font-weight: 700; font-size: 1.375rem; color: var(--gold-light); line-height: 1.2; min-width: 2ch; opacity: .6; transition: opacity .3s; }
.pstep[aria-pressed="true"] .pstep-num { opacity: 1; }
.pstep-body { display: flex; flex-direction: column; gap: 4px; }
.pstep-title { font-weight: 600; font-size: 1.125rem; line-height: 1.4; }
.pstep-text { color: var(--on-dark-2); font-size: .9688rem; line-height: 1.65; }
.pstep-bar { position: absolute; inset-inline: 0; bottom: 0; height: 2px; background: rgba(248, 242, 231, .06); }
.pstep-bar i { display: block; height: 100%; width: 0; background: var(--gold); margin-inline-start: 0; }
.pstep[aria-pressed="true"] .pstep-bar i { width: 100%; }
.process-steps.is-auto .pstep[aria-pressed="true"] .pstep-bar i { animation: progress var(--pstep-dur, 3800ms) linear forwards; }
@keyframes progress { from { width: 0; } to { width: 100%; } }

@media (min-width: 960px) {
  .process-grid { grid-template-columns: 1fr 1.12fr; grid-template-areas: "head viz" "steps viz"; column-gap: clamp(40px, 6vw, 88px); row-gap: 32px; align-items: start; }
  .process-viz { align-self: center; }
}

/* ---------- E. SPSS ---------- */
.spss-grid { display: grid; gap: clamp(36px, 5vw, 64px); align-items: center; }
.spss-copy .section-head { margin-bottom: 26px; }
.spss-flow { position: relative; display: grid; gap: 4px; margin-bottom: 28px; }
.spss-flow li {
  position: relative; display: flex; gap: 14px; align-items: flex-start; padding: 12px 14px; border-radius: var(--radius);
  transition: background-color .35s;
}
.spss-flow li:not(:last-child)::after {
  content: ""; position: absolute; inset-inline-start: 31px; top: 50px; bottom: -10px; width: 1.5px;
  background: repeating-linear-gradient(to bottom, var(--line-strong) 0 4px, transparent 4px 8px);
}
.flow-num {
  flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: var(--ivory-2); border: 1.5px solid var(--line-strong); color: var(--plum-800);
  font-weight: 700; font-size: .9375rem; transition: background-color .35s, color .35s, border-color .35s;
}
.spss-flow b { display: block; font-weight: 600; font-size: 1.0625rem; color: var(--ink); line-height: 1.4; padding-top: 5px; }
.spss-flow small { display: block; font-size: .9375rem; color: var(--ink-2); line-height: 1.55; }
.spss-flow li.is-active { background: var(--cream); }
.spss-flow li.is-active .flow-num { background: var(--plum-800); border-color: var(--plum-800); color: var(--gold-light); }

.spss-window {
  background: var(--ivory-2); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); overflow: hidden; max-width: 600px; width: 100%; margin-inline: auto;
}
.sw-chrome { display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: var(--cream-2); border-bottom: 1px solid var(--line); }
.sw-chrome .viz-dots i { background: rgba(48, 23, 63, .18); }
.sw-chrome .viz-dots i:first-child { background: var(--gold); }
.sw-title { font-family: var(--font-ui-ltr); font-size: .8125rem; font-weight: 600; color: var(--ink-2); }
.sw-badge { margin-inline-start: auto; font-family: var(--font-body); font-size: .75rem; font-weight: 600; color: var(--gold-ink); background: var(--ivory-2); border: 1px solid var(--line-strong); border-radius: 999px; padding: 2px 10px; white-space: nowrap; }
.sw-menu { display: flex; gap: 2px; padding: 6px 10px; border-bottom: 1px solid var(--line); font-family: var(--font-ui-ltr); font-size: .8125rem; color: var(--ink-2); overflow: hidden; }
.sw-menu span { padding: 4px 9px; border-radius: 6px; }
.sw-body { padding: 16px; display: grid; gap: 12px; font-family: var(--font-ui-ltr); font-size: .875rem; color: var(--ink); }
.sw-hl { border-radius: 10px; transition: box-shadow .45s var(--ease), background-color .45s, opacity .45s; }
.sw-path { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 10px 12px; background: var(--cream); }
.sw-path i { font-style: normal; color: var(--ink-3); }
.sw-path b { color: var(--plum-800); }
.sw-run { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border: 1px dashed var(--line-strong); }
.sw-vars { display: flex; flex-direction: column; gap: 2px; color: var(--ink-2); font-size: .8125rem; }
.sw-vars b { color: var(--ink); font-weight: 600; }
.sw-btn { background: var(--plum-800); color: var(--on-dark); font-weight: 600; font-size: .8125rem; padding: 7px 14px; border-radius: 8px; }
.sw-out { padding: 12px; border: 1px solid var(--line); }
.sw-cap { font-weight: 700; font-size: .875rem; margin-bottom: 8px; text-align: center; color: var(--ink); }
.sw-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.sw-table th, .sw-table td { padding: 8px 6px; text-align: center; border-bottom: 1px solid var(--line); }
.sw-table th { font-size: .75rem; font-weight: 600; color: var(--ink-2); background: var(--cream); }
.sw-table td { font-size: .9375rem; }
.sw-sig { font-weight: 700; color: var(--plum-800); position: relative; }
.sw-note { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px; background: var(--plum-800); color: var(--on-dark); font-family: var(--font-body); font-size: .9375rem; line-height: 1.55; }
.sw-note-k { font-family: var(--font-ui-ltr); font-weight: 600; color: var(--gold-light); font-size: .8125rem; align-self: flex-start; }

.spss-window[data-active="0"] .sw-hl-0,
.spss-window[data-active="1"] .sw-hl-1,
.spss-window[data-active="2"] .sw-hl-2,
.spss-window[data-active="3"] .sw-hl-3 { box-shadow: 0 0 0 2px var(--gold), 0 8px 24px -10px rgba(201, 161, 94, .7); }
.spss-window[data-active="0"] .sw-menu .sw-hl-0 { background: var(--plum-800); color: var(--on-dark); box-shadow: none; }
.spss-window[data-active="2"] .sw-sig { background: rgba(226, 194, 135, .35); }

@media (min-width: 960px) {
  .spss-grid { grid-template-columns: .95fr 1.05fr; }
  .sw-body { padding: 22px; gap: 14px; }
}

/* ---------- F. Benefits ---------- */
.benefit-grid { display: grid; gap: 14px; }
.benefit {
  display: grid; grid-template-columns: auto 1fr; column-gap: 16px; align-items: start;
  padding: 22px; border-radius: var(--radius-lg); background: var(--ivory-2); border: 1px solid var(--line);
}
.benefit-mark {
  grid-row: span 2; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  border: 1.5px solid var(--gold); color: var(--plum-800); font-family: var(--font-display); font-size: 1.625rem; font-style: italic; line-height: 1;
  background: radial-gradient(circle at 30% 30%, #fff, var(--cream));
}
.benefit h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.3125rem; color: var(--plum-800); padding-top: 4px; }
.benefit p { margin-top: 6px; color: var(--ink-2); }
.benefit-quote { margin: clamp(36px, 5vw, 56px) auto 0; max-width: 780px; text-align: center; position: relative; padding-top: 34px; }
.benefit-quote::before {
  content: "”"; position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  font-family: var(--font-display); font-size: 4.5rem; line-height: 1; color: var(--gold);
}
.benefit-quote p { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.375rem, 1.1rem + 1.2vw, 2rem); line-height: 1.45; color: var(--plum-800); }
@media (min-width: 640px) { .benefit-grid { grid-template-columns: 1fr 1fr; gap: 16px; } }
@media (min-width: 1100px) {
  .benefit-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .benefit { grid-template-columns: 1fr; padding: 30px 26px; }
  .benefit-mark { grid-row: auto; margin-bottom: 18px; width: 58px; height: 58px; }
}

/* ---------- G. Contact ---------- */
.contact { overflow: hidden; }
.contact::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 55% 45% at 85% 10%, rgba(226, 194, 135, .14), transparent 70%),
    radial-gradient(ellipse 50% 50% at 10% 100%, rgba(106, 58, 111, .5), transparent 70%);
}
.contact .container { position: relative; }
.contact-grid { display: grid; gap: 12px; max-width: 1040px; margin-inline: auto; }

.cc {
  position: relative; display: flex; align-items: stretch;
  background: rgba(248, 242, 231, .05); border: 1px solid rgba(248, 242, 231, .14);
  border-radius: var(--radius-lg);
  transition: background-color .25s, border-color .25s, transform .3s var(--ease);
}
.cc:not(.cc-wa):hover { background: rgba(248, 242, 231, .09); border-color: rgba(226, 194, 135, .5); transform: translateY(-2px); }
.cc-link {
  flex: 1; min-width: 0; display: grid; grid-template-columns: auto 1fr;
  grid-template-areas: "icon label" "value value"; align-items: center; column-gap: 14px; row-gap: 12px;
  padding: 18px 18px 18px; border-radius: inherit;
  color: var(--on-dark); text-decoration: none;
}
.cc-icon {
  grid-area: icon; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px;
  background: rgba(226, 194, 135, .14); color: var(--gold-light);
  box-shadow: inset 0 0 0 1px rgba(226, 194, 135, .22);
}
.cc-icon svg { width: 22px; height: 22px; }
.cc-icon-fb { background: rgba(248, 242, 231, .1); color: var(--on-dark); }
.cc-text { display: contents; }
.cc-label { grid-area: label; font-weight: 600; font-size: 1.0625rem; line-height: 1.35; }
.cc-value { grid-area: value; padding-top: 12px; border-top: 1px solid rgba(248, 242, 231, .1); font-size: 1rem; color: var(--on-dark-2); line-height: 1.4; overflow-wrap: anywhere; -webkit-user-select: text; user-select: text; }
.cc-link:hover .cc-label { color: var(--gold-light); }

/* copy button (phone / email) */
.cc-copy {
  flex: none; align-self: flex-start; position: relative;
  display: grid; place-items: center; width: 44px; height: 44px; margin: 18px 0 0; margin-inline-end: 14px;
  border-radius: 12px; border: 1px solid rgba(248, 242, 231, .18); background: rgba(248, 242, 231, .06);
  color: var(--on-dark-2); transition: background-color .2s, border-color .2s, color .2s;
}
.cc-copy svg { width: 20px; height: 20px; grid-area: 1 / 1; transition: opacity .2s, transform .25s var(--ease); }
.cc-copy .i-done { opacity: 0; transform: scale(.6); }
.cc-copy:hover { background: rgba(248, 242, 231, .12); border-color: rgba(226, 194, 135, .55); color: var(--on-dark); }
.cc-copy.is-copied { background: var(--gold); border-color: var(--gold); color: var(--plum-950); }
.cc-copy.is-copied .i-copy { opacity: 0; transform: scale(.6); }
.cc-copy.is-copied .i-done { opacity: 1; transform: none; }

/* WhatsApp — the primary, most prominent channel */
.cc-wa {
  flex-direction: column; align-items: stretch; gap: 20px; padding: 22px 20px;
  background: linear-gradient(150deg, rgba(37, 211, 102, .16), rgba(248, 242, 231, .05) 60%);
  border-color: rgba(37, 211, 102, .55);
  box-shadow: 0 24px 50px -28px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(248, 242, 231, .08);
}
.cc-wa-icon {
  flex: none; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%;
  background: #25D366; color: #fff; box-shadow: 0 10px 24px -10px rgba(37, 211, 102, .8);
}
.cc-wa-icon svg { width: 34px; height: 34px; }
.cc-wa-text { min-width: 0; }
.cc-eyebrow { font-size: .8125rem; font-weight: 600; letter-spacing: .04em; color: var(--gold-light); margin-bottom: 4px; }
.cc-wa h3 { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.4375rem, 1.2rem + 1vw, 1.875rem); color: var(--on-dark); line-height: 1.2; }
.cc-wa-text > p:last-child { margin-top: 8px; color: var(--on-dark-2); line-height: 1.65; }
.btn-wa-brand {
  --btn-bg: #25D366; --btn-fg: #06210F;
  box-shadow: 0 14px 30px -14px rgba(37, 211, 102, .85);
}
.btn-wa-brand:hover { --btn-bg: #3BE17A; }
.btn-wa-brand .btn-icon { color: #06210F; }

@media (min-width: 560px) {
  .contact-grid { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; }
  .cc-wa { grid-column: 1 / -1; }
}
@media (min-width: 720px) {
  .cc-wa { flex-direction: row; align-items: center; gap: 26px; padding: 30px 34px; }
  .cc-wa-icon { width: 72px; height: 72px; }
  .cc-wa-icon svg { width: 40px; height: 40px; }
  .cc-wa-text { flex: 1; }
  .cc-wa .btn { flex: none; }
}
@media (min-width: 960px) {
  .cc-link { padding: 22px 22px 20px; }
  .cc-copy { margin-top: 22px; }
}
@media (max-width: 379.98px) {
  .cc-link { column-gap: 12px; padding-inline: 14px; }
  .cc-icon { width: 44px; height: 44px; }
  .cc-copy { margin-inline-end: 8px; }
}

/* ---------- H. FAQ ---------- */
.faq-grid { display: grid; gap: 8px; }
.faq .section-head { margin-bottom: 20px; }
.accordion { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-h { font-size: inherit; }
.acc-btn {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%;
  min-height: 64px; padding: 16px 4px; background: none; border: 0; text-align: start;
  font-family: var(--font-body); font-size: clamp(1.0625rem, 1rem + .3vw, 1.1875rem); font-weight: 600; color: var(--ink); line-height: 1.45;
  transition: color .2s;
}
.acc-btn:hover { color: var(--plum-700); }
.acc-icon {
  flex: none; width: 34px; height: 34px; padding: 7px; border-radius: 50%;
  border: 1.5px solid var(--line-strong); color: var(--plum-800);
  transition: transform .3s var(--ease), background-color .3s, border-color .3s, color .3s;
}
.acc-btn[aria-expanded="true"] .acc-icon { transform: rotate(45deg); background: var(--plum-800); border-color: var(--plum-800); color: var(--gold-light); }
.acc-panel { padding: 0 4px 22px; padding-inline-end: 52px; color: var(--ink-2); line-height: 1.75; }
.acc-panel:not([hidden]) { animation: acc-open .35s var(--ease); }
@keyframes acc-open { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@media (max-width: 479.98px) { .acc-panel { padding-inline-end: 4px; } }
@media (min-width: 960px) {
  .faq-grid { grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
  .faq .section-head { position: sticky; top: calc(var(--header-h) + 32px); }
}

/* ---------- I. Final CTA ---------- */
.final-cta {
  position: relative; overflow: hidden; isolation: isolate;
  background: radial-gradient(ellipse 80% 90% at 50% 100%, var(--plum-700), var(--plum-900) 70%);
  color: var(--on-dark); padding-block: clamp(72px, 10vw, 128px); text-align: center;
}
.final-curve { position: absolute; z-index: -1; inset-inline: 0; bottom: 0; width: 100%; height: 55%; fill: none; stroke: var(--gold); stroke-width: 1.5; opacity: .32; }
.final-inner { display: flex; flex-direction: column; align-items: center; }
.final-mark { width: auto; height: 72px; margin-bottom: 22px; opacity: .95; }
.final-title { font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem, 1.2rem + 3.4vw, 3.5rem); max-width: 16ch; line-height: 1.15; }
.cta-row-center { justify-content: center; margin-top: 34px; width: 100%; }
@media (max-width: 479.98px) { .cta-row-center .btn { width: 100%; } }

/* ---------- J. Footer ---------- */
.site-footer { background: var(--plum-950); color: var(--on-dark-2); padding-top: clamp(48px, 6vw, 72px); font-size: .9688rem; }
.footer-grid { display: grid; gap: 36px; padding-bottom: 36px; }
.footer-brand { display: flex; gap: 16px; align-items: flex-start; }
.footer-mark { height: 52px; width: auto; flex: none; }
.footer-name { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; color: var(--on-dark); line-height: 1.2; }
.footer-sum { margin-top: 6px; line-height: 1.7; max-width: 38ch; }
.footer-h { font-family: var(--font-body); font-size: .875rem; font-weight: 600; letter-spacing: .04em; color: var(--gold-light); margin-bottom: 12px; }
.footer-links { display: grid; gap: 2px; }
.footer-links a {
  display: inline-flex; align-items: center; gap: 12px; min-height: 44px; text-decoration: none; color: var(--on-dark);
  transition: color .2s;
}
.footer-links a:hover { color: var(--gold-light); }
.footer-links svg { width: 18px; height: 18px; color: var(--gold-light); flex: none; }
.privacy summary {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; cursor: pointer; list-style: none; min-height: 44px;
}
.privacy summary::-webkit-details-marker { display: none; }
.privacy summary .footer-h { margin: 0; }
.privacy .acc-icon { width: 30px; height: 30px; padding: 6px; border-color: rgba(248, 242, 231, .25); color: var(--on-dark); }
.privacy[open] .acc-icon { transform: rotate(45deg); background: var(--gold); border-color: var(--gold); color: var(--plum-950); }
.privacy-body { padding-top: 10px; display: grid; gap: 10px; font-size: .9063rem; line-height: 1.7; }
.privacy-body b { color: var(--on-dark); font-weight: 600; }
.privacy-body a { color: var(--gold-light); }
.footer-bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 20px;
  border-top: 1px solid rgba(248, 242, 231, .1); padding-block: 18px; font-size: .875rem; color: var(--on-dark-3);
}
.to-top { color: var(--on-dark-2); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.to-top:hover { color: var(--gold-light); }
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 1.2fr .8fr 1.2fr; gap: 48px; }
}

/* ---------- Mobile sticky CTA ---------- */
.sticky-cta {
  position: fixed; z-index: 60; inset-inline: 0; bottom: 0;
  display: grid; grid-template-columns: 1.35fr 1fr; gap: 8px;
  padding: 8px max(12px, env(safe-area-inset-left)) calc(8px + env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-right));
  background: rgba(26, 5, 32, .94);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  backdrop-filter: blur(14px) saturate(1.3);
  border-top: 1px solid rgba(226, 194, 135, .22);
  transform: translateY(105%); transition: transform .35s var(--ease), visibility 0s linear .35s; visibility: hidden;
}
.sticky-cta.is-visible { transform: none; visibility: visible; transition: transform .35s var(--ease), visibility 0s; }
.sticky-cta .btn { min-height: 48px; padding: 0 12px; font-size: .9688rem; border-radius: 12px; box-shadow: none; }
.sticky-cta .btn-wa { --btn-bg: #25D366; --btn-fg: #06210F; }
.sticky-cta .btn-wa:hover { --btn-bg: #3BE17A; }
.sticky-cta .btn-wa .btn-icon { color: #06210F; }
.sticky-cta .btn-light .btn-icon { color: var(--plum-800); }
@media (max-width: 767.98px) {
  /* keep the footer's last line clear of the sticky bar */
  .footer-bottom { padding-bottom: calc(18px + var(--sticky-h) + env(safe-area-inset-bottom)); }
}
@media (min-width: 768px) { .sticky-cta { display: none; } }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js .reveal { opacity: 1; transform: none; }
  .js .viz-curve { stroke-dashoffset: 0; }
  .js .viz-ci, .js .viz-mean, .js .viz-peak { opacity: 1; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .sticky-cta, .hero-visual, .final-curve { display: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Brand name (official: סטטיסטיקה בגובה העיניים) ---------- */
.footer-tag { margin-top: 2px; font-size: .9375rem; font-weight: 500; color: var(--gold-light); }
.nowrap { white-space: nowrap; }

/* The full brand name is long: two tidy lines on phones, icon-only WhatsApp in the header
   (the sticky bar and the hero carry the labelled WhatsApp buttons). */
@media (max-width: 559.98px) {
  .brand { gap: 8px; }
  .brand-mark { height: 34px; }
  .brand-name { font-size: 1.0625rem; line-height: 1.12; max-width: 9.2em; }
}
@media (max-width: 419.98px) {
  .header-actions .btn-sm { width: 44px; padding: 0; justify-content: center; }
  .header-actions .btn-sm .show-xs, .header-actions .btn-sm .hide-xs { display: none !important; }
  .header-actions .btn-sm .btn-icon { margin: 0; }
}
