/* Home-services family. Light paper page, near-black ink, one prospect colour.
   layout.mjs sets --brand, --on-brand (text on a brand fill) and --brand-ink
   (brand darkened to read as text on the page); all three meet WCAG AA. */

:root {
  --paper: #f7f6f2;
  --surface: #ffffff;
  --ink: #16191d;
  --ink-2: #3c434c;
  --line: #dcd9d0;
  --line-strong: #b9b5aa;
  --tint: color-mix(in srgb, var(--brand) 9%, var(--paper));
  --ok: #1f6b3a;
  --err: #a1261b;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --gutter: 16px;
  --max: 72rem;
  --pad: max(var(--gutter), (100% - var(--max)) / 2);
  --radius: 10px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: light;
}
@media (min-width: 640px) { :root { --gutter: 32px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.125rem/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
::selection { background: var(--brand); color: var(--on-brand); }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -0.022em; text-wrap: balance; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 1.5rem + 2.4vw, 3.1rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.15rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 750; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
a { color: var(--brand-ink); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--brand-ink); outline-offset: 3px; border-radius: 4px; }
.icon { flex: none; vertical-align: middle; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
[hidden] { display: none !important; }

/* Demo bar: sticky, slim, above everything, takes its own space. */
.demo-bar {
  position: sticky; top: 0; z-index: 50;
  background: var(--ink); color: #fff;
  font-size: .8125rem; line-height: 1.3; text-align: center;
  padding: 0 var(--gutter);
}
@media (max-width: 420px) { .demo-bar { font-size: .75rem; } }
.demo-bar a {
  display: flex; align-items: center; justify-content: center; min-height: 32px;
  color: #fff; text-decoration-color: rgb(255 255 255 / .5);
}
@media (max-width: 799px) { .demo-bar a { min-height: 44px; } }
.demo-bar a:focus-visible { outline-color: #fff; }

/* Header: white bar closed by a brand rule; the name carries the weight. */
.site-header {
  display: flex; flex-wrap: wrap; align-items: center; gap: 4px 24px;
  padding: 14px var(--pad) 0;
  background: var(--surface);
  border-bottom: 4px solid var(--brand);
}
.brand {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px;
  color: var(--ink); text-decoration: none; font-weight: 900; font-size: 1.4375rem; letter-spacing: -0.025em;
}
.brand .logo { width: 44px; height: 44px; object-fit: contain; }
.site-nav { order: 3; flex-basis: 100%; }
.site-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.site-nav a {
  display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 12px;
  color: var(--ink-2); text-decoration: none; font-size: 1.0625rem; font-weight: 700; white-space: nowrap;
  border-bottom: 4px solid transparent; margin-bottom: -4px;
}
.site-nav a:hover { color: var(--ink); }
.site-nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--ink); }
.site-nav a:focus-visible { outline-offset: -3px; }
.header-call { display: none; }
@media (max-width: 799px) {
  /* Every item fits across the phone width. Home is dropped here: the name above links home. */
  .site-nav { margin: 0 calc(var(--gutter) * -0.5); }
  .site-nav ul { gap: 0; justify-content: space-between; }
  .site-nav li { flex: 1 1 auto; }
  .site-nav li:first-child { display: none; }
  .site-nav a { padding: 0 6px; font-size: 1rem; }
}
@media (max-width: 359px) { .site-nav a { padding: 0 3px; font-size: .9375rem; } .brand { font-size: 1.3125rem; } }
@media (min-width: 800px) {
  .site-header { flex-wrap: nowrap; padding-top: 0; min-height: 80px; }
  .brand { font-size: 1.5625rem; }
  .site-nav { order: 0; flex-basis: auto; margin: 0 auto 0 12px; }
  .site-nav a { min-height: 80px; padding: 0 14px; }
  .header-call {
    display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 20px;
    background: var(--brand); color: var(--on-brand); border-radius: 999px;
    font-weight: 800; font-size: 1.0625rem; text-decoration: none; font-variant-numeric: tabular-nums; white-space: nowrap;
  }
  .header-call:hover { filter: brightness(1.08); }
}

/* Every block in main shares one measure; backgrounds can still run full width. */
main > * { padding-inline: var(--pad); }
main > h1:first-child { padding-top: clamp(32px, 5vw, 56px); margin: 0; }
main > h1 + * { margin-top: 12px; }
main > h1 + .booking > h2 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
main > section, main > .contact-grid, main > .cta, main > .review-buttons { padding-block: clamp(36px, 6vw, 64px); }
main > * + section:not(.hero) { border-top: 1px solid var(--line); }
.lead { font-size: 1.3125rem; color: var(--ink-2); max-width: 40em; }
main > p.lead { margin-bottom: 0; }

/* Seasonal banner and emergency strip */
.banner, .emergency-strip { font-weight: 700; font-size: 1rem; }
.banner p, .emergency-strip p { margin: 0; padding: 10px 0; }
.banner { background: var(--tint); color: var(--ink); border-bottom: 1px solid color-mix(in srgb, var(--brand) 22%, var(--paper)); }
.banner a { color: var(--brand-ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.emergency-strip { background: var(--brand); color: var(--on-brand); }
.emergency-strip a { color: inherit; white-space: nowrap; }
.emergency-strip a:focus-visible { outline-color: currentColor; }
main > .banner, main > .emergency-strip { padding-block: 0; }

/* Hero: the number is the loudest thing on the screen. */
.hero {
  display: grid; gap: 32px;
  padding-block: clamp(36px, 7vw, 88px) clamp(40px, 7vw, 88px) !important;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.hero h1 { font-size: clamp(1.95rem, 1.5rem + 1.9vw, 2.85rem); font-weight: 900; letter-spacing: -0.028em; margin-bottom: 10px; }
.hero-sub { font-size: 1.3125rem; color: var(--ink-2); margin-bottom: clamp(24px, 4vw, 36px); max-width: 32em; }
.hero-phone {
  display: inline-flex; flex-direction: column; gap: 2px;
  color: var(--brand-ink); text-decoration: none; border-radius: 8px;
}
.hero-phone-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 1rem; font-weight: 750; color: var(--ink);
}
.hero-phone-label .icon { color: var(--brand-ink); }
.hero-phone-number {
  font-size: clamp(2.1rem, 1rem + 7.4vw, 5.6rem); font-weight: 800; line-height: 1;
  letter-spacing: -0.035em; font-variant-numeric: tabular-nums; white-space: nowrap;
  padding-bottom: 6px;
  background: linear-gradient(var(--brand), var(--brand)) left bottom / 100% 4px no-repeat;
}
.hero-phone:hover .hero-phone-number { background-size: 100% 6px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: clamp(24px, 4vw, 36px); }
.hero-actions .open-now { margin: 0; }
.hero-photo { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); }

.hero-area { align-self: end; }
.hero-area h2 { font-size: 1rem; font-weight: 750; letter-spacing: 0; color: var(--ink-2); margin-bottom: 4px; }
.hero-area ul { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.hero-area li { border-bottom: 1px solid var(--line); }
.hero-area a {
  display: flex; align-items: center; justify-content: space-between; min-height: 52px;
  color: var(--ink); text-decoration: none; font-size: 1.3125rem; font-weight: 750; letter-spacing: -0.01em;
}
.hero-area a:hover { color: var(--brand-ink); }
.hero-area .arrow { color: var(--brand-ink); transition: transform .2s var(--ease); }
.hero-area a:hover .arrow { transform: translateX(4px); }
@media (min-width: 960px) {
  .hero { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 64px; align-items: end; }
  .hero.has-photo { align-items: center; }
}

/* Open-now badge */
.open-now {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 1rem; font-weight: 750; color: var(--ink-2);
}
.open-now::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); }
.open-now.is-open { color: var(--ok); }
.open-now.is-open::before { background: #2f9e57; box-shadow: 0 0 0 4px rgb(47 158 87 / .18); }

/* Proof row: facts on one ruled line, no cards. */
main > .proof { padding-block: 0; background: var(--ink); color: #fff; border: 0; }
main > .proof + section { border-top: 0; }
.proof ul { display: flex; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.proof li {
  padding: 16px 24px 16px 0; margin-right: 24px; font-weight: 700; font-size: 1.0625rem;
  border-right: 1px solid rgb(255 255 255 / .22);
}
.proof li:last-child { border-right: 0; margin-right: 0; }
@media (max-width: 639px) {
  .proof ul { display: block; padding-block: 8px; }
  .proof li { border-right: 0; padding: 8px 0; margin: 0; }
}

/* Services: a ruled index, not a card grid. */
.service-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.service-list li { border-bottom: 1px solid var(--line); padding: 18px 0 20px; }
.service-list h3 { margin: 0 0 4px; font-size: clamp(1.25rem, 1.05rem + .7vw, 1.55rem); font-weight: 800; }
.service-list h3 a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--ink); text-decoration: none; }
.service-list h3 a:hover { color: var(--brand-ink); }
.service-list .arrow { color: var(--brand-ink); transition: transform .2s var(--ease); }
.service-list h3 a:hover .arrow { transform: translateX(4px); }
.service-list p { margin: 0; color: var(--ink-2); max-width: 44em; }
@media (min-width: 800px) {
  .service-list li { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 32px; align-items: baseline; padding: 22px 0; }
  .service-list h3 { margin: 0; }
}
.services > h2, .reviews > h2, .hours > h2, .towns > h2, .signup > h2, .quote > h2, .booking > h2 { margin-bottom: 20px; }

/* Reviews */
.review-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; }
@media (min-width: 800px) {
  main > .reviews { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); column-gap: 32px; align-items: start; }
  .review-list { gap: 36px; }
  main > .reviews + .review-buttons { padding-left: calc(var(--pad) + (100% - 2 * var(--pad) - 32px) * .4 + 32px); }
}
.review-list blockquote { margin: 0; padding-top: 18px; border-top: 2px solid var(--ink); }
.review-list blockquote p { font-size: 1.3125rem; line-height: 1.5; margin-bottom: 14px; }
.review-list footer { font-weight: 700; color: var(--ink-2); display: flex; align-items: center; gap: 10px; }
.stars { color: var(--brand-ink); letter-spacing: 2px; }
.review-buttons { margin: 0; }
.review-ask > h2 { margin-bottom: 16px; }
.review-ask > p { margin: 0; }
main > .reviews + .review-buttons { padding-top: 0; }

