/* AI Tutor public pages (/ai-tutor, /ai-tutor/<exam>, /ai-tutor/solved/<slug>), 2026-11-29.
   Loaded only on those pages. Public type rule: Inter 600 headings, hero max 48px,
   section headings max 36px. Buttons use the homepage's darker orange so white text
   passes 4.5:1. Hero option A (see roadmap design/hero-a.html; B = hero-b.html). */
html body a.np-btn-primary{background:#B9530A;color:#fff;font-weight:600}
html body a.np-btn-primary:hover{background:#9A4508}
html body .tl-hero a.np-btn-ghost,html body .tl-band a.np-btn-ghost{background:transparent;color:#fff;border:1.5px solid rgba(255,255,255,.45)}
.np-eyebrow{font-weight:600;letter-spacing:.04em}
.np-eyebrow-sm{color:var(--sp-blue,#1563D6);font-weight:600}
.np-section-title{font-weight:600;font-size:clamp(1.5rem,3vw,2.25rem);letter-spacing:-.2px}
.np-section{padding:4rem 1.25rem}
.np-section-inner{max-width:1180px}
.np-cta-band h2{font-weight:600}
.tl-lead{font-size:1.05rem;color:#334155;line-height:1.75;max-width:820px;margin:0 0 2rem}
.tl-muted,.tl-note{color:#475569;font-size:.93rem;line-height:1.7;margin-top:1.25rem}
.tl-narrow{max-width:880px}
.tl-sub{font-size:1.15rem;font-weight:600;color:#0f172a;margin:2.25rem 0 1rem}
.tl-link{color:var(--sp-blue-2,#0F4FB0);font-weight:600}
.tl-link:hover{text-decoration:underline}

/* Hero A: copy left, clip right, navy-free light band */
.tl-hero{background:var(--sp-banner-glow),linear-gradient(160deg,#0A2463,#061847);color:#fff;padding:3.25rem 1.25rem 3rem}
.tl-hero-in{max-width:1180px;margin:0 auto;display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:2.5rem;align-items:center}
.tl-hero h1{font-size:clamp(1.9rem,4.2vw,3rem);font-weight:600;line-height:1.15;color:#fff;margin:0 0 1rem;letter-spacing:-.4px}
.tl-hero h1 span{color:#9CC3FF}
.tl-herosub{margin:0 0 1.5rem;font-size:1.05rem;line-height:1.7;color:#DCE5F7}
.tl-hero .np-hero-btns{justify-content:flex-start}
.tl-oneline{font-size:.98rem;color:#fff;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.18);border-left:4px solid #9CC3FF;border-radius:10px;padding:12px 14px;margin:0 0 1rem;line-height:1.65}
.tl-trial{margin-top:1rem;font-size:.92rem;color:#14532d;font-weight:500}
.tl-hero .tl-trial{color:#B7F0D2}
.tl-trial-box{background:#ecfdf5;border:1px solid #a7f3d0;border-radius:12px;padding:12px 16px;margin:0 0 1.5rem}
.tl-hero-media{margin:0}
.tl-hero-media img,.tl-hero-video{width:100%;height:auto;aspect-ratio:16/10;object-fit:cover;display:block;border-radius:18px;border:1px solid #DCE7FA;background:#fff;box-shadow:0 18px 50px rgba(10,36,99,.14)}
.tl-hero-media figcaption{font-size:.78rem;color:#C2CEE8;margin-top:8px;text-align:center}
.tl-hero-exam .tl-hero-media img{aspect-ratio:auto}

/* sticky in-page links */
.tl-toc{position:sticky;top:64px;z-index:50;background:rgba(255,255,255,.96);border-bottom:1px solid #e5e7eb;display:flex;gap:4px;overflow-x:auto;padding:8px 1rem;scrollbar-width:none}
.tl-toc::-webkit-scrollbar{display:none}
.tl-toc a{flex:none;font-size:.85rem;font-weight:500;color:#334155;padding:6px 12px;border-radius:999px}
.tl-toc a:hover{background:var(--sp-blue-50,#EEF3FC);color:var(--sp-blue-2,#0F4FB0)}
section[id]{scroll-margin-top:120px}

/* videos */
.tl-videos{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.25rem}
.tl-video{margin:0;background:#fff;border:1px solid #e5e7eb;border-radius:14px;overflow:hidden}
.tl-video video,.tl-walk video{width:100%;height:auto;display:block;background:#0f172a;aspect-ratio:16/9}
.tl-video figcaption{padding:12px 14px;font-size:.88rem;color:#475569;line-height:1.55}
.tl-video figcaption b{display:block;color:#0f172a;font-weight:600;margin-bottom:3px}
.tl-walk{margin-top:2rem;max-width:900px}
.tl-walk h3{font-size:1.1rem;font-weight:600;margin-bottom:.75rem}

/* feature cards */
.tl-feats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.25rem}
.tl-feat{background:#fff;border:1px solid #e5e7eb;border-radius:16px;overflow:hidden;display:flex;flex-direction:column}
.tl-feat img{width:100%;height:auto;display:block;aspect-ratio:16/10;object-fit:cover;object-position:top;border-bottom:1px solid #eef0f4;background:#f8fafc}
.tl-feat-txt{padding:16px 18px 18px}
.tl-feat h3{font-size:1.05rem;font-weight:600;color:#0f172a;margin-bottom:6px}
.tl-feat p{font-size:.92rem;color:#475569;line-height:1.7}

/* how it works */
.tl-steps{list-style:none;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.25rem;counter-reset:s}
.tl-steps li{counter-increment:s;background:#fff;border:1px solid #e5e7eb;border-radius:16px;padding:16px}
.tl-steps img{width:100%;height:auto;display:block;border-radius:12px;margin-bottom:12px;background:#F6F8FC}
.tl-steps h3{font-size:1.05rem;font-weight:600;margin-bottom:6px}
.tl-steps h3::before{content:counter(s) ". ";color:var(--sp-blue,#1563D6)}
.tl-steps p{font-size:.92rem;color:#475569;line-height:1.7}
.tl-phones{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem;margin-top:2rem}
.tl-phone{width:100%;height:auto;display:block;border-radius:22px;border:6px solid #0f172a;background:#0f172a}

/* memory before/after */
.tl-ba{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.25rem}
.tl-ba-col{background:#fff;border:1px solid #e5e7eb;border-radius:16px;padding:16px 18px}
.tl-ba-after{border-color:#BFD3F5;box-shadow:0 10px 30px rgba(10,36,99,.08)}
.tl-ba-col img{width:100%;height:auto;display:block;border-radius:12px;margin-bottom:12px}
.tl-ba-col h3{font-size:1.05rem;font-weight:600;margin-bottom:8px}
.tl-ba-col ul{padding-left:1.1rem;color:#475569;font-size:.93rem;line-height:1.8}

/* exams */
.tl-exgroup{margin-bottom:1.25rem}
.tl-exgroup h3{font-size:.95rem;font-weight:600;color:#334155;margin-bottom:.5rem}
.tl-exams,.tl-chips{list-style:none;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.tl-exams a{display:inline-block;padding:8px 14px;border:1px solid #d6dbe4;border-radius:999px;background:#fff;font-weight:500;font-size:.9rem;color:#1e293b}
.tl-exams a:hover{border-color:var(--sp-blue,#1563D6);color:var(--sp-blue-2,#0F4FB0)}
.tl-chips li{padding:7px 14px;border-radius:999px;background:var(--sp-blue-50,#EEF3FC);color:#0F4FB0;font-size:.9rem;font-weight:500}
.tl-asks{padding-left:1.1rem;color:#334155;line-height:1.9}

/* samples */
.tl-samples{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.25rem}
.tl-sample{background:#fff;border:1px solid #e5e7eb;border-radius:16px;padding:18px 20px}
.tl-sample-tag{font-size:.78rem;font-weight:600;color:var(--sp-blue-2,#0F4FB0);margin-bottom:6px}
.tl-sample-q{font-size:1rem;font-weight:600;color:#0f172a;line-height:1.55;margin-bottom:10px}
.tl-sample-hint{font-size:.9rem;background:#fffbeb;border-radius:10px;padding:8px 12px;color:#713f12;margin-bottom:10px}
.tl-sample-steps{padding-left:1.2rem;font-size:.93rem;color:#334155;line-height:1.8;margin-bottom:8px}
.tl-sample-ans{font-size:.95rem;color:#0f172a}
.tl-sample-check{font-size:.88rem;color:#14532d;background:#f0fdf4;border-radius:10px;padding:8px 12px;margin:8px 0 6px}

/* passes */
.tl-passes{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:1.25rem}
.tl-pass{background:#fff;border:1px solid #e5e7eb;border-radius:16px;padding:20px;display:flex;flex-direction:column}
.tl-pass-main{border:2px solid var(--sp-blue,#1563D6)}
.tl-pass-kind{font-size:.78rem;font-weight:600;color:var(--sp-blue-2,#0F4FB0)}
.tl-pass h3{font-size:1.1rem;font-weight:600;margin:4px 0 8px}
.tl-pass-price{font-size:1.8rem;font-weight:600;color:#0f172a}
.tl-pass-price s{font-size:1rem;color:#64748b;font-weight:400}
.tl-pass-price span{font-size:.9rem;color:#475569;font-weight:400}
.tl-pass ul{list-style:none;padding:0;margin:12px 0 16px;color:#334155;font-size:.92rem;line-height:1.9;flex:1}
.tl-pass ul li::before{content:"\2713  ";color:#15803d;font-weight:600}
.tl-pass .np-btn-primary{text-align:center}

/* parents / trust split */
.tl-split{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:2.5rem;align-items:start}
.tl-split-r{grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr)}
.tl-split>img{width:100%;height:auto;display:block;border-radius:18px;border:1px solid #e5e7eb;background:#fff}
.tl-dl{display:grid;gap:12px}
.tl-dl div{background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:12px 14px}
.tl-dl dt{font-weight:600;color:#0f172a;margin-bottom:2px}
.tl-dl dd{color:#475569;font-size:.92rem;line-height:1.65}

/* comparison */
.tl-table-wrap{overflow-x:auto;border:1px solid #e5e7eb;border-radius:16px;background:#fff}
.tl-table{width:100%;border-collapse:collapse;font-size:.9rem;min-width:640px}
.tl-table th,.tl-table td{padding:12px 14px;border-bottom:1px solid #eef0f4;text-align:left;vertical-align:top;color:#334155}
.tl-table thead th{background:#0A2463;color:#fff;font-weight:600}
.tl-table thead th.tl-us{background:var(--sp-blue-2,#0F4FB0)}
.tl-table tbody th{font-weight:600;color:#0f172a;width:24%}
.tl-table td.tl-us{background:#EEF3FC;color:#0A2463;font-weight:500}
.tl-table tbody tr:last-child th,.tl-table tbody tr:last-child td{border-bottom:none}

.tl-updated,.tl-more{font-size:.85rem;color:#475569;margin-top:1.5rem}
.tl-more a{color:var(--sp-blue-2,#0F4FB0);font-weight:600}
.tl-band{background:linear-gradient(160deg,#0A2463,#061847)}

@media (max-width:980px){
  .tl-hero-in,.tl-split,.tl-split-r{grid-template-columns:1fr}
  .tl-videos{grid-template-columns:repeat(2,minmax(0,1fr))}
  .tl-phones{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:640px){
  .np-section{padding:3rem 1rem}
  .tl-hero{padding:2rem 1rem 2.25rem}
  .tl-videos,.tl-feats,.tl-steps,.tl-ba,.tl-samples{grid-template-columns:1fr}
  .tl-hero .np-hero-btns{flex-direction:column;align-items:stretch}
  .tl-hero .np-hero-btns a{text-align:center}
  .tl-toc{top:64px}
}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* eyebrow on the navy hero: light blue, like the site banner (contrast) */
html body .tl-hero .np-eyebrow{color:#9CC3FF;background:rgba(156,195,255,.12);border-color:rgba(156,195,255,.35)}
