/* Hallmark · shape: Stat-Led · genre: playful · theme: Werkstatt (deal 2/3, seed studyguides-every-official-cbse-8e01·23866cd6·2026-11-25·r0) · job: try · draw: d0837d
 * hero: Counter · nav: edge-aligned · footer: letter close · imagery: the product, the board's own papers as ruled cells and tables; no photographs · signature: three ruled cells, a class to each, and one colour to each kind of paper
 * axes: mid/geometric-sans/cool · posture: committed · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S4 R4 V4 · weakest: R, two hundred subject pages share one layout; each differs by its own papers and years, which is the point of a register */
/* Hallmark · waive 49b · /class-10/ at 320px: "Hindustani Music (Percussion Instruments)" wraps to two lines in the list of subjects · these links are the subjects' own names as the board prints them, and a name is never shortened; the site's own links (the bar, the buttons) stay on one line */
/* Hallmark · waive 44c · /class-10/science/ at 1440 x 900: the head ends near 430px and the syllabus cell and the table of papers fill the rest of the screen · the inner pages are a register's entries that open on their papers, not landing pages; the front page's own first screen is one screen */
: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(84% 0.024 82); --color-paper-2: oklch(79.5% 0.028 80); --color-paper-3: oklch(89.5% 0.018 84);
  --color-ink: oklch(18% 0.008 60); --color-ink-2: oklch(27% 0.01 60); --color-muted: oklch(39% 0.014 62);
  --color-rule: oklch(58% 0.022 72);
  --color-accent: oklch(46% 0.2 264); --color-accent-2: oklch(58% 0.205 33); --color-accent-2-deep: oklch(50% 0.19 31); --color-accent-3: oklch(85% 0.165 92);
  --color-accent-ink: oklch(96% 0.012 82); --color-focus: oklch(46% 0.2 264);
  --font-display: "Jost", "Futura", sans-serif; --font-body: "Karla", ui-sans-serif, system-ui, sans-serif;
  --font-outlier: "JetBrains Mono", ui-monospace, monospace;
  --radius-card: 0; --radius-pill: 0; --rule-hair: 1px; --rule-bar: 2px; --rule-box: 3px;
  --shadow-card: none;
  --tracking-display: -0.005em; --display-weight: 700;
}

*, *::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: var(--color-accent-3); color: var(--color-ink); }
: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: mono */
[data-slot] > img { filter: grayscale(1) contrast(1.18); }

