/* Three Dimensional Dog concept site. Redesign 2026-10-19 (Claude Design): navy #12303F / #0B1F29 ground, amber #F2A93B for
   every call to action, warm paper #F6F3EE. Fonts: Bricolage Grotesque (display), Figtree (body and UI). */

*, *::before, *::after { box-sizing: border-box; min-width: 0; }
:root {
  interpolate-size: allow-keywords;
  scrollbar-gutter: stable;
  text-wrap: pretty;
  overflow-wrap: break-word;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  color-scheme: light;

  --brand: #12303F;
  --brand-deep: #0B1F29;
  --brand-soft: color-mix(in oklch, var(--brand) 7%, white);
  --gold: #F2A93B;
  --gold-hover: color-mix(in oklch, var(--gold), black 8%);
  --amber-ink: #8F5C12; /* the design's #B7791F eyebrow, darkened to pass 4.5:1 on the paper */
  --sand: #EDE6DA;
  --yellow: #EEF200;
  --red: #E03939;
  --red-deep: #BC0F0F;
  --ink: #12303F;
  --body: #3F5866;
  --muted: #435A67; /* darkened 2026-10-19 (Aaron: light grey captions); 6.5:1 on the paper, 5.8:1 on sand */
  --paper: #F6F3EE;
  --white: oklch(100% 0 none);
  --line: #E1E2DD;
  --ok: oklch(52% 0.12 155);

  --font-head: "Bricolage Grotesque", system-ui, sans-serif;
  --font-body: "Figtree", system-ui, sans-serif;
  --font-ui: "Figtree", system-ui, sans-serif;

  --narrow: 20; --wide: 80;
  --size-narrow: 1.0; --size-wide: 1.125;
  --ratio-narrow: 1.2; --ratio-wide: 1.28;
  --fluid: clamp(0rem, (100vw - var(--narrow) * 1rem) / (var(--wide) - var(--narrow)), 1rem);
  --at-narrow: calc(var(--size-narrow) * (1rem - var(--fluid)));
  --at-wide: calc(var(--size-wide) * var(--fluid));
  --step--1: calc(var(--step-0) / var(--ratio-narrow));
  --step-0: calc(var(--at-narrow) + var(--at-wide));
  --step-1: calc(var(--at-narrow) * var(--ratio-narrow) + var(--at-wide) * var(--ratio-wide));
  --step-2: calc(var(--at-narrow) * pow(var(--ratio-narrow), 2) + var(--at-wide) * pow(var(--ratio-wide), 2));
  --step-3: calc(var(--at-narrow) * pow(var(--ratio-narrow), 3) + var(--at-wide) * pow(var(--ratio-wide), 3));
  --step-4: calc(var(--at-narrow) * pow(var(--ratio-narrow), 4) + var(--at-wide) * pow(var(--ratio-wide), 4));
  --space-section: clamp(3rem, 1.6rem + 4vw, 6rem);
  --gutter: 1rem;
  --content: 74rem;
  --radius-sm: 6px; --radius-md: 12px; --radius-lg: 22px; --radius-pill: 999px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow: 0 1px 2px oklch(20% 0.02 245 / 0.06), 0 8px 24px oklch(20% 0.02 245 / 0.07);
}
html { scroll-padding-block-start: 5.5rem; }
body { margin: 0; min-height: 100svh; background: var(--paper); color: var(--ink); font-family: var(--font-body); font-size: var(--step-0); line-height: 1.6; }
h1, h2, h3, h4 { text-wrap: balance; font-family: var(--font-head); font-weight: 700; line-height: 1.1; color: var(--brand); margin: 0 0 0.5em; letter-spacing: -0.015em; }
h1 { font-weight: 800; letter-spacing: -0.02em; }
h3, h4 { font-family: var(--font-ui); letter-spacing: 0; }
h1 { font-size: var(--step-4); }
h2, .h2 { font-size: var(--step-3); }
h3, .h3 { font-size: var(--step-1); }
.h4 { font-size: var(--step-0); font-family: var(--font-ui); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }
p { margin: 0 0 1em; }
img, svg, video { display: block; max-width: 100%; height: auto; }
input, textarea, select { font-size: max(16px, 1rem); font-family: var(--font-ui); }
button, a, [role="button"], label { touch-action: manipulation; }
button, [role="button"] { user-select: none; -webkit-user-select: none; }
a { color: var(--brand); text-underline-offset: 0.18em; }
:focus-visible { outline: max(2px, 0.08em) solid var(--brand); outline-offset: 0.2em; border-radius: 2px; }
small { font-size: var(--step--1); }
.sr { position: absolute; inline-size: 1px; block-size: 1px; overflow: clip; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: 1rem; inset-block-start: -4rem; background: var(--brand); color: var(--white); padding: 0.6rem 1rem; z-index: 50; border-radius: var(--radius-md); }
.skip:focus { inset-block-start: 1rem; }
.ic { inline-size: 1.15em; block-size: 1.15em; flex: none; }
.ic.xs { inline-size: 0.95em; block-size: 0.95em; display: inline-block; vertical-align: -0.12em; }
.fine { font-size: var(--step--1); color: var(--muted); }
.mt { margin-block-start: 1.5rem; }
.big { font-size: var(--step-1); line-height: 1.45; }

/* Content grid: every band places its child in the content column */
.ribbon, .hdr, .sec, .phero, .hx, .trust, .fband, .band, .ftr {
  display: grid;
  grid-template-columns: [full-start] minmax(var(--gutter), 1fr) [content-start] min(100% - var(--gutter) * 2, var(--content)) [content-end] minmax(var(--gutter), 1fr) [full-end];
}
:is(.ribbon, .hdr, .sec, .phero, .hx, .trust, .fband, .band, .ftr) > * { grid-column: content; }
.in.narrow { max-inline-size: 48rem; }

/* Ribbon + header */
.ribbon { background: var(--brand-deep); color: var(--white); font-family: var(--font-ui); font-size: 0.8rem; }
.rb-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.25rem 1rem; padding-block: 0.4rem; }
.ribbon b { color: var(--gold); font-weight: 600; }
.ribbon a { color: var(--white); display: inline-flex; gap: 0.3rem; align-items: center; }
.ribbon .show-sm { display: none; }
.top { display: contents; }
.hdr { position: sticky; inset-block-start: 0; z-index: 30; background: var(--brand); color: var(--white); }
.hdr-in { display: flex; align-items: center; gap: 1rem; padding-block: 0.55rem; }
.brand img { inline-size: 72px; block-size: auto; }
.nav { display: flex; gap: 0.15rem; margin-inline-start: auto; font-family: var(--font-ui); font-size: 0.95rem; font-weight: 500; }
.nav a { color: var(--white); text-decoration: none; padding: 0.55rem 0.6rem; border-radius: var(--radius-md); white-space: nowrap; }
.nav a[aria-current] { box-shadow: inset 0 -2px 0 var(--gold); border-radius: 0; }
.hdr-tel { display: inline-flex; align-items: center; gap: 0.4rem; min-block-size: 44px; padding-inline: 0.4rem; color: var(--white); font-family: var(--font-ui); font-weight: 600; text-decoration: none; white-space: nowrap; }
.hdr-tel .show-sm { display: none; }
.btn.pill { border-radius: var(--radius-pill); padding-inline: 1.25rem; }
.nav .nav-cta { display: none; }
.nav a.m-only { display: none; }
.hdr-cta { display: flex; gap: 0.5rem; align-items: center; }
.menu-btn { display: none; background: none; border: 1px solid color-mix(in oklch, var(--white) 35%, transparent); border-radius: var(--radius-md); inline-size: 44px; block-size: 44px; color: var(--white); cursor: pointer; place-items: center; }
@media (width < 92rem) {
  .nav:not(.short) ~ .hdr-cta .hdr-tel .hide-sm { display: none; }
}
@media (width < 80rem) {
  .nav:not(.short) ~ .hdr-cta .menu-btn { display: grid; }
  .nav:not(.short) ~ .hdr-cta { margin-inline-start: auto; }
  .nav:not(.short) ~ .hdr-cta .btn.hide-sm { display: none; }
  .nav:not(.short) { display: none; position: absolute; inset-inline: 0; inset-block-start: 100%; flex-direction: column; background: var(--brand); padding: 0.5rem var(--gutter) 1rem; box-shadow: var(--shadow); font-size: 1.05rem; }
  .nav:not(.short).open { display: flex; }
  .nav:not(.short) a { padding: 0.8rem 0.5rem; }
  .nav:not(.short) .nav-cta { display: inline-flex; margin-block-start: 0.5rem; justify-content: center; }
  html:has(.nav.open) { overflow: hidden; }
}
@media (width < 60rem) {
  .nav.short ~ .hdr-cta .menu-btn { display: grid; }
  .nav.short ~ .hdr-cta { margin-inline-start: auto; }
  .nav.short ~ .hdr-cta .btn.hide-sm, .nav.short ~ .hdr-cta .hdr-tel .hide-sm { display: none; }
  .nav.short ~ .hdr-cta .hdr-tel .show-sm { display: inline; }
  .nav.short { display: none; position: absolute; inset-inline: 0; inset-block-start: 100%; flex-direction: column; background: var(--brand); padding: 0.5rem var(--gutter) 1rem; box-shadow: var(--shadow); font-size: 1.05rem; }
  .nav.short.open { display: flex; }
  .nav.short a { padding: 0.8rem 0.5rem; }
  .nav.short a.m-only { display: block; }
  .nav.short .nav-cta { display: inline-flex; margin-block-start: 0.5rem; justify-content: center; }
}

