/* Self-hosted fonts (SIL OFL 1.1, see assets/fonts/README.txt). No request goes to Google. */
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 500 700; font-display: swap; src: url("assets/fonts/Fraunces-roman-500-700-latin.woff2") format("woff2"); unicode-range: U+0020-007E, U+00A0-00FF, U+2013-2014, U+2018-201D, U+2022, U+2026; }
@font-face { font-family: "Fraunces"; font-style: italic; font-weight: 500; font-display: swap; src: url("assets/fonts/Fraunces-italic-500-latin.woff2") format("woff2"); unicode-range: U+0020-007E, U+00A0-00FF, U+2013-2014, U+2018-201D, U+2022, U+2026; }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("assets/fonts/Figtree-400-700-latin.woff2") format("woff2"); unicode-range: U+0020-007E, U+00A0-00FF, U+2013-2014, U+2018-201D, U+2022, U+2026; }

/* Atelier Keynote: Direction E mockup for It's Dinnertime! (Kitchen Atelier merged with Cupertino Keynote).
   Plain static CSS. This token block is the ONLY place a colour literal may appear.
   Everything below it reads var(--token). See BRIEF.md. */

/* ============================== TOKENS ============================== */
@property --glow-c { syntax: "<color>"; inherits: true; initial-value: #1B5F72; }
@property --gw { syntax: "<percentage>"; inherits: true; initial-value: 10%; }
@property --ga { syntax: "<number>"; inherits: true; initial-value: 58; }

:root {
	color-scheme: light dark;

	/* neutrals: the app's own "neutral six", light */
	--glow-warm: #E9A56B;
	--ground: #F6F4ED;
	--surface: #FFFDF8;
	--ink: #1C1C17;
	--ink-2: #585952;
	--hair: #D8D6CF;
	--accent: var(--app-accent);   /* the accent family follows the dock pick; Teal is the default */
	--on-accent: var(--on-accent-l);
	--on-accent-l: #FFFDF8;
	--on-accent-d: #131313;
	--paper: #F0EADC;             /* the drawings' own ground */
	--paper-ink: #1C1C17;

	/* the night: the lights go down at Oven Alerts and stay down through the privacy chapter */
	--n-ground: #131313;
	--n-surface: #212121;
	--n-ink: #E9E8E3;
	--n-ink-2: #B0B1A9;
	--n-hair: #383838;
	--n-shadow-card: rgba(0, 0, 0, .5);

	/* the phone: it does not change colour with the page */
	--bezel: #1C1C17;
	--rim: #8E8D86;
	--edge: rgba(255, 253, 248, .13);
	--screen-edge: rgba(255, 253, 248, .16);
	--shadow-near: rgba(28, 28, 23, .18);
	--shadow-far: rgba(28, 28, 23, .22);
	--shadow-card: rgba(28, 28, 23, .12);
	--mask-solid: #000;

	/* the Committed panel (privacy diagram): light = the accent IS the surface */
	--drench-bg: var(--accent);
	--drench-ink: var(--on-accent);
	--drench-hair: color-mix(in srgb, var(--on-accent) 30%, transparent);

	/* the app's nine colors: light / dark pairs. The glow follows the pick; the page never does. */
	--app-accent-l: #1B5F72;
	--app-accent-d: #5599AB;
	--app-accent: var(--app-accent-l);

	--ease: cubic-bezier(.25, 1, .5, 1);
	/* one size per mark role; app icons and brand marks share one squircle ratio (0.2237 of the side) */
	--mark-lg: 40px; --mark-sm: 24px; --tile-nav: 36px; --tile-cta: 56px; --mark-r: 22.37%;
	--nav-h: 76px;
	--gutter: clamp(16px, 4vw, 40px);
	--wrap: 1200px;
}
:root[data-pick="mulberry"] { --app-accent-l: #943170; --app-accent-d: #B97DA3; --on-accent-d: #1A0F15; }
:root[data-pick="forest-and-cream"] { --app-accent-l: #2E4B42; --app-accent-d: #8DB8A2; --on-accent-l: #FBFAF5; --on-accent-d: #111815; }
:root[data-pick="wine"] { --app-accent-l: #9C3140; --app-accent-d: #BD7E87; }
:root[data-pick="plum"] { --app-accent-l: #8A328E; --app-accent-d: #B67BB8; }
:root[data-pick="coffee"] { --app-accent-l: #814A25; --app-accent-d: #AC8871; }
:root[data-pick="charcoal"] { --app-accent-l: #1C1C17; --app-accent-d: #E9E8E3; }
:root[data-pick="olive"] { --app-accent-l: #55751D; --app-accent-d: #81A749; }
:root[data-pick="clay-and-bone"] { --app-accent-l: #A5482A; --app-accent-d: #D98A6A; --on-accent-l: #FCF8F2; --on-accent-d: #1A1411; }

@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) {
		--ground: #131313;
		--surface: #212121;
		--ink: #E9E8E3;
		--ink-2: #B0B1A9;
		--hair: #383838;
		--on-accent: var(--on-accent-d);
		--paper: #BDB7A9;
		--rim: #5F5E58;
		--n-ground: #0D0D0C;
		--n-surface: #1A1A19;
		--shadow-near: rgba(0, 0, 0, .5);
		--shadow-far: rgba(0, 0, 0, .55);
		--shadow-card: rgba(0, 0, 0, .5);
		--drench-bg: color-mix(in srgb, var(--accent) 24%, var(--ground));
		--drench-ink: var(--ink);
		--drench-hair: color-mix(in srgb, var(--ink) 22%, transparent);
		--app-accent: var(--app-accent-d);
	}
}
:root[data-theme="light"] { color-scheme: light; }
:root[data-theme="dark"] {
	color-scheme: dark;
	--ground: #131313;
	--surface: #212121;
	--ink: #E9E8E3;
	--ink-2: #B0B1A9;
	--hair: #383838;
	--on-accent: var(--on-accent-d);
	--paper: #BDB7A9;
	--rim: #5F5E58;
	--n-ground: #0D0D0C;
	--n-surface: #1A1A19;
	--shadow-near: rgba(0, 0, 0, .5);
	--shadow-far: rgba(0, 0, 0, .55);
	--shadow-card: rgba(0, 0, 0, .5);
	--drench-bg: color-mix(in srgb, var(--accent) 24%, var(--ground));
	--drench-ink: var(--ink);
	--drench-hair: color-mix(in srgb, var(--ink) 22%, transparent);
	--app-accent: var(--app-accent-d);
}
@media (prefers-contrast: more) {
	:root:not([data-theme="dark"]) { --ink-2: #3A3B36; --hair: #A8A69E; }
}
@media (prefers-contrast: more) and (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) { --ink-2: #D5D6CF; --hair: #6A6A66; --n-ink-2: #D5D6CF; --n-hair: #6A6A66; }
}
@media (prefers-contrast: more) { :root[data-theme="dark"] { --ink-2: #D5D6CF; --hair: #6A6A66; --n-ink-2: #D5D6CF; --n-hair: #6A6A66; } }

/* the night scope: the same semantic tokens, re-pointed. No component knows which chapter it is in.
   The nav re-scopes itself the same way while it floats over the night. */
.night, .nav-wrap[data-night] {
	--ground: var(--n-ground);
	--surface: var(--n-surface);
	--ink: var(--n-ink);
	--ink-2: var(--n-ink-2);
	--hair: var(--n-hair);
	--accent: var(--app-accent-d);
	--on-accent: var(--on-accent-d);
	--shadow-card: var(--n-shadow-card);
	--drench-bg: color-mix(in srgb, var(--accent) 24%, var(--ground));
	--drench-ink: var(--ink);
	--drench-hair: color-mix(in srgb, var(--ink) 22%, transparent);
	color: var(--ink);
}


/* ============================== BASE ============================== */
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 8px); }
body {
	margin: 0;
	background: var(--ground);
	color: var(--ink);
	font: 400 1.0625rem/1.55 "Figtree", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
	-webkit-font-smoothing: antialiased;
	overflow-x: clip;
}
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote, fieldset, legend, dl { margin: 0; padding: 0; }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
button { font: inherit; color: inherit; }
a { color: inherit; }
[hidden] { display: none !important; }

.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 8px; top: -80px; z-index: 100; background: var(--ink); color: var(--ground); padding: 12px 18px; border-radius: 999px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 8px; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
[tabindex="-1"]:focus { outline: none; }
.cell--drench :focus-visible { outline-color: var(--drench-ink); }

.wrap { max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }

/* type: Fraunces for display and headings, Figtree for reading and UI labels */
.display, .chapter, .section-h, .close-h, .moment-line, h3, .price-n, .nav-word {
	font-family: "Fraunces", Georgia, "Times New Roman", serif;
	font-optical-sizing: auto;
	font-variation-settings: "SOFT" 65, "WONK" 0;
	font-weight: 600;
	text-wrap: balance;
}
.display { overflow-wrap: anywhere; font-size: clamp(2.25rem, 6.4vw, 6.25rem); line-height: 1; letter-spacing: -.02em; margin: 0 0 24px; }
.bang { color: var(--accent); }
.chapter { font-size: clamp(2.5rem, 4.6vw, 4rem); line-height: 1.04; letter-spacing: -.015em; margin: 0 0 12px; }
.section-h { font-size: clamp(1.9rem, 3.4vw, 2.75rem); line-height: 1.12; letter-spacing: -.01em; margin: 0 0 16px; }
.moment-line { font-size: clamp(1.375rem, 2.1vw, 1.75rem); line-height: 1.22; font-weight: 500; margin: 0 0 20px; }
h3 { font-size: 1.375rem; line-height: 1.2; font-weight: 500; }
.lede { font-size: clamp(1.1875rem, 1.6vw, 1.3125rem); line-height: 1.5; max-width: 34em; color: var(--ink-2); text-wrap: pretty; }
.small { font-size: .875rem; line-height: 1.45; color: var(--ink-2); max-width: 36em; }
.moment-copy > p, .hh-copy > p, .caption { max-width: 32em; }
.moment-copy > p + p, .moment-copy > * + * { margin-top: 16px; }
.caption { font-size: .9375rem; color: var(--ink-2); margin-top: 20px; }
.caption + .cta-line { margin-top: 20px; }
em { font-style: italic; }

.chip { display: inline-flex; align-items: center; vertical-align: middle; font: 600 .75rem/1 "Figtree", sans-serif; letter-spacing: .03em; padding: 5px 10px; border-radius: 999px; background: var(--accent); color: var(--on-accent); }
.chip--on { background: var(--drench-ink); color: var(--drench-bg); }
.chapter .chip { font-size: .8125rem; margin-left: 6px; position: relative; top: -.3em; }

.text-link { font-weight: 600; text-underline-offset: 4px; text-decoration-thickness: 2px; text-decoration-color: var(--accent); display: inline-flex; align-items: center; min-height: 44px; }
.btn { appearance: none; border: 1px solid transparent; cursor: pointer; min-height: 44px; padding: 0 20px; border-radius: 999px; font-weight: 600; font-size: 1rem; background: var(--accent); color: var(--on-accent); transition: transform 100ms var(--ease), background-color 160ms var(--ease); }
.btn:active { transform: scale(.97); }
.btn--soft { background: color-mix(in srgb, var(--accent) 12%, var(--surface)); color: var(--ink); border-color: color-mix(in srgb, var(--accent) 40%, var(--hair)); }
.btn--text { background: none; color: var(--accent); padding: 0 12px; text-decoration: underline; text-underline-offset: 4px; }
.btn:disabled, .btn[aria-disabled="true"] { cursor: default; opacity: 1; background: var(--hair); color: var(--ink-2); border-color: transparent; }
.btn--text:disabled { background: none; text-decoration: none; }


/* ============================== NAV ============================== */
.nav-wrap { position: fixed; z-index: 50; top: 10px; left: 0; right: 0; padding-inline: var(--gutter); pointer-events: none; container-type: inline-size; }
.nav {
	pointer-events: auto;
	max-width: var(--wrap); margin-inline: auto; height: 56px;
	display: flex; align-items: center; gap: 8px; padding: 0 6px 0 8px;
	border-radius: 999px; border: 1px solid var(--hair);
	background: color-mix(in srgb, var(--surface) 88%, transparent);
	-webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3);
	transition: box-shadow 200ms var(--ease);
}
.is-scrolled .nav { box-shadow: 0 10px 30px -14px var(--shadow-card); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .nav { background: var(--surface); } }
@media (prefers-reduced-transparency: reduce) { .nav { background: var(--surface); -webkit-backdrop-filter: none; backdrop-filter: none; } }
.nav-brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 10px 0 2px; text-decoration: none; margin-right: auto; }
.nav-brand img { width: var(--tile-nav); height: var(--tile-nav); border-radius: var(--mark-r); }
.nav-word { font-size: 1.1875rem; font-weight: 600; letter-spacing: -.005em; white-space: nowrap; }
.nav-links { display: none; align-items: center; gap: 2px; }
.nav-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 999px; text-decoration: none; font-weight: 500; font-size: .9375rem; color: var(--ink-2); transition: background-color 160ms var(--ease), color 160ms var(--ease); }
@media (hover: hover) and (pointer: fine) { .nav-links a:hover { color: var(--ink); background: color-mix(in srgb, var(--ink) 7%, transparent); } }
.pill { flex: none; display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 20px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: .9375rem; }
.pill--solid { background: var(--accent); color: var(--on-accent); transition: transform 100ms var(--ease); }
.pill--solid:active { transform: scale(.97); }
.icon-btn { flex: none; appearance: none; width: 44px; height: 44px; border-radius: 50%; border: 0; background: none; cursor: pointer; display: grid; place-items: center; color: var(--ink); transition: background-color 160ms var(--ease); }
.icon-btn svg { width: 22px; height: 22px; }
@media (hover: hover) and (pointer: fine) { .icon-btn:hover { background: color-mix(in srgb, var(--ink) 7%, transparent); } }
.mode-moon { display: block; } .mode-sun { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .mode-moon { display: none; } :root:not([data-theme="light"]) .mode-sun { display: block; } }
:root[data-theme="dark"] .mode-moon { display: none; } :root[data-theme="dark"] .mode-sun { display: block; }
:root[data-theme="light"] .mode-moon { display: block; } :root[data-theme="light"] .mode-sun { display: none; }
@media (min-width: 900px) { .nav-links { display: flex; } }
/* larger text: the nav gives up its links, then its wordmark, before it collides with itself (rem, so it follows the reader's text size) */
@container (max-width: 48rem) { .nav-links { display: none; } }
@container (max-width: 21rem) { .nav-brand { margin-right: auto; } }


/* ============================== THE PHONE ============================== */
.phone {
	--w: var(--dev-w, 280px);
	--pt: calc(var(--w) * .926 / 402);              /* one point of the phone's own 402pt-wide screen */
	position: relative; width: var(--w); max-width: 100%; margin-inline: auto;
	padding: calc(var(--w) * .037);
	border-radius: calc(var(--w) * .185);
	background: var(--bezel);
	box-shadow: 0 0 0 1.5px var(--rim), inset 0 0 0 1px var(--edge), 0 2px 3px var(--shadow-near), 0 24px 48px -6px var(--shadow-far);
}
.phone::after { content: ""; position: absolute; z-index: 3; top: calc(var(--w) * .066); left: 50%; transform: translateX(-50%); width: calc(var(--w) * .30); height: calc(var(--w) * .088); border-radius: 999px; background: var(--bezel); pointer-events: none; }
.phone-screen { position: relative; aspect-ratio: 570 / 1240; border-radius: calc(var(--w) * .148); overflow: hidden; background: var(--ground); box-shadow: 0 0 0 1px var(--screen-edge); }
.screen--shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.screen--shot picture { display: contents; }
.screen--shot img.is-leaving { transition: opacity 240ms var(--ease); opacity: 0; }
.screen--shot img.is-entering { opacity: 0; transition: opacity 240ms var(--ease); }
.screen--shot img.is-entering.is-in { opacity: 1; }

/* the phone as the page uses it when there is no pinned stage: each moment its own phone under its words */
.moment-device { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 32px; text-align: center; --dev-w: min(280px, 72vw); }



/* ============================== THE PHONE, AND HOW IT SITS ============================== */
.screen { position: absolute; inset: 0; overflow: hidden; background: var(--ground); color: var(--ink); }
.screen--shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.screen--shot picture { display: contents; }
.screen--shot img.is-leaving { transition: opacity 240ms var(--ease); opacity: 0; }
.screen--shot img.is-entering { opacity: 0; transition: opacity 240ms var(--ease); }
.screen--shot img.is-entering.is-in { opacity: 1; }

/* stacked (the base, and the whole page on phones): each moment is its own copy with its own real phone under it */
.moment-device { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 32px; text-align: center; --dev-w: min(280px, 72vw); }

/* ============================== THE STAGE: hero and five moments ============================== */
.stage-wrap { position: relative; }
.moments { max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }

.moment { position: relative; isolation: isolate; padding-block: clamp(40px, 7vw, 76px); scroll-margin-top: calc(var(--nav-h) + 8px); }
.moment--hero { padding-top: calc(var(--nav-h) + clamp(20px, 5vw, 48px)); padding-bottom: clamp(32px, 6vw, 64px); }
.moment--intro { padding-bottom: 0; }
.moment--intro .lede { margin-top: 4px; }
.moment--hero .moment-device { --dev-w: min(300px, 74vw); margin-top: 28px; }
.moment--hero .lede { color: var(--ink-2); }
/* the hero's one action: a plain anchor to the demo, no script needed */
.hero-act-row { margin-top: 20px; }
.hero-act { display: inline-flex; align-items: center; min-height: 48px; padding: 0 24px; font-size: 1.0625rem; text-decoration: none; }

/* the night sheet: the room's light goes off as the Oven copy arrives. A 56px fade, then dark. No script to sync. */
.moment--oven::before { content: ""; position: absolute; z-index: -1; top: -56px; bottom: 0; left: -100vmax; right: -100vmax; background: linear-gradient(to bottom, transparent, color-mix(in srgb, var(--ground) 35%, transparent) 16px, color-mix(in srgb, var(--ground) 82%, transparent) 38px, var(--ground) 56px); pointer-events: none; }

.cta-line { display: flex; align-items: center; gap: 14px; font-weight: 600; font-size: 1.0625rem; line-height: 1.35; max-width: 26em; }
.cta-line img[data-icon] { flex: none; width: var(--tile-cta); height: var(--tile-cta); border-radius: var(--mark-r); }
.cta-line--big { font-size: clamp(1.1875rem, 1.9vw, 1.5rem); font-family: "Fraunces", Georgia, serif; font-variation-settings: "SOFT" 65, "WONK" 0; font-weight: 500; max-width: 24em; }


.marks { display: flex; flex-wrap: wrap; gap: 10px; }
.marks img { width: var(--mark-lg); height: var(--mark-lg); border-radius: var(--mark-r); }
.pro-half { padding: 18px 20px; border: 1px solid var(--hair); border-radius: 18px; background: var(--surface); max-width: 32em; }
.pro-half > * + * { margin-top: 10px; }
.pro-half-h { font-weight: 600; display: flex; align-items: center; gap: 10px; }
.say { padding: 4px 0; }
.say p { font-family: "Fraunces", Georgia, serif; font-variation-settings: "SOFT" 65, "WONK" 0; font-weight: 500; font-size: clamp(1.375rem, 2.2vw, 1.75rem); line-height: 1.25; text-wrap: balance; }
.say footer { margin-top: 8px; font-size: .875rem; color: var(--ink-2); }
.ticks { display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; max-width: 30em; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .28em; width: 18px; height: 18px; border-radius: 50%; background: color-mix(in srgb, var(--accent) 14%, var(--surface)); border: 1.5px solid var(--accent); }
.ticks li::after { content: ""; position: absolute; left: 6px; top: calc(.28em + 3.5px); width: 5px; height: 8px; border: solid var(--accent); border-width: 0 2px 2px 0; transform: rotate(40deg); }
.with-mark { display: flex; gap: 14px; align-items: flex-start; }
.with-mark img { flex: none; width: var(--mark-lg); height: var(--mark-lg); border-radius: var(--mark-r); margin-top: calc((1lh - var(--mark-lg)) / 2); }

/* narrow and stacked: copy, then phone; two columns from 760 */
@media (min-width: 760px) {
	.moment:not(.moment--intro):not(.moment--hero) { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0 clamp(32px, 6vw, 88px); align-items: center; }
	.moment:not(.moment--intro):not(.moment--hero) .moment-device { margin-top: 0; }
	.moment--hero { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: clamp(32px, 6vw, 88px); align-content: center; align-items: start; }
	.moment--hero > * { grid-column: 1; }
	.moment--hero { grid-template-rows: 1fr repeat(6, min-content) 1fr; }
	.moment--hero > h1 { grid-row: 2; }
	.moment--hero > .lede { grid-row: 3; }
	.moment--hero > .hero-act-row { grid-row: 4; }
	.moment--hero > .dock { grid-row: 5; }
	.moment--hero > .caption { grid-row: 6; }
	.moment--hero > .cta-line { grid-row: 7; }
	.moment--hero .moment-device { grid-column: 2; grid-row: 1 / span 8; margin-top: 0; --dev-w: 264px; align-self: center; }
}

/* the theme dock: nine real Home Screen icons */
.dock { width: 100%; max-width: 262px; margin: 20px auto 0; }
.dock-set { padding: 0; }
.dock-legend { display: block; width: 100%; text-align: center; font-weight: 600; font-size: .9375rem; margin-bottom: 8px; color: var(--ink); }
.dock-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.swatch { position: relative; display: block; width: 44px; height: 44px; cursor: pointer; }
.swatch input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.swatch img { width: 44px; height: 44px; border-radius: 10px; box-shadow: 0 0 0 1px var(--hair), 0 4px 10px -4px var(--shadow-card); transition: transform 160ms var(--ease), box-shadow 160ms var(--ease); }
.swatch-check { position: absolute; right: -4px; bottom: -4px; width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: var(--ink); color: var(--ground); opacity: 0; transform: scale(.6); transition: opacity 160ms var(--ease), transform 200ms var(--ease); pointer-events: none; }
.swatch input:checked ~ img { box-shadow: 0 0 0 2px var(--ground), 0 0 0 4px var(--ink); }
.swatch input:checked ~ .swatch-check { opacity: 1; transform: none; }
.swatch input:active ~ img { transform: scale(.94); }
.swatch input:focus-visible ~ img { outline: 2px solid var(--accent); outline-offset: 6px; }
@media (hover: hover) and (pointer: fine) { .swatch:hover img { transform: translateY(-2px); } }
.dock-status { margin-top: 10px; text-align: center; font-size: .8125rem; line-height: 1.4; color: var(--ink-2); min-height: 2.8em; }
@media (min-width: 760px) { .moment--hero .dock { margin-inline: 0; max-width: 480px; } .moment--hero .dock-legend, .moment--hero .dock-status { text-align: left; } .moment--hero .dock-row { justify-content: flex-start; } .moment--hero > .caption + .cta-line { margin-top: 20px; } }

/* the hero phone leans toward you, then stands up as you scroll. One object, one angle, flat where not supported. */
@supports (animation-timeline: scroll()) {
	@media (prefers-reduced-motion: no-preference) {
		.moment--hero .moment-device .phone, .stage .phone { transform-origin: 50% 82%; transform: perspective(1500px) rotateX(4deg) rotateY(-8deg) rotateZ(1deg); animation: stand-up linear both; animation-timeline: scroll(root block); animation-range: 0 60vh; }
		@keyframes stand-up { to { transform: perspective(1500px) rotateX(0deg) rotateY(0deg) rotateZ(0deg); } }
	}
}

/* the progress rail: built only with the stage, so never under Reduced Motion; wide screens only, where it clears the phone */
.stage-rail { display: none; }
@media (min-width: 1360px) and (min-height: 660px) {
	.stage-rail { display: grid; position: absolute; z-index: 1; top: 50%; left: calc(50% + var(--dev-w) / 2 + 24px); transform: translateY(-50%); list-style: none; margin: 0; padding: 0; gap: 2px; }
	.stage-rail a { display: flex; align-items: center; gap: 8px; min-height: 44px; padding-left: 12px; border-left: 2px solid var(--hair); color: var(--ink-2); font-size: .875rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
	.stage-rail .n { font-variant-numeric: tabular-nums; }
	.stage-rail a[aria-current] { color: var(--ink); border-left-color: var(--accent); }
	@media (hover: hover) and (pointer: fine) { .stage-rail a:hover { color: var(--ink); } }
}

/* ---------- the pinned stage (built by atelier-keynote.js on wide, tall screens with motion allowed) ---------- */
.stage-col { display: none; }
@media (min-width: 1100px) and (min-height: 660px) {
	.stage-wrap.is-staged { --stage-w: min(480px, 40vw); display: grid; grid-template-columns: minmax(0, 1fr) var(--stage-w); column-gap: clamp(24px, 3vw, 56px); max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
	.is-staged .moments { grid-column: 1; grid-row: 1; padding-inline: 0; max-width: none; }
	.is-staged .stage-col { display: block; grid-column: 2; grid-row: 1; position: relative; z-index: 2; }
	.is-staged .moment-device { position: absolute !important; width: 1px; height: 1px; margin: -1px !important; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }   /* the real figures, their alt text and captions stay in the accessibility tree while the pinned clone is on screen */
	.is-staged .moment { min-height: min(84svh, 780px); display: flex; flex-direction: column; justify-content: center; padding-block: 6svh; }
	.is-staged .moment--hero { min-height: 100svh; padding-top: calc(var(--nav-h) + 3svh); }
	.is-staged .moment--intro { min-height: 42svh; justify-content: flex-end; padding-block: 8svh 0; }
	.is-staged .moment-copy { max-width: 32em; }
	.is-staged .display { margin-bottom: 28px; }
	.is-staged .moment--hero .dock { margin-top: 24px; }

	.stage { --dev-w: clamp(210px, calc((100svh - 130px) / 2.0885), 340px); position: sticky; top: var(--nav-h); height: calc(100svh - var(--nav-h)); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; }
	.stage-glow { position: absolute; z-index: 0; left: 50%; top: 46%; width: 660px; aspect-ratio: 1; border-radius: 50%; pointer-events: none;
		--glow-c: var(--app-accent);
		--mixed: color-mix(in srgb, var(--glow-c) calc(100% - var(--gw)), var(--glow-warm) var(--gw));
		background: radial-gradient(closest-side, color-mix(in srgb, var(--mixed) calc(var(--ga, 66) * 1%), transparent), color-mix(in srgb, var(--mixed) calc(var(--ga, 66) * .38%), transparent) 55%, transparent);
		transform: translate(-50%, -50%) translate(var(--gx, 0%), var(--gy, 0%)) scale(var(--gs, 1));
		transition: --glow-c 600ms var(--ease), --gw 600ms var(--ease), --ga 600ms var(--ease), transform 600ms var(--ease); }
	.stage-device { position: relative; z-index: 1; }
	.stage-device .phone { --w: var(--dev-w); }
	.stage .screen { opacity: 0; visibility: hidden; transform: translateY(8px) scale(.985); filter: blur(3px); transition: opacity 200ms var(--ease), transform 200ms var(--ease), filter 200ms var(--ease), visibility 0s linear 200ms; }
	.stage .screen.is-on { opacity: 1; visibility: visible; transform: none; filter: none; transition: opacity 320ms var(--ease) 60ms, transform 320ms var(--ease) 60ms, filter 320ms var(--ease) 60ms, visibility 0s; }
	.stage .screen--shot img { position: absolute; }


}


/* page-load and reveal motion: only when JavaScript says motion is welcome */
.js-motion .rv { opacity: 0; transform: translateY(12px); }
.js-motion .rv.is-in { opacity: 1; transform: none; transition: opacity 320ms var(--ease) calc(var(--i, 0) * 60ms), transform 320ms var(--ease) calc(var(--i, 0) * 60ms); }
.js-motion .display { opacity: 0; transform: translateY(10px); }
.js-motion.is-loaded .display { opacity: 1; transform: none; transition: opacity 400ms var(--ease), transform 400ms var(--ease); }
.js-motion .moment--hero .moment-device, .js-motion .stage-device { opacity: 0; transform: translateY(14px); }
.js-motion.is-loaded .moment--hero .moment-device, .js-motion.is-loaded .stage-device { opacity: 1; transform: none; transition: opacity 400ms var(--ease) 120ms, transform 400ms var(--ease) 120ms; }

/* ============================== SECTIONS ============================== */
.section { padding-block: clamp(64px, 9vw, 120px); scroll-margin-top: calc(var(--nav-h) + 8px); }

/* household */
.hh { display: grid; gap: 40px; align-items: center; }
.hh-seats { display: grid; gap: 4px; justify-items: stretch; max-width: 520px; }
.seats { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; width: 100%; }
.seat { display: grid; justify-items: center; align-content: start; gap: 8px; text-align: center; }
.seat-dot { width: 100%; max-width: 76px; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; font-family: "Fraunces", Georgia, serif; font-variation-settings: "SOFT" 65, "WONK" 0; font-weight: 600; font-size: 1.75rem; }
.seat--free .seat-dot { background: var(--accent); color: var(--on-accent); border: 2px solid var(--accent); }
.seat--pro .seat-dot { background: transparent; color: var(--ink-2); border: 2px dashed var(--ink-2); }
.seat-tag { font-size: .875rem; line-height: 1.2; color: var(--ink); font-weight: 600; min-height: 1.2em; }
.seat-rules { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); column-gap: 8px; row-gap: 12px; margin-top: 12px; }
.seat-rule { border-top: 3px solid var(--accent); padding-top: 8px; font-weight: 600; font-size: 1rem; line-height: 1.3; }
.seat-rule--free { grid-column: 1 / 3; }
.seat-rule--pro { grid-column: 1 / 7; border-top-style: dashed; border-top-color: var(--ink-2); color: var(--ink-2); }
.hh-copy > * + * { margin-top: 16px; }
.hh-copy .lede { margin-top: 0; }
@media (min-width: 900px) { .hh { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(48px, 8vw, 120px); } }

/* try it */
.try-head { margin-bottom: clamp(36px, 5vw, 64px); }
.try-head .lede { margin-top: 4px; }
.try { display: grid; gap: 20px; position: relative; align-items: start; }
.paper { position: relative; background: var(--surface); border: 1px solid var(--hair); border-radius: 22px; padding: clamp(20px, 3vw, 32px); box-shadow: 0 1px 0 var(--hair), 0 22px 40px -22px var(--shadow-card); }
.paper::after { content: ""; position: absolute; top: 0; right: 0; width: 30px; height: 30px; border-radius: 0 22px 0 0; background: linear-gradient(to bottom left, transparent 50%, var(--hair) 50%, var(--hair) calc(50% + 1px), var(--ground) calc(50% + 1px)); pointer-events: none; }
.tag-demo { position: static; display: inline-block; margin: 0 0 12px; z-index: 1; font-size: .8125rem; font-weight: 700; padding: 3px 11px; border-radius: 999px; border: 1.5px solid var(--accent); color: var(--accent); background: var(--surface); }
@media (min-width: 560px) { .tag-demo { position: absolute; top: 16px; right: 44px; margin: 0; } }
.rc-top { display: flex; gap: 18px; align-items: center; }
.rc-pic { position: relative; flex: none; width: clamp(96px, 16vw, 128px); aspect-ratio: 1; border-radius: 14px; border: 1px solid var(--plate-edge, var(--hair)); background: var(--paper); overflow: hidden; display: grid; place-items: center; }
.rc-pic-empty { font-size: .8125rem; font-weight: 500; color: var(--paper-ink); }
.rc-art { position: absolute; inset: 0; display: block; -webkit-mask-image: radial-gradient(circle at 50% 55%, var(--mask-solid) 0 var(--bloom, 0%), transparent calc(var(--bloom, 0%) + 12%)); mask-image: radial-gradient(circle at 50% 55%, var(--mask-solid) 0 var(--bloom, 0%), transparent calc(var(--bloom, 0%) + 12%)); }
.rc-art img { width: 100%; height: 100%; object-fit: cover; }
.rc-pic[data-state="empty"]:not(.is-blooming) .rc-art { visibility: hidden; }
.rc-pic[data-state="drawn"] { --bloom: 112%; }
.rc-pic[data-state="drawn"] .rc-pic-empty { visibility: hidden; }
.rc-title { display: grid; gap: 4px; justify-items: start; }
.rc-title h3 { font-size: clamp(1.5rem, 2.4vw, 1.875rem); font-weight: 600; }
.rc-meta { color: var(--ink-2); font-variant-numeric: tabular-nums; }
.rc-title .btn { margin-top: 6px; }
.seg { margin: 22px 0 0; }
.seg-legend { font-weight: 600; font-size: .9375rem; margin-bottom: 8px; }
.seg-row { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border: 1px solid var(--hair); border-radius: 999px; background: var(--ground); }
.seg-opt { position: relative; display: block; }
.seg-opt input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.seg-opt span { display: flex; align-items: center; justify-content: center; gap: 8px; min-width: 60px; min-height: 44px; padding: 0 16px; border-radius: 999px; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--ink); transition: background-color 180ms var(--ease), color 180ms var(--ease); }
.seg-opt input:checked + span { background: var(--accent); color: var(--on-accent); }
.seg-opt input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }
.seg-opt input:active + span { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) { .seg-opt input:not(:checked):hover + span { background: color-mix(in srgb, var(--ink) 7%, transparent); } }
.rc-makes { margin-top: 12px; font-weight: 600; font-variant-numeric: tabular-nums; }
.rc-sub { margin: 24px 0 8px; font-size: .9375rem; color: var(--ink); font-weight: 600; }
.rc-ings { border-top: 1px solid var(--hair); }
.rc-ings li { display: flex; gap: 10px; align-items: baseline; padding: 11px 2px; border-bottom: 1px solid var(--hair); }
.rc-ings .q { flex: none; min-width: 4.4em; font-weight: 700; font-variant-numeric: tabular-nums; border-radius: 6px; }
.paper .small { margin-top: 18px; }
.paper--card { transform: rotate(-.6deg); }
.paper--slip { transform: rotate(.5deg); }
.paper--slip h3 { font-size: 1.75rem; font-weight: 600; margin-bottom: 10px; }
.gl-sec { padding: 0; margin: 0 0 6px; }
.gl-sec legend { display: block; width: 100%; padding: 12px 0 4px; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); font-weight: 600; }
.gl-row { position: relative; display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; align-items: center; gap: 12px; min-height: 44px; padding: 0 2px; border-bottom: 1px solid var(--hair); cursor: pointer; }
.gl-row input { position: absolute; left: 0; top: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.gl-box { width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid var(--ink-2); background: var(--surface); display: grid; place-items: center; transition: background-color 160ms var(--ease), border-color 160ms var(--ease); }
.gl-box svg { width: 16px; height: 16px; color: var(--on-accent); opacity: 0; }
.gl-row input:checked ~ .gl-box { background: var(--accent); border-color: var(--accent); }
.gl-row input:checked ~ .gl-box svg { opacity: 1; animation: check-pop 220ms var(--ease); }
.gl-row input:focus-visible ~ .gl-box { outline: 2px solid var(--accent); outline-offset: 3px; }
@keyframes check-pop { 0% { transform: scale(.7); } 60% { transform: scale(1.06); } 100% { transform: scale(1); } }
.gl-name { font-weight: 600; transition: color 200ms var(--ease); }
.gl-qty { color: var(--ink-2); font-size: .9375rem; text-align: right; font-variant-numeric: tabular-nums; }
.gl-row input:checked ~ .gl-name { color: var(--ink-2); text-decoration: line-through; text-decoration-color: var(--ink-2); }
.gl-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; min-height: 44px; }
.gl-count { font-weight: 600; font-variant-numeric: tabular-nums; }
.try-right { display: flex; flex-direction: column; }
.try-note { display: flex; align-items: flex-end; gap: 6px; padding-left: 8px; color: var(--accent); }
.try-note span { font-family: "Fraunces", Georgia, serif; font-style: italic; font-variation-settings: "SOFT" 65, "WONK" 0; font-weight: 500; font-size: 1.5rem; line-height: 1; color: var(--accent); padding-bottom: 4px; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .try-note span { color: var(--ink-2); } }
:root[data-theme="dark"] .try-note span { color: var(--ink-2); }
.try-note svg { width: 40px; height: 40px; flex: none; }
@media (min-width: 900px) {
	.try { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 72px); }
	.try-note { min-height: 72px; padding-bottom: 0; }
	.try-note svg { transform: translateY(6px); }
}
.flash { animation: flash 400ms var(--ease); }
@keyframes flash { 0% { background: color-mix(in srgb, var(--accent) 22%, transparent); } 100% { background: transparent; } }

/* the Bento: unequal cells, dense flow, no empty corner */
.pv-head { margin-bottom: clamp(32px, 4vw, 56px); }
.pv-head .section-h { max-width: 16em; }
.bento { display: grid; grid-template-columns: 1fr; gap: 12px; grid-auto-flow: dense; }
.cell { position: relative; isolation: isolate; overflow: hidden; background: var(--surface); border: 1px solid var(--hair); border-radius: 26px; padding: clamp(20px, 2.6vw, 32px); }
.cell > * + * { margin-top: 12px; }
.cell h3 { font-size: clamp(1.375rem, 2vw, 1.75rem); line-height: 1.18; font-weight: 600; }
.cell h4 { font-size: 1rem; font-weight: 600; font-family: "Figtree", sans-serif; }
.cell-lede { color: var(--ink-2); max-width: 34em; }
.cell--say { display: flex; flex-direction: column; justify-content: center; }
.cell--say h3 { font-size: clamp(1.75rem, 3vw, 2.5rem); line-height: 1.08; font-weight: 600; }
.cell--say p { color: var(--ink-2); max-width: 30em; }
.cell--small p { color: var(--ink-2); }
.cell--drench { background: var(--drench-bg); color: var(--drench-ink); border-color: transparent; }
.cell--drench h3 { font-size: clamp(1.625rem, 2.6vw, 2.25rem); }
.cell--diagram { display: flex; flex-direction: column; }
@media (min-width: 560px) { .tag-demo--cell { top: 18px; right: 20px; } }
.key-out { color: var(--ink-2); min-height: 6.6em; }

.flow { display: grid; gap: 0; margin-top: 18px !important; }
.flow-hub { position: relative; display: grid; grid-template-columns: 56px 1fr; column-gap: 14px; align-items: center; padding: 16px 18px; border-radius: 20px; background: color-mix(in srgb, var(--drench-ink) 12%, transparent); border: 1px solid var(--drench-hair); margin-bottom: 22px; }
.flow-hub::after { content: ""; position: absolute; left: 10px; bottom: -23px; height: 22px; border-left: 2px solid var(--drench-hair); }
.flow-hub img { grid-row: 1 / span 2; width: var(--tile-cta); height: var(--tile-cta); border-radius: var(--mark-r); }
.flow-hub b { font-family: "Fraunces", Georgia, serif; font-variation-settings: "SOFT" 65, "WONK" 0; font-size: 1.375rem; font-weight: 600; line-height: 1.1; }
.flow-hub span { font-size: .9375rem; line-height: 1.35; }
.flow-list { position: relative; display: grid; gap: 14px; padding-left: 34px; }
.flow-node { position: relative; padding: 14px 16px; border-radius: 16px; border: 1px solid var(--drench-hair); }
.flow-node::before { content: ""; position: absolute; left: -24px; top: 26px; width: 24px; border-top: 2px solid var(--drench-hair); }
.flow-node::after { content: ""; position: absolute; left: -24px; top: -15px; bottom: -15px; border-left: 2px solid var(--drench-hair); }
.flow-node:first-child::after { top: -22px; }
.flow-node:last-child::after { bottom: auto; height: 41px; }
.flow-node h4 { font-size: 1.0625rem; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.flow-node p { font-size: .9375rem; line-height: 1.4; margin-top: 4px; }
.flow-node--own { border-width: 2px; border-color: var(--drench-ink); }
.flow-node--dash { border-style: dashed; }
.flow-node--dash::before { border-top-style: dashed; }
.flow-foot { margin-top: auto !important; padding-top: 22px; font-size: .9375rem; line-height: 1.45; max-width: 34em; }
.flow-foot a { font-weight: 600; text-underline-offset: 3px; }
.keeps { display: grid; gap: 18px; margin-top: 18px !important; }
.keeps h4 { margin-bottom: 8px; }
.keeps-list { display: grid; gap: 8px; }
.keeps-list li { display: grid; grid-template-columns: 22px 1fr; gap: 8px; font-size: .9375rem; line-height: 1.4; }
.keeps-list svg { width: 22px; height: 22px; padding: 3px; border-radius: 50%; margin-top: 0; }
.keeps-list--yes svg { background: var(--accent); color: var(--on-accent); }
.keeps-list--no svg { background: transparent; color: var(--ink); border: 1.5px solid var(--ink-2); }
@media (min-width: 560px) { .keeps { grid-template-columns: 1fr 1fr; gap: 28px; } }

.seg--wrap { margin-top: 16px; }
.seg-opt--key span { min-width: 0; padding: 0 14px; }
.seg-opt--key img { width: var(--mark-sm); height: var(--mark-sm); border-radius: var(--mark-r); flex: none; }
.seg--wrap .seg-row { display: grid; grid-template-columns: 1fr 1fr; width: 100%; border-radius: 24px; }
.seg--wrap .seg-opt span { justify-content: flex-start; padding-left: 16px; }

@media (min-width: 760px) {
	.bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.cell--diagram, .cell--keeps { grid-column: span 2; }
}
@media (min-width: 1000px) {
	.bento { grid-template-columns: repeat(12, minmax(0, 1fr)); }
	.cell--diagram { grid-column: 1 / span 7; grid-row: 1 / span 2; }
	.cell--say { grid-column: 8 / span 5; grid-row: 1; }
	.cell--key { grid-column: 8 / span 5; grid-row: 2; }
	.cell--keeps { grid-column: 1 / span 6; grid-row: 3 / span 2; }
	.cell--small:nth-of-type(5) { grid-column: 7 / span 6; grid-row: 3; }
	.cell--small:nth-of-type(6) { grid-column: 7 / span 6; grid-row: 4; }
	.flow { grid-template-columns: 200px minmax(0, 1fr); align-items: start; }
	.flow-hub { grid-template-columns: 1fr; justify-items: start; row-gap: 10px; margin: 0 26px 0 0; }
	.flow-hub::after { left: auto; right: -27px; bottom: auto; top: 26px; width: 26px; height: 0; border-left: 0; border-top: 2px solid var(--drench-hair); }
	.flow-hub img { grid-row: auto; }
	.flow-list { padding-left: 0; }
	.flow-node { margin-left: 46px; }
	.flow-node::before { left: -46px; width: 46px; }
	.flow-node::after { left: -46px; }
	.flow-node:first-child::after { top: 26px; }
}

/* pricing: one tray, not three cards */
.pr-head { margin-bottom: clamp(28px, 4vw, 48px); }
.tray { display: grid; background: var(--surface); border: 1px solid var(--hair); border-radius: 30px; overflow: hidden; }
.tray-main { padding: clamp(28px, 4.5vw, 56px); position: relative; }
.tray-flag { display: inline-block; font-size: .875rem; font-weight: 700; padding: 5px 14px; border-radius: 999px; background: var(--accent); color: var(--on-accent); margin-bottom: 14px; }
.tray h3 { font-size: 1.5rem; }
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 10px; margin-top: 6px; }
.price-n { font-size: clamp(2.5rem, 8vw, 6rem); line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums lining-nums; }
.price-u { font-size: 1.125rem; font-weight: 600; color: var(--ink-2); }
.price--sm .price-n { font-size: clamp(2.25rem, 4vw, 3rem); }
.tray-note { margin-top: 10px; color: var(--ink-2); max-width: 26em; }
.tray-side { display: grid; border-top: 1px solid var(--hair); }
.tray-row { padding: clamp(24px, 3.5vw, 40px) clamp(28px, 4.5vw, 56px); }
.tray-row + .tray-row { border-top: 1px solid var(--hair); }
.pr-foot { margin-top: 18px; color: var(--ink-2); max-width: 44em; }
@media (min-width: 860px) {
	.tray { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
	.tray-side { border-top: 0; border-left: 1px solid var(--hair); }
}
.lists { display: grid; gap: 40px; margin-top: clamp(48px, 6vw, 88px); }
.lists h3 { margin-bottom: 14px; font-size: 1.5rem; }
.plus-list { display: grid; gap: 4px; }
.plus-list li { position: relative; padding: 8px 0 8px 32px; border-bottom: 1px solid var(--hair); max-width: 34em; }
.plus-list li::before { content: ""; position: absolute; left: 0; top: 12px; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--ink-2); }
.plus-list li::after { content: ""; position: absolute; left: 6.5px; top: 15.5px; width: 5px; height: 8px; border: solid var(--ink-2); border-width: 0 2px 2px 0; transform: rotate(40deg); }
.plus-list--pro li::before { background: var(--accent); border-color: var(--accent); }
.plus-list--pro li::after { border-color: var(--on-accent); }
@media (min-width: 860px) { .lists { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(40px, 7vw, 96px); } }

/* faq */
.faq { display: grid; gap: 28px; align-items: start; }
.faq-head > * + * { margin-top: 6px; }
details { border-top: 1px solid var(--hair); }
details:last-child { border-bottom: 1px solid var(--hair); }
summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; cursor: pointer; font-weight: 600; font-size: 1.0625rem; list-style: none; padding: 8px 2px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; flex: none; width: 9px; height: 9px; border: solid var(--ink-2); border-width: 0 2px 2px 0; transform: rotate(45deg); transition: transform 200ms var(--ease); margin-right: 6px; }
details[open] summary::after { transform: rotate(-135deg); }
details p { padding: 0 2px 18px; color: var(--ink-2); max-width: 34em; }
@media (min-width: 900px) { .faq { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 8vw, 120px); } }

