:root {
  --paper: #fff8e9;
  --paper-light: #fffcf5;
  --ink: #193e36;
  --body: #344e45;
  --quiet: #4d6359;
  --red: #b54432;
  --yellow: #ffc747;
  --sage: #ddedda;
  --lilac: #e8dff0;
  --peach: #fbe0ce;
  --display: ui-rounded, "Arial Rounded MT Bold", "Trebuchet MS", Arial, sans-serif;
  --sans: "DM Sans", "Avenir Next", Avenir, system-ui, sans-serif;
  --width: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 1rem/1.55 var(--sans); }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, figure, p, ul, ol { margin: 0; }
h1, h2, h3, .brand { font-family: var(--display); }
h1, h2, h3 { letter-spacing: -0.055em; line-height: 1.05; text-wrap: balance; }
h2 { font-size: clamp(2.65rem, 4.8vw, 4.4rem); font-weight: 850; }
h3 { font-size: clamp(1.43rem, 2.15vw, 1.9rem); font-weight: 800; }
a { color: inherit; text-underline-offset: 0.25em; }
button, summary { font: inherit; }
:focus-visible { outline: 3px solid #a93b27; outline-offset: 5px; }
main:focus-visible { outline-offset: -5px; }
.container { width: min(calc(100% - 96px), var(--width)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 9; top: 0; left: 1rem; padding: 13px 20px; background: var(--ink); color: white; transform: translateY(-130%); }
.skip-link:focus { transform: translateY(0); }

.masthead { background: var(--paper); }
.header-inner { min-height: 90px; display: flex; align-items: center; column-gap: clamp(20px, 4vw, 65px); border-bottom: 1px solid #aba88970; }
.brand { display: inline-flex; min-height: 44px; align-items: center; gap: 9px; flex: none; text-decoration: none; font-size: 1.7rem; letter-spacing: -0.075em; font-weight: 900; line-height: 1; }
.brand-emblem { position: relative; width: 38px; height: 38px; flex: none; transform: rotate(-11deg); filter: drop-shadow(0 1.3px 0 var(--ink)); }
.brand-emblem::before, .brand-emblem::after { position: absolute; inset: 0; content: ""; clip-path: polygon(50% 1%, 65% 29%, 98% 36%, 76% 60%, 80% 94%, 50% 80%, 19% 95%, 23% 61%, 1% 36%, 35% 29%); }
.brand-emblem::before { background: var(--ink); }
.brand-emblem::after { inset: 2.4px; background: var(--yellow); }
.brand-emblem i { position: absolute; z-index: 1; top: 44%; left: 36%; width: 2.4px; height: 4px; border-radius: 99px; background: var(--ink); box-shadow: 7px 0 var(--ink); }
.brand-emblem i::after { content: ""; position: absolute; width: 6px; height: 4px; left: 2px; top: 4px; border-bottom: 1.4px solid var(--ink); border-radius: 50%; }
.primary-nav, .header-actions { display: flex; align-items: center; }
.primary-nav { margin-left: auto; gap: clamp(16px, 2.5vw, 40px); }
.primary-nav a, .header-actions a, .footer a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; font-weight: 680; }
.primary-nav a:hover, .footer nav a:hover, .top-link:hover, .text-button:hover { text-decoration: underline; }
.header-actions { gap: 16px; }
.language-link { min-width: 44px; gap: 5px; font-size: .82rem; }
.globe { display: inline-block; width: 16px; height: 16px; position: relative; border: 1.6px solid; border-radius: 50%; }
.globe::before { content: ""; position: absolute; inset: -1px 3px; border: 1.4px solid; border-radius: 50%; }
.globe::after { content: ""; position: absolute; width: 100%; top: 46%; border-top: 1.3px solid; }
.mini-button { border: 1.5px solid var(--ink); border-radius: 99px; padding: 0 18px; gap: 10px; font-size: .89rem; }
.mini-button:hover { background: #f7e7c8; }
.arrow { font: 1.25em/1 system-ui, sans-serif; font-weight: 550; }

.hero { background: var(--paper); }
.hero-inner { display: grid; grid-template-columns: minmax(0,.88fr) minmax(0,1.12fr); align-items: center; gap: 12px; min-height: 550px; padding-block: clamp(34px,4.6vw,74px) clamp(45px,5vw,84px); }
.hero-copy, .hero-art, .family-copy { min-width: 0; }
.kicker { display: flex; align-items: center; gap: 9px; color: var(--ink); font-size: .73rem; line-height: 1.4; font-weight: 800; text-transform: uppercase; letter-spacing: .14em; }
.twinkle { color: var(--red); font-size: 1.35rem; line-height: .8; }
.short-rule { width: 24px; flex: none; border-top: 2px solid currentColor; }
.hero h1 { margin: 22px 0 23px; font-size: clamp(4.05rem, 6.05vw, 5.85rem); font-weight: 900; line-height: .99; letter-spacing: -.05em; }
.hero h1 > span, .hero h1 em { white-space: nowrap; display: block; }
.hero h1 em { color: var(--red); font-style: normal; }
.hero-lead { max-width: 42ch; color: var(--body); font-size: clamp(1.04rem, 1.38vw, 1.2rem); line-height: 1.53; }
.hero-actions { display: flex; gap: 22px; flex-wrap: wrap; align-items: center; margin-top: 28px; }
.primary-button, .text-button, .underlink { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; text-decoration: none; font-size: .97rem; font-weight: 760; }
.primary-button { min-height: 51px; padding: 12px 22px; border: 2px solid var(--ink); border-radius: 99px; color: var(--paper-light); background: var(--ink); }
.primary-button:hover { background: #2b5b4f; }
.play { display: grid; width: 25px; height: 25px; place-content: center; border: 1.6px solid var(--ink); border-radius: 50%; }
.play::before { content: ""; margin-left: 2px; border-left: 6px solid; border-block: 4px solid transparent; }
.hero-art img, .family-art img { width: 100%; mix-blend-mode: darken; mask-image: linear-gradient(90deg, transparent, black 3%, black 97%, transparent), linear-gradient(0deg, transparent, black 3%, black 97%, transparent); mask-composite: intersect; }
.hero-art { width: 100%; }

.missions { position: relative; background: #fff0c2; padding-block: clamp(45px,5.2vw,83px) clamp(64px,7.7vw,110px); }
.missions::before { content: ""; position: absolute; top: -10px; left: 0; right: 0; height: 12px; background: radial-gradient(ellipse at 50% 100%, #fff0c2 69%, transparent 73%) 0 0 / 48px 13px repeat-x; }
.section-intro { text-align: center; }
.section-intro .kicker { justify-content: center; }
.section-intro h2, .showcase h2, .faq h2, .family h2 { margin-top: 15px; }
.section-intro > p:not(.kicker) { max-width: 57ch; margin: 14px auto 0; color: var(--body); }
.task-board { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(16px,2.25vw,30px); margin-top: 32px; }
.task-card { min-width: 0; display: flex; }
.task-control { position: relative; display: flex; flex: 1; min-width: 0; flex-direction: column; align-items: stretch; border: 1.5px solid #716f57; border-radius: 24px; background: var(--paper-light); cursor: pointer; transition: transform 160ms ease, box-shadow 160ms ease; }
.task-control:hover { transform: translateY(-3px); box-shadow: 0 4px 0 #334e3433; }
.task-control:has(.task-toggle:focus-visible) { outline: 3px solid var(--red); outline-offset: 4px; }
.task-toggle { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; z-index: 1; }
.task-picture { display: grid; aspect-ratio: 1.6; place-items: center; border-radius: 22px 22px 0 0; }
.task-card--tidy .task-picture { background: var(--sage); }
.task-card--bed .task-picture { background: var(--lilac); }
.task-card--dishes .task-picture { background: var(--peach); }
.task-picture img { width: 100%; height: 100%; object-fit: contain; border-radius: inherit; }
.task-info { display: flex; flex: 1; align-items: center; gap: 11px; padding: 18px 20px 13px; }
.task-info strong { min-width: 0; hyphens: auto; overflow-wrap: anywhere; font: 800 clamp(1.25rem,1.8vw,1.7rem)/1.1 var(--display); letter-spacing: -.055em; }
.task-icon { flex: none; position: relative; display: inline-grid; place-items: center; width: 35px; height: 35px; border: 1px solid #7f927a; border-radius: 11px; color: var(--ink); background: var(--sage); }
.task-icon--bed { background: var(--lilac); }
.task-icon--dishes { background: var(--peach); }
.task-icon--tidy i { width: 9px; height: 13px; margin: -3px 0 0 6px; border-left: 2px solid; transform: rotate(32deg); }
.task-icon--tidy i::after { content: ""; position: absolute; left: -6px; top: 9px; width: 11px; height: 8px; background: currentColor; border-radius: 4px 4px 1px 1px; }
.task-icon--bed i { position: relative; width: 19px; height: 11px; border: 2px solid; border-top: 0; border-right: 0; }
.task-icon--bed i::before { content: ""; position: absolute; inset: 4px 0 0 1px; background: currentColor; border-radius: 3px 3px 0 0; }
.task-icon--bed i::after { content: ""; position: absolute; right: 0; top: 5px; height: 9px; border-left: 2px solid; }
.task-icon--dishes i { width: 18px; height: 18px; border: 1.7px solid; outline: 1.3px solid; outline-offset: -5px; border-radius: 50%; }
.task-action { margin: 0 20px 16px; display: flex; min-height: 44px; align-items: center; gap: 9px; border-top: 1px solid #ccc9b7; padding-top: 8px; font-weight: 700; font-size: .9rem; }
.tick-box { display: grid; width: 23px; height: 23px; place-items: center; border: 1.7px solid var(--ink); border-radius: 7px; }
.task-done { display: none; }
.task-toggle:checked ~ .task-action .tick-box { color: white; background: var(--ink); }
.task-toggle:checked ~ .task-action .tick-box::before { content: "✓"; }
.task-toggle:checked ~ .task-action .task-pending { display: none; }
.task-toggle:checked ~ .task-action .task-done { display: inline; }
.task-control:has(.task-toggle:checked) { border-color: var(--ink); box-shadow: 0 3px 0 var(--ink); }
.task-progress { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 24px 0 0; font-weight: 700; font-size: .94rem; }
[hidden] { display: none; }
.progress-stars { display: flex; gap: 3px; }
.progress-stars i { width: 17px; height: 17px; background: #7b8168; clip-path: polygon(50% 1%,65% 30%,98% 36%,75% 60%,80% 94%,50% 80%,20% 94%,24% 60%,2% 36%,35% 30%); }
.progress-stars .earned { background: #af4b22; }

.family { padding-block: clamp(55px,7.5vw,110px); background: var(--paper-light); }
.family-inner { display: grid; grid-template-columns: minmax(0,1.02fr) minmax(0,.9fr); align-items: center; gap: clamp(32px,7.4vw,104px); }
.family-copy > p:not(.kicker), .showcase-intro > p:not(.kicker) { margin-top: 18px; font-size: 1.08rem; max-width: 48ch; color: var(--body); }
.family-copy ul { padding: 0; list-style: none; margin-block: 18px 12px; }
.family-copy li { display: flex; gap: 10px; align-items: baseline; margin: 7px 0; }
.family-copy li::before { content: "✓"; color: #336853; font-size: .86rem; font-weight: 850; }
.underlink { gap: 12px; min-height: 44px; text-decoration: underline; text-decoration-thickness: 1.5px; }
.underlink:hover { color: var(--red); }

.showcase { background: #e3eddf; padding-block: clamp(55px,6.4vw,94px); }
.showcase-intro { text-align: center; }
.showcase-intro .kicker { justify-content: center; }
.showcase-intro > p:not(.kicker) { margin-inline: auto; }
.gallery { max-width: 900px; margin: 28px auto 0; }
.screen-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 7px; margin-bottom: 22px; }
.screen-links a { display: flex; min-height: 44px; align-items: center; justify-content: center; border: 1px solid #6c8273; border-radius: 99px; padding: 7px 17px; color: var(--ink); text-decoration: none; font-size: .9rem; font-weight: 700; }
.screen-links a:hover { background: #eff4e9; }
.screen-links a[aria-selected="true"] { background: var(--ink); color: white; border-color: var(--ink); }
.screen-panel { margin: 18px 0; border: 1px solid #a1b498; border-radius: 23px; background: var(--paper-light); }
.screen-panel[hidden] { display: none; }
.device-inset { display: grid; place-items: center; min-height: 330px; border-radius: 22px 22px 0 0; padding: clamp(20px,3.3vw,42px); background: #f0e8f3; }
.screen-panel--parent .device-inset { background: #f7e4cb; }
.screen-panel--phone .device-inset { background: #d0e2e8; }
.device { display: block; max-width: 100%; width: max-content; border-radius: 22px; background: #28352f; padding: 7px; box-shadow: 0 7px 0 #24382a28, 0 16px 30px #263c2a24; }
.device img { max-height: 405px; width: auto; object-fit: contain; border-radius: 16px; }
.screen-panel--phone .device { border-radius: 29px; padding: 5px; }
.screen-panel--phone .device img { border-radius: 24px; }
.screen-panel figcaption { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 13px clamp(18px,3vw,32px); color: var(--body); font-size: .94rem; }
.screen-panel figcaption a { display: inline-flex; flex-shrink: 0; align-items: center; gap: 6px; min-height: 44px; color: var(--ink); font-weight: 720; }

.faq { padding-block: clamp(60px,8vw,116px); background: var(--paper-light); }
.faq-inner { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); gap: clamp(30px,6vw,96px); }
.faq .underlink { margin-top: 17px; }
.faq-list details { border-top: 1px solid #a2b0a0; }
.faq-list details:last-child { border-bottom: 1px solid #a2b0a0; }
summary { min-height: 62px; padding: 14px 0; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 15px; font-weight: 750; font-size: 1.07rem; cursor: pointer; }
summary::-webkit-details-marker { display: none; }
.expand-mark { width: 23px; height: 23px; position: relative; flex: none; border-radius: 50%; border: 1px solid #83998a; }
.expand-mark::before, .expand-mark::after { content: ""; position: absolute; left: 5px; right: 5px; top: 10px; border-top: 1.5px solid; }
.expand-mark::after { transform: rotate(90deg); }
details[open] .expand-mark::after { transform: none; }
details p { padding: 0 40px 19px 0; color: var(--body); }

.closing { background: var(--ink); color: var(--paper); }
.closing-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-block: clamp(40px,4.3vw,65px); }
.closing .kicker { color: var(--paper); }
.closing .twinkle { color: var(--yellow); }
.closing h2 { margin-top: 12px; font-size: clamp(1.9rem,3.4vw,3rem); }
.store-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.store-button { display: inline-flex; flex-direction: column; min-width: 120px; min-height: 56px; padding: 7px 16px; border: 1.4px solid #93a797; border-radius: 13px; text-decoration: none; align-items: start; background: transparent; color: var(--paper); font-family: inherit; }
.store-button__name { font-weight: 800; font-size: .96rem; }
.store-button__state { color: #dfebdf; font-size: .78rem; }
.store-button--live { border-color: var(--yellow); }
.footer { background: var(--paper); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; min-height: 110px; padding-block: 20px; }
.footer .brand { font-weight: 900; font-size: 1.45rem; }
.footer .brand-emblem { width: 33px; height: 33px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 4px 21px; }
.footer nav a, .top-link { font-size: .86rem; }
.top-link { gap: 8px; }

@media (max-width: 980px) {
  .container { width: min(calc(100% - 56px), var(--width)); }
  .header-inner { column-gap: 20px; min-height: 77px; }
  .header-actions { gap: 10px; }
  .hero-inner { min-height: 470px; }
  .hero h1 { font-size: clamp(3.7rem, 6.6vw, 4.5rem); }
  .hero-actions { gap: 8px 16px; }
  .task-info { padding-inline: 15px; }
  .task-action { margin-inline: 15px; }
}
@media (max-width: 775px) {
  .header-inner { flex-wrap: wrap; justify-content: space-between; gap: 0 16px; padding-top: 10px; }
  .primary-nav { order: 3; width: 100%; justify-content: center; gap: clamp(20px,5vw,42px); }
  .hero-inner { grid-template-columns: minmax(0,1fr) minmax(0,.99fr); gap: 6px; }
  .hero h1 { font-size: clamp(3.2rem, 6.55vw, 4.05rem); }
  .hero-lead { font-size: 1rem; }
  .task-board { gap: 12px; }
  .task-info { flex-wrap: wrap; }
  .family-inner { gap: 25px; }
  .faq-inner { grid-template-columns: minmax(0,.82fr) minmax(0,1.18fr); gap: 22px; }
  .closing-inner { align-items: start; flex-direction: column; }
}
@media (max-width: 620px) {
  .container { width: calc(100% - 40px); }
  .brand { font-size: 1.43rem; gap: 6px; }
  .brand-emblem { width: 33px; height: 33px; }
  .mini-button { padding-inline: 12px; font-size: .82rem; }
  .primary-nav { gap: 20px; }
  .primary-nav a { font-size: .86rem; }
  .hero-inner { display: flex; flex-direction: column; align-items: stretch; padding-block: 38px 30px; }
  .hero h1 { margin-block: 17px; font-size: clamp(3.42rem, 10.8vw, 4.5rem); }
  .hero-copy { max-width: 450px; }
  .hero-actions { margin-top: 20px; gap: 5px 14px; }
  .primary-button { padding: 9px 15px; }
  .primary-button, .text-button { font-size: .91rem; }
  .hero-art { width: min(100%, 465px); margin: 13px auto 0; }
  .section-intro { text-align: left; }
  .section-intro .kicker { justify-content: start; }
  .task-board { grid-template-columns: minmax(0,1fr); gap: 14px; margin-top: 22px; }
  .task-control { display: grid; grid-template-columns: minmax(90px,.82fr) minmax(0,1.18fr); grid-template-rows: auto auto; }
  .task-picture { grid-row: span 2; height: 100%; aspect-ratio: auto; border-radius: 22px 0 0 22px; }
  .task-picture img { max-height: 180px; }
  .task-info { padding: 12px 10px 2px; align-items: start; flex-direction: column; gap: 6px; }
  .task-info strong { font-size: 1.18rem; }
  .task-icon { width: 27px; height: 27px; border-radius: 8px; }
  .task-action { margin: 3px 10px 5px; padding: 0; border: 0; }
  .section-intro > p:not(.kicker) { margin-inline: 0; }
  .family-inner, .faq-inner { display: flex; flex-direction: column; }
  .family-art { width: min(100%, 435px); margin-inline: auto; }
  .family h2 { max-width: 13ch; }
  .screen-links { gap: 6px; }
  .screen-links a { padding: 6px 10px; font-size: .83rem; }
  .device-inset { min-height: 245px; padding: 17px; }
  .device img { max-height: 330px; }
  .screen-panel figcaption { display: block; }
  .screen-panel figcaption a { display: flex; width: fit-content; }
  .footer-inner { align-items: start; flex-direction: column; gap: 5px; padding-block: 28px; }
}
@media (max-width: 365px) {
  .container { width: calc(100% - 28px); }
  .header-actions { gap: 3px; }
  .hero h1 { font-size: clamp(2.92rem, 13.4vw, 3.43rem); }
  .hero-actions { gap: 4px 10px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .task-control { transition: none; }
  .task-control:hover { transform: none; }
}
@media (forced-colors: active) {
  .brand-emblem, .task-icon { display: none; }
  .task-toggle:checked ~ .task-action .tick-box { border: 2px solid Highlight; }
  .screen-links a[aria-selected="true"] { outline: 2px solid Highlight; }
}
@media print {
  .masthead, .hero-actions, .store-actions, .screen-links, .footer, .top-link { display: none; }
  .screen-panel[hidden] { display: block; }
  body { color: black; background: white; }
}