@font-face { font-family: "Jost"; src: url("/fonts/jost-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Karla"; src: url("/fonts/karla-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Karla"; src: url("/fonts/karla-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

body { color: var(--color-ink-2); font-size: 1.0625rem; }
h1, h2, h3 { text-transform: uppercase; color: var(--color-ink); line-height: 1.02; }
h2 { font-size: var(--text-section); max-width: 16ch; }
h3 { font-size: var(--text-title); line-height: 1.1; }
a { text-decoration-thickness: 2px; text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 3px; }
.skip { position: absolute; left: var(--space-md); top: -6rem; z-index: var(--z-tooltip); background: var(--color-ink); color: var(--color-paper); padding: var(--space-sm) var(--space-md); }
.skip:focus { top: var(--space-md); }
.num { font-variant-numeric: tabular-nums; }

/* ---- the bar: the name at one edge, the classes at the other -------------------------------------------------------------- */
.bar { border-bottom: var(--rule-bar) solid var(--color-ink); }
.bar__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-xs) var(--space-lg); min-height: 4.25rem; padding-block: var(--space-sm); }
.wordmark { font-family: var(--font-display); font-weight: 700; font-size: var(--text-lg); text-transform: uppercase; text-decoration: none; color: var(--color-ink); letter-spacing: var(--tracking-display); }
.bar__nav { display: flex; flex-wrap: wrap; gap: var(--space-xs) var(--space-lg); font-weight: 600; }
.bar__nav a { color: var(--color-ink); text-decoration: none; padding-block: var(--space-2xs); border-bottom: var(--rule-bar) solid transparent; }
.bar__nav a:hover { border-bottom-color: var(--color-rule); }
.bar__nav a[aria-current="page"] { border-bottom-color: var(--color-ink); }

/* ---- controls ----------------------------------------------------------------------------------------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 3rem; padding: var(--space-xs) var(--space-lg); border: var(--rule-bar) solid var(--color-ink); border-radius: 0; background: none; color: var(--color-ink); font-weight: 600; text-transform: uppercase; 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); }
.btn--secondary:hover { background: var(--color-paper-3); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }
.btn--band { background: var(--color-paper); border-color: var(--color-paper); color: var(--color-ink); }
.btn--band:hover { background: var(--color-paper-3); }
.doc { font-weight: 600; color: var(--color-ink); white-space: nowrap; }
.doc--big { font-size: var(--text-lg); }
.doc__meta { color: var(--color-muted); font-size: var(--text-sm); white-space: nowrap; }

/* ---- the first screen: a short head, and a ruled cell to each class -------------------------------------------------------- */
.hero__in { display: grid; grid-template-rows: auto minmax(0, 1fr); gap: var(--space-xl); min-height: min(calc(100svh - 4.5rem), 50rem); padding-block: var(--space-xl) var(--space-2xl); }
.hero__text { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--gap-columns); align-items: end; }
.hero h1 { font-size: clamp(2.75rem, 5.2vw + 1rem, 6rem); max-width: 14ch; }
.hero .lead { max-width: 30ch; }
.classes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); height: 100%; border: var(--rule-box) solid var(--color-ink); }
.classes li + li { border-left: var(--rule-box) solid var(--color-ink); }
.classes__cell { display: grid; grid-template-rows: minmax(0, 1fr) auto auto; gap: var(--space-2xs); height: 100%; min-height: 15rem; padding: var(--space-lg); color: var(--color-ink); text-decoration: none; transition: background-color var(--dur-micro) var(--ease-out); }
.classes__cell:hover { background: var(--color-paper-3); }
.classes__n { align-self: center; font-family: var(--font-display); font-weight: 700; font-size: clamp(4.5rem, 13vw, 13rem); line-height: 0.9; letter-spacing: var(--tracking-display); word-spacing: 0.1em; }
.classes__label { font-family: var(--font-display); font-weight: 700; font-size: var(--text-title); text-transform: uppercase; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.18em; }
.classes__count { color: var(--color-muted); font-weight: 600; font-size: var(--text-sm); }

/* ---- sections ------------------------------------------------------------------------------------------------------------------- */
.sec { padding-top: var(--section-gap-s); }
.sec--first { padding-top: var(--space-3xl); }
.sec__top { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--gap-columns); align-items: end; padding-bottom: var(--space-lg); }
.sec__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--gap-columns); align-items: start; }
.sec__head { position: sticky; top: var(--space-xl); }
.sec__head .lead { margin-top: var(--space-md); }
.sec__go { display: flex; flex-wrap: wrap; gap: var(--space-sm); margin-top: var(--space-lg); }

/* three kinds of paper, a colour to each: the same colour wherever that kind appears */
.kinds { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: var(--rule-box) solid var(--color-ink); }
.kinds__cell { display: grid; gap: var(--space-xs); align-content: start; min-height: 16rem; padding: var(--space-lg); }
.kinds__cell + .kinds__cell { border-left: var(--rule-box) solid var(--color-ink); }
.kinds__cell h3 { font-size: var(--text-2xl); }
.kinds__n { align-self: end; margin-top: var(--space-xl); font-weight: 600; }
.kinds__cell--syllabus, .cell--syllabus h3, .th--syllabus { background: var(--color-accent); color: var(--color-accent-ink); }
.kinds__cell--syllabus h3 { color: var(--color-accent-ink); }
.kinds__cell--sqp, .th.th--sqp { background: var(--color-accent-3); color: var(--color-ink); }
.kinds__cell--ms, .th.th--ms { background: var(--color-accent-2-deep); color: var(--color-accent-ink); }
.kinds__cell--ms h3 { color: var(--color-accent-ink); }
.kinds__cell--syllabus :focus-visible, .kinds__cell--ms :focus-visible { outline-color: var(--color-accent-ink); }