/* Hours */
.hours-table { border-collapse: collapse; width: 100%; max-width: 30rem; font-variant-numeric: tabular-nums; }
.hours-table th, .hours-table td { text-align: left; padding: 10px 0; border-bottom: 1px solid var(--line); }
.hours-table th { font-weight: 700; width: 45%; }
.hours-table td { white-space: nowrap; }
@media (max-width: 359px) { .hours-table th { width: auto; padding-right: 8px; } .hours-table tr.is-today th::after { content: ""; } }
.hours-table td { color: var(--ink-2); }
.hours-table tr.is-today th, .hours-table tr.is-today td { color: var(--ink); font-weight: 750; }
.hours-table tr.is-today th::after { content: " · today"; font-weight: 500; color: var(--ink-2); }
.hours > .open-now { margin-bottom: 12px; }
/* Home page: heading in a label column, content beside it. */
@media (min-width: 800px) {
  main > .hours, main > .signup {
    display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); grid-template-rows: auto 1fr; column-gap: 32px; align-items: start;
  }
  main > .hours > h2, main > .signup > h2 { grid-column: 1; grid-row: 1; }
  main > .hours > .open-now { grid-column: 1; grid-row: 2; align-self: start; }
  main > .hours > :is(table, p:not(.open-now)), main > .signup > form { grid-column: 2; grid-row: 1 / span 2; }
  main > .hours > .hours-table th, main > .hours > .hours-table td { padding-block: 12px; }
  main > .hours .hours-table { max-width: none; border-top: 2px solid var(--ink); }
  main > .signup > form { max-width: none; }
}

