:root {
  --primary: #B64B28;
  --primary-ink: #8A3418;
  --accent: #0B6E69;
  --accent-ink: #085650;
  --background: #FFF8F2;
  --surface: #FFFFFF;
  --surface-2: #FCE8D7;
  --text: #312019;
  --muted: #5A463C;
  --border: #EBCDBA;
  --ink: #1C120E;
  --rule: #312019;
  --paper: #FFF8F2;
  --soft-border: #EBCDBA;
  --primary-border: #B64B28;
  --bg: #FFF8F2;
  --bg-2: #FCE8D7;
  --radius: 10px;
  --shadow-card: 0 10px 28px rgba(49, 32, 25, 0.08);
  --header-h: 72px;
  --utility-h: 36px;
  --sticky-cta-h: 72px;
  --font-display: "Poppins", "Poppins Fallback", system-ui, sans-serif;
  --font-body: "Poppins", "Poppins Fallback", system-ui, sans-serif;
  --font-deva: "Noto Sans Devanagari", "Poppins", system-ui, sans-serif;
  --max: 1180px;
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/poppins-400.woff2") format("woff2");
  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: "Poppins";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/poppins-700.woff2") format("woff2");
  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: "Poppins Fallback";
  src: local("Arial"), local("Helvetica Neue"), local("Helvetica");
  size-adjust: 112%;
  ascent-override: 105%;
  descent-override: 37%;
  line-gap-override: 10%;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
  max-width: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.7;
  color: var(--text);
  background: var(--background);
  min-width: 0;
  overflow-x: clip;
  max-width: 100%;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a { color: var(--primary-ink); }
.prose a { text-decoration: underline; text-underline-offset: 2px; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-wrap: pretty;
  margin: 0 0 0.55em;
}

h1 { font-size: clamp(32px, 5vw, 56px); font-weight: 700; }
h2 { font-size: clamp(26px, 3.2vw, 34px); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 600; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
li { margin: 0.28em 0; }

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

.skip {
  position: absolute;
  left: 0;
  top: 0;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
  background: var(--ink);
  color: #fff;
  z-index: 400;
}
.skip:focus {
  width: auto;
  height: auto;
  margin: 0;
  padding: 8px 12px;
  clip: auto;
  clip-path: none;
  overflow: visible;
  white-space: normal;
  left: 12px;
  top: 12px;
}

.container {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}
.container-wide {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
}

.kicker,
.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--primary-ink);
}

.deva {
  font-family: var(--font-deva);
  font-weight: 600;
}

.muted { color: var(--muted); }
.rule { border: 0; border-top: 2px solid var(--rule); margin: 0; }

/* ===== Utility bar + sticky header ===== */
.site-chrome {
  position: sticky;
  top: 0;
  z-index: 320;
}

.utility-bar {
  background: var(--ink);
  color: #F8EFE6;
  font-size: 12px;
  letter-spacing: 0.04em;
  min-height: var(--utility-h);
}
.utility-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: var(--utility-h);
  min-width: 0;
  max-width: 100%;
}
.utility-meta {
  display: flex;
  gap: 14px;
  align-items: center;
  white-space: nowrap;
  min-width: 0;
  overflow: hidden;
}
.utility-meta span + span::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--primary);
  margin-right: 14px;
  vertical-align: middle;
}
.utility-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 0 1 auto;
  min-width: 0;
}
.utility-actions a {
  color: #F8EFE6;
  text-decoration: none;
  font-weight: 600;
  white-space: nowrap;
}
.utility-actions a.play {
  background: var(--primary);
  color: #fff;
  padding: 4px 10px;
  border-radius: 4px;
}

