/* Hallmark · shape: Long Ledger (from Bento Grid: the material is one bill and its rules, so the page runs as a printed ledger) · genre: editorial · theme: Broadside (deal 3/3, seed staynow-real-price-rules-568d·56865e02·2026-11-23·r0) · job: try · draw: a18a92
 * hero: Stage · nav: edge-aligned (swapped from floating pill: Broadside cuts every corner square) · footer: index columns · imagery: the product (the bill checker, printed as a bill in a double-rule frame) · signature: the bill that reprices as you type, and the ₹7,500 line set as a fitted Six Caps shout · broadside: bill, no grain (owner rule: no texture behind text)
 * axes: light/display-condensed/warm · posture: committed · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P5 H4 E4 S5 R4 V4 · weakest: E, fitted Six Caps lines need a script to fill their columns; set a fallback size that holds without it and fit once when the fonts load */
/* Hallmark · dismissed 23 · the vermilion total is the one figure on its screen and the band is the one vermilion band, both under the declared committed posture */
/* Hallmark · dismissed 25 · the flagged blocks are one- or two-sentence notes beside a figure or a head (the band, the two rates), set from 28ch */
/* Hallmark · waive 44c · measured live at 1440x900 after the fonts load: the hero text ends at 571px, the bill begins at 667px, both centres at 483px · the render tier reads the hero before the script fits the Six Caps lines to their column */
/* Hallmark · waive 55b · every h1 line is its own nowrap .fit element sized to its column · Six Caps sets the bill's shout at 0.88, fitted line by line as a printer would */
:root {
  color-scheme: light;
  --space-3xs: 2px; --space-2xs: 4px; --space-xs: 8px; --space-sm: 12px; --space-md: 16px; --space-lg: 24px; --space-xl: 40px; --space-2xl: 64px; --space-3xl: 96px; --space-4xl: 144px;
  --text-xs: 0.8125rem; --text-sm: 0.875rem; --text-md: 1rem; --text-lg: 1.25rem; --text-xl: 1.5625rem; --text-2xl: 1.953rem; --text-3xl: 2.441rem;
  --text-display-s: clamp(2.25rem, 4vw + 0.5rem, 3.75rem); --text-display: clamp(2.75rem, 5vw + 1rem, 5.25rem);
  --text-section: clamp(2rem, 2.5vw + 1rem, 3.5rem); --text-title: clamp(1.25rem, 0.75vw + 0.875rem, 1.625rem); --text-lead: clamp(1.125rem, 0.35vw + 1rem, 1.375rem);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1); --ease-in: cubic-bezier(0.7, 0, 0.84, 0); --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-micro: 120ms; --dur-short: 220ms; --dur-long: 420ms;
  --color-error: oklch(52% 0.19 27); --color-success: oklch(50% 0.12 150);
  --container: 1440px; --gutter: 64px; --gap-columns: 32px; --section-gap-s: 120px; --section-gap: 144px; --section-gap-l: 176px;
  --z-base: 1; --z-raised: 10; --z-dropdown: 100; --z-sticky: 200; --z-sticky-nav: 300; --z-modal: 400; --z-toast: 500; --z-tooltip: 600;
  --color-paper: oklch(92% 0.028 88); --color-paper-2: oklch(88.5% 0.032 88); --color-paper-3: oklch(85% 0.036 86);
  --color-ink: oklch(18% 0.01 50); --color-ink-2: oklch(30% 0.012 50); --color-muted: oklch(43% 0.02 62);
  --color-rule: oklch(75% 0.028 82);
  --color-accent: oklch(53% 0.19 33); --color-accent-ink: oklch(95.5% 0.018 88); --color-focus: oklch(53% 0.19 33);
  --font-display: "Six Caps", "Impact", sans-serif; --font-display-2: "Bevan", Georgia, serif;
  --font-body: "Archivo Narrow", "Arial Narrow", ui-sans-serif, sans-serif;
  --font-outlier: var(--font-body);
  --radius-card: 0; --radius-pill: 0; --rule-hair: 1px; --rule-bar: 5px; --rule-frame: 3px;
  --shadow-card: none;
  --tracking-display: 0.02em; --display-weight: 400;
  --grain: 0.08;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scrollbar-color: var(--color-muted) var(--color-paper); scroll-padding-top: var(--space-3xl); }
