/* Generated by tools/build.py from src/. Edit the source, not this file. Tokens: src/tokens.json (Dattamsha v2). */
:root {
  --ground: #fbf6ea;
  --surface: #f4ecd9;
  --surface-raised: #fffdf7;
  --ink: #1c1a17;
  --text: #4a4541;
  --text-muted: #6e665d;
  --rule: #e2d6bd;
  --rule-strong: #cdbf9f;
  --sangam: #0e7c86;
  --sangam-deep: #0a5c63;
  --sangam-tint: #ccded6;
  --sangam-on: #fbf6ea;
  --gargi: #3f7d20;
  --gargi-deep: #305f18;
  --gargi-tint: #d5dec2;
  --gargi-on: #fbf6ea;
  --birbal: #5e8c31;
  --birbal-deep: #3e5c20;
  --birbal-tint: #dce1c5;
  --birbal-on: #0f1110;
  --sutradhar: #c2185b;
  --sutradhar-deep: #a3144c;
  --sutradhar-tint: #f0cacd;
  --sutradhar-on: #fbf6ea;
  --margdarshak: #283593;
  --margdarshak-deep: #283593;
  --margdarshak-tint: #d1cfd9;
  --margdarshak-on: #fbf6ea;
  --phala: #e8731c;
  --phala-deep: #824010;
  --phala-tint: #f7dcc1;
  --phala-on: #1c1a17;
  --sandesh: #c62828;
  --sandesh-deep: #a22121;
  --sandesh-tint: #f0cdc3;
  --sandesh-on: #fbf6ea;
  --darshan: #e6a817;
  --darshan-deep: #6a4d0b;
  --darshan-tint: #f7e6c0;
  --darshan-on: #1c1a17;
  --status-critical: #7f1d2d;
  --status-critical-tint: #f6dde0;
  --status-warning: var(--phala-deep);
  --status-warning-tint: var(--phala-tint);
  --status-good: var(--gargi-deep);
  --status-good-tint: var(--gargi-tint);
  --logo-cyan: #25abce;
  --logo-grey: #424242;
  --ground-raat: #141833;
  --surface-raat: #1c2246;
  --surface-raised-raat: #262d57;
  --ink-raat: #fbf6ea;
  --text-raat: #d3d6ea;
  --text-muted-raat: #9aa1c8;
  --rule-raat: #333b6b;
  --rule-strong-raat: #4a538a;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-text: "DM Sans", "Helvetica Neue", Arial, sans-serif;
  --font-devanagari: "Noto Serif Devanagari", "DM Sans", serif;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --space-10: 128px;
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-pill: 999px;
}

/* ---- 01-fonts.css ---- */
/* Self-hosted copies of the files Google Fonts served to the approved design (SIL OFL;
   prepared by tools/subset_fonts.py). The unicode-range values are Google's, so characters
   outside them fall back exactly as they do in the design. */
