/* Mirivo Labs: ivory, saffron, kumkum and temple gold */
:root {
  --ivory: #fbf6ec;
  --eggshell: #f3e9d8;
  --paper: #fffdf8;
  --ink: #2a1c13;
  --muted: #6d5a4b;
  --line: #e6d8c1;
  --saffron: #e2801f;
  --saffron-deep: #b5461a;
  --kumkum: #7a1e22;
  --kumkum-deep: #4a1215;
  --gold: #c39a4c;
  --gold-soft: #e9d3a3;
  --max: 70rem;
  --measure: 44rem;
  --serif: "Cormorant Garamond", "Iowan Old Style", Palatino, Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans", sans-serif;
  --deva: "Tiro Devanagari Hindi", "Noto Serif Devanagari", serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--ivory); }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font: 400 16.5px/1.7 var(--sans);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--saffron-deep); text-decoration-color: color-mix(in srgb, var(--saffron-deep) 40%, transparent); text-underline-offset: 3px; }
a:hover { text-decoration-color: currentColor; }
::selection { background: var(--gold-soft); }
img, svg { display: block; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }

/* Header */
header.site { position: relative; z-index: 2; }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 22px; padding-bottom: 22px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
.brand svg { width: 34px; height: 34px; flex: none; }
.brand-name { font-family: var(--serif); font-size: 26px; font-weight: 600; letter-spacing: .01em; line-height: 1; }
.brand-labs { font-size: 10.5px; font-weight: 600; letter-spacing: .32em; color: var(--saffron-deep); margin-left: 2px; position: relative; top: -2px; }
nav.top { display: flex; gap: 22px; font-size: 14.5px; letter-spacing: .02em; }
nav.top a { color: var(--muted); text-decoration: none; }
nav.top a:hover, nav.top a[aria-current="page"] { color: var(--kumkum); }
@media (max-width: 520px) { nav.top { gap: 14px; font-size: 13.5px; } .brand-name { font-size: 23px; } }

/* Ornaments */
.rule { display: flex; align-items: center; gap: 14px; color: var(--gold); margin: 0 0 22px; }
.rule::before, .rule::after { content: ""; height: 1px; flex: 1; background: linear-gradient(90deg, transparent, var(--gold) 50%, transparent); opacity: .7; }
.rule svg { width: 18px; height: 18px; }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .28em; text-transform: uppercase; color: var(--saffron-deep); margin: 0 0 18px; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 56px 0 88px; }
.home { background: radial-gradient(ellipse 70% 52rem at 78% 0, rgba(226,128,31,.14), rgba(226,128,31,0) 100%) no-repeat var(--ivory); }
.hero .wrap { position: relative; z-index: 0; display: grid; grid-template-columns: 1.25fr .75fr; gap: 40px; align-items: center; }
.hero h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(2.9rem, 8vw, 5.4rem); line-height: 1.02; letter-spacing: -.01em; margin: 0 0 22px; color: var(--ink); }
.hero h1 em { font-style: italic; color: var(--kumkum); }
.hero .deva { font-family: var(--deva); font-size: 1.35rem; color: var(--saffron-deep); margin: 0 0 22px; }
.hero .lede { font-size: 1.14rem; color: var(--muted); max-width: 34rem; margin: 0 0 32px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: 999px; font-size: 15px; font-weight: 500; text-decoration: none; transition: transform .15s ease, background .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: linear-gradient(135deg, var(--saffron), var(--saffron-deep)); color: #fffaf2; box-shadow: 0 8px 24px -10px rgba(181,70,26,.6); }
.btn-ghost { color: var(--kumkum); border: 1px solid color-mix(in srgb, var(--kumkum) 30%, transparent); }
.btn-ghost:hover { background: rgba(122,30,34,.05); }
.sun { width: 100%; max-width: 360px; justify-self: end; color: var(--gold); }
@media (max-width: 800px) {
  .hero { padding: 24px 0 64px; }
  .hero .wrap { grid-template-columns: 1fr; }
  .sun { position: absolute; right: -140px; top: -80px; width: 300px; opacity: .3; z-index: -1; }
}

/* Sections */
section.band { padding: 80px 0; }
section.band.alt { background: var(--eggshell); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 40rem; margin-bottom: 40px; }
.section-head h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(2rem, 5vw, 2.9rem); line-height: 1.1; margin: 0 0 12px; }
.section-head p { color: var(--muted); margin: 0; font-size: 1.05rem; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 860px) { .grid3 { grid-template-columns: 1fr; } }
.pillar { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 28px 26px; position: relative; }
.pillar::before { content: ""; position: absolute; top: -1px; left: 26px; width: 44px; height: 3px; border-radius: 0 0 3px 3px; background: linear-gradient(90deg, var(--saffron), var(--kumkum)); }
.pillar .num { font-family: var(--serif); font-size: 1.05rem; font-style: italic; color: var(--gold); margin-bottom: 10px; }
.pillar h3 { font-family: var(--serif); font-weight: 600; font-size: 1.6rem; line-height: 1.2; margin: 0 0 8px; }
.pillar p { margin: 0; color: var(--muted); }

