/* Akshar Foundation: notebook white, ink blue, pencil yellow and a red margin line. Fraunces for headings, Figtree for text.
   Change the colours and fonts here; base.css reads these variables. */
:root {
  --bg: #FFFFFF;
  --surface: #FFFFFF;
  --soft: #F4F6FC;
  --ink: #17224A;
  --muted: #4E5878;
  --line: #E1E6F2;
  --line-strong: #C7D0E6;
  --brand: #1F3A93;
  --brand-hover: #172C72;
  --brand-ink: #FFFFFF;
  --brand-text: #1F3A93;
  --yellow: #F6C343;
  --red: #E4572E;
  --eyebrow: #C7401B;
  --head: "Fraunces", Georgia, serif;
  --body: "Figtree", system-ui, sans-serif;
  --radius: 8px;
  --radius-lg: 14px;
  --btn-radius: 8px;
  --wrap: 1180px;
  --gap: 22px;
  --out-bg: #1F3A93;
  --out-btn: #F6C343;
  --out-btn-ink: #17224A;
}
h1, h2, h3 { font-weight: 700; letter-spacing: -.01em; }
.btn-primary { background: var(--brand); }

/* header */
.header { background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); }
.logo b { font: 700 1.5rem var(--head); color: var(--brand); letter-spacing: -.02em; }
.logo small { font-size: .74rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--red); }
.nav a { font-weight: 600; color: var(--muted); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--brand); background: var(--soft); }
.header-cta .btn-primary { background: var(--yellow); color: var(--ink); }
.header-cta .btn-primary:hover { background: #EDB420; }

/* hero: a ruled notebook page with a red margin */
.hero { position: relative; padding-block: clamp(36px, 6vw, 84px); background-color: #FFFEF8; background-image: linear-gradient(90deg, transparent 0 calc(max(16px, (100% - 1180px) / 2) - 18px), rgba(228,87,46,.45) 0 calc(max(16px, (100% - 1180px) / 2) - 16px), transparent 0), repeating-linear-gradient(180deg, transparent 0 35px, #DCE4F5 35px 36px); border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .8fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } }
.hero-tag { font-weight: 700; color: var(--red); font-size: .9rem; }
.hero h1 { font-size: clamp(2.5rem, 6vw, 4.4rem); line-height: 1.04; margin: 14px 0 18px; }
.mark { background: linear-gradient(transparent 60%, rgba(246,195,67,.8) 60% 92%, transparent 92%); padding-inline: .05em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.note-card { position: relative; display: grid; gap: 10px; padding: 26px 24px 22px; background: #fff; border: 2px solid var(--ink); border-radius: 4px; box-shadow: 8px 8px 0 var(--yellow); transform: rotate(-1.2deg); }
.note-card::before { content: ""; position: absolute; top: -14px; left: 50%; width: 84px; height: 24px; margin-left: -42px; background: rgba(246,195,67,.75); transform: rotate(3deg); }
.note-eyebrow { font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--red); }
.note-amount { font: 700 2.6rem/1 var(--head); color: var(--brand); }
.note-amount small { font: 600 1rem var(--body); color: var(--muted); }
.note-card ul { display: grid; gap: 6px; padding-left: 1.1em; color: var(--muted); }
@media (prefers-reduced-motion: reduce) { .note-card { transform: none; } }

.stats-wrap { padding-block: clamp(32px, 5vw, 56px) 0; }
.stats { border-width: 2px; border-color: var(--ink); background: var(--ink); }
.steps-band { background: var(--soft); margin-top: clamp(40px, 6vw, 72px); }
.steps { list-style: none; counter-reset: s; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: var(--gap); }
.steps li { counter-increment: s; display: grid; gap: 8px; padding: 24px; background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--line); }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--yellow); font: 700 1.3rem var(--head); color: var(--ink); }
.steps p { color: var(--muted); }
.p-card { border-width: 1.5px; }
.p-card:hover { border-color: var(--brand); }

.story-band { background: var(--brand); color: #fff; }
.story-feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 56px); align-items: center; }
@media (max-width: 820px) { .story-feature { grid-template-columns: minmax(0, 1fr); } }
.story-feature figure { margin: 0; border-radius: var(--radius-lg); overflow: hidden; border: 4px solid #fff; }
.story-feature h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 10px 0 14px; }
.story-feature p { color: #D8E0F5; }
.story-feature .eyebrow { color: var(--yellow); }
.story-feature .text-link { color: var(--yellow); margin-top: 10px; }

/* sponsor tool */
.stage-pick { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 10px; }
.stage-pick .pill span { justify-items: start; text-align: left; padding: 14px 16px; gap: 2px; }
.stage-pick small { font-weight: 500; opacity: .8; }
.lbl { font-weight: 600; font-size: .95rem; }
.out-h { font-weight: 700; margin-bottom: 4px; }
.tool-out .ticks li::before { color: var(--yellow); }
.faq-mini { max-width: 820px; }

/* inner pages */
.page-head { background: #FFFEF8; background-image: repeating-linear-gradient(180deg, transparent 0 35px, #E4EAF7 35px 36px); border-bottom: 1px solid var(--line); margin-bottom: clamp(24px, 4vw, 40px); }
.cta-band { background: var(--yellow); }
.cta-band .btn-ghost { border-color: var(--ink); }
.footer { background: var(--ink); color: #C3CBE3; --footer-line: rgba(255,255,255,.14); }
.footer .logo b, .footer h2 { color: #fff; }
.footer .logo small { color: var(--yellow); }
.footer .credit a { color: #fff; }
