:root{--bg:#F7FAFC;--surface:#FFFFFF;--text:#0F172A;--head:#136F63;--primary:#136F63;--secondary:#0B3C5D;--accent:#F59E0B;--success:#16A34A;--warning:#B45309;--error:#DC2626;--radius:12px;--shadow:0 2px 8px rgba(0,0,0,.06);--font:Atkinson Hyperlegible,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;--font2:Lexend,Atkinson Hyperlegible,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;--font-size:100%;--lh:1.7;--ls:0px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#fff;color:var(--text);font-family:var(--font);font-size:clamp(16px,1rem,18px);line-height:var(--lh);letter-spacing:var(--ls)}img{max-width:100%;height:auto}.wrap{max-width:1200px;margin:0 auto;padding:16px}.grid{display:grid;gap:16px}.grid.two{grid-template-columns:1fr}.grid.three{grid-template-columns:1fr}.grid.four{grid-template-columns:1fr}.site-header{background:var(--surface);border-bottom:1px solid #e5e7eb}.brand{display:flex;flex-direction:column;gap:8px}.brand-name{font-weight:700;color:var(--head);text-decoration:none;font-size:1.25rem}.tagline{margin:0;color:#334155}.site-nav ul{display:flex;flex-wrap:wrap;gap:8px;list-style:none;margin:8px 0 0 0;padding:0}.site-nav a{display:inline-block;padding:10px 14px;border-radius:10px;text-decoration:none;color:var(--primary);border:1px solid transparent}.site-nav a:focus,.site-nav a:hover{outline:3px solid var(--accent);outline-offset:2px}.skip-link{position:absolute;left:-9999px;top:auto;width:1px;height:1px;overflow:hidden}.skip-link:focus{position:static;width:auto;height:auto;background:var(--accent);color:#111;padding:8px;border-radius:8px}.access-toolbar{background:#eef2f7;border-top:1px solid #e5e7eb}.access-toolbar .controls{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.access-toolbar label{font-weight:600}.btn{background:var(--primary);color:#fff;border:none;border-radius:10px;padding:12px 16px;cursor:pointer;min-height:44px;font-weight:700;box-shadow:var(--shadow);transition:filter .15s ease}.btn:hover,.btn:focus{filter:brightness(.95);outline:3px solid var(--accent);outline-offset:2px}.btn.ghost{background:transparent;color:var(--primary);border:2px solid var(--primary)}.btn.small{padding:8px 12px}.hero{background:var(--bg)}.hero .lead{font-size:1.125rem;color:#334155}.hero .grid.two{align-items:center}.hero-points{list-style:disc;margin-left:20px;color:#334155}.trust{background:#fff}.searchbar{display:flex;gap:8px;align-items:center;margin-bottom:8px}.searchbar input[type=search]{flex:1;padding:12px;border-radius:10px;border:1px solid #cbd5e1}.filters fieldset{border:1px solid #e5e7eb;border-radius:10px;padding:10px}.filters legend{font-weight:700;color:var(--secondary)}.filters label{display:block;margin:6px 0}.help{color:#475569;font-size:.9rem}.tutors{background:#fff}.card{background:var(--surface);border:1px solid #e5e7eb;border-radius:12px;box-shadow:var(--shadow);padding:14px;display:flex;gap:12px}.card img{border-radius:10px;width:84px;height:84px;object-fit:cover}.card h3{margin:4px 0;color:var(--head)}.meta,.extras{color:#334155;font-size:.95rem}.badge{display:inline-block;background:#e6f4f1;color:#0b4b43;border-radius:999px;padding:2px 8px;margin:2px 4px 2px 0}.rating{font-weight:700;color:#0b4b43}.rate{font-weight:700}.card .actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:6px}.details{background:#f8fafc;border-radius:10px;padding:8px;margin-top:8px}.load-more{text-align:center;margin-top:8px}.pricing .plan{background:var(--surface);border:1px solid #e5e7eb;border-radius:12px;box-shadow:var(--shadow);padding:16px}.pricing .price{color:var(--secondary)}.steps{counter-reset:step;list-style:none;padding:0}.steps li{position:relative;padding-left:34px;margin:8px 0}.steps li:before{counter-increment:step;content:counter(step);position:absolute;left:0;top:0;background:var(--primary);color:#fff;border-radius:50%;width:26px;height:26px;display:grid;place-items:center;font-weight:700}.portal{background:var(--bg)}.screeners .disclaimer{color:#6b7280}.policies .policy-list{columns:2}.booking .summary{background:var(--bg);border-radius:12px;padding:12px}.sticky{position:sticky;top:16px}.price-box{background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:12px;margin-bottom:10px}.price-box .label{color:#334155}.total{font-size:1.25rem;font-weight:700}.field{display:flex;flex-direction:column;margin-bottom:8px}.field.full{grid-column:1/-1}.field input,.field select,.field textarea{padding:10px;border-radius:10px;border:1px solid #cbd5e1}.errors{color:#DC2626;margin-top:6px}.success{color:#16A34A}.site-footer{background:#fff;border-top:1px solid #e5e7eb;margin-top:24px}.small{font-size:.9rem;color:#475569}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}#ruler{position:fixed;left:0;right:0;height:48px;background:rgba(245,158,11,.2);top:20%;pointer-events:none;opacity:0;transition:opacity .2s ease}.high-contrast body,.high-contrast{background:#fff !important;color:#000 !important}.high-contrast a{color:#000 !important;text-decoration:underline}.high-contrast .btn{background:#000 !important;color:#fff !important}.focus-outline:focus{outline:3px solid var(--accent)}@media(min-width:720px){.grid.two{grid-template-columns:1fr 1fr}.grid.three{grid-template-columns:repeat(2,1fr)}.grid.four{grid-template-columns:repeat(2,1fr)}}@media(min-width:1024px){.grid.three{grid-template-columns:repeat(3,1fr)}.policies .policy-list{columns:3}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto}}/* Critical above-the-fold tweaks */.hero .bg-pattern{display:none}.hero .ctas .btn{min-width:180px}/* SAFETY */ html,body{background:#fff;color:#111!important;} h1,h2,h3,h4,h5,h6{color:#0f172a!important;} p,li,blockquote,small,.text,.copy{color:#111827!important;} a{color:#0d6efd!important;} a:hover,a:focus{color:#0a58ca!important;} .reveal{opacity:1!important;transform:none!important;} [hidden],.is-hidden{display:block!important;} .hero .bg-pattern,.page-overlay,.modal-backdrop{pointer-events:none!important;} .btn,.button{color:#fff!important;background-color:#0d6efd!important;border:none!important;} .btn.ghost,.button.ghost{color:#0d6efd!important;background:transparent!important;border:1px solid #0d6efd!important;}
/* === injected: safe theme tokens === */
:root {
  --bg:#ffffff; --surface:#f6f7f9; --surface-2:#eef1f6;
  --text:#0b0b0f; --muted:#374151; --primary:#0ea5e9;
  --accent:#14b8a6; --ring:#38bdf8; --success:#16a34a; --border:#e5e7eb;
}
[data-theme="dark"] {
  --bg:#0b1221; --surface:#0f172a; --surface-2:#111827;
  --text:#e5e7eb; --muted:#94a3b8; --primary:#3b82f6;
  --accent:#06b6d4; --ring:#7dd3fc; --success:#22c55e; --border:rgba(148,163,184,.22);
}
html,body{background:var(--bg);color:var(--text);}
a{color:var(--primary)} a:hover{color:var(--accent)}
.reveal{opacity:1;transform:none}
.reveal.use-reveal{opacity:0;transform:translateY(12px)}
.reveal.use-reveal.in-view{opacity:1;transform:none;transition:opacity .5s,transform .5s}

/* ===== SAFETY OVERRIDES (visible content, light theme) ===== */
html, body { background: #ffffff !important; color: #111111 !important; }
h1, h2, h3, h4, h5, h6 { color: #0f172a !important; }
p, li, blockquote, small, .text, .copy { color: #111827 !important; }
a { color: #0d6efd !important; } a:hover, a:focus { color: #0a58ca !important; }
.section, .hero, .about, .levels, .method, .testimonials, .faq, .contact { background: transparent !important; }
.card, .panel, .tile { background: #ffffff !important; color: #111827 !important; border-color: rgba(15, 23, 42, 0.12) !important; }
.reveal { opacity: 1 !important; transform: none !important; }
[hidden], .is-hidden { display: block !important; }
.hero .bg-pattern, .page-overlay, .modal-backdrop { pointer-events: none !important; }
.hero .container, .section .container { position: relative; z-index: 1; }
.btn, .button { color: #ffffff !important; background-color: #0d6efd !important; border: none !important; }
.btn.ghost, .button.ghost { color: #0d6efd !important; background: transparent !important; border: 1px solid #0d6efd !important; }
[data-theme="dark"] body { background: #0b0b0f !important; color: #f5f5f5 !important; }


/* === MOBILE NAV — BULLET-PROOF === */
.nav-toggle{display:none}
@media (max-width:768px){
  .header-inner{justify-content:space-between}
  .nav-toggle{display:inline-flex;align-items:center;justify-content:center}
  /* Force-hide desktop nav on mobile */
  #primary-menu{display:none !important; position:absolute; top:100%; left:0; right:0;
    background:#fff; border-top:1px solid #e5e7eb; box-shadow:0 10px 30px rgba(0,0,0,.08);
    z-index:9999; padding:.75rem 1rem;
  }
  #primary-menu > ul{display:flex !important; flex-direction:column; gap:.75rem; margin:0; padding:0; list-style:none}
  body.nav-open #primary-menu{display:block !important}
  .site-header{position:relative; z-index:10000}
}
@media (min-width:769px){
  .nav-toggle{display:none}
}