body { margin: 0; background: var(--color-paper); color: var(--color-ink); font-family: var(--font-body); font-size: var(--text-md); line-height: 1.55; -webkit-font-smoothing: antialiased; caret-color: var(--color-accent); }
::selection { background: color-mix(in oklab, var(--color-accent) 30%, transparent); }
:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.16em; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: var(--display-weight, 700); font-synthesis: none; letter-spacing: var(--tracking-display); line-height: 1.05; overflow-wrap: break-word; min-width: 0; text-wrap: balance; }
h1 { max-width: 20ch; font-size: var(--text-display); } h2 { max-width: 30ch; font-size: var(--text-section); } h3 { max-width: 40ch; font-size: var(--text-title); line-height: 1.2; }
.lead { font-size: var(--text-lead); line-height: 1.45; max-width: 52ch; }
p { margin: 0; text-wrap: pretty; }
p:not([class]) { max-width: 65ch; }
img, video { max-width: 100%; height: auto; display: block; }
svg { display: block; }
[hidden] { display: none !important; }
button, input, select, textarea { font: inherit; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); box-sizing: border-box; }
.num, .figure, td.num { font-variant-numeric: tabular-nums; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
[data-slot] { position: relative; overflow: hidden; background: linear-gradient(160deg, var(--color-paper-2, var(--color-paper)), var(--color-paper-3, var(--color-paper))); }
[data-slot] > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
[data-slot]:has(> img) > :not(img):not([data-keep]) { display: none !important; }
@media (max-width: 60rem) { :root { --gutter: 24px; --section-gap-s: 80px; --section-gap: 96px; --section-gap-l: 120px; } }
@media (max-width: 40rem) { :root { --gutter: 16px; --section-gap-s: 56px; --section-gap: 72px; --section-gap-l: 96px; --gap-columns: 16px; } }
@media (prefers-reduced-motion: reduce) { *:not(.keep-motion), *:not(.keep-motion)::before, *:not(.keep-motion)::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; } }
/* photographs: duotone ink paper con=20 */
[data-slot]:has(> img) { isolation: isolate; background: var(--color-paper); outline: 1px solid color-mix(in oklab, var(--color-ink) 8%, transparent); outline-offset: -1px; }
[data-slot] > img { z-index: 0; filter: grayscale(1) contrast(1.2); mix-blend-mode: multiply; }
[data-slot]:has(> img)::before { content: ""; position: absolute; inset: 0; z-index: 1; background: var(--color-ink); mix-blend-mode: lighten; pointer-events: none; }