@font-face {
  font-family: "DM Sans";
  src: url("/assets/fonts/dm-sans.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Fraunces";
  src: url("/assets/fonts/fraunces.woff2") format("woff2");
  font-weight: 300 500;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Noto Serif Devanagari";
  src: url("/assets/fonts/noto-serif-devanagari.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0900-097F, U+1CD0-1CF4, U+1CF7-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B0A;
}
@font-face {
  font-family: "Noto Serif Devanagari";
  src: url("/assets/fonts/noto-serif-devanagari-latin.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---- 02-base.css ---- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--ground);
  color: var(--text);
  font-family: var(--font-text);
  font-size: 16px;
  /* The design sets line-height wherever text runs long; elsewhere it is the browser default. */
  line-height: normal;
  overflow-wrap: break-word;
}

[hidden] { display: none !important; }

h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote, pre { margin: 0; }
ul, ol { padding: 0; }
img, svg { max-width: 100%; }
button, input, textarea, select { font: inherit; }

a { color: var(--sangam-deep); }
a:hover { color: var(--ink); }

:focus-visible { outline: 3px solid var(--margdarshak); outline-offset: 2px; }
main:focus { outline: none; }

pre {
  white-space: pre-wrap;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12.5px;
  line-height: 1.55;
}

/* Devanagari (Sanskrit product names, Hindi phrases). Always carries lang="sa" or lang="hi". */
.deva { font-family: var(--font-devanagari); font-weight: 400; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--ink); color: var(--ground);
  padding: 10px 16px; border-radius: var(--radius-md);
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; color: var(--ground); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* ---- 03-layout.css ---- */
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 40px; }

/* Page sections alternate ground and surface, 80px top and bottom. */
.section { background: var(--ground); }
.section > .wrap { padding-top: 80px; padding-bottom: 80px; }
.section--surface { background: var(--surface); }
.section--hero > .wrap { padding-top: 64px; padding-bottom: 64px; }

/* Flexible rows that wrap into a stack on narrow screens. */
.row { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.row > * { min-width: 0; }
.row--center { align-items: center; }

/* ---- Header ---- */
.site-header { background: var(--ground); }
.site-header__bar {
  display: flex; align-items: center; gap: 28px; flex-wrap: wrap;
  padding-top: 18px; padding-bottom: 18px;
}
.brand { display: flex; align-items: baseline; gap: 8px; text-decoration: none; }
/* The owl mark (white on logo-cyan, as in the lockup), 40px: the design system's minimum. */
.brand__mark { display: block; align-self: center; width: 40px; height: 40px; margin-right: 4px; }
.brand__name { font-family: var(--font-display); font-size: 26px; color: var(--ink); }
/* "DATA LABS" is part of the logo lockup, in logo-cyan. WCAG 1.4.3 exempts logotypes from
   contrast minimums, so it is drawn as generated content (the link's accessible name,
   "Dattamsha Data Labs, home", comes from aria-label) and automated contrast checks skip it. */
.brand__labs {
  font-size: 11px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase;
  color: var(--logo-cyan);
}
.brand__labs::after { content: "Data Labs"; }
.site-menu { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.site-nav ul { display: flex; flex-wrap: wrap; gap: 24px; list-style: none; font-size: 15px; }
.site-nav a { text-decoration: none; color: var(--text); font-size: 15px; }
.site-nav a:hover { color: var(--ink); }
.site-nav a[aria-current="page"] { color: var(--ink); font-weight: 600; }

.menu-toggle {
  display: none;
  margin-left: auto;
  background: transparent; color: var(--ink);
  border: 1px solid var(--ink); border-radius: var(--radius-md);
  padding: 8px 14px; font-size: 15px; font-weight: 600; line-height: 1.2; cursor: pointer;
}

/* Below 960px the nav collapses behind the Menu button. Without JavaScript,
   assets/css/no-js.css (loaded in <noscript>) shows the links instead. */
/* Phones: keep the owl at its 40px minimum and the Menu button on the same line. */
@media (max-width: 479px) {
  .site-header__bar { gap: 12px; }
  .brand { gap: 6px; }
  .brand__mark { margin-right: 0; }
  .brand__name { font-size: 22px; }
  .brand__labs { font-size: 10px; letter-spacing: 1.5px; }
}

@media (max-width: 959px) {
  .menu-toggle { display: inline-block; }
  .site-menu { display: none; }
  .site-menu.is-open {
    display: flex; flex-direction: column; align-items: stretch; gap: 16px;
    flex-basis: 100%; margin-left: 0; padding: 8px 0 4px;
  }
  .site-menu.is-open .site-nav ul { flex-direction: column; gap: 0; }
  .site-menu.is-open .site-nav a { display: block; padding: 12px 0; border-top: 1px solid var(--rule); font-size: 17px; }
  .site-menu.is-open .btn { align-self: flex-start; }
}

/* ---- Footer ---- */
.site-footer { background: var(--margdarshak); color: var(--margdarshak-on); }
.site-footer__inner {
  display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between;
  padding-top: 32px; padding-bottom: 40px; font-size: 14px; line-height: 1.6;
}
.site-footer__org { flex: 1 1 320px; }
.site-footer__name { font-family: var(--font-display); font-size: 22px; }
.site-footer__meta { margin-top: 6px; opacity: .85; }
.site-footer__links { display: flex; gap: 28px; flex-wrap: wrap; align-items: flex-start; list-style: none; }
.site-footer a { color: var(--margdarshak-on); }
.site-footer a:hover { color: var(--margdarshak-on); text-decoration-thickness: 2px; }
.site-footer :focus-visible { outline-color: var(--margdarshak-on); }
.site-footer__legal { flex-basis: 100%; font-size: 12px; opacity: .7; }
/* The design sets अन्वय here as plain text in the paragraph's own font stack. */
.site-footer__legal .deva { font: inherit; }

@media (max-width: 600px) {
  /* Sides only: the header bar and footer also carry .wrap and keep their own top/bottom padding. */
  .wrap { padding-inline: 20px; }
  .section > .wrap { padding-top: 56px; padding-bottom: 56px; }
  .section--hero > .wrap { padding-top: 40px; padding-bottom: 48px; }
  .row { gap: 32px; }
}

/* ---- 04-components.css ---- */
/* ---- Type ---- */
.eyebrow {
  font-size: 13px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase;
  color: var(--phala-deep);
}
.display-1 {
  margin-top: 12px;
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(38px, 4.6vw, 60px); line-height: 1.06; letter-spacing: -0.5px;
  color: var(--ink);
}
.display-2 {
  margin-top: 12px;
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(28px, 3.2vw, 40px); line-height: 1.12;
  color: var(--ink);
}
.lede { font-size: 19px; line-height: 1.5; color: var(--text); max-width: 600px; }
.intro { font-size: 18px; line-height: 1.55; color: var(--text); max-width: 720px; }
.note { font-size: 12px; color: var(--text-muted); }

/* Text colour: the text-safe -deep tone of each product, plus neutrals. */
.t-sangam { color: var(--sangam-deep); }
.t-gargi { color: var(--gargi-deep); }
.t-birbal { color: var(--birbal-deep); }
.t-sutradhar { color: var(--sutradhar-deep); }
.t-margdarshak { color: var(--margdarshak-deep); }
.t-phala { color: var(--phala-deep); }
.t-sandesh { color: var(--sandesh-deep); }
.t-darshan { color: var(--darshan-deep); }
.t-ink { color: var(--ink); }
.t-text { color: var(--text); }
.t-muted { color: var(--text-muted); }

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  font-family: inherit; font-weight: 600; font-size: 15px; line-height: 1.2;
  padding: 12px 20px; border: 0; border-radius: var(--radius-md);
  text-decoration: none; cursor: pointer;
}
.btn--kesar { background: var(--phala); color: var(--phala-on); }
.btn--line { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.btn--sm { padding: 8px 14px; font-size: 13px; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }
/* Forced colours drop the fill, so give every button an outline to keep it reading as a button. */
@media (forced-colors: active) {
  .btn { border: 1px solid ButtonText; }
}

/* ---- Motif bands (decorative; always aria-hidden) ----
   Written in pages as <div class="motif motif--NAME [motif--on] [motif--16]" aria-hidden="true">;
   tools/build.py expands each into the design's inline SVG pattern band at its exact scale. */
/* The band height comes from the SVG's height attribute (default 24; motif--12 … motif--22). */
.motif { display: block; width: 100%; }

/* ---- Pigment grounds ---- */
.block-sangam { background: var(--sangam); color: var(--sangam-on); }
.block-gargi { background: var(--gargi); color: var(--gargi-on); }
.block-birbal { background: var(--birbal); color: var(--birbal-on); }
.block-sutradhar { background: var(--sutradhar); color: var(--sutradhar-on); }
.block-margdarshak { background: var(--margdarshak); color: var(--margdarshak-on); }
.block-phala { background: var(--phala); color: var(--phala-on); }
.block-sandesh { background: var(--sandesh); color: var(--sandesh-on); }
.block-darshan { background: var(--darshan); color: var(--darshan-on); }
.tint-sangam { background: var(--sangam-tint); color: var(--ink); }
.tint-gargi { background: var(--gargi-tint); color: var(--ink); }
.tint-birbal { background: var(--birbal-tint); color: var(--ink); }
.tint-sutradhar { background: var(--sutradhar-tint); color: var(--ink); }
.tint-margdarshak { background: var(--margdarshak-tint); color: var(--ink); }
.tint-phala { background: var(--phala-tint); color: var(--ink); }
.tint-sandesh { background: var(--sandesh-tint); color: var(--ink); }
.tint-darshan { background: var(--darshan-tint); color: var(--ink); }

/* ---- Cards and panels ---- */
.card {
  background: var(--surface-raised); border: 1px solid var(--rule);
  border-radius: var(--radius-lg); overflow: hidden;
}
/* A product app header bar: name, Devanagari, a right-aligned note. */
.app-head { display: flex; align-items: baseline; gap: 10px; padding: 10px 18px; }
.app-head__name { font-family: var(--font-display); font-size: 18px; }
.app-head__deva { font-family: var(--font-devanagari); font-size: 13px; }
.app-head__note { margin-left: auto; font-size: 12px; }

/* ---- Pills ---- */
.pill {
  display: inline-block; font-size: 12px; font-weight: 600; white-space: nowrap;
  padding: 3px 10px; border-radius: var(--radius-pill);
}
.pill--critical { color: var(--status-critical); background: var(--status-critical-tint); }
.pill--roadmap { font-size: 11px; padding: 2px 8px; color: var(--phala-deep); background: var(--ground); }

/* ---- Definition rows: label left, text right, hairline above each ---- */
.rows > div { display: flex; gap: 14px; padding: 12px 0; border-top: 1px solid var(--rule); }
.rows dt {
  flex: none; width: 150px; padding-top: 3px;
  font-size: 12px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--phala-deep);
}
.rows dd { font-size: 15px; line-height: 1.55; color: var(--text); }
.rows--narrow dt { width: 110px; }
.rows--small dd { font-size: 14px; line-height: 1.5; }
.rows--end { border-bottom: 1px solid var(--rule); }
@media (max-width: 480px) {
  .rows > div { flex-direction: column; gap: 4px; }
  .rows dt { width: auto; }
}

/* Lists with a hairline above each item. */
.ruled { list-style: none; }
.ruled > li { padding: 12px 0; border-top: 1px solid var(--rule); }

/* A code block whose lines do not wrap (the home SQL block below 600px) scrolls sideways
   instead of widening the page. */
.code { overflow-x: auto; }
.nowrap { white-space: nowrap; }

/* Closing call-out: phala tint card with a keri band, a line, a sentence and a button. */
.cta-strip { border-radius: var(--radius-lg); overflow: hidden; }
.cta-strip__body { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; padding: 24px 28px 28px; }
.cta-strip__text { flex: 1 1 400px; min-width: 0; }
.cta-strip__title { font-family: var(--font-display); font-weight: 400; font-size: 26px; line-height: 1.15; color: var(--ink); }
.cta-strip__lede { margin-top: 10px; font-size: 15px; line-height: 1.5; color: var(--text); }
@media (max-width: 600px) { .cta-strip__body { padding: 20px 20px 24px; } }

/* Status pills used in briefs. */
.pill--warning { color: var(--status-warning); background: var(--status-warning-tint); }
.pill--good { color: var(--status-good); background: var(--status-good-tint); }

/* In eyebrows the design sets Devanagari as plain text in the eyebrow's own font stack. */
.eyebrow .deva { font: inherit; }

/* ---- 10-home.css ---- */
/* Home page. Shared pieces live in 02–04; this file holds only what the home page adds. */

/* ---- Spacing and width helpers used on this page ---- */
.home-mt-12 { margin-top: 12px; }
.home-mt-14 { margin-top: 14px; }
.home-mt-16 { margin-top: 16px; }
.home-mt-20 { margin-top: 20px; }
.home-mt-24 { margin-top: 24px; }
.home-mt-28 { margin-top: 28px; }
.home-mb-6 { margin-bottom: 6px; }
.home-mb-12 { margin-bottom: 12px; }
.home-mb-16 { margin-bottom: 16px; }
.home-mb-20 { margin-bottom: 20px; }
.home-mb-32 { margin-bottom: 32px; }
.home-mb-36 { margin-bottom: 36px; }
.home-mb-56 { margin-bottom: 56px; }
.home-mw-760 { max-width: 760px; }
.home-mw-820 { max-width: 820px; }
.home-balance { text-wrap: balance; }

.home-body-l { font-size: 18px; line-height: 1.55; color: var(--text); }
.home-hint { font-size: 15px; color: var(--text-muted); }
.home-small { font-size: 12px; }

/* Small uppercase labels inside panels and cards. */
.home-label { font-size: 12px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; }
.home-label--11 { font-size: 11px; }
/* An eyebrow on a full pigment block takes the block's -on colour; the design draws it at 85%,
   which keeps AA only on Margdarshak indigo (7.4:1). On Sangam teal it stays full strength. */
.home-eyebrow-on { color: inherit; }
.home-mini--block .home-eyebrow-on { opacity: .85; }

/* Devanagari sizes next to Latin names. */
.home-deva-12 { font-size: 12px; }
.home-deva-13 { font-size: 13px; }
.home-deva-14 { font-size: 14px; }
.home-deva-17 { font-size: 17px; }
.home-deva-24 { font-size: 24px; }

/* Classes like .btn set display, which would beat the hidden attribute. */

/* ---- 01 · Hero and the Ask Gargi panel ---- */
.home-hero__text { flex: 1 1 520px; max-width: 680px; }
.home-gargi { flex: 1 1 402px; max-width: 562px; } /* 400px/560px content plus the 1px border (content-box in the design) */
.home-gargi__body { display: flex; flex-direction: column; gap: 8px; padding: 16px 18px 18px; }
.home-gargi__body .home-label { margin-bottom: 4px; }
.home-gargi__questions { display: flex; flex-direction: column; gap: 8px; }
.home-q {
  display: block; width: 100%; text-align: left;
  background: var(--surface-raised); color: var(--ink);
  border: 1px solid var(--rule); border-radius: var(--radius-md);
  padding: 10px 14px; font-size: 14px; line-height: 1.4; cursor: pointer;
}
.home-q:hover { border-color: var(--gargi); }
.home-q[aria-pressed="true"] { border-color: var(--gargi); background: var(--gargi-tint); }
.home-answer {
  margin-top: 10px; padding: 14px 16px;
  background: var(--gargi-tint); border-radius: var(--radius-md);
}
.home-answer__text { font-size: 15px; line-height: 1.55; color: var(--ink); }
.home-answer__source { margin-top: 10px; font-size: 12px; color: var(--text); }
.home-gargi__hint { margin-top: 10px; font-size: 13px; color: var(--text-muted); }
/* Windows High Contrast replaces the tint and border colours, so the picked question would
   look like the others; mark it with a thicker system Highlight border instead. */
@media (forced-colors: active) {
  .home-q[aria-pressed="true"] { border: 3px solid Highlight; padding: 8px 12px; }
  /* Tinted panels lose their fill here; keep their edge. */
  .home-pillar { border: 1px solid CanvasText; }
}

.home-clients {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 36px;
  margin-top: 56px; padding-top: 20px; border-top: 1px solid var(--rule);
}
.home-clients__list {
  display: flex; flex-wrap: wrap; gap: 10px 32px; list-style: none;
  font-size: 17px; font-weight: 600; color: var(--text);
}

/* ---- 02 · What it costs today ----
   The comparison is a real table styled like the definition rows (.rows): a hairline above
   each row, labels in the small uppercase dt style. Below 720px each row stacks into a block
   and the column names show above each cell (aria-hidden: the table headers already name them). */
.home-compare { width: 100%; border-collapse: collapse; border-bottom: 1px solid var(--rule); }
.home-compare th, .home-compare td { padding: 14px 28px 14px 0; text-align: left; vertical-align: top; }
.home-compare th:last-child, .home-compare td:last-child { padding-right: 0; }
.home-compare tbody tr { border-top: 1px solid var(--rule); }
.home-compare thead th, .home-compare__label {
  font-size: 12px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; line-height: normal;
  color: var(--phala-deep);
}
.home-compare thead th { padding-top: 0; padding-bottom: 12px; }
.home-compare tbody th { width: 22%; font-size: 15px; font-weight: 600; line-height: 1.4; color: var(--ink); }
.home-compare td { width: 39%; font-size: 15px; line-height: 1.55; color: var(--text); }
/* Before in body text, after in ink, so the two columns read as a before and after. */
.home-compare td + td { color: var(--ink); }
.home-compare__label { display: none; }
@media (max-width: 720px) {
  .home-compare, .home-compare tbody, .home-compare tr, .home-compare th, .home-compare td { display: block; width: auto; }
  .home-compare thead {
    position: absolute; width: 1px; height: 1px; overflow: hidden;
    clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
  }
  .home-compare tbody tr { padding: 16px 0; }
  .home-compare tbody th, .home-compare td { width: auto; padding: 0; }
  .home-compare td { margin-top: 10px; }
  .home-compare__label { display: block; margin-bottom: 3px; }
}

/* The arithmetic: a small phala-tint panel, the same as the side pillars in "What it takes". */
.home-sum { margin-top: 32px; max-width: 640px; }
.home-sum .home-rule-title { margin-bottom: 4px; }
.home-sum__line { font-size: 17px; line-height: 1.5; color: var(--ink); font-variant-numeric: tabular-nums; }
.home-sum__note { margin-top: 4px; font-size: 13px; color: var(--text); }
/* The answer in the display face, as the result lines on the story cards. */
.home-sum__result { font-family: var(--font-display); font-size: 20px; color: var(--phala-deep); }

/* ---- 03 · The night before: Birbal case file ---- */
.home-night__text { flex: 1 1 380px; max-width: 520px; }
.home-case { flex: 1 1 442px; max-width: 602px; } /* 440px/600px content plus the 1px border */
/* The design draws -on text at 85% on pigment; at these sizes that misses 4.5:1, so it stays full strength. */
.home-gargi .app-head__deva, .home-gargi .app-head__note, .home-case .app-head__deva { opacity: 1; }
.home-case__date { font-weight: 600; opacity: 1; }
.home-case__body { padding: 16px 18px 6px; min-height: 322px; } /* 300px of content plus padding, as designed (content-box) */
.home-case__meta { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-bottom: 8px; }
.home-case__title {
  margin-bottom: 10px;
  font-family: var(--font-display); font-weight: 400; font-size: 20px; line-height: normal; color: var(--ink);
}
.home-steps { list-style: none; }
.home-step { display: flex; gap: 12px; padding: 10px 0; border-top: 1px solid var(--rule); }
.home-step__time {
  flex: none; width: 40px;
  font-size: 12px; color: var(--text-muted); font-variant-numeric: tabular-nums;
}
.home-step__head { font-size: 13px; font-weight: 600; color: var(--ink); }
.home-step__text { margin-top: 2px; font-size: 13px; line-height: 1.45; color: var(--text); }
.home-thinking { padding: 10px 0; font-size: 13px; color: var(--text-muted); border-top: 1px solid var(--rule); }
.home-case__bar {
  display: flex; gap: 8px; align-items: center; flex-wrap: wrap;
  padding: 12px 18px; border-top: 1px solid var(--rule); background: var(--surface);
}
.home-btn-quiet {
  background: transparent; color: var(--text);
  border: 1px solid var(--rule); padding: 7px 13px;
}
.home-case__note { margin-left: auto; font-size: 11px; color: var(--text-muted); }

/* ---- 04 · What it takes ---- */
.home-pillars { display: flex; flex-wrap: wrap; gap: 20px; }
.home-pillars > * { min-width: 0; }
.home-pillar { display: flex; flex-direction: column; border-radius: var(--radius-lg); overflow: hidden; flex: 1; }
.home-pillar--main { flex: 1.3 1 420px; }
.home-pillars__side { flex: 1 1 320px; display: flex; flex-direction: column; gap: 20px; }
.home-pillar__body { display: flex; flex-direction: column; gap: 12px; flex: 1; padding: 28px 32px 32px; }
.home-pillar__body--sm { gap: 8px; padding: 18px 22px 22px; }
.home-pillar__title { font-family: var(--font-display); font-weight: 400; font-size: 34px; line-height: 1.1; }
.home-pillar__title--sm { font-size: 26px; color: var(--ink); }
.home-pillar__text { font-size: 17px; line-height: 1.55; max-width: 520px; }
.home-pillar__text--sm { font-size: 15px; color: var(--text); }
.home-pillar__foot {
  margin-top: auto; padding-top: 16px; font-size: 14px;
  /* The design dims this whole line to 85%; the text stays full strength for contrast,
     the rule above it keeps the designed tone. */
  border-top: 1px solid color-mix(in srgb, currentColor 85%, transparent);
}

/* ---- 05 · AI, in three verbs ---- */
.home-verbs { display: flex; flex-wrap: wrap; gap: 24px; }
.home-verb { flex: 1 1 300px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.home-verb__text { margin-top: 8px; font-size: 16px; line-height: 1.5; color: var(--text); }
.home-mini { font-size: 13px; color: var(--text); }
.home-mini--block { color: var(--margdarshak-on); border-radius: var(--radius-lg); overflow: hidden; }
.home-mini__head { padding: 8px 14px; font-family: var(--font-display); font-size: 15px; }
.home-mini__body { padding: 12px 14px; }
.home-mini__body--chat { display: flex; flex-direction: column; gap: 8px; }
.home-mini__title { margin-bottom: 8px; font-weight: 600; color: var(--ink); }
.home-nudge { margin-bottom: 8px; font-family: var(--font-display); font-size: 16px; line-height: 1.35; }
.home-nudge__meta { font-size: 12px; opacity: .85; }
.home-chat__q { background: var(--surface); padding: 8px 10px; border-radius: var(--radius-md); color: var(--ink); }
.home-chat__a { padding: 0 2px; }

/* ---- 06 · How it's built ---- */
.home-metric { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.home-metric > * { min-width: 0; }
/* The code card uses the Raat (dark) theme's surface and text tokens. */
.home-sql {
  flex: 1.3 1 460px; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--surface-raat); color: var(--text-raat);
}
.home-sql__body { padding: 18px 20px; }
.home-metric__rules { flex: 1 1 320px; }
.home-rule-title { margin-bottom: 6px; font-family: var(--font-display); font-weight: 400; font-size: 22px; color: var(--ink); }
.home-rows-sangam dt { color: var(--sangam-deep); }

.home-walls { margin-top: 72px; }
.home-walls__col { flex: 1 1 380px; }
.home-walls__text { font-size: 19px; line-height: 1.6; color: var(--text); }
.home-walls__lead { font-family: var(--font-display); font-size: 24px; color: var(--ink); }
.home-walls__link { margin-top: 18px; font-size: 15px; }
.home-refuse { margin-top: 12px; }
.home-refuse > li { font-size: 17px; line-height: 1.5; color: var(--ink); }
.home-refuse__x { margin-right: 10px; font-family: var(--font-display); font-size: 22px; color: var(--sandesh-deep); }

/* ---- 07 · The first 90 days ---- */
.home-timeline { display: flex; flex-wrap: wrap; gap: 0 24px; list-style: none; border-top: 4px solid var(--margdarshak); }
.home-timeline > li { flex: 1 1 180px; position: relative; padding: 26px 16px 0 0; }
.home-timeline > li::before {
  content: ""; position: absolute; left: 0; top: -11px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--margdarshak); border: 3px solid var(--surface);
}
.home-timeline__when {
  display: block; font-size: 12px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--margdarshak-deep);
}
.home-timeline__what { display: block; margin: 4px 0 6px; font-family: var(--font-display); font-size: 24px; color: var(--ink); }
.home-timeline__text { display: block; font-size: 14px; line-height: 1.5; color: var(--text); }
/* Below 1080px the five steps no longer fit on one row (and a wrapped second row would put its
   dots over the first row's text), so the line runs down the left instead of across the top. */
@media (max-width: 1079.98px) {
  .home-timeline { flex-direction: column; gap: 24px; border-top: 0; border-left: 4px solid var(--margdarshak); padding-left: 24px; }
  .home-timeline > li { flex: none; padding: 0; }
  .home-timeline > li::before { left: -35px; top: 0; }
}

/* ---- 08 · Where it runs today ---- */
.home-stories { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr)); gap: 20px; }
/* Tablets and small laptops: three and two. Wide screens: all five in one row. */
@media (min-width: 721px) and (max-width: 1179.98px) {
  .home-stories { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1180px) {
  .home-stories { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
  .home-story { padding: 16px 16px 18px; }
}
/* Wherever cards share a row, every sector label keeps two lines so the figures line up. */
@media (min-width: 721px) {
  .home-story__name { line-height: 1.3; min-height: 2.6em; }
}
.home-story {
  display: flex; flex-direction: column; gap: 8px;
  padding: 18px 20px 20px; border-radius: var(--radius-lg);
  background: var(--surface-raised); border: 1px solid var(--rule); border-top: 5px solid;
  color: var(--ink); text-decoration: none;
}
.home-story:hover { color: var(--ink); }
.home-story--sangam { border-top-color: var(--sangam); }
.home-story--gargi { border-top-color: var(--gargi); }
.home-story--sutradhar { border-top-color: var(--sutradhar); }
.home-story--margdarshak { border-top-color: var(--margdarshak); }
.home-story--phala { border-top-color: var(--phala); }
.home-story__name { font-size: 15px; font-weight: 600; }
.home-story__text { font-size: 14px; line-height: 1.5; color: var(--text); }
/* Result first: the figure large, then what it measures, in the design's result-line style. */
.home-story__num { margin-top: 4px; font-family: var(--font-display); font-size: clamp(28px, 11vw, 40px); line-height: 1; white-space: nowrap; }
.home-story__measure { font-family: var(--font-display); font-size: 18px; line-height: 1.3; }
.home-story__run { color: var(--ink); }
.home-story__more { margin-top: auto; padding-top: 8px; font-size: 13px; }

/* ---- 09 · The platform, briefly ---- */
.home-doors { display: flex; flex-wrap: wrap; gap: 16px; }
.home-door {
  flex: 1 1 240px; display: flex; flex-direction: column;
  border-radius: var(--radius-lg); overflow: hidden; text-decoration: none;
}
.home-door:hover { color: var(--ink); }
.home-door__body { display: flex; flex-direction: column; gap: 5px; flex: 1; padding: 14px 16px 16px; }
.home-door__verb { font-size: 11px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; }
.home-door__name { font-family: var(--font-display); font-size: 22px; line-height: 1.1; color: var(--ink); }
.home-door__text { font-size: 13px; line-height: 1.45; color: var(--text); }
.home-door__pill { margin-top: auto; padding-top: 8px; }

/* ---- 10 · Built by former buyers ---- */
.home-founders { flex: 1 1 420px; }
.home-people { display: flex; flex-wrap: wrap; gap: 24px; }
.home-person { flex: 1 1 220px; padding-top: 12px; border-top: 1px solid var(--rule); }
.home-person__name { font-family: var(--font-display); font-weight: 400; font-size: 22px; color: var(--ink); }
.home-person__text { margin-top: 4px; font-size: 14px; line-height: 1.5; color: var(--text); }
.home-cta { flex: 1 1 360px; border-radius: var(--radius-lg); overflow: hidden; }
.home-cta__body { padding: 24px 28px 28px; }
.home-cta__title { font-family: var(--font-display); font-size: 28px; line-height: 1.15; }
.home-cta__text { margin: 12px 0 20px; font-size: 15px; line-height: 1.5; color: var(--text); }

@media (max-width: 600px) {
  .home-clients { margin-top: 40px; }
  .home-walls { margin-top: 48px; }
  .home-pillar__body { padding: 24px 22px 24px; }
  .home-case__note { margin-left: 0; flex-basis: 100%; }
  /* The base pre style wraps (as the design does at desktop); on a phone that splits the
     SQL comments mid-line, so here the lines stay whole and the .code box scrolls sideways. */
  .home-sql__body pre { white-space: pre; }
  /* The card clips overflow, so draw the focus ring inside the scrolling box. */
  .home-sql__body:focus-visible { outline-offset: -3px; }
  /* Narrower card padding so "Download a sample Monday brief" keeps to one line at 360. */
  .home-cta__body { padding: 24px 20px 24px; }
  .home-cta .btn { text-align: center; }
}
/* Phones: keep "Gargi गार्गी · ask" (and the Birbal title) on one line; the note on the
   right drops below it when there is no room. */
@media (max-width: 400px) {
  .home-gargi .app-head, .home-case .app-head { flex-wrap: wrap; row-gap: 2px; }
  .home-gargi .app-head__deva, .home-case .app-head__deva { white-space: nowrap; }
  .home-cta .btn { padding-inline: 16px; }
}

/* ---- Motif tiles at the design's exact scale ----
   The design draws each band as an SVG pattern scaled by a fraction (48px × 0.33 = 15.84px,
   × 0.38 = 18.24px …), so its tile is a hair off the band height; matching it keeps the
   repeat from drifting across a wide band. */

/* ---- 11-how-we-work.css ---- */
/* How we work (/how-we-work/) */

.hww-hero > .wrap { padding-top: 56px; padding-bottom: 24px; }
.hww-hero__title { max-width: 800px; }
.hww-hero__lede { margin-top: 22px; max-width: 680px; }

/* Five steps: when + name, what we do, what you give. */
.hww-steps-section > .wrap { padding-top: 24px; padding-bottom: 64px; }
.hww-steps { list-style: none; border-bottom: 1px solid var(--rule); }
.hww-step {
  display: flex; flex-wrap: wrap; gap: 24px;
  padding: 28px 0; border-top: 1px solid var(--rule);
}
.hww-step > * { min-width: 0; }
.hww-step__head { flex: 0 0 200px; }
.hww-step__when {
  display: block;
  font-size: 12px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase;
}
.hww-step__name {
  margin-top: 4px;
  font-family: var(--font-display); font-weight: 400; font-size: 30px; line-height: normal;
  color: var(--ink);
}
.hww-step__do { flex: 1 1 320px; }
.hww-label {
  margin-bottom: 6px;
  font-size: 12px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase;
}
.hww-step__text { font-size: 16px; line-height: 1.55; color: var(--text); }
/* Design boxes are content-box: 260px + 36px padding. */
.hww-step__give { flex: 1 1 296px; border-radius: var(--radius-lg); padding: 16px 18px; }
.hww-step__give-text { font-size: 15px; line-height: 1.5; color: var(--ink); }

/* The team */
.hww-team__title { margin-bottom: 28px; max-width: 760px; }
.hww-team { display: flex; flex-wrap: wrap; gap: 32px; }
.hww-team__item { flex: 1 1 280px; min-width: 0; border-top: 1px solid var(--rule); padding-top: 14px; }
.hww-team__name { font-family: var(--font-display); font-weight: 400; font-size: 24px; line-height: normal; color: var(--ink); }
.hww-team__text { margin-top: 8px; font-size: 15px; line-height: 1.55; color: var(--text); }

/* The week */
.hww-week { flex: 1 1 400px; }
.hww-week__title { margin-bottom: 20px; max-width: 760px; }
.hww-week__rows dt { color: var(--margdarshak-deep); }
.hww-week__more { margin-top: 20px; font-size: 15px; }

/* Pricing call-out: phala tint card with a motif band, text and a button. */
.hww-pricing { flex: 1 1 340px; align-self: center; }

@media (max-width: 600px) {
  .hww-step__head { flex-basis: 100%; }
}

/* The design leaves line-height at "normal" wherever it does not set one. */
.hww-step__when, .hww-label, .hww-week__more { line-height: normal; }

/* ---- 12-platform.css ---- */
/* Platform (/platform/) */

.plat-hero > .wrap { padding-top: 56px; padding-bottom: 32px; }
.plat-hero__title { max-width: 800px; }
.plat-hero__lede { margin-top: 22px; max-width: 680px; }
/* The design sets this word in the eyebrow's own sans stack (weight and all), so the
   Devanagari comes from the system fallback, not the serif. */

/* The design dims secondary text on pigment to 85%. That keeps 4.5:1 only on the
   darker or -on-ink blocks, so the dimming applies just there; elsewhere the text
   stays at full strength for contrast. */
.block-margdarshak .plat-dim,
.block-phala .plat-dim,
.block-darshan .plat-dim,
.plat-arch__node--systems .plat-dim { opacity: .85; }

/* ---- Architecture ---- */
.plat-arch-section > .wrap { padding-top: 56px; padding-bottom: 56px; }
.plat-arch__title { margin-bottom: 24px; max-width: 760px; }
.plat-arch {
  container: plat-arch / inline-size;
  margin: 0;
  border: 2px solid var(--margdarshak); border-radius: var(--radius-lg);
  padding: 20px 22px; background: var(--surface-raised);
}
.plat-arch__label {
  margin-bottom: 14px;
  font-size: 12px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--margdarshak-deep);
}
.plat-arch__flow { display: flex; flex-wrap: wrap; gap: 12px; list-style: none; }
/* Bases include padding: the design's boxes are content-box. */
.plat-arch__node { flex: 1 1 208px; min-width: 0; border-radius: var(--radius-md); padding: 12px 14px; }
.plat-arch__node--systems { background: var(--surface); color: var(--ink); }
.plat-arch__name { font-size: 14px; font-weight: 600; }
.plat-arch__what { margin-top: 4px; font-size: 12px; line-height: 1.45; }
/* DM Sans as the design loads it has no arrow glyph; the design's arrow is the
   next font in the text stack. */
.plat-arch__arrow {
  align-self: center; color: var(--text-muted);
  font-family: "Helvetica Neue", Arial, sans-serif; line-height: 21px;
}
.plat-arch__boundary { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 12px; align-items: center; }
.plat-arch__boundary-label { font-size: 12px; color: var(--text-muted); }
.plat-arch__chip {
  font-size: 12px; color: var(--ink); background: var(--phala-tint);
  padding: 4px 10px; border-radius: var(--radius-pill);
}
.plat-arch__note { margin-top: 12px; font-size: 13px; color: var(--text-muted); }

/* ---- Modules: pigment identity panel left, description right ---- */
.plat-mods-section > .wrap { padding-top: 56px; }
.plat-mods__title { max-width: 760px; }
.plat-mod {
  container: plat-mod / inline-size;
  display: flex; flex-wrap: wrap;
  margin-top: 24px;
  border: 1px solid var(--rule); border-radius: var(--radius-lg); overflow: hidden;
  scroll-margin-top: 24px;
}
.plat-mod__id { flex: 0 0 300px; display: flex; flex-direction: column; }
.plat-mod__id-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.plat-mod__verb { font-size: 12px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; }
.plat-mod__name { font-family: var(--font-display); font-weight: 400; font-size: 32px; line-height: 1.05; }
/* The design sets this whole line in Noto Serif Devanagari; its Latin part (the
   separators and Latin words) uses Noto Serif Devanagari's Latin subset, as in the artifact. */
.plat-mod__deva { font-family: var(--font-devanagari); font-size: 15px; }
.plat-mod__role {
  margin-top: auto; padding-top: 12px; border-top: 1px solid currentColor;
  font-size: 14px; font-weight: 600;
}
.plat-mod__body { flex: 1 1 456px; min-width: 0; background: var(--surface-raised); padding: 24px 28px; }
.plat-mod__text { font-size: 16px; line-height: 1.6; color: var(--text); }
.plat-mod__list { margin-top: 14px; padding-left: 18px; }
.plat-mod__list li { margin-bottom: 6px; font-size: 14px; line-height: 1.5; color: var(--text); }
.plat-mods__more { margin-top: 16px; font-size: 13px; color: var(--text-muted); }

/* ---- Closing call-out ---- */

/* Container queries rather than viewport breakpoints, so the switch happens exactly where
   the content stops fitting, with or without a scrollbar eating into the viewport. */
/* The panel (300px) and body (456px) no longer sit side by side: stack them at full
   width instead of leaving an empty block beside the panel. */
@container plat-mod (max-width: 755.98px) {
  .plat-mod__id { flex-basis: 100%; }
}
/* The flow (four 208px nodes, three arrows) no longer fits on one row: list it
   vertically instead of leaving an arrow dangling at the end of a row. A few pixels of
   slack cover arrow glyphs that are wider in other system fonts. */
@container plat-arch (max-width: 959.98px) {
  .plat-arch__flow { flex-direction: column; }
  .plat-arch__node { flex-basis: auto; }
  .plat-arch__arrow { align-self: flex-start; padding-left: 14px; transform: rotate(90deg); }
}
@media (max-width: 600px) {
  .plat-mod__body { padding: 20px; }
  .plat-arch { padding: 16px; }
}

/* The design leaves line-height at "normal" wherever it does not set one. */
.plat-arch__label, .plat-arch__name, .plat-arch__boundary-label, .plat-arch__chip,
.plat-arch__note, .plat-mod__verb, .plat-mod__deva, .plat-mod__role, .plat-mods__more { line-height: normal; }

/* ---- 13-clients.css ---- */
/* Clients page */
.cli-hero > .wrap { padding-top: 56px; padding-bottom: 24px; }
.cli-hero__title { max-width: 800px; }
.cli-hero__lede { margin-top: 22px; max-width: 680px; }

.cli-stories > .wrap { padding-top: 16px; }

/* One story: tinted side panel on the left, four lines on the right. */
.cli-story {
  display: flex; flex-wrap: wrap;
  margin-top: 24px;
  background: var(--surface-raised); border: 1px solid var(--rule);
  border-radius: var(--radius-lg); overflow: hidden;
}
.cli-story__side { flex: 0 0 280px; display: flex; flex-direction: column; }
/* Design tiles are scale(0.42) of 48px = 20.16px, not the band height. */
.cli-story__head { flex: 1; display: flex; flex-direction: column; gap: 6px; padding: 22px 24px 26px; }
.cli-story__sector { font-size: 12px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; }
.cli-story__name { font-family: var(--font-display); font-weight: 400; font-size: 26px; line-height: 1.1; color: var(--ink); }
.cli-story__rows { flex: 1 1 400px; min-width: 0; padding: 24px 28px; }

.cli-story--sangam .rows dt { color: var(--sangam-deep); }
.cli-story--gargi .rows dt { color: var(--gargi-deep); }
.cli-story--sutradhar .rows dt { color: var(--sutradhar-deep); }
.cli-story--margdarshak .rows dt { color: var(--margdarshak-deep); }
.cli-story--phala .rows dt { color: var(--phala-deep); }

/* The result row comes first, in the design's result-line style (display face, product tone). */
.cli-story__result dd { font-family: var(--font-display); font-size: 20px; line-height: 1.3; }
.cli-story__num { font-size: 32px; line-height: 1; }
/* Side by side, the label sits on the result's baseline. */
@media (min-width: 481px) {
  .cli-story__result { align-items: baseline; }
  .cli-story__result dt { padding-top: 0; }
}
.cli-story--sangam .cli-story__result dd { color: var(--sangam-deep); }
.cli-story--gargi .cli-story__result dd { color: var(--gargi-deep); }
.cli-story--sutradhar .cli-story__result dd { color: var(--sutradhar-deep); }
.cli-story--margdarshak .cli-story__result dd { color: var(--margdarshak-deep); }
.cli-story--phala .cli-story__result dd { color: var(--phala-deep); }


/* Closing call to action: a phala-tint strip with the keri band (tile scale(0.46) = 22.08px). */

@media (max-width: 720px) {
  .cli-story__side { flex-basis: 100%; }
  .cli-story__rows { padding: 16px 20px 20px; }
}
@media (max-width: 600px) {
  .cli-hero > .wrap { padding-top: 40px; padding-bottom: 16px; }
}

/* The design leaves these at the browser's normal line height. */
.cli-story__sector, .cli-story__rows dt { line-height: normal; }

/* ---- 14-trust.css ---- */
/* Trust page */
.tru-hero > .wrap { padding-top: 56px; padding-bottom: 32px; }
.tru-hero__title { max-width: 800px; }
.tru-hero__lede { margin-top: 22px; max-width: 680px; }

.tru-h2 { max-width: 760px; margin-bottom: 12px; }

.tru-split__covers { flex: 1 1 440px; }
.tru-split__yours { flex: 1 1 360px; }

.tru-rows--sangam dt { color: var(--sangam-deep); }
.tru-rows--sandesh dt { color: var(--sandesh-deep); }
.tru-rows--margdarshak dt { color: var(--margdarshak-deep); }

.tru-note { margin-top: 16px; font-size: 13px; line-height: 1.5; color: var(--text-muted); }
.tru-practices { max-width: 860px; }

/* Closing call to action: a phala-tint strip with the keri band. */

@media (max-width: 600px) {
  .tru-hero > .wrap { padding-top: 40px; padding-bottom: 16px; }
}

/* The design leaves these at the browser's normal line height. */
.tru-rows--sangam dt, .tru-rows--sandesh dt, .tru-rows--margdarshak dt { line-height: normal; }

/* The design's keri pattern is the 48px tile at scale(0.46): 22.08px, not 22px. */

/* ---- 15-about.css ---- */
/* About page */
.abt-hero > .wrap { padding-top: 56px; padding-bottom: 32px; }
.abt-hero__title { max-width: 800px; }
.abt-hero__lede { margin-top: 22px; max-width: 680px; }

/* Founder and team: cards with a motif band on top. */
.abt-people { display: flex; flex-wrap: wrap; gap: 32px; }
.abt-person { flex: 1 1 300px; min-width: 0; border-radius: var(--radius-lg); overflow: hidden; }
/* Design is content-box: the 1px border sits outside the 300px basis. */
.abt-person.card { flex-basis: 302px; }
.abt-person__body { padding: 22px 24px; }
.abt-person__name { font-family: var(--font-display); font-weight: 400; font-size: 26px; color: var(--ink); }
.abt-person__role {
  margin: 2px 0 12px;
  font-size: 13px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase;
}
.abt-person__text { font-size: 15px; line-height: 1.55; color: var(--text); }
.abt-person__text.t-ink { color: var(--ink); }

.abt-why { flex: 1 1 420px; }
.abt-why__title { max-width: 760px; margin-bottom: 16px; }
.abt-why__text { font-size: 17px; line-height: 1.6; color: var(--text); max-width: 600px; }

.abt-names { flex: 1 1 380px; }
.abt-names__title { max-width: 760px; margin-bottom: 12px; }
.abt-names__text { margin-bottom: 18px; font-size: 16px; line-height: 1.6; color: var(--text); max-width: 600px; }

/* Name · Devanagari · meaning, one row each. */
.abt-glossary { border-bottom: 1px solid var(--rule); }
.abt-glossary > div { display: flex; gap: 12px; align-items: baseline; padding: 10px 0; border-top: 1px solid var(--rule); }
.abt-glossary dt { flex: 0 0 150px; font-family: var(--font-display); font-size: 20px; color: var(--ink); }
.abt-glossary__deva { flex: 0 0 120px; font-size: 16px; color: var(--text-muted); }
.abt-glossary dd:last-child { font-size: 15px; color: var(--text); }

.abt-note { margin-top: 12px; font-size: 13px; color: var(--text-muted); }

.abt-company { flex: 1 1 360px; min-width: 0; }
.abt-company__rows { margin-top: 12px; }
.abt-company__rows dt { color: var(--margdarshak-deep); }

/* Call to action: a phala-tint strip with the keri band. */

@media (max-width: 600px) {
  .abt-hero > .wrap { padding-top: 40px; padding-bottom: 16px; }
  .abt-glossary > div { flex-wrap: wrap; gap: 4px 12px; }
  .abt-glossary dt { flex-basis: auto; }
  .abt-glossary__deva { flex-basis: auto; }
  .abt-glossary dd:last-child { flex-basis: 100%; }
}

/* The design leaves these at the browser's normal line height. */
.abt-person__name, .abt-person__role, .abt-glossary dt, .abt-glossary dd, .abt-note, .abt-company__rows dt { line-height: normal; }


/* ---- 16-book.css ---- */
/* Book a working session */
.book-page > .wrap { padding-top: 56px; }
.book-intro { flex: 1 1 420px; }
.book-title { max-width: 600px; }
.book-lede { margin-top: 22px; max-width: 680px; }
.book-rows { margin-top: 28px; }

/* Design is content-box with a 1px border: basis 380 + 2, max-width 520 + 2. */
.book-card { flex: 1 1 382px; max-width: 522px; }
/* The design tiles this band as an SVG pattern at scale(0.33): 15.84px tiles, repeating. */
.book-card__body { padding: 22px 24px 26px; }

/* Stands where the design shows the calendar embed, until cal.dattamsha.co.in exists. */
.book-cal {
  background: var(--surface); border: 1px dashed var(--rule); border-radius: var(--radius-md);
  padding: 25px 20px; text-align: center; /* 94px tall, as the designed embed box */
}

.book-form__title {
  margin: 20px 0 10px;
  font-size: 12px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--phala-deep);
}
.book-form__label { display: block; margin-bottom: 4px; font-size: 13px; color: var(--text); }
.book-form__field {
  display: block; width: 100%; margin-bottom: 12px;
  border: 1px solid var(--rule); border-radius: var(--radius-md);
  padding: 10px 12px; font-size: 15px; background: var(--ground); color: var(--ink);
  resize: vertical;
}
.book-form__field::placeholder { color: var(--text-muted); opacity: 1; }
.book-form__privacy { margin: 0 0 14px; font-size: 12px; line-height: 1.5; color: var(--text-muted); }