.site-header {
  background: rgba(255, 248, 242, 0.96);
  border-bottom: 2px solid var(--rule);
  backdrop-filter: blur(8px);
}
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--header-h);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  min-width: 0;
}
.brand-mark {
  width: 40px;
  height: 40px;
  background: var(--primary);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  clip-path: polygon(0 0, 100% 0, 100% 72%, 72% 100%, 0 100%);
  flex: 0 0 auto;
}
.brand-name {
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 15px;
}
.brand-tag {
  display: block;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}
.main-nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
}
.main-nav a[aria-current="page"] {
  box-shadow: inset 0 -2px 0 var(--primary);
}
.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: #fff !important;
  padding: 10px 16px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  border-radius: 4px;
}
.header-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.hamburger {
  display: none;
  width: 48px;
  height: 48px;
  border: 2px solid var(--ink);
  background: var(--surface);
  position: fixed;
  top: calc(var(--utility-h) + 12px);
  right: 12px;
  z-index: 500;
  padding: 0;
  cursor: pointer;
}
.hamburger:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.hamburger-lines {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 20px;
  margin: 0 auto;
}
.hamburger-lines i {
  display: block;
  height: 2px;
  background: var(--ink);
}

.mobile-drawer {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 400;
  background: rgba(28, 18, 14, 0.46);
}
.mobile-drawer.open,
.mobile-drawer.is-open { display: block; }
.drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(86vw, 360px);
  height: 100%;
  background: var(--paper);
  border-left: 2px solid var(--rule);
  padding: 20px 20px 96px;
  overflow: auto;
}
.drawer-close {
  position: fixed;
  top: 10px;
  right: 12px;
  z-index: 510;
  width: 48px;
  height: 48px;
  border: 2px solid var(--ink);
  background: #fff;
  font-size: 22px;
  cursor: pointer;
  pointer-events: auto;
  touch-action: manipulation;
}
.drawer-nav {
  list-style: none;
  padding: 18px 0 0;
  margin: 0;
}
.drawer-nav a {
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
}
.drawer-play {
  margin-top: 18px;
  display: block;
  text-align: center;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 4px;
  white-space: nowrap;
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }

/* ===== Layout bands ===== */
.band {
  padding: 56px 0;
  border-top: 1px solid var(--border);
}
.band-paper { background: var(--paper); }
.band-warm { background: var(--surface-2); }
.band-ink {
  background: var(--ink);
  color: #F8EFE6;
  border-top: 0;
}
.band-ink h2, .band-ink h3 { color: #fff; }
.band-header { margin-bottom: 22px; max-width: 70ch; }

section[id] { scroll-margin-top: 120px; }

/* ===== Hero split + diagonal crop ===== */
.hero-split {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  min-height: min(78vh, 720px);
  background: var(--paper);
  border-bottom: 2px solid var(--rule);
}
.hero-copy {
  padding: 48px 6vw 48px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}
.hero-copy .container { width: auto; margin: 0 0 0 auto; padding-left: max(16px, calc((100vw - var(--max)) / 2)); }
.hero-kicker {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 14px;
}
.hero-kicker .deva { color: var(--accent); font-size: 18px; }
.hero-lede {
  font-size: 18px;
  max-width: 46ch;
  color: var(--text);
}
.hero-media {
  position: relative;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
}
.diagonal-crop {
  width: 100%;
  height: 100%;
  object-fit: cover;
  clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%);
}
.hero-cutline {
  position: absolute;
  left: 18%;
  bottom: 18px;
  background: var(--ink);
  color: #fff;
  padding: 8px 12px;
  font-size: 12px;
  max-width: 70%;
}

/* ===== Decision pair ===== */
.decision-pair {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 18px;
}
.decision-card {
  background: var(--surface);
  border: 2px solid var(--rule);
  padding: 22px;
  min-width: 0;
}
.decision-card.preferred { background: var(--surface-2); }

/* ===== Chapter navigator ===== */
.chapter-nav {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: 28px;
  align-items: start;
}
.chapter-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 2px solid var(--rule);
}
.chapter-list a {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
}
.chapter-list span { color: var(--primary-ink); font-variant-numeric: tabular-nums; }