/* creators: the section on the main page, and the contact form (here and on /creators/) */
.cx { display: grid; gap: 40px; align-items: start; }
.cx-copy > * + * { margin-top: 16px; }
.cx-form { display: grid; gap: 18px; max-width: 34rem; width: 100%; }
.cx-form h3 { margin: 0; font-size: 1.375rem; line-height: 1.2; }
.cx-field label { display: block; font-weight: 600; margin-bottom: 6px; }
.cx-opt { font-weight: 400; color: var(--ink-2); }
.cx-field input, .cx-field textarea { display: block; width: 100%; min-height: 44px; padding: 10px 12px; font: inherit; line-height: 1.4; color: var(--ink); background: var(--surface); border: 1.5px solid var(--ink-2); border-radius: 10px; }
.cx-field textarea { resize: vertical; }
.cx-field [aria-invalid="true"] { border-width: 3px; padding: 8.5px 10.5px; }
.cx-hint { margin-top: 6px; font-size: .875rem; line-height: 1.45; color: var(--ink-2); }
.cx-check { display: flex; align-items: center; gap: 12px; min-height: 44px; padding-block: 10px; cursor: pointer; font-weight: 600; }
.cx-check input { flex: none; width: 24px; height: 24px; margin: 0; accent-color: var(--accent); }
.cx-form .btn { justify-self: start; }
.cx-status { min-height: 1.45em; font-weight: 600; line-height: 1.45; }
.cx-field select { display: block; width: 100%; min-height: 44px; padding: 10px 12px; font: inherit; color: var(--ink); background: var(--surface); border: 1.5px solid var(--ink-2); border-radius: 10px; }
.cx-ways { display: grid; gap: 14px; }
.cx-way { border-top: 3px solid var(--accent); padding-top: 10px; }
.cx-way h3 { margin: 0 0 6px; font-size: 1.25rem; }
.cx-way p { margin: 0; max-width: 34em; }
.cx-steps { display: grid; gap: 10px; counter-reset: cxs; list-style: none; padding: 0; }
.cx-steps li { counter-increment: cxs; position: relative; padding-left: 40px; max-width: 34em; min-height: 28px; }
.cx-steps li::before { content: counter(cxs); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--on-accent); font-weight: 700; font-size: .875rem; }
@media (min-width: 700px) { .cx-ways { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; } }
.cx-fine { margin-top: 0; }
.cx-card { display: grid; gap: 12px; justify-items: start; max-width: 34rem; padding: clamp(20px, 3vw, 32px); background: var(--surface); border: 1px solid var(--hair); border-top: 3px solid var(--accent); border-radius: 16px; }
.cx-card h3 { margin: 0; font-size: 1.375rem; line-height: 1.2; }
.cx-card p { margin: 0; color: var(--ink-2); max-width: 34em; }
.cx-card .btn { display: inline-flex; align-items: center; text-decoration: none; margin-top: 4px; }
@media (min-width: 900px) { .cx { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 8vw, 120px); } }

