/* Hallmark · shape: Workbench · genre: playful · theme: Hum (deal 1/3, seed how-old-little-one-2bf7·84dc35d6·2026-12-05·r0) · job: try · draw: manual
 * hero: the two dates beside the age card · nav: edge-aligned, the wordmark and two links · footer: a ruled note over the credit lines · imagery: none, the figures on a torn pear sheet · signature: the age in three big figures on a torn pear sheet, filling in as the dates are picked · hum: Fredoka stands in for Chillax (not on npm); no grain or fibre behind text (owner rule), the torn edge alone carries the paper
 * axes: light/rounded-sans/chromatic-yellow · posture: full-palette · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S4 R3 V4 · weakest: R, one tool and one page of rules; the torn pear sheet and the card-stock rows carry the look */
/* Hallmark · waive 77 · every page · an age card and one page of counting rules, not a landing strip */
/* Hallmark · waive 79 · the age card · the card grows and shrinks with the answer (the error line, longer dates); the space under it is the margin before the two rules */
/* Hallmark · waive 44c · the counting page · the head stands over its first rule; the worked examples are the page */
: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.012 95); --color-paper-2: oklch(94.5% 0.018 95); --color-paper-3: oklch(91% 0.022 95);
  --color-ink: oklch(20% 0.014 255); --color-ink-2: oklch(29% 0.014 255); --color-muted: oklch(47% 0.014 255);
  --color-rule: oklch(87% 0.016 95);
  --color-accent: oklch(87% 0.175 96); --color-accent-deep: oklch(72% 0.16 92); --color-accent-ink: oklch(20% 0.014 255);
  --color-accent-2: oklch(50% 0.17 250); --color-accent-3: oklch(70% 0.2 22);
  --color-mint: oklch(82% 0.15 152); --color-mint-deep: oklch(48% 0.12 155); --color-focus: oklch(50% 0.17 250);
  --color-card: oklch(98.8% 0.007 95); --color-edge: oklch(83% 0.04 88); --color-fringe: oklch(99.2% 0.006 95);
  --color-kraft: oklch(63% 0.085 62); --color-sand: oklch(77% 0.1 76); --color-sugar: oklch(89% 0.035 236);
  --color-hill-1: oklch(94.5% 0.03 118); --color-hill-2: oklch(91.5% 0.045 135); --color-leaf: oklch(64% 0.15 150);
  --font-display: "Fredoka", ui-rounded, ui-sans-serif, sans-serif; --font-body: var(--font-display);
  --font-outlier: var(--font-display);
  --radius-card: 24px; --radius-stock: 16px; --radius-input: 14px; --radius-pill: 999px; --rule-hair: 1px;
  --shadow-card: 0 1px 2px oklch(20% 0.014 255 / 0.06), 0 12px 28px -14px oklch(20% 0.014 255 / 0.22);
  --shadow-paper: drop-shadow(0 0 0.6px oklch(20% 0.014 255 / 0.32)) drop-shadow(1.5px 2.5px 1.5px oklch(20% 0.014 255 / 0.1)) drop-shadow(6px 14px 16px oklch(20% 0.014 255 / 0.13));
  --tracking-display: -0.03em; --display-weight: 600;
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1); --ease-snap: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::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); 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: natural vib=12 exp=4 */
[data-slot] > img { filter: saturate(1.06) brightness(1.04); }

:root {
  --color-highlight: oklch(87% 0.175 96 / 0.55);
  --tear: polygon(0% 6px, 5% 1px, 11% 7px, 17% 2px, 24% 8px, 31% 3px, 38% 7px, 45% 1px, 52% 6px, 59% 2px, 66% 8px, 73% 3px, 80% 7px, 87% 1px, 93% 6px, 100% 2px, 100% calc(100% - 4px), 94% calc(100% - 1px), 88% calc(100% - 7px), 81% calc(100% - 2px), 74% calc(100% - 8px), 67% calc(100% - 3px), 60% 100%, 53% calc(100% - 6px), 46% calc(100% - 1px), 39% calc(100% - 7px), 32% calc(100% - 2px), 25% calc(100% - 6px), 18% 100%, 11% calc(100% - 5px), 5% calc(100% - 1px), 0% calc(100% - 6px));
}

@font-face { font-family: "Fredoka"; src: url("/fonts/fredoka-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Fredoka"; src: url("/fonts/fredoka-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

body { color: var(--color-ink-2); font-size: 1.0625rem; font-weight: 500; }
h1, h2 { color: var(--color-ink); }
.skip { position: absolute; left: var(--space-md); top: -100px; background: var(--color-ink); color: var(--color-paper); padding: var(--space-xs) var(--space-md); border-radius: var(--radius-input); z-index: var(--z-modal); }
.skip:focus-visible { top: var(--space-md); }
a { color: var(--color-accent-2); }
a:hover { color: var(--color-ink); }
a:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 3px; border-radius: 4px; }

.bar__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-2xs) var(--space-xl); padding-block: var(--space-md); }
.wordmark { font-family: var(--font-display); font-weight: 600; font-size: var(--text-xl); color: var(--color-ink); text-decoration: none; letter-spacing: var(--tracking-display); }
.wordmark span { color: var(--color-muted); }
.bar__nav { display: flex; flex-wrap: wrap; gap: 0 var(--space-lg); }
.bar__nav a { min-height: 44px; display: inline-flex; align-items: center; text-decoration: none; color: var(--color-ink-2); font-weight: 500; }
.bar__nav a:active, .sec__note a:active { translate: 0 1px; }
.bar__nav a[aria-current="page"] { color: var(--color-ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--color-accent-deep); text-decoration-thickness: 3px; text-underline-offset: 0.4em; }

