/* Hallmark · shape: Index-First (from Split Studio: the draw also left out Split, so the situations index leads) · genre: editorial · theme: Editorial (deal 1/3, seed speakenglish-free-spoken-english-practice-70a6·df70e2e6·2026-11-23·r0) · job: try · draw: fc8dfd
 * hero: Banner · nav: masthead · footer: index columns · imagery: the product (a sentence to hear, say and play back, live in the hero) · signature: today's sentence with Hear it, Say it and Play yours, its Hindi meaning beneath
 * axes: light/display-condensed/chromatic-green · posture: restrained · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S4 R4 V4 · weakest: S, a phrasebook site reads like any course page; led with one real sentence the visitor can hear and record in the hero, set every sentence in a serif at reading size with its Hindi meaning, and said plainly which slips are Indian English rather than mistakes */
/* Hallmark · dismissed 25 · the flagged blocks are one-line ledes and step notes beside their heads (the fixes, the pairs, the three steps), set from 28ch */
/* Hallmark · dismissed 58 · the mistakes and pronunciation pages are reference lists a learner works through (thirty fixes, twenty-eight words); the front page's densest screen holds 86 words where four fixes meet the word table */
/* Hallmark · answered F4 · one filled primary per sentence (Hear it); the green fill is the recording state of Say it, and the ink fill marks the chosen voice in a switch */
: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(97% 0.007 86); --color-paper-2: oklch(94% 0.010 86); --color-paper-3: oklch(91% 0.012 84);
  --color-ink: oklch(16% 0.012 280); --color-ink-2: oklch(29% 0.011 280); --color-muted: oklch(48% 0.010 75);
  --color-rule: oklch(85% 0.009 85); --color-rule-2: oklch(64% 0.010 80);
  --color-accent: oklch(49% 0.130 152); --color-accent-ink: oklch(98% 0.005 88); --color-focus: oklch(52% 0.135 152);
  --font-display: "Bricolage Grotesque", ui-sans-serif, sans-serif; --font-body: "Source Serif 4", ui-serif, Georgia, serif;
  --radius-card: 0; --radius-pill: 0; --rule-hair: 1px; --rule-heavy: 4px; --shadow-card: none;
  --tracking-display: -0.012em; --display-weight: 800;
}

*, *::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) 22%, 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: natural sat=-10 con=4 */
[data-slot] > img { filter: saturate(0.9) contrast(1.04); }

@font-face { font-family: "Bricolage Grotesque"; src: url("/fonts/bricolage.woff2") format("woff2-variations"), url("/fonts/bricolage.woff2") format("woff2"); font-weight: 200 800; font-stretch: 75% 100%; font-display: swap; }
@font-face { font-family: "Source Serif 4"; src: url("/fonts/source-serif.woff2") format("woff2-variations"), url("/fonts/source-serif.woff2") format("woff2"); font-weight: 200 900; font-display: swap; }
@font-face { font-family: "Source Serif 4"; src: url("/fonts/source-serif-italic.woff2") format("woff2-variations"), url("/fonts/source-serif-italic.woff2") format("woff2"); font-weight: 200 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Tiro Devanagari Hindi"; src: url("/fonts/tiro-devanagari.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+25CC, U+A830-A839, U+A8E0-A8FF; }

:root { --font-hindi: "Tiro Devanagari Hindi", "Source Serif 4", serif; }
body { font-size: 1.125rem; line-height: 1.55; color: var(--color-ink-2); font-optical-sizing: auto; font-variant-numeric: oldstyle-nums; }
h1, h2, h3 { font-weight: var(--display-weight); font-variation-settings: "wdth" 75, "opsz" 96; color: var(--color-ink); font-variant-numeric: lining-nums tabular-nums; line-height: 1; }
h2 { font-size: var(--text-section); }
:lang(hi) { font-family: var(--font-hindi); font-variant-numeric: normal; }
small, figcaption, th, nav, label, .btn, .tag, .crumbs, .label { font-family: var(--font-display); font-weight: 500; font-variation-settings: "opsz" 12; }
a { text-decoration-color: var(--color-rule-2); text-underline-offset: 0.2em; transition: text-decoration-color var(--dur-short) var(--ease-out); }
a:hover { text-decoration-color: var(--color-accent); }
.lead { color: var(--color-ink); }
.opens { border-top: var(--rule-heavy) solid var(--color-ink); padding-top: var(--space-lg); margin-bottom: var(--space-2xl); }
.split-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-md) var(--gap-columns); align-items: end; }
.split-head p { max-width: 44ch; }