/* close and footer */
.section--close { padding-block: clamp(48px, 8vw, 112px) clamp(72px, 10vw, 144px); }
.close { display: grid; gap: 40px; align-items: center; }
.close-h { font-size: clamp(2.25rem, 5.2vw, 4.25rem); line-height: 1.06; letter-spacing: -.015em; margin-bottom: 28px; max-width: 12em; }
.close-copy > * + * { margin-top: 18px; }
.close-photo { margin: 0; }
.close-photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 28px; border: 1px solid var(--hair); }
.close-photo figcaption { margin-top: 10px; font-size: .8125rem; color: var(--ink-2); }
@media (min-width: 900px) { .close { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(40px, 7vw, 96px); } }
.foot { border-top: 1px solid var(--hair); padding-block: 40px 56px; }
.foot-in { display: grid; gap: 22px; }
.foot-line { max-width: 40em; }
.foot-links, .more-links { display: flex; flex-wrap: wrap; gap: 4px 8px; }
.foot-links a, .more-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px 0 0; font-weight: 600; text-underline-offset: 4px; }
/* "More from It's Dinnertime!" row: sits above the footer on every page, same link style as the footer links. */
.more { padding-block: 24px 20px; }
.more-in { display: grid; gap: 4px; }
.more-h { font-size: .9375rem; font-weight: 600; color: var(--ink-2); }
.more-links a.ig img { flex: none; width: 24px; height: 24px; margin-right: 8px; border-radius: 22.37%; }
.foot-ack, .foot-copy { font-size: .8125rem; color: var(--ink-2); max-width: 52em; }

