@charset "UTF-8";
/* ==========================================================================
   AC REPAIR — page layer (approved W15P/W15P-R reference). Shared rules live in svc.css.
   Loaded only by /ac-repair/ (front matter css:). Everything is scoped to
   body.proto-ar or to prototype-only .p-* classes, so no other page changes.
   Colour roles in this prototype:
     ink            = brand field, headings, body text
     warm neutrals  = residential light surfaces (replace cool white/grey fields)
     garnet (heat)  = the CALL action (buttons, call bar) — distinct from links
     cobalt         = interaction only (text links, focus, nav hover)
     heat-soft/sky  = heat/cool signature (airflow seam, eyebrow rule, logo)
   ========================================================================== */

/* ---------- Signature: heat/cool airflow seam ---------- */
.p-flow { position: absolute; left: 0; right: 0; width: 100%; height: 90px; pointer-events: none; }

/* ---------- Hero ---------- */
.p-hero { position: relative; background: var(--ink); color: #C9D2E5; overflow: hidden; }
.p-hero-photo { position: absolute; top: 0; right: 0; bottom: 0; width: 50%; }
.p-hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 38% 50%; }
.p-hero-photo::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--ink) 0%, rgba(23,33,58,.55) 14%, rgba(23,33,58,0) 34%); z-index: 1; }
.p-hero-grid { position: relative; z-index: 2; padding-top: 44px; padding-bottom: 120px; }
.p-hero-copy { max-width: 600px; }
.p-hero h1 { color: #fff; font-size: clamp(2.5rem, 1.45rem + 3.4vw, 4.3rem); font-weight: 850; letter-spacing: -0.038em; line-height: .98; margin: 0 0 24px; text-wrap: balance; }
.p-hero h1 .accent { display: block; margin-top: 10px; color: var(--sky); font-weight: 700; font-size: .56em; letter-spacing: -0.02em; line-height: 1.1; }
.p-hero .lede { font-size: 1.125rem; line-height: 1.6; color: #D5DCEB; margin: 0 0 20px; }
.p-scope { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 28px; font-size: .98rem; font-weight: 600; color: #fff; }
.p-scope svg { width: 26px; height: 26px; flex: none; background: #fff; border-radius: 6px; padding: 2px; }
.p-hero-cta .cta-note { color: #AEB9D1; margin: 12px 0 0; font-size: .95rem; max-width: 46ch; }
.p-hero .crumbs { margin-bottom: 26px; }
.p-hero .p-flow { bottom: 18px; opacity: .9; z-index: 2; }

/* ---------- Finder (layered over hero edge) ---------- */
.p-finder-band { position: relative; z-index: 3; background: linear-gradient(180deg, var(--ink) 0 92px, var(--p-warm) 92px 100%); }
.p-finder { background: #fff; border-radius: 16px; box-shadow: 0 2px 4px rgba(23,33,58,.06), 0 24px 48px rgba(23,33,58,.16); padding: 26px 30px 22px; display: grid; grid-template-columns: 250px 1fr; gap: 12px 36px; align-items: start; }
.p-finder-head h2 { font-size: 1.5rem !important; letter-spacing: -0.02em; margin: 2px 0 6px; }
.p-finder-head p { margin: 0; color: var(--p-sub); font-size: .98rem; }
.p-finder ol { list-style: none; margin: 0; padding: 0; counter-reset: f; display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.p-finder li { counter-increment: f; border-top: 1px solid #ECE6DC; }
.p-finder li:nth-child(-n+2) { border-top: 0; }
.p-finder a { display: flex; align-items: center; gap: 12px; min-height: 46px; padding: 8px 2px; color: var(--ink); text-decoration: none; font-weight: 600; }
.p-finder a::before { content: counter(f, decimal-leading-zero); font-family: var(--font-head); font-weight: 800; font-size: .88rem; color: var(--heat); width: 22px; flex: none; }
.p-finder a span { flex: 1; }
.p-finder a svg { width: 18px; height: 18px; color: var(--cobalt); flex: none; transition: transform .15s ease; }
.p-finder a:hover { color: var(--cobalt); }
.p-finder a:hover svg { transform: translateX(3px); }

/* ---------- Symptoms: featured first symptom + two editorial columns ---------- */
.p-sym { background: var(--p-warm); padding: 80px 0 104px; }
.p-sym-head { display: grid; grid-template-columns: 1.05fr .95fr; gap: 24px 72px; align-items: end; margin-bottom: 48px; }
.p-sym-head h2 { margin-bottom: 0; }
.p-sym-head > p { font-size: 1.125rem; color: var(--p-sub); margin: 0; }
.p-sym-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 64px; border-top: 2px solid var(--ink); }
.p-sym-item { padding: 34px 0 36px; border-bottom: 1px solid var(--p-warm-line); scroll-margin-top: 100px; }
.p-sym-item:first-child { grid-column: 1 / -1; display: grid; grid-template-columns: .9fr 1.1fr; gap: 8px 64px; padding: 40px 0 44px; }
.p-sym-item:first-child h3 { font-size: clamp(1.7rem, 1.25rem + 1.3vw, 2.4rem); grid-column: 1; }
.p-sym-item:first-child .p-causes { grid-column: 1; margin-bottom: 0; }
.p-sym-item:first-child > p { grid-column: 2; grid-row: 1 / span 2; margin-left: 0; font-size: 1.125rem; }
.p-sym-item h3 { display: flex; align-items: baseline; gap: 14px; margin: 0 0 12px; font-size: clamp(1.3rem, 1.1rem + .55vw, 1.6rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; }
.p-sym-item h3 .n { font-size: .95rem; font-weight: 800; color: var(--heat); flex: none; letter-spacing: 0; }
.p-causes { margin: 0 0 14px; font-size: .95rem; line-height: 1.55; }
.p-causes-label { display: inline; margin: 0 8px 0 0; font-weight: 700; color: var(--ink); }
.p-causes-label::after { content: ":"; }
.p-causes ul { display: inline; list-style: none; margin: 0; padding: 0; }
.p-causes li { display: inline; font-weight: 600; color: var(--p-sub); }
.p-causes li:not(:last-child)::after { content: "  ·  "; color: #A89D8B; font-weight: 800; white-space: pre; }
.p-sym-item > p { margin: 0; font-size: 1.0625rem; line-height: 1.68; }

/* ---------- Safe checks + inline strip ---------- */
.p-checks { background: #fff; padding: 104px 0 96px; scroll-margin-top: 90px; }
.p-checks-head { max-width: 720px; margin-bottom: 44px; }
.p-checks-head p:last-child { font-size: 1.125rem; color: var(--p-sub); margin: 0; }
.p-checks-grid { display: grid; grid-template-columns: 1.3fr .9fr; gap: 56px; align-items: start; }
.p-steps { list-style: none; margin: 0; padding: 0; counter-reset: s; display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
.p-steps li { counter-increment: s; padding: 22px 0 22px 0; border-top: 1px solid #E6E0D5; }
.p-steps li::before { content: counter(s, decimal-leading-zero); display: block; font-family: var(--font-head); font-weight: 800; font-size: .95rem; color: var(--heat); margin-bottom: 6px; }
.p-steps h3 { font-size: 1.25rem; font-weight: 800; letter-spacing: -0.01em; margin: 0 0 6px; }
.p-steps p { margin: 0; font-size: 1rem; line-height: 1.6; }
.p-pro { background: var(--ink); color: #C9D2E5; border-radius: 16px; padding: 34px 32px; }
.p-pro h3 { color: #fff; font-size: 1.4rem; font-weight: 800; }
.p-pro ul { list-style: none; margin: 0 0 18px; padding: 0; }
.p-pro li { position: relative; padding: 12px 0 12px 32px; border-top: 1px solid var(--ink-3); line-height: 1.5; }
.p-pro li svg { position: absolute; left: 0; top: 14px; width: 20px; height: 20px; color: var(--heat-soft); }
.p-pro p { margin: 0; font-size: .98rem; }
.p-pro strong { color: #fff; }
.p-power { display: flex; gap: 14px; align-items: flex-start; margin-top: 18px; padding: 18px 20px; border-radius: 12px; background: var(--p-warm); }
.p-power svg { width: 22px; height: 22px; flex: none; color: var(--ink); margin-top: 2px; }
.p-power p { margin: 0; font-size: .98rem; }
.p-strip { margin-top: 64px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding: 26px 32px; border-radius: 16px; background: var(--p-warm-2); position: relative; overflow: hidden; }
.p-strip::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: linear-gradient(180deg, #A8304A, #E4677F 45%, #6FA0EE 60%, #1D5BC7); }
.p-strip p { margin: 0; font-size: 1.125rem; color: var(--ink); }
.p-strip strong { font-family: var(--font-head); font-weight: 800; }

/* ---------- Repair visit: photographic reset ---------- */
.p-visit { position: relative; background: var(--p-warm); min-height: 720px; display: flex; align-items: center; }
.p-visit-photo { position: absolute; top: 0; bottom: 0; left: 0; width: 54%; }
.p-visit-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 35% 50%; }
.p-visit-grid { position: relative; width: 100%; display: grid; grid-template-columns: 54% 1fr; }
.p-visit-copy { grid-column: 2; padding: 96px 0 96px 64px; }
.p-visit-copy > p { font-size: 1.0625rem; }
.p-ticks { list-style: none; margin: 0 0 20px; padding: 0; }
.p-ticks li { position: relative; padding: 11px 0 11px 34px; border-top: 1px solid var(--p-warm-line); line-height: 1.5; }
.p-ticks li:first-child { border-top: 0; }
.p-ticks svg { position: absolute; left: 0; top: 12px; width: 22px; height: 22px; color: var(--heat); }
.p-visit-note { font-weight: 700; color: var(--ink); margin: 0; }

/* ---------- Diagram: staged on the ink field ---------- */
.p-diagram { background: var(--ink); color: #C9D2E5; padding: 104px 0 96px; }
.p-diagram-grid { display: grid; grid-template-columns: 1.45fr .75fr; gap: 56px; align-items: center; }
.p-diagram-fig { background: #fff; border-radius: 18px; padding: 26px; margin: 0; box-shadow: 0 30px 60px rgba(0,0,0,.25); }
.p-diagram-key .dg-cap { color: #fff; font-size: clamp(1.7rem, 1.3rem + 1.1vw, 2.3rem); letter-spacing: -0.025em; margin: 0 0 26px; }
.p-diagram-key .dg-groups { display: grid; gap: 22px; }
.p-diagram-key .dg-group h3 { color: var(--sky); }
.p-diagram-key .dg-legend { grid-template-columns: 1fr 1fr; gap: 10px 18px; }
.p-diagram-key .dg-legend li { color: #fff; }
.p-diagram-key .dg-n { background: #fff; color: var(--ink); }
.p-often { margin-top: 72px; padding-top: 40px; border-top: 1px solid var(--ink-3); display: grid; grid-template-columns: 340px 1fr; gap: 72px; align-items: start; }
.p-often h3 { color: #fff; font-size: 1.6rem; font-weight: 800; letter-spacing: -0.02em; margin: 0; }
.p-often-body { display: grid; grid-template-columns: 1.35fr 1fr; gap: 40px; }
.p-often-body p { margin: 0; font-size: 1.0625rem; line-height: 1.65; }
.p-often-body p + p { padding-left: 28px; border-left: 1px solid var(--ink-3); color: #AEB9D1; }

/* ---------- Cost ---------- */
.p-cost { background: #fff; padding: 104px 0; }
.p-cost-grid { display: grid; grid-template-columns: 380px 1fr; gap: 72px; align-items: start; }
.p-cost-grid > div > p { font-size: 1.125rem; color: var(--p-sub); }
.p-note { display: flex; gap: 12px; align-items: flex-start; margin-top: 26px; padding: 18px 20px; border-radius: 12px; background: var(--p-warm); }
.p-note svg { width: 22px; height: 22px; flex: none; color: var(--ink); margin-top: 2px; }
.p-note p { margin: 0; font-size: 1rem; color: var(--ink); }
.p-factors { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; border-top: 2px solid var(--ink); }
.p-factors li { padding: 24px 0; border-bottom: 1px solid #E6E0D5; }
.p-factors strong { display: block; font-family: var(--font-head); font-weight: 800; font-size: 1.22rem; letter-spacing: -0.01em; color: var(--ink); margin-bottom: 6px; }
.p-factors span { font-size: 1rem; line-height: 1.55; }

/* ---------- Repair or replace: full-width decision band ---------- */
.p-decide { position: relative; background: #121A2F; color: #C9D2E5; padding: 132px 0 110px; overflow: hidden; }
.p-decide .p-flow--top { top: 26px; opacity: .85; }
.p-decide-head { max-width: 820px; margin-bottom: 56px; }
.p-decide h2 { color: #fff; font-size: clamp(2.3rem, 1.5rem + 2.6vw, 3.7rem); letter-spacing: -0.035em; }
.p-decide-head p:last-child { font-size: 1.2rem; color: #D5DCEB; margin: 0; }
.p-weigh { list-style: none; margin: 0; padding: 0; counter-reset: w; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 36px; }
.p-weigh li { counter-increment: w; padding: 26px 0 30px; border-top: 1px solid var(--ink-3); }
.p-weigh li::before { content: counter(w, decimal-leading-zero); display: block; margin-bottom: 12px; font-family: var(--font-head); font-weight: 800; font-size: .95rem; color: var(--heat-soft); }
.p-weigh li:nth-child(n+5)::before { color: var(--sky); }
.p-weigh strong { display: block; color: #fff; font-family: var(--font-head); font-size: 1.2rem; font-weight: 800; letter-spacing: -0.01em; line-height: 1.25; margin-bottom: 8px; }
.p-weigh span { font-size: .98rem; line-height: 1.55; }
.p-decide-foot { margin-top: 44px; padding-top: 32px; border-top: 1px solid var(--ink-3); display: flex; flex-wrap: wrap; gap: 16px 48px; align-items: center; justify-content: space-between; }
.p-decide-foot p { margin: 0; max-width: 64ch; font-size: 1.0625rem; color: #D5DCEB; }
.p-decide-foot .textlink { color: #fff; font-size: 1.0625rem; }
.p-decide-foot .textlink svg { color: var(--sky); }

/* ---------- FAQ ---------- */
.p-faq { background: var(--p-warm); padding: 104px 0; }
.p-faq-grid { display: grid; grid-template-columns: 340px 1fr; gap: 72px; align-items: start; }
.p-faq-side p:last-child { color: var(--p-sub); font-size: 1.0625rem; }
.proto-ar .p-faq .faq-list { border-top: 2px solid var(--ink); }
.proto-ar .p-faq .faq-list details { border-bottom-color: var(--p-warm-line); }
.proto-ar .p-faq .faq-list summary::after { color: var(--heat); }
.proto-ar .p-faq .faq-list h3 { font-size: 1.25rem; font-weight: 800; letter-spacing: -0.01em; }

/* ---------- Closing ---------- */
.p-closing { background: #fff; padding: 104px 0 112px; text-align: center; border-top: 1px solid var(--p-warm-line); }
.p-closing-inner { display: flex; flex-direction: column; align-items: center; }
.p-closing-mark { width: 64px; height: 64px; margin-bottom: 22px; }
.p-closing h2 { font-size: clamp(2.2rem, 1.4rem + 2.6vw, 3.6rem); letter-spacing: -0.035em; max-width: 18ch; margin: 0 0 14px; }
.p-closing p { font-size: 1.2rem; color: var(--p-sub); margin: 0 0 30px; }

/* ---------- Footer + call bar (prototype page only) ---------- */

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .p-weigh { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1024px) {
  .p-hero-photo { width: 44%; }
  .p-finder { grid-template-columns: 1fr; }
  .p-sym-head { grid-template-columns: 1fr; }
  .p-sym-list { grid-template-columns: 1fr; }
  .p-sym-item:first-child { grid-template-columns: 1fr; }
  .p-sym-item:first-child > p { grid-column: 1; grid-row: auto; margin-top: 4px; }
  .p-checks-grid, .p-cost-grid, .p-faq-grid, .p-diagram-grid, .p-often { grid-template-columns: 1fr; gap: 36px; }
  .p-often-body { grid-template-columns: 1fr; gap: 20px; }
  .p-often-body p + p { padding-left: 0; border-left: 0; }
  .p-visit { flex-direction: column; min-height: 0; }
  .p-visit-photo { position: relative; width: 100%; aspect-ratio: 16 / 9; }
  .p-visit-grid { grid-template-columns: 1fr; }
  .p-visit-copy { grid-column: 1; padding: 64px 0 72px; }
}
@media (max-width: 900px) {
  .p-hero-photo { position: relative; width: 100%; height: auto; aspect-ratio: 16 / 10; }
  .p-hero-photo::before { background: linear-gradient(180deg, rgba(23,33,58,0) 55%, var(--ink) 100%); }
  .p-hero { display: flex; flex-direction: column; }
  .p-hero-grid { padding-top: 8px; padding-bottom: 96px; }
}
@media (max-width: 720px) {
  .p-hero-photo { order: 0; aspect-ratio: 16 / 9; }
  .p-hero .crumbs { display: none; }
  .p-hero h1 { font-size: 2.35rem; margin-bottom: 16px; }
  .p-hero .lede { font-size: 1.02rem; }
  .p-hero-cta .btn { width: 100%; }
  .p-hero .p-flow { bottom: 8px; height: 60px; }
  .p-finder-band { background: linear-gradient(180deg, var(--ink) 0 70px, var(--p-warm) 70px 100%); }
  .p-finder { padding: 20px 18px 10px; }
  .p-finder ol { grid-template-columns: 1fr; }
  .p-finder li:nth-child(2) { border-top: 1px solid #ECE6DC; }
  .p-sym { padding: 56px 0 64px; }
  .p-sym-item { padding: 26px 0 28px; }
  .p-sym-item h3 { gap: 12px; }
  .p-checks, .p-cost, .p-faq { padding: 64px 0; }
  .p-steps { grid-template-columns: 1fr; }
  .p-pro { padding: 28px 22px; }
  .p-strip { padding: 22px 20px 22px 26px; margin-top: 44px; }
  .p-strip .btn { width: 100%; }
  .p-visit-photo { aspect-ratio: 4 / 3; }
  .p-visit-copy { padding: 44px 0 56px; }
  .p-diagram { padding: 64px 0; }
  .p-diagram-fig { padding: 10px; border-radius: 12px; }
  .p-diagram-key .dg-legend { grid-template-columns: 1fr 1fr; }
  .p-often { margin-top: 48px; }
  .p-factors { grid-template-columns: 1fr; }
  .p-decide { padding: 96px 0 64px; }
  .p-weigh { grid-template-columns: 1fr; }
  .p-weigh li { padding: 20px 0 22px; }
  .p-closing { padding: 72px 0 80px; }
  .p-closing .btn { width: 100%; }
}

/* ==========================================================================
   W15P-R — refinement pass (overrides W15P rules above; AC Repair prototype only)
   ========================================================================== */

/* Logo lockup: "Heating & Air" reads as part of the name, footprint unchanged */

/* Symptoms: 01 as a lead panel, 02-07 as a 3 x 2 editorial grid */
.p-sym { padding: 72px 0 96px; }
.p-sym-list { grid-template-columns: repeat(3, 1fr); gap: 0 44px; border-top: 0; }
.p-sym-item { position: relative; padding: 30px 0 34px; border-bottom: 0; border-top: 1px solid var(--p-warm-line); }
.p-sym-item::before { content: ""; position: absolute; left: 0; top: -2px; width: 36px; height: 3px; border-radius: 2px; background: linear-gradient(90deg, #A8304A, #E4677F 45%, #6FA0EE 60%, #1D5BC7); }
.p-sym-item:nth-child(n+5) { margin-top: 10px; }
.p-sym-item:first-child { grid-column: 1 / -1; background: #fff; border: 0; border-radius: 18px; padding: 44px 48px; margin-bottom: 36px; box-shadow: 0 1px 2px rgba(23,33,58,.05); grid-template-columns: .85fr 1.15fr; gap: 10px 64px; }
.p-sym-item:first-child::before { left: 48px; top: 0; width: 56px; height: 4px; border-radius: 0 0 3px 3px; }
.p-sym-item:first-child h3 { font-size: clamp(1.8rem, 1.3rem + 1.4vw, 2.5rem); line-height: 1.08; }
.p-sym-item h3 { font-size: 1.36rem; line-height: 1.2; margin-bottom: 14px; }
.p-sym-item h3 .n { font-size: .9rem; }
.p-causes { margin: 0 0 16px; padding-left: 12px; border-left: 2px solid #E4B9C3; font-size: .95rem; line-height: 1.5; }
.p-causes li { color: var(--ink); }
.p-sym-item > p { font-size: 1rem; line-height: 1.66; color: #2E3850; }
.p-sym-item:first-child > p { font-size: 1.1rem; color: var(--p-text); }
.p-guide { font-weight: 700; text-decoration-thickness: 1.5px; }
.p-guide::after { content: " \2192"; text-decoration: none; display: inline-block; margin-left: 2px; }

/* Symptoms -> safe checks: seam across the boundary, different layout character */
.p-checks { position: relative; padding: 112px 0 96px; }
.p-flow--seam { top: -45px; height: 90px; z-index: 1; opacity: .9; }
.p-checks-head { margin-bottom: 40px; }
.p-steps { grid-template-columns: repeat(3, 1fr); gap: 0 48px; }
.p-steps li { padding: 24px 0 28px; border-top: 1px solid #E6E0D5; }
.p-steps li::before { font-size: 2.2rem; line-height: 1; margin-bottom: 12px; color: transparent; -webkit-text-stroke: 1.5px var(--heat); letter-spacing: -0.02em; }
.p-steps h3 { font-size: 1.3rem; }
.p-pro { margin-top: 40px; display: grid; grid-template-columns: .8fr 1.25fr 1fr; gap: 12px 44px; align-items: start; padding: 38px 42px; border-radius: 18px; }
.p-pro h3 { margin: 0; font-size: 1.55rem; line-height: 1.15; }
.p-pro ul { margin: 0; }
.p-pro li:first-child { border-top: 0; padding-top: 0; }
.p-pro li:first-child svg { top: 2px; }
.p-pro > p { padding-left: 28px; border-left: 1px solid var(--ink-3); font-size: 1rem; line-height: 1.6; }
.p-power { display: inline-flex; margin-top: 18px; padding: 14px 18px; }
.p-strip { margin-top: 36px; padding: 24px 30px 24px 34px; }
.p-strip .btn { min-height: 50px; }

/* Diagram: heading row across the top, legend stretched to the diagram's height */
.p-diagram { padding: 96px 0 92px; }
.p-diagram-head { margin-bottom: 36px; }
.p-diagram-head .dg-cap { color: #fff; font-size: clamp(1.9rem, 1.35rem + 1.5vw, 2.7rem); letter-spacing: -0.03em; margin: 0; }
.p-diagram-grid { grid-template-columns: 1.55fr .75fr; gap: 0 52px; align-items: stretch; }
.p-diagram-fig { padding: 16px; border-radius: 16px; box-shadow: 0 24px 50px rgba(0,0,0,.28); }
.p-diagram-key { display: flex; flex-direction: column; justify-content: center; padding-left: 40px; border-left: 1px solid var(--ink-3); }
.p-diagram-key .dg-groups { gap: 26px; }
.p-diagram-key .dg-legend { gap: 12px 18px; }
.p-diagram-key .dg-n { background: var(--ink); color: #fff; box-shadow: 0 0 0 2px #fff; }
.p-often { margin-top: 64px; }

/* Cost: heading/intro row + 3 x 2 factor grid */
.p-cost { padding: 104px 0 112px; }
.p-cost-head { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 72px; align-items: end; margin-bottom: 44px; }
.p-cost-head h2 { margin-bottom: 0; }
.p-cost-head > div > p { font-size: 1.125rem; color: var(--p-sub); margin: 0; }
.p-cost-head .p-note { margin-top: 18px; }
.p-factors { grid-template-columns: repeat(3, 1fr); gap: 0 48px; }
.p-factors li { padding: 26px 0 30px; }
.p-factors strong { font-size: 1.3rem; margin-bottom: 8px; }

/* FAQ: breathing room after the dark band, heading aligned to list top */
.p-faq { padding: 112px 0 104px; }
.p-faq-side h2 { margin-bottom: 14px; }

/* Closing: calm, confident split rather than a sparse centred block */
.p-closing { padding: 88px 0 96px; text-align: left; background: #fff; border-top: 0; position: relative; }
.p-closing-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px 72px; align-items: center; }
.p-closing-lead { display: flex; align-items: center; gap: 28px; }
.p-closing-mark { width: 76px; height: 76px; margin: 0; flex: none; }
.p-closing h2 { margin: 0; max-width: 13ch; font-size: clamp(2.2rem, 1.5rem + 2.2vw, 3.4rem); }
.p-closing-act { padding-left: 44px; border-left: 1px solid var(--p-warm-line); }
.p-closing-act p { margin: 0 0 22px; font-size: 1.2rem; }

/* Tablet: keep the hero side by side (photo right) down to 721px so the headline leads */
@media (max-width: 1024px) {
  .p-sym-list { grid-template-columns: 1fr 1fr; }
  .p-sym-item:nth-child(n+4) { margin-top: 10px; }
  .p-sym-item:first-child { grid-template-columns: 1fr; padding: 36px 36px; }
  .p-sym-item:first-child::before { left: 36px; }
  .p-steps { grid-template-columns: 1fr 1fr; }
  .p-pro { grid-template-columns: 1fr 1fr; }
  .p-pro h3 { grid-column: 1 / -1; margin-bottom: 8px; }
  .p-cost-head { grid-template-columns: 1fr; }
  .p-factors { grid-template-columns: 1fr 1fr; }
  .p-diagram-key { padding-left: 0; border-left: 0; }
  .p-closing-inner { grid-template-columns: 1fr; }
  .p-closing-act { padding-left: 0; border-left: 0; }
}
@media (min-width: 721px) and (max-width: 900px) {
  .p-hero { display: block; }
  .p-hero-photo { position: absolute; top: 0; right: 0; bottom: 0; width: 42%; height: auto; aspect-ratio: auto; }
  .p-hero-photo::before { background: linear-gradient(90deg, var(--ink) 0%, rgba(23,33,58,.5) 16%, rgba(23,33,58,0) 40%); }
  .p-hero-grid { padding-top: 36px; padding-bottom: 110px; }
  .p-hero-copy { max-width: 56%; }
  .p-hero h1 { font-size: 2.6rem; }
}
@media (max-width: 720px) {
  .p-sym-list { grid-template-columns: 1fr; }
  .p-sym-item:nth-child(n+3) { margin-top: 0; }
  .p-sym-item:first-child { padding: 30px 22px; margin-bottom: 24px; }
  .p-sym-item:first-child::before { left: 22px; }
  .p-checks { padding: 88px 0 64px; }
  .p-flow--seam { top: -30px; height: 60px; }
  .p-steps, .p-pro, .p-factors { grid-template-columns: 1fr; }
  .p-pro { padding: 28px 22px; gap: 14px; }
  .p-pro > p { padding-left: 0; border-left: 0; }
  .p-power { display: flex; }
  .p-strip { padding: 22px 20px 22px 26px; }
  .p-diagram-head { margin-bottom: 24px; }
  .p-diagram-key { margin-top: 28px; }
  .p-faq { padding: 72px 0 64px; }
  .p-closing { padding: 64px 0 72px; }
  .p-closing-lead { gap: 18px; }
  .p-closing-mark { width: 52px; height: 52px; }
}
.p-diagram-grid { grid-template-columns: 1.3fr .9fr; }
.p-diagram-key .dg-legend { gap: 10px 14px; }
.p-diagram-key .dg-legend li { font-size: .98rem; white-space: nowrap; }
@media (max-width: 1024px) { .p-diagram-key .dg-legend li { white-space: normal; } }
