/* ============================================================================
   Thisai IAS Academy — design system
   Brand tokens taken from the official brand sheet (navy + brass gold).
   Mobile-first, no framework. Shared across index.html, courses.html, blog.html.
   ========================================================================== */

:root {
  /* ---- Brand palette (from official logo / brand sheet) ---- */
  --ink:      #0a1730;   /* darkest navy — deep text / hero base */
  --navy:     #0d2f6b;   /* primary navy */
  --navy-700: #122a57;
  --blue:     #1247a6;   /* bright institutional blue accent */
  --blue-lt:  #e8eefa;
  --gold:     #b8861f;   /* brass gold */
  --gold-br:  #d9ae4a;   /* bright gold (gradient top) */
  --gold-hi:  #e2b957;   /* highlight gold */
  --gold-lt:  #f7edd6;   /* pale gold wash */
  --gold-dk:  #6b4e05;
  --paper:    #fcfbf8;   /* warm white page bg */
  --paper-2:  #f4f2ec;   /* alt section bg */
  --white:    #ffffff;
  --ink-body: #1c2636;   /* body text on light */
  --mute:     #5a6577;   /* secondary text */
  --line:     #e3e1da;   /* hairline */

  --maxw: 1140px;
  --rad: 5px;            /* institutional, slightly sharp */
  --rad-lg: 10px;
  --pill: 100px;
  --shadow: 0 14px 40px -18px rgba(10,23,48,.30);
  --shadow-sm: 0 4px 16px -8px rgba(10,23,48,.25);

  --font-head: "Newsreader", Georgia, "Times New Roman", serif;
  --font-body: "Public Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-ta:   "Noto Sans Tamil", var(--font-body);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 118px; }
body {
  margin: 0; font-family: var(--font-body); color: var(--ink-body);
  background: var(--paper); line-height: 1.62; font-size: 17px; overflow-x: hidden;
}
/* Tamil typography when the page is in Tamil */
html[lang="ta"] body { font-family: var(--font-ta); line-height: 1.75; }
html[lang="ta"] h1, html[lang="ta"] h2, html[lang="ta"] h3, html[lang="ta"] h4 { font-family: var(--font-ta); font-weight: 700; letter-spacing: 0; }

img, iframe, svg { max-width: 100%; }
a { color: var(--blue); }

h1,h2,h3,h4 { font-family: var(--font-head); font-weight: 600; line-height: 1.12; color: var(--navy); margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 6.5vw, 3.3rem); }
h2 { font-size: clamp(1.6rem, 5vw, 2.4rem); margin-bottom: .5em; }
h3 { font-size: 1.22rem; }
p { margin: 0 0 1rem; }

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

.section { padding: 58px 0; }
.section-alt { background: var(--paper-2); }
@media (min-width: 760px) { .section { padding: 82px 0; } }