/* thirteen pages against one */
.swap { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); border: var(--rule-box) solid var(--color-ink); }
.swap__side { display: grid; gap: var(--space-xs); align-content: end; min-height: 18rem; padding: var(--space-lg); font-weight: 600; color: var(--color-ink-2); }
.swap__side--after { border-left: var(--rule-box) solid var(--color-ink); background: var(--color-paper-3); }
.swap__n { font-family: var(--font-display); font-weight: 700; font-size: clamp(5rem, 14vw, 14rem); line-height: 0.85; color: var(--color-ink); }

/* dates as a ruled schedule: the day left, what happens right */
.plan-teaser { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--gap-columns); align-items: end; }
.sched { list-style: none; margin: 0; padding: 0; border-top: var(--rule-bar) solid var(--color-ink); }
.sched li { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--space-md); align-items: baseline; padding-block: var(--space-sm); border-bottom: var(--rule-hair) solid var(--color-rule); }
.sched__d { font-family: var(--font-display); font-weight: 700; font-size: var(--text-xl); text-transform: uppercase; color: var(--color-ink); white-space: nowrap; }
.sched__wd { color: var(--color-muted); }
.sched__what { font-size: var(--text-lg); color: var(--color-ink-2); }
.sched--teaser .sched__d { font-size: var(--text-section); }
.sched--teaser li { padding-block: var(--space-md); }

/* the record: a head and its one line */
.rows { list-style: none; margin: 0; padding: 0; border-top: var(--rule-bar) solid var(--color-ink); }
.rows li { padding-block: var(--space-lg); border-bottom: var(--rule-hair) solid var(--color-rule); }
.rows h3 { margin-bottom: var(--space-xs); }
.rows p { font-size: var(--text-lead); }

/* the one ink band */
.band { margin-top: var(--section-gap-s); padding-block: var(--space-3xl); background: var(--color-ink); color: var(--color-paper); }
.band h2 { color: var(--color-paper); }
.band__in { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: var(--gap-columns); align-items: end; }
.band .lead { margin-top: var(--space-md); color: var(--color-paper-2); }
.band__go { display: flex; flex-wrap: wrap; gap: var(--space-sm); }
.band :focus-visible { outline-color: var(--color-accent-3); }

/* ---- a class, a subject ------------------------------------------------------------------------------------------------------------ */
.head { border-bottom: var(--rule-bar) solid var(--color-ink); }
.head__in { padding-block: var(--space-xl) var(--space-xl); }
.head h1 { font-size: clamp(2.5rem, 5vw + 1rem, 5.5rem); max-width: 18ch; }
.head .lead { margin-top: var(--space-md); }
.head__note { margin-top: var(--space-lg); color: var(--color-muted); max-width: 70ch; }
.crumbs { display: flex; flex-wrap: wrap; gap: var(--space-xs) var(--space-md); margin-bottom: var(--space-lg); font-size: var(--text-sm); font-weight: 600; }
.crumbs a { color: var(--color-muted); }
.intro { display: flex; flex-wrap: wrap; gap: var(--space-xs) var(--space-md); align-items: baseline; margin-top: var(--space-md); max-width: none; }
.intro__k { font-weight: 600; color: var(--color-muted); }
.intro .doc { white-space: normal; }
.intro--jump a { font-weight: 600; }
.sec__head h2 { scroll-margin-top: var(--space-lg); }
.subjects { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: var(--gap-columns); border-top: var(--rule-bar) solid var(--color-ink); }
.subjects li { break-inside: avoid; padding-block: var(--space-sm); border-bottom: var(--rule-hair) solid var(--color-rule); }
.subjects a { font-weight: 600; color: var(--color-ink); }
/* a group of a few subjects: a ruled cell to each */
.subjects--few { columns: auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); border: var(--rule-box) solid var(--color-ink); }
.subjects--few li { display: grid; align-content: end; min-height: 19rem; padding: var(--space-md); border-bottom: 0; border-left: var(--rule-box) solid var(--color-ink); margin-left: calc(-1 * var(--rule-box)); }
.subjects--few a { font-family: var(--font-display); font-weight: 700; font-size: var(--text-title); text-transform: uppercase; line-height: 1.1; overflow-wrap: anywhere; }
.docs { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); border: var(--rule-box) solid var(--color-ink); padding-inline: 0; }
.container.docs { width: calc(100% - 2 * var(--gutter)); max-width: calc(var(--container) - 2 * var(--gutter)); }
.cell { display: grid; gap: var(--space-md); align-content: start; padding: 0 var(--space-lg) var(--space-lg); }
.cell + .cell { border-left: var(--rule-box) solid var(--color-ink); }
.cell h3 { margin-inline: calc(-1 * var(--space-lg)); padding: var(--space-md) var(--space-lg); font-size: var(--text-title); max-width: none; border-bottom: var(--rule-box) solid var(--color-ink); }
.cell--syllabus :focus-visible { outline-color: var(--color-ink); }
.cell__extra span:first-child, .cell__note { color: var(--color-muted); font-size: var(--text-sm); }
.paper__name { display: block; margin-top: var(--space-2xs); color: var(--color-muted); font-family: var(--font-body); font-size: var(--text-sm); font-weight: 400; text-transform: none; }