/* ===== Timeline ===== */
.timeline {
  display: grid;
  gap: 0;
  border-left: 3px solid var(--primary);
  padding-left: 20px;
}
.time-step { padding: 0 0 24px; min-width: 0; }
.time-step strong { display: block; }

/* ===== Full-bleed field guide ===== */
.field-guide {
  position: relative;
  overflow: hidden;
}
.field-guide img {
  width: 100%;
  height: min(62vh, 620px);
  object-fit: cover;
}
.field-plate {
  position: absolute;
  left: max(16px, calc((100vw - var(--max)) / 2));
  bottom: 24px;
  background: var(--paper);
  border: 2px solid var(--rule);
  padding: 16px 18px;
  max-width: min(460px, calc(100% - 32px));
}

/* ===== Ranked rows ===== */
.ranked-list { display: grid; gap: 0; }
.ranked-row {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  min-width: 0;
}
.ranked-index {
  font-size: 28px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

/* ===== Split axis ===== */
.split-axis {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 0;
  align-items: stretch;
}
.split-axis.reverse { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.split-copy { padding: 36px 28px; min-width: 0; }
.split-media { min-width: 0; overflow: hidden; }
.split-media img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  clip-path: polygon(0 0, 100% 0, 86% 100%, 0 100%);
}
.split-axis.reverse .split-media img {
  clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%);
}

/* ===== Ledger ===== */
.ledger-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; max-width: 100%; border: 2px solid var(--rule); background: #fff; }
.data-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}
.data-table th,
.data-table td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.data-table th {
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ===== Masonry notes ===== */
.masonry {
  columns: 2;
  column-gap: 18px;
}
.note {
  break-inside: avoid;
  background: #fff;
  border: 2px solid var(--border);
  padding: 18px;
  margin: 0 0 18px;
}
.note img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  margin-bottom: 12px;
}

/* ===== Topic desk ===== */
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}
.chip {
  min-height: 40px;
  border: 2px solid var(--ink);
  background: #fff;
  color: var(--ink);
  font-weight: 700;
  padding: 6px 12px;
  cursor: pointer;
  white-space: nowrap;
}
.chip.is-on,
.chip[aria-pressed="true"] {
  background: var(--ink);
  color: #fff;
}
.topic-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.topic-item {
  border: 2px solid var(--rule);
  background: #fff;
  padding: 18px;
  min-width: 0;
}
.topic-item[hidden] { display: none; }

/* ===== News list ===== */
.news-list { list-style: none; margin: 0; padding: 0; }
.news-list li {
  border-top: 1px solid var(--border);
  padding: 14px 0;
}
.news-list a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
}
.news-list time { display: block; color: var(--muted); font-size: 13px; }

/* ===== FAQ ===== */
.faq-grid,
.q-desk {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.q-item,
.faq-grid details {
  background: #fff;
  border: 2px solid var(--border);
  padding: 4px 14px;
}
.q-item summary,
.faq-grid summary {
  cursor: pointer;
  font-weight: 700;
  padding: 12px 0;
}
.q-body { padding: 0 0 12px; }

/* ===== Next step ===== */
.next-step {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 24px;
  align-items: center;
}

/* ===== Cards / aliases ===== */
.card,
.data-card,
.step-card,
.loose-card,
.hub-card {
  background: #fff;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  min-width: 0;
}
.card-grid,
.data-grid,
.hub-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.step-num {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  background: var(--primary);
  color: #fff;
  font-weight: 800;
  margin-bottom: 10px;
}
.inline-image-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  margin: 22px 0;
}
.inline-image-row img,
.inline-image-row .visual img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border: 2px solid var(--rule);
}

.page-hero {
  padding: 36px 0 10px;
}
.page-hero-img img {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  clip-path: polygon(0 0, 100% 0, 100% 86%, 0 100%);
  border-bottom: 2px solid var(--rule);
}
.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
  font-size: 13px;
}
.crumbs a { color: var(--muted); }

