/* tp1059 design system — Deep Royal Navy, Warm Amber CTA, Emerald verified. */
:root {
  --tp-navy: #0F2942;
  --tp-cta: #F97316;
  --tp-cta-hover: #ea6a0c;
  --tp-emerald: #10B981;
  --tp-slate: #F8FAFC;
  --color-brand-50: #e8eef3;
  --color-brand-100: #d1dde6;
  --color-brand-200: #a3bbc9;
  --color-brand-300: #6e93aa;
  --color-brand-400: #3d6d8c;
  --color-brand-500: #1d4a6c;
  --color-brand-600: #163a56;
  --color-brand-700: #12324b;
  --color-brand-800: #0F2942;
  --color-brand-900: #0c2034;
  --color-brand-950: #081625;
  --font-heading: "Plus Jakarta Sans", "Plus Jakarta Sans Variable", ui-sans-serif, system-ui, sans-serif;
  --font-body: Inter, ui-sans-serif, system-ui, sans-serif;
}
html { font-display: swap; }
body { font-family: var(--font-body); background: var(--tp-slate); }
h1, h2, h3, h4, .h-section, .eyebrow { font-family: var(--font-heading); }
.btn-primary { background: linear-gradient(180deg, var(--tp-navy), #0c2034); box-shadow: 0 10px 28px -12px rgb(15 41 66 / .45); }
.btn-accent, .btn-cta { background: linear-gradient(180deg, #fb923c, var(--tp-cta)); color: #fff; box-shadow: 0 10px 28px -12px rgb(249 115 22 / .55); }
.btn-accent:hover, .btn-cta:hover { filter: brightness(1.05); }
.chip-verified { background: #ecfdf5; color: #047857; }
.tp-pill { display: inline-flex; align-items: center; gap: .4rem; border-radius: 999px; background: #fff; color: var(--tp-navy); font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; padding: .25rem .7rem; box-shadow: 0 1px 2px rgb(15 41 66 / .08); }
.tp-trust { display: grid; gap: .75rem; }
@media (min-width: 640px) { .tp-trust { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.tp-trust-item { display: flex; gap: .75rem; align-items: flex-start; background: #fff; border-radius: 1.25rem; padding: 1rem 1.1rem; box-shadow: 0 1px 2px rgb(15 41 66 / .05); }
.tp-start { display: grid; gap: 1rem; }
@media (min-width: 768px) { .tp-start { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.tp-start a { display: flex; flex-direction: column; height: 100%; border-radius: 1.5rem; background: #fff; padding: 1.25rem; text-decoration: none; color: inherit; box-shadow: 0 1px 2px rgb(15 41 66 / .05); transition: transform .15s ease, box-shadow .15s ease; }
.tp-start a:hover { transform: translateY(-2px); box-shadow: 0 12px 28px -16px rgb(15 41 66 / .25); }
.tp-mobile-bar { position: fixed; inset: auto 0 0 0; z-index: 50; display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; padding: .6rem .75rem calc(.6rem + env(safe-area-inset-bottom)); background: rgba(255,255,255,.94); border-top: 1px solid rgb(15 41 66 / .08); backdrop-filter: blur(12px); }
@media (min-width: 1024px) { .tp-mobile-bar { display: none; } }
.tp-mobile-bar a { display: flex; align-items: center; justify-content: center; gap: .4rem; min-height: 44px; border-radius: .9rem; font-size: .875rem; font-weight: 800; text-decoration: none; }
.tp-mobile-bar .tp-mb-find { background: var(--tp-cta); color: #fff; }
.tp-mobile-bar .tp-mb-wa { background: #ecfdf5; color: #047857; }
.tp-class-stage { display: grid; gap: .75rem; grid-template-columns: 1fr; }
@media (min-width: 1024px) {
  .tp-class-stage--split { grid-template-columns: 1.2fr .8fr; }
}
.tp-class-board { min-height: 320px; }
#tp-board canvas { touch-action: none; }
/* Mobile: tall enough to show the Jitsi UI (aspect-video is ~219px at 390px wide). Desktop keeps 16:9. */
.tp-class-frame {
  width: 100%;
  background: #0f172a;
}
.tp-class-frame iframe,
.tp-class-frame > div {
  width: 100% !important;
  height: 100% !important;
}
@media (max-width: 767.98px) {
  .tp-class-frame {
    aspect-ratio: auto;
    min-height: 70vh;
    height: calc(100dvh - 7.5rem - env(safe-area-inset-bottom, 0px));
  }
  body:has(.tp-mobile-bar) .tp-class-frame {
    height: calc(100dvh - 12rem - env(safe-area-inset-bottom, 0px));
  }
}
@media (min-width: 768px) {
  .tp-class-frame {
    aspect-ratio: 16 / 9;
    height: auto;
    min-height: 0;
  }
}
.tp-board-btn { border-radius: .5rem; border: 1px solid #e2e8f0; background: #fff; font-size: 11px; font-weight: 700; padding: .3rem .55rem; color: #0F2942; }
.tp-board-btn.is-on { background: #0F2942; color: #fff; border-color: #0F2942; }
.tp-board-swatch { width: 1.15rem; height: 1.15rem; border-radius: 999px; border: 2px solid #fff; box-shadow: 0 0 0 1px #cbd5e1; }
.tp-board-swatch.is-on { box-shadow: 0 0 0 2px #0F2942; }
.tp-hero-tabs { display: flex; gap: .4rem; padding: .35rem; background: #f1f5f9; border-radius: 999px; width: fit-content; }
.tp-hero-tabs button { border: 0; background: transparent; border-radius: 999px; padding: .45rem .9rem; font-size: .8rem; font-weight: 800; color: #475569; cursor: pointer; }
.tp-hero-tabs button.is-on { background: #fff; color: #0F2942; box-shadow: 0 1px 2px rgb(15 41 66 / .1); }

/* Google Website Translator: hidden top banner (avoids CLS) and compact header-matching gadget. */
.goog-te-banner-frame,.goog-te-balloon-frame,#goog-gt-tt,iframe.skiptranslate,.goog-te-gadget-icon{display:none!important}
body{top:0!important;position:static!important}
.goog-te-gadget{font-size:0;line-height:0}
.goog-te-gadget .goog-te-combo{font-size:13px;line-height:1.3;font-weight:700;color:#0F2942;border:1px solid #e2e8f0;border-radius:.75rem;padding:.35rem .6rem;background:#fff;max-width:100%}
html.tp-rtl,html[dir="rtl"]{direction:rtl}

/* Desktop sticky demo + WhatsApp, left side so it does not cover AI Papa on the right. */
.tp-desktop-cta { display: none; }
@media (min-width: 1024px) {
    .tp-desktop-cta { position: fixed; left: 1.25rem; bottom: 1.25rem; z-index: 40; display: flex; flex-direction: column; gap: .45rem; width: 16.5rem; }
    .tp-desktop-cta a { display: flex; align-items: center; justify-content: center; gap: .4rem; min-height: 44px; border-radius: .9rem; font-size: .875rem; font-weight: 800; text-decoration: none; box-shadow: 0 10px 28px rgb(15 41 66 / .16); }
    .tp-desktop-cta .tp-mb-find { background: var(--tp-cta); color: #fff; }
    .tp-desktop-cta .tp-mb-wa { background: #ecfdf5; color: #047857; }
}
.tp-certified-mark { display: inline-flex; align-items: center; gap: .7rem; padding: .35rem .9rem .35rem .35rem; border-radius: 999px; background: #153a66; color: #fff; box-shadow: 0 6px 16px rgb(15 41 66 / .18); }
.tp-certified-copy { display: flex; flex-direction: column; line-height: 1.15; padding-right: .2rem; }
.tp-certified-kicker { font-size: .65rem; letter-spacing: .08em; text-transform: uppercase; color: #f3d16a; font-weight: 800; }
.tp-certified-title { font-size: .92rem; font-weight: 800; }


/* Reference homepage (tp1066): header, indigo hero, pastel categories. */

/* ---- Header: one clean nowrap row at 1280 and 1440 ---- */
.tp-site-header { background:#fff; margin:0; border-bottom:0; position:sticky; top:0; z-index:60; }
.tp-header-bar {
  display:flex; align-items:center; gap:10px;
  height:64px; max-width:1440px; margin:0 auto;
  padding:0 16px; min-width:0;
}
.tp-header-brand { display:flex; align-items:center; flex:none; }
.tp-site-header .tp-header-brand img { height:36px !important; width:auto; }
.tp-site-header .tp-header-brand span[aria-hidden="true"] { font-size:1.15rem !important; }
.tp-ref-tagline { letter-spacing:.12em; text-transform:uppercase; font-size:9px; font-weight:800; padding:4px 8px; }
.tp-header-nav { display:none; align-items:center; gap:0; flex:1 1 auto; min-width:0; margin-right:8px; }
.tp-hnav {
  display:inline-flex; align-items:center; gap:2px;
  white-space:nowrap; flex:none;
  border:0; background:transparent; cursor:pointer;
  border-radius:8px; padding:6px 8px;
  font-size:13px; font-weight:650; color:#475569;
  text-decoration:none; line-height:1.2;
}
.tp-hnav:hover, .tp-hnav.is-on { color:#0F2942; background:#f8fafc; }
.tp-hdrop {
  position:absolute; left:0; top:100%; z-index:40;
  margin-top:4px; width:15.5rem; padding:8px;
  border-radius:1rem; background:#fff;
  box-shadow:0 16px 40px rgba(15,41,66,.14);
  border:1px solid #e2e8f0;
}
.tp-hdrop a { display:block; border-radius:10px; padding:8px 12px; font-size:13px; font-weight:650; color:#0F2942; text-decoration:none; }
.tp-hdrop a:hover { background:#f1f5f9; }
.tp-header-actions { margin-left:12px; display:flex; align-items:center; gap:10px; flex:none; white-space:nowrap; padding-left:8px; border-left:1px solid #e2e8f0; }
.tp-header-actions > * { flex:none; }
.tp-hicon {
  display:grid; place-items:center; width:36px; height:36px;
  border-radius:10px; color:#334155; border:1px solid #e2e8f0; text-decoration:none;
}
.tp-header-currency { display:none; align-items:center; gap:4px; }
.tp-header-currency .tp-hicon-globe { display:inline-flex; color:#64748b; }
.tp-header-currency .tp-fx { margin:0; }
.tp-header-currency [data-currency-disclaimer] { display:none !important; }
.tp-header-currency #tp-currency { height:36px; max-width:6.6rem; }
.tp-site-header .tp-tz { display:none !important; }
.tp-site-header .tp-pwa-open { display:none !important; }
.tp-btn-login, .tp-btn-signup, .tp-h-dash { display:none; }
.tp-btn-login {
  align-items:center; justify-content:center;
  white-space:nowrap; flex:none; width:auto;
  border:1px solid #cbd5e1; border-radius:999px;
  padding:8px 14px; font-size:13px; font-weight:700; color:#334155;
  text-decoration:none; line-height:1; background:#fff;
}
.tp-btn-signup {
  align-items:center; justify-content:center;
  white-space:nowrap; flex:none; width:auto;
  border-radius:999px; padding:8px 16px;
  font-size:13px; font-weight:800; line-height:1; text-decoration:none;
}
.tp-h-dash { align-items:center; gap:8px; padding:4px 10px 4px 4px; border-radius:12px; border:1px solid #e2e8f0; font-size:13px; font-weight:650; text-decoration:none; }
.tp-header-burger {
  display:grid; place-items:center; width:40px; height:40px;
  border-radius:10px; border:1px solid #e2e8f0; background:#fff; color:#0F2942;
}
.tp-header-panel { border-top:1px solid #e2e8f0; background:#fff; }
.tp-nav-wide { display:none; }
.tp-nav-more { display:block; margin-right:4px; }
.tp-nav-more-compact { display:block; }
@media (min-width: 640px) {
  .tp-btn-login, .tp-btn-signup, .tp-h-dash { display:inline-flex; }
  .tp-header-currency { display:flex; }
}
@media (min-width: 1200px) {
  .tp-header-bar { height:70px; padding:0 20px; gap:8px; }
  .tp-header-nav { display:flex; }
  .tp-header-burger { display:none; }
  .tp-header-panel { display:none !important; }
}
@media (min-width: 1440px) {
  .tp-header-bar { padding:0 24px; }
  .tp-nav-wide { display:block; }
  .tp-nav-more-compact { display:none; }
  .tp-nav-more:not(.has-extras) { display:none; }
  .tp-nav-more-empty:not(.has-extras) { display:none; }
}

/* ---- Hero ---- */
.tp-ref-hero { background:#1e1b4b; margin:0; padding:0; position:relative; }
.tp-ref-hero-bg { background:linear-gradient(125deg,#1e1b4b 0%,#312e81 38%,#5b21b6 78%,#6d28d9 100%); }
.tp-ref-hero-inner {
  position:relative;
  display:grid;
  gap:1.75rem;
  max-width:1440px;
  margin:0 auto;
  padding:1.25rem 16px 6.5rem;
}
.tp-ref-h1 {
  margin-top:1.1rem;
  font-family:var(--font-heading),ui-sans-serif,system-ui,sans-serif;
  font-size:clamp(1.85rem,4.1vw,3.35rem);
  font-weight:800;
  line-height:1.08;
  letter-spacing:-.02em;
  text-wrap:balance;
  color:#fff;
}
.tp-ref-sub { margin-top:1.1rem; max-width:36rem; font-size:15px; line-height:1.7; color:#e0e7ff; }
.tp-ref-cta { margin-top:1.5rem; display:flex; flex-wrap:wrap; align-items:center; gap:12px; }
.tp-ref-cta-btn, .tp-ref-cta-outline {
  display:inline-flex; align-items:center; gap:8px;
  border-radius:999px; padding:12px 20px;
  font-size:14px; font-weight:800; text-decoration:none; white-space:nowrap;
}
.tp-ref-cta-outline { color:#fff; box-shadow:inset 0 0 0 1px rgba(255,255,255,.7); }
.tp-ref-cta-outline:hover { background:rgba(255,255,255,.1); }
.tp-ref-pill { background:rgba(255,255,255,.1); backdrop-filter:blur(8px); }
.tp-ref-accent { color:#f6d154; position:relative; display:inline-block; }
.tp-ref-swoosh { display:block; height:10px; margin-top:2px; background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 180 12' fill='none'%3E%3Cpath d='M2 8c40-8 90-8 176 0' stroke='%23f6d154' stroke-width='3.2' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat; }
.tp-ref-btn-yellow { background:#f6d154; color:#1e1b4b; box-shadow:0 8px 20px -10px rgba(246,209,84,.8); }
.tp-ref-btn-yellow:hover { background:#ffdf6a; color:#1e1b4b; }
.tp-ref-chips { list-style:none; margin:1.35rem 0 0; padding:0; display:flex; flex-wrap:wrap; gap:10px 18px; }
.tp-ref-chips li { display:inline-flex; align-items:center; gap:6px; margin:0; padding:0; border:0; background:none; color:#d1fae5; font-size:13px; font-weight:650; white-space:nowrap; }
.tp-ref-chips li svg { width:14px; height:14px; color:#34d399; flex:none; }
@media (min-width: 1024px) {
  .tp-ref-chips { flex-wrap:nowrap; }
}

.tp-ref-hero-visual { position:relative; display:grid; gap:12px; min-height:0; }
.tp-ref-hero-photo {
  position:relative;
  min-height:320px;
  height:100%;
  border-radius:28px;
  overflow:hidden;
  box-shadow:0 40px 80px -28px rgba(15,10,40,.65);
}
.tp-ref-hero-photo > picture {
  display:block; width:100%; height:100%;
  position:static;
}
.tp-ref-hero-photo > picture img,
.tp-ref-hero-photo .tp-ref-hero-img {
  display:block; width:100%;
  height:320px;
  object-fit:cover; object-position:82% 16%;
}

.tp-ref-glass { background:rgba(255,255,255,.9); backdrop-filter:blur(16px); box-shadow:0 10px 30px -16px rgba(15,10,40,.45); }
.tp-ref-live {
  position:absolute; top:8px; right:8px; z-index:3;
  width:34%; max-width:168px;
  overflow:hidden; border-radius:14px; padding:6px;
  background:rgba(255,255,255,.94); backdrop-filter:blur(16px);
  box-shadow:0 12px 32px rgba(15,10,40,.28);
}
@media (min-width: 1024px) {
  .tp-ref-live { width:32%; max-width:160px; top:10px; right:10px; }
}
.tp-ref-live-bar { display:flex; align-items:center; justify-content:space-between; padding:0 2px 6px; font-size:10px; font-weight:650; color:#475569; }
.tp-ref-live-dot { display:inline-flex; align-items:center; gap:4px; border-radius:999px; background:#dc2626; color:#fff; padding:2px 8px; font-size:10px; font-weight:800; letter-spacing:.06em; }
.tp-ref-live-dot span { width:6px; height:6px; border-radius:99px; background:#fff; }
.tp-ref-live-pic { overflow:hidden; border-radius:10px; }
.tp-ref-live > p { margin:6px 2px 0; font-size:11px; font-weight:650; color:#334155; }
.tp-ref-plan {
  position:absolute; left:14px; bottom:14px; z-index:3;
  margin:0; border-radius:999px; padding:7px 12px;
  font-size:11px; font-weight:800; color:#1e293b;
  background:rgba(255,255,255,.92); backdrop-filter:blur(16px);
  box-shadow:0 8px 20px rgba(15,10,40,.2);
}

.tp-ref-tiles { list-style:none; margin:0; padding:0; display:grid; gap:8px; }
.tp-ref-tile { display:flex; align-items:center; gap:10px; border-radius:16px; padding:10px 12px; }
.tp-ref-tile strong { display:block; font-size:13px; font-weight:800; color:#0f172a; font-style:normal; }
.tp-ref-tile em { display:block; font-size:11px; font-weight:650; color:#64748b; font-style:normal; }
.tp-ref-tile-icon { display:grid; place-items:center; width:36px; height:36px; border-radius:10px; flex:none; }
.tp-ref-tile-icon svg { width:18px; height:18px; }
.tp-ref-tile-live { background:#dbeafe; color:#1d4ed8; }
.tp-ref-tile-notes { background:#ffedd5; color:#c2410c; }
.tp-ref-tile-papers { background:#fae8ff; color:#a21caf; }
.tp-ref-tile-doubt { background:#dcfce7; color:#15803d; }

@media (min-width: 1024px) {
  .tp-ref-hero-inner {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.15fr);
    align-items:stretch;
    gap:2rem;
    min-height:560px;
    padding:1.5rem 24px 7.5rem;
  }
  .tp-ref-hero-visual {
    grid-template-columns: minmax(0,1fr) 13.75rem;
    align-items:stretch;
    min-height:520px;
  }
  .tp-ref-hero-photo { min-height:100%; height:100%; }
  .tp-ref-hero-photo > picture img,
  .tp-ref-hero-photo .tp-ref-hero-img { height:520px; }
  .tp-ref-tiles { align-content:center; }
  .tp-ref-tile { padding:14px 14px; }
}

/* ---- Category strip (pastel tiles, overlaps hero) ---- */
.tp-ref-cats-wrap { position:relative; z-index:10; margin-top:-5.5rem; padding:0 16px; }
.tp-ref-cats-inner { max-width:1440px; margin:0 auto; }
.tp-ref-cats {
  display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px;
  padding:12px; border-radius:28px;
  background:#fff; box-shadow:0 24px 60px -28px rgba(15,41,66,.35);
}
.tp-ref-cat {
  display:flex; flex-direction:column; gap:8px;
  border-radius:20px; padding:16px 14px;
  text-decoration:none; min-height:118px;
  transition:transform .15s ease, box-shadow .15s ease;
}
.tp-ref-cat:hover { transform:translateY(-2px); box-shadow:0 10px 20px rgba(15,41,66,.1); }
.tp-ref-cat-icon {
  display:grid; place-items:center;
  width:48px; height:48px; border-radius:14px;
  background:rgba(255,255,255,.7);
}
.tp-ref-cat-icon svg { width:26px; height:26px; }
.tp-ref-cat-title { font-size:15px; font-weight:800; color:#0f172a; }
.tp-ref-cat-sub { font-size:12px; font-weight:550; color:#475569; line-height:1.35; }
.tp-ref-cat-school { background:#dbeafe; color:#1d4ed8; }
.tp-ref-cat-exam { background:#fef3c7; color:#b45309; }
.tp-ref-cat-lang { background:#fce7f3; color:#be185d; }
.tp-ref-cat-skills { background:#d1fae5; color:#047857; }
.tp-ref-cat-hobby { background:#ede9fe; color:#6d28d9; }
.tp-ref-cat-abroad { background:#e0f2fe; color:#0369a1; }
@media (min-width: 640px) { .tp-ref-cats { grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media (min-width: 1024px) {
  .tp-ref-cats-wrap { margin-top:-6.25rem; padding:0 24px; }
  .tp-ref-cats { grid-template-columns:repeat(6,minmax(0,1fr)); padding:14px; gap:12px; }
}

/* ---- Trust row ---- */
.tp-ref-trust { padding:2.5rem 0 1.5rem; }
.tp-ref-trust-title { text-align:center; font-size:1.25rem; font-weight:800; color:#0f172a; margin:0; }
.tp-ref-trust-list { list-style:none; margin:1.5rem auto 0; padding:0; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; max-width:64rem; }
.tp-ref-trust-list li { display:flex; flex-direction:column; align-items:center; text-align:center; gap:6px; padding:16px 10px; }
.tp-ref-trust-icon { display:grid; place-items:center; width:48px; height:48px; border-radius:999px; }
.tp-ref-trust-icon svg { width:22px; height:22px; }
.tp-ref-trust-icon.is-verify { background:#dbeafe; color:#1d4ed8; }
.tp-ref-trust-icon.is-safe { background:#dcfce7; color:#15803d; }
.tp-ref-trust-icon.is-foundation { background:#fef3c7; color:#b45309; }
.tp-ref-trust-icon.is-world { background:#e0f2fe; color:#0369a1; }
.tp-ref-trust-label { font-size:14px; font-weight:800; color:#0f172a; }
.tp-ref-trust-sub { font-size:12px; font-weight:550; color:#64748b; }
@media (min-width: 768px) { .tp-ref-trust-list { grid-template-columns:repeat(4,minmax(0,1fr)); } }

.tp-ref-aud-mint{background:#ecfdf5}
.tp-ref-aud-lilac{background:#f5f3ff}
.tp-ref-aud-peach{background:#fff7ed}
@media (prefers-reduced-motion: reduce){ .tp-ref-cat{transition:none} }


/* tp1067 chrome: one-click language, sticky CTA after hero, nowrap nav. */
.tp-lang-menu { max-height:min(70vh, 28rem); overflow:auto; z-index:70; }
.tp-lang-item {
  display:block; width:100%; text-align:left;
  border:0; background:transparent; cursor:pointer;
  border-radius:10px; padding:8px 10px;
  font-size:13px; font-weight:650; color:#0f172a;
}
.tp-lang-item:hover, .tp-lang-item.is-on { background:#f1f5f9; }
.tp-google-translate, #google_translate_element,
#google_translate_element .goog-te-combo, #google_translate_element .goog-te-gadget { display:none !important; height:0 !important; overflow:hidden !important; }
[data-tp-sticky-cta]:not(.is-visible) {
  opacity:0 !important;
  visibility:hidden !important;
  pointer-events:none !important;
  transform:translateY(120%);
}
[data-tp-nav] { white-space:nowrap; }
[data-tp-nav] > [data-tp-nav-item],
[data-tp-nav] .tp-hnav { white-space:nowrap; }
@media (min-width: 1200px) {
  [data-tp-nav] { font-size:12.5px; }
}

/* Visible “Tutor Papa Foundation” name: bold, slightly larger, inherit colour. */
.tp-foundation-name { font-weight: 700; font-size: 1.1em; line-height: inherit; color: inherit; }

/* Inline text links: navy on light, gold on dark. Bold. Gradient underline is in tp-motion.css. */
a.tp-text-link {
    color: #1c5596 !important;
    font-weight: 700;
    text-decoration: none;
    text-underline-offset: 3px;
}
a.tp-text-link:hover,
a.tp-text-link:focus-visible {
    color: #153a66 !important;
}
.dark a.tp-text-link,
.bg-night-950 a.tp-text-link,
footer a.tp-text-link {
    color: #F5B301 !important;
}
.dark a.tp-text-link:hover,
.dark a.tp-text-link:focus-visible,
.bg-night-950 a.tp-text-link:hover,
.bg-night-950 a.tp-text-link:focus-visible,
footer a.tp-text-link:hover,
footer a.tp-text-link:focus-visible {
    color: #FFC933 !important;
}
footer .tp-foundation-name,
.bg-night-950 .tp-foundation-name {
    color: #fff !important;
}
.prose-tp a {
    color: #1c5596 !important;
    font-weight: 700;
    text-decoration: none;
    text-underline-offset: 3px;
}
.prose-tp a:hover,
.prose-tp a:focus-visible {
    color: #153a66 !important;
}
.dark .prose-tp a { color: #F5B301 !important; }
.dark .prose-tp a:hover,
.dark .prose-tp a:focus-visible { color: #FFC933 !important; }

/* Parent/student payment notices: bold brand blue; light blue on dark (WCAG AA). */
.tp-pay-notices { margin: 0 0 1rem; }
.tp-pay-notices p { margin: 0 0 0.55em; font-weight: 700; color: #1c5596; line-height: 1.55; font-size: 0.95rem; }
.tp-pay-notices p:last-child { margin-bottom: 0; }
.dark .tp-pay-notices p,
.bg-night-950 .tp-pay-notices p { color: #9cc9ff; }
.tp-join-action { display: flex; flex-direction: column; align-items: flex-start; gap: 0.35rem; }
.tp-join-hint { margin: 0; max-width: 18rem; font-size: 0.8rem; line-height: 1.4; color: #334155; font-weight: 600; }
.dark .tp-join-hint { color: #cbd5e1; }

/* Pay-now CTA: bold filled brand blue, white text (AA on #1c5596). */
.tp-pay-now-btn, button.tp-pay-now-btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; color: #fff; background: #1c5596;
  border: 0; border-radius: 0.85rem; padding: 0.7rem 1.15rem;
  line-height: 1.3; text-align: center; cursor: pointer;
  box-shadow: 0 8px 18px -10px rgb(28 85 150 / .6);
}
.tp-pay-now-btn:hover, button.tp-pay-now-btn:hover { background: #153a66; color: #fff; }
.tp-pay-now-btn:focus-visible { outline: 3px solid #F5B301; outline-offset: 2px; }
.dark .tp-pay-now-btn, .dark button.tp-pay-now-btn { background: #1c5596; color: #fff; }
.tp-wait-pay { margin: 0; font-weight: 700; color: #1c5596; line-height: 1.45; }
.dark .tp-wait-pay { color: #9cc9ff; }

/* Header fit on tablets and phones (no buttons pushed off-screen at 360–1199px). */
@media (max-width: 1199.98px) {
  .tp-header-actions { margin-left:auto; }
}
@media (max-width: 899.98px) {
  .tp-site-header .tp-ref-tagline { display:none !important; }
  .tp-site-header .tp-header-currency { display:none !important; }
}
@media (max-width: 639.98px) {
  .tp-header-bar { gap:6px; padding:0 12px; }
  .tp-header-actions { gap:6px; padding-left:0; border-left:0; margin-left:auto; }
}

/* Trust strip: never let a long word (e.g. the CIN) spill outside its card on tablets. */
.tp-trust-item, .tp-trust-item > * { min-width:0; }
.tp-trust-item p { overflow-wrap:anywhere; }
@media (min-width: 640px) and (max-width: 1023.98px) { .tp-trust { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* tp1075: keep the fixed bottom widgets (demo/WhatsApp, Sponsor bar, AI Papa) off the last content.
   The footer gets extra bottom room (its own dark background fills it) so nothing ends up hidden behind them. */
@media (min-width:1024px){
  body:has(.tp-desktop-cta) > footer,
  body:has(#tp-sponsor-box:not(.tp-sp-hide)) > footer{padding-bottom:calc(7.25rem + env(safe-area-inset-bottom,0px))}
}
@media (max-width:1023.98px){
  body:has(#tp-sponsor-box:not(.tp-sp-hide)) > footer{padding-bottom:calc(7rem + env(safe-area-inset-bottom,0px))}
}

/* ==== Student-call fixes (Call / WhatsApp everywhere, parent banner, call-back card, Lucknow pages) ==== */
/* Header: number + WhatsApp. Phones show a call icon only (the bottom bar has both actions). */
.tp-h-call, .tp-h-wa { display:inline-flex; align-items:center; gap:6px; height:36px; border-radius:999px; text-decoration:none; font-weight:800; font-size:13px; line-height:1; }
.tp-h-call { padding:0 10px; background:#fff7e0; color:#7c4a00; border:1px solid #f6d154; }
.tp-h-call svg, .tp-h-wa svg { width:16px; height:16px; flex:none; }
.tp-h-call-num { display:none; }
.tp-h-wa { display:none; padding:0 10px; background:#e8faf0; color:#047857; border:1px solid #a7f3d0; }
.tp-h-wa span { display:none; }
@media (max-width:639.98px) { .tp-h-call { width:36px; padding:0; justify-content:center; } }
@media (min-width:1024px) {
  .tp-h-call-num { display:inline; }
  .tp-h-wa { display:inline-flex; width:36px; padding:0; justify-content:center; }
}
@media (min-width:1440px) { .tp-h-wa { width:auto; padding:0 12px; } .tp-h-wa span { display:inline; } }

/* Phone bottom bar: Call + WhatsApp, always visible. */
.tp-cf-bar { z-index:56; }
.tp-cf-bar a { gap:.45rem; font-size:.95rem; min-height:46px; }
.tp-cf-bar a svg { width:18px; height:18px; flex:none; }
.tp-mobile-bar .tp-mb-call { background:#f6d154; color:#1e1b4b; box-shadow:0 6px 16px -8px rgba(180,130,0,.8); }
.tp-mobile-bar .tp-mb-wa { background:#16a34a; color:#fff; }
@media (max-width:1023.98px) {
  body:has(.tp-cf-bar) { padding-bottom:calc(4.4rem + env(safe-area-inset-bottom,0px)); }
}
.tp-desktop-cta .tp-mb-call { background:#f6d154; color:#1e1b4b; }
.tp-desktop-cta .tp-mb-wa { background:#16a34a; color:#fff; }
.tp-desktop-cta .tp-mb-find { background:#fff; color:#0F2942; border:1px solid #e2e8f0; }

/* Call + WhatsApp button pair */
.tp-cf-cta { display:flex; flex-wrap:wrap; gap:10px; margin-top:1.1rem; }
.tp-cf-cta a { display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:48px; padding:0 18px; border-radius:999px; font-size:15px; font-weight:800; text-decoration:none; white-space:nowrap; flex:1 1 auto; }
.tp-cf-cta a svg { width:18px; height:18px; flex:none; }
.tp-cf-call { background:#f6d154; color:#1e1b4b; box-shadow:0 10px 24px -12px rgba(200,150,0,.9); }
.tp-cf-call:hover { background:#ffdf6a; color:#1e1b4b; }
.tp-cf-wa { background:#16a34a; color:#fff; }
.tp-cf-wa:hover { background:#15803d; color:#fff; }
@media (min-width:640px) { .tp-cf-cta a { flex:0 0 auto; } }

/* Parent-first home banner */
.tp-cf-hero .tp-cf-pill { display:inline-block; border-radius:999px; padding:6px 14px; font-size:12px; font-weight:700; color:rgba(255,255,255,.92); box-shadow:inset 0 0 0 1px rgba(255,255,255,.25); }
.tp-cf-hero .tp-cf-h1 { margin-top:.8rem; font-size:clamp(1.7rem,4vw,3.1rem); }
.tp-cf-hero .tp-cf-h1 .tp-ref-accent { display:inline; }
.tp-cf-hero .tp-cf-sub { margin-top:.8rem; font-size:15px; line-height:1.6; }
.tp-cf-sub-hi { display:block; margin-top:.35rem; color:#fde68a; font-weight:600; }
.tp-cf-hero-chips { margin-top:1rem; }
.tp-cf-hero-chips li { white-space:normal; }
.tp-cf-hero-form { min-width:0; }
@media (max-width:1023.98px) {
  .tp-cf-hero-inner { gap:1.1rem; padding-top:1rem; }
  .tp-cf-hero .tp-cf-chips, .tp-cf-hero-chips { display:none; }
}
@media (min-width:1024px) {
  .tp-cf-hero-inner { grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr); align-items:center; min-height:0; padding-top:2rem; }
  .tp-cf-hero-chips { flex-wrap:wrap; }
  .tp-cf-hero-form { max-width:30rem; justify-self:end; width:100%; }
}

/* Call-back card */
.tp-cf-card { background:#fff; color:#0f172a; border-radius:24px; padding:18px; box-shadow:0 24px 60px -28px rgba(15,10,40,.55); border:1px solid #e2e8f0; scroll-margin-top:6rem; }
.tp-cf-card-kicker { margin:0; font-size:11px; font-weight:800; letter-spacing:.06em; text-transform:uppercase; color:#047857; }
.tp-cf-card-title { margin:.25rem 0 0; font-size:1.2rem; line-height:1.25; font-weight:800; color:#0F2942; }
.tp-cf-form { display:grid; gap:10px; margin-top:12px; }
.tp-cf-field { display:grid; gap:4px; font-size:12px; font-weight:700; color:#475569; min-width:0; }
.tp-cf-field input, .tp-cf-field select { width:100%; min-width:0; height:46px; border-radius:12px; border:1px solid #cbd5e1; background:#fff; padding:0 12px; font-size:16px; font-weight:600; color:#0f172a; }
.tp-cf-field input:focus, .tp-cf-field select:focus { outline:3px solid #fde68a; border-color:#d4a106; }
.tp-cf-submit { height:50px; border:0; border-radius:999px; background:#0F2942; color:#fff; font-size:16px; font-weight:800; cursor:pointer; }
.tp-cf-submit:hover { background:#153a66; }
.tp-cf-note { margin:0; font-size:12px; line-height:1.5; color:#64748b; }
.tp-cf-note a { color:#0F2942; font-weight:800; text-decoration:underline; }
@media (min-width:480px) and (max-width:1023.98px) {
  .tp-cf-form { grid-template-columns:1fr 1fr; }
  .tp-cf-form > .tp-cf-field:last-of-type, .tp-cf-submit, .tp-cf-note { grid-column:1 / -1; }
}
@media (min-width:1024px) { .tp-cf-card { padding:24px; } .tp-cf-card-title { font-size:1.35rem; } }

/* "Another subject or area?" banner */
.tp-cf-banner { display:grid; gap:12px; margin-top:16px; padding:18px; border-radius:20px; background:#fffbeb; border:1px solid #fde68a; color:#3f2d00; }
.tp-cf-banner p { margin:0; font-size:14px; line-height:1.55; }
.tp-cf-banner a { color:#0F2942; font-weight:800; }
.tp-cf-banner-title { font-size:1.05rem !important; font-weight:800; color:#0F2942; }
.tp-cf-banner span[lang="hi"] { display:block; margin-top:2px; color:#6b4f00; }
.tp-cf-banner .tp-cf-cta { margin-top:0; }
.tp-cf-banner .tp-cf-cta a { min-height:44px; font-size:14px; }
.tp-cf-banner .tp-cf-wa { color:#fff; }
.tp-cf-banner .tp-cf-call { color:#1e1b4b; }
.tp-cf-banner-actions { display:grid; gap:8px; }
.tp-cf-banner-link { font-size:14px; text-decoration:underline; }
@media (min-width:900px) { .tp-cf-banner { grid-template-columns:minmax(0,1fr) auto; align-items:center; } .tp-cf-banner-actions { justify-items:end; } }

/* Lucknow landing pages */
.tp-cf-lhero { background:linear-gradient(180deg,#eef4ff 0%,#f8fafd 100%); border-bottom:1px solid rgba(226,232,240,.8); }
.tp-cf-lhero-inner { max-width:1200px; margin:0 auto; padding:1.25rem 16px 1.75rem; display:grid; gap:1.25rem; }
.tp-cf-eyebrow { margin:0; font-size:12px; font-weight:800; letter-spacing:.06em; text-transform:uppercase; color:#1c5596; }
.tp-cf-lh1 { margin:.4rem 0 0; font-size:clamp(1.65rem,3.6vw,2.6rem); line-height:1.12; font-weight:800; color:#0F2942; text-wrap:balance; }
.tp-cf-hi { margin:.4rem 0 0; font-size:15px; font-weight:600; color:#7c4a00; }
.tp-cf-lead { margin:.7rem 0 0; font-size:15px; line-height:1.65; color:#334155; max-width:40rem; }
.tp-cf-ticks { list-style:none; margin:.9rem 0 0; padding:0; display:flex; flex-wrap:wrap; gap:6px 14px; font-size:13px; font-weight:700; color:#047857; }
.tp-cf-ticks li::before { content:"✓ "; }
@media (max-width:1023.98px) { .tp-cf-lead { display:none; } .tp-cf-ticks { display:none; } }
@media (min-width:1024px) {
  .tp-cf-lhero-inner { grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr); align-items:center; padding:2rem 24px 2.25rem; gap:2.5rem; }
}
.tp-cf-wrap { max-width:1200px; margin:0 auto; padding:0 16px 2rem; }
.tp-cf-section { margin-top:2rem; }
.tp-cf-h2 { margin:0; font-size:1.35rem; line-height:1.25; font-weight:800; color:#0F2942; }
.tp-cf-h3 { margin:1.1rem 0 0; font-size:1.05rem; font-weight:800; color:#0F2942; }
.tp-cf-p { margin:.6rem 0 0; font-size:15px; line-height:1.7; color:#334155; max-width:52rem; }
.tp-cf-small { font-size:13px; color:#64748b; line-height:1.6; }
.tp-cf-list { margin:.6rem 0 0; padding-left:1.2rem; display:grid; gap:4px; font-size:15px; color:#334155; }
.tp-cf-chips { display:flex; flex-wrap:wrap; gap:8px; margin:.7rem 0 0; }
.tp-cf-chips span, .tp-cf-chips a { display:inline-block; border-radius:999px; padding:6px 12px; background:#fff; border:1px solid #e2e8f0; font-size:13px; font-weight:700; color:#0F2942; text-decoration:none; }
.tp-cf-chips--links a:hover { border-color:#93c5fd; background:#eff6ff; }
.tp-cf-tutors { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; margin-top:12px; }
@media (min-width:1024px) { .tp-cf-tutors { grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; } }
.tp-cf-table-wrap { margin-top:.8rem; overflow-x:auto; max-width:36rem; }
.tp-cf-table { width:100%; border-collapse:collapse; font-size:14px; background:#fff; border-radius:14px; overflow:hidden; }
.tp-cf-table th, .tp-cf-table td { text-align:left; padding:10px 12px; border-bottom:1px solid #e2e8f0; }
.tp-cf-table th { background:#f1f5f9; font-weight:800; color:#0F2942; }
.tp-cf-faqs { display:grid; gap:8px; margin-top:.8rem; max-width:52rem; }
.tp-cf-faq { background:#fff; border:1px solid #e2e8f0; border-radius:14px; padding:12px 14px; }
.tp-cf-faq summary { cursor:pointer; font-weight:800; color:#0F2942; }
.tp-cf-faq p { margin:.5rem 0 0; color:#334155; line-height:1.6; font-size:14px; }
.tp-cf-office { display:grid; gap:12px; padding:18px; border-radius:20px; background:#fff; border:1px solid #e2e8f0; }
.tp-cf-office .tp-cf-cta { margin-top:0; }
@media (min-width:900px) { .tp-cf-office { grid-template-columns:minmax(0,1fr) auto; align-items:center; } }
.tp-cf-link { color:#1c5596; font-weight:800; text-decoration:underline; }

/* City / finder pages: call-back strip above the tutor list */
.tp-cf-cityhead { display:grid; gap:14px; margin-top:14px; }
@media (min-width:1024px) { .tp-cf-cityhead { grid-template-columns:minmax(0,1fr) minmax(0,26rem); align-items:start; gap:24px; } }
.tp-cf-cityhead .tp-cf-cta { margin-top:0; }
.tp-cf-localities { margin-top:10px; font-size:13px; color:#475569; line-height:1.9; }
.tp-cf-localities a { color:#1c5596; font-weight:700; text-decoration:underline; text-underline-offset:2px; margin-right:10px; white-space:nowrap; }
.dark .tp-cf-card, .dark .tp-cf-office, .dark .tp-cf-faq, .dark .tp-cf-table { background:#0f1b2d; color:#e2e8f0; border-color:rgba(255,255,255,.1); }
/* Student-call fixes — phones: the sticky Call/WhatsApp bar is always on screen, so the
   first screen gives its space to the 3-field call-back form instead of repeating the buttons. */
@media (max-width:1023.98px) { .tp-cf-cityhead { grid-template-columns:minmax(0,1fr); } }
.tp-cf-cityhead > * { min-width:0; }
@media (max-width:1023.98px) {
  .tp-cf-hero .tp-cf-cta, .tp-cf-lhero .tp-cf-cta, .tp-cf-cityhead .tp-cf-cta { display:none; }
  .tp-cf-cityhead > .tp-cf-card { order:-1; }
  .tp-cf-lhero .tp-cf-ticks { display:none; }
}
@media (max-width:639.98px) {
  .tp-cf-hero .tp-cf-pill { display:none; }
  .tp-cf-hero .tp-cf-h1 { margin-top:0; }
}
@media (max-width:1023.98px) {
  html.tp-cf-form-on #tp-sponsor-box { opacity:0; visibility:hidden; pointer-events:none; transition:opacity .2s, visibility 0s .2s; }
}
/* "Skip to content" link: .btn made it a 44px block above the header (blank strip on every page).
   Keep screen-reader-only elements out of the layout until they are focused. */
.sr-only:not(:focus):not(:focus-within) { position:absolute !important; width:1px !important; height:1px !important; min-height:0 !important; padding:0 !important; margin:-1px !important; overflow:hidden !important; clip-path:inset(50%) !important; white-space:nowrap !important; border:0 !important; }

/* Colourful Tutor Fee Calculator CTA (homepage hero + header + mobile menu) */
.tp-fee-cta {
  display:flex; align-items:center; gap:12px;
  margin-top:1rem; max-width:30rem;
  padding:10px 14px 10px 10px;
  border-radius:18px;
  text-decoration:none; color:#0F2942;
  background:linear-gradient(180deg,#fffdf3 0%,#fff 100%);
  border:2px solid #f6d154;
  box-shadow:0 12px 28px -16px rgba(0,0,0,.45), 0 0 0 3px rgba(246,209,84,.28);
}
.tp-fee-cta:hover, .tp-fee-cta:focus-visible {
  background:#fff7d6; border-color:#f5c518; color:#0F2942;
  outline:none;
}
.tp-fee-cta:focus-visible { box-shadow:0 0 0 3px #fff, 0 0 0 6px #f6d154; }
.tp-fee-cta-icon {
  flex:none; width:48px; height:48px;
  display:grid; place-items:center;
  border-radius:14px;
  background:linear-gradient(135deg,#fde68a,#fb923c 55%,#6d28d9);
  box-shadow:inset 0 0 0 2px rgba(255,255,255,.45);
}
.tp-fee-cta-icon svg { width:34px; height:34px; display:block; }
.tp-fee-cta-copy { min-width:0; flex:1 1 auto; }
.tp-fee-cta-copy strong { display:block; font-size:16px; font-weight:800; line-height:1.2; color:#0F2942; }
.tp-fee-cta-sub { display:block; margin-top:2px; font-size:13px; font-weight:650; color:#475569; line-height:1.35; overflow-wrap:anywhere; }
.tp-fee-cta-sub em { font-style:normal; color:#b45309; font-weight:800; }
.tp-fee-cta-go { flex:none; font-size:22px; font-weight:800; color:#1c5596; line-height:1; }
@media (max-width:639.98px) {
  .tp-fee-cta { margin-top:.85rem; padding:8px 12px 8px 8px; border-radius:16px; max-width:100%; }
  .tp-fee-cta-icon { width:42px; height:42px; border-radius:12px; }
  .tp-fee-cta-icon svg { width:30px; height:30px; }
  .tp-fee-cta-copy strong { font-size:15px; }
  .tp-fee-cta-sub { font-size:12px; }
}

.tp-fee-nav {
  display:inline-flex; align-items:center; gap:6px;
  height:36px; padding:0 8px 0 3px;
  border-radius:999px; text-decoration:none;
  font-weight:800; font-size:13px; line-height:1; color:#0F2942;
  background:#fff7e0; border:1px solid #f6d154; flex:none;
}
.tp-fee-nav:hover, .tp-fee-nav:focus-visible { background:#ffefb0; color:#0F2942; outline:none; }
.tp-fee-nav:focus-visible { box-shadow:0 0 0 3px rgba(246,209,84,.65); }
.tp-fee-nav-icon {
  width:28px; height:28px; display:grid; place-items:center;
  border-radius:8px; flex:none;
  background:linear-gradient(135deg,#fde68a,#fb923c 60%,#1c5596);
}
.tp-fee-nav-icon svg { width:20px; height:20px; display:block; }
.tp-fee-nav-label { display:none; white-space:nowrap; }
@media (min-width:1440px) { .tp-fee-nav { padding:0 10px 0 3px; } .tp-fee-nav-label { display:inline; } }
@media (max-width:639.98px) { .tp-fee-nav { width:36px; padding:0; justify-content:center; } }

.tp-fee-menu { display:flex; align-items:center; gap:12px; color:#0F2942; }
.tp-fee-menu .tp-fee-nav-icon { width:36px; height:36px; border-radius:10px; }
.tp-fee-menu .tp-fee-nav-icon svg { width:26px; height:26px; }
.tp-fee-menu-hi { display:block; font-size:13px; font-weight:700; color:#b45309; }