/* tables */
.tablewrap { position: relative; overflow-x: auto; border-top: var(--rule-bar) solid var(--color-ink); }
.table { width: 100%; border-collapse: collapse; }
.table th, .table td { padding: var(--space-sm) var(--space-md); border-bottom: var(--rule-hair) solid var(--color-rule); text-align: left; vertical-align: top; }
.table thead th { font-size: var(--text-sm); font-weight: 600; color: var(--color-muted); border-bottom: var(--rule-bar) solid var(--color-ink); }
.table tbody th { font-weight: 600; color: var(--color-ink); }
.table--papers tbody th .num { font-family: var(--font-display); font-weight: 700; font-size: var(--text-lg); }
.table--papers td { display: table-cell; }
.table--papers td .doc { margin-right: var(--space-md); line-height: 2; }
.table .num { white-space: nowrap; }
td.num, th.num { text-align: right; }

.next { list-style: none; margin: 0; padding: var(--space-md) 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: var(--rule-box) solid var(--color-ink); padding: 0; margin-top: var(--space-md); }
.next li + li { border-left: var(--rule-box) solid var(--color-ink); }
.next a { display: block; padding: var(--space-lg); font-family: var(--font-display); font-weight: 700; font-size: var(--text-title); text-transform: uppercase; line-height: 1.1; color: var(--color-ink); overflow-wrap: anywhere; }
.next a:hover { background: var(--color-paper-3); }
.lost { padding-block: var(--section-gap); }