/* ============================== NARROW ============================== */
@media (max-width: 559px) {
	.nav { gap: 4px; padding: 0 4px 0 6px; }
	.nav-word { font-size: 1rem; }
	.nav-brand { padding-right: 4px; gap: 8px; min-width: 0; }
	.nav-brand img { width: 32px; height: 32px; }
	.pill--solid { padding: 0 14px; }
	.seats { gap: 4px; }
	.seat-dot { font-size: 1.125rem; }
	.seat-tag { font-size: .75rem; }
}

/* ============================== FORCED COLORS, REDUCED MOTION ============================== */
@media (forced-colors: active) {
	.cell, .paper, .tray, .pro-half, .seg-row, .flow-node, .flow-hub { border: 1px solid CanvasText; }
	.seg-opt input:checked + span, .chip, .pill--solid { outline: 2px solid CanvasText; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; }
	.paper--card, .paper--slip { transform: none; }
}

.section--household .h2-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }

/* ---------- the night chapter: privacy, in the dark the Oven moment started ---------- */
.section--privacy { background: var(--ground); color: var(--ink); border-radius: 0 0 clamp(28px, 5vw, 64px) clamp(28px, 5vw, 64px); padding-block: clamp(64px, 9vw, 120px) clamp(80px, 11vw, 152px); }
.section--privacy .pv-head .section-h { font-size: clamp(2.25rem, 5vw, 4rem); line-height: 1.06; letter-spacing: -.015em; max-width: 14em; }
.section--privacy .cell--say p { color: var(--ink-2); }
.nav { transition: box-shadow 200ms var(--ease), background-color 240ms var(--ease), border-color 240ms var(--ease), color 240ms var(--ease); }
.nav-wrap { color: var(--ink); }

