/* Bhasha Kendra: paper white, cobalt, tomato, mint and saffron. Fraunces for headings, Inter for text.
   Change the colours and fonts here; base.css reads these variables. */
:root {
  --bg: #FAF9F5;
  --surface: #FFFFFF;
  --soft: #F1EFE8;
  --ink: #1C2541;
  --muted: #545C74;
  --line: #E4E1D7;
  --line-strong: #C9C5B8;
  --brand: #2541B2;
  --brand-hover: #1B3290;
  --brand-ink: #FFFFFF;
  --brand-text: #2541B2;
  --tomato: #F25C3C;
  --mint: #3BB3A0;
  --eyebrow: #C8401F;
  --badge-bg: #F25C3C;
  --badge-ink: #fff;
  --out-bg: #FFFFFF;
  --out-ink: #1C2541;
  --out-accent: #2541B2;
  --out-btn: #2541B2;
  --out-btn-ink: #fff;
  --head: "Fraunces", Georgia, serif;
  --body: "Inter", system-ui, sans-serif;
  --radius: 10px;
  --radius-lg: 18px;
  --btn-radius: 999px;
  --wrap: 1160px;
}
h1, h2, h3 { font-weight: 700; letter-spacing: -.015em; }
h1 em { font-style: italic; color: var(--tomato); font-weight: 500; }
.ic { color: var(--brand); }

.header { background: rgba(250,249,245,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-mark { display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 12px; background: var(--brand); color: #fff; font: 700 1.3rem var(--head); }
.logo-mark i { font-style: italic; color: #FFD3C8; font-size: .9em; }
.logo span:last-child { display: grid; line-height: 1.1; }
.logo b { font: 700 1.3rem var(--head); }
.logo small { font-size: .74rem; color: var(--muted); }
.nav a { color: var(--muted); font-weight: 500; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); text-decoration: underline; text-decoration-color: var(--tomato); text-underline-offset: 8px; text-decoration-thickness: 2px; }

.hero { padding-block: clamp(40px, 7vw, 100px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 6vw, 80px); align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } }
.hero h1 { font-size: clamp(2.6rem, 6.4vw, 5rem); line-height: 1; margin: 16px 0 20px; }
.hero .t-actions { margin-top: 28px; }
.hello { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hello a { display: grid; gap: 4px; min-height: 150px; align-content: end; padding: 20px; border-radius: 22px 22px 22px 4px; background: var(--c); color: #fff; text-decoration: none; transition: transform .25s; }
.hello li:nth-child(2) a { border-radius: 22px 22px 4px 22px; transform: translateY(24px); }
.hello li:nth-child(3) a { border-radius: 4px 22px 22px 22px; }
.hello li:nth-child(4) a { border-radius: 22px 4px 22px 22px; transform: translateY(24px); color: var(--ink); }
.hello a:hover { transform: translateY(-4px); }
.hello b { font: 700 clamp(1.5rem, 3.4vw, 2.3rem)/1 var(--head); font-style: italic; }
.hello span { font-size: .86rem; font-weight: 600; opacity: .9; }
@media (max-width: 480px) { .hello a { min-height: 110px; padding: 16px; } .hello li:nth-child(even) a { transform: translateY(14px); } }

.ribbon { border-block: 1px solid var(--line); background: var(--surface); }
.ribbon-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 24px; padding-block: 18px; font-weight: 600; }
.ribbon-in span { display: inline-flex; align-items: center; gap: 8px; }

.c-card { border-radius: var(--radius-lg); }
.c-img { border-bottom: 1px solid var(--line); }
.goals { background: var(--ink); color: #fff; }
.goals-grid { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: clamp(24px, 5vw, 64px); }
@media (max-width: 860px) { .goals-grid { grid-template-columns: minmax(0, 1fr); } }
.goals ul { list-style: none; display: grid; }
.goals a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 18px; padding: 22px 0; border-bottom: 1px solid rgba(255,255,255,.18); text-decoration: none; }
.goals b { font: 700 1.6rem var(--head); }
.goals span { grid-column: 1; color: #C4CAE0; }
.goals i { grid-row: 1 / 3; grid-column: 2; align-self: center; font-style: normal; font-size: 1.6rem; color: #FFB4A3; transition: transform .2s; }
.goals a:hover i { transform: translateX(6px); }
.res-band { background: var(--soft); }
.quotes blockquote { font-family: var(--head); font-size: 1.2rem; font-style: italic; }

/* tool: light result card */
.tool-out { border: 2px solid var(--ink); box-shadow: 10px 10px 0 var(--mint); }
.tool-out .eyebrow { color: var(--eyebrow); }
.tool-out .out-total { font-family: var(--head); font-size: clamp(2rem, 4.6vw, 2.8rem); }

.page-head { border-bottom: 1px solid var(--line); margin-bottom: clamp(28px, 4vw, 48px); background: radial-gradient(600px 220px at 90% 0, #FDE3DC, transparent 70%); }
.page-head h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); }

.cta-band { padding-block: clamp(44px, 6vw, 80px); background: var(--tomato); 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.9rem, 4vw, 2.8rem); font-style: italic; }
.cta-band p { margin-top: 6px; max-width: 54ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-band .btn-primary { background: #fff; color: var(--ink); }
.cta-band .btn-ghost { border-color: #fff; color: #fff; }
.footer { background: var(--soft); border-top: 1px solid var(--line); }
.f-about { margin-top: 12px; max-width: 34ch; color: var(--muted); }
