/* Masala Route Exports: chilli red, turmeric and cardamom green on cream. DM Serif Display for headings, DM Sans for
   text. Change the colours and fonts here; base.css reads these variables. */
:root {
  --bg: #FFF7E8;
  --surface: #FFFFFF;
  --soft: #FBE9C8;
  --ink: #2A1410;
  --muted: #6B4C40;
  --line: #EED9B4;
  --line-strong: #D9B985;
  --brand: #A8201A;
  --brand-hover: #8A1812;
  --brand-ink: #FFFFFF;
  --brand-text: #A8201A;
  --tur: #F2B21B;
  --green: #3F6B3A;
  --eyebrow: #A8201A;
  --head: "DM Serif Display", Georgia, serif;
  --body: "DM Sans", system-ui, sans-serif;
  --radius: 12px;
  --radius-lg: 22px;
  --btn-radius: 12px;
  --wrap: 1200px;
  --menu-bg: #A8201A;
}
h1, h2, h3 { font-weight: 400; letter-spacing: -.005em; }
h3 { font-family: var(--body); font-weight: 700; letter-spacing: 0; }
.btn { font-weight: 700; }

.header { background: var(--brand); color: #fff; }
.logo b { font: 400 1.5rem/1 var(--head); }
.logo small { color: #FFD9C8; font-size: .76rem; }
.nav a { color: #FFE7DC; font-weight: 600; }
.nav a:hover, .nav a[aria-current="page"] { color: #fff; background: rgba(0,0,0,.18); }
.header .btn-primary { background: var(--tur); color: var(--ink); }
.nav-toggle { color: #fff; border-color: rgba(255,255,255,.5); }
@media (max-width: 960px) { .nav-open .nav a { border-color: rgba(255,255,255,.2); } }

.hero { position: relative; background: radial-gradient(ellipse at 50% 120%, #C8321F 0, transparent 60%), var(--brand); color: #fff; padding-top: clamp(40px, 7vw, 96px); overflow: hidden; text-align: center; }
.hero-in { display: grid; justify-items: center; }
.hero-kicker { display: inline-block; padding: 6px 14px; border: 1px solid rgba(255,255,255,.4); border-radius: 999px; font-size: .86rem; font-weight: 600; color: #FFE1D3; }
.hero h1 { font-size: clamp(2.6rem, 7.4vw, 5.8rem); line-height: .98; margin: 20px auto 22px; max-width: 14ch; }
.hero h1 em { color: var(--tur); }
.hero .lede { color: #FFDCCD; margin-inline: auto; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }
.hero .btn-primary { background: var(--tur); color: var(--ink); }
.hero .btn-primary:hover { background: #FFC53D; }
.hero .btn-ghost { color: #fff; border-color: rgba(255,255,255,.55); }
.hero-art { width: min(720px, 100%); margin: 36px auto 0; padding: 16px 24px 0; background: linear-gradient(180deg, #FFF4E0, #FBE2B4); border-radius: 32px 32px 0 0; border: 3px solid var(--ink); border-bottom: 0; }
.hero-art svg { width: 100%; height: auto; }

.ticker { overflow: hidden; background: var(--tur); color: var(--ink); border-block: 3px solid var(--ink); }
.ticker ul { list-style: none; display: flex; width: max-content; gap: 0; animation: tick 40s linear infinite; }
.ticker li { padding: 12px 28px; font: 400 1.25rem var(--head); white-space: nowrap; }
.ticker li::after { content: "✦"; margin-left: 28px; color: var(--brand); }
@keyframes tick { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker ul { animation: none; flex-wrap: wrap; width: auto; } .ticker li[aria-hidden] { display: none; } }

.stats b { color: var(--brand); font-weight: 400; }
.band-cream { background: var(--soft); }
.prod { border: 0; box-shadow: 0 20px 40px -28px rgba(110, 18, 13, .45); }
.prod-cat { color: var(--green); }
.route { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: clamp(24px, 5vw, 60px); }
@media (max-width: 860px) { .route { grid-template-columns: minmax(0, 1fr); } }
.route-list { list-style: none; counter-reset: r; display: grid; gap: 0; }
.route-list li { counter-increment: r; display: grid; grid-template-columns: 56px 1fr; gap: 4px 16px; padding: 16px 0; border-bottom: 2px dashed var(--line-strong); }
.route-list li::before { content: counter(r); grid-row: span 2; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--brand); color: #fff; font: 400 1.4rem var(--head); }
.route-list b { font-size: 1.1rem; }
.route-list span { color: var(--muted); }
.band-green { background: var(--green); color: #fff; }
.band-green .text-link { color: var(--tur); }
.band-green .cert-strip li { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.3); }
.quotes li { background: var(--soft); border: 0; }
.quotes blockquote { font: 400 1.25rem/1.35 var(--head); }

/* builder */
.spec-card { padding: 16px 18px; border-radius: var(--radius); background: var(--soft); border-left: 6px solid var(--tur); }
.spec-t { font-weight: 700; margin-bottom: 8px; }
.spec-card dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 140px), 1fr)); gap: 8px 16px; margin: 0; }
.spec-card dt { font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.spec-card dd { margin: 2px 0 0; font-weight: 700; }
.tool-out { background: var(--brand); color: #fff; border: 0; }
.tool-out .eyebrow, .tool-out .docs-t { color: var(--tur); }
.tool-total { color: #fff; }
.tool-out .tool-range, .tool-out .tool-note, .tool-out .tool-lines dt, .tool-out .mini { color: #FFD9C8; }
.tool-out .tool-lines div { border-color: rgba(255,255,255,.2); }
.tool-out .btn-primary { background: var(--tur); color: var(--ink); }
.tool-out .btn-ghost { color: #fff; border-color: rgba(255,255,255,.55); }
.fill-bar { height: 14px; border-radius: 999px; background: rgba(255,255,255,.2); overflow: hidden; margin-bottom: 6px; }
.fill-bar i { display: block; height: 100%; background: var(--tur); border-radius: 999px; transition: width .3s; }
.docs-t { font-weight: 700; font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 8px; }
.tool-out .doc-list { gap: 6px; font-size: .92rem; }

.page-head { background: var(--brand); color: #fff; margin-bottom: clamp(24px, 4vw, 44px); }
.page-head .eyebrow { color: var(--tur); }
.page-head .lede { color: #FFDCCD; }
.cta-band { background: var(--tur); }
.footer { background: #2A1410; color: #E8CDBF; --footer-line: #4A2A22; }
.footer h2 { color: var(--tur); opacity: 1; }
.footer .credit a { color: #fff; }
.timeline li::before { background: var(--tur); }
