/* RideOut CRM website: the app's skin. Mobile first. Plan cards ported from sleepr-site PlansPage.astro (8ac5a67). */
/* Archivo (latin subset, from sleepr-site public/fonts/archivo-var-latin.woff2) and its metric-matched Arial fallback
   (sleepr-site src/styles/brand-bay.css): text laid out before the font arrives keeps its lines when it swaps in. */
@font-face { font-family: "Archivo"; font-weight: 500 900; font-stretch: 100% 125%; font-display: swap; src: url("/site/fonts/archivo.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Archivo Fallback"; font-weight: 600 900; font-stretch: 100% 109%; size-adjust: 100%; ascent-override: 88%; descent-override: 21%; line-gap-override: 0%; src: local("Arial Bold"), local("Arial-BoldMT"), local("Liberation Sans Bold"), local("LiberationSans-Bold"); }
@font-face { font-family: "Archivo Fallback"; font-weight: 600 900; font-stretch: 110% 121%; size-adjust: 121%; ascent-override: 72.7%; descent-override: 17.4%; line-gap-override: 0%; src: local("Arial Bold"), local("Arial-BoldMT"), local("Liberation Sans Bold"), local("LiberationSans-Bold"); }
@font-face { font-family: "Archivo Fallback"; font-weight: 600 900; font-stretch: 122% 125%; size-adjust: 129%; ascent-override: 68.2%; descent-override: 16.3%; line-gap-override: 0%; src: local("Arial Bold"), local("Arial-BoldMT"), local("Liberation Sans Bold"), local("LiberationSans-Bold"); }
:root {
  --bg: #050506; --panel: #0b0d0f; --line: rgba(255,255,255,.14); --line-2: rgba(255,255,255,.26);
  --fg: #f4f1ec; --t2: #c3cace; --t3: #9aa4aa; --led: #5BC8DC; --led-rgb: 91,200,220; --ice: #e6f7fa;
  --brand: "Archivo", "Archivo Fallback", "Arial Narrow", sans-serif;
  --sans: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 16px/1.55 var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { width: min(1160px, 100%); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 28px; } }

/* type */
.wm { font-family: var(--brand); font-stretch: 125%; font-weight: 800; letter-spacing: .02em; white-space: nowrap; }
.wm .o { color: transparent; -webkit-text-stroke: 1.6px var(--fg); }
.wm.sm { font-size: 15px; }
.wm.sm .o { -webkit-text-stroke-width: 1px; }
.eyebrow { margin: 0 0 10px; font-family: var(--brand); font-stretch: 118%; font-weight: 700; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--led); }
.h1 { margin: 0; font-size: clamp(36px, 9vw, 88px); line-height: 1; }
.h2 { margin: 0 0 12px; font-family: var(--brand); font-stretch: 125%; font-weight: 800; font-size: clamp(26px, 5vw, 44px); line-height: 1.05; text-transform: uppercase; }
.lede { margin: 0; color: var(--t2); font-size: 17px; max-width: 62ch; }
.slogan { margin: 0; color: #a9b0b5; font-size: clamp(17px, 2.6vw, 24px); }
.grow { color: #fff; font-weight: 700; letter-spacing: .04em; text-shadow: 0 0 10px rgba(var(--led-rgb), .95), 0 0 22px rgba(var(--led-rgb), .6); animation: breathe 3.6s ease-in-out infinite; }
@keyframes breathe { 50% { text-shadow: 0 0 6px rgba(var(--led-rgb), .7), 0 0 14px rgba(var(--led-rgb), .35); } }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border-radius: 999px; font-family: var(--brand); font-stretch: 118%; font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: box-shadow .2s, border-color .2s, background .2s; }
.btn-lit { background: var(--ice); color: #050506; box-shadow: 0 0 22px rgba(var(--led-rgb), .45); }
.btn-lit:hover, .btn-lit:focus-visible { box-shadow: 0 0 30px rgba(var(--led-rgb), .7); }
.btn-line { border-color: rgba(255,255,255,.42); color: var(--fg); }
.btn-line:hover, .btn-line:focus-visible { border-color: var(--led); box-shadow: 0 0 16px rgba(var(--led-rgb), .35); }
:focus-visible { outline: 2px solid var(--led); outline-offset: 3px; }

/* header */
.top { position: sticky; top: 0; z-index: 20; background: rgba(5,5,6,.78); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid rgba(255,255,255,.06); }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { border-radius: 8px; box-shadow: 0 0 12px rgba(var(--led-rgb), .35); }
.top nav { display: flex; align-items: center; gap: 18px; font-size: 14px; }
.top nav a { text-decoration: none; color: var(--t2); }
.top nav a:hover { color: #fff; }
.top nav a:not(.nav-cta) { display: none; }
.nav-cta { padding: 8px 14px; border: 1px solid rgba(var(--led-rgb), .7); border-radius: 999px; color: var(--fg) !important; font-weight: 600; }
@media (min-width: 720px) { .top nav a:not(.nav-cta) { display: inline; } }
@media (max-width: 340px) { .brand .wm { display: none; } }

/* hero: the hex-light ceiling, quiet behind the type */
.hero { position: relative; overflow: hidden; isolation: isolate; }
.hero-in { min-height: min(92svh, 860px); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; padding-top: 48px; padding-bottom: 56px; text-align: center; }
.hero-in .lede { margin-top: 4px; }
.mark { width: 72px; height: 72px; border-radius: 20px; box-shadow: 0 0 0 1px rgba(var(--led-rgb), .35), 0 0 36px rgba(var(--led-rgb), .45); }
.ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 10px; }
.store-slot:empty { display: none; }
.store { color: var(--t2); font-size: 14px; }
.hero-sm .hero-in { min-height: min(52svh, 480px); align-items: flex-start; text-align: left; justify-content: flex-end; }
.hero-sm .title { font-family: var(--brand); font-stretch: 125%; font-weight: 800; text-transform: uppercase; font-size: clamp(34px, 7vw, 64px); }

/* features: the App Store screens, a swipeable strip */
.features { padding: 64px 0 24px; }
.shots { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 18px 16px 28px; scrollbar-width: thin; scrollbar-color: rgba(var(--led-rgb), .5) transparent; }
.shot { flex: 0 0 auto; width: min(62vw, 260px); margin: 0; scroll-snap-align: center; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); background: var(--panel); }
.shot img { width: 100%; height: auto; aspect-ratio: 460 / 1000; object-fit: cover; }
@media (min-width: 1200px) { .shots { padding-left: calc((100vw - 1160px) / 2 + 28px); } }

/* plans (from sleepr-site PlansPage.astro) */
.plans { padding: 56px 0 24px; }
.plans .lede { margin-bottom: 28px; }
.plans-grid { display: grid; grid-template-columns: 1fr; gap: 22px; align-items: stretch; margin-top: 18px; }
.plans .wrap { width: min(1340px, 100%); }
@media (min-width: 680px) { .plans-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .plans-grid { grid-template-columns: repeat(3, 1fr); } }
/* five across: the names on one line, and the tagline and build lines at fixed heights so the prices line up */
@media (min-width: 1240px) {
  .plans-grid { grid-template-columns: repeat(5, 1fr); gap: 16px; }
  .plans-grid .plan-name { font-size: 17px; white-space: nowrap; }
  .plans-grid .plan-tagline { min-height: 4.2em; }
  .plans-grid .plan-build { min-height: 2.8em; }
  .plans-grid .plan-price b { font-size: 38px; }
}
.plan-card { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 30px 22px 24px; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); }
.plan-card.on { border-color: var(--led); box-shadow: 0 0 0 1px rgba(var(--led-rgb), .65), 0 0 28px rgba(var(--led-rgb), .32), inset 0 0 22px rgba(var(--led-rgb), .12); }
.plan-tag { position: absolute; top: -11px; left: 20px; padding: 3px 11px; border-radius: 999px; background: var(--led); color: #050506; font-family: var(--brand); font-stretch: 118%; font-size: 10.5px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; box-shadow: 0 0 14px rgba(var(--led-rgb), .55); }
.plan-name { margin: 0; font-family: var(--brand); font-stretch: 125%; font-weight: 800; font-size: 20px; letter-spacing: .04em; text-transform: uppercase; }
.plan-tagline { margin: 0; font-size: 15px; line-height: 1.4; color: var(--t2); }
.plan-price { margin: 8px 0 0; display: flex; flex-direction: column; gap: 2px; }
.plan-price b { font-family: var(--brand); font-stretch: 112%; font-weight: 800; font-size: 42px; line-height: 1; }
.plan-price span { color: var(--t3); font-size: 14px; }
.plan-build { margin: 0; font-size: 15px; font-weight: 600; }
.plan-incl { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-direction: column; gap: 9px; font-size: 14.5px; line-height: 1.4; flex: 1; }
.plan-incl li { position: relative; padding-left: 24px; }
.plan-incl li::before { content: ""; position: absolute; left: 2px; top: .38em; width: 11px; height: 6px; border-left: 2px solid var(--led); border-bottom: 2px solid var(--led); transform: rotate(-45deg); }
.plan-incl li.dim { color: var(--t3); }
.plan-incl li.dim::before { opacity: .55; }
.plan-go { margin-top: 10px; display: flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 16px; border: 1px solid rgba(255,255,255,.4); border-radius: 999px; font-family: var(--brand); font-stretch: 118%; font-weight: 700; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; transition: border-color .2s, box-shadow .2s; }
.plan-go:hover, .plan-go:focus-visible { border-color: var(--led); box-shadow: 0 0 16px rgba(var(--led-rgb), .35); }
.plan-card.on .plan-go { border-color: var(--led); }
.plans-foot { margin-top: 28px; display: flex; flex-direction: column; gap: 10px; color: var(--t3); font-size: 14px; max-width: 80ch; }
.plans-foot p { margin: 0; }
.legal a { color: var(--t2); }
.dock { position: sticky; bottom: 14px; z-index: 5; display: flex; justify-content: center; margin-top: 22px; transition: opacity .25s, transform .25s; }
.dock .btn { min-width: min(320px, 100%); }
.dock.away { opacity: 0; transform: translateY(12px); pointer-events: none; }
@media (min-width: 1240px) { .dock { display: none; } }

/* request setup */
.request { padding: 56px 0 72px; }
.lead { max-width: 720px; display: flex; flex-direction: column; gap: 12px; padding: 28px 20px; border: 1px solid var(--line); border-radius: 18px; background: var(--panel); }
@media (min-width: 720px) { .lead { padding: 36px; } }
.lead .lede { margin-bottom: 8px; }
.two[hidden] { display: none; }
.two { display: grid; grid-template-columns: 1fr; gap: 10px; }
@media (min-width: 560px) { .two { grid-template-columns: 1fr 1fr; } }
.lead input:not([type=checkbox]), .lead select { width: 100%; min-height: 48px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 10px; background: #050506; color: var(--fg); font: inherit; font-size: 16px; }
.lead input::placeholder { color: #7d878d; }
.pick { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--t3); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.45; color: var(--t2); }
.check input { width: 20px; height: 20px; margin-top: 1px; flex: none; accent-color: var(--led); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.lead .btn { align-self: flex-start; }
.msg { min-height: 1.4em; margin: 0; font-weight: 600; color: var(--ice); }

/* footer */
.foot { border-top: 1px solid rgba(255,255,255,.07); padding: 36px 0 calc(36px + env(safe-area-inset-bottom)); }
.foot-in { display: flex; flex-direction: column; gap: 12px; }
.foot .slogan { font-size: 15px; }
.foot .legal, .foot .fine { margin: 0; font-size: 13.5px; color: var(--t3); }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .grow { animation: none; } .btn, .plan-go, .dock { transition: none; } }

/* /plans: the cards follow the header art closely */
.hero-sm .hero-in { padding-bottom: 24px; }
.hero-sm + .plans { padding-top: 8px; }

/* who it's for, in the hero lede */
.who { display: block; color: var(--fg); font-weight: 600; margin-bottom: 4px; }
/* See it work: the app preview in a phone frame, the copy and how setup works */
.see { padding: 72px 0 24px; }
.see-in { display: grid; grid-template-columns: 1fr; gap: 36px; align-items: center; }
@media (min-width: 900px) { .see-in { grid-template-columns: minmax(260px, 340px) 1fr; gap: 64px; } }
.phone { justify-self: center; width: min(72vw, 320px); padding: 10px; border-radius: 44px; background: #0d1013; border: 1px solid rgba(255,255,255,.16); box-shadow: 0 0 0 1px rgba(var(--led-rgb), .18), 0 0 48px rgba(var(--led-rgb), .28); }
.phone video { display: block; width: 100%; height: auto; aspect-ratio: 443 / 960; border-radius: 34px; background: #000; object-fit: cover; }
.see-copy .lede { margin-bottom: 18px; }
.steps-title { margin: 8px 0 14px; font-family: var(--brand); font-stretch: 118%; font-weight: 700; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--led); }
.steps { list-style: none; counter-reset: s; margin: 0 0 24px; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.steps li { counter-increment: s; position: relative; padding-left: 52px; display: flex; flex-direction: column; gap: 2px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(var(--led-rgb), .7); color: var(--ice); font-family: var(--brand); font-stretch: 112%; font-weight: 800; box-shadow: 0 0 14px rgba(var(--led-rgb), .3); }
.steps b { font-size: 17px; }
.steps span { color: var(--t2); font-size: 15px; }
.ctas.left { justify-content: flex-start; }
/* the form's two modes */
.anchor { display: block; position: relative; top: -70px; visibility: hidden; }
.modes { display: inline-flex; align-self: flex-start; padding: 4px; border: 1px solid var(--line-2); border-radius: 999px; gap: 4px; margin-bottom: 6px; }
.modes label { position: relative; }
.modes input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.modes span { display: block; padding: 8px 16px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--t2); }
.modes input:checked + span { background: var(--ice); color: #050506; box-shadow: 0 0 14px rgba(var(--led-rgb), .45); }
.modes input:focus-visible + span { outline: 2px solid var(--led); outline-offset: 2px; }
.lead input[type=date] { color-scheme: dark; }

/* the supercar hero (marketing v2): the photo fills the hero, a shade keeps the words readable; on wide screens the words
   sit left over the darker side of the frame, on phones they sit low over the fade */
.hero-photo, .hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.hero-photo img { object-fit: cover; object-position: center 40%; }
.hero-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(5,5,6,.15) 0%, rgba(5,5,6,.35) 35%, rgba(5,5,6,.86) 62%, var(--bg) 100%); }
.hero .hero-in { justify-content: flex-end; padding-top: 30vh; gap: 14px; }
@media (min-aspect-ratio: 1/1) and (min-width: 900px) {
  .hero-photo img { object-position: 70% center; }
  .hero-shade { background: linear-gradient(90deg, rgba(5,5,6,.95) 0%, rgba(5,5,6,.86) 38%, rgba(5,5,6,.5) 66%, rgba(5,5,6,.15) 100%), linear-gradient(180deg, rgba(5,5,6,0) 78%, var(--bg) 100%); }
  .hero .hero-in { align-items: flex-start; text-align: left; justify-content: center; padding-top: 48px; }
  .hero .hero-in .lede { max-width: 46ch; }
  .hero .ctas { justify-content: flex-start; }
}
.hero-sm .hero-in { padding-top: 30vh; }
.hero-sm .hero-shade { background: linear-gradient(180deg, rgba(5,5,6,.2) 0%, rgba(5,5,6,.7) 55%, var(--bg) 100%); }
@media (min-aspect-ratio: 1/1) and (min-width: 900px) { .hero-sm .hero-in { padding-top: 120px; justify-content: flex-end; } }