/* Buttons */
.btn { white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; min-block-size: 44px; padding: 0.6rem 1.15rem; border-radius: var(--radius-md); border: 2px solid transparent; font-family: var(--font-ui); font-weight: 700; font-size: 0.98rem; text-decoration: none; cursor: pointer; line-height: 1.2; text-align: center; }
.btn.lg { padding: 0.85rem 1.5rem; font-size: 1.05rem; border-radius: 14px; }
.btn.xl { padding: 1.1rem 2.2rem; font-size: 1.2rem; border-radius: var(--radius-pill); font-weight: 800; }
.btn.gold { background: var(--gold); color: var(--brand); }
.btn.goldline { background: transparent; color: var(--brand); border-color: var(--gold); }
.btn.brand { background: var(--brand); color: var(--white); }
.btn.line { background: transparent; color: var(--brand); border-color: color-mix(in oklch, var(--brand) 45%, transparent); }
.btn.ghost { background: transparent; color: var(--white); border-color: color-mix(in oklch, var(--white) 55%, transparent); }
.btn:active, .chip:active, .sc span:active, .pill-r span:active { transform: scale(0.97); }
.btn:disabled { opacity: 0.6; cursor: progress; }
.btn.gold:focus-visible { outline-color: var(--brand-deep); }
@media (prefers-reduced-motion: no-preference) {
  .btn, .chip, .sc span, .pill-r span { transition: transform 160ms var(--ease-out), background-color 200ms var(--ease-out), border-color 200ms var(--ease-out); }
}
@media (hover: hover) and (pointer: fine) {
  .btn.gold:hover { background: var(--gold-hover); box-shadow: 0 14px 30px color-mix(in oklch, var(--gold) 35%, transparent); }
  .btn.goldline:hover { background: color-mix(in oklch, var(--gold) 14%, white); }
  .nav a:not(.btn):hover { background: color-mix(in oklch, var(--white) 10%, transparent); }
  .btn.brand:hover { background: var(--brand-deep); }
  .btn.line:hover { background: var(--brand-soft); }
  .btn.ghost:hover { background: color-mix(in oklch, var(--white) 12%, transparent); }
  .chips a:hover, .bcard:hover { border-color: var(--brand); }
  .sc span:hover, .pill-r span:hover { border-color: var(--brand); }
}
.ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-block: 1.25rem 0; }
.more { font-family: var(--font-ui); font-weight: 600; text-decoration: none; display: inline-flex; gap: 0.35rem; align-items: center; min-block-size: 44px; }
.linkbtn { background: none; border: 0; color: var(--brand); text-decoration: underline; cursor: pointer; font: inherit; font-size: var(--step--1); min-block-size: 44px; padding-inline: 0.25rem; }

/* Tags and legend */
.tag { display: inline-block; font-family: var(--font-ui); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.03em; text-transform: uppercase; padding: 0.12rem 0.5rem; border-radius: var(--radius-pill); vertical-align: 0.1em; white-space: nowrap; line-height: 1.5; }
.t-real { background: color-mix(in oklch, var(--brand) 14%, white); color: var(--brand-deep); }
.t-live { background: color-mix(in oklch, var(--ok) 16%, white); color: color-mix(in oklch, var(--ok), black 35%); }
.t-synthetic { background: oklch(93% 0.03 300); color: oklch(38% 0.12 300); }
.t-proposed { background: color-mix(in oklch, var(--gold) 26%, white); color: oklch(40% 0.08 85); }
.t-ai { background: color-mix(in oklch, var(--yellow) 55%, white); color: oklch(30% 0.05 110); }
.legend { display: flex; flex-wrap: wrap; gap: 0.4rem 0.8rem; align-items: center; font-size: var(--step--1); }

/* Sections */
.sec { padding-block: var(--space-section); }
.sec.tint { background: var(--white); border-block: 1px solid var(--line); }
.eyebrow { font-family: var(--font-ui); font-size: 0.82rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--amber-ink); margin-block-end: 0.6rem; }
.eyebrow.light { color: var(--gold); }
.sh { margin-block-end: 2rem; max-inline-size: 46rem; }
.sh .lead, .lead { font-size: var(--step-1); line-height: 1.45; color: var(--muted); }
.sh-tags { margin: 0.5rem 0 0; }
.split { display: flex; flex-wrap: wrap; gap: clamp(1.5rem, 1rem + 3vw, 4rem); align-items: center; }
.split > * { flex: 1 1 22rem; }
.split.top { align-items: start; }
.cards3 { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.5rem; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.card .more { margin-block-start: auto; }
.ic-b { display: grid; place-items: center; inline-size: 3rem; block-size: 3rem; border-radius: var(--radius-md); background: var(--brand-soft); color: var(--brand); margin-block-end: 1rem; font-size: 1.3rem; }
.checks { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: 0.5rem; }
.checks li { display: flex; gap: 0.5rem; align-items: baseline; }
.checks .ic { color: var(--ok); }
.dots { padding-inline-start: 1.2rem; display: grid; gap: 0.35rem; }


/* Page hero */
.phero { background: var(--brand); color: var(--white); padding-block: clamp(2.5rem, 1.5rem + 3vw, 4.5rem); }
.phero h1 { color: var(--white); max-inline-size: 22ch; }
.phero .lead { color: color-mix(in oklch, var(--white) 86%, transparent); max-inline-size: 44rem; }
.phero .eyebrow { color: var(--gold); }
.crumbs { font-family: var(--font-ui); font-size: 0.85rem; display: flex; flex-wrap: wrap; gap: 0.4rem; margin-block-end: 1rem; color: color-mix(in oklch, var(--white) 75%, transparent); }
.crumbs a { color: var(--white); }

.src { font-size: var(--step--1); color: var(--muted); font-style: italic; }

/* Chips and behavior cards */
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chips a { display: inline-flex; align-items: center; min-block-size: 44px; padding: 0.4rem 1rem; border: 1px solid var(--line); background: var(--white); border-radius: var(--radius-pill); color: var(--brand-deep); text-decoration: none; font-family: var(--font-ui); font-weight: 500; }
.bgrid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); }
.bcard { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.25rem; display: flex; flex-direction: column; }
.bcard h3 a { text-decoration: none; color: inherit; }
.bcard h3 a::after { content: ""; position: absolute; inset: 0; }
.bcard h3 a:focus-visible { outline: 2px solid transparent; }
.bcard:has(a:focus-visible) { outline: 2px solid var(--brand); outline-offset: 2px; }
.bcard p { color: var(--muted); font-size: 0.95rem; }
.bcard .meta { margin: auto 0 0; font-size: 0.82rem; }

/* Behavior page */
.prose h2 { font-size: var(--step-2); margin-block-start: 1.5rem; }
.prose h2:first-child { margin-block-start: 0; }
.pull { margin: 0 0 0.75rem; padding: 1rem 1.25rem; border-inline-start: 4px solid var(--gold); background: var(--white); border-radius: 0 var(--radius-md) var(--radius-md) 0; font-family: var(--font-head); font-size: var(--step-1); line-height: 1.45; color: var(--brand-deep); }
.pull p { margin: 0; }
.pull footer { font-family: var(--font-ui); font-size: 0.85rem; color: var(--muted); margin-block-start: 0.5rem; }
.qlist { padding-inline-start: 1.2rem; display: grid; gap: 0.3rem; }
.qlist small { color: var(--muted); }
.side { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.5rem; }
.drivers { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: 0.75rem; }
.drivers li { display: grid; gap: 0.15rem; padding-inline-start: 0.8rem; border-inline-start: 3px solid var(--brand); }
.drivers span { font-size: 0.88rem; color: var(--muted); }
.rel { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; }
.rel a { display: inline-flex; min-block-size: 44px; align-items: center; }
.callout { border-radius: var(--radius-md); padding: 0.9rem 1rem; }
.callout.warn { background: color-mix(in oklch, var(--red) 9%, white); border: 1px solid color-mix(in oklch, var(--red) 35%, white); color: var(--red-deep); }
.callout.warn a { color: var(--red-deep); font-weight: 700; }