/* ---- 17-privacy.css ---- */
/* Privacy notice */
.prv-page > .wrap { padding-top: 56px; }
.prv-title { max-width: 700px; }
.prv-lede { margin-top: 22px; max-width: 680px; }
.prv-rows { margin-top: 28px; max-width: 860px; }
.prv-rows dt { color: var(--sangam-deep); }
.prv-updated { margin-top: 16px; font-size: 13px; color: var(--text-muted); }

/* ---- 18-monday-brief.css ---- */
/* Sample Monday brief: an email-like document at its designed 820px width.
   The design leaves most of it at the browser's normal line height. */
.brief-page > .wrap { padding-top: 56px; }
.brief {
  line-height: normal;
  max-width: 820px; min-height: 1100px; margin: 0 auto;
  display: flex; flex-direction: column;
  background: var(--surface-raised);
  /* Hairline drawn outside the box so the document's own 820px stay as designed. */
  box-shadow: 0 0 0 1px var(--rule);
}
.brief__bar { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; padding: 14px 40px; }
.brief__title { font-family: var(--font-display); font-weight: 400; font-size: 22px; line-height: normal; }
.brief__deva { font-family: var(--font-devanagari); font-size: 14px; }
.brief__deva .deva { font-size: 14px; }
.brief__date { margin-left: auto; font-size: 13px; font-weight: 600; }

