/* Generated by scripts/build-site.mjs. Edit src/styles/* instead. */

/* Source: ./styles/00-tokens.css */
:root {
  /* Brand palette: use semantic aliases below in component CSS. */
  --sd-cream: #fff8ec;
  --sd-paper: #fffdf8;
  --sd-ink: #3c2923;
  --sd-muted: #78645b;
  --sd-coral: #ee5847;
  --sd-coral-deep: #c93f33;
  --sd-teal: #1c9290;
  --sd-teal-deep: #116e70;
  --sd-mint: #dcefeb;
  --sd-sky: #d9eaf4;
  --sd-green: #70b653;
  --sd-lilac: #b676c6;
  --sd-sun: #f6a51c;
  --sd-sand: #eadcc8;

  /* Semantic colour roles. */
  --color-page: var(--sd-cream);
  --color-surface: var(--sd-paper);
  --color-text: var(--sd-ink);
  --color-text-muted: var(--sd-muted);
  --color-action: var(--sd-coral);
  --color-action-pressed: var(--sd-coral-deep);
  --color-accent: var(--sd-teal);
  --color-accent-strong: var(--sd-teal-deep);
  --color-border: var(--sd-sand);
  --color-focus: rgb(238 88 71 / 48%);
  --color-on-strong: #fff;

  /* Compatibility aliases while older section rules are migrated. */
  --cream: var(--sd-cream);
  --paper: var(--sd-paper);
  --ink: var(--sd-ink);
  --muted: var(--sd-muted);
  --coral: var(--sd-coral);
  --coral-dark: var(--sd-coral-deep);
  --teal: var(--sd-teal);
  --teal-dark: var(--sd-teal-deep);
  --mint: var(--sd-mint);
  --sky: var(--sd-sky);
  --green: var(--sd-green);
  --lilac: var(--sd-lilac);
  --sun: var(--sd-sun);
  --sand: var(--sd-sand);

  /* Type scale. */
  --font-family-rounded: "Avenir Next", Avenir, ui-rounded, "SF Pro Rounded", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-size-display: clamp(3rem, 4.7vw, 4.5rem);
  --font-size-section: clamp(2.45rem, 3.8vw, 3.75rem);
  --font-size-lead: clamp(1.06rem, 1.7vw, 1.22rem);
  --font-size-body: 1rem;
  --font-size-small: .875rem;
  --font-size-caption: .84rem;
  --font-weight-regular: 500;
  --font-weight-strong: 760;
  --font-weight-bold: 800;
  --line-height-body: 1.55;
  --line-height-heading: 1.02;
  --letter-spacing-heading: -.05em;

  /* Fluid spacing and layout. */
  --space-1: .25rem;
  --space-2: .5rem;
  --space-3: .75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-section: clamp(4.75rem, 8vw, 6.75rem);
  --space-section-compact: clamp(3.875rem, 7vw, 6rem);
  --content-max: 72.5rem;
  --content-gutter: 1.5rem;
  --content-gutter-mobile: .875rem;
  --measure-copy: 58ch;

  /* Shape language: regular controls, PawCards and organic scenes. */
  --radius-control: 1rem;
  --radius-card: 1.5rem;
  --radius-panel: 2rem;
  --radius-phone: 2.375rem;
  --radius-pill: 999px;
  --border-raised: 2px solid rgb(255 255 255 / 90%);
  --shadow-plant: 0 .25rem 0 #c7c1ad;
  --shadow-card: var(--shadow-plant), 0 .75rem 1.5rem rgb(60 41 35 / 9%);
  --shadow-float: 0 1.75rem 3.5rem rgb(60 41 35 / 20%);
  --shadow-action: 0 .375rem 0 var(--color-action-pressed), 0 .8125rem 1.5rem rgb(60 41 35 / 13%);

  /* Interaction and stacking. */
  --duration-fast: 160ms;
  --ease-out: cubic-bezier(.2, .8, .2, 1);
  --z-sticky: 30;
  --z-overlay: 100;

  /* Legacy type aliases. */
  --type-display: var(--font-size-display);
  --type-section: var(--font-size-section);
  --type-body: var(--font-size-body);
  --type-caption: var(--font-size-caption);
}

/* Source: ./styles/10-base.css */
/* Reset and document defaults. */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
body {
  margin: 0;
  color: var(--color-text);
  background: var(--color-page);
  font-family: var(--font-family-rounded);
  font-size: var(--font-size-body);
  line-height: var(--line-height-body);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, summary { font: inherit; }
h1, h2, h3, p { margin-top: 0; }

/* Shared layout primitives. */
.shell {
  width: min(var(--content-max), calc(100% - (var(--content-gutter) * 2)));
  margin-inline: auto;
}
.section { position: relative; padding-block: var(--space-section); }
.section-header { max-width: 49.375rem; margin: 0 0 3.5rem; }
.section-heading h2,
.how-copy h2,
.faq-intro h2,
.cta h2 {
  max-width: 15ch;
  margin-bottom: 1.125rem;
  font-size: var(--font-size-section);
  font-weight: var(--font-weight-strong);
  line-height: var(--line-height-heading);
  letter-spacing: var(--letter-spacing-heading);
}
.section-heading p,
.how-copy > p,
.faq-intro p {
  max-width: var(--measure-copy);
  margin-bottom: 0;
  color: var(--color-text-muted);
  font-size: 1.03rem;
}

/* Accessibility utilities. */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: var(--z-overlay);
  padding: .625rem .875rem;
  color: var(--color-on-strong);
  background: var(--color-text);
}
.skip-link:focus { top: .75rem; }
:focus-visible { outline: 3px solid var(--color-focus); outline-offset: .25rem; }
.anchor-target { position: absolute; top: 0; width: 1px; height: 1px; overflow: hidden; pointer-events: none; }

/* Source: ./styles/20-components-and-sections.css */
/* Navigation and shared actions. */