.shelf { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 860px) { .shelf { grid-template-columns: repeat(2, 1fr); } }
.shelf-item { border-radius: 16px; padding: 22px 20px 20px; background: var(--paper); border: 1px solid var(--line); min-height: 150px; display: flex; flex-direction: column; justify-content: space-between; }
.shelf-item .dot { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; color: #fffaf2; }
.shelf-item h3 { font-family: var(--serif); font-weight: 600; font-size: 1.35rem; margin: 14px 0 2px; }
.shelf-item p { margin: 0; font-size: 14px; color: var(--muted); }
.status { font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--saffron-deep); }
.status.later { color: var(--muted); }

.cta { text-align: center; }
.cta h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(2rem, 5vw, 2.8rem); margin: 0 0 10px; }
.cta p { color: var(--muted); margin: 0 auto 26px; max-width: 34rem; }

/* Legal and inner pages */
.page { padding: 40px 0 80px; }
.page .inner { max-width: var(--measure); }
.page h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(2.4rem, 7vw, 3.4rem); line-height: 1.08; margin: 0 0 8px; }
.page h2 { font-family: var(--serif); font-weight: 600; font-size: 1.55rem; line-height: 1.25; margin: 2.2em 0 .5em; color: var(--kumkum); }
.page h3 { font-size: 1rem; font-weight: 600; margin: 1.6em 0 .4em; }
.page p, .page ul, .page ol { margin: 0 0 1em; }
.page li { margin-bottom: .4em; }
.page li::marker { color: var(--saffron); }
.meta { color: var(--muted); font-size: 14px; margin-bottom: 28px; }
.summary { background: var(--paper); border: 1px solid var(--line); border-left: 3px solid var(--saffron); border-radius: 12px; padding: 18px 20px; margin: 0 0 28px; }
.summary p:last-child, .summary ul:last-child { margin-bottom: 0; }

table { width: 100%; border-collapse: collapse; margin: 0 0 1.2em; font-size: 15px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
th, td { text-align: left; vertical-align: top; padding: 11px 12px; border-bottom: 1px solid var(--line); }
th { font-weight: 600; background: var(--eggshell); }
tr:last-child td { border-bottom: 0; }
.table-scroll { overflow-x: auto; }
@media (max-width: 600px) {
  table.stack thead { display: none; }
  table.stack, table.stack tbody, table.stack tr, table.stack td { display: block; }
  table.stack tr { padding: 12px 14px; border-bottom: 1px solid var(--line); }
  table.stack td { border: 0; padding: 2px 0; }
  table.stack td:first-child { font-weight: 600; margin-bottom: 4px; }
  table.stack td:nth-child(2)::before { content: "When: "; color: var(--muted); }
  table.stack td:nth-child(3)::before { content: "Why: "; color: var(--muted); }
}
dl.facts { display: grid; grid-template-columns: max-content 1fr; gap: 8px 22px; margin: 0 0 1em; }
dl.facts dt { color: var(--muted); }
dl.facts dd { margin: 0; }
@media (max-width: 520px) { dl.facts { grid-template-columns: 1fr; gap: 2px; } dl.facts dd { margin-bottom: 10px; } }

/* Footer */
footer.site { background: var(--kumkum-deep); color: #eadcc8; font-size: 14px; position: relative; }
footer.site::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--saffron), var(--gold), var(--saffron)); }
footer.site .wrap { padding-top: 48px; padding-bottom: 40px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; }
@media (max-width: 760px) { footer.site .wrap { grid-template-columns: 1fr; } }
footer.site .brand { color: #fbf1e2; }
footer.site .brand-labs { color: var(--gold-soft); }
footer.site p { margin: 0 0 6px; color: #d9c6ad; }
footer.site nav { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 20px; align-content: start; }
footer.site nav a { color: #fbf1e2; text-decoration: none; }
footer.site nav a:hover { color: var(--gold-soft); }
.fine { grid-column: 1 / -1; border-top: 1px solid rgba(233,211,163,.18); padding-top: 18px; font-size: 13px; color: #c7b296; }