/* the hero: the two dates, and the age card beside them */
.hero { padding-block: var(--space-2xl) var(--section-gap-s); }
.hero__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-2xl); align-items: start; }
.hero h1 { font-size: var(--text-display); max-width: 10ch; }
.hero .lead { margin-top: var(--space-md); max-width: 28ch; }
.ask { margin-top: var(--space-xl); display: grid; gap: var(--space-lg); max-width: 26rem; }
.field { display: grid; gap: var(--space-xs); font-weight: 600; color: var(--color-ink); }
.field input { display: block; width: 100%; min-height: 52px; border-radius: var(--radius-input); border: 1px solid var(--color-muted); background: var(--color-card); color: var(--color-ink); padding: 0 var(--space-md); font-size: 1.25rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.field input:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 2px; }

.field input:disabled { opacity: 0.5; cursor: not-allowed; }

/* the age card: three figures on a torn pear sheet, the other answers on card stock beneath */
.card { display: grid; gap: var(--space-md); margin: 0; }
.tear { filter: var(--shadow-paper); }
.pear { clip-path: var(--tear); background: var(--color-accent); color: var(--color-accent-ink); padding: var(--space-2xl) var(--space-xl) var(--space-xl); }
.pear__on { font-weight: 600; font-size: var(--text-lg); }
.figs { display: flex; flex-wrap: wrap; gap: var(--space-sm) var(--space-xl); margin-top: var(--space-md); }
.fig { display: grid; }
.fig b { font-family: var(--font-display); font-size: clamp(3.25rem, 8.5vw, 8rem); line-height: 0.95; font-weight: 600; letter-spacing: var(--tracking-display); color: var(--color-ink); }
.fig span { font-size: var(--text-title); font-weight: 500; }
.say { margin-top: var(--space-lg); font-size: var(--text-lg); font-weight: 600; color: var(--color-ink); max-width: 40ch; }
.more { margin: 0; padding: var(--space-sm) var(--space-xl); background: var(--color-card); border-radius: var(--radius-card); box-shadow: var(--shadow-card); }
.more div { display: grid; grid-template-columns: 13rem minmax(0, 1fr); gap: var(--space-md); padding-block: var(--space-sm); }
.more div + div { border-top: var(--rule-hair) solid var(--color-rule); }
.more dt { color: var(--color-muted); }
.more dd { margin: 0; color: var(--color-ink); font-weight: 600; }
.card.is-off .figs, .card.is-off .more { opacity: 0.3; }

.head { padding-block: var(--space-2xl) var(--space-xl); }
.head h1 { font-size: var(--text-display-s); max-width: 16ch; }
.head .lead { margin-top: var(--space-md); max-width: 46ch; }

.sec { padding-block: var(--section-gap-s); border-top: var(--rule-hair) solid var(--color-rule); }
.sec--first { padding-top: var(--space-3xl); }
.sec h2 { font-size: var(--text-section); }
.sec h2 + * { margin-top: var(--space-lg); }
.sec p + .steps { margin-top: var(--space-lg); }
.sec__note { margin-top: var(--space-lg); max-width: 64ch; }

.rules { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-lg); max-width: 64rem; }
.rules li { padding: var(--space-lg); background: var(--color-card); border-radius: var(--radius-card); box-shadow: var(--shadow-card); }
.rules b { display: block; margin-bottom: var(--space-xs); font-size: var(--text-title); font-weight: 600; color: var(--color-ink); }

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-sm); max-width: 62ch; }
.steps li { padding: var(--space-sm) var(--space-md); background: var(--color-card); border-radius: var(--radius-stock); box-shadow: inset 0 0 0 1px var(--color-rule); }
.steps b { font-weight: 600; color: var(--color-ink); background: var(--color-highlight); box-decoration-break: clone; -webkit-box-decoration-break: clone; padding-inline: var(--space-3xs); }

.foot { border-top: var(--rule-hair) solid var(--color-rule); background: var(--color-paper-2); }
.foot__in { padding-block: var(--space-xl); display: grid; gap: var(--space-xs); font-size: var(--text-sm); }
.foot__note, .foot__line { margin: 0; max-width: 72ch; }

@media (max-width: 900px) {
  .hero__in { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); }
  .hero h1 { max-width: 14ch; }
}
@media (max-width: 760px) {
  .rules { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .hero { padding-top: var(--space-lg); }
  .ask { margin-top: var(--space-lg); }
  .pear { padding: var(--space-lg); }
  .figs { gap: var(--space-xs) var(--space-lg); }
  .more { padding: var(--space-2xs) var(--space-lg); }
  .more div { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .head { padding-block: var(--space-xl) var(--space-lg); }
  .sec--first { padding-top: var(--space-2xl); }
}