/* ---- controls --------------------------------------------------------------------------------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 var(--space-lg); border: var(--rule-hair) solid var(--color-ink); border-radius: 0; background: none; color: var(--color-ink); font-size: var(--text-md); text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color var(--dur-micro) var(--ease-out), color var(--dur-micro) var(--ease-out); }
.btn--primary { background: var(--color-ink); color: var(--color-paper); }
.btn--primary:hover { background: var(--color-ink-2); color: var(--color-paper); }
.btn--secondary:hover, .btn--small:hover { background: var(--color-paper-3); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: 0.55; cursor: not-allowed; }
.btn:disabled:active { transform: none; }
.btn:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }
.btn--small { min-height: 44px; padding: 0 var(--space-md); font-size: var(--text-sm); }
.btn--quiet { border-color: var(--color-rule-2); }
.btn[aria-pressed="true"] { background: var(--color-accent); border-color: var(--color-accent); color: var(--color-accent-ink); }
@media (prefers-reduced-motion: reduce) { .btn:active { transform: none; } }

/* ---- the masthead ----------------------------------------------------------------------------------------------------- */
.masthead { border-bottom: var(--rule-hair) solid var(--color-rule-2); }
.masthead__in { display: grid; justify-items: center; gap: var(--space-xs); padding-block: var(--space-lg) var(--space-sm); }
.wordmark { font-family: var(--font-display); font-weight: 800; font-variation-settings: "wdth" 75, "opsz" 96; font-size: 2.75rem; line-height: 1; color: var(--color-ink); text-decoration: none; letter-spacing: -0.01em; }
.masthead nav { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-2xs) var(--space-lg); border-top: var(--rule-heavy) solid var(--color-ink); padding-top: var(--space-xs); width: 100%; max-width: 40rem; }
.masthead nav a { color: var(--color-ink); text-decoration: none; padding: var(--space-2xs) 0; }
.masthead nav a:hover, .masthead nav a[aria-current] { text-decoration: underline; text-decoration-color: var(--color-accent); text-decoration-thickness: 2px; }

/* ---- the hero (a banner: today's sentence beside the head) ------------------------------------------------------------- */
.hero { padding-block: var(--space-2xl) var(--space-xl); }
.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(3.5rem, 8vw, 7.5rem); line-height: 0.92; max-width: 7ch; }
.hero .lead { margin-top: var(--space-lg); font-size: var(--text-lead); max-width: 30ch; }
.today { background: var(--color-paper-2); border-top: var(--rule-hair) solid var(--color-rule-2); padding: var(--space-lg) var(--space-xl) var(--space-lg); }
.today__label { font-family: var(--font-display); font-weight: 500; font-variation-settings: "opsz" 12; font-size: var(--text-sm); color: var(--color-muted); }

/* ---- a sentence to practise ---------------------------------------------------------------------------------------------- */
.say__en { font-size: 1.5rem; line-height: 1.3; color: var(--color-ink); max-width: 34ch; }
.say__hi { margin-top: var(--space-2xs); font-size: 1.1875rem; line-height: 1.5; color: var(--color-ink-2); }
.say__note { margin-top: var(--space-2xs); font-style: italic; font-size: var(--text-md); color: var(--color-muted); }
.say__btns { display: flex; flex-wrap: wrap; gap: var(--space-xs); margin-top: var(--space-sm); }
.say__msg { margin-top: var(--space-xs); font-size: var(--text-sm); color: var(--color-ink); }
.say.is-rec [data-act="rec"] { background: var(--color-accent); border-color: var(--color-accent); color: var(--color-accent-ink); }
.say--big { margin-top: var(--space-sm); }
.say--big .say__en { font-size: clamp(1.75rem, 2.4vw, 2.375rem); line-height: 1.2; }
.say--big .say__hi { font-size: 1.375rem; }
.say--big .say__btns { margin-top: var(--space-lg); }
.voicebar { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-xs) var(--space-md); margin-top: var(--space-lg); padding-top: var(--space-sm); border-top: var(--rule-hair) solid var(--color-rule); font-family: var(--font-display); font-variation-settings: "opsz" 12; font-size: var(--text-sm); }
.voicebar__label { color: var(--color-muted); }
.seg { display: inline-flex; }
.seg button { min-height: 44px; padding: 0 var(--space-sm); border: var(--rule-hair) solid var(--color-rule-2); background: var(--color-paper); color: var(--color-ink); font: inherit; cursor: pointer; }
.seg button + button { margin-left: -1px; }
.seg button[aria-pressed="true"] { background: var(--color-ink); border-color: var(--color-ink); color: var(--color-paper); }
.seg button:hover { background: var(--color-paper-3); }
.seg button[aria-pressed="true"]:hover { background: var(--color-ink-2); }
.seg button:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; position: relative; }
.page .voicebar, main > .container > .voicebar { margin: var(--space-lg) 0 0; }

