/* Wash & Whirl — modern layer (Oct 2026): glass header, hero, scroll story, bento, marquee, reveals.
   Loaded last on every page. Respects reduced motion. */
:root { --grad: linear-gradient(100deg, #0a49ba 0%, #2f7bff 45%, #19b5d8 100%); --glass: rgba(255,255,255,.72); }

/* ---------- header + progress ---------- */
.site-header { background: var(--glass); backdrop-filter: saturate(1.6) blur(18px); -webkit-backdrop-filter: saturate(1.6) blur(18px); transition: height .3s ease, box-shadow .3s ease, background .3s ease; }
.site-header.scrolled { height: 62px; box-shadow: 0 10px 30px rgba(6,27,80,.08); background: rgba(255,255,255,.84); }
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; z-index: 40; background: var(--grad); transform-origin: 0 50%; transform: scaleX(0); pointer-events: none; }
.button-primary { background: var(--grad); background-size: 160% 100%; background-position: 0 0; transition: background-position .5s ease, transform .2s, box-shadow .2s; }
.button-primary:hover { background-position: 100% 0; }

/* ---------- hero ---------- */
.hero-x { position: relative; overflow: hidden; isolation: isolate; background: #fff; }
.hero-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero-bg i { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; animation: blob 18s ease-in-out infinite alternate; }
.hero-bg i:nth-child(1) { width: 520px; height: 520px; left: -140px; top: -160px; background: #cfe0ff; }
.hero-bg i:nth-child(2) { width: 420px; height: 420px; left: 28%; bottom: -220px; background: #c8f1fb; animation-delay: -6s; }
.hero-bg i:nth-child(3) { width: 360px; height: 360px; right: -80px; top: 10%; background: #dcd5ff; animation-delay: -12s; }
@keyframes blob { 0% { transform: translate(0,0) scale(1); } 50% { transform: translate(40px,-30px) scale(1.12); } 100% { transform: translate(-30px,40px) scale(.95); } }
.status-pill { display: inline-flex; align-items: center; gap: 9px; align-self: flex-start; margin: 0 0 22px; padding: 7px 14px 7px 10px; border-radius: 99px; background: rgba(255,255,255,.8); border: 1px solid #dce6f5; box-shadow: 0 6px 20px rgba(10,73,186,.08); font-size: 12.5px; font-weight: 750; color: var(--navy); }
.status-pill .dot { position: relative; width: 9px; height: 9px; border-radius: 50%; background: #17a34a; }
.status-pill .dot:after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid #17a34a; opacity: 0; animation: ping 1.8s ease-out infinite; }
@keyframes ping { 0% { transform: scale(.5); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-x h1 { letter-spacing: -.035em; }
.hero-visual { position: relative; min-height: 600px; }
.hero-visual .hero-image { position: absolute; inset: 36px 36px 36px 0; min-height: 0; border-radius: 28px; overflow: hidden; box-shadow: 0 30px 70px rgba(6,27,80,.18); }
.hero-visual .hero-image img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform .2s linear; }
.float { position: absolute; z-index: 2; will-change: transform; }
.float-phone { left: -46px; bottom: 60px; width: 196px; height: 380px; padding: 10px; border-radius: 34px; background: #0f1729; box-shadow: 0 30px 60px rgba(6,27,80,.35), inset 0 0 0 2px #2b3650; animation: floaty 7s ease-in-out infinite; }
.float-phone .scr { height: 100%; border-radius: 25px; overflow: hidden; background: #f4f7fc; display: flex; flex-direction: column; }
.float-phone .top { padding: 26px 0 8px; background: var(--blue); color: #fff; font-size: 8.5px; font-weight: 800; letter-spacing: .14em; text-align: center; }
.float-phone .body { flex: 1; padding: 12px; display: flex; flex-direction: column; align-items: center; gap: 9px; font-size: 11px; }
.ring { position: relative; width: 112px; height: 112px; margin-top: 6px; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 9; }
.ring .bg { stroke: #e3eaf6; }
.ring .fg { stroke: url(#ringGrad); stroke-linecap: round; stroke-dasharray: 302; stroke-dashoffset: 302; transition: stroke-dashoffset 1s linear; }
.ring b { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; font-size: 26px; color: var(--navy); line-height: 1; }
.ring b small { display: block; margin-top: 3px; font-size: 9px; color: var(--muted); font-weight: 700; }
.float-phone .lbl { font-weight: 800; color: var(--navy); font-size: 12.5px; }
.float-phone .notify { margin-top: auto; width: 100%; padding: 9px; border-radius: 10px; background: var(--blue); color: #fff; font-weight: 800; text-align: center; font-size: 10.5px; }
.float-toast { right: 64px; top: 70px; display: flex; gap: 10px; align-items: center; padding: 11px 15px; border-radius: 16px; background: rgba(255,255,255,.92); backdrop-filter: blur(12px); box-shadow: 0 18px 40px rgba(6,27,80,.18); font-size: 13px; animation: floaty 8s ease-in-out -2s infinite; }
.float-toast .ico { display: grid; place-content: center; width: 34px; height: 34px; border-radius: 10px; background: var(--blue); color: #fff; font-size: 16px; }
.float-toast b { display: block; color: var(--navy); font-size: 13px; }
.float-toast span { color: var(--muted); font-size: 12px; }
.float-chip { right: 92px; bottom: 74px; padding: 10px 15px; border-radius: 14px; background: #0f1729; color: #fff; font-size: 13px; font-weight: 750; box-shadow: 0 16px 34px rgba(6,27,80,.3); animation: floaty 6s ease-in-out -4s infinite; }
.float-chip i { font-style: normal; color: #3ee07a; margin-right: 6px; }
@keyframes floaty { 0%,100% { translate: 0 0; } 50% { translate: 0 -12px; } }

/* ---------- marquee ---------- */
.marquee { overflow: hidden; background: var(--navy); color: #fff; padding: 15px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span { display: inline-flex; align-items: center; gap: 12px; padding: 0 26px; font-size: 13.5px; font-weight: 750; white-space: nowrap; }
.marquee span:before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #5ea2ff; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- scroll story ---------- */
.story-steps { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 1fr 360px; gap: 70px; }
.story-step { min-height: min(62vh, 560px); display: flex; flex-direction: column; justify-content: center; }
.story-step .how3-num { transition: transform .4s ease, box-shadow .4s ease, background .4s ease; background: #9db3d6; box-shadow: 0 0 0 6px #eef3fb; }
.story-step.on .how3-num { background: var(--blue); transform: scale(1.15); box-shadow: 0 0 0 8px #dce8ff, 0 10px 24px rgba(10,73,186,.3); }
.story-step .how3-num { margin-bottom: 18px; }
.story-step h3 { margin: 0 0 10px; color: var(--navy); font-size: clamp(28px, 3.2vw, 44px); letter-spacing: -.03em; line-height: 1.05; }
.story-step p { margin: 0; max-width: 520px; color: var(--muted); font-size: 17.5px; }
.story-phone-wrap { position: relative; }
.story-phone { position: sticky; top: calc(50vh - 230px); width: 240px; height: 460px; margin: 0 auto; padding: 11px; border-radius: 40px; background: #0f1729; box-shadow: 0 34px 70px rgba(6,27,80,.3), inset 0 0 0 2px #2b3650; }
.story-phone:before { content: ""; position: absolute; inset: -40px; z-index: -1; border-radius: 50%; background: radial-gradient(circle, rgba(47,123,255,.25), transparent 65%); }
.story-screen { position: relative; height: 100%; border-radius: 30px; overflow: hidden; background: #f4f7fc; }
.story-screen > div { position: absolute; inset: 0; display: flex; flex-direction: column; opacity: 0; transform: translateY(14px) scale(.98); transition: opacity .45s ease, transform .45s ease; }
.story-screen > div.on { opacity: 1; transform: none; }
.ss-top { padding: 30px 0 9px; background: var(--blue); color: #fff; font-size: 9px; font-weight: 800; letter-spacing: .14em; text-align: center; }
.ss-body { flex: 1; padding: 14px; display: flex; flex-direction: column; gap: 8px; font-size: 12px; }
.ss-cam { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 0 18px; text-align: center; color: #fff; font-size: 11.5px; background: radial-gradient(circle at 50% 42%, #4b5568, #161b28); }
.ss-qr { position: relative; width: 128px; height: 128px; border-radius: 8px; border: 7px solid #fff; background: repeating-conic-gradient(#0f1729 0 25%, #fff 0 50%) 0 0 / 16px 16px; box-shadow: 0 0 0 3px #ffd84a; }
.ss-qr:after { content: ""; position: absolute; left: -7px; right: -7px; height: 3px; top: 0; background: #ffd84a; box-shadow: 0 0 12px #ffd84a; animation: scan 2s ease-in-out infinite alternate; }
@keyframes scan { to { top: 100%; } }
.ss-link { padding: 6px 12px; border-radius: 20px; background: rgba(255,255,255,.95); color: var(--navy); font-weight: 800; }
.ss-card { padding: 10px 12px; border-radius: 12px; background: #fff; border: 1px solid var(--line); }
.ss-card b { display: block; color: var(--navy); font-size: 14px; }
.ss-card small { color: var(--muted); }
.ss-opt { display: flex; justify-content: space-between; padding: 9px 12px; border-radius: 10px; background: #fff; border: 1.5px solid var(--line); font-weight: 700; }
.ss-opt small { color: var(--muted); font-weight: 600; }
.ss-opt.on { border-color: var(--blue); background: #eaf1ff; }
.ss-btn { margin-top: auto; padding: 11px; border-radius: 10px; background: var(--blue); color: #fff; font-weight: 800; text-align: center; }
.ss-btn.dark { background: #000; }
.ss-ok { padding: 8px; border-radius: 10px; background: #e3f6ea; color: #11743b; font-weight: 800; text-align: center; }
.ss-wifi { padding: 9px 12px; border-radius: 10px; background: #fff; border: 1px dashed #b9cbe6; color: var(--muted); }
.ss-wifi b { color: var(--navy); letter-spacing: .12em; }
.story-inline-phone { display: none; }

/* ---------- bento ---------- */
.bento { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; gap: 16px; }
.bento > article { position: relative; overflow: hidden; padding: 24px; border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: 0 10px 35px rgba(13,50,110,.06); display: flex; flex-direction: column; }
.bento h3 { margin: 0 0 6px; color: var(--navy); font-size: 19px; letter-spacing: -.01em; }
.bento p { margin: 0; color: var(--muted); font-size: 14px; }
.bento .ic { display: grid; place-content: center; width: 42px; height: 42px; margin-bottom: auto; border-radius: 12px; background: #eaf1ff; color: var(--blue); }
.bento .ic svg { width: 22px; height: 22px; }
.bento .big { grid-column: span 2; grid-row: span 2; background: linear-gradient(160deg, #0a49ba, #062f88); color: #fff; border: 0; }
.bento .big h3 { color: #fff; font-size: 28px; }
.bento .big p { color: rgba(255,255,255,.82); font-size: 15.5px; max-width: 400px; }
.bento .wide { grid-column: span 2; }
.toasts { position: relative; flex: 1; margin-bottom: 18px; }
.toasts div { position: absolute; left: 0; right: 0; max-width: 360px; margin: 0 auto; display: flex; gap: 10px; align-items: center; padding: 12px 14px; border-radius: 16px; background: rgba(255,255,255,.95); color: var(--ink); box-shadow: 0 14px 30px rgba(0,0,0,.2); font-size: 13px; opacity: 0; animation: toast 9s ease-in-out infinite; }
.toasts div:nth-child(2) { animation-delay: 3s; }
.toasts div:nth-child(3) { animation-delay: 6s; }
.toasts .ico { display: grid; place-content: center; flex: none; width: 32px; height: 32px; border-radius: 9px; background: var(--blue); color: #fff; }
.toasts b { display: block; color: var(--navy); }
.toasts span { color: var(--muted); font-size: 12px; }
@keyframes toast { 0% { opacity: 0; transform: translateY(30px) scale(.95); top: 40%; } 8%, 30% { opacity: 1; transform: none; top: 30%; } 38%, 100% { opacity: 0; transform: translateY(-30px) scale(.95); top: 20%; } }
.dots { display: grid; grid-template-columns: repeat(10, 1fr); gap: 7px; margin-bottom: auto; max-width: 300px; }
.dots i { aspect-ratio: 1; border-radius: 6px; background: #d9e2ee; transition: background .6s; }
.dots i.free { background: #22c55e; }
.wifi-code { margin-bottom: auto; align-self: flex-start; padding: 8px 14px; border-radius: 10px; border: 1.5px dashed #9db3d6; color: var(--navy); font-weight: 800; letter-spacing: .2em; font-size: 18px; }

/* ---------- cursor glow on cards ---------- */
.glow { --mx: 50%; --my: 50%; }
.glow:before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s; background: radial-gradient(380px circle at var(--mx) var(--my), rgba(47,123,255,.14), transparent 45%); }
.glow:hover:before { opacity: 1; }
.bento .big.glow:before { background: radial-gradient(420px circle at var(--mx) var(--my), rgba(255,255,255,.16), transparent 45%); }
.price-card, .deal-grid article, .how3-grid li, .paysteps-list li { position: relative; transition: transform .25s ease, box-shadow .25s ease; }
.price-card:hover, .deal-grid article:hover, .how3-grid li:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(13,50,110,.12); }

/* ---------- reveal on scroll ---------- */
.rv { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); transition-delay: var(--d, 0s); }
.rv.in { opacity: 1; transform: none; }
.section-heading h2, .story-copy h2 { letter-spacing: -.03em; }

/* ---------- responsive ---------- */
@media (max-width: 1050px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .float-phone { left: -20px; width: 170px; height: 330px; }
  .ring { width: 92px; height: 92px; }
}
@media (max-width: 900px) {
  .story-steps { grid-template-columns: 1fr; gap: 0; }
  .story-phone-wrap { display: none; }
  .story-step { min-height: 0; opacity: 1; padding: 26px 0; }
  .story-inline-phone { display: block; width: 210px; height: 400px; margin: 22px auto 0; padding: 10px; border-radius: 36px; background: #0f1729; box-shadow: 0 24px 50px rgba(6,27,80,.25); }
  .story-inline-phone .story-screen > div { opacity: 1; transform: none; }
}
@media (max-width: 760px) {
  .hero-visual { min-height: 430px; }
  .hero-visual .hero-image { inset: 0 16px 0 16px; border-radius: 22px; }
  .float-phone { left: 6px; bottom: -24px; width: 150px; height: 292px; border-radius: 28px; }
  .float-phone .scr { border-radius: 20px; }
  .ring { width: 78px; height: 78px; }
  .ring b { font-size: 19px; }
  .float-toast { right: 10px; top: 16px; font-size: 12px; }
  .float-chip { right: 14px; bottom: 18px; font-size: 12px; }
  .status-pill { font-size: 11.5px; }
  .bento { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .bento > article { min-height: 190px; }
  .bento .big, .bento .wide { grid-column: auto; grid-row: auto; }
  .bento .big { min-height: 360px; }
  .site-header.scrolled { height: 60px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-bg i, .float, .status-pill .dot:after, .marquee-track, .ss-qr:after, .toasts div { animation: none !important; }
  .toasts div:first-child { opacity: 1; top: 30%; }
  .rv { opacity: 1; transform: none; transition: none; }
  .story-screen > div { transition: none; }
}

/* readable small print; screen-reader-only headings */
.disclaimer { color: #556178 !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 900px) { .story-step .how3-num { background: var(--blue); } }
footer p { color: #556178; }
.ss-opt small, .ss-card small, .mini-opt small, .ph-opt small { color: #556178; }
.reviews-section .eyebrow, .eyebrow { color: #0846b3; }
.reviews-section p { color: #4a5670; }

/* ---------- inner pages (Pricing, Pay by Phone, Location) ---------- */
.page-hero-x { position: relative; overflow: hidden; isolation: isolate; background: #fff; }
.page-hero-x .status-pill { margin: 0 auto 18px; align-self: center; }
.page-hero-x h1 { letter-spacing: -.035em; }
.page-hero-x .hero-bg i:nth-child(1) { left: -10%; top: -60%; }
.page-hero-x .hero-bg i:nth-child(2) { left: 40%; bottom: -80%; }
.page-hero-x .hero-bg i:nth-child(3) { right: -6%; top: -30%; }

/* member savings slider */
.saver { max-width: 1180px; margin: 34px auto 0; display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; padding: 34px 40px; border-radius: 24px; background: linear-gradient(135deg, #0a49ba, #062f88); color: #fff; box-shadow: var(--shadow); }
.saver .eyebrow { color: #9cc3ff; }
.saver h3 { margin: 0 0 8px; font-size: 28px; letter-spacing: -.02em; }
.saver p { margin: 0; color: rgba(255,255,255,.85); }
.saver-box { padding: 24px; border-radius: 18px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(8px); }
.saver-box label { display: block; font-weight: 700; margin-bottom: 12px; }
.saver-box input[type=range] { width: 100%; accent-color: #5ea2ff; height: 28px; }
.saver-out { margin-top: 14px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; color: rgba(255,255,255,.88); }
.saver-out strong { font-size: 46px; line-height: 1; color: #fff; letter-spacing: -.03em; }

/* pay page phones: gentle float, tilt toward the mouse, scanning line */
.mini-phone.tilt { transition: transform .25s ease; animation: floaty 7s ease-in-out infinite; }
.paysteps-list li:nth-child(2) .mini-phone.tilt { animation-delay: -2s; }
.paysteps-list li:nth-child(3) .mini-phone.tilt { animation-delay: -4s; }
.paysteps-list li:nth-child(4) .mini-phone.tilt { animation-delay: -6s; }
.mini-qr { position: relative; }
.mini-qr:after { content: ""; position: absolute; left: -8px; right: -8px; top: 0; height: 3px; background: #ffd84a; box-shadow: 0 0 12px #ffd84a; animation: scan 2s ease-in-out infinite alternate; }
.mini-btn { position: relative; overflow: hidden; }
.mini-btn:after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%); transform: translateX(-100%); animation: shine 3.2s ease-in-out infinite; }
@keyframes shine { 60%, 100% { transform: translateX(100%); } }

/* location map card */
.map-x { position: relative; display: block; min-height: 400px; border-radius: 26px; overflow: hidden; box-shadow: 0 30px 70px rgba(6,27,80,.25); color: #fff; }
.map-art { position: absolute; inset: 0; width: 100%; height: 100%; transition: transform .6s ease; }
.map-x:hover .map-art { transform: scale(1.04); }
.pin-x { position: absolute; left: 50%; top: 50%; width: 52px; height: 52px; margin: -62px 0 0 -26px; display: grid; place-content: center; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--grad); box-shadow: 0 12px 26px rgba(0,0,0,.35); animation: pin-drop .9s cubic-bezier(.2,.9,.3,1.3) both; }
.pin-x b { transform: rotate(45deg); font-size: 20px; font-weight: 800; }
.pin-x i { position: absolute; left: 50%; top: 50%; width: 120px; height: 120px; margin: -60px 0 0 -60px; border-radius: 50%; border: 2px solid rgba(94,162,255,.7); animation: ping 2.2s ease-out infinite; }
@keyframes pin-drop { from { opacity: 0; translate: 0 -40px; } to { opacity: 1; translate: 0 0; } }
.map-card { position: absolute; left: 20px; right: 20px; bottom: 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; padding: 16px 20px; border-radius: 18px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.map-card strong { font-size: 18px; }
.map-card small { color: rgba(255,255,255,.85); font-size: 14px; }
.map-card em { margin-left: auto; font-style: normal; font-weight: 800; color: #9cc3ff; }

@media (max-width: 900px) {
  .saver { grid-template-columns: 1fr; padding: 26px 22px; }
}
@media (max-width: 760px) {
  .map-x { min-height: 320px; }
  .map-card em { margin-left: 0; width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .mini-phone.tilt, .mini-qr:after, .mini-btn:after, .pin-x, .pin-x i { animation: none !important; }
}