/* html clips sideways overflow (never `hidden`, which would make the page a scroll container and break sticky) */
main { overflow-x: clip; }   /* the night sheet bleeds past the column; main clips it so nothing reaches the page's scroll width */
@supports not (overflow: clip) { html { overflow-x: hidden; } body { overflow-x: visible; } }

/* ---------- video screens (Kroger cart and Action Button loops) ---------- */
.screen--video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: var(--ground); }
.pro-half .moment-device { margin-top: 16px !important; --dev-w: min(220px, 60vw); }
.stage .screen--video video { position: absolute; }

/* ---------- drawings: the paper tiles ---------- */
.tile { background: var(--paper); border: 1px solid var(--hair); border-radius: 16px; overflow: hidden; aspect-ratio: 1; }
.tile img { width: 100%; height: 100%; object-fit: cover; }
.sk { display: grid; gap: 32px; align-items: center; }
.sk-say > * + * { margin-top: 16px; }
.sk-say p { max-width: 32em; }
.sk-main { margin: 0; max-width: 340px; }
.sk-main .tile { border-radius: 24px; }
.sk-main figcaption { margin-top: 10px; font-size: .8125rem; color: var(--ink-2); }
@media (min-width: 900px) { .sk { grid-template-columns: minmax(0, 6fr) minmax(0, 4fr); gap: clamp(40px, 7vw, 96px); } .sk-main { justify-self: end; } }
.strip { display: grid; grid-template-columns: repeat(auto-fill, minmax(56px, 1fr)); gap: 8px; margin-top: 12px; max-width: 34em; }
.strip .tile { border-radius: 12px; }
.plus-list li.has-strip { padding-bottom: 14px; }