/* Quotes + team */
.quotes { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); }
.q { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.5rem; display: flex; flex-direction: column; }
.q blockquote { margin: 0 0 1rem; font-family: var(--font-head); font-size: var(--step-1); line-height: 1.4; color: var(--brand-deep); }
.q figcaption { margin-block-start: auto; font-size: 0.85rem; color: var(--muted); font-family: var(--font-ui); }
.team { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); }
.tcard { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: clip; }
.tcard img { aspect-ratio: 4 / 5; object-fit: cover; inline-size: 100%; }
.tc-b { padding: 1rem 1.15rem 1.25rem; }
.tc-b h3 { margin-block-end: 0.15rem; }
.tc-b p { font-size: 0.9rem; color: var(--muted); margin: 0; }
.tc-b .ttl { color: var(--brand); font-family: var(--font-ui); font-weight: 600; font-size: 0.85rem; margin-block-end: 0.5rem; }
.fig { margin: 0; }
.fig img { border-radius: var(--radius-lg); inline-size: 100%; object-fit: cover; }
.fig figcaption { font-size: 0.8rem; color: var(--muted); margin-block-start: 0.4rem; }
.fig.tall { max-inline-size: 28rem; }
.cover { margin: 0; max-inline-size: 20rem; }
.cover img { border-radius: var(--radius-sm); box-shadow: 0 24px 50px oklch(20% 0.02 245 / 0.28); }

/* Programs */
.prices { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); }
.price { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.4rem; display: flex; flex-direction: column; }
.price.pop { border: 2px solid var(--gold); box-shadow: var(--shadow); }
.price .badge { position: absolute; inset-block-start: -0.8rem; inset-inline-start: 1rem; margin: 0; background: var(--gold); color: var(--brand-deep); font-family: var(--font-ui); font-weight: 700; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.05em; padding: 0.2rem 0.6rem; border-radius: var(--radius-pill); }
.price h3 { font-size: var(--step-1); }
.amt { display: flex; align-items: baseline; gap: 0.4rem; margin-block-end: 0.25rem; }
.amt b { font-family: var(--font-head); font-size: var(--step-3); color: var(--brand-deep); font-variant-numeric: tabular-nums; }
.amt span, .mode { color: var(--muted); font-size: 0.88rem; font-family: var(--font-ui); }
.price p:not(.amt, .mode, .badge) { font-size: 0.92rem; }
.price .tag { margin-block-start: auto; align-self: start; }
.kv { list-style: none; padding: 0; display: grid; gap: 0.75rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); }
.kv li { display: grid; gap: 0.1rem; }
.kv b { font-family: var(--font-ui); color: var(--brand-deep); }
.kv span { color: var(--muted); font-size: 0.92rem; }

/* AI page */
.aigrid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); }
.aicard { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.4rem; border-block-start: 4px solid var(--brand); }
.over { font-family: var(--font-ui); font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--brand); margin-block-end: 0.4rem; }
.tbl-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); }
.tbl { inline-size: 100%; border-collapse: collapse; font-size: 0.93rem; min-inline-size: 40rem; }
.tbl th, .tbl td { text-align: start; padding: 0.75rem 1rem; border-block-end: 1px solid var(--line); vertical-align: top; }
.tbl thead th { position: sticky; inset-block-start: 0; background: var(--brand-soft); font-family: var(--font-ui); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--brand-deep); }
.flow { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.6rem; counter-reset: f; }
.flow li { counter-increment: f; display: grid; grid-template-columns: auto 1fr auto; gap: 0.1rem 0.75rem; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 0.7rem 1rem; }
.flow li::before { content: counter(f); grid-row: span 2; font-family: var(--font-head); font-size: 1.3rem; color: var(--gold); }
.flow span { grid-column: 2; font-size: 0.9rem; color: var(--muted); }
.flow .tag { grid-row: 1; grid-column: 3; }

/* FAQ */
.faq { display: grid; gap: 0.5rem; }
.faq details, details.opt { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); }
.faq summary, details.opt > summary { cursor: pointer; padding: 0.9rem 1rem; font-family: var(--font-ui); font-weight: 600; min-block-size: 44px; }
.faq details p { padding: 0 1rem 1rem; margin: 0; }
details.opt { margin-block: 1rem; }
details.opt > :not(summary) { margin-inline: 1rem; }
details.opt[open] { padding-block-end: 0.5rem; }

/* CTA band */
.band { background: var(--brand-deep); color: var(--white); padding-block: clamp(2.5rem, 1.5rem + 3vw, 4rem); }
.band-in { display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: center; justify-content: space-between; }
.band h2 { color: var(--white); margin-block-end: 0.3rem; }
.band p { margin: 0; color: color-mix(in oklch, var(--white) 82%, transparent); }
.band .ctas { margin: 0; }

/* Ask */
.ask { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); display: flex; flex-direction: column; max-block-size: 40rem; }
.ask.compact { max-block-size: 34rem; }
.ask-h { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem; align-items: start; padding: 1rem 1.15rem; border-block-end: 1px solid var(--line); flex: none; }
.ask-h strong { display: flex; gap: 0.4rem; align-items: center; font-family: var(--font-ui); color: var(--brand-deep); }
.ask-h small { color: var(--muted); }
.ai-tag { font-family: var(--font-ui); font-size: 0.7rem; font-weight: 600; background: color-mix(in oklch, var(--yellow) 55%, white); padding: 0.15rem 0.5rem; border-radius: var(--radius-pill); white-space: nowrap; }
.ask-log { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 1rem; display: flex; flex-direction: column; gap: 0.75rem; min-block-size: 12rem; }
.msg { max-inline-size: 92%; padding: 0.7rem 0.9rem; border-radius: var(--radius-md); font-size: 0.95rem; }
.msg p { margin: 0 0 0.5rem; }
.msg p:last-child { margin: 0; }
.msg ul { margin: 0 0 0.5rem; padding-inline-start: 1.1rem; }
.msg.bot { background: var(--brand-soft); align-self: flex-start; }
.msg.me { background: var(--brand); color: var(--white); align-self: flex-end; }
.msg.typing { color: var(--muted); font-style: italic; }
.msg .srcs { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-block-start: 0.5rem; }
.msg .srcs a { font-size: 0.78rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-pill); padding: 0.15rem 0.6rem; text-decoration: none; }
.msg .src { display: flex; flex-wrap: wrap; gap: 0.35rem; align-items: center; font-size: 0.72rem; color: var(--muted); margin-block-start: 0.5rem; font-family: var(--font-ui); }
.msg .src i { font-style: normal; background: color-mix(in oklch, var(--yellow) 55%, white); color: var(--ink); padding: 0.05rem 0.45rem; border-radius: var(--radius-pill); font-weight: 600; }
.msg .src i.g { background: color-mix(in oklch, var(--red) 15%, white); color: var(--red-deep); }
.msg .act { margin-block-start: 0.6rem; }
.chips-row { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.chip { font: inherit; font-size: 0.85rem; font-family: var(--font-ui); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-pill); padding: 0.45rem 0.8rem; min-block-size: 44px; cursor: pointer; color: var(--brand-deep); text-align: start; }
.ask-f { display: flex; gap: 0.5rem; padding: 0.75rem 1rem; border-block-start: 1px solid var(--line); flex: none; }
.ask-f input { flex: 1; border: 1px solid var(--line); border-radius: var(--radius-md); padding: 0.6rem 0.8rem; min-block-size: 44px; }
.ask-foot { font-size: 0.75rem; color: var(--muted); margin: 0; padding: 0 1rem 0.9rem; flex: none; }
.ask-wrap { display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: start; }
.ask-wrap > .ask { flex: 999 1 26rem; }
.ask-wrap > .side { flex: 1 1 18rem; }

