/* Launch 1.21 RC1: copy readability and responsive layout. */
:root {
  --type-h1: clamp(3.25rem, 4.45vw, 4rem);
  --type-h2: clamp(2.25rem, 3.05vw, 2.75rem);
  --type-h3: clamp(1.625rem, 2.08vw, 1.875rem);
  --type-body: 1.125rem;
  --type-lead: clamp(1.25rem, 1.53vw, 1.375rem);
  --type-cta: 1.0625rem;
  --type-label: .875rem;
  --type-faq: clamp(1.3125rem, 1.67vw, 1.5rem);
}
html { scroll-padding-top: 104px; }
body { font-size: var(--type-body); line-height: 1.6; }
body main h1, body main .page-hero h1, body.city-page main .page-hero h1, body.locations-page main .page-hero h1, body.home-show-page main .page-hero h1, body .estimate-hero h1, body .confirmation-panel h1, body.visualizer-page main h1 { font-size: var(--type-h1); line-height: 1.1; letter-spacing: -.025em; text-wrap: balance; }
body:not(.visualizer-page) main h2 { font-size: var(--type-h2); line-height: 1.15; letter-spacing: -.02em; text-wrap: balance; }
body:not(.visualizer-page) main h3 { font-size: var(--type-h3); line-height: 1.2; letter-spacing: -.01em; }
body:not(.visualizer-page) main p,
body:not(.visualizer-page) main li,
body:not(.visualizer-page) main .feature-list { font-size: var(--type-body); line-height: 1.6; }
body:not(.visualizer-page) main p { max-width: 70ch; }
body main .page-hero p:not(.eyebrow), body main .hero-subhead,
body .estimate-hero-copy > p:not(.eyebrow) { font-size: var(--type-lead); line-height: 1.55; max-width: 65ch; }
body main .eyebrow, body main .step-kicker, body main .clean-day-detail-kicker,
body .status-pill, body .homepage-home-show-kicker, body .breadcrumb { font-size: var(--type-label); line-height: 1.4; }
body main .faq-list summary { font-size: var(--type-faq); line-height: 1.4; min-height: 48px; }
body .button, body .mobile-cta { font-size: var(--type-cta); line-height: 1.35; min-height: 48px; white-space: normal; text-align: center; }
body .site-nav { font-size: 1rem; line-height: 1.35; gap: 14px; }
body .site-nav a { opacity: 1; }
body .site-header { min-height: 88px; }
body .site-header .logo-brand img { width: 242px; }
body .site-header a { flex-shrink: 0; }
body .site-footer { line-height: 1.6; }
body .footer-column, body .footer-brand-note { font-size: 1rem; line-height: 1.6; }
body .footer-column h2 { font-size: var(--type-label); line-height: 1.4; }
body .footer-column a, body .footer-legal-links a { display: inline-flex; align-items: center; min-height: 44px; overflow-wrap: anywhere; }
body .footer-column, body .footer-contact, body .footer-brand-column { min-width: 0; }
body .footer-bottom { font-size: .875rem; line-height: 1.6; }
body .button, body .text-link, body .detail-chip { overflow-wrap: anywhere; }
body .detail-chip, body .scene-button { min-height: 44px; font-size: 1rem; line-height: 1.4; }
body main label, body main legend { font-size: 1rem; line-height: 1.55; }
body input:not([type=checkbox]):not([type=radio]):not([type=range]), body select, body textarea { font-size: 1rem; min-height: 48px; }
body main .privacy-note, body main .form-note, body main .form-help,
body main .field-error, body main .input-hint, body main small { font-size: .875rem; line-height: 1.6; }
body main .consent, body main .consent-line { font-size: 1rem; line-height: 1.6; }
body .section-heading p { max-width: 70ch; }
body main .page-hero { min-height: 0; padding-top: 128px; padding-bottom: 48px; }
body main .page-hero-inner { padding-top: 0; }
body .hero { min-height: 0; }
body .hero-content { padding-top: 124px; padding-bottom: 64px; max-width: 880px; }
body .section-band, body .content-band { padding-block: clamp(40px, 5vw, 72px); }
body main .visual-feature-night .eyebrow { color: #f3cf83; }
body main .visual-feature-night .clean-day-detail-kicker { color: #40563b; }
body .conversion-trust-inner { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 24px; padding-block: 20px; }
body .conversion-trust-inner span { font-size: var(--type-label); line-height: 1.5; }
body .homepage-home-show-offer p { font-size: 1rem; line-height: 1.55; }
body .cookie-consent-copy p, body .cookie-consent-dialog p, body .cookie-consent-option small { font-size: 1rem; line-height: 1.6; }
body .cookie-consent-actions .button { font-size: 1rem; }
body .cookie-consent-close { width: 44px; height: 44px; }
body .cookie-consent-dialog h2 { padding-right: 44px; }
body:not(.visualizer-page) > .cookie-consent-manage {
  position: static; display: block; width: fit-content; min-height: 44px;
  margin: 16px 20px 24px auto; font-size: .875rem; line-height: 1.4;
  background: #071118; transform: none;
}
body > .cookie-consent-manage[hidden] { display: none; }
body .cookie-consent-banner { max-height: calc(100svh - 24px); overflow-y: auto; }
body .visualizer-privacy-dock .cookie-consent-manage { font-size: .8125rem; min-height: 44px; line-height: 1.3; }
/* The Visualizer editor keeps its layout and controls. Only reading copy is scaled. */
body.visualizer-page .visualizer-intro p,
body.visualizer-page .visualizer-lead p { font-size: var(--type-body); line-height: 1.6; }
@media (max-width: 1320px) {
  body .site-header:has([data-nav-toggle]) { min-height: 80px; }
  body .nav-toggle { display: inline-flex; flex-shrink: 0; }
  body .site-header [data-nav] {
    position: absolute; top: 100%; left: 14px; right: 14px; display: none;
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px;
    max-height: calc(100svh - 104px); overflow-y: auto;
    border: 1px solid var(--line); border-radius: 8px; color: var(--ink);
    background: var(--paper); box-shadow: var(--shadow);
  }
  body .site-header.is-open [data-nav] { display: flex; }
  body .site-header [data-nav] a { display: flex; align-items: center; min-height: 48px; padding: 12px 14px; }
  body .site-header [data-nav] .nav-primary { justify-content: center; }
}
@media (max-width: 900px) {
  body .content-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body .visualizer-cta-panel, body .cta-panel { gap: 28px; }
}
@media (max-width: 720px) {
  :root {
    --type-h1: clamp(2.25rem, 9.77vw, 2.625rem);
    --type-h2: clamp(1.75rem, 7.45vw, 2rem);
    --type-h3: clamp(1.375rem, 5.58vw, 1.5rem);
    --type-body: 1.0625rem; --type-lead: 1.125rem; --type-cta: 1rem;
    --type-label: .8125rem; --type-faq: 1.1875rem;
  }
  html { scroll-padding-top: 92px; }
  body .site-header, body .site-header:has([data-nav-toggle]) { min-height: 78px; }
  body .site-header .logo-brand img { width: min(52vw, 218px); }
  body .hero-content { padding: 104px 20px 36px; }
  body main .page-hero { padding-top: 104px; padding-bottom: 32px; }
  body .section-band, body .content-band { padding-block: 36px; }
  body .section-heading { margin-bottom: 24px; }
  body .hero-actions { margin-top: 24px; gap: 12px; }
  body .conversion-trust-inner { gap: 10px 18px; padding-block: 18px; }
  body .content-grid, body .trust-grid { grid-template-columns: 1fr; }
  body .visualizer-cta-panel, body .cta-panel { padding: 24px 20px; gap: 24px; }
  body .corporate-footer-inner { gap: 24px; }
  body .site-footer { padding-bottom: 28px; }
  body:not(.visualizer-page) > .cookie-consent-manage { margin-bottom: calc(90px + env(safe-area-inset-bottom)); }
  body .mobile-cta { bottom: calc(14px + env(safe-area-inset-bottom)); }
  body main .privacy-note, body main .form-note, body main .form-help,
  body main .field-error, body main .input-hint, body main small { font-size: .8125rem; }
  body .cookie-consent-dialog { max-height: calc(100svh - 24px); }
  body .cookie-consent-banner { bottom: 12px; }
}

body .conversion-trust-strip { padding-block: 0; }

/* Corrections confirmed in screenshot review. */
body main .corporate-hero .page-hero-inner { padding-top: 0; }
body main .content-band:not(.dark) .eyebrow { color: #526d47; }
body main .content-band.dark .eyebrow { color: #f3cf83; }
body main .visual-feature-night .visual-copy > p:not(.eyebrow) { color: #dce7df; }
body .project-funnel .field-grid > label { margin-bottom: 0; }
@media (max-width: 720px) {
  body .mobile-cta { position: static; inset: auto; width: calc(100% - 40px); margin: 20px auto; box-shadow: none; }
  body:not(.visualizer-page) > .cookie-consent-manage { margin-bottom: calc(24px + env(safe-area-inset-bottom)); }
}
/* Visualizer reading text and labels; canvas/rendering behavior stays unchanged. */
body.visualizer-page .photo-guidance span, body.visualizer-page .control-hint,
body.visualizer-page .visualizer-alert { font-size: 1rem; line-height: 1.6; }
body.visualizer-page .designer-toolbar span, body.visualizer-page .stage-footer span { font-size: .8125rem; line-height: 1.4; }
body.visualizer-page .stage-empty h2, body.visualizer-page .visualizer-quote h2 { font-size: var(--type-h2); line-height: 1.15; }
@media (max-width: 720px) {
  body.visualizer-page .designer-toolbar { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
