/* Pulse NEET Institute: white, crimson, clinic teal and ink. Lexend for headings, Source Sans 3 for text.
   Change the colours and fonts here; base.css reads these variables. */
:root {
  --bg: #FFFFFF;
  --surface: #FFFFFF;
  --soft: #F1F7F7;
  --ink: #102A2E;
  --muted: #4E6266;
  --line: #DCE8E8;
  --line-strong: #C2D5D5;
  --brand: #C8102E;
  --brand-hover: #A80D26;
  --brand-ink: #FFFFFF;
  --brand-text: #B00E28;
  --teal: #0E7C7B;
  --eyebrow: #0E7C7B;
  --announce-bg: #0E7C7B;
  --announce-ink: #FFFFFF;
  --head: "Lexend", system-ui, sans-serif;
  --body: "Source Sans 3", system-ui, sans-serif;
  --fs-body: 1.06rem;
  --radius: 8px;
  --radius-lg: 14px;
  --btn-radius: 8px;
  --wrap: 1200px;
  --gap: 22px;
}
h1, h2, h3 { font-weight: 600; letter-spacing: -.02em; }
h1 em { font-style: normal; color: var(--brand); }
.btn { font-weight: 700; }

/* header */
.header { background: #fff; border-bottom: 1px solid var(--line); }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-mark { width: 40px; height: 40px; }
.logo span { display: grid; line-height: 1.05; }
.logo b { font: 700 1.45rem var(--head); }
.logo small { color: var(--muted); font-size: .76rem; font-weight: 600; }
.nav a { color: var(--muted); font-weight: 600; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--brand); border-radius: 0; }

/* hero */
.hero { padding-block: clamp(32px, 5vw, 72px); background: linear-gradient(180deg, var(--soft), #fff); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } }
.hero h1 { font-size: clamp(2.4rem, 5.4vw, 3.8rem); line-height: 1.06; margin: 14px 0 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-card { display: grid; gap: 14px; padding: 24px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: 0 24px 50px -30px rgba(16,42,46,.4); border-top: 6px solid var(--brand); }
.scores { list-style: none; display: grid; gap: 10px; }
.scores li { display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: var(--radius); background: var(--soft); }
.scores b { font: 700 1.9rem var(--head); color: var(--brand); min-width: 110px; }
.scores b small { font-size: .9rem; color: var(--muted); font-weight: 500; }
.scores span { display: grid; font-weight: 700; }
.scores span small { color: var(--muted); font-weight: 500; }
.hc-foot { color: var(--muted); }
.hc-foot b { color: var(--ink); }
.weight-band { background: var(--ink); color: #D5E2E3; }
.weight-band .sec-title { color: #fff; }
.weight-band .lede { color: #AFC3C5; }
.weight { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(24px, 4vw, 48px); align-items: center; }
@media (max-width: 860px) { .weight { grid-template-columns: minmax(0, 1fr); } }
.wbar { display: flex; min-height: 90px; border-radius: var(--radius-lg); overflow: hidden; }
.wbar span { display: grid; align-content: center; padding: 10px 14px; color: #fff; font-weight: 600; min-width: 0; }
.wbar b { font: 700 1.8rem var(--head); }

/* planner */
.pl { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(20px, 4vw, 48px); align-items: start; }
@media (max-width: 900px) { .pl { grid-template-columns: minmax(0, 1fr); } }
.pl-in { display: grid; gap: 20px; }
.conf { display: grid; gap: 10px; }
.conf > div { display: grid; grid-template-columns: 100px minmax(0, 1fr) 90px; gap: 12px; align-items: center; }
.conf output { font-size: .85rem; color: var(--muted); text-align: right; }
.pl-out { position: sticky; top: 96px; display: grid; gap: 14px; padding: clamp(22px, 3vw, 30px); border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); border-top: 6px solid var(--teal); }
.pl-weeks b { font: 700 clamp(2.6rem, 6vw, 3.6rem)/1 var(--head); color: var(--teal); }
.pl-weeks span { color: var(--muted); }
.phases { display: flex; min-height: 54px; border-radius: var(--radius); overflow: hidden; }
.phases span { display: grid; align-content: center; padding: 6px 10px; color: #fff; font-size: .82rem; font-weight: 700; min-width: 0; overflow: hidden; white-space: nowrap; }
.phases b { font-size: 1.05rem; }
.pl-out h3 { font-size: 1.1rem; }
.pl-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.pl-table th, .pl-table td { padding: 8px 0; border-bottom: 1px solid var(--line); text-align: left; }
.pl-table td { text-align: right; font-weight: 700; }
.pl-table thead th { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; }
.pl-table thead th:not(:first-child) { text-align: right; }
.pl-note { color: var(--muted); font-size: .94rem; }

/* inner pages */
.page-head { background: var(--soft); margin-bottom: clamp(24px, 4vw, 40px); }
.page-head h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }

/* CTA + footer */
.cta-band { padding-block: clamp(44px, 6vw, 80px); background: var(--brand); color: #fff; }
.cta-band .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 22px; }
.cta-band h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.cta-band p { margin-top: 6px; color: #FDE2E6; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-band .btn-primary { background: #fff; color: var(--brand-text); }
.cta-band .btn-ghost { color: #fff; border-color: rgba(255,255,255,.7); }
.footer { background: var(--ink); color: #AFC3C5; --footer-line: rgba(255,255,255,.14); padding-top: 0; }
.footer > .wrap { padding-top: 44px; }
.ecg { height: 30px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 30'%3E%3Cpath d='M0 15h40l6-12 8 24 6-18 4 6h56' stroke='%23C8102E' stroke-width='2.5' fill='none'/%3E%3C/svg%3E") repeat-x center / 120px 30px, #fff; }
.footer .logo b { color: #fff; }
.footer h2 { color: #fff; }
.f-about { margin-top: 12px; max-width: 34ch; }
.footer .credit a { color: #fff; }
