/* HotelRev AI — free Health Check flow and results */
.pg-check { background: radial-gradient(900px 420px at 100% 0, rgba(76,182,72,.10), transparent 60%), radial-gradient(800px 400px at 0 10%, rgba(59,130,246,.08), transparent 60%), var(--bg); }
.ck { min-height: 70vh; }
.ck-loading { display: grid; place-items: center; min-height: 60vh; }
.spin { width: 34px; height: 34px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--teal); animation: sp .8s linear infinite; }
@keyframes sp { to { transform: rotate(360deg); } }

/* Funnel */
.fn { max-width: 720px; margin: 0 auto; padding: 44px 20px 80px; }
.fn-h { text-align: center; margin-bottom: 26px; }
.fn-h h1 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; letter-spacing: -.03em; }
.fn-h p { color: var(--muted); margin-top: 10px; font-size: 16.5px; }
.prog { display: flex; gap: 8px; margin: 0 auto 22px; max-width: 460px; }
.prog div { flex: 1; text-align: center; font-size: 12.5px; font-weight: 700; color: var(--muted); }
.prog div::before { content: ""; display: block; height: 6px; border-radius: 99px; background: var(--line); margin-bottom: 8px; transition: background .3s; }
.prog div.on { color: var(--ink); }
.prog div.on::before { background: linear-gradient(90deg, #8bd957, #4cb648); }
.fcard { background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 20px 50px rgba(11,31,58,.08); padding: 32px; animation: fin .35s ease; }
@keyframes fin { from { opacity: 0; transform: translateY(10px); } }
.fcard h2 { font-size: 21px; font-weight: 800; margin-bottom: 4px; }
.fcard .sub { color: var(--muted); font-size: 15px; margin-bottom: 22px; }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fgrid .full { grid-column: 1 / -1; }
.chips2 { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; }
.chips2 button { border: 1px solid var(--line); background: #fff; border-radius: 99px; padding: 5px 11px; font: 700 13px var(--font); color: var(--ink-2); cursor: pointer; }
.chips2 button.on, .chips2 button:hover { border-color: var(--teal); color: var(--teal-600); background: var(--teal-50); }
.sl { display: grid; grid-template-columns: 1fr 96px; gap: 12px; align-items: center; }
.live { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 20px; padding: 14px; border-radius: 16px; background: var(--bg); border: 1px dashed var(--line); }
.live div { text-align: center; }
.live span { display: block; font-size: 11.5px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.live b { font-size: 18px; font-weight: 800; }
.factions { display: flex; gap: 10px; margin-top: 26px; }
.factions .btn-primary { flex: 1; }
.ferr { margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: #fdecec; color: #b42318; font-weight: 600; font-size: 14.5px; }
.fnote { margin-top: 14px; color: var(--muted); font-size: 13px; text-align: center; }
.fnote svg { width: 14px; height: 14px; display: inline; vertical-align: -2px; color: var(--teal-600); }
.otp { width: 100%; max-width: 300px; margin: 6px auto 0; display: block; text-align: center; letter-spacing: .5em; font-size: 28px !important; font-weight: 800 !important; padding-left: .5em !important; }
.linkbtn { background: none; border: 0; color: var(--teal-600); font: 700 14px var(--font); cursor: pointer; padding: 6px; }
.why { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 22px; }
.why div { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--ink-2); font-weight: 600; }
.why svg { width: 20px; height: 20px; color: var(--teal-600); flex: none; }

/* Results */
.rs-top { background: radial-gradient(800px 360px at 90% 0, rgba(76,182,72,.28), transparent 60%), linear-gradient(180deg, var(--navy-950), var(--navy-900)); color: #fff; padding: 44px 0 110px; }
.rs-top .crumb { color: #8fa6c2; font-weight: 700; font-size: 13.5px; letter-spacing: .06em; text-transform: uppercase; }
.rs-top h1 { font-size: clamp(26px, 3.6vw, 38px); font-weight: 800; letter-spacing: -.03em; margin: 8px 0 6px; }
.rs-top .meta { color: #a9bbcf; font-size: 15px; }
.rs-hero { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 36px; align-items: center; margin-top: 26px; }
.rs-hero .gauge { width: 190px; height: 190px; }
.rs-hero .gauge svg { width: 190px; height: 190px; }
.rs-hero .gauge .v b { font-size: 52px; color: #fff; }
.rs-hero .gauge .v span { color: #8fa6c2; }
.verdict { display: inline-block; padding: 5px 12px; border-radius: 99px; font-weight: 800; font-size: 13px; margin-bottom: 10px; }
.v-bad { background: rgba(239,68,68,.15); color: #fca5a5; } .v-mid { background: rgba(245,158,11,.15); color: #fcd34d; } .v-good { background: rgba(16,185,129,.15); color: #6ee7b7; }
.parts { display: grid; gap: 12px; max-width: 460px; }
.part { display: grid; grid-template-columns: 140px 1fr 48px; gap: 12px; align-items: center; font-size: 14px; font-weight: 600; color: #c6d3e3; }
.part .bar { height: 8px; border-radius: 99px; background: rgba(255,255,255,.1); overflow: hidden; }
.part .bar i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, #8bd957, #4cb648); width: 0; transition: width 1.2s cubic-bezier(.2,.8,.2,1); }
.part b { text-align: right; color: #fff; }
.rs-body { margin-top: -70px; padding-bottom: 80px; }
.rs-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; align-items: start; }
.leak { position: relative; overflow: hidden; border-radius: 24px; padding: 28px; background: #fff; border: 1px solid #fbd5d5; box-shadow: 0 20px 50px rgba(239,68,68,.10); }
.leak::after { content: ""; position: absolute; right: -60px; top: -60px; width: 200px; height: 200px; border-radius: 50%; background: radial-gradient(circle, rgba(239,68,68,.12), transparent 70%); }
.leak .lbl { color: #b42318; font-weight: 800; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; display: flex; align-items: center; gap: 8px; }
.leak .lbl svg { width: 18px; height: 18px; }
.leak .amt { font-size: clamp(34px, 5vw, 50px); font-weight: 800; letter-spacing: -.03em; margin: 6px 0 2px; }
.leak .yr { font-size: 17px; font-weight: 700; color: var(--ink-2); }
.leak .yr b { color: #b42318; }
.leak p { color: var(--muted); margin-top: 12px; font-size: 15px; }
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 20px 0; }
.kpi { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 16px; box-shadow: var(--shadow); position: relative; }
.kpi span { display: flex; justify-content: space-between; align-items: center; font-size: 12px; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.kpi b { display: block; font-size: 24px; font-weight: 800; letter-spacing: -.02em; margin-top: 6px; }
.kpi small { color: var(--muted); font-size: 12.5px; }
.tip { position: relative; display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--line-2); color: var(--muted); font-size: 11px; font-weight: 800; cursor: help; border: 0; }
.tip:hover::after, .tip:focus::after { content: attr(data-tip); position: absolute; bottom: 130%; right: -6px; width: 220px; padding: 10px 12px; border-radius: 10px; background: var(--navy-900); color: #fff; font: 600 12.5px/1.45 var(--font); text-transform: none; letter-spacing: 0; text-align: left; z-index: 5; box-shadow: var(--shadow-lg); }
.sech { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 30px 0 14px; }
.sech h2 { font-size: 22px; font-weight: 800; }
.sech span { color: var(--muted); font-weight: 600; font-size: 14px; }
.fd { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 24px; box-shadow: var(--shadow); margin-bottom: 14px; }
.fd-h { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 10px; }
.fd h3 { font-size: 19px; font-weight: 800; line-height: 1.3; }
.fd p { color: var(--ink-2); margin-top: 10px; font-size: 15.5px; }
.fd .ev { margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: var(--bg); font-size: 14px; color: var(--ink-2); }
.fd .ev b { color: var(--ink); }
.fd .act { margin-top: 14px; padding: 14px 16px; border-radius: 12px; background: var(--teal-50); border: 1px solid #cbebc0; font-size: 15px; color: #1f5a22; }
.fd .act b { display: block; margin-bottom: 4px; }
.fd .imp { margin-top: 12px; font-weight: 700; color: #047857; font-size: 14.5px; }
.fd .lim { margin-top: 12px; font-size: 13px; color: var(--muted); }
.lk { position: relative; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 20px 24px; margin-bottom: 12px; }
.lk .sk { filter: blur(5px); opacity: .55; pointer-events: none; user-select: none; }
.lk .sk i { display: block; height: 12px; border-radius: 6px; background: #cfd8e3; margin: 10px 0; }
.lk .sk i:first-child { height: 16px; width: 70%; background: #b7c3d1; }
.lk .ov { position: absolute; inset: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 24px; background: linear-gradient(90deg, rgba(255,255,255,.95) 40%, rgba(255,255,255,.6)); }
.lk .ov div { display: flex; align-items: center; gap: 10px; font-weight: 700; flex-wrap: wrap; }
.lk .ov svg { width: 20px; height: 20px; color: var(--muted); flex: none; }
.lk .ov a { font-weight: 800; font-size: 14px; white-space: nowrap; }

/* Paywall */
.pw { position: sticky; top: 88px; border-radius: 24px; border: 2px solid transparent; background: linear-gradient(#fff, #fff) padding-box, linear-gradient(135deg, #8bd957, #ff7a2f) border-box; box-shadow: 0 24px 60px rgba(10,31,68,.16); overflow: hidden; }
.pw-h { padding: 22px 24px 18px; background: linear-gradient(135deg, var(--navy-900), var(--navy-800)); color: #fff; }
.pw-h b { display: block; font-size: 19px; font-weight: 800; }
.pw-h span { color: #a9bbcf; font-size: 14px; }
.pw-b { padding: 22px 24px 24px; }
.pw .price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.pw .price b { font-size: 42px; font-weight: 800; letter-spacing: -.03em; }
.pw .price s { color: var(--muted); font-weight: 700; font-size: 18px; }
.pw .price em { font-style: normal; background: #e7f8f0; color: #047857; font-weight: 800; font-size: 12.5px; padding: 3px 9px; border-radius: 99px; }
.timer { display: flex; align-items: center; gap: 8px; margin: 10px 0 4px; padding: 10px 12px; border-radius: 12px; background: #fff7e6; color: #92400e; font-weight: 700; font-size: 14px; }
.timer svg { width: 18px; height: 18px; flex: none; }
.timer b { font-variant-numeric: tabular-nums; }
.pw ul { list-style: none; padding: 0; margin: 16px 0 20px; display: grid; gap: 10px; font-size: 14.5px; color: var(--ink-2); }
.pw li { display: flex; gap: 9px; }
.pw li svg { width: 18px; height: 18px; color: var(--teal); flex: none; margin-top: 2px; }
.pw .roi { margin-bottom: 16px; padding: 12px 14px; border-radius: 12px; background: var(--bg); font-size: 14px; color: var(--ink-2); }
.pw .roi b { color: var(--ink); }
.pw .pay { text-align: center; color: var(--muted); font-size: 12.5px; margin-top: 10px; }
.pw .talk { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); font-weight: 700; font-size: 14px; }
.pw .talk svg { width: 18px; height: 18px; }
.notes { margin-top: 26px; padding: 20px 22px; border-radius: 18px; background: #fff; border: 1px solid var(--line); color: var(--muted); font-size: 13.5px; }
.notes b { color: var(--ink-2); }
.mbar { display: none; }

@media (max-width: 980px) {
  .rs-grid { grid-template-columns: 1fr; }
  .pw { position: static; }
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mbar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; gap: 12px; align-items: center; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96); backdrop-filter: blur(10px); border-top: 1px solid var(--line); box-shadow: 0 -10px 30px rgba(11,31,58,.08); }
  .mbar div { line-height: 1.2; } .mbar b { font-size: 18px; font-weight: 800; } .mbar small { display: block; color: var(--muted); font-size: 12px; font-weight: 600; }
  .mbar .btn { margin-left: auto; min-height: 46px; }
  .pg-check .ftr { padding-bottom: 100px; }
}
@media (max-width: 640px) {
  .fn { padding: 28px 16px 64px; }
  .fcard { padding: 22px 18px; border-radius: 20px; }
  .fgrid { grid-template-columns: 1fr; }
  .why { grid-template-columns: 1fr; }
  .rs-hero { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 22px; }
  .rs-hero > div { width: 100%; }
  .parts { width: 100%; max-width: 340px; margin: 0 auto; }
  .part { grid-template-columns: 110px 1fr 40px; font-size: 13px; text-align: left; }
  .kpi b { font-size: 20px; }
  .fd { padding: 18px; }
  .lk { padding: 16px; }
  .lk .ov { padding: 0 14px; }
  .lk .ov a { display: none; }
}

.pw .done { display: flex; gap: 10px; padding: 14px; border-radius: 12px; background: #e7f8f0; color: #065f46; font-size: 14px; }
.pw .done svg { width: 20px; height: 20px; flex: none; color: #059669; }
.pw .done b { display: block; font-size: 15px; margin-bottom: 2px; }