/* ---------- And the rest of it: Apple's features-page shape, on the ground, no cards ---------- */
.rest-head { margin-bottom: clamp(32px, 4vw, 56px); }
.rest-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); gap: clamp(28px, 4vw, 48px) clamp(24px, 3vw, 40px); }
.rest-tile { display: grid; align-content: start; gap: 8px; }
.rest-art { width: 88px; height: 88px; margin-bottom: 8px; }
.rest-tile h3 { font-family: "Figtree", sans-serif; font-variation-settings: normal; font-size: 1.0625rem; line-height: 1.3; font-weight: 700; }
.rest-tile p { color: var(--ink-2); max-width: 30em; }
.rest-more { margin-top: clamp(40px, 5vw, 64px); display: grid; gap: 0; }
.rest-more .rest-tile { padding: 20px 0; border-top: 1px solid var(--hair); }
.rest-more .rest-tile:last-child { border-bottom: 1px solid var(--hair); }
@media (min-width: 900px) { .rest-more { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(40px, 6vw, 88px); } .rest-more .rest-tile:nth-last-child(2) { border-bottom: 1px solid var(--hair); } }
.protag { display: inline-flex; vertical-align: middle; margin-left: 8px; font: 600 .6875rem/1 "Figtree", sans-serif; letter-spacing: .03em; padding: 4px 8px; border-radius: 999px; background: var(--accent); color: var(--on-accent); }
.rest-tile .marks { margin-top: 4px; }
.plus-list .strip li { padding: 0; border: 0; max-width: none; }
.plus-list .strip li::before, .plus-list .strip li::after { display: none; }
.section--sketches { padding-bottom: 0; }

