/* Bhuh.dev — investor brief. One-page flyer over the vendored design tokens.
   Two layouts, chosen by investors.js and set on <html data-layout>: desktop (A4 sheet) and mobile (phone column). */
:root { --f-head: 'Source Serif 4', 'Tiro Devanagari Hindi', Georgia, serif; }

* { box-sizing: border-box; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--f-body); }
a { color: inherit; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ic { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.lbl { font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-mute); margin: 0; }

/* Screen chrome: back link, device note, download menu. Hidden when printing. */
.chrome { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 56px; padding: 0 24px; background: var(--paper); border-bottom: 1px solid var(--ink); }
.back { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; }
.back:hover { color: var(--sindoor); }
.dl { position: relative; }
.dl summary { list-style: none; display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; padding: 9px 14px; background: var(--ink); color: var(--paper); user-select: none; }
.dl summary::-webkit-details-marker { display: none; }
.dl summary .ic { width: 18px; height: 18px; }
.dl summary i { font-style: normal; font-size: 11px; }
.dl summary:focus-visible, .dl .menu a:focus-visible { outline: 2px solid var(--sindoor); outline-offset: 2px; }
.dl .menu { position: absolute; right: 0; top: calc(100% + 8px); width: 300px; background: var(--paper); border: 1px solid var(--ink); box-shadow: 0 12px 24px rgba(0, 0, 0, .1); }
.dl .menu a { display: block; padding: 12px 14px; text-decoration: none; border-bottom: 1px solid var(--border-strong); }
.dl .menu a:last-child { border-bottom: 0; }
.dl .menu a:hover { background: rgba(192, 57, 43, .06); }
.dl .menu b { display: block; font-family: var(--f-head); font-size: 16px; font-weight: 600; }
.dl .menu span { display: block; margin-top: 2px; font-size: 13px; line-height: 1.4; color: var(--ink-soft); }
.dl .menu em { font-style: normal; font-family: var(--f-mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--sindoor); margin-left: 8px; }

main { display: flex; justify-content: center; padding: 32px 16px 64px; background-image: radial-gradient(var(--border-mid) 1px, transparent 1px); background-size: 16px 16px; }

/* The sheet. Desktop layout is one A4 page (794 × 1123 px at 96 dpi). */
.sheet { width: 794px; min-height: 1123px; display: flex; flex-direction: column; gap: 12px; padding: 26px 36px 28px; background: #FFFEFB; border: 1px solid var(--ink); box-shadow: 0 18px 40px rgba(28, 28, 28, .08); }
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo { display: inline-flex; align-items: center; gap: 9px; }
.logo img { display: block; width: 34px; height: 34px; }
/* Kami wordmark: ink serif, coral italic "dev", gold bindu for the dot. */
.wordmark { font-family: var(--f-head); font-weight: 400; font-size: 25px; letter-spacing: -.01em; line-height: 1; color: var(--ink); }
.wordmark em { font-style: italic; color: #a7483b; }
.bindu { display: inline-block; width: .17em; height: .17em; margin: 0 .05em; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #e3c25a, #C9A227 60%, #A98126); }

.hero h1 { font-family: var(--f-head); font-weight: 600; font-size: 37px; line-height: 1.02; letter-spacing: -.03em; margin: 2px 0 8px; }
.hero h1 em { font-style: normal; color: var(--sindoor); }
.hero p { margin: 0; max-width: 620px; font-size: 13.5px; line-height: 1.5; color: var(--ink-soft); }

.block { padding: 0; border: 0; background: none; }
.block h2 { display: flex; align-items: baseline; gap: 10px; margin: 0 0 8px; padding-top: 6px; border-top: 1px solid var(--ink); font-family: var(--f-head); font-weight: 600; font-size: 16px; letter-spacing: -.01em; line-height: 1.2; }
.block h2 i { font-style: normal; font-family: var(--f-mono); font-weight: 500; font-size: 11px; letter-spacing: .1em; color: var(--sindoor); }
.small { margin: 8px 0 0; font-size: 12px; line-height: 1.45; color: var(--ink-mute); }

.tiles { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--ink); background: #fff; }
.tiles li { display: flex; flex-direction: column; gap: 3px; padding: 10px 12px 12px; border-right: 1px solid var(--border-strong); }
.tiles li:last-child { border-right: 0; }
.tiles .ic { width: 24px; height: 24px; margin-bottom: 2px; color: var(--sindoor); }
.tiles b { font-family: var(--f-head); font-size: 16px; font-weight: 600; line-height: 1.2; }
.tiles span { font-size: 12px; line-height: 1.38; color: var(--ink-soft); }

.pair { display: grid; grid-template-columns: 1.05fr 1fr; gap: 28px; }
.status-list { margin: 0; padding: 0; list-style: none; }
.status-list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px solid var(--border-strong); }
.status-list b { font-family: var(--f-head); font-size: 15px; font-weight: 600; }
.status-list b a { text-decoration: underline 1px var(--sindoor); text-underline-offset: 3px; }
.chip { display: inline-block; font-family: var(--f-mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; padding: 3px 7px; border: 1px solid currentColor; white-space: nowrap; background: #fff; }
.chip.beta { color: var(--accent-deep, #7A5A12); }
.chip.dev { color: var(--neel); }
.chip.enq { color: var(--rani); }
.chip.open { color: var(--paddy); }

.lead { margin: 0 0 8px; font-size: 12.5px; line-height: 1.45; color: var(--ink-soft); }
.stack { margin: 0; padding: 0; list-style: none; }
.stack li { display: flex; flex-direction: column; gap: 0; padding: 6px 12px; border: 1px solid var(--ink); margin-top: -1px; background: #fff; }
.stack li:nth-child(2) { background: #F6F0E2; }
.stack li:nth-child(3) { background: #ECE0C8; }
.stack li:nth-child(4) { background: var(--ink); color: var(--paper); }
.stack li:first-child { margin-top: 0; }
.stack b { font-family: var(--f-head); font-size: 15px; font-weight: 600; line-height: 1.2; }
.stack span { font-size: 12px; line-height: 1.35; opacity: .8; }

.steps { margin: 0; padding: 0; list-style: none; display: flex; align-items: stretch; }
.steps li:not(.join) { flex: 1; display: flex; flex-direction: column; gap: 2px; padding: 9px 12px 10px; border: 1px solid var(--ink); background: #fff; }
.steps .join { flex: 0 0 30px; display: flex; align-items: center; justify-content: center; color: var(--sindoor); }
.steps i { font-style: normal; font-family: var(--f-mono); font-size: 11px; color: var(--paper); background: var(--sindoor); width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; margin-bottom: 2px; }
.steps b { font-family: var(--f-head); font-size: 16px; font-weight: 600; line-height: 1.2; }
.steps span { font-size: 12px; line-height: 1.38; color: var(--ink-soft); }

.chips { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.chips li { font-family: var(--f-mono); font-size: 10px; letter-spacing: .05em; text-transform: uppercase; padding: 4px 8px; border: 1px solid var(--border-strong); background: #fff; }

.sizes { margin-top: 8px; }

.cta { margin-top: auto; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 6px 20px; padding: 12px 18px; background: var(--ink); color: var(--paper); }
.cta .lbl { color: var(--ink-faint); }
.cta .big { margin: 2px 0 0; font-family: var(--f-head); font-size: 24px; font-weight: 600; letter-spacing: -.02em; line-height: 1.1; }
.cta .link { display: inline-flex; align-items: center; gap: 10px; padding: 11px 14px; border: 1px solid var(--paper); color: var(--paper); text-decoration: none; font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.cta .link:hover { background: var(--sindoor); border-color: var(--sindoor); }
.cta .link .ic { width: 18px; height: 18px; }
.cta .co { grid-column: 1 / -1; margin: 4px 0 0; padding-top: 8px; border-top: 1px solid #3a352d; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .08em; color: var(--ink-faint); }

/* Mobile layout: one phone-width column. */
html[data-layout="mobile"] .chrome { padding: 0 16px; }
html[data-layout="mobile"] .dl .menu { width: min(300px, calc(100vw - 32px)); }
html[data-layout="mobile"] main { padding: 0; background: none; display: block; }
html[data-layout="mobile"] .sheet { width: 100%; max-width: 480px; min-height: 0; margin: 0 auto; gap: 18px; padding: 20px 18px 24px; border: 0; box-shadow: none; }
html[data-layout="mobile"] .logo img { width: 28px; height: 28px; }
html[data-layout="mobile"] .wordmark { font-size: 21px; }
html[data-layout="mobile"] .top { flex-direction: column; align-items: flex-start; gap: 10px; }
html[data-layout="mobile"] .hero h1 { font-size: 32px; }
html[data-layout="mobile"] .hero p { font-size: 15px; }
html[data-layout="mobile"] .tiles { grid-template-columns: 1fr; }
html[data-layout="mobile"] .tiles li { display: grid; grid-template-columns: 28px 1fr; column-gap: 12px; row-gap: 2px; padding: 12px; border-right: 0; border-bottom: 1px solid var(--border-strong); }
html[data-layout="mobile"] .tiles li:last-child { border-bottom: 0; }
html[data-layout="mobile"] .tiles .ic { grid-row: 1 / span 2; margin: 2px 0 0; }
html[data-layout="mobile"] .pair { grid-template-columns: 1fr; gap: 18px; }
html[data-layout="mobile"] .steps { flex-direction: column; }
html[data-layout="mobile"] .steps .join { flex-basis: 26px; transform: rotate(90deg); }
html[data-layout="mobile"] .cta { grid-template-columns: 1fr; padding: 16px; }
html[data-layout="mobile"] .cta .link { justify-content: space-between; }
html[data-layout="mobile"] .cta .big { font-size: 24px; }

/* Print and PDF. investors.js sets html.print-mode and the @page size when the PDF builder asks for it. */
@media print {
  .chrome { display: none; }
  body, main { background: #fff; }
  main { padding: 0; display: block; background-image: none; }
  .sheet { box-shadow: none; }
}
html.print-mode .chrome { display: none; }
html.print-mode body, html.print-mode main { background: #fff; }
html.print-mode main { display: block; padding: 0; background-image: none; }
html.print-mode .sheet { margin: 0; border: 0; box-shadow: none; overflow: hidden; }
html.print-mode[data-layout="desktop"] .sheet { width: 794px; height: 1123px; min-height: 0; }
html.print-mode[data-layout="desktop"] .sheet { justify-content: space-between; }
html.print-mode[data-layout="desktop"] .cta { margin-top: 0; }
html.print-mode[data-layout="mobile"] .sheet { width: 390px; max-width: none; }
