/* Rally House landing page */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--rh-fog); color: var(--rh-black); font-family: var(--rh-font-body); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; margin: 0 auto; }
.center { text-align: center; }
.eyebrow { font-family: var(--rh-font-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--rh-gray); display: block; }
.hl { background: var(--rh-volt); padding: 0 .08em; border-radius: .08em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.h2 { font-family: var(--rh-font-head); font-weight: 900; text-transform: uppercase; font-size: clamp(2rem, 4.6vw, 3.1rem); line-height: .98; letter-spacing: -.03em; }
.lead { color: #45443F; font-size: 1.1rem; max-width: 620px; }
section { padding-top: 96px; }
#included { padding-top: 160px; }
#how, #fit { padding-top: 150px; }

/* Logo */
.lockup { display: inline-flex; align-items: flex-end; gap: 9px; text-decoration: none; color: inherit; }
.lockup .house { width: 22px; height: 22px; flex: none; color: var(--rh-volt); }
.lockup .wm { height: 15px; width: auto; color: #fff; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; background: var(--rh-volt); color: var(--rh-black); font-weight: 700; font-size: 16px; text-decoration: none; padding: 16px 28px; border-radius: 999px; border: 2px solid var(--rh-black); box-shadow: 0 3px 0 var(--rh-black); cursor: pointer; transition: transform .12s ease, box-shadow .12s ease; font-family: var(--rh-font-body); }
.btn:hover { transform: translateY(-1px); box-shadow: 0 4px 0 var(--rh-black); }
.btn:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--rh-black); }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid var(--rh-volt); outline-offset: 3px; }
.btn.dark { background: var(--rh-black); color: #fff; box-shadow: none; }
.cta-block { text-align: center; margin-top: 40px; }
.cta-block .pre { font-size: 15px; color: #45443F; margin-bottom: 14px; }
.cta-block .micro { font-family: var(--rh-font-mono); font-size: 11px; color: #8A8882; margin-top: 14px; letter-spacing: .04em; }
.on-dark .pre { color: var(--rh-gray-on-dark); }

/* Nav */
.nav-wrap { position: sticky; top: 14px; z-index: 50; display: flex; justify-content: center; padding: 14px 16px 0; pointer-events: none; }
.nav { pointer-events: auto; display: flex; align-items: center; gap: 24px; background: var(--rh-black); color: #fff; border-radius: 999px; padding: 6px 6px 6px 18px; box-shadow: 0 10px 30px rgba(0,0,0,.18); }
.nav .apply { background: var(--rh-volt); color: var(--rh-black); font-weight: 700; font-size: 14px; text-decoration: none; padding: 10px 18px; border-radius: 999px; white-space: nowrap; flex: none; }

/* Hero */
.hero { padding-top: 64px; text-align: center; }
.hero h1 { font-family: var(--rh-font-head); font-weight: 900; text-transform: uppercase; font-size: clamp(2.3rem, 5.6vw, 4.2rem); line-height: .95; letter-spacing: -.035em; max-width: 980px; margin: 16px auto 0; }
@media (min-width: 761px) { .hero h1 .hl { white-space: nowrap; } }
@media (min-width: 900px) { #included h2 .hl { white-space: nowrap; } }
.hero .sub { color: #45443F; font-size: clamp(1.02rem, 1.6vw, 1.15rem); max-width: 600px; margin: 22px auto 0; }
.stage { position: relative; height: 600px; margin: 56px auto 0; max-width: 1180px; }
.stage::before { content: ""; position: absolute; left: 50%; top: 40px; width: min(900px, 100%); height: 520px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(200,241,53,.30), transparent); pointer-events: none; }
.phone { position: absolute; left: 50%; top: 0; transform: translateX(-50%); width: 288px; height: 588px; border-radius: 44px; background: var(--rh-black); padding: 10px; box-shadow: 0 30px 60px rgba(0,0,0,.25); z-index: 2; }
.phone .notch { position: absolute; top: 18px; left: 50%; transform: translateX(-50%); width: 92px; height: 26px; background: var(--rh-black); border-radius: 999px; z-index: 3; }
.phone video { width: 100%; height: 100%; object-fit: cover; border-radius: 35px; background: #222; }
.phone .live { position: absolute; top: 54px; left: 22px; z-index: 3; font-weight: 700; font-size: 11px; color: #fff; background: rgba(0,0,0,.5); padding: 4px 10px; border-radius: 999px; letter-spacing: .06em; }
.phone .live i { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #FF3B30; margin-right: 6px; vertical-align: 1px; }
.float { position: absolute; background: #fff; border: 1px solid var(--rh-line); border-radius: 18px; padding: 14px 16px; box-shadow: 0 12px 30px rgba(0,0,0,.08); text-align: left; z-index: 1; }
.float h5 { font-family: var(--rh-font-mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--rh-gray); font-weight: 500; margin-bottom: 6px; }
.float .v { font-family: var(--rh-font-pixel); font-weight: 900; font-size: 42px; line-height: 1; }
.float .l { font-size: 12px; color: var(--rh-gray); margin-top: 4px; }
.float.dark { background: var(--rh-black); color: #fff; border-color: var(--rh-black); }
.float.dark h5, .float.dark .l { color: var(--rh-gray-on-dark); }
.float.dark .v { color: var(--rh-volt); }
.float.wash { background: var(--rh-volt-wash); border-color: #DCEFA6; }
.f1 { left: calc(50% - 480px); top: 60px; width: 200px; }
.f2 { left: calc(50% - 330px); top: 270px; width: 160px; }
.f3 { left: calc(50% - 470px); top: 420px; width: 210px; }
.f4 { left: calc(50% + 180px); top: 50px; width: 180px; }
.f5 { left: calc(50% + 320px); top: 240px; width: 170px; }
.f6 { left: calc(50% + 175px); top: 420px; width: 250px; }
.chat-line { display: flex; gap: 8px; align-items: flex-start; font-size: 12.5px; line-height: 1.35; margin-top: 8px; }
.chat-line b { display: block; font-size: 10.5px; color: var(--rh-gray); font-weight: 600; }
.chat-line .av { width: 22px; height: 22px; border-radius: 50%; background: var(--rh-volt-pale); flex: none; display: grid; place-items: center; font-size: 10px; font-weight: 700; }
.check-row { display: flex; align-items: center; gap: 8px; font-size: 12.5px; padding: 4px 0; }
.check-row i { width: 16px; height: 16px; border-radius: 50%; background: var(--rh-volt); display: grid; place-items: center; font-style: normal; font-size: 10px; font-weight: 800; flex: none; }
.hero-note { font-family: var(--rh-font-mono); font-size: 11px; color: #9A9892; margin-top: 18px; }

/* Trust banner */
.trust { padding-top: 72px; text-align: center; }
.trust .logos { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 28px 64px; margin-top: 22px; }
.trust .logos img { height: 40px; width: auto; opacity: .88; }
.trust .logos img.tall { height: 48px; }
.trust .logos img.wide { height: 26px; }

/* Pillars */
.pillars { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 44px; }
.pillar { background: #fff; border: 1px solid var(--rh-line); border-radius: var(--rh-radius-card); padding: 30px; display: flex; flex-direction: column; gap: 14px; min-height: 330px; }
.pillar .num { font-family: var(--rh-font-pixel); font-weight: 900; font-size: 34px; line-height: 1; color: var(--rh-black); }
.pillar h3 { font-family: var(--rh-font-head); font-weight: 900; text-transform: uppercase; font-size: 1.5rem; line-height: 1; letter-spacing: -.02em; }
.pillar p { color: #45443F; }
.pillar .viz { margin-top: auto; border-radius: 12px; background: var(--rh-fog); border: 1px solid var(--rh-line); padding: 14px; font-size: 12px; }
.viz .row { display: flex; align-items: center; gap: 10px; padding: 5px 0; }
.viz .tag { font-family: var(--rh-font-mono); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; background: #fff; border: 1px solid var(--rh-line); border-radius: 999px; padding: 3px 8px; white-space: nowrap; }
.viz .bar { flex: 1; height: 8px; border-radius: 99px; background: #E9E7E1; overflow: hidden; }
.viz .bar span { display: block; height: 100%; background: var(--rh-black); border-radius: 99px; }
.viz .bar span.v { background: var(--rh-volt); }
.viz .num-s { font-family: var(--rh-font-mono); font-size: 11px; color: var(--rh-gray); width: 46px; text-align: right; }
.cal { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.cal div { overflow-wrap: anywhere; }
.cal div { background: #fff; border: 1px solid var(--rh-line); border-radius: 8px; padding: 8px 6px; font-family: var(--rh-font-mono); font-size: 9.5px; line-height: 1.35; color: var(--rh-gray); min-height: 62px; }
.cal div b { display: block; color: var(--rh-black); font-family: var(--rh-font-body); font-size: 11px; margin-bottom: 3px; }
.cal div.on { background: var(--rh-volt-wash); border-color: #DCEFA6; }
.tiers { display: flex; align-items: flex-end; gap: 8px; height: 90px; }
.tiers div { flex: 1; background: var(--rh-black); border-radius: 6px 6px 0 0; color: var(--rh-volt); font-family: var(--rh-font-pixel); font-weight: 900; font-size: 15px; display: flex; align-items: flex-start; justify-content: center; padding-top: 6px; }
.tiers-l { display: flex; gap: 8px; margin-top: 6px; }
.tiers-l span { flex: 1; text-align: center; font-family: var(--rh-font-mono); font-size: 9.5px; color: var(--rh-gray); }

/* Versus table */
.versus { margin-top: 16px; background: #fff; border: 1px solid var(--rh-line); border-radius: var(--rh-radius-card); overflow: hidden; }
.versus table { width: 100%; border-collapse: collapse; }
.versus th, .versus td { text-align: left; padding: 16px 20px; border-bottom: 1px solid var(--rh-line); font-size: 15px; vertical-align: top; }
.versus tr:last-child td { border-bottom: 0; }
.versus th { font-family: var(--rh-font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--rh-gray); font-weight: 500; }
.versus td:first-child { font-weight: 600; width: 22%; }
.versus td:nth-child(2) { color: var(--rh-gray); width: 34%; }
.versus .us { background: var(--rh-volt-wash); }
.versus td.us::before { content: "✓"; display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--rh-volt); font-size: 11px; font-weight: 800; margin-right: 10px; vertical-align: 1px; }
.versus th.us { color: var(--rh-black); }

/* Proof block */
.proof { background: var(--rh-black); color: #fff; border-radius: var(--rh-radius-section); padding: 88px 0 72px; margin-top: 96px; overflow: hidden; }
.pixel-h { font-family: var(--rh-font-pixel); font-weight: 900; text-transform: uppercase; font-size: clamp(2.4rem, 6.6vw, 4.8rem); line-height: .95; }
.pixel-h span { background: linear-gradient(90deg, var(--rh-volt), var(--rh-volt-pale)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.proof .lead { color: var(--rh-gray-on-dark); margin: 18px auto 0; }
.adwall { margin-top: 52px; display: flex; flex-direction: column; gap: 14px; }
.adrow { display: flex; gap: 14px; width: max-content; animation: drift 80s linear infinite; }
.adrow.rev { animation-direction: reverse; }
.adwall:hover .adrow { animation-play-state: paused; }
@keyframes drift { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.ad { width: 200px; flex: none; cursor: pointer; background: none; border: 0; color: inherit; text-align: left; font: inherit; padding: 0; }
.ad .frame { position: relative; width: 200px; aspect-ratio: 9 / 16; border-radius: 16px; overflow: hidden; background: #1c1c1c; border: 1px solid var(--rh-line-dark); }
.ad video, .ad img.poster { width: 100%; height: 100%; object-fit: cover; }
.ad .play { position: absolute; right: 10px; bottom: 10px; width: 34px; height: 34px; border-radius: 50%; background: rgba(0,0,0,.55); display: grid; place-items: center; }
.ad .play::after { content: ""; border-left: 11px solid #fff; border-top: 7px solid transparent; border-bottom: 7px solid transparent; margin-left: 3px; }
.ad .meta { padding: 10px 2px 0; font-size: 12.5px; line-height: 1.35; }
.ad .meta b { display: block; font-family: var(--rh-font-mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--rh-volt); font-weight: 500; margin-bottom: 3px; }
.ad .meta span { color: #D5D3CD; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.adwall-note { text-align: center; font-size: 13px; color: var(--rh-gray-on-dark); margin-top: 18px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 64px; }
.stat { border-radius: var(--rh-radius-card); padding: 26px; background: #161616; border: 1px solid var(--rh-line-dark); }
.stat .v { font-family: var(--rh-font-pixel); font-weight: 900; font-size: clamp(2.6rem, 5vw, 3.8rem); line-height: 1; color: var(--rh-volt); }
.stat .l { color: var(--rh-gray-on-dark); margin-top: 8px; font-size: 14px; }
.wall { columns: 2; column-gap: 16px; margin-top: 64px; }
.shot { break-inside: avoid; margin-bottom: 16px; background: #161616; border: 1px solid var(--rh-line-dark); border-radius: 16px; padding: 10px; }
.shot img { border-radius: 10px; width: 100%; height: auto; }
.shot figcaption { font-size: 12.5px; color: var(--rh-gray-on-dark); padding: 10px 4px 2px; }
.shot figcaption b { color: #fff; font-weight: 600; }
.shot:nth-child(odd) { transform: rotate(-.6deg); }
.shot:nth-child(even) { transform: rotate(.6deg); }
.source { text-align: center; font-family: var(--rh-font-mono); font-size: 11px; color: #77756F; margin-top: 18px; letter-spacing: .04em; }

/* How it works */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 40px; }
.step { background: #fff; border: 1px solid var(--rh-line); border-radius: var(--rh-radius-card); padding: 28px; }
.step .n { font-family: var(--rh-font-pixel); font-weight: 900; font-size: 40px; line-height: 1; }
.step h3 { font-family: var(--rh-font-head); font-weight: 900; text-transform: uppercase; font-size: 1.3rem; line-height: 1.05; letter-spacing: -.02em; margin: 22px 0 8px; }
.step p { color: #45443F; }

/* Fit */
.fit { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 40px; }
.fit > div { border-radius: var(--rh-radius-card); padding: 30px; border: 1px solid var(--rh-line); background: #fff; }
.fit .yes { background: var(--rh-volt-wash); border-color: #DCEFA6; }
.fit h3 { font-family: var(--rh-font-head); font-weight: 900; text-transform: uppercase; font-size: 1.2rem; margin-bottom: 14px; letter-spacing: -.01em; }
.fit ul { list-style: none; }
.fit li { padding: 9px 0 9px 30px; position: relative; border-top: 1px solid rgba(0,0,0,.07); }
.fit li:first-child { border-top: 0; }
.fit .yes li::before { content: "✓"; position: absolute; left: 0; top: 9px; width: 20px; height: 20px; border-radius: 50%; background: var(--rh-volt); display: grid; place-items: center; font-size: 11px; font-weight: 800; border: 1px solid var(--rh-black); }
.fit .no li::before { content: "✕"; position: absolute; left: 0; top: 9px; width: 20px; height: 20px; border-radius: 50%; background: var(--rh-fog); display: grid; place-items: center; font-size: 10px; font-weight: 800; color: var(--rh-gray); }

/* FAQ */
.faq { margin-top: 36px; border-top: 1px solid var(--rh-line); }
.faq details { border-bottom: 1px solid var(--rh-line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; font-weight: 600; font-size: 1.08rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font-family: var(--rh-font-pixel); font-weight: 900; font-size: 30px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: #45443F; padding: 0 0 22px; max-width: 680px; }

/* Final CTA */
.final { background: var(--rh-black); color: #fff; border-radius: var(--rh-radius-section); padding: 88px 24px; margin-top: 96px; text-align: center; }

/* Footer */
footer { padding: 56px 0 64px; }
.foot { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; flex-wrap: wrap; }
.foot .lockup .house, .foot .lockup .wm { color: var(--rh-black); }
.foot nav { display: flex; gap: 20px; flex-wrap: wrap; font-size: 14px; }
.foot nav a { text-decoration: none; color: #45443F; }
.legal { font-size: 12px; color: #8A8882; margin-top: 28px; max-width: 820px; line-height: 1.6; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(0,0,0,.86); display: none; align-items: center; justify-content: center; padding: 20px; }
.lightbox.open { display: flex; }
.lightbox video { max-height: 86vh; width: auto; max-width: 92vw; border-radius: 18px; background: #000; }
.lightbox .close { position: absolute; top: 18px; right: 18px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--rh-volt); font-size: 22px; font-weight: 800; cursor: pointer; }
.lightbox .cap { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; color: #D5D3CD; font-size: 13px; padding: 0 20px; }

/* Responsive */
@media (max-width: 1000px) {
  .float { display: none; }
  .float.keep { display: block; z-index: 3; }
  .f2.keep { left: 16px; top: auto; bottom: 40px; }
  .f5.keep { left: auto; right: 16px; top: 40px; }
}
@media (max-width: 760px) {
  section { padding-top: 72px; }
  #included { padding-top: 112px; }
  #how, #fit { padding-top: 104px; }
  .stage { height: 540px; }
  .phone { width: 252px; height: 516px; }
  .f2.keep, .f5.keep { transform: scale(.82); }
  .f2.keep { left: 0; bottom: 18px; transform-origin: left bottom; }
  .f5.keep { right: 0; top: 18px; transform-origin: right top; }
  .pillars, .steps, .fit, .stats { grid-template-columns: minmax(0, 1fr); }
  .cal { gap: 4px; }
  .cal div { padding: 6px 4px; font-size: 8.5px; }
  .viz .tag { font-size: 9px; padding: 3px 6px; }
  .viz .num-s { width: 40px; font-size: 10px; }
  .pillar { min-height: 0; }
  .wall { columns: 1; }
  .versus th:nth-child(2), .versus td:nth-child(2) { display: none; }
  .versus td:first-child { width: 34%; }
  .trust .logos { gap: 22px 36px; }
  .trust .logos img { height: 30px; }
  .trust .logos img.tall { height: 38px; }
  .trust .logos img.wide { height: 20px; }
  .ad, .ad .frame { width: 160px; }
  .adrow { animation-duration: 60s; }
  .nav { gap: 12px; padding: 5px 5px 5px 14px; max-width: 100%; }
  .nav .lockup .house { width: 18px; height: 18px; }
  .nav .lockup .wm { height: 11px; }
  .nav .apply { font-size: 13px; padding: 9px 14px; }
}
@media (max-width: 359px) {
  .nav .lockup .wm { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .adrow { animation: none; }
  html { scroll-behavior: auto; }
}