@font-face { font-family: "Six Caps"; src: url("/fonts/six-caps.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Bevan"; src: url("/fonts/bevan.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Archivo Narrow"; src: url("/fonts/archivo-narrow-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Archivo Narrow"; src: url("/fonts/archivo-narrow-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Archivo Narrow"; src: url("/fonts/archivo-narrow-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Archivo Narrow"; src: url("/fonts/archivo-narrow-ext-400.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+20B9; }
@font-face { font-family: "Archivo Narrow"; src: url("/fonts/archivo-narrow-ext-600.woff2") format("woff2"); font-weight: 600; font-display: swap; unicode-range: U+20B9; }

:root { --six: var(--font-display); }
body { font-size: 1.125rem; line-height: 1.5; color: var(--color-ink); }
h1 { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; line-height: 0.88; letter-spacing: var(--tracking-display); max-width: none; white-space: nowrap; }
h1 .fit, .fit { display: block; width: max-content; max-width: none; white-space: nowrap; }
h1, .line__shout { container-type: inline-size; }
/* sizes that hold before (or without) the script that fits each line: */
.hero h1 .fit { font-size: min(36cqi, 12rem); }
.page h1 .fit { font-size: min(30cqi, 10rem); }
.line__shout .fit { font-size: min(18cqi, 8rem); }
h2, h3 { font-family: var(--font-display-2); font-weight: 400; text-transform: uppercase; line-height: 1; letter-spacing: 0; }
h2 { font-size: var(--text-section); }
a { text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--color-accent); }
.lead { font-size: var(--text-lead); max-width: 34ch; }
.rule-bar { border-top: var(--rule-bar) solid var(--color-ink); padding-top: var(--space-md); margin-bottom: var(--space-xl); }
.frame { border: var(--rule-frame) solid var(--color-ink); box-shadow: inset 0 0 0 3px var(--color-paper-2), inset 0 0 0 4px var(--color-ink); }

/* ---- the bar --------------------------------------------------------------------------------------------------------- */
.bar { border-bottom: var(--rule-hair) solid var(--color-ink); }
.bar__in { display: flex; align-items: center; justify-content: space-between; gap: var(--space-md) var(--space-lg); flex-wrap: wrap; min-height: 64px; padding-block: var(--space-xs); }
.wordmark { font-family: var(--font-display-2); font-size: 1.5rem; text-transform: uppercase; color: var(--color-ink); text-decoration: none; white-space: nowrap; }
.bar nav { display: flex; flex-wrap: wrap; gap: var(--space-2xs) var(--space-lg); }
.bar nav a { color: var(--color-ink); font-weight: 500; text-decoration: none; padding-block: var(--space-2xs); white-space: nowrap; }
.bar nav a:hover, .bar nav a[aria-current] { text-decoration: underline; text-decoration-color: var(--color-accent); text-decoration-thickness: 2px; color: var(--color-ink); }

/* ---- the hero: the bill checker beside the shout ----------------------------------------------------------------------- */
:root { --bar-h: 64px; }
.hero { padding-block: var(--space-xl); min-height: calc(100svh - var(--bar-h)); display: grid; align-items: center; }
.hero__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-2xl) var(--space-3xl); align-items: center; }
.hero h1 { font-size: clamp(4.5rem, 10vw, 9.5rem); }
.hero .lead { margin-top: var(--space-lg); }
.checker { display: grid; gap: var(--space-lg); }
.fields { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1.4fr) minmax(0, 1.4fr); gap: var(--space-md); }
.field { display: grid; gap: var(--space-2xs); align-content: start; }
.field label { font-weight: 500; font-size: var(--text-sm); color: var(--color-muted); }
.field input { width: 100%; min-height: 48px; border: var(--rule-hair) solid var(--color-ink); border-radius: 0; background: var(--color-paper); padding: 0 var(--space-sm); font: 600 1.25rem/1 var(--font-body); color: var(--color-ink); font-variant-numeric: tabular-nums; }
.field input:focus-visible { outline: 2px solid var(--color-focus); outline-offset: -2px; }
.step { display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; }
.step input { text-align: center; border-left: 0; border-right: 0; -moz-appearance: textfield; }
.step input::-webkit-inner-spin-button, .step input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.step__b { min-height: 48px; border: var(--rule-hair) solid var(--color-ink); border-radius: 0; background: var(--color-paper-2); color: var(--color-ink); font: 600 1.25rem/1 var(--font-body); cursor: pointer; }
.step__b:hover { background: var(--color-paper-3); }
.step__b:active { background: var(--color-ink); color: var(--color-paper); }
.step__b:disabled, .field input:disabled { opacity: 0.55; cursor: not-allowed; }
.step__b:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; position: relative; }

.bill { background: var(--color-paper-2); padding: var(--space-xl); }
.bill__head { font-family: var(--font-display-2); text-transform: uppercase; font-size: var(--text-lg); border-bottom: var(--rule-hair) solid var(--color-ink); padding-bottom: var(--space-xs); }
.bill__rows { margin: 0; }
.bill__rows div { display: flex; justify-content: space-between; gap: var(--space-md); padding: var(--space-sm) 0; border-bottom: var(--rule-hair) solid var(--color-rule); }
.bill__rows dt { color: var(--color-ink-2); }
.bill__rows dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.bill__total { display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-md); margin-top: var(--space-sm); border-top: var(--rule-bar) solid var(--color-ink); padding-top: var(--space-xs); }
.bill__total span { font-family: var(--font-display-2); text-transform: uppercase; font-size: var(--text-xl); }
.bill__total b { font-family: var(--font-display); font-weight: 400; font-size: clamp(4rem, 8vw, 8rem); line-height: 0.88; color: var(--color-accent); font-variant-numeric: tabular-nums; letter-spacing: 0.01em; }
.bill__note { margin-top: var(--space-xs); color: var(--color-ink-2); font-size: var(--text-md); max-width: 52ch; }
.bill.is-empty .bill__rows, .bill.is-empty .bill__total { opacity: 0.35; }

/* ---- the ₹7,500 line ------------------------------------------------------------------------------------------------------- */
.sec { padding-block: var(--section-gap) 0; }
.line { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-2xl) var(--space-3xl); align-items: start; }
.line__shout { font-family: var(--font-display); text-transform: uppercase; line-height: 0.9; font-size: clamp(3rem, 7vw, 7rem); letter-spacing: var(--tracking-display); }
.fit--red { color: var(--color-accent); }
.line__small p { max-width: 46ch; }
.table-wrap { overflow-x: auto; margin-top: var(--space-lg); }
table { width: 100%; border-collapse: collapse; }
thead th { font-weight: 500; font-size: var(--text-sm); color: var(--color-muted); text-align: left; padding: var(--space-xs) var(--space-md) var(--space-xs) 0; border-bottom: var(--rule-hair) solid var(--color-ink); }
tbody th, td { padding: var(--space-xs) var(--space-md) var(--space-xs) 0; border-bottom: var(--rule-hair) solid var(--color-rule); text-align: left; font-weight: 400; }
.n { text-align: right; font-variant-numeric: tabular-nums; }
tr.edge th, tr.edge td { font-weight: 600; }