/* ---- sections ------------------------------------------------------------------------------------------------------------- */
.sec { padding-block: var(--space-2xl) 0; }
.sec--l { padding-block: var(--section-gap) 0; }
.index { margin: 0; padding: 0; list-style: none; }
.index a { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 4fr) minmax(0, 2fr); gap: var(--space-md) var(--gap-columns); align-items: baseline; padding: var(--space-md) 0; border-bottom: var(--rule-hair) solid var(--color-rule); text-decoration: none; color: var(--color-ink); }
.index__t { font-family: var(--font-display); font-weight: 800; font-variation-settings: "wdth" 75, "opsz" 96; font-size: clamp(1.75rem, 2.8vw, 2.5rem); line-height: 1.05; }
.index__hi { font-size: 1.25rem; color: var(--color-ink-2); }
.index__n { justify-self: end; font-family: var(--font-display); font-weight: 500; font-variation-settings: "opsz" 12; font-size: var(--text-sm); color: var(--color-muted); }
.index a:hover .index__t { text-decoration: underline; text-decoration-color: var(--color-accent); text-decoration-thickness: 3px; text-underline-offset: 0.12em; }

.fixes { margin: 0; padding: 0; list-style: none; }
.fixes li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-2xs) var(--gap-columns); padding: var(--space-md) 0; border-bottom: var(--rule-hair) solid var(--color-rule); }
.fixes__no { font-size: 1.25rem; color: var(--color-muted); }
.fixes__no s { text-decoration-color: var(--color-rule-2); text-decoration-thickness: 2px; }
.fixes__yes { font-size: 1.25rem; color: var(--color-ink); }
.fixes--full .fixes__why, .fixes--full .say__btns { grid-column: 2; }
.fixes__why { font-size: var(--text-md); color: var(--color-ink-2); }
.tag { display: inline-block; margin-right: var(--space-2xs); padding: 0 var(--space-xs); border: var(--rule-hair) solid var(--color-rule-2); font-size: var(--text-sm); color: var(--color-ink); }
.tag--error { background: var(--color-ink); border-color: var(--color-ink); color: var(--color-paper); }

.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
thead th { 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-rule-2); }
tbody th, td { padding: var(--space-sm) var(--space-md) var(--space-sm) 0; border-bottom: var(--rule-hair) solid var(--color-rule); text-align: left; vertical-align: baseline; }
.words tbody th { font-family: var(--font-display); font-weight: 800; font-variation-settings: "wdth" 75, "opsz" 96; font-size: 1.5rem; color: var(--color-ink); }
.words__say { font-family: var(--font-display); font-weight: 500; font-variation-settings: "opsz" 24; font-size: 1.1875rem; color: var(--color-ink); white-space: nowrap; }
.words__btn { text-align: right; }

.band { background: var(--color-ink); color: var(--color-paper); padding-block: var(--section-gap-s); margin-top: var(--section-gap); }
.band h2 { color: var(--color-paper); }
.how { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-xl) var(--gap-columns); margin: var(--space-2xl) 0 0; padding: 0; list-style: none; counter-reset: h; }
.how li { counter-increment: h; border-top: var(--rule-hair) solid color-mix(in oklab, var(--color-paper) 40%, transparent); padding-top: var(--space-md); }
.how li::before { content: counter(h); display: block; font-family: var(--font-display); font-weight: 800; font-variation-settings: "wdth" 75, "opsz" 96; font-size: var(--text-display-s); line-height: 1; color: var(--color-paper); }
.how h3 { margin-top: var(--space-sm); font-size: var(--text-2xl); color: var(--color-paper); }
.how p { margin-top: var(--space-xs); color: var(--color-paper-3); max-width: 34ch; }

