/* Shikhar IIT Academy: midnight navy, signal orange and lime. Archivo for headings, Public Sans for text.
   Change the colours and fonts here; base.css reads these variables. */
:root {
  --bg: #FFFFFF;
  --surface: #FFFFFF;
  --soft: #EEF1F8;
  --ink: #0A1A3F;
  --muted: #4A5675;
  --line: #DCE1EE;
  --line-strong: #B8C1D8;
  --brand: #FF6A13;
  --brand-hover: #E85A06;
  --brand-ink: #0A1A3F;
  --brand-text: #C2470A;
  --navy: #0A1A3F;
  --lime: #C6F432;
  --eyebrow: #C2470A;
  --badge-bg: #C6F432;
  --badge-ink: #0A1A3F;
  --out-bg: #0A1A3F;
  --out-ink: #FFFFFF;
  --out-accent: #C6F432;
  --out-btn: #FF6A13;
  --out-btn-ink: #0A1A3F;
  --head: "Archivo", system-ui, sans-serif;
  --body: "Public Sans", system-ui, sans-serif;
  --radius: 6px;
  --radius-lg: 10px;
  --btn-radius: 6px;
  --wrap: 1220px;
}
h1, h2, h3 { font-weight: 900; letter-spacing: -.02em; }
.btn { font-weight: 800; text-transform: uppercase; letter-spacing: .04em; font-size: .9rem; }
.btn-primary { box-shadow: 4px 4px 0 var(--navy); }
.btn-primary:hover { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--navy); }

/* header */
.topbar { background: var(--brand); color: var(--navy); font-size: .84rem; font-weight: 700; }
.header .topbar .wrap { min-height: 36px; justify-content: space-between; gap: 12px; }
.topbar a { text-decoration: none; }
@media (max-width: 560px) { .topbar a { display: none; } }
.header { background: var(--navy); color: #fff; --menu-bg: var(--navy); --line: rgba(255,255,255,.18); }
.header .wrap { min-height: 74px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; }
.logo-mark { width: 42px; height: 42px; }
.logo span { display: grid; line-height: 1.05; }
.logo b { font: 900 1.45rem var(--head); letter-spacing: .04em; }
.logo small { font-size: .72rem; color: var(--lime); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.nav a { color: #C9D2EA; font-weight: 600; }
.nav a:hover, .nav a[aria-current="page"] { color: #fff; box-shadow: inset 0 -3px 0 var(--brand); border-radius: 0; }
.header .btn-primary { box-shadow: none; }
.nav-toggle { color: #fff; border-color: rgba(255,255,255,.3); }

/* hero */
.hero { position: relative; background: var(--navy); color: #fff; padding-block: clamp(36px, 6vw, 88px) clamp(48px, 7vw, 100px); overflow: hidden; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 36px 36px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } }
.hero-kicker { display: inline-block; padding: 6px 12px; background: var(--lime); color: var(--navy); font-weight: 800; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; }
.hero h1 { font-size: clamp(2.5rem, 6.4vw, 4.8rem); line-height: .98; margin: 18px 0; text-transform: uppercase; }
.hero h1 span { color: var(--brand); }
.hero .lede { color: #C9D2EA; }
.quick-find { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; gap: 10px; align-items: end; margin-top: 28px; padding: 16px; background: #fff; color: var(--ink); border-radius: var(--radius-lg); box-shadow: 8px 8px 0 var(--brand); }
.quick-find .btn { min-height: 50px; box-shadow: none; }
@media (max-width: 600px) { .quick-find { grid-template-columns: minmax(0, 1fr); } }
.hero-board { position: relative; aspect-ratio: 1; max-width: 460px; width: 100%; justify-self: center; }
.hero-board svg { width: 100%; height: 100%; }
.formula { position: absolute; font: 700 clamp(.85rem, 1.6vw, 1.1rem) var(--head); color: var(--lime); padding: 6px 10px; border: 1px solid rgba(198,244,50,.4); border-radius: 4px; background: rgba(10,26,63,.7); }
.f1 { left: 0; top: 10%; } .f2 { right: 0; top: 4%; } .f3 { left: 4%; bottom: 22%; } .f4 { right: 2%; bottom: 34%; }
.rank-card { position: absolute; right: 4%; bottom: 0; display: grid; padding: 14px 18px; background: #fff; color: var(--navy); border-radius: var(--radius); box-shadow: 6px 6px 0 var(--lime); }
.rank-card small { font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.rank-card b { font: 900 2rem/1 var(--head); color: var(--brand-text); }
.rank-card span { font-size: .85rem; font-weight: 700; }
@media (max-width: 900px) { .hero-board { max-width: 340px; } }

.stats { background: var(--brand); color: var(--navy); }
.stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 800px) { .stats-grid { grid-template-columns: 1fr 1fr; } }
.stats-grid div { display: grid; gap: 4px; padding: 22px 16px; border-left: 2px solid rgba(10,26,63,.2); }
.stats-grid div:first-child { border-left: 0; }
.stats-grid b { font: 900 clamp(1.8rem, 4vw, 2.6rem)/1 var(--head); }
.stats-grid span { font-size: .9rem; font-weight: 600; }

.c-card { border: 2px solid var(--navy); border-radius: var(--radius-lg); }
.c-card:hover { box-shadow: 6px 6px 0 var(--brand); }
.c-filters button[aria-pressed="true"] { background: var(--navy); }
.method { background: var(--soft); }
.method-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 5vw, 64px); align-items: center; }
@media (max-width: 860px) { .method-grid { grid-template-columns: minmax(0, 1fr); } }
.method-steps { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 480px) { .method-steps { grid-template-columns: minmax(0, 1fr); } }
.method-steps li { display: grid; gap: 6px; padding: 20px; background: #fff; border-left: 6px solid var(--brand); border-radius: var(--radius); }
.method-steps .ic { color: var(--brand-text); width: 30px; height: 30px; }
.method-steps b { font: 900 1.3rem var(--head); text-transform: uppercase; }
.method-steps span { color: var(--muted); font-size: .94rem; }
.res-band { background: var(--navy); color: #fff; --surface: #13265A; --line: #233a73; --muted: #B9C3DE; --brand-text: var(--lime); }
.res-band .text-link { color: var(--lime); }
.quotes-band { background: var(--soft); }
.quotes li { border-left: 6px solid var(--navy); }

/* tool */
.pick .seats { margin-top: 4px; }
.scholar { background: var(--soft); }
.scholar-out { font-weight: 800; color: var(--brand-text); }

/* inner pages */
.page-head { background: var(--navy); color: #fff; margin-bottom: clamp(28px, 4vw, 48px); --muted: #C9D2EA; --eyebrow: var(--lime); }
.page-head h1 { text-transform: uppercase; }

/* CTA + footer */
.cta-band { padding-block: clamp(44px, 6vw, 80px); background: var(--lime); color: var(--navy); }
.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); text-transform: uppercase; }
.cta-band p { margin-top: 6px; max-width: 54ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-band .btn-ghost { border-color: var(--navy); color: var(--navy); }
.footer { background: #06112B; color: #B9C3DE; --footer-line: rgba(255,255,255,.14); }
.footer h2 { color: var(--lime); }
.f-about { margin-top: 12px; max-width: 34ch; }
.footer .credit a { color: #fff; }