.topbar { position: sticky; top: 0; z-index: var(--z-sticky); padding: 11px 0 8px; background: linear-gradient(to bottom, rgba(255, 248, 236, .97), rgba(255, 248, 236, .78) 74%, transparent); backdrop-filter: blur(10px); }
.topbar-inner { min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 8px 12px 8px 18px; border: var(--border-raised); border-radius: var(--radius-card); background: rgba(255, 250, 240, .96); box-shadow: var(--shadow-card); }
.brand { flex: 0 0 auto; text-decoration: none; }
.brand img { width: 108px; height: auto; }
.nav { display: flex; align-items: center; gap: 7px; }
.nav > a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 6px 12px 6px 7px; border-radius: var(--radius-control); color: var(--color-text-muted); font-size: var(--font-size-small); font-weight: var(--font-weight-bold); text-decoration: none; transition: color var(--duration-fast) var(--ease-out), background var(--duration-fast) var(--ease-out), transform var(--duration-fast) var(--ease-out); }
.nav > a::before { content: ""; width: 29px; height: 29px; flex: 0 0 29px; border-radius: 10px; background-color: var(--teal); background-position: center; background-repeat: no-repeat; box-shadow: 0 3px 0 var(--teal-dark); }
.nav > a:nth-child(1)::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28'%3E%3Cg fill='white'%3E%3Cellipse cx='14' cy='17' rx='6.3' ry='5.2'/%3E%3Ccircle cx='7.2' cy='11.5' r='2.6'/%3E%3Ccircle cx='12' cy='8.4' r='2.6'/%3E%3Ccircle cx='16.7' cy='8.4' r='2.6'/%3E%3Ccircle cx='21' cy='11.7' r='2.6'/%3E%3C/g%3E%3C/svg%3E"); }
.nav > a:nth-child(2)::before { background-color: var(--sun); box-shadow: 0 3px 0 #c1780b; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28'%3E%3Cpath d='M6 20c3-1 2-6 6-6s3-6 8-7' fill='none' stroke='white' stroke-width='2.6' stroke-linecap='round' stroke-dasharray='1.5 4'/%3E%3Ccircle cx='6' cy='21' r='3' fill='white'/%3E%3Cpath d='M18 4h5v7l-2.5-1.7L18 11z' fill='white'/%3E%3C/svg%3E"); }
.nav > a:nth-child(3)::before { background-color: var(--lilac); box-shadow: 0 3px 0 #885397; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28'%3E%3Cg fill='white'%3E%3Crect x='7' y='11' width='14' height='6' rx='3'/%3E%3Ccircle cx='7' cy='11' r='3.5'/%3E%3Ccircle cx='7' cy='17' r='3.5'/%3E%3Ccircle cx='21' cy='11' r='3.5'/%3E%3Ccircle cx='21' cy='17' r='3.5'/%3E%3C/g%3E%3C/svg%3E"); }
.nav > a:hover { color: var(--teal-dark); background: rgba(28, 146, 144, .09); transform: translateY(-1px); }
.nav > a.is-active { color: var(--color-text); background: rgb(255 255 255 / 72%); box-shadow: inset 0 0 0 2px rgb(60 41 35 / 8%); }
.nav-label-mobile { display: none; }
.language { position: relative; }
.language summary { display: flex; align-items: center; gap: 6px; min-height: 44px; padding: 8px 12px; border: 1.5px solid rgba(238, 88, 71, .26); border-radius: var(--radius-control); color: var(--color-action-pressed); background: linear-gradient(#fff, rgba(238, 88, 71, .09)); cursor: pointer; font-size: .875rem; font-weight: var(--font-weight-bold); list-style: none; box-shadow: 0 3px 0 rgba(201, 63, 51, .18); }
.language summary::-webkit-details-marker { display: none; }
.language summary::marker { content: ""; }
.language summary::after { content: ""; position: relative; top: -2px; width: 6px; height: 6px; flex: 0 0 auto; margin-left: 1px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); transition: transform var(--motion-fast), top var(--motion-fast); }
.language[open] summary::after { top: 2px; transform: rotate(225deg); }
.language-menu { position: absolute; right: 0; top: calc(100% + 9px); width: 184px; padding: 7px; border: 1px solid var(--sand); border-radius: 22px; background: var(--paper); box-shadow: 0 18px 44px rgba(60, 41, 35, .16); }
.language-menu a { min-height: 44px; display: flex; align-items: center; justify-content: space-between; padding: 8px 10px; border-radius: 14px; text-decoration: none; font-size: .88rem; font-weight: 650; }
.language-menu a:hover, .language-menu a[aria-current="page"] { color: var(--teal-dark); background: var(--mint); }

.hero { position: relative; min-height: 780px; overflow: hidden; background-color: var(--cream); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='50' viewBox='0 0 100 50'%3E%3Cg fill='%233c2923' fill-opacity='.034' transform='translate(38 14) rotate(-9)'%3E%3Cellipse cx='0' cy='8' rx='6' ry='5'/%3E%3Ccircle cx='-7' cy='1' r='2.5'/%3E%3Ccircle cx='-2' cy='-3' r='2.5'/%3E%3Ccircle cx='3' cy='-3' r='2.5'/%3E%3Ccircle cx='8' cy='1' r='2.5'/%3E%3C/g%3E%3Cg fill='%233c2923' fill-opacity='.026' transform='translate(82 38) rotate(11)'%3E%3Crect x='-8' y='-3' width='16' height='6' rx='3'/%3E%3Ccircle cx='-8' cy='-3' r='4'/%3E%3Ccircle cx='-8' cy='3' r='4'/%3E%3Ccircle cx='8' cy='-3' r='4'/%3E%3Ccircle cx='8' cy='3' r='4'/%3E%3C/g%3E%3C/svg%3E"); }
.hero-grid { position: relative; display: grid; grid-template-columns: 5fr 7fr; align-items: center; gap: clamp(38px, 6vw, 82px); padding-block: clamp(58px, 7vw, 88px); }
.hero-copy { position: relative; z-index: 5; }
h1 { max-width: 12ch; margin-bottom: 25px; font-size: var(--font-size-display); font-weight: var(--font-weight-strong); line-height: .99; letter-spacing: -.052em; }
.hero-lead { max-width: 47ch; margin-bottom: 31px; color: var(--color-text-muted); font-size: var(--font-size-lead); line-height: 1.58; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.store-button { display: inline-flex; align-items: center; gap: 11px; min-height: 58px; padding: 10px 19px; border-radius: var(--radius-pill); color: var(--color-on-strong); background: var(--color-action); box-shadow: var(--shadow-action); text-decoration: none; transition: transform var(--duration-fast) var(--ease-out), box-shadow var(--duration-fast) var(--ease-out); }
.store-button:hover { transform: translateY(-2px); box-shadow: 0 8px 0 var(--coral-dark), 0 16px 28px rgba(60, 41, 35, .14); }
.store-button svg { width: 26px; height: 26px; fill: currentColor; }
.store-copy { display: grid; line-height: 1.02; }
.store-copy small { font-size: .75rem; font-weight: 600; }
.store-copy strong { font-size: 1.05rem; }
.text-link { color: var(--teal-dark); font-size: .93rem; font-weight: 750; text-underline-offset: .23em; }
.hero-note { margin-top: 20px; color: var(--muted); font-size: .84rem; }

.hero-world { position: relative; min-height: 640px; margin: 0; }
.garden-clip { position: absolute; inset: 0 0 14px 8%; overflow: hidden; border: 11px solid rgba(255, 255, 255, .9); border-radius: 46% 54% 42% 58% / 27% 34% 66% 73%; box-shadow: 0 28px 56px rgba(60, 41, 35, .2), 0 8px 0 rgba(28, 146, 144, .2); transform: rotate(1.5deg); }
.garden-scene { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; transform: scale(1.02); }
.garden-dog { position: absolute; z-index: 3; width: 48%; right: -2%; bottom: 2%; filter: drop-shadow(0 18px 18px rgba(60, 41, 35, .22)); }
.board-peek { position: absolute; z-index: 4; width: 38%; left: 2%; bottom: 3%; padding: 7px; overflow: hidden; border: 4px solid rgba(255, 255, 255, .96); border-radius: 28px 24px 30px 25px; background: rgba(255, 253, 248, .97); box-shadow: 0 16px 34px rgba(60, 41, 35, .2), 0 5px 0 rgba(28, 146, 144, .2); transform: rotate(-2deg); }
.board-peek::after { content: ""; position: absolute; inset: 7px 7px auto; height: 22%; border-radius: 21px 19px 40% 38%; background: linear-gradient(rgba(255, 255, 255, .2), transparent); pointer-events: none; }
.board-peek > img { width: 100%; border-radius: 20px; box-shadow: 0 0 0 1px rgba(60, 41, 35, .08); }
.board-caption { min-height: 32px; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 7px 8px 2px; color: var(--muted); font-size: clamp(.61rem, .72vw, .72rem); line-height: 1.15; }
.board-caption strong { flex: 0 0 auto; color: var(--ink); font-weight: 800; }
.board-caption span { min-width: 0; text-align: right; }

.proof { position: relative; z-index: 8; margin-top: -20px; padding-bottom: 52px; }
.proof-row { display: grid; grid-template-columns: repeat(3, 1fr); border: var(--border-raised); border-radius: var(--radius-card); background: rgba(255, 250, 240, .97); box-shadow: var(--shadow-card); }
.proof-item { padding: 17px 24px 16px; text-align: center; }
.proof-item + .proof-item { border-left: 1px solid rgba(60, 41, 35, .12); }
.proof-item strong { display: block; color: var(--teal-dark); font-size: 1.34rem; font-weight: 800; letter-spacing: -.025em; }
.proof-item:nth-child(2) strong { color: #548d3c; }
.proof-item:nth-child(3) strong { color: #8d4c9d; }
.proof-item span { color: var(--muted); font-size: var(--type-caption); }

.demo-section { position: relative; overflow: hidden; padding: clamp(72px, 7vw, 96px) 0 clamp(78px, 8vw, 108px); scroll-margin-top: 92px; background: #eef6e1; }
.demo-shell { position: relative; z-index: 2; display: grid; grid-template-columns: 5fr 7fr; align-items: center; gap: clamp(52px, 8vw, 108px); }
.demo-copy { position: relative; z-index: 5; }
.demo-copy > h2 { max-width: 9ch; margin-bottom: 18px; font-size: var(--type-section); font-weight: 780; line-height: .98; letter-spacing: -.052em; }
.demo-copy > p { max-width: 43ch; color: var(--muted); font-size: 1.03rem; }
.demo-invite { width: fit-content; max-width: 100%; align-items: center; gap: 10px; margin-bottom: 23px; padding: 7px 16px 8px 7px; border: 2px solid rgba(238, 88, 71, .2); border-radius: 25px 18px 27px 20px; background: rgba(255, 253, 248, .92); box-shadow: 0 5px 0 rgba(238, 88, 71, .12); }
.demo-invite:not([hidden]) { display: flex; }
.demo-invite-dog { width: 42px; height: 42px; flex: 0 0 auto; border-radius: 47% 53% 48% 52%; background: var(--coral) url("/assets/square-dog-coach.webp") center 8% / 145% auto no-repeat; }
.demo-invite > span:last-child { min-width: 0; display: grid; gap: 1px; }
.demo-invite strong { color: var(--ink); font-size: .9rem; font-weight: 820; line-height: 1.2; }
.demo-invite small { color: var(--muted); font-size: .78rem; line-height: 1.3; }
.demo-tools { display: flex; gap: 11px; margin: 30px 0 15px; }
.demo-tool { min-height: 52px; display: inline-flex; align-items: center; gap: 10px; padding: 9px 18px; border: var(--border-raised); border-radius: var(--radius-control); color: var(--color-text); background: rgba(255, 253, 248, .9); box-shadow: var(--shadow-card); cursor: pointer; font-weight: var(--font-weight-bold); }
.demo-tool.is-active { border-color: rgba(28, 146, 144, .28); color: #fff; background: var(--teal); box-shadow: 0 4px 0 var(--teal-dark), 0 8px 16px rgba(17, 110, 112, .15); }
.tool-cross { position: relative; width: 22px; height: 22px; }
.tool-cross::before, .tool-cross::after { content: ""; position: absolute; left: 9px; top: 1px; width: 4px; height: 21px; border-radius: 999px; background: currentColor; transform: rotate(45deg); }
.tool-cross::after { transform: rotate(-45deg); }
.tool-dog { width: 28px; height: 28px; border-radius: 50%; background: var(--coral) url("/assets/square-dog-coach.webp") center 12% / 145% auto no-repeat; }
.demo-hint { margin-bottom: 22px; font-size: .9rem !important; }
.demo-meta { display: flex; align-items: center; justify-content: space-between; gap: 18px; max-width: 430px; padding-top: 16px; border-top: 2px solid rgba(60, 41, 35, .1); }
.demo-progress { color: var(--teal-dark); font-size: .92rem; }
.demo-reset { padding: 5px 0; border: 0; color: var(--muted); background: transparent; cursor: pointer; font-size: .88rem; font-weight: 700; text-decoration: underline; text-underline-offset: .22em; }
.demo-status { min-height: 1.6em; margin: 12px 0 0 !important; color: var(--coral-dark) !important; font-size: .9rem !important; font-weight: 720; }
.demo-playfield { position: relative; min-height: 540px; display: grid; place-items: center; }
.demo-board { position: relative; z-index: 3; width: min(500px, 82%); aspect-ratio: 1; display: grid; grid-template-columns: repeat(5, 1fr); gap: 5px; padding: 12px; border: 7px solid rgba(255, 255, 255, .94); border-radius: 31px; background: #f4dfbd; box-shadow: 0 14px 30px rgba(60, 41, 35, .18), inset 0 0 0 2px rgba(238, 88, 71, .22); transform: rotate(1deg); }
.demo-cell { position: relative; min-width: 0; padding: 0; overflow: hidden; border: 0; border-radius: 11px; cursor: pointer; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); -webkit-tap-highlight-color: transparent; }
.demo-cell > span { position: absolute; inset: 0; display: block; }
.region-green { background: #65b64f; }
.region-purple { background: #ba70c7; }
.region-teal { background: #09b9a6; }
.region-pink { background: #fb6276; }
.region-brown { background: #c98460; }
.demo-cell[data-state="cross"] > span::before, .demo-cell[data-state="cross"] > span::after { content: ""; position: absolute; left: 46%; top: 19%; width: 9%; height: 62%; border-radius: 999px; background: #fff; box-shadow: 0 2px 2px rgba(60, 41, 35, .1); transform: rotate(45deg); }
.demo-cell[data-state="cross"] > span::after { transform: rotate(-45deg); }
.demo-cell[data-state="dog"] > span { inset: 7%; border-radius: 46% 54% 48% 52%; background: rgba(255, 248, 236, .66) url("/assets/square-dog-coach.webp") center 7% / 148% auto no-repeat; filter: drop-shadow(0 4px 3px rgba(60, 41, 35, .18)); }
.demo-cell.is-conflict { animation: demo-shake .24s linear 2; box-shadow: inset 0 0 0 5px #fff, 0 0 0 4px var(--coral-dark); z-index: 4; }
.demo-coach { position: absolute; z-index: 4; width: 25%; right: -4%; bottom: -20%; pointer-events: none; filter: drop-shadow(0 15px 14px rgba(60, 41, 35, .18)); }
.demo-complete { margin-top: 22px; align-items: center; gap: 15px; padding: 16px 17px 18px 8px; border: 2px solid rgba(28, 146, 144, .18); border-radius: 38px 24px 42px 27px; background: rgba(255, 253, 248, .92); box-shadow: 0 8px 0 rgba(28, 146, 144, .12); }
.demo-complete:not([hidden]) { display: flex; }
.demo-complete > img { width: 92px; flex: 0 0 auto; }
.demo-complete > div { min-width: 0; flex: 1; }
.demo-complete h3 { margin-bottom: 3px; font-size: 1.2rem; font-weight: 800; }
.demo-complete p { margin-bottom: 13px; color: var(--muted); font-size: .86rem; line-height: 1.4; }
.demo-complete-actions { display: flex; align-items: stretch; gap: 9px; }
.demo-complete .store-button { min-height: 49px; padding: 8px 15px; }
.demo-complete .store-copy small { max-width: 190px; font-size: .75rem; }
.demo-complete .store-copy strong { font-size: .9rem; }
.demo-share { min-height: 49px; padding: 10px 16px; border: 2px solid rgba(28, 146, 144, .3); border-radius: 18px 14px 19px 15px; color: var(--teal-dark); background: rgba(218, 245, 237, .5); box-shadow: 0 5px 0 rgba(28, 146, 144, .17); font: inherit; font-size: .88rem; font-weight: 800; line-height: 1.15; cursor: pointer; }
.demo-share:hover { border-color: rgba(28, 146, 144, .58); background: #fff; transform: translateY(-1px); }
.demo-share:active { box-shadow: 0 2px 0 rgba(28, 146, 144, .17); transform: translateY(2px); }
.demo-share:disabled { cursor: wait; opacity: .6; transform: none; }
.demo-share-status { min-height: 1.4em; margin: 9px 2px 0 !important; color: var(--teal-dark) !important; font-size: .8rem !important; font-weight: 720; }
@keyframes demo-shake { 25% { transform: translateX(-3px); } 75% { transform: translateX(3px); } }

.gallery-section { position: relative; overflow: hidden; padding: clamp(78px, 8vw, 108px) 0 68px; color: #fff; background: var(--teal-dark); }
.gallery-heading { position: relative; z-index: 3; display: flex; align-items: end; justify-content: space-between; gap: 42px; }
.gallery-heading h2 { max-width: 12ch; margin-bottom: 0; font-size: var(--type-section); font-weight: 780; line-height: .98; letter-spacing: -.052em; }
.gallery-heading p { max-width: 48ch; margin-bottom: 5px; color: rgba(255, 255, 255, .77); font-size: 1.03rem; }
.gallery-stage { position: relative; z-index: 2; height: 755px; margin-top: 48px; }
.gallery-shot { position: absolute; width: 25.5%; margin: 0; transform-origin: 50% 100%; }
.shot-home { left: 2%; top: 42px; transform: rotate(-2.4deg); }
.shot-map { left: 37.25%; top: 0; transform: rotate(1.2deg); }
.shot-complete { right: 2%; top: 28px; transform: rotate(2.6deg); }
.phone-window { overflow: hidden; border: 7px solid rgba(255, 253, 248, .98); border-radius: 38px; background: var(--paper); box-shadow: 0 19px 0 rgba(4, 61, 63, .42), 0 34px 46px rgba(4, 48, 50, .35); }
.phone-window img { width: 100%; }
.gallery-shot figcaption { display: grid; gap: 3px; padding: 24px 10px 0; text-align: center; }
.gallery-shot figcaption strong { font-size: 1.08rem; font-weight: 800; }
.gallery-shot figcaption span { color: rgba(255, 255, 255, .7); font-size: .86rem; line-height: 1.4; }

.social-section { position: relative; overflow: hidden; padding: clamp(78px, 8vw, 108px) 0; background: #fff2d8; }
.social-layout { position: relative; z-index: 2; display: grid; grid-template-columns: 5.3fr 6.7fr; align-items: center; gap: clamp(54px, 7vw, 96px); }
.social-copy { position: relative; z-index: 5; }
.social-copy h2 { max-width: 10ch; margin-bottom: 22px; font-size: var(--type-section); font-weight: 790; line-height: .97; letter-spacing: -.052em; }
.social-lead { max-width: 48ch; margin: 0; color: var(--muted); font-size: 1.03rem; }
.social-lead strong { color: var(--ink); font-weight: 760; }
.social-points { display: grid; gap: 13px; margin: 29px 0 32px; padding: 0; list-style: none; }
.social-points li { display: grid; grid-template-columns: 27px 1fr; align-items: center; gap: 12px; }
.social-points li > span { position: relative; width: 16px; height: 8px; margin-left: 5px; border-radius: 999px; background: var(--teal); box-shadow: -5px -3px 0 -1px var(--teal), -5px 3px 0 -1px var(--teal), 5px -3px 0 -1px var(--teal), 5px 3px 0 -1px var(--teal); transform: rotate(-9deg); }
.social-points li:nth-child(2) > span { background: var(--lilac); box-shadow: -5px -3px 0 -1px var(--lilac), -5px 3px 0 -1px var(--lilac), 5px -3px 0 -1px var(--lilac), 5px 3px 0 -1px var(--lilac); }
.social-points li:nth-child(3) > span { background: var(--sun); box-shadow: -5px -3px 0 -1px var(--sun), -5px 3px 0 -1px var(--sun), 5px -3px 0 -1px var(--sun), 5px 3px 0 -1px var(--sun); }
.social-points li div { display: grid; gap: 2px; }
.social-points strong { font-size: .98rem; font-weight: 800; }
.social-points small { color: var(--muted); font-size: .86rem; line-height: 1.35; }
.social-action { display: grid; justify-items: start; gap: 13px; }
.social-action p { max-width: 36ch; margin: 0; color: var(--muted); font-size: .78rem; line-height: 1.45; }
.social-stage { position: relative; min-height: 640px; }
.social-phone { position: absolute; z-index: 3; overflow: hidden; margin: 0; border: 7px solid rgba(255, 253, 248, .98); border-radius: 39px; background: var(--paper); box-shadow: 0 17px 0 rgba(60, 41, 35, .13), 0 31px 44px rgba(60, 41, 35, .2); }
.social-phone img { width: 100%; }
.leaderboard-phone { width: 42%; left: 4%; top: 1%; transform: rotate(-3.5deg); }
.wardrobe-phone { width: 45%; right: 3%; bottom: 0; transform: rotate(3.7deg); }
.app-view-label { position: absolute; z-index: 2; left: 20px; top: 20px; padding: 8px 12px; border-radius: 999px; color: #fff; background: rgba(17, 110, 112, .9); box-shadow: 0 4px 0 rgba(4, 61, 63, .45); font-size: .68rem; font-weight: 800; letter-spacing: .04em; }
.bone-trail { position: absolute; z-index: 4; width: 45%; height: 44%; left: 27%; top: 28%; transform: rotate(10deg); pointer-events: none; }
.bone-trail i { position: absolute; width: 17px; height: 8px; border-radius: 999px; background: var(--coral); box-shadow: -5px -3px 0 -1px var(--coral), -5px 3px 0 -1px var(--coral), 5px -3px 0 -1px var(--coral), 5px 3px 0 -1px var(--coral), 0 3px 7px rgba(60, 41, 35, .16); transform: rotate(var(--r)); }
.bone-trail i:nth-child(1) { left: 4%; top: 8%; --r: 25deg; }
.bone-trail i:nth-child(2) { left: 24%; top: 28%; --r: -12deg; }
.bone-trail i:nth-child(3) { left: 45%; top: 48%; --r: 28deg; }
.bone-trail i:nth-child(4) { left: 68%; top: 67%; --r: -5deg; }
.bone-trail i:nth-child(5) { left: 88%; top: 85%; --r: 32deg; }

/* Rules and supporting product story. */
#how { overflow: hidden; background: var(--mint); }
.how-layout { position: relative; z-index: 2; display: grid; grid-template-columns: 6fr 6fr; align-items: center; gap: clamp(52px, 7vw, 96px); }
.board-feature { position: relative; min-height: 560px; display: grid; place-items: center; }
.board-feature-image { position: relative; z-index: 2; width: 80%; border: 12px solid var(--paper); border-radius: 26px; box-shadow: 0 22px 46px rgba(60, 41, 35, .18); transform: rotate(2deg); }
.board-coach { position: absolute; z-index: 4; width: 43%; right: -1%; bottom: -2%; filter: drop-shadow(0 15px 15px rgba(60, 41, 35, .19)); }
.compact-rules { display: grid; margin-top: 30px; padding: 7px 20px 8px; border: var(--border-raised); border-radius: var(--radius-card); background: rgba(255, 250, 240, .93); box-shadow: var(--shadow-card); }
.compact-rules .rule { --rule-color: var(--green); display: grid; grid-template-columns: 46px 1fr; gap: 3px 14px; margin: 0; padding: 14px 0 15px; border: 0; border-bottom: 1px solid rgba(60, 41, 35, .12); background: transparent; box-shadow: none; transform: none; }
.compact-rules .rule:nth-child(2) { --rule-color: var(--lilac); }
.compact-rules .rule:nth-child(3) { --rule-color: var(--teal); }
.compact-rules .rule:nth-child(4) { --rule-color: var(--coral); border-bottom: 0; }
.compact-rules .rule-icon { grid-row: 1 / span 2; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--rule-color); box-shadow: 0 4px 0 color-mix(in srgb, var(--rule-color) 70%, #3c2923); font-size: .9rem; font-weight: 800; }
.compact-rules h3 { align-self: end; margin: 0; font-size: 1rem; font-weight: 780; }
.compact-rules p { margin: 0; color: var(--muted); font-size: .87rem; line-height: 1.42; }

#why { overflow: hidden; background: #fef4d8; }
.why-layout { position: relative; z-index: 2; display: grid; grid-template-columns: 5fr 7fr; align-items: center; gap: clamp(54px, 8vw, 110px); }
.why-visual { min-height: 470px; display: grid; place-items: end center; }
.why-visual img { width: 74%; margin-bottom: 3%; filter: drop-shadow(0 18px 18px rgba(60, 41, 35, .13)); }
#why .section-header { margin-bottom: 30px; }
.details-grid { display: grid; }
.detail { position: relative; padding: 23px 0 23px 42px; border-bottom: 2px solid rgba(60, 41, 35, .1); }
.detail::before { content: ""; position: absolute; left: 4px; top: 31px; width: 19px; height: 19px; border-radius: 70% 45% 65% 50%; background: var(--teal); transform: rotate(24deg); }
.detail:nth-child(2)::before { background: var(--coral); }
.detail:nth-child(3)::before { background: var(--sun); }
.detail h3 { margin-bottom: 7px; font-size: 1.33rem; font-weight: 760; line-height: 1.15; letter-spacing: -.02em; }
.detail p { max-width: 42ch; margin: 0; color: var(--muted); font-size: .95rem; }

#faq { padding-bottom: clamp(32px, 4vw, 56px); background: var(--cream); }
.faq { position: relative; display: grid; grid-template-columns: 4fr 8fr; gap: clamp(44px, 8vw, 110px); align-items: start; padding: clamp(38px, 5vw, 68px); border: var(--border-raised); border-radius: var(--radius-panel); background: rgba(255, 250, 240, .94); box-shadow: var(--shadow-card); }
.faq-list { border-top: 2px solid rgba(60, 41, 35, .12); }
.faq-item { border-bottom: 2px solid rgba(60, 41, 35, .1); }
.faq-item summary { position: relative; padding: 23px 52px 23px 0; cursor: pointer; font-size: 1rem; font-weight: 760; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 3px; top: 15px; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--teal); box-shadow: 0 4px 0 var(--teal-dark); font-size: 1.25rem; font-weight: 500; }
.faq-item[open] summary::after { content: "–"; }
.faq-answer { max-width: 62ch; padding: 0 48px 24px 0; color: var(--muted); }
.faq-answer p { margin: 0; }

.cta-section { overflow: hidden; padding: clamp(44px, 5vw, 72px) 0 clamp(88px, 9vw, 118px); background: var(--cream); }
.cta { position: relative; min-height: 470px; border-radius: 46% 54% 43% 57% / 25% 31% 69% 75%; color: #fff; background: var(--coral); box-shadow: 0 14px 0 rgba(201, 63, 51, .28), 0 28px 48px rgba(60, 41, 35, .14); }
.cta-dog { position: absolute; z-index: 2; width: 43%; left: -2%; bottom: -3%; filter: drop-shadow(0 22px 18px rgba(60, 41, 35, .2)); }
.cta-content { position: relative; z-index: 3; width: 54%; margin-left: 42%; padding: 92px 60px 60px 32px; }
.cta h2 { max-width: 12ch; margin-bottom: 20px; color: #fff; }
.cta-copy p { max-width: 46ch; margin-bottom: 26px; color: rgba(255, 255, 255, .87); }
.cta .store-button { color: var(--ink); background: var(--paper); box-shadow: 0 6px 0 rgba(60, 41, 35, .22), 0 13px 24px rgba(60, 41, 35, .13); }

.footer { padding: 32px 0 42px; border-top: 1px solid var(--sand); color: var(--muted); background: var(--paper); font-size: .84rem; }
.footer-grid { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 19px; }
.footer a { text-underline-offset: .2em; }

/* Homepage pathways: the demo stays primary; deeper reading becomes optional. */
.explore-section { position: relative; overflow: hidden; padding-block: var(--space-section); background: var(--color-page); }
.explore-heading { max-width: 48rem; margin-bottom: 2.75rem; }
.explore-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.5rem, 4vw, 3rem); }
.explore-card { min-height: 27rem; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 1rem; padding: clamp(1.75rem, 4vw, 3rem); overflow: hidden; border: var(--border-raised); border-radius: var(--radius-panel); color: var(--color-text); background: rgb(255 253 248 / 92%); box-shadow: var(--shadow-card); text-decoration: none; transition: transform var(--duration-fast) var(--ease-out), box-shadow var(--duration-fast) var(--ease-out); }
.explore-card:hover { transform: translateY(-.25rem); box-shadow: var(--shadow-plant), var(--shadow-float); }
.explore-copy { position: relative; z-index: 2; display: grid; align-content: center; gap: .9rem; }
.explore-copy strong { max-width: 12ch; font-size: clamp(1.8rem, 3vw, 2.7rem); font-weight: var(--font-weight-strong); line-height: 1; letter-spacing: -.04em; }
.explore-copy > span { color: var(--color-text-muted); font-size: .95rem; line-height: 1.5; }
.explore-copy b { width: fit-content; color: var(--color-accent-strong); font-size: .9rem; text-decoration: underline; text-underline-offset: .25em; }
.explore-art { position: relative; min-height: 18rem; display: grid; place-items: center; }
.explore-art img { position: relative; width: 116%; max-width: none; filter: drop-shadow(0 1.125rem 1rem rgb(60 41 35 / 14%)); transform: rotate(3deg); }
.explore-game { background: #fff2d8; }
.explore-game .explore-art img { width: 100%; transform: rotate(-2deg); }

/* Supporting pages share one compact hero and keep one clear job per page. */
.subhero { position: relative; min-height: 39rem; overflow: hidden; background-color: var(--color-page); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='50' viewBox='0 0 100 50'%3E%3Cg fill='%233c2923' fill-opacity='.03' transform='translate(38 14) rotate(-9)'%3E%3Cellipse cx='0' cy='8' rx='6' ry='5'/%3E%3Ccircle cx='-7' cy='1' r='2.5'/%3E%3Ccircle cx='-2' cy='-3' r='2.5'/%3E%3Ccircle cx='3' cy='-3' r='2.5'/%3E%3Ccircle cx='8' cy='1' r='2.5'/%3E%3C/g%3E%3C/svg%3E"); }
.subhero-layout { min-height: 39rem; display: grid; grid-template-columns: 5fr 7fr; align-items: center; gap: clamp(2.5rem, 7vw, 6rem); padding-block: clamp(3.5rem, 7vw, 5.5rem); }
.subhero-copy { position: relative; z-index: 3; }
.subhero-copy h1 { max-width: 11ch; }
.subhero-copy > p { max-width: 45ch; margin-bottom: 2rem; color: var(--color-text-muted); font-size: var(--font-size-lead); }
.subhero-art { position: relative; min-height: 31rem; display: grid; place-items: center; }
.subhero-board { position: relative; z-index: 2; width: 67%; border: .65rem solid var(--color-surface); border-radius: var(--radius-panel); box-shadow: var(--shadow-float); transform: rotate(3deg); }
.subhero-dog { position: absolute; z-index: 3; width: 39%; right: 1%; bottom: 0; filter: drop-shadow(0 1rem 1rem rgb(60 41 35 / 18%)); }
.subhero-art-game { display: block; }
.subhero-art-game img { position: absolute; z-index: 2; width: 39%; border: .4rem solid var(--color-surface); border-radius: var(--radius-phone); box-shadow: 0 1.2rem 0 rgb(60 41 35 / 13%), var(--shadow-float); }
.subhero-art-game img:first-of-type { left: 12%; top: 3%; transform: rotate(-4deg); }
.subhero-art-game img:last-of-type { right: 10%; bottom: 2%; transform: rotate(4deg); }

.learning-section { position: relative; padding-block: var(--space-section); background: #fef4d8; }
.learning-layout { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(2.5rem, 8vw, 7rem); align-items: start; }
.learning-steps { display: grid; gap: 1rem; }
.learning-step { display: grid; grid-template-columns: 3rem 1fr; gap: 1rem; padding: 1.4rem 1.5rem; border: var(--border-raised); border-radius: var(--radius-card); background: rgb(255 253 248 / 88%); box-shadow: var(--shadow-card); }
.learning-step > span { width: 2.5rem; height: 2.5rem; display: grid; place-items: center; border-radius: 50%; color: var(--color-on-strong); background: var(--color-accent); box-shadow: 0 .25rem 0 var(--color-accent-strong); font-weight: var(--font-weight-bold); }
.learning-step:nth-child(2) > span { background: var(--sd-lilac); box-shadow: 0 .25rem 0 #885397; }
.learning-step:nth-child(3) > span { background: var(--color-action); box-shadow: 0 .25rem 0 var(--color-action-pressed); }
.learning-step h3 { margin-bottom: .35rem; font-size: 1.2rem; }
.learning-step p { margin: 0; color: var(--color-text-muted); }
.game-why { background: #fef4d8; }

/* Source: ./styles/30-responsive.css */
@media (max-width: 900px) {
  .hero { min-height: auto; }
  .hero-grid, .how-layout, .why-layout { grid-template-columns: 1fr; }
  .hero-copy { max-width: 700px; }
  .hero-world { min-height: min(760px, 105vw); margin-top: 20px; }
  .garden-clip { left: 6%; }
  .proof { margin-top: 0; }
  .demo-shell { grid-template-columns: 1fr; }
  .demo-copy { max-width: 680px; }
  .demo-playfield { min-height: min(690px, 88vw); }
  .gallery-section { padding-bottom: 86px; }
  .gallery-heading { align-items: flex-start; flex-direction: column; gap: 20px; }
  .gallery-stage { width: 100%; height: auto; display: flex; gap: 24px; margin-top: 44px; padding: 8px max(24px, calc((100vw - 700px) / 2)) 30px; overflow-x: auto; scroll-padding-inline: 24px; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .gallery-stage::-webkit-scrollbar { display: none; }
  .gallery-shot, .shot-home, .shot-map, .shot-wardrobe, .shot-complete { position: static; width: min(44vw, 320px); flex: 0 0 min(44vw, 320px); transform: none; scroll-snap-align: center; }
  .social-layout { grid-template-columns: 1fr; }
  .social-copy { max-width: 680px; }
  .social-stage { width: min(100%, 680px); min-height: 650px; margin: 0 auto; }
  .board-feature { min-height: min(680px, 90vw); }
  .why-visual { min-height: 520px; }
  .faq { grid-template-columns: 1fr; gap: 28px; }
  .explore-grid { grid-template-columns: 1fr; }
  .explore-card { min-height: 23rem; }
  .subhero-layout { grid-template-columns: 1fr; }
  .subhero-copy { max-width: 43rem; }
  .subhero-art { min-height: min(42rem, 82vw); }
  .learning-layout { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .shell { width: min(100% - (var(--content-gutter-mobile) * 2), var(--content-max)); }
  .topbar { padding: 7px 0 5px; }
  .topbar-inner { min-height: 58px; flex-wrap: wrap; gap: 4px 10px; padding: 6px 8px 7px 13px; border-radius: 20px; box-shadow: 0 3px 0 #c7c1ad, 0 8px 18px rgba(60, 41, 35, .09); }
  .brand { min-height: 44px; display: flex; align-items: center; }
  .brand img { width: 92px; }
  .nav { order: 3; width: 100%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; }
  .nav > a { min-height: 44px; justify-content: center; gap: 6px; padding: 5px 4px; font-size: .875rem; text-align: center; }
  .nav-label-desktop { display: none; }
  .nav-label-mobile { display: inline; }
  .nav > a::before { width: 23px; height: 23px; flex-basis: 23px; border-radius: 8px; background-size: 22px; box-shadow: 0 2px 0 var(--teal-dark); }
  .nav > a:nth-child(2)::before { box-shadow: 0 2px 0 #c1780b; }
  .nav > a:nth-child(3)::before { box-shadow: 0 2px 0 #885397; }
  .language summary { min-height: 46px; }
  .hero-grid { gap: 28px; padding-block: 34px 44px; }
  h1 { margin-bottom: 20px; font-size: clamp(2.45rem, 11.2vw, 2.9rem); line-height: .98; }
  .hero-lead { margin-bottom: 25px; line-height: 1.52; }
  .hero-actions { align-items: stretch; flex-direction: column; gap: 15px; }
  .store-button { justify-content: center; }
  .text-link { text-align: center; }
  .hero-note { margin-top: 17px; text-align: center; }
  .hero-world { min-height: min(470px, 118vw); margin-inline: -7px; }
  .garden-clip { inset: 0 0 8px 4%; border-width: 7px; }
  .garden-dog { width: 50%; right: -2%; top: 29%; bottom: auto; }
  .board-peek { width: 43%; left: 1%; bottom: 2%; padding: 5px; border-width: 3px; border-radius: 21px 18px 23px 19px; }
  .board-peek::after { inset: 5px 5px auto; border-radius: 16px 14px 32% 30%; }
  .board-peek > img { border-radius: 15px; }
  .board-caption { min-height: 28px; gap: 6px; padding: 6px 5px 1px; font-size: clamp(.58rem, 2.35vw, .69rem); }
  .proof { margin-top: -8px; padding-bottom: 42px; }
  .proof-row { border-radius: 20px; }
  .proof-item { min-width: 0; padding: 14px 7px 13px; }
  .proof-item strong { font-size: 1.08rem; }
  .proof-item span { display: block; font-size: .75rem; line-height: 1.3; }
  .demo-section { padding: 62px 0 76px; }
  .demo-shell { gap: 22px; }
  .demo-copy > h2 { font-size: 2.5rem; }
  .demo-tools { margin-top: 24px; }
  .demo-tool { flex: 1; justify-content: center; padding-inline: 12px; }
  .demo-hint { margin-bottom: 14px; }
  .demo-meta { padding-top: 12px; }
  .demo-reset { min-height: 44px; display: inline-flex; align-items: center; }
  .demo-playfield { min-height: 372px; margin-inline: -7px; }
  .demo-board { width: 91%; gap: 4px; padding: 9px; border-width: 6px; border-radius: 24px; }
  .demo-cell { border-radius: 8px; }
  .demo-coach { width: 27%; right: -6%; bottom: -15%; }
  .demo-complete { align-items: flex-start; margin-right: -4px; padding: 15px 15px 17px 5px; }
  .demo-complete > img { width: 78px; margin-top: 5px; }
  .demo-complete-actions { display: grid; grid-template-columns: 1fr; }
  .demo-complete .store-button { width: 100%; }
  .demo-share { width: 100%; }
  .gallery-section { padding: 66px 0 74px; }
  .gallery-heading h2 { font-size: 2.5rem; }
  .gallery-stage { gap: 18px; margin-top: 32px; padding-inline: 22px; scroll-snap-stop: always; }
  .gallery-shot, .shot-home, .shot-map, .shot-wardrobe, .shot-complete { width: 78vw; flex-basis: 78vw; }
  .phone-window { border-width: 6px; border-radius: 32px; box-shadow: 0 14px 0 rgba(4, 61, 63, .42), 0 25px 35px rgba(4, 48, 50, .3); }
  .gallery-shot figcaption { padding-top: 21px; }
  .social-section { padding: 68px 0 76px; }
  .social-layout { gap: 36px; }
  .social-copy h2 { font-size: 2.65rem; }
  .social-points { margin-block: 25px 28px; }
  .social-action .store-button { width: 100%; justify-content: center; }
  .social-stage { min-height: 480px; margin-inline: -4px; width: calc(100% + 8px); }
  .social-phone { border-width: 5px; border-radius: 28px; box-shadow: 0 12px 0 rgba(60, 41, 35, .13), 0 22px 30px rgba(60, 41, 35, .18); }
  .leaderboard-phone { width: 51%; left: 0; top: 0; }
  .wardrobe-phone { width: 53%; right: 0; bottom: 0; }
  .app-view-label { display: none; }
  .bone-trail { width: 42%; left: 29%; top: 29%; }
  .section { padding-block: 66px; }
  .section-header { margin-bottom: 34px; }
  .section-heading h2, .how-copy h2, .faq-intro h2, .cta h2 { font-size: 2.4rem; }
  .how-copy { order: 1; }
  .board-feature { order: 2; min-height: 390px; margin-top: 12px; }
  .compact-rules { margin-inline: -2px; padding-inline: 14px; border-radius: 22px; }
  .compact-rules .rule { grid-template-columns: 42px 1fr; padding-block: 13px; }
  .compact-rules .rule-icon { width: 36px; height: 36px; }
  .board-feature-image { width: 86%; border-width: 8px; border-radius: 19px; }
  .board-coach { width: 43%; right: -4%; bottom: 0; }
  .why-copy { order: 1; }
  .why-visual { order: 2; min-height: 330px; margin-top: 18px; }
  .why-visual img { width: 66%; }
  .faq { padding: 32px 22px 38px; border-radius: 26px; }
  .faq-intro h2 { font-size: 2.25rem; }
  .faq-item summary { min-height: 64px; display: flex; align-items: center; padding-block: 14px; }
  .faq-item summary::after { top: 10px; width: 42px; height: 42px; }
  .faq-answer { padding-right: 0; }
  .explore-section { padding-block: 66px; }
  .explore-heading { margin-bottom: 30px; }
  .explore-card { min-height: 0; grid-template-columns: 1fr; padding: 24px 22px 18px; }
  .explore-art { min-height: 15rem; }
  .explore-art img { width: 82%; }
  .explore-game .explore-art img { width: 70%; }
  .subhero, .subhero-layout { min-height: auto; }
  .subhero-layout { gap: 24px; padding-block: 46px 56px; }
  .subhero-copy h1 { font-size: clamp(2.35rem, 11vw, 2.85rem); }
  .subhero-art { min-height: 360px; margin-inline: -4px; }
  .subhero-board { width: 76%; border-width: 8px; }
  .subhero-dog { width: 42%; right: -2%; }
  .subhero-art-game { min-height: 430px; }
  .subhero-art-game img { width: 47%; border-width: 5px; border-radius: 28px; }
  .subhero-art-game img:first-of-type { left: 5%; }
  .subhero-art-game img:last-of-type { right: 4%; }
  .learning-section { padding-block: 66px; }
  .learning-layout { gap: 30px; }
  .learning-step { grid-template-columns: 42px 1fr; padding: 18px 16px; }
  .learning-step > span { width: 38px; height: 38px; }
  #faq { padding-bottom: 34px; }
  .cta-section { padding-block: 44px 82px; }
  .cta { min-height: 610px; border-radius: 38% 62% 42% 58% / 18% 24% 76% 82%; }
  .cta-dog { width: 68%; left: -6%; bottom: 0; }
  .cta-content { width: auto; margin-left: 0; padding: 58px 28px 286px; }
  .footer-grid { align-items: flex-start; flex-direction: column; }
  .footer-links { gap: 10px 20px; }
  .footer a { min-height: 44px; display: inline-flex; align-items: center; }
}

@media (max-width: 350px) {
  .shell { width: calc(100% - 20px); }
  h1 { font-size: 2.3rem; }
  .proof-row { grid-template-columns: 1fr; }
  .proof-item { display: grid; grid-template-columns: 76px 1fr; align-items: center; gap: 8px; text-align: left; padding: 10px 16px; }
  .proof-item + .proof-item { border-left: 0; border-top: 1px solid rgba(60, 41, 35, .12); }
  .proof-item strong { text-align: center; }
  .proof-item span { font-size: .78rem; }
  .demo-tool { padding-inline: 8px; }
  .social-copy h2 { font-size: 2.45rem; }
  .cta-content { padding-inline: 22px; }
}

@media (hover: none) {
  .store-button:hover, .nav > a:hover { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .store-button, .nav > a { transition: none; }
}

@media print {
  .topbar, .hero-actions, .cta-section { display: none; }
  body { background: #fff; }
  .section { padding-block: 32px; }
}