/* small marks beside card titles; a dashed slot stands in until the owner's artwork exists */
.has-mark { display: flex; align-items: flex-start; gap: 12px; }
.has-mark > .mark { flex: none; width: var(--mark-lg); height: var(--mark-lg); min-width: var(--mark-lg); border-radius: var(--mark-r); margin-top: calc((1lh - var(--mark-lg)) / 2); }
/* acknowledgements */
.ack { padding-bottom: 8px; }
.ack-h { font-size: 1.5rem; margin: 0 0 8px; }
.ack-lead { font-weight: 600; max-width: 40em; }
.ack-list { display: grid; gap: 14px 40px; margin: 20px 0; }
.ack-list dt { font-weight: 700; }
.ack-list dd { margin: 2px 0 0; font-size: .875rem; line-height: 1.45; color: var(--ink-2); max-width: 44em; }
.ack-list .ack-where { color: var(--ink-2); }
.ack-close { font-size: .875rem; line-height: 1.45; color: var(--ink-2); max-width: 52em; }
@media (min-width: 900px) { .ack-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* if a loop will not start (a browser refusing autoplay), a labelled Play button sits over the poster */
.play-btn { appearance: none; position: absolute; z-index: 5; left: 50%; bottom: 14%; transform: translateX(-50%); min-width: 44px; min-height: 44px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--hair); background: var(--surface); color: var(--ink); font: 600 .9375rem "Figtree", sans-serif; cursor: pointer; box-shadow: 0 8px 20px -8px var(--shadow-card); }
.play-btn:active { transform: translateX(-50%) scale(.97); }
.play-btn[hidden] { display: none; }
.stage-device .play-btn { z-index: 6; }

