/* ============================================================
   Winny Math — stylesheet
   Bright & friendly, math-themed. Plain CSS, no build step.
   ============================================================ */

:root {
  /* palette — Winny Math green + gray (matches the Wix design) */
  --green:         #16a017;   /* primary brand green */
  --green-600:     #0f8a3c;   /* deep green for gradient end + hovers */
  --green-700:     #0c7a12;
  --green-50:      #e9f7ea;   /* light green tint */
  --gray-word:     #8e9499;   /* the gray word in two-tone headings */
  --nav-bar:       rgba(168,170,170,0.92); /* translucent gray nav bar */

  /* legacy variable names kept, remapped to greens so components inherit */
  --indigo:        #16a017;
  --indigo-600:    #0f8a3c;
  --indigo-50:     #e9f7ea;
  --teal:          #16a34a;
  --teal-bright:   #22c55e;
  --amber:         #f59e0b;
  --amber-soft:    #fbbf24;

  --ink:           #1d2733;
  --slate:         #3f4a57;
  --muted:         #6b7480;
  --line:          #e4e7ea;
  --line-soft:     #eef1f3;

  --bg:            #ffffff;
  --bg-soft:       #f6f7f7;
  --bg-tint:       #f3f5f3;

  --violet:        #16a017;
  --violet-bright: #3cb371;
  --pink:          #16a34a;

  --grad:          linear-gradient(120deg, #22a722 0%, #0f8a3c 100%);
  --grad-soft:     linear-gradient(135deg, #34c759 0%, #16a34a 100%);
  --grad-vivid:    linear-gradient(120deg, #34c759 0%, #16a34a 55%, #0f8a3c 100%);

  --shadow-sm:     0 1px 2px rgba(15,23,42,.06), 0 1px 3px rgba(15,23,42,.05);
  --shadow:        0 4px 6px rgba(15,23,42,.04), 0 10px 24px rgba(15,23,42,.07);
  --shadow-lg:     0 18px 48px rgba(15,138,60,.18);
  --glow-indigo:   0 8px 30px rgba(22,160,23,.40);
  --glow-violet:   0 10px 40px rgba(15,138,60,.32);
  --glow-teal:     0 10px 40px rgba(22,163,74,.32);

  --radius:        16px;
  --radius-lg:     24px;
  --radius-sm:     10px;

  --font-head: 'Plus Jakarta Sans', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, sans-serif;
  --font-mono: 'Space Mono', ui-monospace, 'Cascadia Code', monospace;

  --maxw: 1140px;
}

/* ---------- reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
a, button, summary, label, input, select, textarea, .btn, .ptab, .nav-toggle { -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; scroll-padding-top: calc(84px + env(safe-area-inset-top)); -webkit-text-size-adjust: 100%; overflow-x: hidden; }
/* keep content clear of the iPhone notch/home bar in landscape */
body { padding-left: env(safe-area-inset-left); padding-right: env(safe-area-inset-right); }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--slate);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overscroll-behavior-y: none;
}
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.15; margin: 0 0 .5em; font-weight: 800; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.4rem, 5.5vw, 3.9rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.22rem; font-weight: 700; }
p  { margin: 0 0 1rem; }
a  { color: var(--indigo); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--indigo-600); }
img, svg { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 max(24px, env(safe-area-inset-right)) 0 max(24px, env(safe-area-inset-left)); }
.container.narrow { max-width: 820px; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; color: #fff; }

.grad-text { color: var(--green); -webkit-text-fill-color: var(--green); }
/* two-tone headings (gray word + green word), matching the Wix design */
.t-gray { color: var(--gray-word); }
.t-green { color: var(--green); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--font-head); font-weight: 700; font-size: .98rem;
  padding: .8rem 1.4rem; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform .12s ease, box-shadow .18s ease, background .18s ease, color .15s ease;
  white-space: nowrap; text-align: center;
}
.btn-primary { background: var(--grad); background-size: 160% 160%; color: #fff; box-shadow: var(--glow-indigo); animation: gradShift 8s ease infinite; }
.btn-primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 14px 38px rgba(124,58,237,.5); }
@keyframes gradShift { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.btn-ghost { background: #fff; color: var(--green-600); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--green); color: var(--green-600); transform: translateY(-2px); }
/* black primary button (Book a free trial) */
.btn-dark { background: #161b1f; color: #fff; box-shadow: 0 10px 26px rgba(0,0,0,.28); }
.btn-dark:hover { background: #000; color: #fff; transform: translateY(-2px); box-shadow: 0 14px 32px rgba(0,0,0,.36); }
.btn-sm { padding: .55rem 1.05rem; font-size: .9rem; }
.btn-lg { padding: .95rem 1.7rem; font-size: 1.05rem; }
.btn-block { width: 100%; }

.link-arrow { font-weight: 700; font-family: var(--font-head); }
.link-arrow:hover { letter-spacing: .01em; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--nav-bar); -webkit-backdrop-filter: saturate(140%) blur(10px); backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.18);
  padding-top: env(safe-area-inset-top);
}
.site-header .brand-word { color: #ffffff; }
.site-header .nav-menu > a { color: #f3f5f5; }
.site-header .nav-menu > a:hover { color: #ffffff; }
.nav-toggle span { background: #ffffff; }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: .6rem; }
.brand-mark { position: relative; display: inline-flex; border-radius: 11px;
  filter: drop-shadow(0 4px 14px rgba(15,138,60,.5)); animation: markGlow 4.5s ease-in-out infinite; }
.brand-mark svg { display: block; border-radius: 11px; }
/* moving light sweep = the shine */
.brand-mark::after {
  content: ""; position: absolute; inset: 0; border-radius: 11px; pointer-events: none;
  background: linear-gradient(115deg, transparent 34%, rgba(255,255,255,.85) 48%, rgba(255,255,255,.15) 56%, transparent 66%);
  background-size: 260% 100%; background-position: 210% 0;
  mix-blend-mode: screen; animation: shine 5s ease-in-out infinite;
}
@keyframes shine { 0% { background-position: 210% 0; } 55%, 100% { background-position: -140% 0; } }
@keyframes markGlow {
  0%, 100% { filter: drop-shadow(0 4px 14px rgba(22,160,23,.42)); }
  50% { filter: drop-shadow(0 6px 22px rgba(15,138,60,.70)); }
}
.brand-word { font-family: var(--font-head); font-weight: 800; font-size: 1.32rem; color: var(--ink); letter-spacing: -0.02em; }
.brand-word-accent { color: var(--indigo); }
.brand-word-accent-light { color: var(--teal-bright); }

.nav-menu { display: flex; align-items: center; gap: 1.6rem; }
.nav-menu a { color: var(--slate); font-weight: 600; font-size: .98rem; font-family: var(--font-head); }
.nav-menu a:hover { color: var(--indigo); }
.nav-menu a.btn { color: #fff; }
.nav-menu a.btn-primary:hover { color: #fff; }

.nav-toggle { display: none; flex-direction: column; align-items: center; justify-content: center; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; min-width: 44px; min-height: 44px; }
.nav-toggle span { width: 24px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background:
  radial-gradient(1100px 460px at 80% -8%, var(--green-50) 0%, transparent 60%),
  radial-gradient(820px 420px at 6% 110%, #eef7ec 0%, transparent 55%), #f7faf6; }
/* graph-paper grid (green), like the Wix hero */
.hero-grid-bg {
  position: absolute; inset: 0; pointer-events: none; opacity: .9;
  background-image:
    linear-gradient(to right, rgba(22,160,23,.10) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(22,160,23,.10) 1px, transparent 1px),
    linear-gradient(to right, rgba(22,160,23,.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(22,160,23,.05) 1px, transparent 1px);
  background-size: 110px 110px, 110px 110px, 22px 22px, 22px 22px;
  -webkit-mask-image: radial-gradient(95% 85% at 50% 30%, #000 55%, transparent 100%);
  mask-image: radial-gradient(95% 85% at 50% 30%, #000 55%, transparent 100%);
}
.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; padding: 72px 24px 84px; }
.eyebrow {
  display: inline-block; font-family: var(--font-head); font-weight: 700; font-size: .82rem;
  letter-spacing: .04em; text-transform: uppercase; color: var(--indigo);
  background: var(--indigo-50); padding: .4rem .85rem; border-radius: 999px; margin-bottom: 1.1rem;
}
.hero h1 { margin-bottom: .35em; }
.hero-title { font-size: clamp(3rem, 7vw, 5.2rem); letter-spacing: -0.03em; margin-bottom: .25em; }
.hero-guarantee { font-family: var(--font-head); font-weight: 600; font-size: clamp(1.3rem, 2.5vw, 1.75rem);
  color: var(--slate); line-height: 1.25; max-width: 18ch; margin-bottom: 1.6rem; }
.hero-sub { font-size: 1.16rem; color: var(--slate); max-width: 36ch; margin-bottom: 1.4rem; }
.hero-sub strong { color: var(--ink); font-weight: 600; }

.guarantee-chip {
  display: flex; align-items: center; gap: .7rem; background: #fff; border: 1px solid var(--line);
  border-left: 4px solid var(--teal); border-radius: 14px; padding: .8rem 1rem; margin-bottom: 1.6rem;
  box-shadow: var(--shadow-sm); max-width: 460px;
}
.guarantee-chip svg { color: var(--teal); flex: 0 0 auto; }
.guarantee-chip span { font-size: .95rem; color: var(--slate); }
.guarantee-chip strong { color: var(--ink); }

.hero-cta { display: flex; gap: .8rem; flex-wrap: wrap; margin-bottom: 1.8rem; }
.hero-trust { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; color: var(--muted); font-size: .92rem; }
.hero-trust li { position: relative; }
.hero-trust strong { color: var(--ink); font-family: var(--font-mono); }

/* radiant aurora blobs */
.aurora { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 0; }
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; mix-blend-mode: multiply; animation: drift 18s ease-in-out infinite; }
.blob-1 { width: 460px; height: 460px; top: -120px; right: -80px;
  background: radial-gradient(circle at 30% 30%, #86efac, transparent 70%); }
.blob-2 { width: 420px; height: 420px; bottom: -140px; left: -100px;
  background: radial-gradient(circle at 40% 40%, #4ade80, transparent 70%); animation-delay: 3s; }
.blob-3 { width: 360px; height: 360px; top: 30%; left: 42%;
  background: radial-gradient(circle at 50% 50%, #bbf7d0, transparent 70%); opacity: .4; animation-delay: 6s; }
@keyframes drift {
  0%,100% { transform: translate(0,0) scale(1); }
  33% { transform: translate(28px,-22px) scale(1.08); }
  66% { transform: translate(-22px,18px) scale(.96); }
}

/* hero floating math motifs */
.hero-motifs { position: absolute; inset: 0; pointer-events: none; font-family: var(--font-mono); color: var(--indigo); z-index: 1; will-change: transform; }
.motif { position: absolute; opacity: .2; font-weight: 700; animation: float 9s ease-in-out infinite; }
.m1 { top: 14%; left: 5%;  font-size: 2.8rem; color: var(--violet); }
.m2 { top: 70%; left: 10%; font-size: 3.4rem; color: var(--teal); animation-delay: 1.2s; }
.m3 { top: 22%; right: 45%; font-size: 2.2rem; color: var(--amber); animation-delay: .6s; }
.m4 { bottom: 12%; right: 41%; font-size: 2.9rem; color: var(--indigo); animation-delay: 2s; }
.m5 { top: 10%; right: 5%; font-size: 1rem; color: var(--teal); animation-delay: 1.6s; opacity: .28; }
.m6 { bottom: 8%; left: 36%; font-size: 1rem; color: var(--violet); animation-delay: .9s; opacity: .26; }
.m7 { top: 44%; left: 2%; font-size: 2.4rem; color: var(--pink); animation-delay: 2.4s; }
.m8 { top: 6%; left: 30%; font-size: 2rem; color: var(--teal); animation-delay: 1.1s; }
.m9 { bottom: 30%; right: 6%; font-size: 2.6rem; color: var(--amber); animation-delay: .3s; }
.m10 { top: 84%; right: 30%; font-size: 1rem; color: var(--indigo); animation-delay: 1.9s; opacity: .26; }
.m11 { top: 36%; right: 32%; font-size: 2.2rem; color: var(--violet-bright); animation-delay: 2.7s; }
.m12 { bottom: 40%; left: 22%; font-size: 1rem; color: var(--teal); animation-delay: 1.4s; opacity: .26; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

/* hero graph card */
.hero-visual { display: flex; justify-content: center; }
.graph-card {
  position: relative; width: 100%; max-width: 420px; background: #fff; border: 1px solid #eef0fb;
  border-radius: var(--radius-lg); box-shadow: 0 24px 60px rgba(124,58,237,.22); padding: 18px; transform: rotate(1.2deg);
  transition: transform .3s ease, box-shadow .3s ease;
}
.graph-card::before {
  content: ""; position: absolute; inset: -2px; border-radius: calc(var(--radius-lg) + 2px); z-index: -1;
  background: var(--grad-vivid); opacity: .55; filter: blur(14px);
}
.graph-card:hover { transform: rotate(0deg) translateY(-6px); box-shadow: 0 30px 70px rgba(124,58,237,.34); }
.graph-card-head { display: flex; align-items: center; gap: 7px; padding: 2px 4px 14px; }
.dot { width: 11px; height: 11px; border-radius: 50%; }
.d1 { background: #f87171; } .d2 { background: var(--amber-soft); } .d3 { background: var(--teal-bright); }
.graph-title { margin-left: auto; font-family: var(--font-mono); font-size: .78rem; color: var(--muted); }
.graph-svg { width: 100%; height: auto; border-radius: 12px; background:
  linear-gradient(#fff,#fff) padding-box, var(--bg-soft); }
.curve { stroke-dasharray: 760; stroke-dashoffset: 760; animation: draw 2.6s ease forwards .3s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.pt { opacity: 0; animation: pop .4s ease forwards; }
.pt:nth-of-type(1) { animation-delay: .6s; } .pt:nth-of-type(2) { animation-delay: 1.4s; } .pt:nth-of-type(3) { animation-delay: 2.2s; }
@keyframes pop { from { opacity: 0; transform: scale(.2); } to { opacity: 1; transform: scale(1); } }
.graph-card-foot { display: flex; align-items: center; justify-content: center; gap: .8rem; padding: 14px 4px 4px; font-family: var(--font-head); font-weight: 700; }
.grade-from { color: var(--muted); } .grade-arrow { color: var(--indigo); } .grade-to { color: var(--teal); }

/* ---------- credential strip ---------- */
.strip { background: var(--ink); color: #cbd5e1; }
.strip-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .6rem 1rem; padding: 16px 24px; font-size: .9rem; font-family: var(--font-head); font-weight: 600; }
.strip-item { color: #e2e8f0; }
.dot-sep { color: var(--teal-bright); }

/* ---------- generic section ---------- */
.section { padding: 84px 0; position: relative; }
.section > .container { position: relative; z-index: 1; }
.section-tint { position: relative; background:
  radial-gradient(620px 340px at 0% 0%, #e6f6e6, transparent 62%),
  radial-gradient(720px 380px at 100% 8%, #d9f2dd, transparent 60%),
  var(--bg-tint); }
.section-tint::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .55;
  background-image: radial-gradient(rgba(22,160,23,.12) 1.2px, transparent 1.2px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(75% 65% at 50% 35%, #000 35%, transparent 100%);
  mask-image: radial-gradient(75% 65% at 50% 35%, #000 35%, transparent 100%);
}
.section-head { text-align: center; max-width: 720px; margin: 0 auto 52px; }
.kicker {
  display: inline-block; font-family: var(--font-head); font-weight: 700; font-size: .78rem;
  letter-spacing: .08em; text-transform: uppercase; color: var(--green-600);
  background: var(--green-50); border: 1px solid #cdeccd;
  padding: .35rem .85rem; border-radius: 999px; margin-bottom: .9rem;
}
.kicker-light { color: #fff; background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.32); }
.section-lead { font-size: 1.12rem; color: var(--muted); margin-top: .4rem; }

/* ---------- cards grid ---------- */
.card-grid { display: grid; gap: 22px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #d6dbe6; }

/* about */
.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.about-copy h2 { margin-bottom: .5em; }
.about-copy p { font-size: 1.06rem; }
.about-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stat-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); }
.stat-num { display: block; font-family: var(--font-head); font-weight: 800; font-size: 1.9rem; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat-label { font-size: .92rem; color: var(--muted); }

/* subjects */
.subjects-grid { grid-template-columns: repeat(3, 1fr); }
.subject-card .subject-icon { font-size: 2rem; display: block; margin-bottom: .6rem; }
.subject-card h3 { margin-bottom: .35em; }
.subject-card p { font-size: .98rem; color: var(--muted); margin: 0; }
.subject-card .subject-link { display: inline-flex; align-items: center; gap: .35em; margin-top: .9rem; font-family: var(--font-head); font-weight: 700; font-size: .95rem; color: var(--green-600); text-decoration: none; }
.subject-card .subject-link span { transition: transform .2s ease; }
.subject-card .subject-link:hover { color: var(--green); }
.subject-card .subject-link:hover span { transform: translateX(4px); }
.subject-card .subject-link:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 4px; }

/* why */
.why-grid { grid-template-columns: repeat(3, 1fr); }
.why-icon { width: 56px; height: 56px; display: grid; place-items: center; font-size: 1.6rem; background: linear-gradient(135deg, var(--green-50), #d9f2dd); border: 1px solid #cdeccd; border-radius: 16px; margin-bottom: 1rem; box-shadow: inset 0 1px 0 rgba(255,255,255,.7); }
.why-card h3 { margin-bottom: .3em; }
.why-card p { font-size: .96rem; color: var(--muted); margin: 0; }

/* Why panel — single white card, 2x2 features with dividers (matches Wix) */
.why-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow); max-width: 940px; margin: 0 auto; padding: 50px 56px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px 56px; position: relative; }
.why-feature { text-align: center; position: relative; padding: 0 8px; }
.why-feature h3 { color: var(--green); font-size: 1.35rem; font-weight: 800; margin-bottom: .5rem; }
.why-feature p { color: var(--slate); margin: 0; font-size: 1rem; }
@media (min-width: 760px) {
  .why-feature:nth-child(odd)::after { content: ""; position: absolute; top: 4%; right: -28px; height: 92%; width: 1px; background: var(--line); }
}

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; box-shadow: var(--shadow-sm); position: relative; }
.step-num { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--grad); color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 1.2rem; margin-bottom: 1rem; box-shadow: 0 6px 14px rgba(79,70,229,.25); }
.step h3 { margin-bottom: .3em; }
.step p { font-size: .95rem; color: var(--muted); margin: 0; }

/* team */
.team-grid { grid-template-columns: repeat(3, 1fr); }
.team-card { text-align: center; display: flex; flex-direction: column; align-items: center; position: relative; }
.team-card.featured { border-color: var(--indigo); box-shadow: var(--shadow-lg); }
.featured-flag { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--grad); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: .74rem; letter-spacing: .04em; text-transform: uppercase; padding: .3rem .8rem; border-radius: 999px; }
.team-photo { width: 96px; height: 96px; border-radius: 50%; margin-bottom: 1rem; background: var(--grad-soft); display: grid; place-items: center; position: relative; box-shadow: inset 0 0 0 4px rgba(255,255,255,.6); }
.team-photo::after { content: attr(data-initials); font-family: var(--font-head); font-weight: 800; font-size: 2rem; color: #fff; }
.team-role { font-family: var(--font-head); font-weight: 700; color: var(--indigo); font-size: .92rem; margin-bottom: .6rem; }
.team-card p { font-size: .96rem; color: var(--muted); }
.team-tag { margin-top: auto; font-family: var(--font-mono); font-size: .76rem; color: var(--slate); background: var(--bg-soft); border: 1px solid var(--line); border-radius: 999px; padding: .35rem .8rem; }
.join-card { justify-content: center; background: var(--bg-soft); border-style: dashed; }
.join-icon { width: 56px; height: 56px; border-radius: 50%; background: #fff; border: 2px dashed var(--indigo); color: var(--indigo); display: grid; place-items: center; font-size: 1.8rem; margin-bottom: 1rem; }

/* Our Tutors — photo left, bio right (matches the Wix layout) */
.tutor-list { display: grid; gap: 22px; max-width: 880px; margin: 0 auto; }
.tutor-row { display: grid; grid-template-columns: 150px 1fr; gap: 26px; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 26px;
  box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .2s ease; }
.tutor-row:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.tutor-photo { width: 150px; height: 170px; border-radius: 12px; background: var(--bg-soft);
  display: grid; place-items: center; box-shadow: inset 0 0 0 4px rgba(255,255,255,.5); }
.tutor-photo::after { content: attr(data-initials); font-family: var(--font-head); font-weight: 800; font-size: 2.4rem; color: #fff; }
.tutor-bio p { margin: 0; color: var(--slate); font-size: 1rem; }
.tutor-bio strong { color: var(--ink); font-weight: 700; }
.tutor-note { text-align: center; color: var(--muted); font-size: .85rem; margin-top: 22px; }
.tutor-note code { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; font-size: .82rem; }
/* "We're hiring" open-spot card */
.tutor-hiring { border-style: dashed; background: var(--bg-soft); }
.tutor-photo-open { background: var(--green-50); box-shadow: inset 0 0 0 2px #cdeccd; }
.tutor-photo-open::after { color: var(--green); }
.tutor-bio a { color: var(--green-600); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }

/* pricing */
/* Solo / Group tab switcher */
.pricing-tabs { display: flex; gap: 6px; width: max-content; max-width: 100%; margin: 0 auto 30px; padding: 6px; background: #fff; border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow-sm); overflow-x: auto; -webkit-overflow-scrolling: touch; }
.ptab { flex: 0 0 auto; white-space: nowrap; font-family: var(--font-head); font-weight: 700; font-size: .98rem; color: var(--muted); background: transparent; border: 0; border-radius: 999px; padding: .65rem 1.6rem; cursor: pointer; transition: color .15s ease, background .2s ease, box-shadow .2s ease; }
.ptab:hover { color: var(--green-600); }
.ptab.is-active { color: #fff; background: var(--grad); box-shadow: var(--glow-indigo); }
.ptab:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.ppanel { animation: ppanelIn .35s ease; }
.ppanel[hidden] { display: none; }
@keyframes ppanelIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.pricing-grid { grid-template-columns: repeat(3, 1fr); align-items: start; }
/* exam-cram tab: one feature card + an explainer aside */
.plan-layout { display: grid; grid-template-columns: minmax(280px, 360px) 1fr; gap: 32px; align-items: center; max-width: 940px; margin: 0 auto; }
.plan-card { border-color: var(--green); box-shadow: var(--shadow-lg); }
.plan-aside h3 { color: var(--ink); font-size: 1.45rem; margin-bottom: .5rem; }
.plan-aside p { color: var(--slate); }
.plan-points { display: grid; gap: .6rem; margin-top: 1rem; }
.plan-points li { position: relative; padding-left: 1.7rem; color: var(--slate); }
.plan-points li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 800; }
.plan-points strong { color: var(--ink); font-weight: 700; }
.price-card { display: flex; flex-direction: column; position: relative; }
.price-card.popular { border-color: var(--indigo); box-shadow: var(--shadow-lg); transform: translateY(-8px); }
.popular-flag { position: absolute; top: -12px; right: 20px; background: var(--amber); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: .74rem; text-transform: uppercase; letter-spacing: .04em; padding: .3rem .8rem; border-radius: 999px; }
.popular-flag.flag-cram { background: var(--green-600); }   /* highlight flag (e.g. "Best value"), distinct from amber */
.price { display: flex; align-items: baseline; gap: .3rem; margin: .4rem 0 .6rem; }
.price-amt { font-family: var(--font-head); font-weight: 800; font-size: 2.6rem; color: var(--ink); }
.price-unit { color: var(--muted); font-weight: 600; }
.price-note { font-size: .92rem; color: var(--muted); min-height: 2.6em; }
.save { color: var(--teal); font-weight: 700; }
.price-list { margin: .4rem 0 1.4rem; display: grid; gap: .55rem; }
.price-list li { position: relative; padding-left: 1.6rem; font-size: .95rem; }
.price-list li::before { content: "✓"; position: absolute; left: 0; color: var(--teal); font-weight: 800; }
.price-card .btn { margin-top: auto; }
.pricing-fine { text-align: center; color: var(--muted); font-size: .85rem; margin-top: 26px; max-width: 760px; margin-left: auto; margin-right: auto; }

/* testimonial — solid green band (matches the Wix design) */
.testimonial-section { background: var(--green); }
.testimonial { max-width: 820px; margin: 0 auto; text-align: center; position: relative; color: rgba(255,255,255,.95); }
.quote-mark { font-family: var(--font-head); font-size: 6rem; line-height: .6; color: rgba(255,255,255,.45); }
.testimonial blockquote { margin: 0; font-family: var(--font-head); font-weight: 600; font-size: clamp(1.3rem, 2.6vw, 1.8rem); line-height: 1.4; color: #fff; }
.testimonial em { color: #eaffea; font-style: italic; }
.testimonial figcaption { margin-top: 1.4rem; color: rgba(255,255,255,.85); font-size: .95rem; }
.ph-note { color: rgba(255,255,255,.6); font-size: .8rem; }
.testimonial-head { color: #fff; }
.testimonial-cta { text-align: center; margin-top: 28px; }
.review-lead { color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 1.5rem; margin-bottom: .8rem; }
.testimonial-section .kicker-light { color: #fff; }
/* promise block — replaces the quote until real Google reviews exist */
.promise { max-width: 820px; margin: 0 auto; color: rgba(255,255,255,.95); }
.promise-lede { text-align: center; font-family: var(--font-head); font-weight: 600; font-size: clamp(1.15rem, 2.2vw, 1.45rem); color: #fff; margin: 0 0 1.3rem; line-height: 1.45; }
.promise-list { list-style: none; margin: 0 auto; padding: 0; max-width: 620px; display: grid; gap: .7rem; }
.promise-list li { padding-left: 1.7rem; position: relative; font-size: 1.05rem; line-height: 1.5; }
.promise-list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: #fde68a; font-weight: 700; }
.promise-list b { color: #fff; }

/* ---------- trial band (free 30-min trial) ---------- */
.trial-band { position: relative; overflow: hidden; padding: 76px 0; text-align: center;
  background: var(--grad-vivid); background-size: 180% 180%; animation: gradShift 12s ease infinite; color: #fff; }
.trial-band .aurora .blob { mix-blend-mode: screen; opacity: .35; }
.trial-inner { position: relative; z-index: 2; max-width: 720px; margin: 0 auto; }
.trial-band h2 { color: #fff; margin-bottom: .5em; }
.trial-band p { color: rgba(255,255,255,.94); font-size: 1.12rem; max-width: 58ch; margin: 0 auto 1.7rem; }
.btn-white { background: #fff; color: var(--indigo-600); box-shadow: 0 10px 30px rgba(0,0,0,.18); }
.btn-white:hover { color: var(--violet); transform: translateY(-2px); box-shadow: 0 16px 40px rgba(0,0,0,.26); }

/* faq */
.faq { display: grid; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 4px 22px; box-shadow: var(--shadow-sm); transition: border-color .2s ease; }
.faq-item[open] { border-color: var(--indigo); }
.faq-item summary { cursor: pointer; list-style: none; padding: 18px 0; font-family: var(--font-head); font-weight: 700; color: var(--ink); display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.5rem; color: var(--indigo); transition: transform .2s ease; line-height: 1; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding: 0 0 18px; margin: 0; color: var(--muted); }

/* contact / CTA — light, with a green heading (matches the Wix design) */
.section-cta { background:
  radial-gradient(700px 420px at 4% 0, var(--green-50) 0%, transparent 55%),
  radial-gradient(700px 420px at 100% 100%, #eef7ec 0%, transparent 55%),
  #f7faf6; color: var(--slate); }
.contact-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 56px; align-items: start; }
.contact-copy > p { color: var(--muted); font-size: 1.08rem; }
.contact-points { display: grid; gap: .7rem; margin: 1.4rem 0; }
.contact-points li { display: flex; align-items: flex-start; gap: .6rem; color: var(--slate); }
.contact-points span { color: var(--green); font-weight: 800; }
.contact-direct { margin-top: 1.6rem; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.contact-direct p { margin: .2rem 0; color: var(--muted); }
.contact-direct a { color: var(--green-600); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.contact-phone { font-size: 1.18rem; font-weight: 700; color: var(--ink); }
.contact-phone a { text-decoration: none; }

.lead-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow); }
.form-row { margin-bottom: 16px; }
.form-row.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; }
.field label { font-family: var(--font-head); font-weight: 600; font-size: .9rem; color: var(--ink); margin-bottom: .4rem; }
.req { color: #ef4444; } .optional { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  font-family: var(--font-body); font-size: 16px; color: var(--ink);
  padding: .7rem .85rem; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: #fff; transition: border-color .15s ease, box-shadow .15s ease; width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(22,160,23,.16);
}
.field input.invalid, .field select.invalid, .field textarea.invalid { border-color: #ef4444; box-shadow: 0 0 0 3px rgba(239,68,68,.12); }
.field textarea { resize: vertical; min-height: 84px; }
.checkbox { display: flex; align-items: flex-start; gap: .6rem; font-family: var(--font-body); font-weight: 400; font-size: .92rem; color: var(--slate); cursor: pointer; }
.checkbox input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--indigo); flex: 0 0 auto; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 12px 0 0; font-size: .95rem; font-weight: 600; min-height: 1.2em; }
.form-status.ok { color: var(--teal); }
.form-status.err { color: #ef4444; }
.form-fine { font-size: .8rem; color: var(--muted); margin: 12px 0 0; text-align: center; }

/* ---------- Wix-style contact form ---------- */
.contact-head { text-align: center; margin-bottom: 44px; }
.contact-head .contact-phone { margin-top: .4rem; }
.wix-form { max-width: 1000px; margin: 0 auto; }
.wix-form-grid { display: grid; grid-template-columns: 1.45fr 1fr; gap: 24px 56px; align-items: start; }
.wix-fields { display: grid; gap: 22px; }
.wix-fields .form-row { margin-bottom: 0; }
.wix-form .field label { font-family: var(--font-head); font-weight: 500; color: var(--muted); font-size: .95rem; margin-bottom: .35rem; }
/* underline inputs, matching the Wix design */
.wix-form .field input, .wix-form .field select, .wix-form .field textarea {
  border: 0; border-bottom: 1.6px solid #cdd2d6; border-radius: 0; background: transparent;
  padding: .5rem 0; color: var(--ink); transition: border-color .15s ease;
}
.wix-form .field input:focus, .wix-form .field select:focus, .wix-form .field textarea:focus {
  outline: none; border-bottom-color: var(--green); box-shadow: none;
}
.wix-form .field input.invalid, .wix-form .field select.invalid, .wix-form .field textarea.invalid { border-bottom-color: #ef4444; box-shadow: none; }
/* the product dropdown: keep a visible caret, comfortable height */
.wix-form .field select { -webkit-appearance: none; appearance: none; cursor: pointer; padding-right: 1.6rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%236b7480' stroke-width='1.8' stroke-linecap='round' d='M1 1.5 6 6.5 11 1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .1rem center; }
.wix-form .field select option { color: var(--ink); }
.wix-form .field textarea { min-height: 90px; }
.levels-label { display: block; font-family: var(--font-head); font-weight: 500; color: var(--muted); font-size: .95rem; margin-bottom: .7rem; }
.levels-list { display: grid; gap: .6rem; }
.levels-list.invalid .levels-label, .levels-label.invalid { color: #ef4444; }
.lvl { display: flex; align-items: center; gap: .65rem; font-size: 1.02rem; color: var(--slate); cursor: pointer; }
.lvl input { width: 19px; height: 19px; accent-color: var(--green); flex: 0 0 auto; }
.wix-submit { text-align: center; margin-top: 38px; }
.btn-pill { border-radius: 999px; padding: 1.05rem 4rem; font-size: 1.08rem; }

/* ---------- footer ---------- */
.site-footer { background: #0b1020; color: #94a3b8; padding: 56px 0 calc(28px + env(safe-area-inset-bottom)); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; }
.brand-footer .brand-word { color: #fff; }
.footer-tag { margin-top: 1rem; max-width: 34ch; font-size: .95rem; color: #94a3b8; }
.footer-col h4 { color: #fff; font-size: .92rem; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 1rem; }
.footer-col a { display: block; color: #cbd5e1; margin-bottom: .6rem; font-size: .95rem; }
.footer-col a:hover { color: var(--teal-bright); }
.footer-social { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 1.1rem; }
.footer-social a { display: inline-flex; align-items: center; padding: .4rem .85rem; font-size: .85rem; font-weight: 600; color: #cbd5e1; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 999px; transition: color .15s ease, background .2s ease, border-color .2s ease; }
.footer-social a:hover { color: #fff; background: rgba(255,255,255,.12); border-color: var(--teal-bright); }
.footer-social a:focus-visible { outline: 2px solid var(--teal-bright); outline-offset: 2px; }
.footer-hours { font-family: var(--font-mono); font-size: .82rem; color: #64748b; margin-top: 1rem; line-height: 1.7; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .6rem; margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.08); font-size: .85rem; color: #64748b; }
/* Discreet staff-only entrance to the business platform (PIN-gated at /staff). */
.footer-staff { margin-left: auto; color: #475569; text-decoration: none; opacity: .7; transition: color .15s ease, opacity .15s ease; }
.footer-staff:hover, .footer-staff:focus-visible { color: #94a3b8; opacity: 1; text-decoration: underline; }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; padding-top: 52px; }
  .hero-visual { order: -1; }
  .hero-sub { max-width: none; }
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .subjects-grid, .why-grid, .steps, .team-grid, .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .price-card.popular { transform: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    position: absolute; top: calc(72px + env(safe-area-inset-top)); left: 0; right: 0; flex-direction: column; align-items: stretch;
    gap: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 12px max(24px, env(safe-area-inset-right)) 20px max(24px, env(safe-area-inset-left)); overscroll-behavior: contain;
    box-shadow: var(--shadow); transform: translateY(-130%); transition: transform .28s ease; visibility: hidden;
  }
  .nav-menu.open { transform: translateY(0); visibility: visible; }
  .nav-menu a { display: block; min-height: 44px; padding: 12px 0; border-bottom: 1px solid var(--line-soft); }
  /* dropdown sits on a white panel — use dark text so options are readable */
  .site-header .nav-menu > a { color: var(--ink); }
  .site-header .nav-menu > a:hover { color: var(--green); }
  .nav-menu a.btn { margin-top: 12px; border-bottom: 0; }
  .section { padding: 60px 0; }
  .form-row.two { grid-template-columns: 1fr; }
  .subjects-grid, .why-grid, .steps, .team-grid, .pricing-grid, .about-stats, .footer-grid { grid-template-columns: 1fr; }
  .footer-col a { padding: 6px 0; }
  .plan-layout { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; }
  body { font-size: 16px; }

  /* mobile layout: stack tutor cards (photo on top), collapse panels, contain overflow */
  .tutor-row { grid-template-columns: 1fr; gap: 16px; padding: 20px; justify-items: center; text-align: center; }
  .tutor-photo { width: 100%; max-width: 220px; height: auto; aspect-ratio: 150 / 170; margin: 0 auto; }
  .tutor-bio { min-width: 0; width: 100%; text-align: left; }
  .tutor-bio p, .tutor-bio h2 { overflow-wrap: anywhere; }
  .why-panel { grid-template-columns: 1fr; gap: 28px; padding: 28px 20px; }
  .why-feature { padding: 0; }
  .why-feature:nth-child(odd)::after { display: none; }
  .wix-form-grid { grid-template-columns: 1fr; gap: 28px; }
  .price { flex-wrap: wrap; }
  .price-amt { font-size: 2.1rem; }
  .strip-inner { font-size: .82rem; gap: .4rem .7rem; padding: 14px 18px; }
  .quote-mark { font-size: 3.6rem; }
  .btn-pill { padding: .95rem 2.6rem; }
}
