:root {
  color-scheme: light;
  --canvas: #f3f5ee;
  --paper: #fffefa;
  --sand: #efe9dd;
  --sage: #e4ecdd;
  --sage-deep: #c6d7bf;
  --ink: #243e35;
  --muted: #52655b;
  --forest: #2d5948;
  --forest-hover: #234a3b;
  --line: #c6d1c1;
  --control-line: #6d8275;
  --focus: #985b30;
  --error: #783d2c;
  --error-paper: #f8eee7;
  --success: #2c5944;
  --success-paper: #e9f0e3;
  --radius: 16px;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: auto; scroll-padding-top: 100px; }
body { margin: 0; background: var(--canvas); color: var(--ink); font: 17px/1.7 var(--sans); text-rendering: optimizeLegibility; }
button, input, textarea, select { font: inherit; }
button, input, textarea, select, a { -webkit-tap-highlight-color: transparent; }
button, a, input, textarea, select { touch-action: manipulation; }
button { cursor: pointer; }
button, input, textarea, select { max-width: 100%; }
button:disabled, input:disabled, textarea:disabled, select:disabled { cursor: default; }
a { color: var(--forest); text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:hover { text-decoration-thickness: 2px; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, summary:focus-visible, [tabindex]:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
img, svg, audio { max-width: 100%; }
img { display: block; height: auto; }
audio { width: 100%; min-width: 0; margin: 14px 0; }
h1, h2, h3, h4, p, ul, ol, dl, figure { margin-top: 0; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.18; overflow-wrap: anywhere; }
h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -.025em; }
h1 { font-size: clamp(2.5rem, 4.3vw, 4.7rem); margin-bottom: 22px; }
h2 { font-size: clamp(1.9rem, 2.7vw, 2.85rem); margin-bottom: 20px; }
h3 { font-size: 1.4rem; font-weight: 650; margin-bottom: 13px; }
h4 { font-size: 1.15rem; margin-bottom: 12px; }
p, li, dd, dt, label, figcaption, small, output, pre { overflow-wrap: anywhere; }
p { margin-bottom: 20px; }
ul, ol { padding-left: 26px; margin-bottom: 22px; }
li + li { margin-top: 8px; }
strong { font-weight: 650; }
hr { border: 0; border-top: 1px solid var(--line); margin: 30px 0; }
pre { max-width: 100%; padding: 18px; white-space: pre-wrap; background: var(--sand); font: 15px/1.7 var(--sans); }
fieldset { min-width: 0; padding: 24px; margin: 0 0 24px; border: 1px solid var(--control-line); border-radius: 12px; }
legend { max-width: 100%; padding: 0 8px; font-size: 17px; font-weight: 650; overflow-wrap: anywhere; }
summary { min-height: 48px; padding: 13px 0; font-weight: 650; cursor: pointer; overflow-wrap: anywhere; }
details > :last-child { margin-bottom: 0; }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: 1320px; padding-inline: 48px; margin-inline: auto; }
.narrow { max-width: 890px; }
.section { padding-block: 64px 46px; }
.stack { display: grid; gap: 24px; }
.grid, .card-grid, .selection-grid, .plan-cards, .detail-grid { display: grid; gap: 22px; }
.two-columns, .three-columns, .diff-grid { display: grid; gap: 28px; align-items: start; }
.two-columns, .diff-grid, .detail-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.three-columns, .selection-grid, .plan-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid > *, .stack > *, .two-columns > *, .three-columns > *, .detail-grid > *, .diff-grid > *, .plan-cards > *, .card-grid > *, .selection-grid > * { min-width: 0; }
.section > :last-child, .paper > :last-child, .quiet-paper > :last-child, .module-copy > :last-child { margin-bottom: 0; }
.skip { position: absolute; top: -160px; left: 20px; z-index: 100; background: var(--paper); color: var(--ink); padding: 15px 20px; border: 2px solid var(--forest); border-radius: 8px; }
.skip:focus { top: 12px; }
.page-heading { max-width: 950px; margin-bottom: 38px; }
.page-heading h1 { margin-bottom: 18px; }
.eyebrow { font-size: 13px; font-weight: 650; letter-spacing: .09em; line-height: 1.6; color: var(--forest); margin-bottom: 16px; text-transform: uppercase; }
.lead { max-width: 780px; font-size: 20px; line-height: 1.7; color: var(--muted); }
.words { min-width: 0; max-width: 100%; margin-block: 18px; white-space: pre-wrap; overflow-wrap: anywhere; font-size: 18px; line-height: 1.85; }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-size: 14px; line-height: 1.7; margin-bottom: 30px; color: var(--muted); }
.crumbs > * { min-width: 0; overflow-wrap: anywhere; }
.crumbs a { padding-block: 10px; min-height: 48px; }

