/* Hope Taps · crafted sections: Why Us visuals, Paybotx certificate, hardware showroom,
   Valley map, footer. Theme: midnight sapphire + honey gold. */

.x-head { max-width: 720px; margin: 0 auto clamp(48px, 6vw, 72px); text-align: center; }
.x-head .sec-h { margin-top: 24px; }
.x-head .body-text { margin: 18px auto 0; max-width: 600px; }

/* shared card language */
.x-card {
  position: relative; z-index: 2;
  padding: clamp(24px, 3vw, 38px);
  border-radius: 20px;
  background: linear-gradient(165deg, rgba(18, 30, 82, 0.78), rgba(6, 11, 36, 0.94));
  border: 1px solid rgba(212, 162, 60, 0.16);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.85), inset 0 1px 0 rgba(242, 209, 138, 0.08);
}
.x-card::before, .x-cert::before {
  content: ""; position: absolute; top: 0; left: 12%; right: 12%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(242, 209, 138, 0.7), transparent);
}
.x-card-top, .x-paper-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 18px; margin-bottom: 8px; border-bottom: 1px solid rgba(212, 162, 60, 0.12); }
.x-card-title { font-family: 'DM Sans', sans-serif; font-size: 12px; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; color: var(--ink-3); }
.x-pill { flex: none; padding: 5px 12px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; }
.x-pill.bad { color: var(--red-soft); background: rgba(216, 102, 90, 0.12); border: 1px solid rgba(216, 102, 90, 0.32); }
.x-pill.good { color: var(--gold); background: rgba(212, 162, 60, 0.1); border: 1px solid rgba(212, 162, 60, 0.32); }
.x-card-note { margin: 18px 0 0; font-size: 13px; color: var(--ink-3); }