.eyebrow { font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-dk); margin: 0 0 .6rem; }
.eyebrow-blue { color: var(--blue); }
.eyebrow-light { color: var(--gold-br); }
.lead { font-size: 1.12rem; max-width: 64ch; color: #28313f; }
html[lang="ta"] .eyebrow { letter-spacing: .04em; }

/* -------------------------------------------------------------- Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
  font-family: var(--font-body); font-weight: 700; font-size: 1rem; line-height: 1;
  padding: 14px 24px; border-radius: var(--pill); text-decoration: none; cursor: pointer;
  border: 2px solid transparent; transition: transform .12s ease, box-shadow .15s ease, background .15s ease;
  text-align: center; position: relative; overflow: hidden;
}
html[lang="ta"] .btn { font-family: var(--font-ta); }
.btn:active { transform: translateY(1px); }
.btn-gold { background: linear-gradient(150deg, var(--gold-hi), var(--gold)); color: var(--ink); box-shadow: var(--shadow-sm); }
.btn-gold:hover { background: linear-gradient(150deg, #efcf7a, var(--gold-br)); }
/* gold shine sweep */
.btn-gold::after {
  content: ""; position: absolute; inset: 0; transform: translateX(-120%);
  background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.55) 50%, transparent 70%);
}
.btn-gold:hover::after { transform: translateX(120%); transition: transform .7s ease; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--blue); }
.btn-ghost { background: transparent; border-color: var(--navy); color: var(--navy); }
.btn-ghost:hover { background: rgba(13,47,107,.06); }
.btn-ghost-light { background: transparent; border-color: rgba(255,255,255,.5); color: #fff; }
.btn-ghost-light:hover { background: rgba(255,255,255,.12); }
.btn-sm { padding: 9px 16px; font-size: .9rem; }
.btn-block { width: 100%; }

.ph { background: var(--gold-lt); color: var(--gold-dk); border: 1px dashed var(--gold); padding: 0 .4em; border-radius: 4px; font-weight: 700; font-size: .92em; white-space: nowrap; }

/* ===================================================== ANNOUNCEMENT BAR */
.annc { background: var(--ink); color: #eaf0fb; font-size: .86rem; line-height: 1.3; border-bottom: 1px solid rgba(255,255,255,.08); }
.annc-inner { display: flex; align-items: center; gap: 12px; padding: 9px 20px; max-width: var(--maxw); margin: 0 auto; }
.annc-tag { flex: none; background: linear-gradient(150deg, var(--gold-hi), var(--gold)); color: var(--ink); font-weight: 800; font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; padding: 4px 9px; border-radius: 3px; }
/* all items stacked in one grid cell → track height = item height, no clipping */
.annc-track { position: relative; flex: 1; min-width: 0; display: grid; }
.annc-item { grid-area: 1 / 1; margin: 0; display: flex; align-items: center; gap: 8px; opacity: 0; transition: opacity .55s ease; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; pointer-events: none; }
.annc-item.on { opacity: 1; pointer-events: auto; }
.annc-item b { color: var(--gold-br); }
.annc-item a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

/* -------------------------------------------------------------- Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 14px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.brand-seal { height: 46px; width: 46px; border-radius: 50%; display: block; flex: none; }
.brand-wm { display: flex; flex-direction: column; line-height: 1.04; }
.brand-wm strong { font-family: var(--font-head); color: var(--navy); font-size: 1.3rem; font-weight: 600; letter-spacing: -.01em; }
.brand-wm em { font-style: normal; font-size: .6rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-dk); font-weight: 800; margin-top: 2px; }
@media (max-width: 420px){ .brand-seal { height: 40px; width: 40px; } .brand-wm strong { font-size: 1.12rem; } }

.nav { display: none; }
.nav a { color: var(--navy); text-decoration: none; font-weight: 600; font-size: .96rem; padding: 8px 4px; position: relative; }
.nav a:hover { color: var(--blue); }
.nav a.active::after { content:""; position:absolute; left:4px; right:4px; bottom:-2px; height:2px; background: var(--gold); border-radius:2px; }
@media (min-width: 980px){ .nav { display: flex; align-items: center; gap: 22px; } }

.header-actions { display: flex; align-items: center; gap: 10px; }
.lang-toggle { display: inline-flex; border: 1px solid var(--line); border-radius: var(--pill); overflow: hidden; background: #fff; }
.lang-btn { background: transparent; color: var(--mute); border: 0; padding: 7px 12px; font-size: .82rem; font-weight: 700; cursor: pointer; font-family: var(--font-body); }
.lang-btn.is-active { background: var(--navy); color: #fff; }

.icon-btn { display: none; }
.hamb { display: inline-grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: var(--rad); background: #fff; cursor: pointer; }
.hamb span { display:block; width: 18px; height: 2px; background: var(--navy); position: relative; }
.hamb span::before, .hamb span::after { content:""; position:absolute; left:0; width:18px; height:2px; background: var(--navy); }
.hamb span::before { top:-6px; } .hamb span::after { top:6px; }
@media (min-width: 980px){ .hamb { display: none; } }
.hide-mobile { display: none; }
@media (min-width: 560px){ .hide-mobile { display: inline-flex; } }

/* Mobile menu drawer */
.mobile-menu { position: fixed; inset: 0 0 0 auto; width: min(82vw, 340px); background: #fff; z-index: 70; transform: translateX(100%); transition: transform .25s ease; box-shadow: var(--shadow); padding: 20px; display: flex; flex-direction: column; gap: 6px; overflow-y: auto; }
.mobile-menu.open { transform: none; }
.mobile-menu a { color: var(--navy); text-decoration: none; font-weight: 700; padding: 14px 8px; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
.mm-head { display:flex; align-items:center; justify-content: space-between; margin-bottom: 8px; }
.mm-close { background:none; border:0; font-size:1.8rem; line-height:1; cursor:pointer; color: var(--navy); }
.scrim { position: fixed; inset: 0; background: rgba(10,23,48,.5); z-index: 65; opacity: 0; pointer-events: none; transition: opacity .25s; }
.scrim.open { opacity: 1; pointer-events: auto; }

/* -------------------------------------------------------------- Hero */
.hero { background: linear-gradient(160deg, var(--navy), var(--ink)); color: #eaf1fb; position: relative; overflow: hidden; }
.hero::before { content:""; position:absolute; inset:0; background: radial-gradient(90% 120% at 85% -10%, rgba(226,185,87,.16), transparent 55%); pointer-events:none; }
.hero-grid { display: grid; grid-template-columns: minmax(0,1fr); gap: 30px; padding: 46px 0 56px; position: relative; }
@media (min-width: 920px){ .hero-grid { grid-template-columns: 1.3fr .95fr; align-items: center; gap: 48px; padding: 72px 0 86px; } }
.hero-copy { min-width: 0; }
.hero h1 { color: #fff; margin-bottom: .35em; }
.hero .eyebrow { color: var(--gold-br); }
.hero-sub { color: #c7d4e6; font-size: 1.1rem; max-width: 54ch; }
.hero-cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 6px; }

.pillrow { display:flex; flex-wrap:wrap; gap:8px; margin-top: 18px; }
.chip { display:inline-flex; align-items:center; gap:6px; background: rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.16); color:#dfe8f5; font-size:.8rem; font-weight:600; padding:6px 12px; border-radius: var(--pill); }
.chip b { color: var(--gold-br); }

.countdown { margin-top: 24px; padding: 18px 20px; border: 1px solid rgba(255,255,255,.16); border-radius: var(--rad-lg); background: rgba(255,255,255,.05); max-width: 460px; }
.countdown-label { margin: 0 0 10px; font-weight: 800; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-br); }
.countdown-units { display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; }
.cd-unit { background: rgba(255,255,255,.07); border-radius: var(--rad); padding: 10px 4px; text-align: center; }
.cd-num { display: block; font-family: var(--font-head); font-size: 1.8rem; font-weight: 600; color: #fff; font-variant-numeric: tabular-nums; }
.cd-lbl { display: block; font-size: .64rem; letter-spacing: .1em; text-transform: uppercase; color: #a7b8cf; margin-top: 2px; }
.countdown-src { margin: 10px 0 0; font-size: .72rem; color: #8ea1b9; }

.hero-card { background: #fff; color: var(--ink-body); border-radius: var(--rad-lg); padding: 24px; box-shadow: var(--shadow); position: relative; }
.hero-card-badge { display: inline-block; background: linear-gradient(150deg, var(--gold-hi), var(--gold)); color: var(--ink); font-weight: 800; font-size: .8rem; padding: 6px 12px; border-radius: 3px; margin-bottom: 14px; }
.hero-card-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0,1fr); gap: 12px; }
.hero-card-list li { padding-left: 24px; position: relative; font-size: .96rem; }
.hero-card-list li::before { content:""; position:absolute; left:0; top:.55em; width:9px; height:9px; border:2px solid var(--gold); border-radius:50%; }
.hero-card-foot { margin: 14px 0 0; font-size: .78rem; color: var(--mute); }

/* -------------------------------------------------------------- Cards grids */
.card-grid { display: grid; grid-template-columns: minmax(0,1fr); gap: 16px; margin-top: 26px; }
.why-grid { grid-template-columns: 1fr 1fr; }
@media (min-width: 880px){ .why-grid { grid-template-columns: repeat(4,1fr); } }
.card-grid.two { grid-template-columns: minmax(0,1fr); }
@media (min-width: 760px){ .card-grid.two { grid-template-columns: 1fr 1fr; } }
.card-grid.three { grid-template-columns: minmax(0,1fr); }
@media (min-width: 820px){ .card-grid.three { grid-template-columns: repeat(3,1fr); } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--rad); padding: 22px; box-shadow: var(--shadow-sm); }
.card-top { border-top: 4px solid var(--gold); }
.card-ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: var(--rad); background: var(--navy); color: var(--gold-br); font-size: 1.35rem; margin-bottom: 12px; }
.card h3 { margin-bottom: .35em; }
.card p { margin: 0; color: #35424f; font-size: .96rem; }
.why-body { margin-top: 26px; font-size: 1.14rem; max-width: 64ch; color: #28313f; }

/* -------------------------------------------------------------- Ticks */
.ticks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0,1fr); gap: 12px; }
.ticks li { padding-left: 30px; position: relative; }
.ticks li::before { content:"✓"; position:absolute; left:0; top:0; width:20px; height:20px; background: var(--gold); color:#fff; border-radius:50%; display:grid; place-items:center; font-size:.72rem; font-weight:900; }
.ticks-blue li::before { background: var(--blue); }

/* program columns */
.program-cols { display: grid; grid-template-columns: minmax(0,1fr); gap: 22px; margin-top: 28px; }
@media (min-width: 760px){ .program-cols { grid-template-columns: 1fr 1fr; gap: 34px; } }
.prog-block h3 { margin-bottom: .6em; }

/* -------------------------------------------------------------- Diagnostic */
.section-diag { background: linear-gradient(180deg, var(--navy), var(--ink)); color: #e7eef7; }
.section-diag h2, .section-diag h3 { color: #fff; }
.lead-light { color: #bccbe0; }
.diag-stack { display: grid; grid-template-columns: minmax(0,1fr); gap: 12px; margin: 34px 0; }
.diag-layer { display: flex; align-items: center; gap: 16px; background: rgba(255,255,255,.05); border: 1px solid rgba(226,185,87,.3); border-left: 4px solid var(--gold-br); border-radius: var(--rad); padding: 16px 18px; opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease, background .3s; transition-delay: calc(var(--i) * 90ms); }
.diag-layer.in { opacity: 1; transform: none; }
.diag-layer:hover { background: rgba(226,185,87,.12); }
.diag-n { font-family: var(--font-head); font-size: 1.9rem; color: var(--gold-br); min-width: 46px; font-weight: 600; }
.diag-body { flex: 1; min-width: 0; }
.diag-body h3 { color:#fff; margin:0 0 2px; font-size: 1.1rem; }
.diag-body p { margin: 0; color: #b6c6da; font-size: .92rem; }
.diag-tag { font-size:.66rem; letter-spacing:.07em; text-transform:uppercase; font-weight:800; color:var(--ink); background: var(--gold-br); padding:4px 9px; border-radius: var(--pill); white-space:nowrap; }
.diag-output { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: var(--rad-lg); padding: 22px; }

/* -------------------------------------------------------------- Guarantee */
.section-guarantee { background: var(--ink); color: #eef3fa; }
.section-guarantee h2 { color:#fff; }
.guar-terms { margin-top: 22px; background: rgba(255,255,255,.05); border: 1px solid rgba(184,134,31,.45); border-radius: var(--rad-lg); padding: 24px; }
.guar-terms-head { font-weight:800; color: var(--gold-br); margin-bottom: 14px; }
.guar-terms .ticks li { color:#dfe8f2; }
.guar-fine { margin: 18px 0 0; font-size: .95rem; color:#c2d0df; }
.guar-legal { margin: 14px 0 0; font-size:.82rem; color: var(--gold-hi); }

/* -------------------------------------------------------------- Register / details */
.section-register { background: var(--paper-2); }
.register-grid { display: grid; grid-template-columns: minmax(0,1fr); gap: 26px; margin-top: 30px; }
@media (min-width: 900px){ .register-grid { grid-template-columns: .92fr 1.08fr; align-items: start; gap: 40px; } }
.detail-list { display: grid; grid-template-columns: minmax(0,1fr); gap: 12px; margin: 8px 0 0; }
.detail-list > div { display: grid; grid-template-columns: 120px minmax(0,1fr); gap: 10px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.detail-list dt { font-weight:700; color: var(--navy); }
.detail-list dd { margin:0; color:#35424f; }
.mt { margin-top: 26px; }
.tier-list { list-style:none; margin:8px 0 0; padding:0; display:grid; grid-template-columns:minmax(0,1fr); gap:10px; }
.tier-list li { display:flex; align-items:center; justify-content:space-between; gap:12px; background:#fff; border:1px solid var(--line); border-radius: var(--rad); padding:12px 14px; }
.tier-rank { font-weight:700; color: var(--navy); }
.seat-cap { margin-top:18px; font-size:.95rem; color:#35424f; }
.seats-remaining { display:inline-block; margin-left:6px; font-weight:800; color: var(--gold-dk); }

/* -------------------------------------------------------------- Forms */
.form-card { background:#fff; border:1px solid var(--line); border-radius: var(--rad-lg); padding: 26px; box-shadow: var(--shadow); }
.form-card-blue { border-top: 5px solid var(--blue); }
.form-intro { color: var(--mute); margin-top: -.3rem; font-size: .95rem; }
.lead-form { display: grid; grid-template-columns: minmax(0,1fr); gap: 16px; }
.field { display: grid; gap: 6px; }
.field.row2 { grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 460px){ .field.row2 { grid-template-columns: 1fr; } }
.field label { font-weight:700; font-size:.9rem; color: var(--navy); }
.field input, .field select, .field textarea {
  width:100%; padding:13px 14px; font-size:16px; font-family: var(--font-body);
  border:1.5px solid #cfd6de; border-radius: var(--rad); background:#fff; color: var(--ink-body);
  transition: border-color .12s, box-shadow .12s;
}
.field textarea { min-height:110px; resize:vertical; }
html[lang="ta"] .field input, html[lang="ta"] .field select, html[lang="ta"] .field textarea { font-family: var(--font-ta); }
.field input:focus, .field select:focus, .field textarea:focus { outline:none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(18,71,166,.16); }
.field.invalid input, .field.invalid select { border-color:#c0392b; }
.field-error { color:#c0392b; font-size:.82rem; min-height:0; }
.field.invalid .field-error { min-height:1em; }
.form-micro { font-size:.82rem; color: var(--mute); background: var(--gold-lt); border-radius: var(--rad); padding:10px 12px; margin:0; }
.form-card-blue .form-micro { background: var(--blue-lt); }
.form-success { text-align:center; padding:14px 6px; }
.success-tick { width:54px; height:54px; margin:0 auto 12px; border-radius:50%; background: var(--gold); color:#fff; font-size:1.7rem; font-weight:900; display:grid; place-items:center; }
.success-tick-blue { background: var(--blue); }
.form-success h4 { font-size:1.25rem; margin:0 0 .4em; }
.form-success p { color:#35424f; margin:0 0 .8rem; }
.is-hidden { display:none !important; }

/* lead magnet */
.section-lead { background:#fff; }
.lead-magnet { display:grid; grid-template-columns:minmax(0,1fr); gap:26px; }
@media (min-width: 880px){ .lead-magnet { grid-template-columns:1.05fr .95fr; align-items:center; gap:42px; } }

/* -------------------------------------------------------------- Program / course cards (courses.html) */
.course-card { background:#fff; border:1px solid var(--line); border-radius: var(--rad-lg); overflow:hidden; box-shadow: var(--shadow-sm); display:flex; flex-direction:column; }
.course-head { padding: 20px 22px; color:#fff; position:relative; }
.course-head.navy { background: linear-gradient(140deg, var(--navy), var(--ink)); }
.course-head.blue { background: linear-gradient(140deg, var(--blue), var(--navy)); }
.course-head.gold { background: linear-gradient(140deg, var(--gold), var(--gold-dk)); }
.course-head h3 { color:#fff; margin:0 0 6px; }
.course-flag { display:inline-block; background: rgba(255,255,255,.18); border:1px solid rgba(255,255,255,.3); color:#fff; font-size:.72rem; font-weight:800; letter-spacing:.06em; text-transform:uppercase; padding:4px 10px; border-radius:3px; margin-bottom:10px; }
.course-body { padding: 20px 22px; flex:1; display:flex; flex-direction:column; }
.course-meta { display:grid; grid-template-columns:minmax(0,1fr); gap:8px; margin:0 0 14px; }
.course-meta div { display:flex; gap:8px; font-size:.92rem; }
.course-meta dt { font-weight:700; color: var(--navy); min-width:92px; }
.course-body .btn { margin-top:auto; }

/* -------------------------------------------------------------- Blog (blog.html) */
.blog-filters { display:flex; flex-wrap:wrap; gap:8px; margin:24px 0 8px; }
.filter-btn { background:#fff; border:1px solid var(--line); color: var(--navy); font-weight:700; font-size:.88rem; padding:8px 14px; border-radius: var(--pill); cursor:pointer; font-family: var(--font-body); }
.filter-btn.active { background: var(--navy); color:#fff; border-color: var(--navy); }
html[lang="ta"] .filter-btn { font-family: var(--font-ta); }
.blog-grid { display:grid; grid-template-columns:minmax(0,1fr); gap:18px; margin-top:22px; }
@media (min-width:640px){ .blog-grid { grid-template-columns:1fr 1fr; } }
@media (min-width:980px){ .blog-grid { grid-template-columns:repeat(3,1fr); } }
.post { background:#fff; border:1px solid var(--line); border-radius: var(--rad-lg); overflow:hidden; display:flex; flex-direction:column; box-shadow: var(--shadow-sm); }
.post-cat { font-size:.7rem; font-weight:800; letter-spacing:.08em; text-transform:uppercase; color: var(--gold-dk); }
.post-thumb { aspect-ratio: 16/9; background: linear-gradient(140deg, var(--navy), var(--ink)); display:grid; place-items:center; color: var(--gold-br); font-family: var(--font-head); font-size: 2.4rem; }
.post-body { padding:18px; flex:1; display:flex; flex-direction:column; gap:8px; }
.post-body h3 { margin:0; font-size:1.12rem; }
.post-date { font-size:.8rem; color: var(--mute); margin-top:auto; }
.sample-note { background: var(--gold-lt); border:1px dashed var(--gold); border-radius: var(--rad); padding:14px 16px; font-size:.9rem; color: var(--gold-dk); margin-top: 20px; }

/* blog admin */
.admin-bar { display:none; align-items:center; flex-wrap:wrap; gap:12px; background: var(--ink); color:#eaf1fb; border-radius: var(--rad-lg); padding:14px 18px; margin-top:22px; }
.admin-bar.show { display:flex; }
.admin-bar .admin-badge { background: linear-gradient(150deg,var(--gold-hi),var(--gold)); color:var(--ink); font-weight:800; font-size:.72rem; letter-spacing:.08em; text-transform:uppercase; padding:5px 10px; border-radius:3px; }
.admin-bar .admin-who { font-size:.9rem; color:#c7d4e6; margin-right:auto; }
.composer { display:none; background:#fff; border:1px solid var(--line); border-radius: var(--rad-lg); box-shadow: var(--shadow); padding:22px; margin-top:16px; }
.composer.show { display:block; }
.composer textarea { width:100%; padding:12px 14px; font-size:15px; font-family:var(--font-body); border:1.5px solid #cfd6de; border-radius:var(--rad); min-height:120px; resize:vertical; }
.composer .out { width:100%; font-family:ui-monospace,Menlo,Consolas,monospace; font-size:12px; background:var(--paper-2); border:1px solid var(--line); border-radius:var(--rad); padding:12px; min-height:120px; white-space:pre; overflow:auto; }
.post.draft { outline:2px dashed var(--gold); }
.post .draft-flag { background:var(--gold-lt); color:var(--gold-dk); border:1px solid var(--gold); font-size:.66rem; font-weight:800; text-transform:uppercase; letter-spacing:.06em; padding:3px 7px; border-radius:3px; }

/* -------------------------------------------------------------- FAQ */
.faq { margin-top:24px; display:grid; grid-template-columns:minmax(0,1fr); gap:10px; }
.faq-item { background:#fff; border:1px solid var(--line); border-radius: var(--rad); overflow:hidden; }
.faq-item summary { cursor:pointer; list-style:none; padding:16px 18px; font-weight:700; color: var(--navy); position:relative; padding-right:44px; }
.faq-item summary::-webkit-details-marker { display:none; }
.faq-item summary::after { content:"+"; position:absolute; right:18px; top:50%; transform:translateY(-50%); font-size:1.4rem; color: var(--gold-dk); }
.faq-item[open] summary::after { content:"–"; }
.faq-a { padding:0 18px 16px; }
.faq-a p { margin:0; color:#35424f; }

/* -------------------------------------------------------------- Contact */
.section-contact { background: var(--paper-2); }
.contact-grid { display:grid; grid-template-columns:minmax(0,1fr); gap:26px; margin-top:26px; }
@media (min-width:820px){ .contact-grid { grid-template-columns:.8fr 1.2fr; gap:34px; align-items:start; } }
.contact-info address { font-style:normal; font-size:1.05rem; line-height:1.7; margin-bottom:14px; }
.contact-line { display:flex; align-items:center; gap:10px; margin:0 0 8px; }
.contact-cta-row { display:flex; flex-wrap:wrap; gap:12px; margin-top:20px; }
.map-wrap { border-radius: var(--rad-lg); overflow:hidden; border:1px solid var(--line); box-shadow: var(--shadow-sm); min-height:300px; background:#e9e4d8; }
.map-wrap iframe { display:block; width:100%; height:360px; border:0; }

/* -------------------------------------------------------------- Footer */
.site-footer { background: var(--ink); color:#c4d1e2; padding:46px 0 28px; }
.footer-grid { display:grid; grid-template-columns:minmax(0,1fr); gap:28px; }
@media (min-width:760px){ .footer-grid { grid-template-columns:1.6fr 1fr 1fr; } }
.footer-logo { background:#fff; border-radius: var(--rad); padding:10px 14px; display:inline-flex; align-items:center; gap:12px; }
.footer-logo img.fl-mark { height:44px; width:44px; display:block; border-radius:50%; }
.footer-logo img.fl-word { height:32px; width:auto; display:block; }
/* round-badge seal (used on light backgrounds) */
.seal { width:96px; height:96px; border-radius:50%; display:block; box-shadow: var(--shadow-sm); }
.hero-card .seal { margin:-56px auto 10px; border:4px solid #fff; background:#fff; }
.seal-row { display:flex; align-items:center; gap:16px; margin-bottom:8px; }
.seal-row .seal { width:76px; height:76px; }
.footer-note { font-size:.88rem; margin:12px 0 0; color:#94a6bc; max-width:40ch; }
.footer-col h4 { color:#fff; font-size:1rem; margin:0 0 12px; font-family: var(--font-body); font-weight:700; }
.footer-col a { display:block; color:#c4d1e2; text-decoration:none; font-size:.92rem; padding:4px 0; }
.footer-col a:hover { color: var(--gold-br); }
.footer-bottom { border-top:1px solid rgba(255,255,255,.1); margin-top:30px; padding-top:18px; font-size:.8rem; color:#8097ae; display:flex; flex-wrap:wrap; gap:10px; justify-content:space-between; }

/* -------------------------------------------------------------- WhatsApp float */
.wa-float { position:fixed; right:16px; bottom:16px; z-index:60; display:inline-flex; align-items:center; gap:8px; background:#25D366; color:#fff; text-decoration:none; padding:12px 16px 12px 12px; border-radius: var(--pill); box-shadow:0 8px 24px -6px rgba(0,0,0,.4); font-weight:700; font-size:.92rem; }
.wa-float:hover { background:#20bd5a; }
@media (max-width:480px){ .wa-float .wa-label { display:none; } .wa-float { padding:12px; } }

/* -------------------------------------------------------------- Auth modal */
.modal { position: fixed; inset: 0; z-index: 90; display: none; align-items: flex-start; justify-content: center; padding: 24px 16px; overflow-y: auto; }
.modal.open { display: flex; }
.modal-scrim { position: fixed; inset: 0; background: rgba(10,23,48,.6); backdrop-filter: blur(2px); }
.modal-card { position: relative; background:#fff; width: 100%; max-width: 440px; border-radius: var(--rad-lg); box-shadow: var(--shadow); padding: 28px; margin-top: 4vh; }
.modal-close { position:absolute; top:12px; right:14px; background:none; border:0; font-size:1.7rem; line-height:1; cursor:pointer; color: var(--mute); }
.modal-logo { height: 40px; width: auto; display:block; margin: 0 auto 14px; }
.auth-tabs { display:flex; background: var(--paper-2); border-radius: var(--pill); padding:4px; margin: 0 0 20px; }
.auth-tab { flex:1; border:0; background:none; padding:9px; border-radius: var(--pill); font-weight:800; color: var(--mute); cursor:pointer; font-family: var(--font-body); font-size:.95rem; }
.auth-tab.active { background: var(--navy); color:#fff; }
html[lang="ta"] .auth-tab { font-family: var(--font-ta); }
.auth-pane { display:none; }
.auth-pane.active { display:block; }
.auth-alt { text-align:center; font-size:.9rem; color: var(--mute); margin: 16px 0 0; }
.auth-alt button { background:none; border:0; color: var(--blue); font-weight:700; cursor:pointer; text-decoration:underline; font-family: var(--font-body); }
.auth-note { font-size:.76rem; color: var(--mute); margin-top:14px; text-align:center; }

/* signed-in pill in header */
.user-pill { display:inline-flex; align-items:center; gap:8px; background: var(--blue-lt); border:1px solid #cfdcf3; color: var(--navy); font-weight:700; font-size:.88rem; padding:7px 12px; border-radius: var(--pill); }
.user-pill .avatar { width:24px; height:24px; border-radius:50%; background: var(--navy); color:#fff; display:grid; place-items:center; font-size:.72rem; font-weight:800; }

/* -------------------------------------------------------------- Toast */
.toast { position:fixed; left:50%; bottom:84px; transform:translateX(-50%); z-index:95; background: var(--ink); color:#fff; padding:12px 18px; border-radius: var(--pill); font-size:.9rem; box-shadow: var(--shadow); max-width: 90vw; text-align:center; }

/* -------------------------------------------------------------- Page hero (sub pages) */
.page-hero { background: linear-gradient(160deg, var(--navy), var(--ink)); color:#eaf1fb; padding: 46px 0; position:relative; overflow:hidden; }
.page-hero::before { content:""; position:absolute; inset:0; background: radial-gradient(80% 120% at 90% -10%, rgba(226,185,87,.16), transparent 55%); }
.page-hero h1 { color:#fff; position:relative; }
.page-hero p { color:#c7d4e6; max-width:60ch; position:relative; margin-bottom:0; }
.breadcrumb { font-size:.82rem; color:#9db0c9; margin-bottom:12px; position:relative; }
.breadcrumb a { color:#c7d4e6; text-decoration:none; }

/* ============================================================ ICONS */
.ico { width: 1em; height: 1em; display: inline-block; vertical-align: -0.125em; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.card-ico { font-size: 1.5rem; } /* svg inside inherits via em */
.card-ico .ico { width: 1.5rem; height: 1.5rem; color: var(--gold-br); }
.lp-ico .ico, .course-flag .ico { width: 1.15em; height: 1.15em; }
.eyebrow .ico { width: 1.05em; height: 1.05em; margin-right: 5px; vertical-align: -0.18em; }
.chip .ico { width: 1.1em; height: 1.1em; color: var(--gold-br); }
.free-ico { display:grid; place-items:center; width:54px; height:54px; border-radius:50%; background:rgba(255,255,255,.12); border:1px solid rgba(255,255,255,.25); }
.free-ico .ico { width:28px; height:28px; color:#fff; }

/* ============================================================ ANIMATIONS */
@keyframes fadeUp { from { opacity:0; transform: translateY(18px); } to { opacity:1; transform:none; } }
@keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
@keyframes floatY { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@keyframes popIn { 0% { opacity:0; transform: scale(.8); } 60% { transform: scale(1.06); } 100% { opacity:1; transform: scale(1); } }
@keyframes sheen { 0% { background-position: -140% 0; } 100% { background-position: 240% 0; } }
@keyframes pulseRing { 0% { box-shadow: 0 0 0 0 rgba(226,185,87,.45); } 70% { box-shadow: 0 0 0 14px rgba(226,185,87,0); } 100% { box-shadow: 0 0 0 0 rgba(226,185,87,0); } }

/* scroll reveal (JS adds .in) */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; transition-delay: var(--d, 0ms); will-change: opacity, transform; }
.reveal.in { opacity: 1; transform: none; }

/* hero entrance on load */
.hero-copy > * { animation: fadeUp .7s both; }
.hero-copy > .eyebrow { animation-delay: .05s; }
.hero-copy > h1 { animation-delay: .15s; }
.hero-copy > .hero-sub { animation-delay: .28s; }
.hero-copy > .hero-cta-row { animation-delay: .40s; }
.hero-copy > .pillrow { animation-delay: .52s; }
.hero-copy > .countdown { animation-delay: .62s; }
.hero-card { animation: popIn .7s .3s both; }
.hero-card .seal { animation: floatY 4.5s ease-in-out infinite; }
.chip { transition: transform .15s ease, background .15s ease, border-color .15s ease; }
.chip:hover { transform: translateY(-2px); background: rgba(255,255,255,.14); border-color: rgba(226,185,87,.5); }
.card { transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #d9d4c6; }
.card-ico { transition: transform .25s ease; }
.card:hover .card-ico { transform: translateY(-2px) scale(1.06); }
.course-card { transition: transform .18s ease, box-shadow .18s ease; }
.course-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post { transition: transform .18s ease, box-shadow .18s ease; }
.post:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.cd-num { transition: transform .25s ease; }

/* ============================================================ FREE BAND */
.free-band { background: linear-gradient(135deg, var(--navy), var(--ink)); color:#eaf1fb; position:relative; overflow:hidden; }
.free-band::before { content:""; position:absolute; inset:0; background: linear-gradient(100deg, transparent 30%, rgba(226,185,87,.10) 50%, transparent 70%); background-size: 220% 100%; animation: sheen 7s linear infinite; pointer-events:none; }
.free-grid { display:grid; grid-template-columns: minmax(0,1fr); gap: 26px; align-items:center; position:relative; }
@media (min-width: 900px){ .free-grid { grid-template-columns: 1.3fr .9fr; gap: 40px; } }
.free-tag { display:inline-flex; align-items:center; gap:8px; background: linear-gradient(150deg,var(--gold-hi),var(--gold)); color:var(--ink); font-weight:800; font-size:.8rem; letter-spacing:.06em; text-transform:uppercase; padding:7px 14px; border-radius: var(--pill); }
.free-band h2 { color:#fff; margin-top:14px; }
.free-band .lead { color:#c7d4e6; }
.free-feats { list-style:none; margin:18px 0 0; padding:0; display:grid; gap:14px; }
@media (min-width:560px){ .free-feats { grid-template-columns:1fr 1fr; } }
.free-feats li { display:flex; align-items:center; gap:12px; font-size:.98rem; }
.free-cta-card { background:#fff; color:var(--ink-body); border-radius: var(--rad-lg); padding:26px; box-shadow: var(--shadow); text-align:center; }
.free-cta-card .big { font-family:var(--font-head); font-size:2.6rem; color:var(--navy); line-height:1; margin:6px 0; }
.free-cta-card .strike { color:var(--mute); text-decoration:line-through; font-size:1.1rem; }
.free-cta-card .btn { margin-top:14px; animation: pulseRing 2.6s infinite; }

/* ============================================================ GROUP 4 PAGE */
/* section number badge */
.secnum { display:inline-flex; align-items:center; gap:10px; font-size:.78rem; font-weight:800; letter-spacing:.12em; text-transform:uppercase; color:var(--gold-dk); margin:0 0 .5rem; }
.secnum .n { display:grid; place-items:center; width:30px; height:30px; border-radius:50%; background:var(--navy); color:var(--gold-br); font-family:var(--font-head); font-size:.9rem; }
html[lang="ta"] .secnum { letter-spacing:.03em; }

/* g4 hero: exam countdown + stats */
.g4-hero { background: linear-gradient(160deg, var(--navy), var(--ink)); color:#eaf1fb; position:relative; overflow:hidden; }
.g4-hero::before { content:""; position:absolute; inset:0; background: radial-gradient(85% 120% at 88% -10%, rgba(226,185,87,.16), transparent 55%); }
.g4-hero .wrap { position:relative; padding:46px 20px 52px; }
@media (min-width:900px){ .g4-hero .wrap { padding:66px 20px 72px; } }
.g4-hero h1 { color:#fff; }
.g4-hero .lead { color:#c7d4e6; }
.g4-facts { display:flex; flex-wrap:wrap; gap:10px; margin:18px 0 6px; }
.g4-fact { display:inline-flex; align-items:center; gap:8px; background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.18); border-radius:var(--pill); padding:8px 14px; font-size:.9rem; font-weight:600; }
.g4-fact b { color:var(--gold-br); }
.g4-fact .ico { color:var(--gold-br); width:1.1em; height:1.1em; }

/* at-a-glance table */
.spec-table { width:100%; border-collapse:collapse; margin-top:22px; background:#fff; border:1px solid var(--line); border-radius:var(--rad-lg); overflow:hidden; }
.spec-table th, .spec-table td { text-align:left; padding:14px 18px; border-bottom:1px solid var(--line); font-size:.98rem; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom:0; }
.spec-table th { width:42%; background:var(--paper-2); color:var(--navy); font-weight:700; }
.spec-note { margin-top:14px; font-size:.86rem; color:var(--mute); font-style:italic; }

/* syllabus columns */
.syllabus { display:grid; grid-template-columns:minmax(0,1fr); gap:18px; margin-top:26px; }
@media (min-width:820px){ .syllabus { grid-template-columns:repeat(3,1fr); } }
.syl-card { background:#fff; border:1px solid var(--line); border-top:4px solid var(--gold); border-radius:var(--rad); padding:22px; }
.syl-card h3 { display:flex; align-items:center; gap:10px; }
.syl-card .num { color:var(--gold-dk); font-family:var(--font-head); }
.syl-card ul { margin:12px 0 0; padding-left:18px; display:grid; gap:6px; }
.syl-card li { font-size:.95rem; color:#35424f; }

/* flow (learn→practice→test…) */
.flow { display:flex; flex-direction:column; align-items:center; gap:0; margin-top:26px; }
.flow-step { background:#fff; border:1px solid var(--line); border-left:4px solid var(--gold); border-radius:var(--rad); padding:14px 20px; width:100%; max-width:440px; text-align:center; box-shadow:var(--shadow-sm); }
.flow-step b { color:var(--navy); font-family:var(--font-head); font-size:1.1rem; }
.flow-step span { display:block; color:#35424f; font-size:.92rem; }
.flow-arrow { color:var(--gold); width:26px; height:26px; margin:6px 0; }
.flow-note { text-align:center; margin-top:18px; font-family:var(--font-head); font-style:italic; font-size:1.2rem; color:var(--navy); }

/* daily routine grid */
.routine { display:grid; grid-template-columns:repeat(2,1fr); gap:14px; margin-top:24px; }
@media (min-width:720px){ .routine { grid-template-columns:repeat(3,1fr); } }
.routine .item { background:#fff; border:1px solid var(--line); border-radius:var(--rad); padding:18px; text-align:center; }
.routine .r-ico { display:grid; place-items:center; width:46px; height:46px; margin:0 auto 10px; border-radius:50%; background:var(--blue-lt); color:var(--navy); }
.routine .r-ico .ico { width:24px; height:24px; color:var(--navy); }
.routine b { display:block; color:var(--navy); }
.routine span { font-size:.86rem; color:var(--mute); }

/* journey vertical timeline */
.timeline { position:relative; margin:30px 0 0; padding-left:40px; }
.timeline::before { content:""; position:absolute; left:15px; top:6px; bottom:6px; width:2px; background:linear-gradient(var(--gold),var(--blue)); }
.tl-item { position:relative; padding:0 0 24px; }
.tl-item:last-child { padding-bottom:0; }
.tl-dot { position:absolute; left:-33px; top:0; width:32px; height:32px; border-radius:50%; background:var(--navy); color:var(--gold-br); display:grid; place-items:center; font-family:var(--font-head); font-size:.85rem; font-weight:600; box-shadow:0 0 0 4px var(--paper); }
.tl-item h3 { margin:2px 0 3px; font-size:1.12rem; }
.tl-item p { margin:0; color:#35424f; font-size:.95rem; }
.tl-step { font-size:.72rem; font-weight:800; letter-spacing:.1em; text-transform:uppercase; color:var(--gold-dk); }

/* diagnostic CTA band */
.diag-cta { background: linear-gradient(135deg, var(--gold), var(--gold-dk)); color:var(--ink); border-radius:var(--rad-lg); padding:30px; text-align:center; box-shadow:var(--shadow); }
.diag-cta h2 { color:var(--ink); }
.diag-cta .sub { font-weight:700; opacity:.85; margin-bottom:18px; }
.diag-cta .btn { margin:4px; }
.diag-cta .btn-dark { background:var(--ink); color:#fff; }
.diag-cta .btn-dark:hover { background:var(--navy); }

/* ============================================================ QUIZ */
.quiz-overlay { position:fixed; inset:0; z-index:100; background:var(--paper); display:none; flex-direction:column; }
.quiz-overlay.open { display:flex; }
.quiz-bar { background:var(--navy); color:#fff; display:flex; align-items:center; gap:14px; padding:12px 18px; }
.quiz-bar .q-title { font-weight:700; margin-right:auto; }
.quiz-timer { font-family:var(--font-head); font-variant-numeric:tabular-nums; font-size:1.2rem; background:rgba(255,255,255,.12); padding:4px 12px; border-radius:var(--pill); }
.quiz-timer.warn { background:#b4231e; }
.quiz-close { background:none; border:0; color:#fff; font-size:1.6rem; cursor:pointer; line-height:1; }
.quiz-prog { height:5px; background:var(--line); }
.quiz-prog span { display:block; height:100%; background:linear-gradient(90deg,var(--gold-hi),var(--gold)); transition:width .3s; }
.quiz-body { flex:1; overflow-y:auto; }
.quiz-inner { max-width:720px; margin:0 auto; padding:26px 20px 40px; }
.q-count { font-size:.82rem; font-weight:800; letter-spacing:.08em; text-transform:uppercase; color:var(--gold-dk); }
.q-sec { font-size:.78rem; color:var(--mute); margin-left:8px; }
.q-text { font-family:var(--font-head); font-size:1.4rem; color:var(--navy); margin:8px 0 20px; }
.q-opts { display:grid; gap:12px; }
.q-opt { display:flex; align-items:center; gap:12px; background:#fff; border:1.5px solid #cfd6de; border-radius:var(--rad); padding:14px 16px; cursor:pointer; font-size:1rem; text-align:left; transition:border-color .12s, background .12s; }
.q-opt:hover { border-color:var(--blue); }
.q-opt.sel { border-color:var(--blue); background:var(--blue-lt); }
.q-opt .k { flex:none; width:28px; height:28px; border-radius:50%; background:var(--paper-2); color:var(--navy); display:grid; place-items:center; font-weight:800; font-size:.9rem; }
.q-opt.sel .k { background:var(--blue); color:#fff; }
.quiz-nav { display:flex; gap:12px; margin-top:24px; }
.quiz-nav .spacer { flex:1; }

/* quiz result */
.result-head { text-align:center; }
.meter { position:relative; width:170px; height:170px; margin:10px auto 6px; }
.meter svg { transform:rotate(-90deg); }
.meter .track { fill:none; stroke:var(--line); stroke-width:14; }
.meter .val { fill:none; stroke:url(#mg); stroke-width:14; stroke-linecap:round; transition:stroke-dashoffset 1s ease; }
.meter .pct { position:absolute; inset:0; display:grid; place-content:center; text-align:center; }
.meter .pct b { font-family:var(--font-head); font-size:2.6rem; color:var(--navy); line-height:1; }
.meter .pct span { font-size:.78rem; color:var(--mute); text-transform:uppercase; letter-spacing:.08em; }
.readiness-tag { display:inline-block; font-weight:800; padding:6px 14px; border-radius:var(--pill); margin-top:4px; }
.sec-bars { display:grid; gap:14px; margin:24px 0; }
.sec-bar b { display:flex; justify-content:space-between; font-size:.95rem; color:var(--navy); margin-bottom:5px; }
.sec-bar .track { height:12px; background:var(--line); border-radius:var(--pill); overflow:hidden; }
.sec-bar .fill { height:100%; border-radius:var(--pill); transition:width .9s ease; }
.result-cards { display:grid; grid-template-columns:1fr 1fr; gap:12px; margin:18px 0; }
@media (max-width:460px){ .result-cards { grid-template-columns:1fr; } }
.result-cards .rc { border-radius:var(--rad); padding:14px 16px; font-size:.95rem; }
.rc.good { background:#eaf6ee; border:1px solid #bfe6cd; color:#1d7a46; }
.rc.weak { background:#fdecea; border:1px solid #f3c6c2; color:#b4231e; }
.rc b { display:block; font-size:.74rem; text-transform:uppercase; letter-spacing:.06em; opacity:.8; }
.result-lead { background:var(--paper-2); border:1px solid var(--line); border-radius:var(--rad-lg); padding:22px; margin-top:20px; }

/* ============================================================ AD LANDING PAGE */
.ad-top { background:#fff; border-bottom:1px solid var(--line); }
.ad-top .wrap { display:flex; align-items:center; justify-content:space-between; height:62px; }
.ad-top img { height:40px; width:auto; }
.ad-hero { background: linear-gradient(160deg, var(--navy), var(--ink)); color:#eef3fa; text-align:center; position:relative; overflow:hidden; }
.ad-hero::before { content:""; position:absolute; inset:0; background: linear-gradient(100deg, transparent 30%, rgba(226,185,87,.1) 50%, transparent 70%); background-size:220% 100%; animation:sheen 7s linear infinite; }
.ad-hero .wrap { position:relative; padding:42px 20px 50px; }
.ad-kicker { display:inline-block; background:linear-gradient(150deg,var(--gold-hi),var(--gold)); color:var(--ink); font-weight:800; letter-spacing:.08em; text-transform:uppercase; font-size:.78rem; padding:6px 14px; border-radius:var(--pill); }
.ad-hero h1 { color:#fff; margin:16px 0 10px; }
.ad-hero .pills { display:flex; flex-wrap:wrap; gap:10px; justify-content:center; margin:14px 0; }
.ad-stat { display:inline-flex; align-items:center; gap:8px; background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.2); border-radius:var(--pill); padding:7px 14px; font-weight:700; font-size:.9rem; }
.ad-stat b { color:var(--gold-br); }
.problem-list { max-width:620px; margin:16px auto 0; display:grid; gap:12px; text-align:left; }
.problem-list li { list-style:none; display:flex; gap:12px; align-items:flex-start; background:#fff; border:1px solid var(--line); border-radius:var(--rad); padding:14px 16px; font-size:1rem; }
.problem-list .x { color:#b4231e; font-weight:900; flex:none; }
.kit-box { background:linear-gradient(135deg,var(--gold),var(--gold-dk)); color:var(--ink); border-radius:var(--rad-lg); padding:30px; box-shadow:var(--shadow); }
.kit-box h2 { color:var(--ink); }
.kit-list { list-style:none; margin:16px 0; padding:0; display:grid; gap:10px; }
@media (min-width:560px){ .kit-list { grid-template-columns:1fr 1fr; } }
.kit-list li { display:flex; gap:10px; align-items:center; font-weight:600; }
.kit-list .ico { color:var(--ink); }
.offer-list { list-style:none; margin:18px 0; padding:0; display:grid; gap:10px; }
@media (min-width:560px){ .offer-list { grid-template-columns:1fr 1fr; } }
.offer-list li { display:flex; gap:10px; align-items:center; }

/* ============================================================ AFTER-HERO TEST-SERIES LEAD BAND */
.ts-band { background: linear-gradient(135deg, var(--navy), var(--ink)); color:#eaf1fb; position:relative; overflow:hidden; }
.ts-band::before { content:""; position:absolute; inset:0; background: linear-gradient(100deg, transparent 32%, rgba(226,185,87,.1) 50%, transparent 68%); background-size:220% 100%; animation:sheen 7s linear infinite; pointer-events:none; }
.ts-grid { display:grid; grid-template-columns:minmax(0,1fr); gap:26px; align-items:center; position:relative; }
@media (min-width:900px){ .ts-grid { grid-template-columns:1.1fr .9fr; gap:40px; } }
.ts-band h2 { color:#fff; margin:12px 0 8px; }
.ts-band .lead { color:#c7d4e6; }
.ts-worth { display:inline-flex; align-items:center; gap:10px; margin-top:6px; }
.ts-worth .was { color:#9db0c9; text-decoration:line-through; font-size:1.05rem; }
.ts-worth .now { background:linear-gradient(150deg,var(--gold-hi),var(--gold)); color:var(--ink); font-weight:800; padding:4px 12px; border-radius:var(--pill); }
.ts-feats { list-style:none; margin:16px 0 0; padding:0; display:grid; gap:10px; }
@media (min-width:560px){ .ts-feats { grid-template-columns:1fr 1fr; } }
.ts-feats li { display:flex; align-items:center; gap:10px; font-size:.96rem; }
.ts-feats .ico { color:var(--gold-br); width:1.2em; height:1.2em; flex:none; }

/* ============================================================ POPUP (free G4 test series) */
.popup { position:fixed; inset:0; z-index:95; display:none; align-items:center; justify-content:center; padding:20px; }
.popup.open { display:flex; }
.popup-scrim { position:fixed; inset:0; background:rgba(10,23,48,.62); backdrop-filter:blur(2px); }
.popup-card { position:relative; width:100%; max-width:430px; background:#fff; border-radius:var(--rad-lg); box-shadow:var(--shadow); overflow:hidden; animation:popIn .4s both; }
.popup-close { position:absolute; top:10px; right:12px; z-index:2; background:rgba(255,255,255,.9); border:0; width:32px; height:32px; border-radius:50%; font-size:1.4rem; line-height:1; cursor:pointer; color:var(--navy); }
.popup-head { background:linear-gradient(135deg,var(--navy),var(--ink)); color:#fff; padding:22px 24px 18px; text-align:center; }
.popup-head .seal { width:62px; height:62px; border-radius:50%; margin:0 auto 10px; display:block; border:3px solid #fff; }
.popup-head h3 { color:#fff; margin:0 0 4px; font-size:1.4rem; }
.popup-head p { margin:0; color:#c7d4e6; font-size:.92rem; }
.popup-head .free-tag { margin-bottom:10px; }
.popup-body { padding:22px 24px 24px; }

/* -------------------------------------------------------------- a11y */
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); border:0; }
:focus-visible { outline:3px solid var(--blue); outline-offset:2px; border-radius:3px; }
@media (prefers-reduced-motion: reduce){
  *{ scroll-behavior:auto !important; animation: none !important; }
  .diag-layer, .reveal { transition:none; opacity:1; transform:none; }
  .btn-gold::after{ display:none; }
  .annc-item{ transition:none; }
  .hero-copy > *, .hero-card, .hero-card .seal, .free-band::before, .free-cta-card .btn { animation: none !important; opacity:1 !important; transform:none !important; }
}
