/* Gap pages (6 Nov 2026). Loaded after landing.css and compare.css.
   Adds a step-by-step image strip, a WhatsApp alert mock and a share-link animation.
   No JS: everything is CSS animation, and it stops for people who prefer reduced motion. */

/* ── Step-by-step strip ────────────────────────────────────────────── */
.gp-flow { list-style: none; counter-reset: f; margin: 0; padding: 0; display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .gp-flow { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .gp-flow { grid-template-columns: repeat(var(--gp-cols, 4), 1fr); } }
.gp-flow > li { counter-increment: f; display: flex; flex-direction: column; overflow: hidden; background: #fff; border: 1px solid var(--border); border-radius: 18px; }
.gp-flow-media { position: relative; aspect-ratio: 4 / 3; background: #f5f5f4; overflow: hidden; }
.gp-flow-media img, .gp-flow-media video { display: block; width: 100%; height: 100%; object-fit: cover; }
.gp-flow-media img.gp-contain { object-fit: contain; background: #f5f5f4; }
.gp-flow-media::before {
  content: counter(f);
  position: absolute; top: 10px; left: 10px; z-index: 2;
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; font-size: 14px; font-weight: 700; color: #fff;
  background: var(--blue); border-radius: 50%; box-shadow: 0 4px 12px -4px rgba(48, 100, 255, 0.6);
}
.gp-flow-body { padding: 16px 18px 20px; }
.gp-flow-body h3 { margin: 0 0 4px; font-size: 1.0625rem; }
.gp-flow-body p { margin: 0; font-size: 14.5px; }
.gp-flow-arrow { display: none; }
.gp-sample { position: absolute; right: 10px; top: 10px; z-index: 2; padding: 2px 8px; font-size: 11px; font-weight: 600; color: #57534e; background: rgba(255, 255, 255, 0.9); border-radius: 999px; }

/* Hero figure without the dark browser frame (used for the phone mock) */
.gp-plain { position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 4 / 3; background: linear-gradient(140deg, #eaf0ff 0%, #f8faff 55%, #eef8f1 100%); box-shadow: 0 30px 70px -36px rgba(12, 10, 9, 0.35), 0 0 0 1px rgba(12, 10, 9, 0.05); }

/* ── WhatsApp alert mock (sample data) ─────────────────────────────── */
@media (max-width: 479px) { .gp-plain { aspect-ratio: auto; height: 440px; } .gp-phone { max-height: none; } .gp-wa-msg { font-size: 10.5px; } }

.gp-wa { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 22px; padding: 14px 18px; }
.gp-phone { position: relative; flex: none; height: calc(100% - 8px); max-height: 470px; aspect-ratio: 9 / 16.5; padding: 8px; background: #0c0a09; border-radius: 34px; box-shadow: 0 24px 50px -22px rgba(12, 10, 9, 0.55); }
.gp-phone-screen { position: relative; height: 100%; overflow: hidden; display: flex; flex-direction: column; background: #efeae2; border-radius: 26px; }
.gp-wa-head { display: flex; align-items: center; gap: 8px; padding: 20px 12px 8px; color: #fff; background: #075e54; }
.gp-wa-head img { width: 26px; height: 26px; padding: 4px; background: #fff; border-radius: 50%; }
.gp-wa-head b { display: block; font-size: 12.5px; line-height: 1.2; }
.gp-wa-head span { font-size: 10px; opacity: 0.8; }
.gp-wa-body { position: relative; flex: 1; padding: 12px 10px; }
.gp-wa-day { display: table; margin: 0 auto 10px; padding: 2px 8px; font-size: 9.5px; color: #54656f; background: #fff; border-radius: 6px; }
.gp-wa-msg { position: absolute; left: 8px; right: 10px; top: 32px; padding: 7px 9px 5px; font-size: 10.5px; line-height: 1.4; color: #111b21; background: #fff; border-radius: 0 9px 9px 9px; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.08); opacity: 0; }
.gp-wa-msg strong { display: block; margin-bottom: 3px; font-size: 11.5px; }
.gp-wa-msg em { font-style: normal; color: #54656f; }
.gp-wa-msg .gp-wa-link { display: block; margin-top: 6px; padding-top: 6px; text-align: center; font-weight: 600; color: #027eb5; border-top: 1px solid #e9edef; }
.gp-wa-msg time { display: block; margin-top: 3px; text-align: right; font-size: 9px; color: #667781; }
.gp-wa-reply { position: absolute; right: 10px; bottom: 14px; max-width: 70%; padding: 7px 9px 5px; font-size: 11px; line-height: 1.35; color: #111b21; background: #d9fdd3; border-radius: 9px 0 9px 9px; opacity: 0; animation: gp-reply 12s infinite; }
.gp-wa-reply time { display: block; text-align: right; font-size: 9px; color: #667781; }
.gp-wa-msg:nth-of-type(1) { animation: gp-cycle 12s infinite; }
.gp-wa-msg:nth-of-type(2) { animation: gp-cycle 12s 4s infinite; }
.gp-wa-msg:nth-of-type(3) { animation: gp-cycle 12s 8s infinite; }
.gp-wa-side { display: none; max-width: 190px; }
@media (min-width: 480px) { .gp-wa-side { display: block; } }
.gp-wa-side p { margin: 0 0 10px; font-size: 13px; color: var(--muted); }
.gp-langs { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.gp-langs li { padding: 6px 10px; font-size: 13px; font-weight: 600; color: var(--muted); background: #fff; border: 1px solid var(--border); border-radius: 10px; }
.gp-langs li:nth-child(1) { animation: gp-lang 12s infinite; }
.gp-langs li:nth-child(2) { animation: gp-lang 12s 4s infinite; }
.gp-langs li:nth-child(3) { animation: gp-lang 12s 8s infinite; }
@keyframes gp-cycle { 0% { opacity: 0; transform: translateY(10px); } 4% { opacity: 1; transform: none; } 30% { opacity: 1; } 33.3%, 100% { opacity: 0; } }
@keyframes gp-lang { 0% { color: var(--muted); border-color: var(--border); } 3%, 30% { color: var(--blue); border-color: #c9d6ff; background: #f4f7ff; } 33.3%, 100% { color: var(--muted); border-color: var(--border); background: #fff; } }
@keyframes gp-reply { 0%, 20% { opacity: 0; transform: translateY(8px); } 24%, 31% { opacity: 1; transform: none; } 33.3%, 100% { opacity: 0; } }

/* A single static alert, for the step strip */
.gp-wa-card { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 14px; background: #efeae2; }
.gp-wa-card .gp-wa-msg { position: static; opacity: 1; animation: none; width: 100%; max-width: 250px; }

/* ── Share-link animation (real walk frames) ───────────────────────── */
.gp-share { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 9px; background: #1c1917 url("/landing/gaps/share-walk-a.jpg") center top / cover no-repeat; }
.gp-share-ring { position: absolute; top: 1.4%; right: 0.5%; width: 10.2%; height: 7%; border: 3px solid #3064ff; border-radius: 10px; box-shadow: 0 0 0 6px rgba(48, 100, 255, 0.25); animation: gp-ring 9s infinite; }
.gp-share-msg { position: absolute; left: 6%; bottom: 8%; width: 58%; padding: 10px 12px; font-size: 12.5px; line-height: 1.4; color: #1c1917; background: #fff; border-radius: 12px; box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.55); opacity: 0; animation: gp-msg 9s infinite; }
.gp-share-msg b { display: block; font-size: 11px; color: var(--muted); font-weight: 600; margin-bottom: 2px; }
.gp-share-msg u { color: var(--blue); text-decoration: none; font-weight: 600; }
.gp-share-win { position: absolute; inset: 7% 6%; overflow: hidden; background: #fff; border-radius: 10px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.7); opacity: 0; transform: scale(0.94); animation: gp-win 9s infinite; }
.gp-share-bar { display: flex; align-items: center; gap: 8px; padding: 7px 10px; font-size: 11px; color: #44403c; background: #f5f5f4; border-bottom: 1px solid #e7e5e4; }
.gp-share-bar i { flex: 1; padding: 3px 9px; font-style: normal; background: #fff; border: 1px solid #e7e5e4; border-radius: 999px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.gp-share-view { position: absolute; inset: 31px 0 0; background: url("/landing/gaps/share-walk-b.jpg") center / cover no-repeat; }
.gp-share-badge { position: absolute; left: 10px; bottom: 10px; padding: 5px 10px; font-size: 12px; font-weight: 600; color: #fff; background: rgba(12, 10, 9, 0.78); border-radius: 999px; }
.gp-share-steps { position: absolute; left: 0; right: 0; top: 10px; display: flex; justify-content: center; pointer-events: none; }
.gp-share-steps span { position: absolute; padding: 5px 12px; font-size: 12.5px; font-weight: 600; color: #fff; background: #3064ff; border-radius: 999px; opacity: 0; }
.gp-share-steps span:nth-child(1) { animation: gp-s1 9s infinite; }
.gp-share-steps span:nth-child(2) { animation: gp-s2 9s infinite; }
.gp-share-steps span:nth-child(3) { animation: gp-s3 9s infinite; }
@keyframes gp-ring { 0%, 30% { opacity: 1; } 33.3%, 100% { opacity: 0; } }
@keyframes gp-msg { 0%, 31% { opacity: 0; transform: translateY(10px); } 36%, 63% { opacity: 1; transform: none; } 66.6%, 100% { opacity: 0; } }
@keyframes gp-win { 0%, 64% { opacity: 0; transform: scale(0.94); } 69%, 97% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes gp-s1 { 0%, 30% { opacity: 1; } 33.3%, 100% { opacity: 0; } }
@keyframes gp-s2 { 0%, 33.3% { opacity: 0; } 36%, 63% { opacity: 1; } 66.6%, 100% { opacity: 0; } }
@keyframes gp-s3 { 0%, 66.6% { opacity: 0; } 69%, 97% { opacity: 1; } 100% { opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  .gp-wa-msg, .gp-langs li, .gp-wa-reply, .gp-share-ring, .gp-share-msg, .gp-share-win, .gp-share-steps span { animation: none; }
  .gp-wa-msg:nth-of-type(1), .gp-wa-reply, .gp-share-win, .gp-share-steps span:nth-child(3) { opacity: 1; transform: none; }
}

/* ── Round 2 (7 Nov 2026): before/after wipe, a day of scans, rain ponding, soil-nail review ── */
.gp-chip { position: absolute; z-index: 4; top: 10px; right: 10px; padding: 3px 9px; font-size: 11px; font-weight: 600; color: #44403c; background: rgba(255, 255, 255, 0.92); border-radius: 999px; }

/* Before/after wipe: two real captures of the same spot */
.gp-wipe { position: relative; aspect-ratio: 3 / 2; overflow: hidden; border-radius: 9px; background: #1c1917; }
.gp-wipe img, .cmp-frame .gp-wipe img, .cmp-tile .gp-wipe img { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; border-radius: 0; }
.gp-wipe-b { position: absolute; inset: 0; clip-path: inset(0 0 0 82%); animation: gp-wipe 9s ease-in-out infinite; }
.gp-wipe-line { position: absolute; top: 0; bottom: 0; left: 82%; width: 3px; margin-left: -1.5px; background: #fff; box-shadow: 0 0 0 1px rgba(12, 10, 9, 0.15); animation: gp-wipe-line 9s ease-in-out infinite; }
.gp-wipe-line::after { content: "\2039\00a0\203A"; position: absolute; top: 50%; left: 50%; display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; transform: translate(-50%, -50%); font-size: 17px; font-weight: 700; color: #1c1917; background: #fff; border-radius: 50%; box-shadow: 0 8px 18px -8px rgba(0, 0, 0, 0.6); }
.gp-wipe-tag { position: absolute; z-index: 3; bottom: 12px; padding: 4px 11px; font-size: 12.5px; font-weight: 700; color: #fff; background: rgba(12, 10, 9, 0.74); border-radius: 999px; }
.gp-wipe-tag--a { left: 12px; }
.gp-wipe-tag--b { right: 12px; background: #3064ff; }
.cmp-tile .gp-wipe { aspect-ratio: 16 / 10; border-radius: 0; }
.gp-flow-media .gp-wipe { aspect-ratio: auto; height: 100%; border-radius: 0; }
.gp-flow-media .gp-wipe-tag { bottom: 8px; padding: 3px 8px; font-size: 11px; }
@keyframes gp-wipe { 0%, 8% { clip-path: inset(0 0 0 82%); } 44%, 58% { clip-path: inset(0 0 0 18%); } 92%, 100% { clip-path: inset(0 0 0 82%); } }
@keyframes gp-wipe-line { 0%, 8% { left: 82%; } 44%, 58% { left: 18%; } 92%, 100% { left: 82%; } }

/* A day of scans: one walk versus a fixed LiDAR station */
.gp-day { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 14px; padding: 26px 26px 22px; }
.gp-day-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: 13px; color: var(--muted); }
.gp-day-head b { font-size: 15px; color: var(--heading); }
.gp-day-grid { position: relative; display: grid; grid-template-columns: 92px 1fr; gap: 12px 12px; align-items: center; }
.gp-day-label { font-size: 12.5px; font-weight: 700; color: var(--heading); line-height: 1.25; }
.gp-day-label small { display: block; font-weight: 500; color: var(--muted); }
.gp-day-track { position: relative; height: 38px; background: #fff; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.gp-day-ticks { background: #fff repeating-linear-gradient(90deg, #3064ff 0 2px, transparent 2px calc(100% / 48)) 4px 50% / 100% 60% no-repeat; }
.gp-day-ticks::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: 100%; background: #fff; animation: gp-day-reveal 10s linear infinite; }
.gp-day-walk { position: absolute; top: 50%; left: var(--t); width: 14px; height: 14px; margin: -7px 0 0 -7px; background: #f59e0b; border: 3px solid #fff; border-radius: 50%; box-shadow: 0 0 0 1px #f59e0b; }
.gp-day-walk::after { content: attr(data-label); position: absolute; left: 18px; top: -4px; white-space: nowrap; font-size: 11.5px; font-weight: 600; color: #92400e; }
.gp-day-event { position: absolute; top: -8px; bottom: -8px; left: calc(92px + 12px + (100% - 104px) * var(--t)); border-left: 2px dashed #dc2626; }
.gp-day-event span { position: absolute; top: -22px; left: -2px; transform: translateX(-50%); white-space: nowrap; padding: 2px 8px; font-size: 11px; font-weight: 700; color: #fff; background: #dc2626; border-radius: 999px; }
.gp-day-axis { display: grid; grid-template-columns: 92px 1fr; gap: 12px; font-size: 11px; color: var(--muted); }
.gp-day-axis div { display: flex; justify-content: space-between; }
.gp-day-note { display: flex; align-items: center; gap: 12px; padding: 10px 12px; background: #fff; border: 1px solid #c9d6ff; border-radius: 12px; box-shadow: 0 14px 30px -22px rgba(48, 100, 255, 0.6); opacity: 0; animation: gp-day-note 10s linear infinite; }
.gp-day-note img { flex: none; width: 74px; height: 50px; object-fit: cover; border-radius: 6px; }
.gp-day-note p { margin: 0; font-size: 12.5px; line-height: 1.4; color: var(--heading); }
.gp-day-note p span { color: var(--muted); }
@keyframes gp-day-reveal { 0% { width: 100%; } 90%, 100% { width: 0; } }
@keyframes gp-day-note { 0%, 58% { opacity: 0; transform: translateY(6px); } 62%, 96% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@media (max-width: 479px) { .gp-day { padding: 18px 14px; gap: 10px; } .gp-day-grid, .gp-day-axis { grid-template-columns: 70px 1fr; } .gp-day-event { left: calc(70px + 12px + (100% - 82px) * var(--t)); } .gp-day-note img { display: none; } }

/* Rain ponding (illustration) and soil-nail review (illustration): dark viewer look */
.gp-dark { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 9px; background: radial-gradient(120% 90% at 50% 0%, #1f2937 0%, #0b0f17 70%); }
.gp-dark svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.gp-levels { position: absolute; z-index: 3; left: 12px; top: 12px; display: grid; gap: 6px; list-style: none; margin: 0; padding: 0; }
.gp-levels li { padding: 4px 10px; font-size: 11.5px; font-weight: 600; color: #cbd5e1; background: rgba(15, 23, 42, 0.75); border: 1px solid rgba(148, 163, 184, 0.35); border-radius: 8px; }
.gp-levels li:nth-child(1) { animation: gp-lvl 12s infinite; }
.gp-levels li:nth-child(2) { animation: gp-lvl 12s 4s infinite; }
.gp-levels li:nth-child(3) { animation: gp-lvl 12s 8s infinite; }
.gp-pond { opacity: 0; }
.gp-pond--1 { animation: gp-pond 12s infinite; }
.gp-pond--2 { animation: gp-pond 12s 4s infinite; }
.gp-pond--3 { animation: gp-pond 12s 8s infinite; }
.gp-flow-arrow-path { stroke-dasharray: 10 8; animation: gp-dash 1.6s linear infinite; }
@keyframes gp-lvl { 0% { color: #cbd5e1; border-color: rgba(148, 163, 184, 0.35); } 3%, 30% { color: #fff; border-color: #60a5fa; background: rgba(37, 99, 235, 0.55); } 33.3%, 100% { color: #cbd5e1; border-color: rgba(148, 163, 184, 0.35); background: rgba(15, 23, 42, 0.75); } }
@keyframes gp-pond { 0% { opacity: 0; } 5%, 30% { opacity: 1; } 33.3%, 100% { opacity: 0; } }
@keyframes gp-dash { to { stroke-dashoffset: -18; } }

.gp-nail-box { opacity: 0; animation: gp-nail 10s infinite; animation-delay: var(--d); }
.gp-nail-panel { position: absolute; z-index: 3; right: 12px; top: 12px; bottom: 12px; width: 37%; display: flex; flex-direction: column; gap: 6px; padding: 10px; font-size: 11px; color: #e2e8f0; background: rgba(15, 23, 42, 0.86); border: 1px solid rgba(148, 163, 184, 0.3); border-radius: 10px; }
.gp-nail-panel b { font-size: 12px; color: #fff; }
.gp-nail-row { display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 6px 7px; background: rgba(30, 41, 59, 0.9); border-radius: 7px; opacity: 0; animation: gp-nail 10s infinite; animation-delay: var(--d); }
.gp-nail-row i { font-style: normal; padding: 1px 6px; font-size: 10px; font-weight: 700; border-radius: 999px; }
.gp-nail-ok i { color: #052e16; background: #4ade80; }
.gp-nail-no i { color: #451a03; background: #fbbf24; }
.gp-nail-actions { display: flex; gap: 5px; margin-top: auto; }
.gp-nail-actions span { flex: 1; padding: 5px 0; text-align: center; font-weight: 700; border-radius: 6px; }
.gp-nail-actions span:first-child { color: #fff; background: #3064ff; }
.gp-nail-actions span:last-child { color: #cbd5e1; border: 1px solid rgba(148, 163, 184, 0.45); }
@keyframes gp-nail { 0% { opacity: 0; } 4%, 92% { opacity: 1; } 100% { opacity: 0; } }
@media (max-width: 479px) { .gp-nail-panel { width: 46%; font-size: 10px; } .gp-levels li { font-size: 10px; } }

.gp-day-grid { margin-top: 20px; }
.gp-rainfall line { stroke: rgba(147, 197, 253, 0.5); stroke-width: 1.6; stroke-linecap: round; }
.gp-rainfall { animation: gp-rain 1.4s linear infinite; }
.gp-rainfall--b { animation-delay: -0.7s; }
@keyframes gp-rain { 0% { transform: translate(6px, -50px); opacity: 0; } 20% { opacity: 1; } 80% { opacity: 1; } 100% { transform: translate(-6px, 60px); opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .gp-rainfall { animation: none; opacity: 0.6; }
  .gp-wipe-b, .gp-wipe-line, .gp-day-ticks::after, .gp-day-note, .gp-levels li, .gp-pond, .gp-flow-arrow-path, .gp-nail-box, .gp-nail-row { animation: none; }
  .gp-wipe-b { clip-path: inset(0 0 0 50%); } .gp-wipe-line { left: 50%; }
  .gp-day-ticks::after { width: 0; } .gp-day-note, .gp-nail-box, .gp-nail-row, .gp-pond--2 { opacity: 1; }
}

/* ── Spacing standard (9 Nov 2026) ─────────────────────────────────
   One 8px scale for every gap page: 8 / 16 / 24 / 32 / 40 / 64 / 96.
   Heading to its text 8px (cards) or 16px (sections); section intro to content 40px;
   section to section 96px on desktop, 64px on phones; every card padded 24px. */
.cmp-page .cmp-body { padding-top: 64px; padding-bottom: 32px; }
.cmp-page .cmp-section, .cmp-page .cmp-band, .cmp-page .cmp-final { margin: 0 0 96px; }
.cmp-page .cmp-section > h2 { margin: 0 0 16px; line-height: 1.2; }
.cmp-page .cmp-lead { margin: 0 0 40px; line-height: 1.6; }
.cmp-page .cmp-section > h2 + :not(.cmp-lead) { margin-top: 40px; }

.cmp-page .cmp-hero .cmp-inner { gap: 40px; padding-top: 48px; padding-bottom: 48px; }
.cmp-page .cmp-eyebrow { margin: 0 0 16px; }
.cmp-page .cmp-hero h1 { margin: 0 0 16px; }
.cmp-page .cmp-hero .subhead { margin: 0 0 32px; line-height: 1.6; }
.cmp-page .cmp-hero .cmp-cta { margin: 0 0 24px; }
.cmp-page .cmp-proof { margin: 0 0 16px; }
.cmp-page .cmp-media figcaption { margin-top: 16px; }

.cmp-page .gp-flow, .cmp-page .cmp-tiles, .cmp-page .cmp-reasons, .cmp-page .cmp-steps { gap: 24px; }
.cmp-page .gp-flow-body, .cmp-page .cmp-tile-body, .cmp-page .cmp-reason, .cmp-page .cmp-steps li { padding: 24px; }
.cmp-page .gp-flow-body h3, .cmp-page .cmp-tile h3, .cmp-page .cmp-reason h3 { margin: 0 0 8px; line-height: 1.3; }
.cmp-page .gp-flow-body p, .cmp-page .cmp-tile p, .cmp-page .cmp-reason p { line-height: 1.6; }
.cmp-page .cmp-steps strong { margin-bottom: 8px; }
.cmp-page .cmp-reasons { margin: 0 0 24px; }

.cmp-page .cmp-card { padding: 32px 32px 16px; }
.cmp-page .cmp-card h3 { margin: 0 0 8px; }
.cmp-page .cmp-card li { padding: 16px 0 16px 32px; }
.cmp-page .cmp-card li::before { top: 18px; }
.cmp-page .cmp-card li strong { margin-bottom: 4px; }

.cmp-page .cmp-band { padding: 24px 32px; gap: 16px 32px; }
.cmp-page .cmp-band strong { margin-bottom: 4px; }

.cmp-page .cmp-faq summary { padding: 24px 0; }
.cmp-page .cmp-faq details p { margin: 0 0 24px; line-height: 1.6; }

.cmp-page .cmp-final { padding: 64px 32px; }
.cmp-page .cmp-final h2 { margin: 0 0 16px; }
.cmp-page .cmp-final p { margin: 0 auto 32px; }
.cmp-page .cmp-related h2 { margin: 0 0 16px; }

@media (min-width: 960px) {
  .cmp-page .cmp-hero .cmp-inner { gap: 64px; padding-top: 64px; padding-bottom: 64px; }
}
@media (max-width: 759px) {
  .cmp-page .cmp-body { padding-top: 48px; }
  .cmp-page .cmp-section, .cmp-page .cmp-band, .cmp-page .cmp-final { margin-bottom: 64px; }
  .cmp-page .cmp-lead { margin-bottom: 32px; }
  .cmp-page .cmp-section > h2 + :not(.cmp-lead) { margin-top: 32px; }
  .cmp-page .gp-flow, .cmp-page .cmp-tiles, .cmp-page .cmp-reasons, .cmp-page .cmp-steps { gap: 16px; }
  .cmp-page .gp-flow-body, .cmp-page .cmp-tile-body, .cmp-page .cmp-reason, .cmp-page .cmp-steps li { padding: 20px; }
  .cmp-page .cmp-card { padding: 24px 24px 8px; }
  .cmp-page .cmp-band { padding: 24px; }
  .cmp-page .cmp-final { padding: 48px 24px; }
}

/* ── Crack illustration (pre-construction condition survey, 9 Nov 2026) ── */
.gp-wall { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 9px; background: #d9d2c7; }
.gp-wall svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.gp-dates { position: absolute; z-index: 3; left: 12px; top: 12px; display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.gp-dates li { padding: 4px 10px; font-size: 11.5px; font-weight: 600; color: #57534e; background: rgba(255, 255, 255, 0.82); border: 1px solid rgba(87, 83, 78, 0.25); border-radius: 8px; }
.gp-dates li:nth-child(1) { animation: gp-date 10s infinite; }
.gp-dates li:nth-child(2) { animation: gp-date 10s 5s infinite; }
@keyframes gp-date { 0%, 2% { color: #57534e; background: rgba(255, 255, 255, 0.82); border-color: rgba(87, 83, 78, 0.25); } 4%, 47% { color: #fff; background: #3064ff; border-color: #3064ff; } 50%, 100% { color: #57534e; background: rgba(255, 255, 255, 0.82); border-color: rgba(87, 83, 78, 0.25); } }
.gp-crack-card { position: absolute; z-index: 3; display: flex; align-items: flex-start; gap: 8px; max-width: 38%; padding: 8px 10px; font-size: 11.5px; line-height: 1.35; color: #e2e8f0; background: rgba(15, 23, 42, 0.9); border-radius: 10px; box-shadow: 0 10px 24px -12px rgba(0, 0, 0, 0.5); }
.gp-crack-card b { display: block; margin-bottom: 2px; font-size: 12px; color: #fff; }
.gp-crack-card i { flex: none; display: grid; place-items: center; width: 18px; height: 18px; font-style: normal; font-size: 11px; font-weight: 700; color: #fff; border-radius: 50%; }
.gp-crack-card--old i { background: #3064ff; }
.gp-crack-card--new i { background: #dc2626; }
.gp-crack-old { opacity: 0; animation: gp-old 10s infinite; }
.gp-crack-new { opacity: 0; animation: gp-new 10s infinite; }
.gp-crack-draw { stroke-dasharray: 1; stroke-dashoffset: 1; animation: gp-draw 10s infinite; }
@keyframes gp-old { 0%, 3% { opacity: 0; } 7%, 97% { opacity: 1; } 100% { opacity: 0; } }
@keyframes gp-new { 0%, 58% { opacity: 0; } 63%, 97% { opacity: 1; } 100% { opacity: 0; } }
@keyframes gp-draw { 0%, 52% { stroke-dashoffset: 1; } 60%, 100% { stroke-dashoffset: 0; } }
@media (max-width: 479px) { .gp-crack-card { max-width: 46%; font-size: 10px; } .gp-crack-card b { font-size: 10.5px; } .gp-dates li { font-size: 10px; } }
@media (prefers-reduced-motion: reduce) {
  .gp-dates li, .gp-crack-old, .gp-crack-new, .gp-crack-draw { animation: none; }
  .gp-crack-old, .gp-crack-new { opacity: 1; }
  .gp-crack-draw { stroke-dashoffset: 0; }
}