/* ── Chapter 01 · the leak ── */
.x-leak-row { padding: 18px 0 20px; border-bottom: 1px dashed rgba(157, 176, 232, 0.14); }
.x-leak-row:last-of-type { border-bottom: 0; }
.x-leak-meta { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 12px; }
.x-leak-meta span { font-size: 15px; color: var(--ink-2); }
.x-leak-meta b { font-family: 'Fraunces', serif; font-weight: 300; font-size: clamp(24px, 2.4vw, 30px); letter-spacing: -0.02em; color: var(--red-soft); font-variant-numeric: tabular-nums; }
.x-pipe { position: relative; height: 12px; border-radius: 6px; background: rgba(157, 176, 232, 0.07); box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.5); }
.x-pipe i {
  position: absolute; left: 0; top: 0; bottom: 0; width: calc(var(--w) * 100%); border-radius: 6px; overflow: hidden;
  background: linear-gradient(90deg, #6e1c18, #c4473b 55%, #ff8f7d);
  box-shadow: 0 0 18px rgba(216, 102, 90, 0.35);
  transform: scaleX(0); transform-origin: left;
  transition: transform 1.6s cubic-bezier(0.22, 1, 0.36, 1) calc(var(--i) * 180ms);
}
.x-pipe i::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, transparent 30%, rgba(255, 220, 210, 0.45) 50%, transparent 70%);
  background-size: 220% 100%; animation: xSheen 3.2s linear infinite;
}
.x-drip {
  position: absolute; top: 7px; left: calc(var(--w) * 100% - 6px); width: 7px; height: 9px;
  border-radius: 50% 50% 50% 50% / 62% 62% 38% 38%;
  background: radial-gradient(circle at 40% 35%, #ffb3a6, #d8665a 70%);
  opacity: 0;
}
[data-x].is-in .x-pipe i { transform: scaleX(1); }
[data-x].is-in .x-drip { animation: xDrip 2.4s cubic-bezier(0.5, 0, 0.9, 0.6) calc(1.6s + var(--i) * 0.5s) infinite; }
@keyframes xSheen { from { background-position: 130% 0; } to { background-position: -90% 0; } }
@keyframes xDrip { 0% { opacity: 0; transform: translateY(-4px) scale(0.3); } 18% { opacity: 1; transform: translateY(0) scale(1); } 32% { transform: translateY(1px) scale(1, 1.12); } 72% { opacity: 1; } 100% { opacity: 0; transform: translateY(30px) scale(0.85, 1.2); } }

/* ── Chapter 02 · two phone calls ── */
.x-calls { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.x-phone {
  position: relative; display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 20px 18px 0; border-radius: 28px; overflow: hidden;
  border: 1px solid rgba(157, 176, 232, 0.14);
  box-shadow: 0 40px 70px -40px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.x-phone.them { background: linear-gradient(175deg, rgba(64, 20, 34, 0.55), rgba(8, 11, 38, 0.95) 60%); }
.x-phone.us { background: linear-gradient(175deg, rgba(92, 64, 10, 0.4), rgba(8, 13, 44, 0.96) 60%); border-color: rgba(212, 162, 60, 0.3); }
.x-phone-bar { align-self: stretch; display: flex; align-items: center; justify-content: center; gap: 8px; margin-bottom: 20px; font-size: 11px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; }
.them .x-phone-bar { color: var(--red-soft); }
.us .x-phone-bar { color: var(--gold); }
.x-led { width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 10px currentColor; }
.us .x-led { background: #7dcfa8; box-shadow: 0 0 0 0 rgba(125, 207, 168, 0.6); animation: xPulse 2s ease-out infinite; }
.x-phone-face { position: relative; width: 74px; height: 74px; margin-bottom: 14px; border-radius: 50%; }
.x-phone-face img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 2px solid rgba(212, 162, 60, 0.7); }
.us .x-phone-face::before, .us .x-phone-face::after { content: ""; position: absolute; inset: -2px; border-radius: 50%; border: 1.5px solid rgba(212, 162, 60, 0.55); animation: xRing 2.6s ease-out infinite; }
.us .x-phone-face::after { animation-delay: 1.3s; }
.x-phone-face.hold { display: grid; place-items: center; color: var(--red-soft); background: rgba(216, 102, 90, 0.1); border: 1px solid rgba(216, 102, 90, 0.3); }
.x-phone-face.hold svg path { transform-origin: 12px 12px; animation: xSpin 6s linear infinite; }
.x-phone-who { font-family: 'Fraunces', serif; font-size: 19px; font-weight: 400; color: var(--ink); letter-spacing: -0.01em; }
.x-phone-time { margin: 6px 0 2px; font-family: 'DM Sans', sans-serif; font-weight: 300; font-size: clamp(30px, 3.2vw, 40px); line-height: 1; letter-spacing: 0.02em; font-variant-numeric: tabular-nums; }
.them .x-phone-time { color: var(--red-soft); }
.us .x-phone-time { color: var(--gold-light); }
.x-phone-state { min-height: 1.4em; font-size: 13px; color: var(--ink-3); }
.x-wave { display: flex; align-items: center; justify-content: center; gap: 4px; height: 44px; margin: 14px 0 0; }
.x-wave i { width: 3px; border-radius: 2px; }
.x-wave.flat i { height: 3px; background: rgba(157, 176, 232, 0.3); }
.x-wave.live i { height: 30px; background: linear-gradient(180deg, var(--gold-light), var(--gold)); transform: scaleY(0.2); animation: xWave 1.1s ease-in-out infinite; }
.x-wave.live i:nth-child(3n) { animation-duration: 0.9s; }
.x-wave.live i:nth-child(3n+1) { animation-duration: 1.3s; }
.x-wave.live i:nth-child(2) { animation-delay: -0.2s; } .x-wave.live i:nth-child(4) { animation-delay: -0.5s; } .x-wave.live i:nth-child(5) { animation-delay: -0.8s; }
.x-wave.live i:nth-child(7) { animation-delay: -0.3s; } .x-wave.live i:nth-child(8) { animation-delay: -0.65s; } .x-wave.live i:nth-child(10) { animation-delay: -0.4s; }
.x-wave.live i:nth-child(11) { animation-delay: -0.9s; } .x-wave.live i:nth-child(13) { animation-delay: -0.15s; } .x-wave.live i:nth-child(14) { animation-delay: -0.7s; }
.x-phone-sum { align-self: stretch; margin-top: 16px; padding: 14px 8px 16px; border-top: 1px solid rgba(157, 176, 232, 0.12); font-size: 13.5px; color: var(--ink-3); }
.them .x-phone-sum b { color: var(--red-soft); }
.us .x-phone-sum b { color: var(--gold-light); }
.x-calls-foot { grid-column: 1 / -1; margin: 0; padding: 16px 20px; border-radius: 16px; text-align: center; font-size: 15px; line-height: 1.5; color: var(--ink-2); background: rgba(212, 162, 60, 0.06); border: 1px solid rgba(212, 162, 60, 0.16); }
.x-calls-foot strong { color: var(--gold-light); }
@keyframes xWave { 0%, 100% { transform: scaleY(0.18); } 50% { transform: scaleY(1); } }
@keyframes xRing { 0% { transform: scale(1); opacity: 0.9; } 100% { transform: scale(1.55); opacity: 0; } }
@keyframes xPulse { 0% { box-shadow: 0 0 0 0 rgba(125, 207, 168, 0.6); } 100% { box-shadow: 0 0 0 9px rgba(125, 207, 168, 0); } }
@keyframes xSpin { to { transform: rotate(360deg); } }

/* ── Chapter 03 · the contract ── */
.x-contract { position: relative; z-index: 2; padding: 0 8px 0 0; }
.x-paper {
  position: relative; padding: 26px clamp(22px, 3vw, 34px) 30px;
  border-radius: 6px;
  background:
    repeating-linear-gradient(180deg, transparent 0 33px, rgba(157, 176, 232, 0.06) 33px 34px),
    linear-gradient(170deg, #121d52, #0a1238);
  border: 1px solid rgba(157, 176, 232, 0.16);
  box-shadow: 0 50px 80px -40px rgba(0, 0, 0, 0.9), 0 2px 0 rgba(255, 255, 255, 0.03) inset;
  transform: rotate(-1.4deg);
}
.x-paper::after { content: ""; position: absolute; top: -1px; right: -1px; width: 26px; height: 26px; background: linear-gradient(225deg, #050a24 50%, #24346f 50%); border-bottom-left-radius: 4px; box-shadow: -2px 2px 4px rgba(0, 0, 0, 0.35); }
.x-paper-doc { margin: 12px 0 6px; font-family: 'Fraunces', serif; font-style: italic; font-size: 15px; color: var(--ink-3); }
.x-clauses { list-style: none; margin: 0; padding: 0; }
.x-clauses li { display: flex; align-items: baseline; gap: 14px; padding: 13px 0; border-bottom: 1px solid rgba(157, 176, 232, 0.08); }
.x-cl-n { flex: none; width: 2.2em; font-family: 'Fraunces', serif; font-size: 14px; color: var(--gold-deep); }
.x-cl-t {
  font-size: 15.5px; color: var(--ink-2);
  background-image: linear-gradient(var(--red-soft), var(--red-soft)); background-repeat: no-repeat; background-position: 0 55%; background-size: 0% 1.6px;
  transition: background-size 0.6s cubic-bezier(0.65, 0, 0.35, 1) calc(0.5s + var(--i) * 0.38s), color 0.6s calc(0.5s + var(--i) * 0.38s);
}
[data-x].is-in .x-cl-t { background-size: 100% 1.6px; color: rgba(157, 176, 232, 0.6); }
.x-sign { display: flex; align-items: flex-end; gap: 12px; margin-top: 22px; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-4); }
.x-sign i { flex: 1; border-bottom: 1px dashed rgba(157, 176, 232, 0.3); transform: translateY(-4px); }
.x-sign b { font-family: 'Fraunces', serif; font-size: 22px; font-weight: 300; color: var(--red-soft); letter-spacing: 0; }
.x-void {
  position: absolute; right: 9%; top: 44%; padding: 6px 18px 4px; border: 3px solid rgba(230, 139, 122, 0.85); border-radius: 8px;
  font-family: 'DM Sans', sans-serif; font-size: clamp(28px, 3.4vw, 40px); font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(230, 139, 122, 0.9);
  opacity: 0; transform: rotate(-14deg) scale(1.8);
  transition: opacity 0.2s 2.3s, transform 0.45s cubic-bezier(0.3, 1.6, 0.5, 1) 2.3s;
  pointer-events: none;
}
[data-x].is-in .x-void { opacity: 0.85; transform: rotate(-14deg) scale(1); }
.x-resolve {
  position: relative; z-index: 2; display: flex; align-items: center; gap: 18px;
  margin: -18px 18px 0 32px; padding: 16px 22px 16px 16px; border-radius: 16px;
  background: linear-gradient(135deg, rgba(60, 42, 8, 0.6), rgba(10, 17, 52, 0.96));
  border: 1px solid rgba(212, 162, 60, 0.45);
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.8), 0 0 40px -12px rgba(212, 162, 60, 0.35);
  opacity: 0; transform: translateY(16px);
  transition: opacity 0.6s 2.8s, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1) 2.8s;
}
[data-x].is-in .x-resolve { opacity: 1; transform: none; }
.x-resolve p { margin: 0; font-size: 15.5px; line-height: 1.45; color: var(--ink-2); }
.x-resolve strong { color: var(--gold-light); }
.x-seal { position: relative; flex: none; width: 66px; height: 66px; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle at 38% 32%, #F4DCA0, #D4A23C 45%, #8C5E14 100%);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.5), inset 0 -3px 6px rgba(120, 60, 0, 0.5), inset 0 2px 3px rgba(255, 240, 200, 0.6); }
.x-seal svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: xSpin 40s linear infinite; }
.x-seal text { font-family: 'DM Sans', sans-serif; font-size: 9.5px; font-weight: 700; letter-spacing: 0.08em; fill: rgba(70, 36, 0, 0.75); }
.x-seal span { font-family: 'Fraunces', serif; font-style: italic; font-size: 19px; font-weight: 500; color: #4a2600; }
@media (max-width: 600px) {
  .x-calls { grid-template-columns: 1fr 1fr; gap: 10px; }
  .x-phone { padding: 16px 10px 0; border-radius: 22px; }
  .x-phone-bar { font-size: 10px; letter-spacing: 0.14em; margin-bottom: 14px; }
  .x-phone-face { width: 58px; height: 58px; }
  .x-phone-who { font-size: 16px; }
  .x-phone-state { font-size: 12px; }
  .x-wave { gap: 3px; }
  .x-wave i:nth-child(n+11) { display: none; }
  .x-phone-sum { font-size: 12.5px; }
  .x-resolve { margin: -14px 6px 0 14px; }
  .x-void { right: 6%; top: 40%; }
}

/* ── Paybotx certificate ── */
.x-partner .x-head .sec-h { font-size: clamp(2rem, 4vw, 3.2rem); }
.x-cert {
  position: relative; padding: 9px; border-radius: 24px;
  background: linear-gradient(160deg, rgba(20, 34, 92, 0.75), rgba(5, 9, 32, 0.96));
  border: 1px solid rgba(212, 162, 60, 0.3);
  box-shadow: 0 60px 110px -50px rgba(0, 0, 0, 0.9), 0 0 80px -40px rgba(212, 162, 60, 0.3);
}
.x-cert-frame {
  display: grid; grid-template-columns: 0.9fr 1.3fr; border-radius: 17px; overflow: hidden;
  border: 1px solid rgba(212, 162, 60, 0.14);
}
.x-cert-left { position: relative; display: grid; place-items: center; min-height: 380px; overflow: hidden; background: #ffffff; border-right: 1px solid rgba(212, 162, 60, 0.35); }
.x-cert-mark { position: relative; display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 30px 26px; text-align: center;
  background: none; }
.x-cert-mark .x-pbx { background: linear-gradient(180deg, #1b2a66, #0b1438); -webkit-background-clip: text; background-clip: text; color: transparent; }
.x-cert-mark .x-pbx span { background: linear-gradient(135deg, #2f6bff 0 50%, #f5b400 50% 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.x-cert-seal { padding: 6px 14px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: #1E1404; background: linear-gradient(180deg, #F4DCA0, #D4A23C); box-shadow: 0 6px 20px -6px rgba(212, 162, 60, 0.7); }
.x-pbx { font-family: 'DM Sans', sans-serif; font-weight: 700; letter-spacing: 0.14em; background: linear-gradient(180deg, #f7f9ff 20%, #a9b6dc); -webkit-background-clip: text; background-clip: text; color: transparent; white-space: nowrap; }
.x-pbx span { background: linear-gradient(135deg, #3b7bff 0 50%, #ffc21a 50% 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.x-cert-mark .x-pbx { font-size: clamp(34px, 4.4vw, 50px); line-height: 1; }
.x-cert-since { font-size: 12px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: #4a5a8c; }
.x-cert-right { padding: clamp(28px, 4vw, 52px); }
.x-cert-kicker { color: var(--gold) !important; margin-bottom: 14px; font-size: 11.5px !important; }
.x-cert-h { margin: 0 0 18px; font-family: 'Fraunces', serif; font-weight: 400; font-size: clamp(1.6rem, 2.6vw, 2.2rem); line-height: 1.12; letter-spacing: -0.02em; color: var(--ink); }
.x-cert-h em { font-style: italic; background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.x-cert-p { margin: 0 0 14px; font-size: 15.5px; line-height: 1.7; color: var(--ink-2); }
.x-cert-p strong { color: var(--ink); font-weight: 600; }
.x-cert-p.dim { color: var(--ink-3); }
.x-cert-stats { display: grid; grid-template-columns: repeat(3, 1fr); margin: 26px 0 0; padding-top: 24px; border-top: 1px solid rgba(212, 162, 60, 0.14); }
.x-cert-stats div + div { padding-left: 20px; border-left: 1px solid rgba(212, 162, 60, 0.14); }
.x-cert-stats dt { font-family: 'Fraunces', serif; font-weight: 300; font-size: clamp(28px, 3vw, 38px); line-height: 1; letter-spacing: -0.03em; background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.x-cert-stats dt small { margin-left: 5px; font-size: 0.48em; letter-spacing: 0; }
.x-cert-stats dd { margin: 10px 0 0; font-size: 11.5px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-3); }
.x-cert-nets { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 0; padding: 16px 12px 8px; }
.x-cert-nets span { font-size: 12px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-3); }
.x-cert-nets span + span::before { content: "◆"; margin: 0 16px; font-size: 7px; vertical-align: 2px; color: var(--gold); }
.x-fine { margin: 22px auto 0; max-width: 560px; text-align: center; font-size: 12px; line-height: 1.6; letter-spacing: 0.04em; color: var(--ink-4); }
@media (max-width: 860px) {
  .x-cert-frame { grid-template-columns: 1fr; }
  .x-cert-left { min-height: 250px; border-right: 0; border-bottom: 1px solid rgba(212, 162, 60, 0.35); }
  .x-cert-stats div + div { padding-left: 12px; }
  .x-cert-stats dd { font-size: 10.5px; letter-spacing: 0.12em; }
  .x-cert-stats dt { font-size: 25px; }
  .x-cert-stats dt small { display: none; }
  .x-cert-nets span + span::before { margin: 0 10px; }
}

/* ── Hardware showroom ── */
.x-hw-rail { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1240px; margin: 0 auto; padding: 18px clamp(16px, 3vw, 40px) 0; }
.x-hw {
  position: relative; display: flex; flex-direction: column; overflow: hidden; border-radius: 24px;
  background: linear-gradient(180deg, rgba(18, 30, 82, 0.75), rgba(5, 9, 32, 0.96));
  border: 1px solid rgba(212, 162, 60, 0.14);
  box-shadow: 0 50px 90px -50px rgba(0, 0, 0, 0.9);
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.4s, box-shadow 0.6s;
}
.x-hw.is-star { border-color: rgba(212, 162, 60, 0.6); box-shadow: 0 50px 90px -50px rgba(0, 0, 0, 0.9), 0 0 60px -20px rgba(212, 162, 60, 0.45); }
.x-hw-stage { position: relative; aspect-ratio: 16 / 11; display: grid; place-items: center; overflow: hidden;
  background: radial-gradient(55% 70% at 50% -5%, rgba(242, 209, 138, 0.24), rgba(242, 209, 138, 0.04) 55%, transparent 75%); }
.x-hw-stage::after { content: ""; position: absolute; left: 14%; right: 14%; bottom: 9%; height: 16%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0, 0, 0, 0.6), transparent), radial-gradient(closest-side, rgba(212, 162, 60, 0.2), transparent 80%); }
.x-hw-stage img { position: relative; z-index: 1; width: 86%; height: 82%; object-fit: contain;
  filter: drop-shadow(0 26px 22px rgba(0, 0, 0, 0.55));
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1); }
.x-hw-tag { position: absolute; z-index: 2; top: 16px; left: 16px; padding: 6px 12px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-2); background: rgba(4, 8, 32, 0.75); border: 1px solid rgba(157, 176, 232, 0.2); }
.is-star .x-hw-tag { color: #1E1404; background: linear-gradient(180deg, #F4DCA0, #D4A23C); border-color: transparent; }
.x-hw-body { display: flex; flex: 1; flex-direction: column; padding: 24px 26px 26px; border-top: 1px solid rgba(212, 162, 60, 0.1); }
.x-hw-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.x-hw h3 { margin: 0; font-family: 'Fraunces', serif; font-weight: 400; font-size: clamp(22px, 2vw, 26px); letter-spacing: -0.015em; color: var(--ink); }
.x-hw-price { flex: none; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; color: var(--gold-light); border: 1px solid rgba(212, 162, 60, 0.35); }
.x-hw p { margin: 0 0 18px; font-size: 15px; line-height: 1.6; color: var(--ink-3); }
.x-hw ul { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 0; }
.x-hw li { display: flex; align-items: center; gap: 12px; padding: 10px 0; font-size: 14.5px; color: var(--ink-2); border-top: 1px solid rgba(157, 176, 232, 0.08); }
.x-hw li svg { flex: none; color: var(--gold); }
.x-hw .btn { margin-top: auto; width: 100%; justify-content: center; }
.x-rail-dots { display: none; }
@media (hover: hover) {
  .x-hw:hover { transform: translateY(-8px); border-color: rgba(212, 162, 60, 0.4); }
  .x-hw:hover .x-hw-stage img { transform: translateY(-6px) scale(1.04); }
}
@media (min-width: 900px) { .x-hw.is-star { transform: translateY(-14px); } .x-hw.is-star:hover { transform: translateY(-22px); } }
@media (max-width: 899px) {
  .x-hw-rail { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 20px; padding: 12px 20px 8px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .x-hw-rail::-webkit-scrollbar { display: none; }
  .x-hw { flex: 0 0 min(82vw, 360px); scroll-snap-align: start; }
  .x-rail-dots { display: flex; justify-content: center; gap: 8px; margin-top: 18px; }
  .x-rail-dots i { width: 7px; height: 7px; border-radius: 4px; background: rgba(157, 176, 232, 0.3); transition: width 0.35s, background-color 0.35s; }
  .x-rail-dots i.on { width: 22px; background: var(--gold); }
}

/* ── Valley map ── */
.x-cov-head { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: end; margin-bottom: 48px; }
.x-cov-head .sec-h { margin-top: 24px; }
.x-cov-head .body-text { margin-bottom: 22px; }
.x-cov-stats { display: flex; gap: 28px; margin: 0; }
.x-cov-stats div + div { padding-left: 28px; border-left: 1px solid rgba(212, 162, 60, 0.16); }
.x-cov-stats dt { font-family: 'Fraunces', serif; font-weight: 300; font-size: 2rem; line-height: 1; letter-spacing: -0.03em; background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.x-cov-stats dd { margin: 8px 0 0; font-size: 11.5px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-3); }
.x-cov { display: grid; grid-template-columns: 1.05fr 1fr; overflow: hidden; border-radius: 24px;
  background: linear-gradient(160deg, rgba(18, 30, 82, 0.7), rgba(5, 9, 32, 0.95)); border: 1px solid rgba(212, 162, 60, 0.16);
  box-shadow: 0 60px 110px -60px rgba(0, 0, 0, 0.9); }
.x-map { position: relative; padding: clamp(14px, 3vw, 36px);
  background: radial-gradient(60% 50% at 18% 12%, rgba(212, 162, 60, 0.1), transparent 70%),
    linear-gradient(rgba(157, 176, 232, 0.035) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(90deg, rgba(157, 176, 232, 0.035) 1px, transparent 1px) 0 0 / 32px 32px; }
.x-map-svg { display: block; width: 100%; height: auto; max-height: 620px; margin: 0 auto; overflow: visible; }
.x-contours path { fill: none; stroke: rgba(212, 162, 60, 0.13); stroke-width: 0.8; }
.x-range { font-family: 'DM Sans', sans-serif; font-size: 9px; font-weight: 700; letter-spacing: 0.32em; fill: rgba(212, 162, 60, 0.38); }
.x-hwy-bed { fill: none; stroke: rgba(157, 176, 232, 0.13); stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; }
.x-hwy { fill: none; stroke: #D4A23C; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2.4s cubic-bezier(0.65, 0, 0.35, 1) 0.2s; filter: drop-shadow(0 0 4px rgba(212, 162, 60, 0.6)); }
.x-shield path { fill: #0a1338; stroke: #D4A23C; stroke-width: 1.2; }
.x-shield text { font-family: 'DM Sans', sans-serif; font-size: 10px; font-weight: 700; fill: #F2D18A; }
.x-arc { fill: none; stroke: rgba(242, 209, 138, 0.5); stroke-width: 1; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.1s cubic-bezier(0.22, 1, 0.36, 1) var(--d); }
.x-town circle { fill: #f7f9ff; stroke: #D4A23C; stroke-width: 1.6; transform-box: fill-box; transform-origin: center; transform: scale(0); transition: transform 0.6s cubic-bezier(0.3, 1.6, 0.5, 1) var(--d), fill 0.3s; }
.x-town text { font-family: 'DM Sans', sans-serif; font-size: 12.5px; font-weight: 600; fill: var(--ink-2); opacity: 0; transition: opacity 0.6s var(--d), fill 0.3s; }
.x-town.hub circle { fill: #D4A23C; stroke: #F4DCA0; }
.x-town.hub text { font-family: 'Fraunces', serif; font-style: italic; font-size: 19px; font-weight: 400; fill: #F2D18A; }
.x-town.hot circle { fill: #D4A23C; transform: scale(1.5); transition-delay: 0s; }
.x-town.hot text { fill: #F2D18A; transition-delay: 0s; }
.x-ring { fill: none; stroke: #D4A23C; stroke-width: 1.4; transform-box: fill-box; transform-origin: center; animation: xHub 3.2s ease-out infinite; }
.x-ring.r2 { animation-delay: 1.6s; }
@keyframes xHub { 0% { transform: scale(0.7); opacity: 0.9; } 100% { transform: scale(4.4); opacity: 0; } }
[data-x].is-in .x-hwy, [data-x].is-in .x-arc { stroke-dashoffset: 0; }
[data-x].is-in .x-town circle { transform: scale(1); }
[data-x].is-in .x-town text { opacity: 1; }
[data-x].is-in .x-town.hot circle { transform: scale(1.5); }
.x-cov-side { display: flex; flex-direction: column; padding: clamp(24px, 3.4vw, 44px); border-left: 1px solid rgba(212, 162, 60, 0.12); }
.x-hub-card { display: flex; align-items: center; gap: 16px; padding: 20px; border-radius: 16px; background: linear-gradient(135deg, rgba(212, 162, 60, 0.14), rgba(212, 162, 60, 0.03)); border: 1px solid rgba(212, 162, 60, 0.32); }
.x-hub-pin { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; color: #F2D18A; background: rgba(212, 162, 60, 0.12); border: 1px solid rgba(212, 162, 60, 0.35); }
.x-hub-name { margin: 0; font-family: 'Fraunces', serif; font-size: 30px; font-weight: 400; line-height: 1; letter-spacing: -0.02em; color: var(--ink); }
.x-hub-sub { margin: 8px 0 0; font-size: 12px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); }
.x-cov-label { margin: 28px 0 14px; font-size: 12px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-3); }
.x-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.x-chips li { padding: 9px 15px; border-radius: 999px; font-size: 14.5px; font-weight: 500; color: var(--ink-2); background: rgba(16, 27, 74, 0.55); border: 1px solid rgba(212, 162, 60, 0.14); cursor: default; transition: color 0.25s, background-color 0.25s, border-color 0.25s, transform 0.25s; }
.x-chips li.hot { color: #F2D18A; background: rgba(212, 162, 60, 0.12); border-color: rgba(212, 162, 60, 0.5); transform: translateY(-2px); }
.x-cov-ask { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: auto; padding-top: 28px; border-top: 1px solid rgba(212, 162, 60, 0.12); }
.x-cov-side .x-chips { margin-bottom: 30px; }
.x-promise { list-style: none; margin: 0 0 30px; padding: 0; display: grid; gap: 0; }
.x-promise li { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-top: 1px solid rgba(157, 176, 232, 0.08); font-size: 15px; color: var(--ink-2); }
.x-promise li:last-child { border-bottom: 1px solid rgba(157, 176, 232, 0.08); }
.x-promise b { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; color: var(--gold); background: rgba(212, 162, 60, 0.08); border: 1px solid rgba(212, 162, 60, 0.25); }
.x-ask-h { margin: 0; font-size: 16px; font-weight: 600; color: var(--ink); }
.x-ask-p { margin: 3px 0 0; font-size: 14px; color: var(--ink-3); }
@media (max-width: 900px) {
  .x-cov-head { grid-template-columns: 1fr; align-items: start; }
  .x-cov { grid-template-columns: 1fr; }
  .x-cov-side { border-left: 0; border-top: 1px solid rgba(212, 162, 60, 0.12); }
  .x-map-svg { max-height: 520px; }
  .x-town text { font-size: 13.5px; }
}

/* ── Footer ── */
.x-foot { position: relative; overflow: hidden; padding: 0 0 26px !important; }
.x-foot-sun { position: absolute; left: 50%; top: 0; width: min(1100px, 140vw); height: 440px; transform: translateX(-50%); pointer-events: none;
  background: radial-gradient(50% 60% at 50% 100%, rgba(212, 162, 60, 0.2), rgba(212, 162, 60, 0.05) 50%, transparent 72%); }
.x-foot-sun::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(242, 209, 138, 0.7), transparent); }
.x-foot-sun i { position: absolute; left: 50%; bottom: 0; width: 180px; height: 90px; transform: translateX(-50%); border-radius: 180px 180px 0 0;
  background: radial-gradient(circle at 50% 100%, #fff3cf, #F2D18A 35%, #D4A23C 70%, rgba(212, 162, 60, 0.6));
  box-shadow: 0 0 80px 20px rgba(212, 162, 60, 0.28); opacity: 0.9; }
.x-foot-sun i::before, .x-foot-sun i::after { content: ""; position: absolute; left: 50%; background: rgba(255, 255, 255, 0.9); box-shadow: 0 0 12px rgba(255, 255, 255, 0.8); border-radius: 2px; }
.x-foot-sun i::before { width: 6px; height: 54px; bottom: 0; transform: translateX(-50%); }
.x-foot-sun i::after { width: 34px; height: 6px; bottom: 30px; transform: translateX(-50%); }
.x-foot-cta { position: relative; height: 440px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding-bottom: 110px; text-align: center; }
.x-foot-line { margin: 0 0 30px; font-family: 'Fraunces', serif; font-weight: 300; font-size: clamp(2.4rem, 6vw, 5rem); line-height: 1; letter-spacing: -0.04em; color: var(--ink); }
.x-foot-line em { font-style: italic; font-weight: 400; background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.x-foot-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.x-foot-actions .btn { display: inline-flex; align-items: center; gap: 10px; }
.x-foot-grid { display: grid; grid-template-columns: 1.4fr 0.8fr 1fr; gap: 40px; padding: 56px 0 40px; }
.x-foot-logo { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.x-foot-name { display: block; font-family: 'Fraunces', serif; font-weight: 500; font-size: 20px; color: var(--ink); }
.x-foot-brand > p { max-width: 380px; margin: 0 0 20px; font-size: 15px; line-height: 1.7; color: var(--ink-3); }
.x-foot-partner { display: inline-flex; align-items: center; gap: 12px; padding: 9px 16px; border-radius: 999px; background: rgba(212, 162, 60, 0.06); border: 1px solid rgba(212, 162, 60, 0.16); }
.x-foot-partner > span:first-child { font-size: 11px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }
.x-foot-partner i { width: 1px; height: 14px; background: rgba(212, 162, 60, 0.25); }
.x-foot-partner .x-pbx { font-size: 15px; }
.x-foot-col { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.x-foot-col .tiny-text { margin-bottom: 6px; }
.x-foot-col a { font-size: 15px; color: var(--ink-2); text-decoration: none; transition: color 0.25s; }
.x-foot-col a:hover { color: var(--gold-light); }
.x-foot-col span { font-size: 14.5px; line-height: 1.6; color: var(--ink-3); }
.x-foot-base { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding-top: 22px; border-top: 1px solid rgba(212, 162, 60, 0.12); font-size: 13px; color: var(--ink-4); }
.x-foot-links { display: flex; gap: 22px; }
.x-foot-links a { color: var(--ink-4); text-decoration: none; }
.x-foot-links a:hover { color: var(--gold-light); }
@media (max-width: 800px) {
  .x-foot-cta { height: 400px; padding-bottom: 100px; }
  .x-foot-sun { height: 400px; }
  .x-foot-sun i { width: 140px; height: 70px; }
  .x-foot-sun i::before { height: 42px; width: 5px; }
  .x-foot-sun i::after { width: 26px; height: 5px; bottom: 24px; }
  .x-foot-actions .btn { flex: 1 1 100%; justify-content: center; }
  .x-foot-actions .btn + .btn { flex: 1 1 40%; }
  .x-foot-grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; padding-top: 44px; }
  .x-foot-brand, .x-foot-col { grid-column: 1 / -1; }
  nav.x-foot-col { flex-direction: row; flex-wrap: wrap; gap: 12px 22px; }
  nav.x-foot-col .tiny-text { flex-basis: 100%; }
  .x-foot-base { flex-direction: column; align-items: flex-start; padding-bottom: 70px; }
}

/* ── speed: skip rendering offscreen sections until they approach ── */
section.sec, .comparison-section, #contact, .x-foot { content-visibility: auto; contain-intrinsic-size: auto 1100px; }
@media (pointer: coarse) { .lux-sky i { animation: none !important; } }
@media (prefers-reduced-motion: reduce) {
  .x-pipe i::after, .x-drip, .x-wave.live i, .x-seal svg, .x-ring { animation: none !important; }
  .x-wave.live i { transform: scaleY(0.6); }
}
