/* Ganit Tuition Classes: notebook cream, ink blue, margin red and highlighter yellow. Kalam for headings, Mulish for text.
   Change the colours and fonts here; base.css reads these variables. */
:root {
  --bg: #FFF8E7;
  --surface: #FFFDF6;
  --soft: #FDF0D5;
  --ink: #1B2A4E;
  --muted: #55607A;
  --line: #EADFC4;
  --line-strong: #D3C39E;
  --brand: #1D3A8A;
  --brand-hover: #162D6C;
  --brand-ink: #FFFFFF;
  --brand-text: #1D3A8A;
  --red: #D64545;
  --hl: #FFE066;
  --eyebrow: #B83535;
  --badge-bg: #FFE066;
  --badge-ink: #1B2A4E;
  --out-bg: #1D3A8A;
  --out-ink: #FFFFFF;
  --out-accent: #FFE066;
  --out-btn: #FFE066;
  --out-btn-ink: #1B2A4E;
  --head: "Kalam", "Comic Sans MS", cursive;
  --body: "Mulish", system-ui, sans-serif;
  --radius: 10px;
  --radius-lg: 14px;
  --btn-radius: 10px;
  --wrap: 1160px;
}
body { background-color: var(--bg); background-image: linear-gradient(transparent 31px, rgba(29,58,138,.07) 32px); background-size: 100% 32px; }
h1, h2, h3 { font-weight: 700; line-height: 1.1; }
mark { background: linear-gradient(transparent 58%, var(--hl) 58%, var(--hl) 88%, transparent 88%); color: inherit; padding: 0 .1em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.btn { font-weight: 800; }
.btn-primary { box-shadow: 0 4px 0 #0E1F52; }
.ic { color: var(--red); }

.header { background: rgba(255,248,231,.96); border-bottom: 2px solid var(--red); }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-mark { width: 44px; height: 44px; }
.logo span { display: grid; line-height: 1.05; }
.logo b { font: 700 1.8rem var(--head); color: var(--brand); }
.logo small { font-size: .74rem; color: var(--muted); font-weight: 700; }
.nav a { font-weight: 700; color: var(--muted); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--brand); background: linear-gradient(transparent 60%, var(--hl) 60%); border-radius: 0; }

.hero { padding-block: clamp(32px, 6vw, 84px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(24px, 5vw, 64px); align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } }
.hero-page { position: relative; padding-left: clamp(16px, 3vw, 36px); border-left: 3px solid var(--red); }
.hero h1 { font-size: clamp(2.5rem, 6.4vw, 4.6rem); margin: 14px 0 18px; color: var(--brand); }
.hero .t-actions { margin-top: 26px; }
.sums { position: relative; min-height: 380px; }
.sums svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.note { position: absolute; display: grid; gap: 4px; padding: 18px 20px; width: 56%; background: var(--hl); box-shadow: 0 14px 24px -14px rgba(27,42,78,.5); z-index: 1; }
.note b { font: 700 1.6rem var(--head); color: var(--brand); }
.note span { font-size: .86rem; font-weight: 700; }
.n1 { left: 0; top: 8%; transform: rotate(-5deg); }
.n2 { right: 0; top: 40%; transform: rotate(4deg); background: #FFD1C7; }
.n3 { left: 14%; bottom: 0; transform: rotate(-2deg); background: #CDE7FF; width: 40%; }
@media (max-width: 900px) { .sums { min-height: 300px; } }
@media (max-width: 480px) { .note { width: 66%; padding: 12px 14px; } .note b { font-size: 1.3rem; } .n3 { width: 50%; } }

.feats-wrap { padding-block: 24px clamp(40px, 6vw, 72px); }
.feats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 860px) { .feats { grid-template-columns: 1fr 1fr; } }
@media (max-width: 420px) { .feats { grid-template-columns: minmax(0, 1fr); } }
.feat { display: grid; gap: 6px; padding: 22px; background: var(--surface); border: 2px dashed var(--line-strong); border-radius: var(--radius-lg); }
.feat h2 { font-size: 1.5rem; color: var(--brand); }
.feat p { color: var(--muted); }
.f1 { transform: rotate(.8deg); } .f2 { transform: rotate(-.6deg); }

.c-card { border: 2px solid var(--ink); box-shadow: 5px 5px 0 var(--hl); }
.c-body h3 { font-size: 1.45rem; color: var(--brand); }
.fee-teaser { background: var(--brand); color: #fff; --muted: #CCD6F0; }
.ft-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); gap: clamp(24px, 5vw, 64px); align-items: center; }
@media (max-width: 860px) { .ft-grid { grid-template-columns: minmax(0, 1fr); } }
.fee-teaser .btn-primary { background: var(--hl); color: var(--ink); box-shadow: none; }
.receipt { display: grid; gap: 8px; padding: 24px; background: var(--surface); color: var(--ink); border-radius: 4px; transform: rotate(2deg); font-family: var(--head); font-size: 1.15rem; box-shadow: 0 20px 40px -20px #000; }
.r-line { display: flex; justify-content: space-between; gap: 10px; border-top: 1px dashed var(--line-strong); padding-top: 8px; }
.r-line b { color: var(--red); }
.r-note { font-family: var(--body); font-size: .8rem; color: var(--muted); }
.res-band .results li { border: 2px solid var(--ink); }
.res-band .results b { color: var(--red); }
.quotes li { border: 2px solid var(--line-strong); }
.quotes blockquote { font-family: var(--head); font-size: 1.25rem; }

.tool-in.card { border: 2px solid var(--ink); }
.tool-out .out-total { font-family: var(--body); font-weight: 800; }

.page-head { margin-bottom: clamp(24px, 4vw, 44px); border-bottom: 2px solid var(--red); }
.page-head h1 { color: var(--brand); }

.cta-band { padding-block: clamp(44px, 6vw, 80px); background: var(--hl); }
.cta-band .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 22px; }
.cta-band h2 { font-size: clamp(2rem, 4.4vw, 3rem); color: var(--brand); }
.cta-band p { margin-top: 6px; max-width: 54ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.footer { background: #1B2A4E; color: #CCD6F0; --footer-line: rgba(255,255,255,.15); }
.footer .logo b { color: var(--hl); }
.footer .logo small { color: #CCD6F0; }
.footer h2 { color: var(--hl); opacity: 1; }
.f-about { margin-top: 12px; max-width: 34ch; }
.footer .credit a { color: #fff; }