/* Forms (assessment + consult) */
.assess-wrap { display: flex; flex-wrap: wrap; gap: clamp(1.5rem, 1rem + 2vw, 3rem); align-items: start; }
.intro { flex: 1 1 17rem; position: sticky; inset-block-start: 6rem; align-self: start; }
.form-col { flex: 999 1 34rem; min-inline-size: min(100%, 34rem); }
@media (width < 60rem) { .intro { position: static; } }
.how { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: 0.9rem; }
.how li { display: flex; gap: 0.6rem; }
.how .ic { color: var(--brand); margin-block-start: 0.25rem; }
.how b { display: block; font-family: var(--font-ui); }
.how span { font-size: 0.92rem; color: var(--muted); }
.prog { position: sticky; inset-block-start: 4.6rem; z-index: 5; background: color-mix(in oklch, var(--paper) 94%, transparent); backdrop-filter: blur(6px); padding-block: 0.6rem; margin-block-end: 0.5rem; }
.prog-in { display: flex; flex-wrap: wrap; gap: 0.25rem 0.75rem; align-items: center; font-family: var(--font-ui); font-size: 0.85rem; color: var(--muted); }
.prog-t { flex: 1 1 12rem; font-variant-numeric: tabular-nums; }
.bar { flex: 1 1 100%; order: 3; block-size: 8px; background: var(--line); border-radius: var(--radius-pill); overflow: clip; }
.bar i { display: block; block-size: 100%; inline-size: 0; background: linear-gradient(90deg, var(--brand), var(--gold)); border-radius: inherit; }
@media (prefers-reduced-motion: no-preference) { .bar i { transition: inline-size 300ms var(--ease-out); } }
.restored { background: var(--brand-soft); border-radius: var(--radius-md); padding: 0.7rem 1rem; font-size: 0.92rem; }
.fsec { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1rem, 0.6rem + 1.5vw, 1.75rem); margin-block-end: 1.25rem; }
.fsec > h2 { display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; font-size: var(--step-2); }
.fsec > h2 small { font-family: var(--font-ui); font-size: 0.8rem; color: var(--muted); font-weight: 500; }
.step { display: grid; place-items: center; inline-size: 2rem; block-size: 2rem; border-radius: 50%; background: var(--brand); color: var(--white); font-family: var(--font-ui); font-size: 0.95rem; font-weight: 700; flex: none; }
.glead { color: var(--muted); }
.sub { font-size: var(--step-1); margin-block-start: 1.5rem; }
.grid2 { display: grid; gap: 0.9rem 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); margin-block-end: 0.9rem; }
.fld { display: grid; gap: 0.3rem; align-content: start; }
.fld.wide { margin-block-end: 1rem; }
.fld > span { font-family: var(--font-ui); font-weight: 600; font-size: 0.92rem; color: var(--ink); }
.fld small, .choice small { font-weight: 400; color: var(--muted); }
.req { font-weight: 600; font-size: 0.72rem; color: var(--red-deep); text-transform: uppercase; letter-spacing: 0.04em; margin-inline-start: 0.25rem; }
.hint { color: var(--muted); font-size: 0.82rem; }
input:not([type=radio], [type=checkbox]), select, textarea { inline-size: 100%; border: 1px solid color-mix(in oklch, var(--ink) 25%, white); border-radius: var(--radius-sm); padding: 0.6rem 0.75rem; min-block-size: 44px; background: var(--white); color: var(--ink); }
textarea { field-sizing: content; min-block-size: 3lh; max-block-size: 14lh; resize: vertical; line-height: 1.5; }
input:user-invalid, textarea:user-invalid, [aria-invalid="true"] { border-color: var(--red); }
.ferr { color: var(--red-deep); font-size: 0.85rem; font-family: var(--font-ui); }
.err.top { background: color-mix(in oklch, var(--red) 8%, white); border: 1px solid color-mix(in oklch, var(--red) 35%, white); color: var(--red-deep); border-radius: var(--radius-md); padding: 0.8rem 1rem; margin-block-end: 1rem; }
.err.top ul { margin: 0; padding-inline-start: 1.2rem; }
.choice { border: 0; padding: 0; margin: 0 0 1rem; }
.choice legend { font-family: var(--font-ui); font-weight: 600; font-size: 0.92rem; margin-block-end: 0.4rem; padding: 0; }
.pills { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.pill-r { position: relative; }
.pill-r input, .sc input { position: absolute; opacity: 0; inline-size: 100%; block-size: 100%; inset: 0; margin: 0; cursor: pointer; }
.pill-r span { display: inline-flex; align-items: center; min-block-size: 44px; padding: 0.4rem 1rem; border: 1px solid color-mix(in oklch, var(--ink) 25%, white); border-radius: var(--radius-pill); background: var(--white); font-family: var(--font-ui); font-size: 0.92rem; }
.pill-r input:checked + span, .sc input:checked + span { background: var(--brand); border-color: var(--brand); color: var(--white); }
.pill-r input:focus-visible + span, .sc input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.kids { display: none; }
.fsec:has(input[name="children"][value="yes"]:checked) .kids { display: block; margin-block-end: 1rem; }

/* Scored items */
.item { border: 0; border-block-start: 1px solid var(--line); margin: 0; padding: 1rem 0 0.9rem; }
.item legend { float: inline-start; inline-size: 100%; font-family: var(--font-ui); font-weight: 600; font-size: 1rem; padding: 0; margin-block-end: 0.5rem; color: var(--ink); }
.item legend + * { clear: both; }
.item.bad legend { color: var(--red-deep); }
.item.bad legend::after { content: " · please score"; font-weight: 500; font-size: 0.85rem; }
.scale { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0.35rem; max-inline-size: 26rem; }
.sc { position: relative; }
.sc span { display: grid; place-items: center; block-size: 44px; border: 1px solid color-mix(in oklch, var(--ink) 25%, white); border-radius: var(--radius-md); background: var(--white); font-family: var(--font-ui); font-weight: 600; font-variant-numeric: tabular-nums; }
.scale.sm { max-inline-size: 20rem; }
.scale.sm .sc span { block-size: 40px; font-size: 0.9rem; }
.ends { display: flex; justify-content: space-between; max-inline-size: 26rem; font-size: 0.75rem; color: var(--muted); margin: 0.25rem 0 0; font-family: var(--font-ui); }
.item:has(input.s:checked) .ends { display: none; }
.detail { margin-block-start: 0.9rem; padding: 0.9rem; border-radius: var(--radius-md); background: var(--brand-soft); display: grid; gap: 0.5rem; }
.detail > label { font-family: var(--font-ui); font-weight: 600; font-size: 0.9rem; }
.item:not(:has(input.s:is([value="2"], [value="3"], [value="4"], [value="5"]):checked)) > .detail { display: none; }
.quick { display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; }
.mini { border: 0; padding: 0; margin: 0; flex: 1 1 14rem; }
.mini legend { font-family: var(--font-ui); font-size: 0.82rem; font-weight: 600; margin-block-end: 0.3rem; padding: 0; }
.submit-row { display: grid; gap: 0.5rem; justify-items: start; margin-block: 1rem 2rem; }
.submit-row .fine { display: flex; gap: 0.4rem; }

/* Confirmation */
.confirm { display: grid; gap: 1rem; }
.okp, .urgent, .teaser { border-radius: var(--radius-lg); padding: clamp(1.1rem, 0.8rem + 1.5vw, 2rem); }
.okp { background: var(--white); border: 1px solid var(--line); border-block-start: 5px solid var(--ok); }
.urgent { background: color-mix(in oklch, var(--red) 7%, white); border: 2px solid var(--red); }
.urgent h2 { color: var(--red-deep); }
.urgent a { color: var(--red-deep); }
.ok-k { display: flex; align-items: center; gap: 0.4rem; font-family: var(--font-ui); font-weight: 700; text-transform: uppercase; font-size: 0.8rem; letter-spacing: 0.08em; color: var(--ok); }
.urgent .ok-k { color: var(--red-deep); }
.tonight { display: grid; gap: 0.5rem; padding-inline-start: 1.3rem; font-size: 1.02rem; }
.teaser { background: var(--white); border: 1px dashed color-mix(in oklch, var(--brand) 50%, white); }
.tlabel { margin-block-end: 0.75rem; }
.hot { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.hot li { background: var(--brand-soft); border-radius: var(--radius-pill); padding: 0.3rem 0.4rem 0.3rem 0.85rem; font-size: 0.9rem; display: inline-flex; gap: 0.5rem; align-items: center; }
.sc-b { display: grid; place-items: center; inline-size: 1.6rem; block-size: 1.6rem; border-radius: 50%; background: var(--brand); color: var(--white); font-family: var(--font-ui); font-weight: 700; font-size: 0.8rem; }
.ref-row { display: flex; flex-wrap: wrap; gap: 1rem 2.5rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 1rem 1.25rem; }
.ref-row p { margin: 0; }
.ok-l { font-family: var(--font-ui); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.ref { font-family: var(--font-ui); font-weight: 700; font-size: 1.15rem; letter-spacing: 0.03em; font-variant-numeric: tabular-nums; }
.next { display: grid; gap: 0.35rem; padding-inline-start: 1.3rem; }
.sysnote { border-block-start: 1px solid var(--line); padding-block-start: 0.8rem; }
.tnote { margin: 0; font-size: 0.9rem; }
.consult .pill-r span { font-size: 0.92rem; }

/* v2: full-read offer, simulated checkout, family portal timeline */
.offer { background: var(--white); border: 2px solid var(--gold); border-radius: var(--radius-lg); padding: clamp(1.1rem, 0.8rem + 1.5vw, 2rem); display: grid; gap: 0.5rem; justify-items: start; }
.offer h3, .offer p { margin: 0; }
.offer .amt { align-items: center; flex-wrap: wrap; }
.callout.sim { background: var(--brand-soft); border: 1px dashed color-mix(in oklch, var(--brand) 55%, white); color: var(--brand-deep); margin-block-end: 1.25rem; }
.checkout { display: grid; gap: 0.75rem; justify-items: start; }
.checkout .grid2 { justify-self: stretch; }
.kv.one { grid-template-columns: 1fr; }
.amt.total { border-block-start: 1px solid var(--line); padding-block-start: 0.75rem; margin-block-start: 0.5rem; }
.amt.total > span:first-child { margin-inline-end: auto; font-weight: 700; color: var(--ink); }
.tl { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: 0; }
.tl li { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 0.1rem 0.75rem; padding: 0 0 1.1rem 2.25rem; }
.tl li::before { content: ""; position: absolute; inset-inline-start: 0.35rem; inset-block-start: 0.2rem; inline-size: 1rem; block-size: 1rem; border-radius: 50%; border: 2px solid var(--line); background: var(--white); }
.tl li::after { content: ""; position: absolute; inset-inline-start: calc(0.85rem - 1px); inset-block: 1.45rem 0; inline-size: 2px; background: var(--line); }
.tl li:last-child::after { display: none; }
.tl li.done::before { background: var(--ok); border-color: var(--ok); }
.tl li.done::after { background: var(--ok); }
.tl li.now::before { background: var(--gold); border-color: var(--gold); box-shadow: 0 0 0 4px color-mix(in oklch, var(--gold) 30%, transparent); }
.tl b { font-family: var(--font-ui); }
.tl span { grid-column: 1; color: var(--muted); font-size: 0.92rem; }
.tl small { grid-row: 1; grid-column: 2; font-family: var(--font-ui); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.tl li.now small { color: oklch(40% 0.08 85); font-weight: 700; }
.tl li.done small { color: var(--ok); }

/* Footer */
.ftr { background: var(--brand-deep); color: #B9CBD3; padding-block: 3rem 6rem; font-size: 0.92rem; }
.ftr a { color: var(--white); }
.ftr-top { display: flex; flex-wrap: wrap; gap: 2rem; justify-content: space-between; }
.ftr-brand { flex: 1 1 18rem; }
.ftr-brand img { inline-size: 120px; margin-block-end: 1rem; }
.ftr-tag { font-family: var(--font-head); font-size: var(--step-1); color: var(--white); }
.ftr-grid { flex: 2 1 26rem; display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 10rem), 1fr)); }
.ftr-grid h2 { color: var(--gold); margin-block-end: 0.6rem; font-size: 0.78rem; }
.ftr-grid a { display: flex; align-items: center; min-block-size: 40px; text-decoration: none; }
.legal { border-block-start: 1px solid color-mix(in oklch, var(--white) 18%, transparent); margin-block-start: 2rem; padding-block-start: 1.5rem; }
.legal .fine { color: color-mix(in oklch, var(--white) 70%, transparent); }
.legal .legend { color: color-mix(in oklch, var(--white) 85%, transparent); margin-block-end: 1rem; }
@media (hover: hover) and (pointer: fine) { .ftr-grid a:hover { color: var(--gold); } }

/* Mobile action bar */
.mbar { display: none; }
@media (width < 48rem) {
  /* A thin bar (44px), room under the page so it never covers the last buttons, and it steps aside (site.js) while the same
     action or a button it would cover is in view. The home page uses the same bar as every other page. */
  body { padding-block-end: calc(44px + env(safe-area-inset-bottom)); }
  .mbar { display: grid; grid-template-columns: 1fr 1.3fr; position: fixed; inset-inline: 0; inset-block-end: 0; z-index: 40; background: var(--white); border-block-start: 1px solid var(--line); padding-block-end: env(safe-area-inset-bottom); box-shadow: 0 -6px 18px oklch(20% 0.02 245 / 0.08); }
  .mbar.away { transform: translateY(110%); visibility: hidden; }
  .mbar a { display: flex; align-items: center; justify-content: center; gap: 0.4rem; padding: 0.35rem 0.5rem; min-block-size: 44px; font-family: var(--font-ui); font-size: 0.85rem; font-weight: 600; text-decoration: none; color: var(--brand-deep); }
  .mbar a .ic { inline-size: 1.1rem; block-size: 1.1rem; }
  .mbar a.hot { background: var(--gold); color: var(--brand); font-weight: 800; }
  .mbar a:active { background: var(--brand-soft); }
  .ribbon { font-size: 0.72rem; }
  .ribbon .hide-sm { display: none; }
  .hdr-tel .hide-sm { display: none; }
  .hdr-tel .show-sm { display: inline; }
  .ribbon .show-sm { display: inline; }
  .prog { inset-block-start: 4.1rem; }
}

@media (prefers-reduced-motion: no-preference) { .mbar { transition: transform 180ms ease, visibility 180ms; } }

/* Assessment: Aaron's beta flow (tap, score, about you). Without JS every stage shows; site.js shows one at a time. */
.js-only { display: none; }
.js .js-only { display: flex; }
.js .nojs { display: none; }
.stage[hidden], .card[hidden] { display: none; }
.pips { display: flex; gap: 0.35rem; list-style: none; margin: 0; padding: 0; flex: 1 1 100%; }
.pips li { flex: 1; font-size: 0.75rem; padding-block-start: 0.35rem; border-block-start: 4px solid var(--line); color: var(--muted); }
.pips li.on { border-color: var(--brand); color: var(--ink); font-weight: 600; }
.lede-s { font-family: var(--font-ui); font-weight: 600; margin: 0 0 1rem; }
.blk { margin-inline: 0; }
.blk legend { padding: 0; float: inline-start; inline-size: 100%; }
.blk legend + * { clear: both; }
.blk legend .h { font-family: var(--font-display, inherit); font-size: var(--step-1); font-weight: 600; }
.taps .pill-r span { text-align: start; }
.tap input:checked + span::before { content: "\2713"; margin-inline-end: 0.4rem; font-weight: 700; }
.card .note { inline-size: 100%; margin-block-start: 0.75rem; }
.card .clar { display: grid; gap: 0.25rem; }
.clq { border: 0; padding: 0; margin: 0.75rem 0 0; display: none; }
.clq legend { font-family: var(--font-ui); font-weight: 600; font-size: 0.92rem; margin-block-end: 0.4rem; padding: 0; }
.clq legend small { font-weight: 400; color: var(--muted); }
.clq .pill-r span { min-block-size: 40px; padding: 0.3rem 0.85rem; font-size: 0.88rem; }
.card:has(input.s:is([value="3"], [value="4"], [value="5"]):checked) .clq.f3,
.card:has(input.s:is([value="4"], [value="5"]):checked) .clq.f4 { display: block; }
.card.bad { background: color-mix(in oklch, var(--red-deep) 6%, white); }
.tally { font-family: var(--font-ui); font-weight: 600; }
.stage-nav { flex-wrap: wrap; gap: 0.75rem 1.25rem; align-items: center; margin-block: 1rem 2rem; }
.sig { font-style: italic; color: var(--muted); }
.stack { display: grid; gap: 1rem; max-inline-size: 38rem; margin-block-end: 1rem; }
.stack .fld.wide { margin: 0; }

/* Home, first-visitor pass (2026-10-18): one promise, one action, Aaron as the face and voice */
.story { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.5rem; }
.story p { margin-block-end: 0.6rem; }
.story.todo { border-style: dashed; background: color-mix(in oklch, var(--gold) 6%, white); }
.story.soon { max-inline-size: 40rem; }
.story.soon p { margin: 0; color: var(--muted); }
.astories { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); }
.astory { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: clip; display: flex; flex-direction: column; }
.astory > img { inline-size: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.as-b { padding: 1.25rem 1.5rem; }
.as-b p { margin-block-end: 0.7rem; }
.as-more { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-block-start: 0.5rem; }
.as-more img { inline-size: 5rem; block-size: 3.75rem; object-fit: cover; border-radius: var(--radius-sm); }

/* Motion clips (Seedance clips of ordinary dogs, never Aaron, see MEDIA_CREDITS.md). Hero loop sits behind the copy under a scrim. */
.vtog { font-family: var(--font-ui); font-size: 0.72rem; font-weight: 600; color: var(--white); background: oklch(0% 0 none / 0.45);
  border: 1px solid color-mix(in oklch, var(--white) 40%, transparent); border-radius: var(--radius-pill); padding: 0.2rem 0.7rem; min-block-size: 32px; min-inline-size: 44px; cursor: pointer; justify-content: center; align-items: center; }
.vtog:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.clip { margin: 0; }
.clip-v { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-lg); overflow: hidden; background: var(--brand-deep); }
.clip-v :is(video, img) { inline-size: 100%; block-size: 100%; object-fit: cover; display: block; }
.clip-v .vtog { position: absolute; inset-block-end: 0.5rem; inset-inline-end: 0.5rem; }
.clip figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem 0.6rem; margin-block-start: 0.5rem; font-family: var(--font-ui); font-size: 0.85rem; color: var(--muted); }
.ai-lbl { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.03em; text-transform: uppercase; padding: 0.1rem 0.5rem; border-radius: var(--radius-pill); background: var(--brand-soft); color: var(--brand-deep); }
.clips3 { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); margin-block-start: clamp(2rem, 1rem + 3vw, 3rem); }
main { min-height: 100vh; } /* speed-check front.py: the footer starts below the screen instead of jumping */
/* Camera drift: a slow Ken Burns pan and zoom on three real photos (hero, About portrait, service dog), plus a gentle scroll
   parallax where the browser supports scroll-driven timelines. CSS transform and translate only, nothing in the photo is altered.
   The frame clips the zoom so the layout never moves; off with reduced motion. */