/* ---- the planner: a ruled sheet, then the schedule ------------------------------------------------------------------------------------ */
.tool { display: grid; gap: var(--space-2xl); }
.sheet { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: var(--rule-box) solid var(--color-ink); }
.field { display: grid; gap: var(--space-2xs); align-content: start; margin: 0; padding: var(--space-md); border: 0; border-right: var(--rule-bar) solid var(--color-ink); border-bottom: var(--rule-bar) solid var(--color-ink); min-width: 0; font-size: var(--text-sm); font-weight: 600; color: var(--color-muted); }
.field legend { padding: 0; float: left; width: 100%; }
.field--wide { grid-column: 1 / -1; border-right: 0; }
.field--rest { grid-column: 1 / -1; border-right: 0; }
.sheet > .field:nth-of-type(4) { border-right: 0; }
.field input[type="text"], .field input[type="date"], .field input[type="number"], .field textarea { width: 100%; min-height: 3rem; padding: var(--space-xs) var(--space-sm); border: var(--rule-bar) solid var(--color-ink); border-radius: 0; background: var(--color-paper-3); color: var(--color-ink); font-size: var(--text-md); font-weight: 400; }
.field textarea { resize: vertical; line-height: 1.5; }
.field input:hover, .field textarea:hover { background: var(--color-paper); }
.days { display: flex; flex-wrap: wrap; gap: var(--space-2xs); clear: both; }
.days label { display: inline-flex; align-items: center; justify-content: center; min-width: 3.25rem; min-height: 3rem; padding: 0 var(--space-sm); border: var(--rule-bar) solid var(--color-ink); color: var(--color-ink); font-size: var(--text-sm); font-weight: 600; cursor: pointer; }
.days label:hover { background: var(--color-paper-3); }
.days input:checked + label { background: var(--color-ink); color: var(--color-paper); }
.days input:focus-visible + label { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.sheet__msg { grid-column: 1 / -1; min-height: 1.5em; margin: 0; padding: var(--space-sm) var(--space-md) 0; color: var(--color-error); font-weight: 600; max-width: none; }
.sheet__go { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: var(--space-sm); padding: var(--space-sm) var(--space-md) var(--space-md); max-width: none; }
.nojs { grid-column: 1 / -1; padding: 0 var(--space-md) var(--space-md); color: var(--color-muted); font-size: var(--text-sm); max-width: none; }
html.js .nojs { display: none; }
.plan__nums { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: var(--rule-box) solid var(--color-ink); }
.plan__n { display: grid; gap: var(--space-2xs); padding: var(--space-lg); font-weight: 600; color: var(--color-muted); }
.plan__n + .plan__n { border-left: var(--rule-box) solid var(--color-ink); }
.plan__n .num { font-variant-numeric: tabular-nums; font-family: var(--font-display); font-weight: 700; font-size: clamp(3rem, 8vw, 7rem); line-height: 0.9; color: var(--color-ink); }
.plan__line { margin-top: var(--space-md); max-width: none; }
.round { margin-top: var(--space-2xl); }
.round__h { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--space-xs) var(--space-lg); margin-bottom: var(--space-sm); }
.round__h h2 { max-width: none; }
.round__n { color: var(--color-muted); font-weight: 600; font-size: var(--text-lg); max-width: none; }

/* ---- the foot: the close of a letter ---------------------------------------------------------------------------------------------------- */
.foot { margin-top: var(--section-gap); border-top: var(--rule-box) solid var(--color-ink); padding-block: var(--space-2xl) var(--space-xl); }
.band + .foot, main:has(> .band:last-child) + .foot { margin-top: 0; }
.foot__in { display: grid; gap: var(--space-lg); }
.foot__letter { font-size: var(--text-lead); max-width: 56ch; color: var(--color-ink); }
.foot__sign { font-family: var(--font-display); font-weight: 700; font-size: var(--text-section); text-transform: uppercase; line-height: 1; color: var(--color-ink); }
.foot__small { color: var(--color-muted); font-size: var(--text-sm); max-width: none; }

/* ---- smaller screens ------------------------------------------------------------------------------------------------------------------------ */
@media (max-width: 60rem) {
  .hero__text, .sec__top, .sec__in, .plan-teaser, .band__in, .docs, .swap { grid-template-columns: minmax(0, 1fr); }
  .hero__in { min-height: 0; }
  .sec__top { align-items: start; gap: var(--space-md); }
  .sec__head { position: static; }
  .cell + .cell, .swap__side--after { border-left: 0; border-top: var(--rule-box) solid var(--color-ink); }
}
@media (max-width: 40rem) {
  .classes, .kinds, .next, .plan__nums { grid-template-columns: minmax(0, 1fr); }
  .classes li + li, .kinds__cell + .kinds__cell, .next li + li, .plan__n + .plan__n { border-left: 0; border-top: var(--rule-box) solid var(--color-ink); }
  .classes__cell { grid-template-rows: auto auto auto; min-height: 0; padding: var(--space-md) var(--space-lg); }
  .classes__n { font-size: 4.5rem; }
  .kinds__cell { min-height: 0; }
  .kinds__n { margin-top: var(--space-md); }
  .swap__side { min-height: 12rem; }
  .subjects { columns: 1; }
  .subjects--few li { min-height: 7rem; }
  .sheet { grid-template-columns: minmax(0, 1fr); }
  .field { border-right: 0; }
  .sched li { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .table th, .table td { padding-inline: var(--space-xs); }
}
@media print {
  .bar, .sheet, .foot, .head .crumbs, .sec:not(.sec--tool), .skip { display: none; }
  .round { break-inside: avoid-page; }
}
