/* Ghar Mistri: bright blue, sunshine yellow and ink. Baloo 2 for headings, Figtree for text.
   Change the colours and fonts here; base.css reads these variables. */
:root {
  --bg: #FFFFFF;
  --surface: #FFFFFF;
  --soft: #F1F5FF;
  --ink: #101828;
  --muted: #475467;
  --line: #E1E7F5;
  --line-strong: #C3CEEA;
  --brand: #1F5BFF;
  --brand-hover: #0F47E0;
  --brand-ink: #FFFFFF;
  --brand-text: #1747CC;
  --yellow: #FFD23F;
  --eyebrow: #1747CC;
  --announce-bg: #101828;
  --announce-ink: #FFD23F;
  --head: "Baloo 2", system-ui, sans-serif;
  --body: "Figtree", system-ui, sans-serif;
  --radius: 14px;
  --radius-lg: 22px;
  --btn-radius: 14px;
  --wrap: 1180px;
  --gap: 18px;
}
h1, h2, h3 { font-weight: 800; letter-spacing: -.01em; line-height: 1.05; }
.btn { font-weight: 700; font-size: 1.02rem; }
.btn-primary { box-shadow: 0 4px 0 #0B36AD; }
.btn-primary:active { box-shadow: 0 1px 0 #0B36AD; transform: translateY(3px); }

/* header */
.header { background: var(--brand); color: #fff; }
.logo b { font: 800 1.5rem/1 var(--head); color: #fff; }
.logo small { color: #CFDBFF; font-size: .76rem; font-weight: 500; }
.nav a { font-weight: 700; color: #E4EBFF; border-radius: 12px; }
.nav a:hover, .nav a[aria-current="page"] { background: rgba(255,255,255,.14); color: #fff; }
.header .btn-primary { background: var(--yellow); color: var(--ink); box-shadow: 0 4px 0 #C99B00; }
.nav-toggle { border-color: rgba(255,255,255,.5); color: #fff; }
:root { --menu-bg: #1F5BFF; }
@media (max-width: 960px) { .nav-open .nav a { border-color: rgba(255,255,255,.2); } }

/* hero */
.hero { background: var(--brand); color: #fff; padding-block: clamp(28px, 5vw, 64px) clamp(44px, 7vw, 90px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
@media (max-width: 880px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } }
.hero-badge { display: inline-block; padding: 6px 14px; border-radius: 999px; background: rgba(255,255,255,.14); font-weight: 700; font-size: .9rem; }
.hero h1 { font-size: clamp(2.4rem, 5.6vw, 4.2rem); line-height: 1.24; margin: 16px 0 18px; }
.hero mark { background: var(--yellow); color: var(--ink); padding: 0 .14em; border-radius: 10px; line-height: 1; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.hero .lede { color: #DCE5FF; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero .btn-primary { background: var(--yellow); color: var(--ink); box-shadow: 0 4px 0 #C99B00; }
.hero .btn-ghost { color: #fff; border-color: rgba(255,255,255,.6); }
.rating { margin-top: 18px; color: var(--yellow); letter-spacing: .1em; }
.rating b { color: #fff; letter-spacing: 0; margin-left: 6px; }
.tiles { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 520px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.tiles a { display: grid; gap: 4px; justify-items: start; padding: 18px 16px; border-radius: 20px; background: #fff; color: var(--ink); text-decoration: none; box-shadow: 0 6px 0 #0B36AD; transition: transform .15s; }
.tiles a:hover { transform: translateY(-3px); }
.tiles .ico { width: 34px; height: 34px; color: var(--brand); margin-bottom: 6px; }
.tiles li:nth-child(even) a { background: var(--yellow); box-shadow: 0 6px 0 #C99B00; }
.tiles li:nth-child(even) .ico { color: var(--ink); }
.tiles b { font: 800 1.2rem/1 var(--head); }
.tiles span { font-size: .88rem; color: var(--muted); }
.tiles li:nth-child(even) span { color: #5B4A00; }
.promise { margin-top: -30px; position: relative; }
.promise ul { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-radius: 22px; background: var(--ink); color: #fff; overflow: hidden; }
@media (max-width: 760px) { .promise ul { grid-template-columns: 1fr 1fr; } }
.promise li { display: grid; padding: 18px 20px; border-left: 1px solid rgba(255,255,255,.12); }
.promise b { font: 800 1.15rem var(--head); color: var(--yellow); }
.promise span { color: #C7D0E0; font-size: .9rem; }
.svc article { border: 2px solid var(--line); }
.svc-ico { background: var(--yellow); color: var(--ink); border-radius: 14px; }
.step-n { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 16px; background: var(--brand); color: #fff; }
.steps li { border: 2px solid var(--line); }
.quotes li { border: 2px solid var(--line); }
.p-card { border: 2px solid var(--line); }

/* calculator */
.cat { padding: 0; overflow: hidden; }
.cat > legend { float: left; width: 100%; display: flex; align-items: center; gap: 10px; padding: 14px 20px; background: var(--soft); font: 800 1.2rem var(--head); color: var(--ink); }
.cat > legend .ico { color: var(--brand); }
.jobs { clear: both; list-style: none; }
.jobs li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 20px; border-top: 1px solid var(--line); }
.job { display: grid; min-width: 0; }
.job b { font-weight: 600; }
.job small { color: var(--muted); }
.stepper { flex: none; border-radius: 12px; }
.stepper button:disabled { opacity: .35; cursor: default; }
.stepper button:not(:disabled):hover { background: var(--yellow); }
.tool-out { background: var(--ink); color: #fff; border: 0; }
.tool-out .eyebrow { color: var(--yellow); }
.tool-total { color: var(--yellow); }
.tool-range, .tool-note, .tool-lines dt { color: #C7D0E0; }
.tool-lines div { border-color: rgba(255,255,255,.12); }
.tool-out .btn-primary { background: var(--yellow); color: var(--ink); box-shadow: 0 4px 0 #C99B00; }

/* inner pages */
.page-head { background: var(--soft); margin-bottom: clamp(24px, 4vw, 40px); }
.page-head h1 { font-size: clamp(2.4rem, 5.6vw, 3.8rem); }
.cta-band { background: var(--yellow); }
.cta-band .btn-ghost { border-color: var(--ink); }
.footer { background: var(--ink); color: #C7D0E0; --footer-line: rgba(255,255,255,.12); }
.footer .logo b { color: #fff; }
.footer .logo small { color: #C7D0E0; }
.footer h2 { color: var(--yellow); opacity: 1; }
.footer .credit a { color: #fff; }
