/* Littl — "Dot Ladder" visual system */
:root {
  --bg: #FBF7F0;
  --surface: #F2ECE1;
  --text: #1B241F;
  --muted: #55615A;
  --primary: #1F3D2F;
  --on-primary: #FFFFFF;
  --accent: #E8674A;
  --accent-text: #B23F24;
  --sage: #A9C2A8;
  --sage-soft: #DCE7DA;
  --outline: #7A857E;
  --line: #E1D9CB;
  --error: #B3261E;
  --panel-error: #FFD3CF;
  --font-h: "Urbanist", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-b: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --r-sm: 8px;
  --r-md: 16px;
  --r-pill: 999px;
  --gutter: clamp(16px, 5vw, 48px);
  --focus: 2px;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121A16;
    --surface: #1C2721;
    --text: #EEF2EC;
    --muted: #A9B5AD;
    --primary: #9FD3B5;
    --on-primary: #121A16;
    --accent: #F0876E;
    --accent-text: #F4A08B;
    --sage: #2E4A3B;
    --sage-soft: #24372D;
    --outline: #8C988F;
    --line: #2C3A32;
    --error: #F2B8B5;
  }
}
@media (prefers-contrast: more) {
  :root { --muted: var(--text); --outline: var(--text); --line: var(--outline); --focus: 3px; }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-b);
  font-size: 17px;
  line-height: 1.6;
  overflow-wrap: break-word;
}
@media (min-width: 1024px) { body { font-size: 18px; } }
img { max-width: 100%; height: auto; display: block; }
input, select, textarea, button { font: inherit; color: inherit; max-width: 100%; }
h1, h2, h3 { font-family: var(--font-h); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(32px, 4.4vw, 48px); font-weight: 800; }
h2 { font-size: clamp(26px, 3vw, 34px); font-weight: 700; }
h3 { font-size: clamp(20px, 2vw, 22px); font-weight: 700; line-height: 1.25; }
p { margin: 0 0 1em; }
a { color: var(--primary); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: var(--focus) solid var(--primary); outline-offset: 3px; border-radius: 4px; }
.lead { font-size: clamp(19px, 2vw, 21px); line-height: 1.5; }
.muted { color: var(--muted); }
.small { font-size: 15px; line-height: 1.5; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

.wrap { width: min(100%, 1160px); margin-inline: auto; padding-inline: var(--gutter); }
.read { max-width: 64ch; }
.center { margin-inline: auto; }
.section { padding-block: 64px; }
@media (min-width: 1024px) { .section { padding-block: 88px; } }
.section.tight { padding-top: 0; }
.band { background: var(--surface); }

/* skip link */
.skip { position: absolute; left: 12px; top: -80px; z-index: 50; background: var(--primary); color: var(--on-primary); padding: 12px 20px; border-radius: var(--r-pill); font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }

/* header */
.site-header { position: sticky; top: 0; z-index: 30; background: var(--bg); }
.site-header.is-stuck { box-shadow: 0 1px 0 var(--line); }
.head-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; min-height: 48px; }
.brand img { height: 34px; width: auto; }
.menu-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 16px; border: 1px solid var(--outline); background: transparent; border-radius: var(--r-pill); font-weight: 600; cursor: pointer; }
.menu-btn svg { width: 20px; height: 20px; }
.nav { display: none; }
.nav.is-open { display: block; position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 24px; }
.nav ul { list-style: none; margin: 0; padding: 0; }
.nav a { display: flex; align-items: center; min-height: 48px; text-decoration: none; color: var(--text); font-weight: 600; font-size: 19px; }
.nav a[aria-current="page"] { color: var(--primary); }
.nav a[aria-current="page"]::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); margin-left: 8px; }
.nav .btn { margin-top: 12px; }
/* header CTA: keep light label on the ink-green pill (wins over .nav a link colour) */
.nav a.btn, .nav a.btn:link, .nav a.btn:visited, .nav a.btn:hover, .nav a.btn:focus-visible, .nav a.btn:active { color: var(--on-primary); background: var(--primary); border-color: var(--primary); justify-content: center; font-size: 17px; }
.nav a.btn:focus-visible { outline: var(--focus) solid var(--primary); outline-offset: 3px; }
@media (min-width: 1080px) {
  .menu-btn { display: none; }
  .nav, .nav.is-open { display: flex; position: static; padding: 0; border: 0; background: none; align-items: center; gap: 20px; }
  .nav ul { display: flex; gap: 4px; }
  .nav a { font-size: 16px; padding: 0 10px; position: relative; }
  .nav a[aria-current="page"]::after { position: absolute; left: 50%; bottom: 4px; margin: 0 0 0 -3px; width: 6px; height: 6px; }
  .nav .btn { margin-top: 0; }
  .nav a.btn { padding: 0 18px; font-size: 16px; }
}

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 24px; border-radius: var(--r-pill); border: 2px solid var(--primary); background: var(--primary); color: var(--on-primary); font-weight: 700; font-size: 17px; line-height: 1.2; text-decoration: none; cursor: pointer; text-align: center; }
.btn:hover { filter: brightness(1.12); }
.btn.ghost { background: transparent; color: var(--primary); }
.btn.small { min-height: 48px; padding: 0 18px; font-size: 16px; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
@media (max-width: 599px) { .btn-row.stack-phone .btn { width: 100%; } }
.text-link { font-weight: 700; }

/* dot ladder (UI marker) */
.ladder { display: flex; align-items: center; justify-content: center; gap: 10px; padding-block: 8px; }
.ladder i { display: block; border-radius: 50%; background: var(--accent); opacity: .4; }
.ladder i:nth-child(1) { width: 6px; height: 6px; }
.ladder i:nth-child(2) { width: 8px; height: 8px; }
.ladder i:nth-child(3) { width: 10px; height: 10px; }
.ladder i:nth-child(4) { width: 12px; height: 12px; }
.ladder i:nth-child(5) { width: 14px; height: 14px; }
.ladder i:nth-child(6) { width: 16px; height: 16px; }
.ladder i:nth-child(7) { width: 18px; height: 18px; opacity: 1; }
.ladder.left { justify-content: flex-start; }

/* hero */
.hero { padding-block: 32px 56px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: center; }
.hero h1 { font-size: clamp(38px, 6vw, 64px); line-height: 1.04; letter-spacing: -0.02em; }
.hero-art { border-radius: var(--r-md); overflow: hidden; background: var(--surface); }
.hero-art img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.trust { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px 24px; }
.trust li { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.trust svg { width: 20px; height: 20px; color: var(--primary); flex: none; }
@media (min-width: 900px) {
  .hero { padding-block: 48px 72px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; grid-template-areas: "copy art" "trust trust"; }
  .hero-copy { grid-area: copy; }
  .hero-art { grid-area: art; }
  .hero .trust { grid-area: trust; margin-top: 0; padding-top: 20px; border-top: 1px solid var(--line); }
}

/* generic cards and grids */
.card { background: var(--surface); border-radius: var(--r-md); padding: 24px; min-width: 0; }
.grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
@media (min-width: 720px) { .grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) { .grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.card h3 { margin-bottom: .35em; }
.card p:last-child { margin-bottom: 0; }

/* method steps with growing dots */
.method { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .method { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.method li { background: var(--surface); border-radius: var(--r-md); padding: 24px; }
.method .dotmark { display: flex; align-items: flex-end; height: 26px; margin-bottom: 12px; }
.dotmark i { display: block; border-radius: 50%; background: var(--accent); }
.dm1 i { width: 10px; height: 10px; }
.dm2 i { width: 16px; height: 16px; }
.dm3 i { width: 22px; height: 22px; }
.method strong { font-family: var(--font-h); font-size: 22px; display: block; }

/* mini goal form */
.mini { max-width: 760px; margin-inline: auto; }
.inline-form { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; align-items: start; }
@media (min-width: 640px) { .inline-form { grid-template-columns: minmax(0, 1fr) auto; } .inline-form .btn { margin-top: 0; } }

/* fields */
.field { margin-bottom: 20px; min-width: 0; }
.field > label, .label { display: block; font-weight: 700; margin-bottom: 6px; }
.input, select.input, textarea.input { width: 100%; min-height: 52px; padding: 12px 14px; border: 1px solid var(--outline); border-radius: var(--r-sm); background: var(--bg); }
textarea.input { min-height: 120px; resize: vertical; }
.input:focus-visible { outline: none; border-color: var(--primary); box-shadow: 0 0 0 1px var(--primary); }
.input[aria-invalid="true"] { border: 2px solid var(--error); }
.hint { color: var(--muted); font-size: 15px; margin: 6px 0 0; }
.field-foot { display: flex; justify-content: space-between; gap: 12px; }
.err { color: var(--error); font-size: 15px; font-weight: 600; margin: 6px 0 0; display: flex; gap: 6px; align-items: flex-start; }
.err:empty { display: none; }
.err::before { content: "!"; flex: none; display: inline-grid; place-items: center; width: 18px; height: 18px; margin-top: 2px; border-radius: 50%; background: var(--error); color: var(--bg); font-size: 12px; font-weight: 800; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
legend { padding: 0; }

/* chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span { display: inline-flex; align-items: center; gap: 6px; min-height: 48px; padding: 0 18px; border: 1px solid var(--outline); border-radius: var(--r-pill); background: var(--bg); cursor: pointer; font-weight: 600; }
.chip input:checked + span { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }
.chip input:checked + span::before { content: "✓"; font-weight: 800; }
.chip input:focus-visible + span { outline: var(--focus) solid var(--primary); outline-offset: 3px; }

/* tool layout */
.tool-intro { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; align-items: center; padding-block: 32px 24px; }
.tool-intro .art { border-radius: var(--r-md); overflow: hidden; background: var(--surface); max-width: 420px; }
.tool-intro .art img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.tool-intro .art.wide img { aspect-ratio: 3 / 2; }
@media (min-width: 900px) { .tool-intro { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; } .tool-intro .art { justify-self: end; width: 100%; } }
.tool-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; align-items: start; }
@media (min-width: 960px) { .tool-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; } .tool-grid .sticky { position: sticky; top: 92px; } }
.result { min-width: 0; }
.empty-state { border: 1px dashed var(--outline); border-radius: var(--r-md); padding: 32px 24px; color: var(--muted); text-align: center; }
.empty-state .ladder i { background: transparent; border: 1.5px solid var(--outline); opacity: 1; }

/* plan steps */
.plan-head { margin-bottom: 8px; }
.goal-echo { font-size: 20px; margin-bottom: 8px; }
.progress { display: block; margin: 8px 0 16px; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.step { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 4px 12px; align-items: start; background: var(--surface); border-radius: var(--r-md); padding: 16px; }
.step.today { background: var(--sage-soft); box-shadow: inset 0 0 0 2px var(--sage); }
.step .dot { grid-row: span 2; justify-self: center; margin-top: 6px; border-radius: 50%; background: var(--accent); opacity: .55; }
.step.today .dot { opacity: 1; }
.step .day { font-size: 14px; font-weight: 700; letter-spacing: .04em; color: var(--muted); }
.step .today-tag { display: inline-block; margin-left: 8px; padding: 0 8px; border-radius: var(--r-pill); background: var(--primary); color: var(--on-primary); letter-spacing: 0; }
.d1 { width: 8px; height: 8px; } .d2 { width: 10px; height: 10px; } .d3 { width: 12px; height: 12px; } .d4 { width: 14px; height: 14px; } .d5 { width: 16px; height: 16px; } .d6 { width: 18px; height: 18px; } .d7 { width: 20px; height: 20px; }
@media (prefers-reduced-motion: no-preference) {
  .steps.animate .step { animation: rise .28s ease-out both; }
  .steps.animate .step:nth-child(2) { animation-delay: 40ms; } .steps.animate .step:nth-child(3) { animation-delay: 80ms; } .steps.animate .step:nth-child(4) { animation-delay: 120ms; } .steps.animate .step:nth-child(5) { animation-delay: 160ms; } .steps.animate .step:nth-child(6) { animation-delay: 200ms; } .steps.animate .step:nth-child(7) { animation-delay: 240ms; }
  @keyframes rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
}
.actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.actions .btn { flex: 1 1 140px; }
@media (min-width: 600px) { .actions .btn { flex: 0 1 auto; } }
.status { min-height: 1.6em; margin-top: 10px; font-weight: 600; color: var(--primary); }
.saved-list { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 8px; }
.saved-list button { width: 100%; text-align: left; min-height: 48px; padding: 10px 14px; border: 1px solid var(--outline); border-radius: var(--r-sm); background: var(--bg); cursor: pointer; }
.saved-list small { display: block; color: var(--muted); }

.note-box { display: flex; gap: 12px; background: var(--surface); border-radius: var(--r-md); padding: 18px 20px; font-size: 15px; }
.note-box svg { width: 20px; height: 20px; flex: none; margin-top: 2px; color: var(--primary); }
.callout { background: var(--surface); border-left: 4px solid var(--primary); border-radius: var(--r-sm); padding: 20px 24px; }
.callout strong { display: block; margin-bottom: 6px; }

/* tabs */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; border-bottom: 1px solid var(--line); margin-bottom: 28px; }
.tab { min-height: 52px; padding: 0 20px; border: 0; border-bottom: 3px solid transparent; background: none; font-weight: 700; font-size: 18px; cursor: pointer; color: var(--muted); }
.tab[aria-selected="true"] { color: var(--text); border-bottom-color: var(--accent); }
.tabpanel[hidden] { display: none; }

/* next step card */
.next-card { background: var(--surface); border-radius: var(--r-md); padding: 24px; }
.next-card .dot18 { display: block; width: 18px; height: 18px; border-radius: 50%; background: var(--accent); margin-bottom: 12px; }
.next-card .lead { font-weight: 600; }

/* weekly grid */
.habit-block { background: var(--surface); border-radius: var(--r-md); padding: 20px; margin-bottom: 16px; }
.habit-block[hidden] { display: none; }
.week { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; margin-top: 12px; }
.daycell { display: grid; grid-template-columns: 56px minmax(0, 1fr); align-items: center; gap: 8px; }
.daycell legend { float: left; font-weight: 700; width: 56px; }
.states { display: flex; gap: 6px; flex-wrap: wrap; }
.state { position: relative; }
.state input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.state span { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; min-width: 44px; padding: 0 10px; border: 1px solid var(--outline); border-radius: var(--r-pill); background: var(--bg); cursor: pointer; font-size: 15px; font-weight: 600; }
.state span::before { content: ""; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--primary); flex: none; box-sizing: border-box; }
.state.done span::before { background: var(--primary); }
.state.partly span::before { background: linear-gradient(90deg, var(--primary) 50%, transparent 50%); }
.state.skip span::before { background: linear-gradient(var(--primary), var(--primary)) center / 8px 2px no-repeat; }
.state input:checked + span { border: 2px solid var(--primary); background: var(--sage-soft); }
.state input:focus-visible + span { outline: var(--focus) solid var(--primary); outline-offset: 2px; }
@media (min-width: 1000px) {
  .week { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
  .daycell { grid-template-columns: minmax(0, 1fr); text-align: center; }
  .daycell legend { float: none; width: auto; margin: 0 auto 4px; }
  .states { flex-direction: column; }
  .state span { width: 100%; justify-content: flex-start; }
}
.summary-card { background: var(--surface); border-radius: var(--r-md); padding: 24px; }
.summary-card .lead { margin-bottom: 12px; }

/* plans */
.plan { border-radius: var(--r-md); overflow: hidden; display: flex; flex-direction: column; min-width: 0; }
.plan.free { background: var(--surface); }
.plan.free .plan-band { background: var(--sage); color: var(--text); padding: 20px 24px; }
.plan.paid { border: 2px dashed var(--outline); }
.plan.paid .plan-band { padding: 20px 24px 0; }
.plan-band h3 { margin: 0; }
.plan-price { font-family: var(--font-h); font-size: clamp(32px, 4vw, 44px); font-weight: 800; line-height: 1.1; margin: 4px 0 0; }
.plan-body { padding: 20px 24px 24px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.plan-body ul { margin: 0; padding-left: 1.2em; }
.plan-body li { margin-bottom: 6px; }
.pill { display: inline-block; padding: 2px 12px; border-radius: var(--r-pill); font-size: 14px; font-weight: 700; letter-spacing: .02em; }
.pill.now { background: var(--bg); color: var(--text); }
.pill.later { color: var(--accent-text); border: 1px solid var(--accent-text); }
.plan .btn-row { margin-top: auto; padding-top: 8px; }

/* roadmap rail */
.rail { list-style: none; margin: 24px 0 12px; padding: 0 0 0 36px; position: relative; display: grid; gap: 24px; }
.rail::before { content: ""; position: absolute; left: 10px; top: 10px; bottom: 10px; width: 2px; background: var(--line); }
.rail li { position: relative; }
.rail li::before { content: ""; position: absolute; left: -36px; top: 4px; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--accent); background: var(--bg); box-sizing: border-box; }
.rail li.now::before { background: var(--accent); }
.rail strong { display: block; font-family: var(--font-h); font-size: 20px; }
@media (min-width: 860px) {
  .rail { grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 40px 0 0; gap: 24px; }
  .rail::before { left: 11px; right: 11px; top: 10px; bottom: auto; width: auto; height: 2px; }
  .rail li::before { left: 0; top: -40px; }
}

/* early access panel */
.ea { background: #1F3D2F; color: #FFFFFF; }
.ea a { color: #FFFFFF; }
.ea-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: center; }
.ea-art { border-radius: var(--r-md); overflow: hidden; max-width: 320px; background: #FBF7F0; }
.ea-art img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
@media (min-width: 860px) { .ea-grid { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 56px; } .ea-art { max-width: none; } }
.ea .label { color: #FFFFFF; }
.ea .input { background: #FFFFFF; color: #1B241F; border-color: #FFFFFF; }
.ea .input:focus-visible { box-shadow: 0 0 0 3px #FFFFFF; outline: 2px solid #1F3D2F; outline-offset: 0; }
.ea .btn { background: #FBF7F0; color: #1F3D2F; border-color: #FBF7F0; }
.ea :focus-visible { outline-color: #FFFFFF; }
.ea .consent { color: #E6EEE8; font-size: 15px; margin-top: 12px; }
.ea .err { color: var(--panel-error); }
.ea .err::before { background: var(--panel-error); color: #1F3D2F; }
.form-done { display: flex; gap: 10px; align-items: flex-start; font-size: 19px; font-weight: 700; }
.form-done[hidden] { display: none; }
.form-done svg { width: 24px; height: 24px; flex: none; margin-top: 2px; }

/* faq */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { min-height: 56px; display: flex; align-items: center; justify-content: space-between; gap: 16px; cursor: pointer; font-weight: 700; list-style: none; padding: 12px 0; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; line-height: 1; color: var(--primary); flex: none; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding-bottom: 12px; }

/* new parents moments */
.moments { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 720px) { .moments { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .moments { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.moments li { background: var(--surface); border-radius: var(--r-md); padding: 18px 20px; position: relative; padding-left: 40px; }
.moments li::before { content: ""; position: absolute; left: 18px; top: 26px; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
.moments strong { display: block; }
.page-art { border-radius: var(--r-md); overflow: hidden; background: var(--surface); margin-top: 28px; }
.page-art img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }

/* about */
.story { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; align-items: start; }
.story .art { border-radius: var(--r-md); overflow: hidden; background: var(--surface); max-width: 360px; }
.story .art img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; }
@media (min-width: 860px) { .story { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 56px; } .story .art { max-width: none; } }
.values { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 720px) { .values { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.values li { background: var(--surface); border-radius: var(--r-md); padding: 20px 24px; }
.values .dotmark { display: flex; align-items: flex-end; height: 22px; margin-bottom: 8px; }
.dm4 i { width: 8px; height: 8px; } .dm5 i { width: 12px; height: 12px; } .dm6 i { width: 16px; height: 16px; } .dm7 i { width: 20px; height: 20px; }

/* contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; align-items: start; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; } .contact-grid .sticky { position: sticky; top: 92px; } }
.mail-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.mail-list a { font-weight: 700; overflow-wrap: anywhere; }

/* page header */
.page-head { padding-block: 40px 8px; }
.crumb { font-size: 15px; color: var(--muted); margin-bottom: 8px; }
.legal h2 { margin-top: 1.6em; font-size: clamp(22px, 2.4vw, 28px); }
.legal ul { padding-left: 1.2em; }

/* 404 */
.lost { text-align: center; padding-block: 72px; }
.lost-dots { display: inline-flex; align-items: flex-start; gap: 10px; padding-top: 4px; margin-bottom: 32px; border-top: 2px solid var(--line); padding-inline: 8px; height: 60px; }
.lost-dots i { display: block; border-radius: 50%; background: var(--accent); opacity: .45; margin-top: 4px; }
.lost-dots i:nth-child(1) { width: 6px; height: 6px; } .lost-dots i:nth-child(2) { width: 8px; height: 8px; } .lost-dots i:nth-child(3) { width: 10px; height: 10px; } .lost-dots i:nth-child(4) { width: 12px; height: 12px; } .lost-dots i:nth-child(5) { width: 14px; height: 14px; } .lost-dots i:nth-child(6) { width: 16px; height: 16px; }
.lost-dots i:nth-child(7) { width: 18px; height: 18px; opacity: 1; margin-top: 36px; margin-left: 6px; }
.lost .btn-row { justify-content: center; }

/* footer */
.site-footer { background: var(--surface); padding-block: 48px 24px; margin-top: 0; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
@media (min-width: 860px) { .foot-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 4fr) minmax(0, 3fr); } }
.foot-brand img { height: 32px; width: auto; margin-bottom: 12px; }
.foot-links { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.foot-links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--text); }
.copy { border-top: 1px solid var(--line); margin-top: 32px; padding-top: 20px; font-size: 15px; color: var(--muted); }

/* dialog */
dialog { border: 0; border-radius: var(--r-md); padding: 24px; max-width: min(92vw, 440px); background: var(--bg); color: var(--text); }
dialog::backdrop { background: rgba(18, 26, 22, .5); }
dialog .btn-row { margin-top: 16px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

@media print {
  .site-header, .site-footer, .no-print, .actions, .tool-intro .art, form, .tabs, .ea, .skip, .status, dialog { display: none !important; }
  body { background: #fff; color: #000; font-size: 12pt; }
  .tool-grid { display: block; }
  .step, .summary-card, .next-card { background: #fff !important; border: 1px solid #999; break-inside: avoid; box-shadow: none !important; }
  .step .dot { width: 14px; height: 14px; background: #fff; border: 1.5px solid #000; border-radius: 3px; opacity: 1; }
  .print-only { display: block !important; }
  .tabpanel[hidden] { display: none !important; }
}
.print-only { display: none; }
.h3-like { font-size: clamp(20px, 2vw, 22px); line-height: 1.25; margin-bottom: .5em; }
.plan-band .h3-like { margin: 0; }
.grid + p, .grid + .lead { margin-top: 24px; }
.result > * + * { margin-top: 16px; }
.next-card .actions { margin-top: 8px; }
#checkin-history { margin: 0; padding-left: 1.2em; }
.page-head .page-art { max-width: 1064px; }
.hint#goal-count { flex: none; }
.foot-brand p { margin-bottom: .4em; }
.foot-grid .label { margin-bottom: 4px; }