/* larger text on a phone: nothing may be wider than the screen (measured at 200% root text, 375 wide) */
.try > *, .try-right > *, .tray > *, .bento > *, .hh > *, .sk > *, .close > *, .faq > *, .lists > * { min-width: 0; }
.seg--wrap .seg-row { grid-template-columns: repeat(auto-fit, minmax(min(100%, 9rem), 1fr)); }
.price, .rc-title, .gl-row { min-width: 0; }
h1, h2, h3, .chapter, .section-h { overflow-wrap: break-word; }
.plus-list { grid-template-columns: minmax(0, 1fr); }
.plus-list li, .strip { min-width: 0; }
.foot-in > *, .ack-list > * { min-width: 0; }
.ack-h { overflow-wrap: anywhere; }

/* the real burner alert, cropped from an iPhone Lock Screen capture; pixels untouched, only a rounded mask. A system banner looks the same in light and dark. */
.alert-shot { margin: 20px 0 !important; max-width: 380px; }
.alert-shot img { display: block; width: 100%; height: auto; border-radius: 26px; }

/* the CTA slot is a placeholder for Apple's official App Store badge (about 3:1), so the launch swap needs no layout change */
.cta-sent { min-width: 0; }
.cta-line { flex-wrap: wrap; }



/* Instagram follow link: a 44px target with the existing mark in the row role */
.follow { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; padding: 2px 0; font-weight: 600; text-decoration: none; }
.follow span { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.follow b { font-weight: 700; }
.cta-line { flex-wrap: nowrap; }
.cta-sent { flex: 1 1 0; }
.follow img { flex: none; width: var(--mark-lg); height: var(--mark-lg); border-radius: var(--mark-r); }
.follow { max-width: 100%; }
.follow span { min-width: 0; overflow-wrap: anywhere; }

/* ---------- the menu: below 900px (or when large text pushes the links out) the links live in a panel under the bar ---------- */
.menu-btn { margin-left: 11px; flex: none; appearance: none; width: 44px; height: 44px; border-radius: 50%; border: 0; background: none; cursor: pointer; display: grid; place-items: center; color: var(--ink); transition: background-color 160ms var(--ease); }
.menu-btn svg { width: 24px; height: 24px; }
.menu-btn .menu-ico--close { display: none; }
.menu-btn[aria-expanded="true"] .menu-ico--open { display: none; }
.menu-btn[aria-expanded="true"] .menu-ico--close { display: block; }
.menu-btn[aria-expanded="true"] { background: color-mix(in srgb, var(--ink) 9%, transparent); }
@media (hover: hover) and (pointer: fine) { .menu-btn:hover { background: color-mix(in srgb, var(--ink) 7%, transparent); } }
@media (min-width: 900px) { .menu-btn { display: none; } }
@container (max-width: 48rem) { .menu-btn { display: grid; } }
.menu-panel { pointer-events: auto; position: absolute; top: calc(56px + 8px); left: var(--gutter); right: var(--gutter); max-width: var(--wrap); margin-inline: auto; padding: 8px; border-radius: 22px; border: 1px solid var(--hair); background: var(--surface); box-shadow: 0 18px 40px -18px var(--shadow-card); max-height: calc(100svh - 96px); overflow-y: auto; }
.menu-panel[hidden] { display: none; }
.menu-panel a.ig img { flex: none; width: 24px; height: 24px; margin-right: 12px; border-radius: 22.37%; }
.menu-panel ul { display: grid; gap: 2px; }
.menu-panel a { display: flex; align-items: center; min-height: 48px; padding: 0 16px; border-radius: 14px; text-decoration: none; font-weight: 600; font-size: 1.0625rem; color: var(--ink); }
.menu-panel a[aria-current="page"] { background: color-mix(in srgb, var(--accent) 12%, var(--surface)); }
@media (hover: hover) and (pointer: fine) { .menu-panel a:hover { background: color-mix(in srgb, var(--ink) 7%, transparent); } }
/* wide screens with normal text never show the panel */
@media (min-width: 900px) { .menu-panel { display: none; } }
@container (max-width: 48rem) { .menu-panel:not([hidden]) { display: block; } }
/* without JavaScript the panel is simply there: a list of links under the bar, in the page flow, so every link stays reachable */
.no-js .menu-btn { display: none; }
@media (max-width: 899px) { .no-js .nav-wrap { position: relative; top: 0; padding-top: 10px; } .no-js .menu-panel { position: static; margin: 8px auto 0; } .no-js .moment--hero { padding-top: 24px; } .no-js .page { padding-top: 24px; } }
@media (prefers-reduced-motion: no-preference) { .menu-panel { animation: menu-in 160ms var(--ease); } @keyframes menu-in { from { opacity: 0; transform: translateY(-6px); } } }

/* narrow bar: icon, wordmark, Pricing, Menu and the toggle share one row from 360px up. Tightened in this order: gaps and bar padding, the pill's padding, then the wordmark a step down (never under 16px), then the tile. */
@media (max-width: 559px) {
	.nav { gap: 2px; padding: 0 2px 0 6px; }
	.nav-brand { gap: 6px; padding-right: 2px; }
	.nav-word { font-size: 1rem; letter-spacing: -.01em; }
	.pill--solid { padding: 0 12px; font-size: .875rem; }
}
@media (max-width: 379px) {
	.nav-brand img { width: 30px; height: 30px; }
	.pill--solid { padding: 0 10px; }
}
@container (max-width: 21.2rem) { .nav-word { display: none; } }   /* only when even the tightened bar cannot hold it; was 20.4rem until the menu button was centred (11px more room beside it, 2026-10-01); re-measured by a 320-560 sweep: wordmark never touches Pricing */

/* SEO tier 1: the hero h1 carries the category line. It reads as the lede did (same face, size, colour); only the wordmark is display type. */
.display .h1-cat { display: block; margin-top: 14px; font: 400 clamp(1.1875rem, 1.6vw, 1.3125rem)/1.5 "Figtree", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; font-variation-settings: normal; letter-spacing: 0; color: var(--ink-2); max-width: 34em; text-wrap: pretty; }
.moment--hero .display { margin-bottom: 12px; }