/* Towns */
.town-list { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.town-list a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px;
  border: 1px solid var(--line-strong); border-radius: 999px; background: var(--surface);
  color: var(--ink); font-weight: 650; text-decoration: none;
}
.town-list a:hover { border-color: var(--brand-ink); color: var(--brand-ink); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 8px; border: 2px solid transparent;
  font: inherit; font-weight: 750; font-size: 1rem; text-decoration: none; cursor: pointer;
  transition: background-color .15s, border-color .15s, filter .15s;
}
.btn-primary { background: var(--brand); color: var(--on-brand); }
.btn-primary:hover { filter: brightness(1.08); }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-secondary:hover { background: var(--ink); color: #fff; }
.btn[disabled] { opacity: .6; cursor: progress; filter: none; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }
.cta .btn-primary { font-variant-numeric: tabular-nums; }

/* Service, town and about pages */
.service, .town, .about { padding-top: clamp(32px, 5vw, 56px) !important; }
.service > *, .about > *, .service-body > * { max-width: 46rem; }
.service.has-panel { display: grid; gap: 40px; }
@media (min-width: 960px) { .service.has-panel { grid-template-columns: minmax(0, 1fr) 20rem; gap: 64px; align-items: start; } }
.call-panel {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; display: flex; flex-direction: column; align-items: flex-start; gap: 12px;
}
@media (min-width: 960px) { .call-panel { position: sticky; top: 56px; } }
@media (max-width: 959px) { .call-panel { display: none; } }
.call-panel p { margin: 0; }
.call-panel-label { font-weight: 750; color: var(--ink-2); font-size: 1rem; }
.call-panel-number {
  font-size: 2.1rem; font-weight: 800; line-height: 1.05; letter-spacing: -0.03em;
  color: var(--brand-ink); font-variant-numeric: tabular-nums; text-decoration: none; white-space: nowrap;
}
.call-panel-number:hover { text-decoration: underline; text-decoration-thickness: 3px; }
.steps { list-style: none; counter-reset: step; padding: 0; margin: 0 0 1em; border-top: 2px solid var(--ink); }
.steps li {
  counter-increment: step; display: grid; grid-template-columns: 2.25rem 1fr; gap: 12px;
  padding: 14px 0; margin: 0; border-bottom: 1px solid var(--line);
}
.steps li::before {
  content: counter(step); width: 2rem; height: 2rem; border-radius: 50%;
  display: grid; place-items: center; background: var(--brand); color: var(--on-brand);
  font-weight: 800; font-size: .9375rem; font-variant-numeric: tabular-nums;
}
.service h2 { margin-top: 1.6em; }
.service ul:not(.promises) { padding-left: 1.2em; margin: 0 0 1em; }
.service ul li { margin-bottom: .45em; }
.service ul li::marker { color: var(--brand-ink); }
.service .cta { margin-top: 32px; }
.promises { list-style: none; padding: 0; margin: 0 0 8px; display: flex; flex-wrap: wrap; gap: 8px; }
.promises li { background: var(--tint); padding: 6px 12px; border-radius: 6px; font-weight: 650; font-size: .9375rem; margin: 0; }
main > .town + .services { border-top: 0; padding-top: 0; }
.about-photo { border-radius: var(--radius); margin-top: 24px; }

/* Forms */
.contact-grid { display: grid; gap: 40px; }
.contact-grid > section { padding: 0; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 64px; align-items: start; } }
.quote-form, .booking-form, .signup-form {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(20px, 4vw, 32px); max-width: 40rem;
}
.field { margin: 0 0 18px; display: flex; flex-direction: column; gap: 6px; }
label, legend { font-weight: 700; font-size: 1rem; }
.optional { font-weight: 400; color: var(--ink-2); }
input[type="text"], input[type="tel"], input[type="email"], select, textarea {
  width: 100%; min-height: 48px; padding: 10px 12px;
  font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--surface); border: 1px solid var(--line-strong); border-radius: 8px;
}
textarea { resize: vertical; min-height: 110px; }
select {
  appearance: none; padding-right: 40px;
  background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='18' height='18'%3E%3Cpath fill='none' stroke='%234a525c' stroke-width='2' stroke-linecap='round' d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 12px center / 18px no-repeat;
}
input:hover, select:hover, textarea:hover { border-color: var(--ink-2); }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline-offset: 0; border-color: var(--brand-ink); }
input[type="file"] { font: inherit; font-size: .9375rem; min-height: 44px; }
input[type="file"]::file-selector-button {
  font: inherit; font-weight: 650; min-height: 44px; margin-right: 12px; padding: 0 14px;
  border: 1px solid var(--ink); border-radius: 8px; background: var(--surface); color: var(--ink); cursor: pointer;
}
@media (min-width: 640px) {
  .quote-form, .booking-form { display: grid; grid-template-columns: 1fr 1fr; column-gap: 16px; }
  .quote-form > *, .booking-form > * { grid-column: 1 / -1; }
  .quote-form > .field:has(#quote-name), .quote-form > .field:has(#quote-phone),
  .booking-form > .field:has(#booking-name), .booking-form > .field:has(#booking-phone),
  .booking-form > .field:has(#booking-date), .booking-form > .field:has(#booking-time) { grid-column: auto; }
  .quote-form > .btn, .booking-form > .btn { justify-self: start; }
}
.urgency { border: 0; padding: 0; margin: 0 0 18px; }
.urgency legend { padding: 0; margin-bottom: 6px; }
.urgency { display: flex; flex-wrap: wrap; gap: 8px; }
.urgency legend { flex-basis: 100%; }
.radio {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px;
  border: 1px solid var(--line-strong); border-radius: 999px; font-weight: 600; cursor: pointer; background: var(--surface);
}
.radio input { width: 18px; height: 18px; margin: 0; accent-color: var(--brand-ink); }
.radio:has(input:checked) { border-color: var(--brand-ink); background: var(--tint); }
.radio:has(input:focus-visible) { outline: 3px solid var(--brand-ink); outline-offset: 2px; }
.radio input:focus-visible { outline: 0; }
.form-status { margin: 0 0 14px; font-weight: 650; }
.form-status:empty { display: none; }
.form-status.is-ok, .form-status.is-error, .form-status.is-preview { padding: 12px 14px; border-radius: 8px; }
.form-status.is-ok { background: #e6f3ea; color: var(--ok); }
.form-status.is-error { background: #fbeae8; color: var(--err); }
.form-status.is-error a { color: var(--err); font-weight: 750; white-space: nowrap; }
.form-status.is-preview { background: var(--tint); color: var(--ink); }
.signup-form { display: flex; flex-wrap: wrap; align-items: end; gap: 12px; }
.signup-form .field { flex: 1 1 16rem; margin: 0; }
.signup-form .form-status { flex-basis: 100%; margin: 0; }

/* Review card page */
.review-card { text-align: center; padding-top: clamp(32px, 5vw, 56px) !important; }
.review-card-ask { font-size: 1.25rem; font-weight: 650; }
.review-card-qr { display: inline-block; margin: 8px auto 16px; line-height: 0; }
.review-card-qr svg { width: min(260px, 70vw); height: auto; }
.review-card-link { color: var(--ink-2); font-size: .875rem; word-break: break-all; }

/* Footer */
.site-footer { background: var(--ink); color: #d8dbe0; padding: 40px var(--pad) 48px; font-size: 1rem; }
.site-footer p { margin: 0 0 6px; }
.footer-name { color: #fff; font-weight: 800; font-size: 1.25rem; }
.footer-phone a { color: #fff; font-weight: 750; font-size: 1.375rem; font-variant-numeric: tabular-nums; }
.footer-review { margin-top: 14px; }
.footer-review a { display: inline-flex; align-items: center; min-height: 44px; color: #fff; font-weight: 650; text-decoration: underline; text-underline-offset: 3px; }
.site-footer a:focus-visible { outline-color: #fff; }

/* Mobile call bar: always reachable, never on top of the footer or a submit button. */
.call-bar { display: none; }
@media (max-width: 799px) {
  /* Room for the call bar sits inside the ink footer, so no paper band shows under it. */
  .site-footer { padding-bottom: calc(48px + 64px + env(safe-area-inset-bottom)); }
  .call-bar {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    min-height: 64px; padding: 8px var(--gutter) calc(8px + env(safe-area-inset-bottom));
    background: var(--brand); color: var(--on-brand);
    font-weight: 800; font-size: 1.1875rem; text-decoration: none; font-variant-numeric: tabular-nums;
    box-shadow: 0 -6px 20px rgb(22 25 29 / .16);
  }
  .call-bar:focus-visible { outline: 3px solid var(--on-brand); outline-offset: -6px; }
}

/* Mock text message (demo mode only, added by site.js) */
.mock-text {
  position: fixed; top: 52px; left: 50%; z-index: 60;
  width: min(380px, calc(100% - 24px)); transform: translateX(-50%);
  pointer-events: none;
}
.mock-card {
  display: grid; grid-template-columns: 38px 1fr; gap: 4px 12px;
  padding: 12px 14px; border-radius: 18px;
  background: #fdfdfd; color: #111;
  box-shadow: 0 12px 32px rgb(22 25 29 / .22), 0 2px 6px rgb(22 25 29 / .12);
  font-size: .9375rem; line-height: 1.35;
}
.mock-app { grid-row: span 2; width: 38px; height: 38px; border-radius: 9px; background: #34c759; display: grid; place-items: center; color: #fff; }
.mock-head { display: flex; justify-content: space-between; font-size: .8125rem; color: #555b63; }
.mock-head strong { color: #111; font-weight: 650; letter-spacing: .01em; }
.mock-body { margin: 0; }
.mock-note {
  margin: 8px auto 0; width: fit-content; padding: 6px 12px; border-radius: 999px;
  background: var(--ink); color: #fff; font-size: .8125rem; font-weight: 600; text-align: center;
}
.mock-inner.is-in { animation: mock-in .45s var(--ease) both; }
.mock-inner.is-out { animation: mock-out .3s ease-in both; }
@keyframes mock-in { from { opacity: 0; transform: translateY(-24px); } }
@keyframes mock-out { to { opacity: 0; transform: translateY(-16px); } }

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

/* Print: a clean page (the review card prints as a card). The QR keeps its own white quiet zone. */
@media print {
  .demo-bar, .site-header, .site-footer, .call-bar, .banner, .emergency-strip, .mock-text { display: none !important; }
  body { background: #fff; padding: 0; }
  main > * { padding-inline: 0; border: 0 !important; }
  .review-card { padding-top: 0 !important; page-break-inside: avoid; }
  .review-card h1 { font-size: 28pt; }
  .review-card-qr svg { width: 3in; }
  .review-card-link { color: #000; }
}