.brief__body { flex: 1; padding: 28px 40px 32px; }
.brief__for {
  font-size: 12px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase;
  color: var(--birbal-deep);
}
.brief__summary {
  margin: 10px 0 20px;
  font-family: var(--font-display); font-size: 28px; line-height: 1.2; color: var(--ink);
}
.brief__item { display: flex; gap: 16px; padding: 16px 0; border-top: 1px solid var(--rule); }
.brief__status { flex: none; width: 92px; }
.brief__status .pill { display: inline; }
.brief__text { flex: 1; min-width: 0; }
.brief__head { font-family: var(--font-display); font-weight: 400; font-size: 19px; line-height: normal; color: var(--ink); }
.brief__detail, .brief__action { margin-top: 6px; font-size: 14px; line-height: 1.5; color: var(--text); }
.brief__action { color: var(--ink); }
.brief__action strong, .brief__stats strong { font-weight: 600; color: var(--ink); }
.brief__source { margin-top: 6px; font-size: 12px; color: var(--text-muted); }

.pill--warning { color: var(--status-warning); background: var(--status-warning-tint); }
.pill--good { color: var(--status-good); background: var(--status-good-tint); }

.brief__stats {
  display: flex; flex-wrap: wrap; gap: 24px;
  margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--rule);
  font-size: 13px; color: var(--text);
}
.brief__foot {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
  padding: 14px 40px; background: var(--surface); font-size: 12px; color: var(--text-muted);
}