.site-header { background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner { min-height: 96px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 0; color: var(--ink); text-decoration: none; font-size: 21px; font-weight: 650; letter-spacing: -.025em; line-height: 1.22; min-height: 48px; }
.brand img { width: 45px; height: 45px; flex: 0 0 45px; }
.brand > span, .brand > div { min-width: 0; max-width: 260px; }
.brand small { display: block; color: var(--muted); font-size: 11px; font-weight: 400; letter-spacing: .025em; margin-top: 4px; }
.main-nav { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 8px 24px; }
.main-nav a { min-height: 48px; display: inline-flex; align-items: center; color: var(--ink); font-size: 14px; font-weight: 550; text-decoration: none; }
.main-nav a:hover { text-decoration: underline; }
.main-nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 8px; }
.menu-toggle { display: none; min-height: 48px; padding: 11px 15px; color: var(--ink); background: transparent; border: 1px solid var(--control-line); border-radius: 9px; font-size: 15px; font-weight: 600; }
.mobile-nav { padding-top: 8px; padding-bottom: 22px; border-top: 1px solid var(--line); }
.mobile-nav a { display: flex; align-items: center; min-height: 50px; padding: 11px 0; font-size: 17px; color: var(--ink); }

.hero { padding-block: 52px 58px; background: var(--sand); border-bottom: 1px solid var(--line); }
.hero > .wrap { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 58px; align-items: center; }
.hero-copy { min-width: 0; max-width: 600px; }
.hero-copy h1 { font-size: clamp(2.7rem, 4.7vw, 5rem); line-height: 1.08; }
.hero-copy .lead { font-size: 20px; }
.hero-art { min-width: 0; }
.hero-art img { width: 100%; height: auto; border-radius: 24px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 30px; }
.hero-note { max-width: 540px; color: var(--muted); font-size: 14px; line-height: 1.8; margin-top: 23px; margin-bottom: 0; }
.stat-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 30px; padding-block: 24px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 15px; }
.stat-strip > * { min-width: 0; margin: 0; }
.stat-strip strong { color: var(--ink); }
.module-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.module-card { position: relative; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.module-icon { display: grid; place-items: center; width: 52px; height: 52px; padding: 12px; flex: 0 0 52px; border-radius: 12px; background: var(--sage); color: var(--forest); }
.module-icon img, .module-icon svg { width: 28px; height: 28px; object-fit: contain; }
.module-number { position: absolute; right: 25px; top: 28px; color: var(--muted); font-size: 13px; letter-spacing: .08em; }
.module-copy { width: 100%; min-width: 0; }
.module-copy h2, .module-copy h3 { font-family: var(--serif); font-weight: 400; font-size: 28px; line-height: 1.2; margin-bottom: 16px; }
.module-copy p { font-size: 16px; line-height: 1.75; color: var(--muted); }
.module-card > .button, .module-card > .secondary, .module-card > .text-button, .module-copy > .button, .module-copy > .secondary, .module-copy > .text-button { margin-top: auto; }

.paper, .quiet-paper { min-width: 0; padding: 32px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 24px; }
.quiet-paper { background: #eaf0e4; }
.paper p:last-child, .quiet-paper p:last-child { margin-bottom: 0; }
.paper h2, .quiet-paper h2 { font-size: clamp(1.75rem, 2.6vw, 2.35rem); }
.note, .status, .error, .success, .form-error { min-width: 0; padding: 18px 22px; margin-block: 20px; border-radius: 10px; font-size: 16px; line-height: 1.8; overflow-wrap: anywhere; }
.note { background: var(--sand); border: 1px solid #c9bdab; color: #4f5043; }
.status { background: var(--sage); border: 1px solid #9eb29a; color: var(--ink); }
.error, .form-error { background: var(--error-paper); border: 1px solid #b27b64; color: var(--error); }
.success { background: var(--success-paper); border: 1px solid #94ad8b; color: var(--success); }
.error:empty, .form-error:empty, .success:empty { display: none; }
.hint { font-size: 14px; line-height: 1.75; color: var(--muted); margin-top: 9px; }
.empty { padding: 45px 30px; background: var(--paper); border: 1px dashed var(--control-line); border-radius: var(--radius); text-align: center; margin-block: 24px; }
.empty p { max-width: 560px; margin-inline: auto; color: var(--muted); }

.button, .secondary, .text-button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; max-width: 100%; padding: 13px 23px; border-radius: 9px; border: 1px solid transparent; font-family: var(--sans); font-size: 16px; line-height: 1.45; font-weight: 600; text-align: center; text-decoration: none; white-space: normal; overflow-wrap: anywhere; }
.button { color: #fffef8; background: var(--forest); border-color: var(--forest); }
.button:hover { color: #fffef8; background: var(--forest-hover); border-color: var(--forest-hover); text-decoration: none; }
.secondary { color: var(--ink); background: var(--paper); border-color: var(--control-line); }
.secondary:hover { background: var(--sage); text-decoration: none; }
.text-button { color: var(--forest); background: transparent; padding-inline: 4px; text-decoration: underline; text-underline-offset: 4px; }
.text-button:hover { background: transparent; text-decoration-thickness: 2px; }
.button:disabled, .secondary:disabled, .text-button:disabled { background: #e1e7dc; color: #5c6c60; border-color: #a6b4a1; text-decoration: none; }
.button-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 25px; }
.button-row > * { min-width: 0; }
.button-row .text-button { padding-inline: 6px; }

form { margin: 0; min-width: 0; }
.field { min-width: 0; margin-bottom: 24px; }
.field label { display: block; color: var(--ink); font-size: 17px; font-weight: 600; margin-bottom: 9px; line-height: 1.55; }
.field label span { color: var(--muted); font-size: 14px; font-weight: 400; }
input:not([type="checkbox"]):not([type="radio"]), textarea, select { display: block; width: 100%; min-width: 0; min-height: 52px; padding: 13px 15px; background: var(--paper); border: 1px solid var(--control-line); border-radius: 8px; color: var(--ink); font: 17px/1.55 var(--sans); }
input::placeholder, textarea::placeholder { color: #627269; opacity: 1; }
textarea { min-height: 150px; resize: vertical; }
select { padding-right: 30px; }
input[type="file"] { font-size: 15px !important; padding: 10px !important; }
input[type="file"]::file-selector-button { min-height: 48px; padding: 7px 13px; margin-right: 12px; border: 1px solid var(--control-line); border-radius: 6px; background: var(--sage); color: var(--ink); font: 600 14px/1.5 var(--sans); cursor: pointer; }
input[type="checkbox"], input[type="radio"] { width: 23px; height: 23px; min-width: 23px; margin: 4px 0 0; accent-color: var(--forest); }
.check-row { display: flex; align-items: flex-start; gap: 13px; min-height: 50px; padding: 10px 0; margin-bottom: 8px; font-size: 16px; line-height: 1.65; }
.check-row input { flex: 0 0 23px; }
.check-row > span { min-width: 0; }
.field[aria-invalid="true"] input, input[aria-invalid="true"], textarea[aria-invalid="true"], select[aria-invalid="true"] { border-width: 2px; border-color: var(--error); }
.selection-grid { margin-block: 18px 28px; }
.choice-card { min-width: 0; display: flex; flex-direction: column; justify-content: flex-start; align-items: flex-start; gap: 8px; min-height: 136px; padding: 23px; background: var(--paper); color: var(--ink); border: 1px solid var(--control-line); border-radius: 12px; text-align: left; font-size: 17px; line-height: 1.65; overflow-wrap: anywhere; }
.choice-card > * { min-width: 0; max-width: 100%; }
.choice-card strong { font-size: 20px; }
.choice-card p, .choice-card small { color: var(--muted); margin: 0; font-size: 15px; }
.selected, .choice-card[aria-pressed="true"], .choice-card[aria-selected="true"] { border: 2px solid var(--forest); background: var(--sage); }
.choice-card.selected { padding: 22px; }

.plan-banner { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 30px; background: var(--sage); border: 1px solid #a9bca0; border-radius: var(--radius); margin-bottom: 32px; }
.plan-banner > * { min-width: 0; }
.plan-banner h2 { margin-bottom: 10px; }
.plan-banner p { margin-bottom: 0; }
.plan-banner .button-row { margin-top: 0; }
.plan-card { min-width: 0; padding: 25px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.plan-card h2, .plan-card h3 { font-family: var(--sans); font-size: 23px; font-weight: 600; letter-spacing: -.01em; }
.plan-card p { font-size: 16px; line-height: 1.75; }
.plan-card .button-row { gap: 9px; }
.plan-card .button, .plan-card .secondary { padding-inline: 16px; }
.state-pill, .badge { display: inline-flex; align-items: center; gap: 7px; max-width: 100%; min-height: 30px; padding: 4px 12px; background: var(--sage); border: 1px solid #a5b79b; border-radius: 30px; color: var(--ink); font-size: 13px; line-height: 1.5; font-weight: 550; overflow-wrap: anywhere; }
.badge { background: var(--sand); border-color: #bcaf99; }
.list-item { display: flex; align-items: flex-start; justify-content: space-between; gap: 25px; padding: 24px 0; border-top: 1px solid var(--line); }
.list-item > * { min-width: 0; }
.list-item h2, .list-item h3, .list-item h4 { margin-bottom: 12px; }
.list-item p { margin-bottom: 10px; }
.list-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px 14px; flex: 0 1 340px; }
.list-actions > * { min-width: 0; }
.detail-grid { margin-block: 24px; }
.detail-grid dt { font-size: 14px; color: var(--muted); margin-bottom: 6px; }
.detail-grid dd { margin: 0 0 18px; white-space: pre-wrap; }
.diff-grid { margin-block: 24px; }
.diff-before, .diff-after { min-width: 0; padding: 24px; border: 1px solid var(--line); border-radius: 12px; background: #f0eee6; white-space: pre-wrap; overflow-wrap: anywhere; }
.diff-after { background: var(--sage); border-color: #a7b99d; }
.history-item { min-width: 0; padding: 25px 0; border-top: 1px solid var(--line); }
.history-item h3 { font-size: 21px; }
.history-item p { white-space: pre-wrap; }
.timeline { border-left: 2px solid #a6b89c; padding-left: 26px; margin: 26px 0; }
.timeline .history-item:first-child { border-top: 0; padding-top: 0; }
.step-card { display: flex; align-items: flex-start; gap: 22px; min-width: 0; padding: 25px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 18px; }
.step-card > div { min-width: 0; }
.step-card h2, .step-card h3 { font-family: var(--sans); font-size: 23px; font-weight: 600; letter-spacing: -.01em; }
.step-card p:last-child { margin-bottom: 0; }
.step-number { display: grid; place-items: center; min-width: 42px; width: 42px; height: 42px; flex: 0 0 42px; background: var(--sage); border: 1px solid #9eb396; border-radius: 50%; color: var(--ink); font-size: 17px; font-weight: 650; }
.progress { margin-block: 24px; font-size: 15px; color: var(--muted); }
.progress-track { height: 10px; width: 100%; margin-block: 10px; background: #dce4d5; border: 1px solid #a8b99f; border-radius: 8px; overflow: hidden; }
.progress-track > span, .progress-track > div { display: block; height: 100%; background: var(--forest); border-radius: inherit; }
progress.progress { display: block; width: 100%; height: 12px; accent-color: var(--forest); }
.pagination { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 15px; margin-top: 30px; font-size: 15px; }
.pagination > * { min-width: 0; }

.card-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.communication-card { min-width: 0; width: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 15px; min-height: 184px; padding: 22px 17px; border: 2px solid var(--control-line); border-radius: 14px; background: var(--paper); color: var(--ink); font: 600 22px/1.35 var(--sans); letter-spacing: 0; text-align: center; text-decoration: none; white-space: normal; overflow-wrap: anywhere; }
.communication-card:hover { background: #edf2e7; text-decoration: none; }
.communication-card img, .communication-card > svg { width: 72px; height: 72px; object-fit: contain; flex: 0 0 72px; }
.card-picture { display: grid; place-items: center; width: 92px; height: 82px; max-width: 100%; flex: 0 0 82px; }
.card-picture img, .card-picture svg { width: 100%; height: 100%; object-fit: contain; }
.card-label { display: block; width: 100%; min-width: 0; color: var(--ink); font: 600 22px/1.35 var(--sans); text-align: center; overflow-wrap: anywhere; }
.communication-card.selected, .communication-card[aria-pressed="true"] { background: #dce8d4; border: 3px solid var(--forest); padding: 21px 16px; }
.essential-card { background: #eaf0e3; border-color: #45624e; }
.essential-card .card-label { font-weight: 700; }
.child-toolbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px 24px; margin-bottom: 28px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.child-toolbar > * { min-width: 0; }
.child-toolbar h1, .child-toolbar h2 { font-family: var(--sans); font-size: 28px; line-height: 1.25; font-weight: 650; letter-spacing: -.015em; margin: 0; }
.child-toolbar .button-row { margin-top: 0; }
.child-stage { min-width: 0; padding-block: 12px 38px; }
.child-stage h1, .child-stage h2, .child-stage h3 { font-family: var(--sans); font-weight: 650; letter-spacing: -.015em; }
.child-stage .lead { color: var(--ink); font-size: 20px; }
.child-stage .words { font-size: 20px; }
.child-stage .card-grid { margin-top: 24px; }
.request-card { display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 0; width: 100%; min-height: 270px; padding: 35px; background: #e4eddb; color: var(--ink); border: 2px solid #6c8664; border-radius: 18px; font: 650 clamp(1.65rem, 3.5vw, 2.65rem)/1.4 var(--sans); text-align: center; overflow-wrap: anywhere; }
.request-card img { width: 100px; height: 100px; object-fit: contain; margin-bottom: 24px; }
.request-card p { margin: 0; white-space: pre-wrap; }

.media-preview { min-width: 0; margin-block: 20px; padding: 18px; background: #eaf0e4; border: 1px solid var(--line); border-radius: 12px; }
.media-preview img { max-height: 360px; width: 100%; height: auto; object-fit: contain; margin-inline: auto; }
.media-preview p, .media-preview figcaption { font-size: 14px; margin-top: 12px; margin-bottom: 0; }
.asset-card { min-width: 0; padding: 22px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); }
.asset-card img { width: 100%; max-height: 220px; object-fit: contain; margin-bottom: 18px; }
.asset-card h3 { font-size: 20px; }
.asset-card p { font-size: 15px; }
.voice-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-block: 18px; }
.voice-controls > * { min-width: 0; }
.support-toolbar { position: sticky; top: 0; z-index: 30; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; min-height: 66px; padding: 10px max(48px, calc((100vw - 1224px) / 2)); background: #f7f9f2; border-bottom: 1px solid #a6b99c; color: var(--ink); font-size: 15px; }
.support-toolbar > * { min-width: 0; }
.support-toolbar .button-row { margin: 0; gap: 8px 14px; }
.support-toolbar .secondary, .support-toolbar .text-button { font-size: 14px; min-height: 48px; }
.support-toolbar p { margin: 0; }
.site-footer { background: #263f35; color: #f4f3e9; margin-top: 60px; padding-block: 45px 25px; }
.site-footer a { color: #f4f3e9; }
.site-footer h2, .site-footer h3 { color: #f4f3e9; }
.site-footer .eyebrow, .site-footer .hint { color: #d7e2d1; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(0, 1fr)); gap: 35px; }
.footer-grid > * { min-width: 0; }
.footer-grid h2 { font-size: 30px; }
.footer-grid p { font-size: 15px; color: #dce4d5; }
.footer-grid nav { display: flex; flex-direction: column; align-items: flex-start; }
.footer-grid nav a { min-height: 48px; display: inline-flex; align-items: center; padding-block: 10px; font-size: 15px; }
.footer-note { margin-top: 28px; padding-top: 22px; border-top: 1px solid #8da28b; font-size: 14px; line-height: 1.8; color: #dce4d5; }
.notice { position: fixed; z-index: 80; right: 24px; bottom: max(20px, env(safe-area-inset-bottom)); max-width: min(470px, calc(100vw - 40px)); padding: 19px 24px; background: #fffefa; border: 2px solid var(--forest); border-radius: 12px; color: var(--ink); box-shadow: 0 7px 24px #233f351f; font-size: 16px; line-height: 1.65; overflow-wrap: anywhere; }
.notice:empty { display: none; }

body[data-quiet="true"] { --canvas: #f2f3ee; --paper: #fffefb; --sand: #eeeee5; --sage: #e8ece2; --sage-deep: #d4dccd; --ink: #293d33; --muted: #526157; --forest: #365342; --forest-hover: #2c4738; --line: #c5cdbf; }
body[data-quiet="true"] .hero-art { filter: grayscale(.9); }
body[data-quiet="true"] .module-icon, body[data-quiet="true"] .step-number { background: #e8ece2; }
body[data-quiet="true"] .notice { box-shadow: none; }
body[data-quiet="true"] .communication-card, body[data-quiet="true"] .request-card { background: #f5f6ef; }
body[data-quiet="true"] .communication-card[aria-pressed="true"], body[data-quiet="true"] .communication-card.selected { background: #e1e8da; }

@media (max-width: 1120px) {
  .wrap { padding-inline: 34px; }
  .support-toolbar { padding-inline: 34px; }
  .main-nav { gap: 6px 17px; }
  .main-nav a { font-size: 13px; }
  .brand { font-size: 20px; }
  .brand > span, .brand > div { max-width: 230px; }
  .hero > .wrap { gap: 35px; }
  .hero-copy h1 { font-size: 54px; }
  .hero-copy .lead { font-size: 19px; }
  .module-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .three-columns, .selection-grid, .plan-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 940px) {
  .main-nav { display: none; }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; }
  .header-inner { min-height: 82px; gap: 22px; }
  .brand > span, .brand > div { max-width: 460px; }
  .hero { padding-block: 42px; }
  .hero > .wrap { gap: 30px; }
  .hero-copy h1 { font-size: 45px; }
  .hero-copy .lead { font-size: 18px; }
  .hero-actions { gap: 12px; }
  .hero-actions .button, .hero-actions .secondary { padding-inline: 18px; }
  .paper, .quiet-paper { padding: 27px; }
  .two-columns, .diff-grid { gap: 22px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .support-toolbar { padding-inline: 34px; }
  .list-item { flex-direction: column; gap: 12px; }
  .list-actions { flex: 0 1 auto; justify-content: flex-start; }
}

@media (max-width: 700px) {
  body { font-size: 16px; }
  .wrap { padding-inline: 22px; }
  .section { padding-block: 38px 28px; }
  .header-inner { min-height: 80px; gap: 16px; }
  .brand { font-size: 18px; gap: 9px; }
  .brand img { width: 38px; height: 38px; flex-basis: 38px; }
  .brand small { font-size: 10px; }
  .brand > span, .brand > div { max-width: 320px; }
  .menu-toggle { padding-inline: 13px; font-size: 14px; }
  .hero { padding-block: 34px 28px; }
  .hero > .wrap { grid-template-columns: 1fr; gap: 29px; }
  .hero-copy { max-width: 600px; }
  .hero-copy h1 { font-size: 43px; line-height: 1.13; }
  .hero-copy .lead { font-size: 18px; }
  .hero-art { max-width: 580px; width: 100%; margin-inline: auto; }
  .hero-art img { border-radius: 16px; }
  .hero-actions { align-items: stretch; margin-top: 24px; }
  .hero-note { font-size: 14px; margin-top: 20px; }
  .stat-strip { gap: 10px 20px; justify-content: flex-start; padding-block: 20px; font-size: 14px; }
  .page-heading { margin-bottom: 28px; }
  .page-heading h1 { font-size: 38px; line-height: 1.16; }
  .eyebrow { font-size: 12px; letter-spacing: .075em; margin-bottom: 13px; }
  .lead { font-size: 18px; line-height: 1.75; }
  .crumbs { font-size: 13px; gap: 4px 9px; margin-bottom: 19px; }
  .module-grid { grid-template-columns: 1fr; gap: 18px; }
  .module-card { padding: 25px; gap: 18px; }
  .module-copy h2, .module-copy h3 { font-size: 28px; }
  .module-copy p { font-size: 16px; }
  .two-columns, .three-columns, .detail-grid, .diff-grid, .plan-cards, .selection-grid { grid-template-columns: 1fr; gap: 20px; }
  .stack { gap: 20px; }
  .paper, .quiet-paper { padding: 25px 22px; margin-bottom: 20px; }
  .paper h2, .quiet-paper h2 { font-size: 29px; }
  .button, .secondary, .text-button { min-height: 50px; font-size: 16px; padding: 13px 20px; }
  .text-button { padding-inline: 4px; }
  .button-row { gap: 12px; margin-top: 23px; }
  .field { margin-bottom: 22px; }
  .field label { font-size: 16px; }
  .field label span { font-size: 14px; }
  input:not([type="checkbox"]):not([type="radio"]), textarea, select { font-size: 16px; min-height: 52px; padding: 13px 12px; }
  textarea { min-height: 150px; }
  fieldset { padding: 20px 17px; }
  legend { font-size: 16px; }
  .check-row { font-size: 16px; gap: 12px; }
  .note, .status, .error, .success, .form-error { padding: 17px 18px; font-size: 15px; }
  .hint { font-size: 14px; }
  .empty { padding: 30px 22px; }
  .empty h2 { font-size: 28px; }
  .plan-banner { display: block; padding: 25px 22px; margin-bottom: 25px; }
  .plan-banner .button-row { margin-top: 20px; }
  .plan-card { padding: 23px; }
  .plan-card h2, .plan-card h3 { font-size: 23px; }
  .plan-card p { font-size: 16px; }
  .choice-card { padding: 22px; min-height: 130px; }
  .choice-card.selected { padding: 21px; }
  .choice-card strong { font-size: 20px; }
  .list-item { padding-block: 21px; }
  .detail-grid { margin-block: 20px; }
  .diff-before, .diff-after { padding: 21px; }
  .timeline { padding-left: 20px; }
  .step-card { padding: 22px 19px; gap: 16px; }
  .step-card h2, .step-card h3 { font-size: 22px; }
  .step-number { width: 38px; min-width: 38px; height: 38px; flex-basis: 38px; }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .communication-card { min-height: 168px; padding: 19px 12px; gap: 13px; font-size: 21px; }
  .communication-card.selected, .communication-card[aria-pressed="true"] { padding: 18px 11px; }
  .communication-card img, .communication-card > svg { width: 64px; height: 64px; flex-basis: 64px; }
  .card-picture { width: 76px; height: 70px; flex-basis: 70px; }
  .card-label { font-size: 21px; line-height: 1.4; }
  .child-toolbar { padding-block: 14px 20px; gap: 16px; margin-bottom: 20px; }
  .child-toolbar h1, .child-toolbar h2 { font-size: 25px; }
  .child-toolbar .button-row { width: 100%; gap: 10px; }
  .child-toolbar .button, .child-toolbar .secondary, .child-toolbar .text-button { font-size: 16px; }
  .child-stage .lead { font-size: 19px; }
  .request-card { padding: 28px 22px; min-height: 240px; font-size: 28px; }
  .request-card img { width: 90px; height: 90px; margin-bottom: 21px; }
  .media-preview { padding: 15px; }
  .media-preview img { max-height: 300px; }
  .asset-card { padding: 20px; }
  .voice-controls { gap: 10px; }
  .support-toolbar { padding: 10px 22px; gap: 8px 15px; }
  .support-toolbar .button-row { gap: 7px 12px; }
  .support-toolbar p { font-size: 14px; }
  .support-toolbar .secondary, .support-toolbar .text-button { font-size: 14px; padding: 11px 14px; }
  .pagination { gap: 12px; font-size: 14px; }
  .pagination .secondary { font-size: 15px; padding-inline: 16px; }
  .site-footer { margin-top: 40px; padding-block: 35px 22px; }
  .footer-grid { gap: 25px; }
  .footer-grid h2 { font-size: 29px; }
  .footer-note { font-size: 14px; }
  .notice { left: 16px; right: 16px; max-width: none; bottom: max(16px, env(safe-area-inset-bottom)); padding: 17px 19px; font-size: 15px; }
}

@media (max-width: 360px) {
  .wrap { padding-inline: 16px; }
  .brand { font-size: 17px; gap: 8px; }
  .brand img { width: 34px; height: 34px; flex-basis: 34px; }
  .brand small { font-size: 9px; }
  .header-inner { gap: 10px; }
  .menu-toggle { padding-inline: 11px; }
  .hero-copy h1 { font-size: 38px; }
  .hero-actions { flex-direction: column; }
  .hero-actions > a, .hero-actions > button { width: 100%; }
  .page-heading h1 { font-size: 34px; }
  .paper, .quiet-paper { padding: 22px 18px; }
  .module-card { padding: 23px; }
  .module-copy h2, .module-copy h3 { font-size: 26px; }
  .card-grid { gap: 12px; }
  .communication-card { min-height: 166px; padding: 18px 10px; }
  .communication-card.selected, .communication-card[aria-pressed="true"] { padding: 17px 9px; }
  .card-label { font-size: 20px; }
  .child-toolbar .button-row > * { flex: 1 1 120px; }
  .child-toolbar h1, .child-toolbar h2 { font-size: 24px; }
  .step-card { padding: 20px 16px; gap: 13px; }
  .step-number { width: 34px; min-width: 34px; height: 34px; flex-basis: 34px; font-size: 16px; }
  .support-toolbar { padding-inline: 16px; }
  .support-toolbar > p { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > :first-child { grid-column: auto; }
}

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

@media (forced-colors: active) {
  .button, .secondary, .communication-card, .choice-card, .request-card { border: 2px solid ButtonText; }
  .selected, .communication-card[aria-pressed="true"] { outline: 3px solid Highlight; outline-offset: 2px; }
  .button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline-color: Highlight; }
  .module-icon { border: 1px solid CanvasText; }
}

@media print {
  @page { margin: 16mm; }
  html, body { background: white; color: #243e35; }
  body { font-size: 12pt; line-height: 1.65; }
  .site-header, .site-footer, .skip, .support-toolbar, .notice, .menu-toggle, .mobile-nav, .hero-actions, .button-row, .list-actions, .voice-controls, .pagination, .child-toolbar button, .child-toolbar a, button { display: none !important; }
  .wrap, .narrow { max-width: none; padding: 0; }
  .section, .child-stage { padding: 0; }
  .hero { background: white; padding: 0 0 10mm; }
  .hero > .wrap { grid-template-columns: 1fr 1fr; gap: 8mm; }
  h1, .page-heading h1, .hero-copy h1 { font-size: 28pt; }
  h2 { font-size: 22pt; }
  h3 { font-size: 17pt; }
  h1, h2, h3, legend { break-after: avoid; }
  .paper, .quiet-paper, .plan-banner, .plan-card, .module-card, .step-card { background: white; color: #243e35; box-shadow: none; border: 1px solid #6d8275; padding: 6mm; margin-bottom: 6mm; }
  .two-columns, .three-columns, .plan-cards, .detail-grid, .diff-grid, .selection-grid { display: block; }
  .paper, .quiet-paper, .plan-banner, .diff-before, .diff-after { break-inside: auto; }
  .plan-card, .module-card, .step-card, .communication-card, .request-card, .asset-card { break-inside: avoid; }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5mm; }
  .communication-card, button.communication-card, .request-card { display: flex !important; }
  .communication-card { min-height: 45mm; background: white; color: #243e35; padding: 5mm; }
  .card-label { font-size: 17pt; }
  .communication-card img { width: 20mm; height: 20mm; }
  .media-preview { padding: 3mm; background: white; }
  .media-preview img { max-height: 90mm; }
  .media-preview audio { display: none; }
  input:not([type="checkbox"]):not([type="radio"]), textarea, select { color: #243e35; background: white; border-color: #6d8275; }
  a { color: #243e35; }
}

.leave-dialog{position:fixed;inset:0;background:#183b35b8;display:grid;place-items:center;padding:20px;z-index:200}.leave-dialog>.paper{width:min(560px,100%);max-height:85vh;overflow:auto;margin:0}.optional{font-weight:400}.card-picture img{max-height:180px;width:100%;object-fit:contain}.media-preview img,.diff-grid img{max-height:320px;max-width:100%;object-fit:contain}.words{white-space:pre-wrap;overflow-wrap:anywhere}.skip{position:absolute;left:16px;top:-80px;background:#fff;padding:14px;z-index:300}.skip:focus{top:10px}[hidden]{display:none!important}

/* Improvement 1: the six essential expressions keep the same two-column positions. */
.card-grid.essential-grid{grid-template-columns:repeat(2,minmax(0,1fr));max-width:760px}.child-stage .essential-grid .communication-card{min-height:116px;padding:14px;gap:8px}.child-stage .essential-grid .module-icon{font-size:30px;min-height:32px}.child-stage .essential-grid .card-label{font-size:23px}.child-stage .essential-grid .card-picture img{max-height:85px}.child-stage .child-toolbar h1{font-size:30px;line-height:1.2}.child-stage .lead{font-size:17px;margin-block:12px 20px}body[data-child=true] .site-footer{display:none}body[data-child=true] .header-inner{min-height:75px}body[data-child=true] .main-nav{display:none}body[data-child=true] .site-header .menu-toggle{display:inline-flex}.child-stage.section{padding-top:28px}.site-header .menu-toggle{display:none}@media(max-width:940px){.site-header .menu-toggle{display:inline-flex}.child-stage .child-toolbar{gap:10px}.child-stage .child-toolbar h1{font-size:26px;margin-bottom:8px}.child-stage .essential-grid .communication-card{min-height:108px}.child-stage .essential-grid{gap:12px}.child-stage .essential-grid .card-label{font-size:22px}}

.quick-dialog .paper{width:min(760px,100%)}.quick-dialog .communication-card{min-height:100px;padding:12px}.quick-dialog .module-icon{font-size:28px}.quick-dialog .card-label{font-size:22px}.quick-dialog .essential-grid{gap:10px}

/* Improvement 7: quiet plan colours change surfaces, never card positions. */
body[data-theme="sand"]:not([data-quiet="true"]) {
  --canvas: #f5f0e5;
  --paper: #fffcf5;
  --sand: #efe4d1;
  --sage: #e8e5d8;
  --sage-deep: #d3d0be;
  --line: #cec5b2;
}
body[data-theme="slate"]:not([data-quiet="true"]) {
  --canvas: #eff3f2;
  --paper: #fbfefc;
  --sand: #e5ebe8;
  --sage: #dfe8e2;
  --sage-deep: #bfcec7;
  --line: #bdcac3;
}

/* Keep multi-letter familiar symbols on one line without covering the card label. */
.communication-card .module-icon{padding:0;white-space:nowrap;overflow-wrap:normal;line-height:1;flex:0 0 52px}