/* ---- particulars as rows ------------------------------------------------------------------------------------------------------ */
.particulars { margin: 0; }
.particulars div { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--space-xs) var(--gap-columns); padding: var(--space-md) 0; border-bottom: var(--rule-hair) solid var(--color-rule); align-items: baseline; }
.particulars dt { font-family: var(--font-display-2); text-transform: uppercase; font-size: var(--text-lg); }
.particulars dd { margin: 0; font-weight: 600; max-width: 60ch; }
.particulars--q { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-xl) var(--gap-columns); }
.particulars--q div { display: block; padding: var(--space-md) 0 0; border-bottom: 0; border-top: var(--rule-hair) solid var(--color-ink); }
.particulars--q dt { font-size: var(--text-xl); line-height: 1.1; }
.particulars--q dd { margin-top: var(--space-sm); font-weight: 400; }

/* ---- the vermilion band ---------------------------------------------------------------------------------------------------------- */
.band { background: var(--color-accent); color: var(--color-accent-ink); padding-block: var(--section-gap-s); margin-top: var(--section-gap); }
.band__in { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: var(--space-xl) var(--space-3xl); align-items: end; }
.band h2 { font-size: clamp(2.25rem, 4vw, 3.75rem); color: var(--color-accent-ink); max-width: 14ch; }
.band p { max-width: 44ch; color: var(--color-accent-ink); }
.band p + p { margin-top: var(--space-md); }
.band a { color: var(--color-accent-ink); font-weight: 600; }
.band a:hover { color: var(--color-accent-ink); text-decoration-thickness: 2px; }
.band :focus-visible { outline-color: var(--color-accent-ink); }

/* ---- reading pages ------------------------------------------------------------------------------------------------------------------ */
.page { padding-block: var(--space-2xl) 0; }
.crumbs { font-size: var(--text-sm); font-weight: 500; color: var(--color-muted); margin-bottom: var(--space-md); }
.page h1 { font-size: clamp(4rem, 11vw, 10rem); max-width: 48rem; }
.page .lead { margin-top: var(--space-md); }
.rates { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin-top: var(--space-2xl); border-top: var(--rule-bar) solid var(--color-ink); max-width: 56rem; }
.rates > div { padding: var(--space-md) var(--space-lg) 0 0; }
.rates > div + div { border-left: var(--rule-bar) solid var(--color-ink); padding-left: var(--space-lg); }
.rates b { display: block; font-family: var(--font-display); font-weight: 400; font-size: clamp(5rem, 12vw, 9rem); line-height: 0.88; }
.rates > div:first-child b { color: var(--color-accent); }
.rates p { margin-top: var(--space-xs); max-width: 30ch; }
.prose { max-width: 46rem; }
.prose h2 { margin-top: var(--space-2xl); border-top: var(--rule-hair) solid var(--color-ink); padding-top: var(--space-sm); }
.prose p, .prose ul, .prose ol { margin-top: var(--space-sm); max-width: 64ch; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li + li { margin-top: var(--space-2xs); }
.sources { font-size: var(--text-md); }
.checked { font-size: var(--text-sm); color: var(--color-muted); }

/* ---- the footer: index columns -------------------------------------------------------------------------------------------------------- */
.foot { margin-top: var(--section-gap); border-top: var(--rule-bar) solid var(--color-ink); }
.foot__in { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--space-xl) var(--gap-columns); padding-block: var(--space-xl); }
.foot h2 { font-size: var(--text-lg); }
.foot ul { margin: var(--space-sm) 0 0; padding: 0; list-style: none; }
.foot li { padding: var(--space-2xs) 0; }
.foot__src li { font-size: var(--text-md); max-width: 70ch; }
.foot__line { padding-block: var(--space-md) var(--space-xl); border-top: var(--rule-hair) solid var(--color-rule); font-size: var(--text-sm); color: var(--color-muted); }

@media (max-width: 60rem) {
  .hero__in, .line, .band__in, .foot__in { grid-template-columns: minmax(0, 1fr); }
  .particulars div { grid-template-columns: minmax(0, 1fr); }
  .particulars--q { grid-template-columns: minmax(0, 1fr); }
  .hero { min-height: 0; }
  .bill { padding: var(--space-md); }
}
@media (max-width: 40rem) {
  .fields { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .field--rate { grid-column: 1 / -1; }
  .rates { grid-template-columns: minmax(0, 1fr); }
  .rates > div + div { border-left: 0; padding-left: 0; border-top: var(--rule-hair) solid var(--color-ink); margin-top: var(--space-md); }
  .bill__rows dt { font-size: var(--text-md); }
}