/* ---- reading pages --------------------------------------------------------------------------------------------------------- */
.page { padding-block: var(--space-2xl) 0; }
.crumbs { font-size: var(--text-sm); color: var(--color-muted); margin-bottom: var(--space-md); }
.page h1 { font-size: clamp(3rem, 6.5vw, 6rem); line-height: 0.95; max-width: 14ch; }
.page .lead { margin-top: var(--space-md); font-size: var(--text-lead); max-width: 52ch; }
.page__hi { margin-top: var(--space-2xs); font-size: 1.375rem; color: var(--color-ink-2); }
.sentences { margin: var(--space-2xl) 0 0; padding: 0; list-style: none; counter-reset: n; border-top: var(--rule-heavy) solid var(--color-ink); max-width: 60rem; }
.sentences > li { counter-increment: n; display: grid; grid-template-columns: 3.5rem minmax(0, 1fr); padding: var(--space-lg) 0; border-bottom: var(--rule-hair) solid var(--color-rule); }
.sentences > li::before { content: counter(n); grid-row: 1 / span 4; font-family: var(--font-display); font-weight: 800; font-variation-settings: "wdth" 75, "opsz" 96; font-size: 2rem; line-height: 1; color: var(--color-rule-2); }
.sentences > li > * { grid-column: 2; }
.group { margin-top: var(--space-3xl); }
.pairs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-2xl) var(--gap-columns); }
.pair h3 { font-size: var(--text-2xl); }
.pair > p { margin-top: var(--space-xs); max-width: 44ch; }
.pair ul { margin: var(--space-md) 0 0; padding: 0; list-style: none; border-top: var(--rule-hair) solid var(--color-rule-2); }
.pair li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; align-items: center; gap: var(--space-md); padding: var(--space-2xs) 0; border-bottom: var(--rule-hair) solid var(--color-rule); font-size: 1.25rem; color: var(--color-ink); }
.pager { display: flex; justify-content: space-between; gap: var(--space-lg); margin-top: var(--space-3xl); padding-top: var(--space-md); border-top: var(--rule-heavy) solid var(--color-ink); font-family: var(--font-display); font-weight: 500; font-variation-settings: "opsz" 12; }
.prose h2 { font-size: var(--text-2xl); margin-top: var(--space-2xl); }
.prose p { max-width: 64ch; margin-top: var(--space-md); }
.needs-js { display: none; }
.js .needs-js { display: flex; }
.js .btn.needs-js { display: inline-flex; }

/* ---- the footer: index columns ------------------------------------------------------------------------------------------------ */
.foot { margin-top: var(--section-gap); border-top: var(--rule-heavy) solid var(--color-ink); }
.foot__in { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 3fr) minmax(0, 3fr); gap: var(--space-xl) var(--gap-columns); padding-block: var(--space-xl); }
.foot h2 { font-size: var(--text-xl); }
.foot ul { margin: var(--space-sm) 0 0; padding: 0; list-style: none; }
@media (min-width: 72rem) { .foot__in > div:first-child ul { columns: 2; column-gap: var(--gap-columns); } }
.foot li { padding: var(--space-2xs) 0; break-inside: avoid; }
.foot li a { white-space: nowrap; }
.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, .split-head, .foot__in { grid-template-columns: minmax(0, 1fr); }
  .hero { padding-block: var(--space-xl); }
  .today { padding: var(--space-md); }
  .how { grid-template-columns: minmax(0, 1fr); }
  .pairs { grid-template-columns: minmax(0, 1fr); }
  .index a { grid-template-columns: minmax(0, 1fr) auto; }
  .index__hi { grid-column: 1; grid-row: 2; }
  .index__n { grid-row: 1; grid-column: 2; }
}
@media (max-width: 40rem) {
  .wordmark { font-size: 2.25rem; }
  .masthead nav { gap: var(--space-2xs) var(--space-md); }
  .fixes li { grid-template-columns: minmax(0, 1fr); }
  .fixes--full .fixes__why, .fixes--full .say__btns { grid-column: 1; }
  .sentences > li { grid-template-columns: 2.25rem minmax(0, 1fr); }
  .sentences > li::before { font-size: 1.5rem; }
  .words thead { display: none; }
  .words tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: var(--space-sm); padding: var(--space-sm) 0; border-bottom: var(--rule-hair) solid var(--color-rule); }
  .words tbody th, .words td { display: block; border: 0; padding: 0; }
  .words td:nth-child(3) { grid-column: 1; font-size: var(--text-md); color: var(--color-ink-2); }
  .words .words__btn { grid-column: 2; grid-row: 1 / span 3; align-self: center; }
  .foot__in > div:first-child ul { columns: 1; }
}