.drift { overflow: hidden; border-radius: var(--radius-lg); }
.drift img { display: block; border-radius: 0; }
@media (prefers-reduced-motion: no-preference) {
  .drift img { transform: scale(1.08); transform-origin: 50% 50%; backface-visibility: hidden; animation: kb-a 16s ease-in-out infinite alternate; will-change: transform; }
  .drift.kb-b img { animation-name: kb-b; animation-duration: 14s; transform-origin: 45% 35%; }
  .drift.kb-c img { animation-name: kb-c; animation-duration: 18s; transform-origin: 60% 45%; }
  @supports (animation-timeline: view()) {
    .drift img, .drift.kb-b img, .drift.kb-c img { animation-name: var(--kb, kb-a), px; animation-duration: var(--kbd, 16s), auto; animation-timing-function: ease-in-out, linear;
      animation-iteration-count: infinite, 1; animation-direction: alternate, normal; animation-fill-mode: none, both; animation-timeline: auto, view(); }
    .drift.kb-b img { --kb: kb-b; --kbd: 14s; }
    .drift.kb-c img { --kb: kb-c; --kbd: 18s; }
  }
}
@keyframes kb-a { from { transform: scale(1.08) translate3d(1.6%, 0.8%, 0); } to { transform: scale(1.15) translate3d(-1.8%, -1.2%, 0); } }
@keyframes kb-b { from { transform: scale(1.09) translate3d(-0.6%, 1.4%, 0); } to { transform: scale(1.15) translate3d(1%, -1.6%, 0); } }
@keyframes kb-c { from { transform: scale(1.08) translate3d(-1.6%, 0.4%, 0); } to { transform: scale(1.14) translate3d(1.6%, -1%, 0); } }
@keyframes px { from { translate: 0 2%; } to { translate: 0 -2%; } }
/* Hidden preview page: original photo beside its AI-animated preview. */
.pv { display: grid; gap: clamp(2rem, 1rem + 3vw, 3.5rem); }
.pv-pair { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); align-items: start; }
.pv-v { inline-size: 100%; block-size: auto; border-radius: var(--radius-lg); background: var(--brand-deep); display: block; }
.pv-row .fig img, .pv-v { max-block-size: 70vh; object-fit: contain; }

