/* ============================================================
   Vertex Academy — homepage styles
   Brand: blue #1f6dd6 / gold #f5a623, with playful accents and
   bolder shapes for energy. Fredoka (display) + Plus Jakarta Sans.
   ------------------------------------------------------------
   Token note: the semantic-by-colour names below kept their roles
   from the old teal/green identity but now hold the blue+gold
   values, so every existing usage rebrands automatically. The new
   --blue/--gold/--accent names are the canonical names going forward
   (and are what placement.html references).
   ============================================================ */
:root {
  /* canonical blue + gold system */
  --blue: #1f6dd6;
  --blue-deep: #1856ad;
  --blue-bright: #2b7af0;
  --blue-ink: #14346b;
  --gold: #f5a623;
  --gold-deep: #ef9510;
  --gold-bright: #fbb938;
  --blue-soft: #eaf2fd;
  --gold-soft: #fdf3e0;
  --cream: #fbf8f1;

  /* playful accents — per-topic bars, kid delight (use sparingly) */
  --accent-green: #3bb55a;
  --accent-teal: #19b3b3;
  --pink: #ec5a9e;
  --purple: #8b5cf6;
  --red: #e5453d;

  /* legacy role names, remapped to the new palette so usages flow */
  --teal: #1f6dd6;         /* primary, buttons, .hl */
  --teal-deep: #14346b;    /* darkest, dark panels */
  --teal-700: #1856ad;     /* primary hover */
  --green: #ef9510;        /* eyebrows, secondary text, ticks → gold-deep */
  --green-bright: #f5a623; /* secondary highlight → gold */
  --lime: #fbb938;         /* .swoosh underline */
  --mint: #eaf2fd;         /* tinted section bg / ::selection */
  --lightgreen: #fdf3e0;   /* tinted section bg */
  --sun: #f5a623;          /* stars / highlights */
  --sun-soft: #fdf3e0;
  --white: #FFFFFF;
  --ink: #1d2433;
  --muted: #5b6478;
  --muted-2: #8a93a6;
  --border: #e4e9f2;
  --border-soft: #eef2f8;

  --font-head: "Fredoka", system-ui, -apple-system, sans-serif;
  --font-body: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;

  --shadow-xs: 0 1px 2px rgba(20,52,107,0.05);
  --shadow-sm: 0 2px 8px rgba(20,52,107,0.06), 0 1px 2px rgba(20,52,107,0.04);
  --shadow-md: 0 18px 44px -20px rgba(20,52,107,0.35);
  --shadow-lg: 0 30px 60px -24px rgba(20,52,107,0.34);

  --r-sm: 12px;
  --r: 18px;
  --r-lg: 26px;
  --r-xl: 40px;
  --maxw: 1200px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* , *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 16px; line-height: 1.7; color: var(--ink); background: var(--white);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
h1,h2,h3,h4 { font-family: var(--font-head); font-weight: 600; line-height: 1.08; letter-spacing: -0.01em; color: var(--ink); }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
ul { list-style: none; }
::selection { background: var(--mint); }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.narrow { max-width: 880px; }

/* ---------- shared section bits ---------- */
.section { padding: 104px 0; position: relative; }
.section.tight { padding: 80px 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 700; font-size: 13px;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--green);
  margin-bottom: 16px;
}
.eyebrow .star { width: 15px; height: 15px; color: var(--sun); }
.section-head { max-width: 660px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(32px, 4.4vw, 46px); }
.section-head h2 .hl { color: var(--teal); position: relative; white-space: nowrap; }
.section-head p { font-size: 18px; color: var(--muted); margin-top: 16px; }
.section-head.center p { margin-inline: auto; }

.bg-mint { background: var(--mint); }
.bg-light { background: var(--lightgreen); }
.bg-paper { background: var(--white); }