@media (max-width: 600px) {
  .brief__bar, .brief__body, .brief__foot { padding-left: 20px; padding-right: 20px; }
  .brief__date { margin-left: 0; flex-basis: 100%; }
  .brief__summary { font-size: 24px; }
  .brief__item { flex-direction: column; gap: 8px; }
  .brief__status { width: auto; }
  .brief__stats { gap: 8px 24px; }
}

/* ---- 19-sign-in.css ---- */
/* Sign in: links out to each product's own sign-in page. */
.signin-page > .wrap { padding-top: 56px; }
.signin-title { max-width: 700px; }
.signin-lede { margin-top: 22px; }
.signin-list {
  list-style: none; margin-top: 36px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px;
}
.signin-card {
  display: flex; flex-direction: column; height: 100%;
  border-radius: var(--radius-lg); overflow: hidden; text-decoration: none;
}
.signin-card:hover { color: var(--ink); }
.signin-card__body { display: flex; flex-direction: column; gap: 5px; flex: 1; padding: 14px 16px 16px; }
.signin-card__verb { font-size: 11px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; }
.signin-card__name { font-family: var(--font-display); font-size: 22px; line-height: 1.1; color: var(--ink); }
.signin-card__deva { font-size: 13px; color: var(--text); }
.signin-card__line { font-size: 13px; line-height: 1.45; color: var(--text); }
.signin-card__go { margin-top: auto; padding-top: 10px; font-size: 13px; font-weight: 600; }
.signin-card:hover .signin-card__go { text-decoration: underline; }
.signin-note { margin-top: 28px; font-size: 15px; color: var(--text); }

/* ---- 20-404.css ---- */
/* Not found */
.nf-page > .wrap { padding-top: 56px; }
.nf-lede { margin-top: 22px; }
.nf-actions { margin-top: 28px; }
.nf-links { margin-top: 40px; max-width: 420px; }
.nf-links .ruled { border-bottom: 1px solid var(--rule); }
.nf-links a { font-size: 17px; }