/* Page motion (2026-10-19). Everything here is transform, translate or opacity, so nothing reflows; all of it is off with reduced
   motion. site.js marks below-the-fold blocks .rv and adds .in as they scroll into view, staggered by --i. Without JavaScript
   nothing is hidden. */
@media (prefers-reduced-motion: no-preference) {
  :is(.card, .bcard, .price, .q, .tcard, .story, .astory, .aicard, .tier, .clip-v, .fam a, .flow li) { transition: translate 260ms var(--ease-out); }
  .btn { transition: transform 160ms var(--ease-out), translate 200ms var(--ease-out), background-color 200ms var(--ease-out), border-color 200ms var(--ease-out); }
  .js .rv { opacity: 0; transform: translate3d(0, 24px, 0); }
  .js .rv.in { --rvd: calc(min(var(--i, 0), 5) * 90ms); opacity: 1; transform: none;
    transition: opacity 700ms var(--ease-out) var(--rvd), transform 800ms var(--ease-out) var(--rvd), translate 260ms var(--ease-out); }
}
@media (prefers-reduced-motion: no-preference) and (hover: hover) and (pointer: fine) {
  :is(.card, .bcard, .price, .q, .tcard, .story, .astory, .aicard, .tier):hover { translate: 0 -6px; }
  .clip-v:hover, .fam a:hover, .flow li:hover { translate: 0 -3px; }
  .btn:hover { translate: 0 -2px; }
  .btn:active { translate: 0 0; }
}

/* How Aaron reads a dog (home). Three layers in 3D Dog's own words, side by side from 56rem, stacked on phones, then the Quick
   Score button. Compact, with no image: it waits on Aaron's own photos (one per layer); no AI images here. */