/* underline swoosh on highlighted words */
.swoosh { background-image: linear-gradient(var(--lime), var(--lime)); background-repeat: no-repeat; background-position: 0 88%; background-size: 100% 32%; padding: 0 2px; border-radius: 2px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-head); font-weight: 600; font-size: 16px;
  padding: 15px 28px; border-radius: 999px; border: 2px solid transparent; cursor: pointer;
  transition: transform .18s var(--ease), background .18s var(--ease), box-shadow .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--teal); color: #fff; box-shadow: 0 12px 24px -12px rgba(31,109,214,0.7); }
.btn-primary:hover { background: var(--teal-700); transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(31,109,214,0.7); }
.btn-primary:active { transform: translateY(0); }
.btn-sun { background: var(--sun); color: #3d2c00; box-shadow: 0 10px 22px -10px rgba(245,166,35,0.6); }
.btn-sun:hover { background: #efb928; transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--teal); border-color: var(--teal); }
.btn-outline:hover { background: var(--teal); color: #fff; transform: translateY(-2px); }
.btn-white { background: #fff; color: var(--teal); }
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-ghost-light { background: rgba(255,255,255,0.12); color: #fff; border-color: rgba(255,255,255,0.28); }
.btn-ghost-light:hover { background: rgba(255,255,255,0.2); }
.btn-lg { padding: 17px 34px; font-size: 17px; }
.btn-sm { padding: 11px 20px; font-size: 15px; }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,0.86); backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid transparent; transition: box-shadow .25s var(--ease), border-color .25s var(--ease); }
.nav.scrolled { box-shadow: 0 8px 30px -18px rgba(20,52,107,0.4); border-bottom-color: var(--border-soft); }
.nav-inner { display: flex; align-items: center; gap: 22px; height: 76px; }
.logo { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.logo-text { font-family: var(--font-head); font-weight: 700; font-size: 22px; letter-spacing: -0.025em; }
.logo-text .a { color: var(--blue); } .logo-text .b { color: var(--gold-deep); }
.nav-links { display: flex; align-items: center; gap: 28px; margin-left: 8px; }
.nav-links a { font-family: var(--font-head); font-weight: 600; font-size: 14.5px; color: var(--muted); position: relative; transition: color .18s var(--ease); }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: -7px; height: 2.5px; width: 0; background: var(--green); border-radius: 2px; transition: width .22s var(--ease); }
.nav-links a:hover { color: var(--teal); } .nav-links a:hover::after { width: 100%; }
.nav-cta { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2.5px; background: var(--teal); border-radius: 2px; transition: .25s var(--ease); }
.nav-toggle span + span { margin-top: 6px; }

/* ---------- hero ---------- */
.hero { position: relative; padding: 84px 0 96px; overflow: hidden; background: radial-gradient(120% 90% at 85% 0%, var(--mint) 0%, rgba(225,245,238,0) 55%), #fff; }
.hero-blob { position: absolute; border-radius: 46% 54% 58% 42% / 52% 44% 56% 48%; z-index: 0; filter: blur(0.5px); }
.hero-blob.b1 { width: 520px; height: 520px; right: -150px; top: -120px; background: var(--lightgreen); opacity: .8; transform: rotate(12deg); }
.hero-blob.b2 { width: 240px; height: 240px; left: -90px; bottom: 30px; background: var(--mint); opacity: .7; border-radius: 50%; }
.hero .wrap { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 56px; align-items: center; }
.hero-tag { display: inline-flex; align-items: center; gap: 9px; background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-xs); color: var(--teal); font-family: var(--font-head); font-weight: 600; font-size: 14px; padding: 8px 16px 8px 10px; border-radius: 999px; margin-bottom: 24px; }
.hero-tag .pill { background: var(--blue); color: #fff; font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 999px; letter-spacing: .03em; text-transform: uppercase; }
.hero h1 { font-size: clamp(40px, 6vw, 62px); line-height: 1.02; }
.hero h1 .hl { color: var(--teal); }
.hero-sub { font-size: 20px; color: var(--muted); max-width: 540px; margin: 22px 0 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.hero-trust { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.hero-stars { display: flex; align-items: center; gap: 3px; color: var(--sun); }
.hero-stars svg { width: 18px; height: 18px; }
.hero-trust .rt { font-size: 14.5px; color: var(--muted); } .hero-trust .rt b { color: var(--ink); font-family: var(--font-head); }

/* hero card cluster */
.hero-visual { position: relative; }
.hero-card { background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); padding: 26px; position: relative; z-index: 2; }
.hero-card-h { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.hero-card-h h3 { font-size: 18px; }
.chip { font-family: var(--font-head); font-weight: 600; font-size: 12px; padding: 5px 12px; border-radius: 999px; letter-spacing: .02em; }
.chip-green { background: var(--lightgreen); color: var(--green); }
.chip-mint { background: var(--mint); color: var(--teal); }
.chip-sun { background: var(--sun-soft); color: #946a00; }
.hc-row { display: flex; align-items: center; gap: 13px; padding: 13px 0; border-bottom: 1px dashed var(--border); }
.hc-row:last-child { border-bottom: 0; }
.hc-ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; flex-shrink: 0; }
.hc-row .nm { font-family: var(--font-head); font-weight: 600; font-size: 14.5px; }
.hc-row .mt { font-size: 12.5px; color: var(--muted); }
.hc-row .badge { margin-left: auto; font-size: 12px; font-weight: 600; color: var(--green); }
.hero-float { position: absolute; background: #fff; border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow-md); padding: 13px 16px; z-index: 3; display: flex; align-items: center; gap: 11px; }
.hero-float .av { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 14px; }
.hero-float.f1 { top: -22px; left: -26px; }
.hero-float.f2 { bottom: -24px; right: -18px; }
.hero-float .t1 { font-family: var(--font-head); font-weight: 700; font-size: 14px; line-height: 1.1; }
.hero-float .t2 { font-size: 12px; color: var(--muted); }

/* ---------- value strip ---------- */
.values { background: var(--teal); color: #fff; }
.values .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; padding-block: 22px; }
.value { display: flex; align-items: center; gap: 13px; padding: 14px 8px; }
.value .vi { width: 44px; height: 44px; border-radius: 13px; background: rgba(255,255,255,0.14); display: grid; place-items: center; flex-shrink: 0; }
.value .vi svg { width: 22px; height: 22px; color: var(--lime); }
.value h4 { color: #fff; font-size: 15.5px; line-height: 1.2; }
.value p { font-size: 13px; color: rgba(255,255,255,0.78); margin-top: 2px; }
.value + .value { border-left: 1px solid rgba(255,255,255,0.14); padding-left: 22px; }

/* ---------- study hubs ---------- */
.hubs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.hub { border-radius: var(--r-lg); padding: 40px; position: relative; overflow: hidden; border: 1px solid var(--border); background: #fff; box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.hub:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.hub::after { content: ""; position: absolute; right: -60px; bottom: -60px; width: 200px; height: 200px; border-radius: 50%; opacity: .5; }
.hub.maths::after { background: var(--mint); } .hub.english::after { background: var(--sun-soft); }
.hub-ic { width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; margin-bottom: 22px; position: relative; z-index: 1; }
.hub.maths .hub-ic { background: var(--teal); color: #fff; } .hub.english .hub-ic { background: var(--sun); color: #4a3500; }
.hub h3 { font-size: 26px; position: relative; z-index: 1; }
.hub .yrs { display: inline-block; margin: 10px 0 14px; font-family: var(--font-head); font-weight: 600; font-size: 13px; color: var(--green); background: var(--lightgreen); padding: 4px 12px; border-radius: 999px; position: relative; z-index: 1; }
.hub p { color: var(--muted); font-size: 15.5px; position: relative; z-index: 1; max-width: 90%; }
.hub ul { margin: 18px 0 24px; display: flex; flex-direction: column; gap: 9px; position: relative; z-index: 1; }
.hub li { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; color: var(--ink); }
.hub li svg { width: 19px; height: 19px; color: var(--green); flex-shrink: 0; margin-top: 1px; }
.hub .btn { position: relative; z-index: 1; }

/* ---------- the method (steps) ---------- */
.method-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; position: relative; }
.method-grid::before { content: ""; position: absolute; top: 34px; left: 12%; right: 12%; height: 2px; background: repeating-linear-gradient(90deg, var(--border) 0 8px, transparent 8px 16px); z-index: 0; }
.mstep { position: relative; }
.mstep > * { position: relative; }
.mnum { width: 68px; height: 68px; border-radius: 22px; background: #fff; border: 2px solid var(--mint); color: var(--teal); font-family: var(--font-head); font-weight: 700; font-size: 26px; display: grid; place-items: center; margin-bottom: 20px; box-shadow: var(--shadow-sm); }
.mstep:nth-child(2) .mnum { border-color: var(--lightgreen); }
.mstep:nth-child(3) .mnum { border-color: var(--sun-soft); }
.mstep h3 { font-size: 19px; margin-bottom: 9px; }
.mstep p { color: var(--muted); font-size: 15px; }

/* ---------- membership pricing ---------- */
.pricing { background: var(--teal-deep); color: #fff; position: relative; overflow: hidden; }
.pricing::before { content: ""; position: absolute; top: -140px; right: -100px; width: 420px; height: 420px; border-radius: 50%; background: rgba(245,166,35,0.16); }
.pricing .section-head h2 { color: #fff; }
.pricing .section-head p { color: rgba(255,255,255,0.78); }
.pricing .eyebrow { color: var(--lime); }
.price-wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 26px; align-items: stretch; position: relative; z-index: 1; }
.price-card { background: #fff; color: var(--ink); border-radius: var(--r-lg); padding: 40px; position: relative; box-shadow: var(--shadow-lg); }
.price-card .ribbon { position: absolute; top: 24px; right: 24px; background: var(--sun); color: #4a3500; font-family: var(--font-head); font-weight: 700; font-size: 12px; padding: 6px 14px; border-radius: 999px; letter-spacing: .03em; }
.price-card .plan { font-family: var(--font-head); font-weight: 700; font-size: 15px; color: var(--green); text-transform: uppercase; letter-spacing: .08em; }
.price-amt { display: flex; align-items: flex-start; gap: 4px; margin: 16px 0 4px; }
.price-amt .cur { font-family: var(--font-head); font-weight: 700; font-size: 30px; color: var(--teal); margin-top: 8px; }
.price-amt .num { font-family: var(--font-head); font-weight: 800; font-size: 76px; line-height: .9; letter-spacing: -0.04em; color: var(--teal); }
.price-amt .per { align-self: flex-end; font-size: 17px; color: var(--muted); margin-bottom: 12px; }
.price-card .note { color: var(--muted); font-size: 15px; margin-bottom: 22px; }
.price-card ul { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.price-card li { display: flex; align-items: flex-start; gap: 11px; font-size: 15px; }
.price-card li svg { width: 20px; height: 20px; color: var(--green); flex-shrink: 0; margin-top: 1px; }
.price-aside { display: flex; flex-direction: column; gap: 18px; }
.price-mini { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.16); border-radius: var(--r); padding: 24px; }
.price-mini h4 { color: #fff; font-size: 17px; margin-bottom: 8px; display: flex; align-items: center; gap: 9px; }
.price-mini h4 svg { width: 20px; height: 20px; color: var(--lime); }
.price-mini p { font-size: 14.5px; color: rgba(255,255,255,0.78); }

/* ---------- member benefits ---------- */
.benefits-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.benefit { background: #fff; border: 1px solid var(--border); border-radius: var(--r); padding: 28px; box-shadow: var(--shadow-xs); transition: transform .22s var(--ease), box-shadow .22s var(--ease); }
.benefit:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.benefit .bi { width: 50px; height: 50px; border-radius: 14px; background: var(--mint); color: var(--teal); display: grid; place-items: center; margin-bottom: 16px; }
.benefit:nth-child(3n+2) .bi { background: var(--lightgreen); color: var(--green); }
.benefit:nth-child(3n) .bi { background: var(--sun-soft); color: #946a00; }
.benefit h3 { font-size: 18px; margin-bottom: 8px; }
.benefit p { color: var(--muted); font-size: 14.5px; }

/* ---------- find a centre ---------- */
.centres-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.centre { background: #fff; border: 1px solid var(--border); border-radius: var(--r); padding: 24px; display: flex; gap: 15px; align-items: flex-start; transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.centre:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.centre .ci { width: 46px; height: 46px; border-radius: 13px; background: var(--mint); color: var(--teal); display: grid; place-items: center; flex-shrink: 0; }
.centre.soon { opacity: .72; }
.centre .nm { font-family: var(--font-head); font-weight: 700; font-size: 16.5px; display: flex; align-items: center; gap: 8px; }
.centre .nm .tag { font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; letter-spacing: .03em; text-transform: uppercase; }
.tag-open { background: var(--lightgreen); color: var(--green); }
.tag-soon { background: var(--sun-soft); color: #946a00; }
.centre .ad { font-size: 13.5px; color: var(--muted); margin-top: 4px; }
.centre .lk { font-family: var(--font-head); font-weight: 600; font-size: 13.5px; color: var(--teal); margin-top: 10px; display: inline-flex; align-items: center; gap: 5px; }

/* ---------- reviews ---------- */
.reviews { background: var(--mint); }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review { background: #fff; border-radius: var(--r); padding: 28px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.review .rs { display: flex; gap: 2px; color: var(--sun); margin-bottom: 14px; }
.review .rs svg { width: 18px; height: 18px; }
.review .qt { font-size: 15.5px; color: var(--ink); line-height: 1.6; flex: 1; }
.review .who { display: flex; align-items: center; gap: 12px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--border-soft); }
.review .av { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-family: var(--font-head); font-weight: 700; }
.review .nm { font-family: var(--font-head); font-weight: 700; font-size: 14.5px; }
.review .ro { font-size: 13px; color: var(--muted); }
.reviews-foot { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 40px; flex-wrap: wrap; }
.gbadge { display: inline-flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--border); border-radius: 999px; padding: 10px 20px; box-shadow: var(--shadow-xs); font-size: 14.5px; }
.gbadge b { font-family: var(--font-head); }
.gbadge .stars { color: var(--sun); display: inline-flex; gap: 1px; } .gbadge .stars svg { width: 16px; height: 16px; }

/* ---------- bring a buddy ---------- */
.buddy { position: relative; overflow: hidden; }
.buddy-card { background: linear-gradient(120deg, var(--blue) 0%, var(--blue-bright) 100%); border-radius: var(--r-xl); padding: 56px; color: #fff; position: relative; overflow: hidden; display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 30px; align-items: center; }
.buddy-card::before { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; background: rgba(255,255,255,0.12); }
.buddy-card::after { content: ""; position: absolute; left: 30%; bottom: -120px; width: 260px; height: 260px; border-radius: 50%; background: rgba(255,255,255,0.08); }
.buddy-card .eyebrow { color: rgba(255,255,255,0.85); position: relative; z-index: 1; }
.buddy-card .eyebrow .star { color: var(--sun); }
.buddy-card h2 { color: #fff; font-size: clamp(28px, 3.6vw, 40px); position: relative; z-index: 1; }
.buddy-card p { color: rgba(255,255,255,0.9); font-size: 17px; margin-top: 14px; position: relative; z-index: 1; max-width: 90%; }
.buddy-actions { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 12px; }
.buddy-actions .big { font-family: var(--font-head); font-weight: 800; font-size: 44px; line-height: 1; }
.buddy-actions .sm { font-size: 14px; color: rgba(255,255,255,0.85); }

/* ---------- resources ---------- */
.res-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.res { background: #fff; border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-xs); transition: transform .22s var(--ease), box-shadow .22s var(--ease); display: flex; flex-direction: column; }
.res:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.res .rtop { height: 132px; display: grid; place-items: center; position: relative; }
.res:nth-child(1) .rtop { background: var(--mint); } .res:nth-child(2) .rtop { background: var(--lightgreen); } .res:nth-child(3) .rtop { background: var(--sun-soft); }
.res .rtop svg { width: 46px; height: 46px; color: var(--teal); }
.res:nth-child(3) .rtop svg { color: #946a00; }
.res .rbody { padding: 22px 24px 26px; flex: 1; display: flex; flex-direction: column; }
.res .rk { font-family: var(--font-head); font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--green); margin-bottom: 8px; }
.res h3 { font-size: 18px; margin-bottom: 8px; }
.res p { color: var(--muted); font-size: 14px; flex: 1; }
.res .lk { font-family: var(--font-head); font-weight: 600; font-size: 14px; color: var(--teal); margin-top: 16px; display: inline-flex; align-items: center; gap: 6px; }

/* ---------- app promo ---------- */
.app { background: var(--lightgreen); }
.app-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.app h2 { font-size: clamp(30px, 4vw, 42px); }
.app p { color: var(--muted); font-size: 17px; margin: 16px 0 26px; max-width: 460px; }
.app ul { display: flex; flex-direction: column; gap: 12px; margin-bottom: 30px; }
.app li { display: flex; align-items: center; gap: 11px; font-size: 15.5px; }
.app li svg { width: 20px; height: 20px; color: var(--green); flex-shrink: 0; }
.store-row { display: flex; gap: 12px; flex-wrap: wrap; }
.store-btn { display: inline-flex; align-items: center; gap: 11px; background: var(--ink); color: #fff; border-radius: 14px; padding: 11px 20px; transition: transform .18s var(--ease); }
.store-btn:hover { transform: translateY(-2px); }
.store-btn svg { width: 24px; height: 24px; }
.store-btn .s1 { font-size: 11px; opacity: .8; line-height: 1; } .store-btn .s2 { font-family: var(--font-head); font-weight: 700; font-size: 16px; line-height: 1.1; }
.phone-mock { position: relative; justify-self: center; }
.phone { width: 280px; height: 560px; background: var(--ink); border-radius: 44px; padding: 12px; box-shadow: var(--shadow-lg); position: relative; }
.phone-screen { width: 100%; height: 100%; background: #fff; border-radius: 33px; overflow: hidden; display: flex; flex-direction: column; }
.phone-notch { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); width: 120px; height: 26px; background: var(--ink); border-radius: 0 0 16px 16px; z-index: 3; }
.ph-head { background: var(--teal); color: #fff; padding: 40px 20px 20px; }
.ph-head .h1 { font-family: var(--font-head); font-weight: 700; font-size: 18px; }
.ph-head .h2 { font-size: 12.5px; color: rgba(255,255,255,0.8); margin-top: 2px; }
.ph-body { padding: 16px; display: flex; flex-direction: column; gap: 11px; flex: 1; background: #f6faf8; }
.ph-card { background: #fff; border: 1px solid var(--border-soft); border-radius: 14px; padding: 13px; }
.ph-card .l1 { font-family: var(--font-head); font-weight: 700; font-size: 13.5px; display: flex; align-items: center; justify-content: space-between; }
.ph-card .l2 { font-size: 12px; color: var(--muted); margin-top: 3px; }
.ph-card .mini { font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; }
.ph-cta { margin-top: auto; background: var(--blue); color: #fff; text-align: center; font-family: var(--font-head); font-weight: 700; font-size: 14px; padding: 13px; border-radius: 14px; }

/* ---------- assessment form ---------- */
.assess { position: relative; }
.assess-card { max-width: 800px; margin: 0 auto; background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--shadow-md); overflow: hidden; }
.assess-top { background: var(--teal); color: #fff; padding: 30px 40px; }
.assess-top h3 { color: #fff; font-size: 22px; }
.assess-top p { color: rgba(255,255,255,0.82); font-size: 14.5px; margin-top: 4px; }
.steps-ind { display: flex; align-items: center; gap: 8px; margin-top: 20px; }
.steps-ind .si { display: flex; align-items: center; gap: 8px; }
.steps-ind .dot { width: 28px; height: 28px; border-radius: 50%; background: rgba(255,255,255,0.18); display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; font-size: 13px; transition: .2s var(--ease); }
.steps-ind .si.active .dot { background: var(--sun); color: #4a3500; }
.steps-ind .si.done .dot { background: var(--lime); color: var(--teal-deep); }
.steps-ind .lbl { font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.85); }
.steps-ind .bar { width: 28px; height: 2px; background: rgba(255,255,255,0.22); }
.assess-body { padding: 36px 40px 40px; }
.fstep { display: none; }
.fstep.active { display: block; animation: fadeUp .35s var(--ease); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-family: var(--font-head); font-weight: 600; font-size: 13.5px; }
.field label .req { color: var(--green); }
.field input, .field select, .field textarea { font-family: var(--font-body); font-size: 15px; color: var(--ink); padding: 13px 15px; border: 1px solid var(--border); border-radius: 12px; background: #fff; transition: border-color .16s var(--ease), box-shadow .16s var(--ease); width: 100%; }
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(31,109,214,0.16); }
.field.invalid input, .field.invalid select { border-color: #c0392b; }
.field .err { font-size: 12.5px; color: #c0392b; display: none; }
.field.invalid .err { display: block; }
.choices { display: flex; flex-wrap: wrap; gap: 10px; }
.choice { display: inline-flex; align-items: center; gap: 9px; cursor: pointer; border: 1px solid var(--border); border-radius: 12px; padding: 11px 16px; font-size: 14.5px; font-weight: 500; transition: .16s var(--ease); user-select: none; }
.choice:hover { border-color: var(--teal); }
.choice input { accent-color: var(--teal); width: 17px; height: 17px; }
.choice:has(input:checked) { border-color: var(--teal); background: var(--mint); color: var(--teal); }
.assess-actions { display: flex; align-items: center; justify-content: space-between; margin-top: 28px; gap: 12px; }
.assess-actions .spacer { flex: 1; }
.assess-success { display: none; text-align: center; padding: 20px 10px 10px; }
.assess-success.show { display: block; animation: fadeUp .4s var(--ease); }
.assess-success .ring { width: 84px; height: 84px; border-radius: 50%; background: var(--mint); display: grid; place-items: center; margin: 0 auto 20px; }
.assess-success h3 { font-size: 24px; color: var(--teal); margin-bottom: 10px; }
.assess-success p { color: var(--muted); font-size: 16px; max-width: 480px; margin: 0 auto 22px; }
.form-error-banner { display: none; margin-top: 16px; padding: 12px 15px; border-radius: 10px; background: #fdecea; color: #a32b1f; font-size: 14px; border: 1px solid #f4c9c2; }

/* ---------- faq ---------- */
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; transition: box-shadow .2s var(--ease); }
.faq-item.open { box-shadow: var(--shadow-sm); border-color: var(--mint); }
.faq-q { width: 100%; text-align: left; background: none; border: 0; cursor: pointer; padding: 22px 26px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-family: var(--font-head); font-weight: 600; font-size: 16.5px; color: var(--ink); }
.faq-q .ic { width: 30px; height: 30px; border-radius: 50%; background: var(--mint); color: var(--teal); display: grid; place-items: center; flex-shrink: 0; transition: .25s var(--ease); }
.faq-item.open .faq-q .ic { background: var(--teal); color: #fff; transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s var(--ease); }
.faq-a-inner { padding: 0 26px 24px; color: var(--muted); font-size: 15.5px; }

/* ---------- franchise CTA ---------- */
.franchise .wrap { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px; align-items: center; background: var(--teal-deep); border-radius: var(--r-xl); padding: 56px; color: #fff; position: relative; overflow: hidden; }
.franchise .wrap::before { content: ""; position: absolute; right: -60px; bottom: -80px; width: 300px; height: 300px; border-radius: 50%; background: rgba(245,166,35,0.16); }
.franchise .eyebrow { color: var(--lime); position: relative; z-index: 1; }
.franchise h2 { color: #fff; font-size: clamp(28px, 3.6vw, 40px); position: relative; z-index: 1; }
.franchise p { color: rgba(255,255,255,0.82); font-size: 17px; margin-top: 14px; position: relative; z-index: 1; }
.franchise .fr-actions { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 14px; }
.fr-stats { display: flex; gap: 28px; }
.fr-stats .b { font-family: var(--font-head); font-weight: 800; font-size: 32px; } .fr-stats .s { font-size: 13px; color: rgba(255,255,255,0.75); }

/* ---------- footer ---------- */
.footer { background: var(--teal-deep); color: rgba(255,255,255,0.78); padding: 72px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer .logo-text .a, .footer .logo-text .b { color: #fff; } .footer .logo-text .b { color: var(--lime); }
.footer-tag { margin-top: 16px; font-size: 15px; max-width: 300px; line-height: 1.65; }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,0.1); display: grid; place-items: center; transition: background .18s var(--ease); }
.footer-social a:hover { background: rgba(255,255,255,0.2); }
.footer-social svg { width: 18px; height: 18px; color: #fff; }
.footer-col h4 { color: #fff; font-family: var(--font-head); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 11px; }
.footer-col a, .footer-col address { font-size: 14.5px; color: rgba(255,255,255,0.74); font-style: normal; line-height: 1.6; transition: color .18s var(--ease); }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.13); padding-top: 26px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 13.5px; color: rgba(255,255,255,0.6); }

/* ---------- scroll reveal ---------- */
.reveal { opacity: 1; transform: none; transition: opacity .7s var(--ease), transform .7s var(--ease); }
html.anim-ready .reveal { opacity: 0; transform: translateY(30px); }
html.anim-ready .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html.anim-ready .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ---------- responsive ---------- */
/* nav collapses earlier than the content grids to avoid tablet overflow */
@media (max-width: 980px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; position: absolute; top: 76px; left: 0; right: 0; background: #fff; padding: 16px 24px 22px; box-shadow: var(--shadow-md); border-bottom: 1px solid var(--border); }
  .nav-links.open a { padding: 11px 0; width: 100%; font-size: 17px; } .nav-links.open a::after { display: none; }
}
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 60px; }
  .hero-visual { max-width: 460px; }
  .values .wrap { grid-template-columns: 1fr 1fr; }
  .value:nth-child(3) { border-left: 0; padding-left: 8px; }
  .method-grid { grid-template-columns: 1fr 1fr; }
  .method-grid::before { display: none; }
  .benefits-grid, .centres-grid, .review-grid, .res-grid { grid-template-columns: 1fr 1fr; }
  .price-wrap, .app-grid, .buddy-card, .franchise .wrap, .pricing .price-wrap { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .section { padding: 76px 0; }
  .hubs-grid, .benefits-grid, .centres-grid, .review-grid, .res-grid { grid-template-columns: 1fr; }
  .method-grid { grid-template-columns: 1fr; }
  .values .wrap { grid-template-columns: 1fr 1fr; gap: 6px; padding-block: 16px; }
  .value { padding: 12px 6px; } .value + .value { border-left: 0; padding-left: 6px; }
  .buddy-card, .franchise .wrap { padding: 36px 26px; }
  .price-card, .hub, .assess-body, .assess-top { padding-left: 24px; padding-right: 24px; }
  .fgrid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-float.f1 { left: 0; } .hero-float.f2 { right: 0; }
}
@media (max-width: 480px) {
  .wrap { padding: 0 18px; }
  .footer-grid { grid-template-columns: 1fr; }
  .nav-cta .hide-sm { display: none; }
  .price-amt .num { font-size: 60px; }
  .steps-ind .lbl { display: none; }
}