.prose { max-width: 72ch; }
.prose h2 { margin-top: 1.4em; }
.figure {
  margin: 28px 0;
}
.figure img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 2px solid var(--rule);
}
.figure figcaption {
  font-size: 13px;
  color: var(--muted);
  margin-top: 8px;
}

.disclaimer {
  font-size: 14px;
  color: var(--muted);
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

/* ===== Footer ===== */
.site-footer {
  background: var(--ink);
  color: #E8D8C8;
  padding: 48px 0 120px;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}
.site-footer a {
  color: #F4E6D8;
  text-decoration: none;
}
.site-footer h2 {
  color: #fff;
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.site-footer ul { list-style: none; padding: 0; }
.site-footer li { margin: 8px 0; }
.footer-note {
  margin-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 16px;
  font-size: 13px;
}

/* ===== Mobile sticky CTA ===== */
.mobile-sticky {
  display: none;
}

/* ===== Child article ===== */
.article-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
}

/* ===== Verify aliases ===== */
.band-elev-1 { box-shadow: var(--shadow-card); }
.stat-tile, .comparison-card, .pricing-card, .testimonial-card, .cta-card {
  border: 2px solid var(--border);
  padding: 18px;
  background: #fff;
}

@media (max-width: 1100px) {
  .hero-split { grid-template-columns: 1fr; min-height: 0; }
  .hero-copy { padding: 36px 0 28px; }
  .hero-copy .container { margin: 0 auto; padding-left: 0; }
  .hero-media { min-height: 280px; }
  .diagonal-crop { clip-path: polygon(0 0, 100% 0, 100% 88%, 0 100%); height: 320px; }
  .chapter-nav,
  .split-axis,
  .split-axis.reverse,
  .next-step { grid-template-columns: 1fr; }
  .split-media img,
  .split-axis.reverse .split-media img { clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%); height: 260px; }
}

@media (max-width: 899px) {
  html, body { overflow-x: clip; max-width: 100vw; }
  .main-nav { display: none; }
  .header-cta { display: none; }
  .hamburger { display: inline-flex; align-items: center; justify-content: center; }
  html.is-drawer-open .site-chrome { position: static; z-index: auto; }
  html.is-drawer-open .site-header { backdrop-filter: none; }
  html.is-drawer-open,
  html.is-drawer-open body { overflow: hidden; }
  .utility-meta span:nth-child(n+3) { display: none; }
  .hero-split { max-height: none; }
  .hero-media { max-height: 280px; }
  #hero-h { font-size: 32px; line-height: 1.12; }
  .hero-lede { font-size: 16px; }
  .masonry { columns: 1; }
  .decision-pair,
  .topic-grid,
  .faq-grid,
  .q-desk,
  .card-grid,
  .data-grid,
  .hub-grid,
  .inline-image-row,
  .footer-grid { grid-template-columns: 1fr; }
  .mobile-sticky {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 260;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
    background: rgba(28, 18, 14, 0.94);
  }
  .mobile-sticky .btn {
    width: 100%;
  }
  body { padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
  .site-footer { padding-bottom: 28px; }
}

@media (max-width: 430px) {
  h1, #hero-h { font-size: 30px; }
  .brand-tag { display: none; }
  .ranked-row { grid-template-columns: 40px minmax(0, 1fr); }
  .utility-bar .container {
    flex-wrap: wrap;
    row-gap: 6px;
  }
  .utility-actions {
    gap: 8px;
  }
}
@media (max-width: 360px) {
  .utility-actions { display: none; }
}

/* PageSpeed contrast: dark-band labels and ghost buttons */
.band-ink .kicker,
.band-ink .eyebrow { color: #F4E6D8; }
.band-ink .btn-ghost {
  color: #FFF8F2;
  border-color: #F4E6D8;
}