.sec.rd { background: var(--brand-deep); color: #D5E0E5; }
.rd .hh { color: var(--white); margin-block-end: 1rem; }
.rd-lead { color: #B9CBD3; max-inline-size: 44rem; margin: 0 0 clamp(1.5rem, 1rem + 2vw, 2.5rem); font-size: var(--step-1); line-height: 1.5; }
.rd-layers { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
@media (width >= 56rem) { .rd-layers { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; } }
.rd-l { display: grid; grid-template-columns: 44px 1fr; align-items: start; gap: 1rem; background: rgb(255 255 255 / 0.05); border: 1px solid rgb(255 255 255 / 0.1); border-radius: 20px; padding: clamp(1.1rem, 0.9rem + 1vw, 1.6rem); }
.rd-n { inline-size: 44px; block-size: 44px; margin: 0; border-radius: 50%; background: var(--gold); color: var(--brand-deep); display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; font-size: 1.2rem; }
.rd-w { margin: 0.2rem 0 0; font-family: var(--font-ui); font-size: 0.75rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); }
.rd-l h3 { color: var(--white); margin: 0.25rem 0 0.6rem; font-size: 1.25rem; }
.rd-l blockquote { margin: 0; font-family: var(--font-head); font-size: 1.05rem; line-height: 1.45; color: var(--white); }
.rd-l blockquote p { margin: 0; }
.rd-src { margin: 0.75rem 0 0; font-size: 0.85rem; color: #B9CBD3; }
.rd-src a { color: var(--gold); }
.rd-end { display: grid; gap: 0.6rem; justify-items: start; margin-block-start: 1.5rem; }
.rd-end p { margin: 0; color: #B9CBD3; font-size: 0.95rem; }
.rd-end .btn { white-space: normal; }
.rd-fine { color: #B9CBD3; margin-block: clamp(1.5rem, 1rem + 1.5vw, 2.25rem) 0; }

@media print { .js .rv { opacity: 1; transform: none; } }

/* Ambient AI loops behind a page header (About, Quick Score), under a scrim; the label sits on top. grid-area: auto makes the
   padding box the containing block, so the loop fills the whole header. */
.phero.has-amb { position: relative; isolation: isolate; overflow: clip; background: var(--brand-deep); }
.amb { grid-area: auto; position: absolute; inset: 0; z-index: -1; overflow: hidden; background: var(--brand-deep); }
.amb video { inline-size: 100%; block-size: 100%; object-fit: cover; object-position: 70% 50%; display: block; opacity: 0.75; }
.amb::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, color-mix(in oklch, var(--brand-deep) 90%, transparent) 0%, color-mix(in oklch, var(--brand-deep) 62%, transparent) 55%, color-mix(in oklch, var(--brand-deep) 25%, transparent) 100%); }
@media (width < 48rem) { .amb::after { background: color-mix(in oklch, var(--brand-deep) 70%, transparent); } }
.amb-ai { grid-area: auto; position: absolute; inset-block-end: 0.6rem; inset-inline-end: 0.75rem; z-index: 1; margin: 0; display: flex; align-items: center; gap: 0.5rem; }
.phero.has-amb .in { padding-block-end: 1.5rem; }
.mb { margin-block-end: 1.5rem; }

/* ---------------------------------------------------------------- Home page redesign (Claude Design, 2026-10-19)
   Header over a full-bleed photo of Aaron with a navy scrim, the first Quick Score question beside the headline, then trust,
   Sound familiar, How it works, Meet Aaron, stories, pricing ladder, questions and the closing band. */
.home .top { display: block; position: absolute; inset-inline: 0; inset-block-start: 0; z-index: 30; }
.home .hdr { position: relative; background: transparent; }
.home .hdr-in { padding-block: 1rem; }
.home .brand img { inline-size: 84px; }
.home main { background: var(--paper); }

.hx { position: relative; isolation: isolate; overflow: clip; background: var(--brand-deep); color: var(--white); min-block-size: 51rem; align-items: end; }
.hx-photo { grid-area: auto; position: absolute; inset: 0; margin: 0; z-index: -1; }
.hx-photo .drift { border-radius: 0; inline-size: 100%; block-size: 100%; }
.hx-photo img { inline-size: 100%; block-size: 100%; object-fit: cover; object-position: 60% 30%; }
.hx-photo::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgb(11 31 41 / 0.94) 0%, rgb(11 31 41 / 0.82) 38%, rgb(11 31 41 / 0.15) 75%, rgb(11 31 41 / 0) 100%); }
.hx-photo figcaption { position: absolute; z-index: 1; inset-block-end: 0.6rem; inset-inline-end: 0.9rem; font-size: 0.75rem; color: rgb(255 255 255 / 0.8); background: rgb(0 0 0 / 0.3); padding: 0.1rem 0.5rem; border-radius: var(--radius-pill); }
.hx-in { display: flex; flex-wrap: wrap; gap: 3rem; align-items: flex-end; padding-block: 10rem 4.5rem; }
.hx-copy { flex: 1 1 30rem; max-inline-size: 40rem; }
.hx h1 { color: var(--white); font-size: clamp(2.6rem, 1.2rem + 4.4vw, 4.75rem); line-height: 1.02; margin: 0; }
.hx-sub { margin: 1.5rem 0 0; font-size: 1.25rem; line-height: 1.55; color: #D9E4E9; max-inline-size: 35rem; }
.hx-ticks { list-style: none; padding: 0; margin: 1.75rem 0 0; display: flex; flex-wrap: wrap; gap: 0.6rem 1.25rem; font-size: 0.95rem; color: #D9E4E9; }
.hx-ticks li { display: inline-flex; gap: 0.4rem; align-items: center; }
.hx-ticks .ic { color: var(--gold); }

.qcard { flex: 0 1 27.5rem; background: var(--white); color: var(--ink); border-radius: 24px; padding: 2rem; box-shadow: 0 30px 80px rgb(0 0 0 / 0.35); }
.q-k { margin: 0; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.qcard h2 { margin: 0.6rem 0 1.25rem; font-size: 1.75rem; line-height: 1.15; color: var(--ink); }
.qchips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.6rem; margin: 0; padding: 0; list-style: none; }
.qchips li { display: flex; }
.qchip { position: relative; display: flex; flex: 1; text-decoration: none; }
.qchip span { flex: 1; display: flex; align-items: center; min-block-size: 52px; padding: 0.75rem 0.9rem; border: 2px solid #E1E7EA; border-radius: var(--radius-md); background: var(--white); font-weight: 600; font-size: 0.95rem; line-height: 1.25; color: var(--ink); }
.qchip:active span { border-color: var(--gold); background: #FFF6E6; }
.qchip:focus-visible { outline: none; }
.qchip:focus-visible span { outline: 3px solid var(--brand); outline-offset: 2px; }
.qgo { display: flex; inline-size: 100%; margin-block-start: 1.25rem; font-size: 1.12rem; font-weight: 800; padding-block: 1.05rem; }
.q-note { margin: 0.85rem 0 0; font-size: 0.82rem; color: var(--muted); text-align: center; }
@media (prefers-reduced-motion: no-preference) {
  .qchip span { transition: transform 150ms ease, background-color 150ms ease, border-color 150ms ease; }
}
@media (prefers-reduced-motion: no-preference) and (hover: hover) and (pointer: fine) {
  .qchip:hover span { transform: translateY(-2px); border-color: var(--gold); }
}

.trust { background: var(--brand); color: var(--white); }
.trust-in { display: flex; flex-wrap: wrap; gap: 1.5rem 3.5rem; align-items: center; justify-content: space-between; padding-block: 1.75rem; }
.trust-in p { margin: 0; display: flex; flex-direction: column; }
.trust-in strong { font-family: var(--font-head); font-size: 2.1rem; line-height: 1.1; font-weight: 700; }
.trust-in span { font-size: 0.9rem; color: #B9CBD3; }
.trust-in .tr-media { max-inline-size: 22rem; }
.trust-in .tr-media span:last-child { font-size: 1rem; font-weight: 600; color: var(--white); }
.tr-k { font-size: 0.8rem !important; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold) !important; font-weight: 700; }

.sec .eyebrow { margin: 0; }
.hh { margin: 0.75rem 0 2.5rem; font-size: clamp(2.1rem, 1.3rem + 2.6vw, 3.25rem); line-height: 1.08; max-inline-size: 52rem; }
.hh.center, .fine.center { text-align: center; margin-inline: auto; }
.fam { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); }
.fam a { block-size: 100%; display: flex; flex-direction: column; gap: 0.6rem; background: var(--white); border-radius: 20px; padding: 1.75rem; text-decoration: none; color: var(--ink); }
.fam strong { font-size: 1.25rem; line-height: 1.25; }
.fam span { color: var(--body); line-height: 1.55; }
.fam i { margin-block-start: auto; font-style: normal; font-weight: 700; font-size: 0.9rem; color: var(--amber-ink); display: inline-flex; align-items: center; gap: 0.3rem; }
.clips2 { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); margin-block-start: 2rem; }

.how2 { align-items: center; gap: clamp(2rem, 1rem + 3vw, 3.5rem); }
.how2 > * { flex: 1 1 26rem; }
.hsteps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.75rem; }
.hsteps li { display: flex; gap: 1.25rem; }
.hn { flex: 0 0 52px; block-size: 52px; border-radius: 50%; background: var(--brand); color: var(--white); display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; font-size: 1.35rem; }
.hsteps li:first-child .hn { background: var(--gold); color: var(--brand); }
.hsteps h3 { margin: 0; font-size: 1.3rem; }
.hsteps p { margin: 0.35rem 0 0; font-size: 1.06rem; line-height: 1.55; color: var(--body); }
.how2 .ctas { margin-block-start: 2rem; align-items: center; }
.hmedia { position: relative; margin: 0; }
.hm-v { position: relative; aspect-ratio: 4 / 3; border-radius: 28px; overflow: hidden; background: var(--brand-deep); }
.hm-v :is(video, img) { inline-size: 100%; block-size: 100%; object-fit: cover; object-position: 45% 50%; display: block; }
.hm-ai { position: absolute; inset-inline-start: 1rem; inset-block-end: 1rem; margin: 0; display: flex; gap: 0.5rem; align-items: center; }
.schart { position: absolute; inset-inline-end: 0.75rem; inset-block-start: 1.75rem; background: var(--white); border-radius: 18px; padding: 1.1rem 1.25rem; box-shadow: 0 20px 50px rgb(18 48 63 / 0.18); inline-size: min(16rem, 70%); }
.schart ul { list-style: none; margin: 0.75rem 0 0; padding: 0; display: grid; gap: 0.5rem; }
.schart li { display: grid; grid-template-columns: 7.2rem 1fr; gap: 0.5rem; align-items: center; font-size: 0.8rem; line-height: 1.2; }
.schart b { display: block; block-size: 8px; border-radius: 4px; background: #E8EEF1; overflow: hidden; }
.schart i { display: block; block-size: 100%; border-radius: 4px; background: var(--brand); }
.schart li:first-child i { background: var(--gold); }
.sc-k { margin: 0; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.sc-f { margin: 0.6rem 0 0; font-size: 0.72rem; color: var(--muted); }
@media (width >= 80rem) { .schart { inset-inline-end: -0.75rem; } }

.sec.aaron { background: var(--white); }
.aaron .split { gap: clamp(2rem, 1rem + 3vw, 4rem); }
.aaron-fig { flex: 1 1 22rem; max-inline-size: 30rem; }
.aaron-fig .drift { aspect-ratio: 4 / 5; border-radius: 28px; }
.aaron-fig img { inline-size: 100%; block-size: 100%; object-fit: cover; }
.aaron .big { color: var(--body); }
.aaron .checks { margin-block: 1.5rem; }
.aaron .checks .ic { color: var(--amber-ink); }
.book-row { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem; margin-block: 1.75rem 1rem; }
.book-row img { block-size: 120px; inline-size: auto; border-radius: 6px; box-shadow: 0 10px 24px rgb(18 48 63 / 0.2); }
.book-row p { margin: 0.25rem 0 0; }
.book-link { display: inline-block; border-radius: 6px; }
@media (prefers-reduced-motion: no-preference) {
  .book-link img { transition: transform 260ms var(--ease-out); }
}
@media (prefers-reduced-motion: no-preference) and (hover: hover) and (pointer: fine) {
  .book-link:hover img { transform: translateY(-4px) rotate(-2deg); }
}

/* The book (home after Meet Aaron, and /book), 2026-10-19. Navy ground, large cover, amber Amazon button, outline Kindle button,
   three endorsements. Facts from data.BOOK and data.ENDORSEMENTS only. */
.sec.bk { background: var(--brand); color: #D5E0E5; }
.bk-grid { display: grid; gap: clamp(2rem, 1rem + 3vw, 4.5rem); align-items: center; }
@media (width >= 52rem) { .bk-grid { grid-template-columns: minmax(16rem, 22rem) 1fr; } }
.bk-cover { margin: 0; justify-self: center; inline-size: min(100%, 22rem); perspective: 1200px; }
@media (width < 52rem) { .bk-cover { inline-size: min(70%, 15rem); } }
.bk-cover img { inline-size: 100%; block-size: auto; border-radius: 8px; box-shadow: 0 30px 60px rgb(0 0 0 / 0.38), 0 0 0 1px rgb(255 255 255 / 0.06); }
.bk-title { margin: 0.75rem 0 0; color: var(--white); line-height: 1.05; }
.bk-title span { display: block; font-size: clamp(2.1rem, 1.3rem + 2.6vw, 3.25rem); }
.bk-title small { display: block; margin-block-start: 0.4rem; font-size: clamp(1.25rem, 1rem + 0.9vw, 1.65rem); font-weight: 600; color: var(--gold); line-height: 1.2; }
.bk-by { margin: 0.75rem 0 0; font-family: var(--font-ui); font-weight: 700; color: var(--white); }
.bk-lead { margin: 1rem 0 0; font-size: var(--step-1); line-height: 1.5; color: #D5E0E5; max-inline-size: 40rem; }
.bk-bul { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 0.55rem 1.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); }
.bk-bul li { display: flex; gap: 0.5rem; align-items: baseline; color: var(--white); }
.bk-bul .ic { color: var(--gold); flex: none; }
.bk-ctas { margin-block-start: 1.75rem; }
.btn.bk-line { background: transparent; color: var(--white); border-color: color-mix(in oklch, var(--white) 60%, transparent); }
.sec:not(.bk) .btn.bk-line { color: var(--brand); border-color: color-mix(in oklch, var(--brand) 45%, transparent); }
.bk-qs { margin: 1.25rem 0 0; display: flex; align-items: center; gap: 0.5rem; font-weight: 600; }
.bk-qs .ic { flex: none; align-self: center; }
.bk-qs a { color: var(--gold); text-underline-offset: 0.2em; }
.bk-qs .ic { color: var(--gold); }
.bk-quotes { margin-block-start: clamp(2.5rem, 1.5rem + 3vw, 4rem); }
.bk-q { background: var(--brand-deep); border-color: color-mix(in oklch, var(--white) 12%, transparent); border-inline-start: 4px solid var(--gold); }
.bk-q blockquote { color: var(--white); }
.bk-q figcaption { color: #B9CBD3; }
.bk .bk-fine { margin-block-start: 1.5rem; color: #B9CBD3; }
.bk-pull { margin-block-end: 1.5rem; max-inline-size: 56rem; }
@media (prefers-reduced-motion: no-preference) {
  .bk-cover img { transition: transform 420ms var(--ease-out), box-shadow 420ms var(--ease-out); }
  .btn.bk-line { transition: transform 160ms var(--ease-out), translate 200ms var(--ease-out), background-color 200ms var(--ease-out); }
}
@media (prefers-reduced-motion: no-preference) and (hover: hover) and (pointer: fine) {
  .bk-cover:hover img { transform: rotateY(-8deg) translateY(-6px); box-shadow: 18px 40px 70px rgb(0 0 0 / 0.42); }
  .btn.bk-line:hover { background: color-mix(in oklch, var(--white) 12%, transparent); }
  .sec:not(.bk) .btn.bk-line:hover { background: var(--brand-soft); }
}

.ills { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); margin-block-start: 0.75rem; }
.story.ill { border: 0; border-radius: 22px; padding: 2rem; }
.story.ill:first-child { background: var(--brand); color: var(--white); }
.story.ill:first-child h3 { color: var(--white); }
.story.ill p { line-height: 1.55; }

.tiers-s { background: var(--sand); }
.tiers { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); align-items: stretch; }
.tier { position: relative; background: var(--white); border-radius: 24px; padding: 2.25rem; display: flex; flex-direction: column; gap: 0.85rem; border: 3px solid transparent; }
.tier.hot { border-color: var(--gold); }
.tier .badge { align-self: flex-start; margin: 0; background: var(--gold); color: var(--brand); font-size: 0.75rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.3rem 0.6rem; border-radius: 6px; }
.tier h3 { margin: 0; font-size: 1.5rem; }
.t-amt { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; font-family: var(--font-head); font-size: 3rem; font-weight: 800; line-height: 1.05; color: var(--brand); }
.tier p:not(.t-amt, .badge) { margin: 0; color: var(--body); line-height: 1.55; }
.tier p.t-how { font-size: 0.85rem; color: var(--muted); }
.tier .btn { margin-block-start: auto; }

.fband { background: var(--brand); color: var(--white); text-align: center; padding-block: clamp(4rem, 2rem + 6vw, 7rem); }
.fband-in { max-inline-size: 62rem; margin-inline: auto; display: flex; flex-direction: column; align-items: center; gap: 1.5rem; }
.fband h2 { color: var(--white); margin: 0; font-size: clamp(2.25rem, 1.2rem + 3.4vw, 3.75rem); line-height: 1.05; }
.fb-safe { margin: 0; color: #B9CBD3; font-size: 0.95rem; display: flex; gap: 0.4rem; align-items: center; flex-wrap: wrap; justify-content: center; }
.fb-safe a { color: var(--white); font-weight: 700; }

@media (width < 48rem) {
  .home .top { display: contents; }
  .home .hdr { position: sticky; background: var(--brand); }
  .home .hdr-in { padding-block: 0.55rem; }
  .hx { min-block-size: 0; }
  .hx-photo .drift { block-size: 34rem; }
  .hx-photo::after { inset-block-end: auto; block-size: 34rem; }
  .hx-photo img { object-position: 62% 25%; }
  .hx-photo::after { background: linear-gradient(180deg, rgb(11 31 41 / 0.2) 0%, rgb(11 31 41 / 0.55) 40%, rgb(11 31 41 / 0.96) 78%, var(--brand-deep) 100%); }
  .hx-photo figcaption { inset-block-end: 0.5rem; }
  .hx-in { padding-block: 12rem 2rem; gap: 1.75rem; }
  .hx h1 { font-size: 2.4rem; line-height: 1.04; }
  .hx-sub { font-size: 1.06rem; margin-block-start: 0.9rem; }
  .hx-ticks { margin-block-start: 1rem; font-size: 0.88rem; }
  .qcard { padding: 1.4rem 1.1rem; border-radius: 20px; }
  .qcard h2 { font-size: 1.45rem; }
  .qchips { grid-template-columns: 1fr; gap: 0.5rem; }
  .qchip span { min-block-size: 48px; font-size: 1rem; }
  .trust-in { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
  .trust-in p:nth-child(n + 3) { grid-column: 1 / -1; }
  .trust-in strong { font-size: 1.45rem; }
  .hh { font-size: 1.85rem; margin-block-end: 1.25rem; }
  .fam a { padding: 1.1rem; border-radius: 14px; }
  .fam strong { font-size: 1.08rem; }
  .hn { flex-basis: 40px; block-size: 40px; font-size: 1.05rem; }
  .schart { position: relative; inset: auto; margin: -2.5rem 0.75rem 0 auto; }
  .hm-ai { inset-block: 1rem auto; inset-inline: auto 1rem; }
  .tier { padding: 1.4rem; }
  .t-amt { font-size: 2.3rem; }
}
