/* Rangelight site styles v9 (2026-11-10): hero = centered headline → form → filling calendar (text thread removed from the hero). v8: + hero calendar that fills with bookings. v7: + onboarding steps section. v6: hero thread = instant text + email reply (not a missed call),
   "one system" carousel of customer experiences, About page with the range-light animation. Landing page follows Hormozi's opt-in checklist
   (~/Hormozi/concepts/landing-pages.md). Tokens mirror ~/HighLevelAgency/brand/tokens.css.
   /assets is cached for a year: rename this file (site-v10.css) when you edit it. */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/assets/fonts/bricolage-grotesque-latin-v9.woff2") format("woff2");
  font-weight: 500 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("/assets/fonts/figtree-latin-v9.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --rl-background: #F7F7F7;
  --rl-surface: #FFFFFF;
  --rl-surface-muted: #EDEDED;
  --rl-text: #111111;
  --rl-text-secondary: #333333;
  --rl-text-muted: #5C5C5C;
  --rl-accent: #111111;
  --rl-accent-hover: #3A3A3A;
  --rl-on-accent: #FFFFFF;
  --rl-border: #DADADA;
  --rl-border-subtle: #E8E8E8;
  --rl-border-input: #C8C8C8;
  --rl-success: #2E7D32;
  --rl-error: #B3261E;
  --rl-ink: #111111;
  --rl-ink-deep: #0E0E0E;
  --rl-on-ink-muted: #D6D6D6;
  --rl-on-ink-subtle: #A6A6A6;
  --rl-on-ink-border: #2C2C2C;

  --rl-font-display: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
  --rl-font-body: "Figtree", ui-sans-serif, system-ui, sans-serif;

  --rl-radius-input: 14px;
  --rl-radius-card: 24px;
  --rl-radius-panel: 28px;
  --rl-radius-pill: 999px;

  --rl-container: 1200px;
  --rl-gutter: clamp(16px, 4vw, 40px);

  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
.nowrap { white-space: nowrap; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  background: var(--rl-background);
  color: var(--rl-text);
  font-family: var(--rl-font-body);
  font-size: 17px;
  line-height: 1.6;
}
h1, h2, h3, p, ul, ol, figure { margin: 0; }
img, svg { display: block; max-width: 100%; }
a { color: var(--rl-text); }
a:hover { color: var(--rl-text-muted); }
:focus-visible { outline: 2px solid var(--rl-text); outline-offset: 3px; }
.on-dark :focus-visible { outline-color: #FFFFFF; }

.skip {
  position: absolute; left: 16px; top: -100px; z-index: 20;
  background: var(--rl-accent); color: var(--rl-on-accent);
  padding: 10px 18px; border-radius: var(--rl-radius-pill); text-decoration: none; font-weight: 600;
}
.skip:focus { top: 16px; color: var(--rl-on-accent); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.container { width: min(var(--rl-container), 100% - 2 * var(--rl-gutter)); margin-inline: auto; }

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; }
.logo:hover { color: inherit; }
.logo svg { width: 28px; height: 28px; flex: none; }
.wordmark {
  font-family: var(--rl-font-display); font-weight: 700;
  font-size: clamp(22px, 6vw, 26px); letter-spacing: -0.03em; line-height: 1;
}

/* ---------- Header: logo + one quiet link ---------- */
.top { padding-block: 24px 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.top-link { font-size: 16px; font-weight: 500; text-decoration: none; }
.btn-sm { font-size: 16px; padding: 10px 20px; }
@media (max-width: 559px) { .top .btn-sm { display: none; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--rl-accent); color: var(--rl-on-accent);
  font: 600 18px/1.6 var(--rl-font-body);
  padding: 15px 28px; border: 0; border-radius: var(--rl-radius-pill);
  text-decoration: none; cursor: pointer;
  transition: background-color 150ms ease;
}
.btn:hover { background: var(--rl-accent-hover); color: var(--rl-on-accent); }
.btn[disabled] { background: var(--rl-accent-hover); cursor: progress; }
.btn-block { display: flex; width: 100%; }
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } }

/* ---------- Hero: headline, then the form right under it ---------- */
.hero {
  display: flex; flex-direction: column; align-items: center;
  gap: clamp(28px, 4vw, 44px);
  padding-block: clamp(32px, 5vw, 64px) clamp(56px, 7vw, 96px);
}
.hero-head { display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; max-width: 920px; }
.hero-row {
  width: 100%;
  display: grid; gap: clamp(24px, 3vw, 40px);
  grid-template-columns: minmax(0, 520px);
  justify-content: center; align-items: start;
}
@media (min-width: 960px) {
  .hero-row { grid-template-columns: minmax(0, 520px) minmax(0, 420px); }
}
.h1 {
  font-family: var(--rl-font-display); font-weight: 700;
  font-size: clamp(44px, 6vw, 80px); line-height: 0.98; letter-spacing: -0.04em;
}
.hero-sub { font-size: clamp(18px, 2vw, 22px); color: var(--rl-text-secondary); max-width: 620px; }

/* ---------- Proof: animated text thread (assets/js/landing-v1.js) ---------- */
.proof { width: 100%; }
.thread {
  position: relative; overflow: hidden;
  height: 380px;
  background: var(--rl-surface);
  border-radius: var(--rl-radius-panel);
}
.thread-inner { padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.typing {
  align-self: flex-end;
  display: none; gap: 5px; padding: 14px 16px;
  background: var(--rl-surface-muted); border-radius: 20px 20px 6px 20px;
}
.typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--rl-text-muted); }
.typing { align-self: flex-start; border-radius: 20px 20px 20px 6px; }
.js .thread .typing { display: flex; position: absolute; top: 56px; left: 24px; visibility: hidden; }
.js .thread .a-hide { visibility: hidden; }
.sheet {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: var(--rl-surface);
  border-top: 1px solid var(--rl-border-subtle);
  border-radius: 24px 24px 0 0;
  padding: 18px 24px 24px;
  transform: translateY(110%);
}
.sheet-grab { width: 36px; height: 4px; border-radius: 2px; background: var(--rl-border); margin: 0 auto 14px; }
.sheet-title { font-weight: 700; font-size: 17px; }
.sheet-day { font-size: 14px; color: var(--rl-text-muted); margin-top: 2px; }
.slots { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.slots span {
  padding: 8px 14px; border: 1px solid var(--rl-border-input); border-radius: var(--rl-radius-pill);
  font-size: 14px; font-weight: 600; background: #FFFFFF; color: var(--rl-text);
}
.tap {
  position: absolute; left: 0; top: 0; width: 44px; height: 44px; margin: -22px 0 0 -22px;
  border-radius: 50%; background: rgba(120, 120, 120, 0.4);
  pointer-events: none; visibility: hidden;
}
.replay {
  font: 500 14px/1.4 var(--rl-font-body); color: var(--rl-text);
  background: none; border: 0; padding: 0; margin-left: 8px;
  text-decoration: underline; cursor: pointer;
}
.thread .sys, .thread .meta { font-size: 13px; color: var(--rl-text-muted); text-align: center; }
.bubble {
  align-self: flex-start; max-width: 86%;
  padding: 12px 16px;
  border-radius: 20px 20px 20px 6px;
  background: var(--rl-surface-muted); color: var(--rl-text);
  font-size: 15px; line-height: 1.45;
}
.bubble.out { align-self: flex-end; background: var(--rl-ink); color: #FFFFFF; border-radius: 20px 20px 6px 20px; }
.bubble .pick {
  display: inline-block; margin-top: 8px;
  background: var(--rl-ink); color: #FFFFFF;
  font-weight: 600; font-size: 14px;
  padding: 6px 14px; border-radius: var(--rl-radius-pill);
}
.mail {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 14px; border: 1px solid var(--rl-border-subtle); border-radius: 16px;
  font-size: 14px; line-height: 1.35;
}
.mail svg { width: 22px; height: 22px; flex: none; }
.mail .from { display: block; font-size: 12.5px; color: var(--rl-text-muted); }
.thread .meta { text-align: left; margin-top: -4px; }
.booked {
  display: flex; align-items: center; gap: 10px;
  margin-top: 6px; padding: 12px 16px;
  border: 1px solid var(--rl-border-subtle); border-radius: 16px;
  font-weight: 600; font-size: 15px;
}
.booked svg { width: 20px; height: 20px; flex: none; color: var(--rl-success); }
.proof figcaption { font-size: 14px; color: var(--rl-text-muted); margin-top: 10px; padding-left: 4px; }

/* ---------- Form card ---------- */
.form-card {
  width: 100%;
  background: var(--rl-surface);
  border: 2px solid var(--rl-ink);
  border-radius: var(--rl-radius-panel);
  padding: clamp(24px, 3vw, 32px);
  display: flex; flex-direction: column; gap: 18px;
  scroll-margin-top: 24px;
}
.form-title {
  font-family: var(--rl-font-display); font-weight: 700;
  font-size: 26px; line-height: 1.15; letter-spacing: -0.02em;
}
.form-why { color: var(--rl-text-muted); font-size: 16px; margin-top: 6px; }
.form { display: flex; flex-direction: column; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 15px; font-weight: 600; }
.field .opt { font-weight: 400; color: var(--rl-text-muted); }
.field .hint { font-size: 13px; color: var(--rl-text-muted); }
.field input {
  font: 400 16px/1.4 var(--rl-font-body);
  color: var(--rl-text);
  background: #FAFAFA;
  border: 1px solid var(--rl-border-input);
  border-radius: var(--rl-radius-input);
  padding: 12px 14px;
  width: 100%;
}
.field input:focus-visible { outline: 2px solid var(--rl-text); outline-offset: 1px; background: #FFFFFF; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { color: var(--rl-error); font-size: 15px; }
.form-error:empty { display: none; }
.consent { font-size: 12.5px; line-height: 1.5; color: var(--rl-text-muted); }
.done { display: flex; flex-direction: column; gap: 10px; }
.done svg { width: 32px; height: 32px; color: var(--rl-success); }
.done p { color: var(--rl-text-secondary); }

/* ---------- Objections (below the fold) ---------- */
.objections {
  list-style: none; padding: 0;
  display: grid; gap: 16px; grid-template-columns: 1fr;
}
@media (min-width: 800px) { .objections { grid-template-columns: repeat(3, 1fr); } }
.objections li {
  background: var(--rl-surface); border-radius: var(--rl-radius-card);
  padding: 28px; display: flex; flex-direction: column; gap: 8px;
}
.objections h3 { font-size: 21px; line-height: 28px; font-weight: 700; }
.objections p { color: var(--rl-text-muted); }
.again { margin-top: 32px; text-align: center; }

.fine { margin-top: 32px; max-width: 760px; font-size: 13px; line-height: 1.6; color: var(--rl-text-muted); }
.again + .fine { margin-inline: auto; text-align: center; }

/* ---------- Footer ---------- */
.footer {
  margin-block: clamp(48px, 6vw, 80px) 40px;
  background: var(--rl-ink-deep); color: #FFFFFF;
  border-radius: var(--rl-radius-panel);
  padding: 32px clamp(24px, 3vw, 40px);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px;
}
.footer .logo { color: #FFFFFF; }
.footer-about { flex: 1 1 360px; max-width: 560px; font-size: 14px; color: var(--rl-on-ink-muted); }
.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 14px; color: var(--rl-on-ink-subtle); }
.footer-legal a { color: var(--rl-on-ink-muted); text-decoration: none; }
.footer-legal a:hover { color: #FFFFFF; }

/* ---------- Simple text page (privacy) ---------- */
.page { padding-block: clamp(40px, 7vw, 96px) 0; }
.page .h1 { font-size: clamp(44px, 7vw, 80px); }
.prose { max-width: 680px; margin-top: 40px; display: flex; flex-direction: column; gap: 16px; }
.prose h2 { font-size: 21px; line-height: 28px; font-weight: 700; margin-top: 16px; }
.prose p { color: var(--rl-text-secondary); }

/* ---------- About page ---------- */
.about-hero { padding-block: clamp(40px, 6vw, 80px) 0; max-width: 820px; }
.about-hero .h1 { font-size: clamp(44px, 7vw, 88px); }
.about-hero p { font-size: clamp(18px, 2vw, 21px); color: var(--rl-text-secondary); margin-top: 20px; max-width: 680px; }
.channel {
  position: relative;
  margin-top: clamp(32px, 5vw, 56px);
  background: var(--rl-ink); border-radius: 32px; overflow: hidden;
}
.c-tag {
  position: absolute; left: 55.5%; transform: translateY(-50%);
  font-size: clamp(13px, 1.6vw, 20px); font-weight: 500; line-height: 1.2;
  color: var(--rl-on-ink-muted); white-space: nowrap;
}
.c-tag-goal { top: 26.1%; }
.c-tag-you { top: 48.7%; left: 56.5%; }
.c-tag-ship { top: 92%; left: 54%; }
.js .c-tag { visibility: hidden; }
.channel svg { width: 100%; height: auto; }
.channel-cap { display: flex; flex-wrap: wrap; gap: 8px; justify-content: space-between; margin-top: 12px; font-size: 14px; color: var(--rl-text-muted); }
.ai { display: grid; gap: clamp(24px, 4vw, 48px); margin-top: clamp(64px, 9vw, 120px); }
@media (min-width: 900px) { .ai { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }
.h2 {
  font-family: var(--rl-font-display); font-weight: 700;
  font-size: clamp(34px, 4.5vw, 52px); line-height: 1.05; letter-spacing: -0.03em; text-wrap: balance;
}
.ai-intro p { color: var(--rl-text-secondary); margin-top: 20px; max-width: 460px; }
.ai-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.ai-list li { background: var(--rl-surface); border-radius: var(--rl-radius-card); padding: 28px; }
.ai-list h3 { font-size: 21px; line-height: 28px; font-weight: 700; }
.ai-list p { color: var(--rl-text-muted); margin-top: 6px; }
.band {
  margin-top: clamp(64px, 9vw, 120px);
  background: var(--rl-ink); color: #FFFFFF; border-radius: 32px;
  padding: clamp(40px, 6vw, 72px) clamp(24px, 5vw, 64px);
  display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center;
}
.band p { color: var(--rl-on-ink-muted); max-width: 560px; }
.band .btn { margin-top: 8px; background: #FFFFFF; color: var(--rl-text); }
.band .btn:hover { background: var(--rl-on-ink-muted); color: var(--rl-text); }
.js .channel svg { visibility: hidden; }

/* ---------- One system: carousel of customer experiences (assets/js/landing-v3.js) ---------- */
.system { padding-bottom: clamp(56px, 7vw, 96px); }
.system-head { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.system-head p { color: var(--rl-text-secondary); font-size: clamp(17px, 1.8vw, 19px); }
.carousel { margin-top: clamp(28px, 4vw, 40px); }
.track {
  list-style: none; margin: 0; padding: 4px 2px 8px;
  display: grid; grid-auto-flow: column; grid-auto-columns: min(300px, 80%); gap: 16px;
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  scrollbar-width: none;
}
.track::-webkit-scrollbar { display: none; }
.slide { scroll-snap-align: start; display: flex; flex-direction: column; gap: 12px; }
.screen {
  height: 300px; overflow: hidden;
  background: var(--rl-surface); border-radius: var(--rl-radius-card);
  padding: 18px; display: flex; flex-direction: column; gap: 8px;
}
.screen .sys { font-size: 12.5px; color: var(--rl-text-muted); text-align: center; }
.screen .bubble { font-size: 14px; padding: 10px 14px; }
.screen .bubble .pick { font-size: 13px; }
.screen .mail, .screen .booked { font-size: 13.5px; padding: 9px 12px; }
.screen .booked svg { width: 18px; height: 18px; }
.stars { font-size: 20px; letter-spacing: 2px; color: var(--rl-text); }
.slide h3 { font-size: 19px; line-height: 26px; font-weight: 700; padding: 0 4px; }
.slide .desc { color: var(--rl-text-muted); font-size: 15px; padding: 0 4px; margin-top: -6px; }
.js .screen .m { visibility: hidden; }
.car-controls { display: flex; justify-content: center; align-items: center; gap: 12px; margin-top: 20px; }
.car-btn {
  width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid var(--rl-border-input); background: #FFFFFF; color: var(--rl-text);
  display: grid; place-items: center; cursor: pointer;
  transition: background-color 150ms ease;
}
.car-btn:hover { background: var(--rl-surface-muted); }
.car-btn[disabled] { opacity: 0.35; cursor: default; }
.car-btn svg { width: 20px; height: 20px; }
.car-count { font-size: 14px; color: var(--rl-text-muted); min-width: 52px; text-align: center; }
.h2-lg { font-size: clamp(34px, 4.5vw, 52px); line-height: 1.05; letter-spacing: -0.03em; text-wrap: balance; }

/* ---------- Onboarding: done-with-you buildout steps ---------- */
.onboard {
  display: grid; gap: clamp(24px, 4vw, 64px);
  padding-bottom: clamp(56px, 7vw, 96px);
}
@media (min-width: 900px) { .onboard { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }
.onboard-intro { display: flex; flex-direction: column; gap: 16px; }
.onboard-intro p { color: var(--rl-text-secondary); max-width: 440px; }
@media (min-width: 900px) { .onboard-intro { position: sticky; top: 32px; align-self: start; } }
.steps { list-style: none; padding: 0; margin: 0; }
.steps li {
  display: grid; grid-template-columns: 48px 1fr; gap: 12px;
  padding: 22px 0; border-top: 1px solid var(--rl-border);
}
.steps li:last-child { border-bottom: 1px solid var(--rl-border); }
.step-num { font-family: var(--rl-font-display); font-weight: 700; font-size: 26px; line-height: 1.1; }
.steps h3 { font-size: 20px; line-height: 28px; font-weight: 700; }
.steps p { color: var(--rl-text-muted); margin-top: 4px; }
.steps .handoff .step-num, .steps .handoff h3 { color: var(--rl-text); }

/* ---------- Hero top: headline left, filling calendar right (assets/js/landing-v4.js) ---------- */
.hero-top {
  width: 100%;
  display: grid; gap: clamp(28px, 4vw, 56px); align-items: center;
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 960px) { .hero-top { grid-template-columns: minmax(0, 1fr) minmax(0, 560px); } }
.hero-top .hero-head { align-items: flex-start; text-align: left; max-width: 620px; }
.hero-top .h1 { font-size: clamp(44px, 5.6vw, 76px); }

.cal {
  background: var(--rl-surface); border-radius: var(--rl-radius-panel);
  padding: clamp(16px, 2.2vw, 24px);
  display: flex; flex-direction: column; gap: 14px;
}
.cal-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.cal-title { font-weight: 700; font-size: 16px; }
.cal-count { font-size: 14px; color: var(--rl-text-muted); }
.cal-count b { font-family: var(--rl-font-display); font-size: 20px; color: var(--rl-text); font-weight: 700; margin-right: 4px; }
.cal-tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.cal-tab {
  font: 600 13px/1.2 var(--rl-font-body); color: var(--rl-text);
  background: #FFFFFF; border: 1px solid var(--rl-border-input); border-radius: var(--rl-radius-pill);
  padding: 7px 12px; cursor: pointer; transition: background-color 150ms ease, color 150ms ease;
}
.cal-tab[aria-pressed="true"] { background: var(--rl-ink); border-color: var(--rl-ink); color: #FFFFFF; }
.cal-grid {
  display: grid; grid-template-columns: 38px repeat(5, minmax(0, 1fr)); gap: 6px;
}
.cal-day, .cal-time { font-size: 12px; color: var(--rl-text-muted); }
.cal-day { text-align: center; padding-bottom: 2px; font-weight: 600; }
.cal-time { align-self: center; }
.cal-cell {
  height: 58px; border-radius: 12px; background: var(--rl-background);
  position: relative; overflow: hidden;
}
.chip {
  position: absolute; inset: 0;
  background: var(--rl-ink); color: #FFFFFF; border-radius: 12px;
  padding: 6px 8px; display: flex; flex-direction: column; justify-content: center; gap: 2px;
  font-size: 11px; line-height: 1.2; overflow: hidden;
}
.chip b {
  font-weight: 700; font-size: 11.5px; line-height: 1.2;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.chip span { color: var(--rl-on-ink-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.js .cal .chip { visibility: hidden; }
@media (max-width: 559px) {
  .cal-grid { grid-template-columns: 34px repeat(3, minmax(0, 1fr)); }
  .cal-grid .d4, .cal-grid .d5 { display: none; }
}

/* Align the form/thread row to the same two columns as the headline/calendar row. */
@media (min-width: 960px) {
  .hero-row { grid-template-columns: minmax(0, 1fr) minmax(0, 560px); justify-content: stretch; gap: clamp(28px, 4vw, 56px); }
  .hero-row .form-card { max-width: 600px; }
}

/* ---------- v9 hero stack: form, then the calendar, centered ---------- */
.hero-stack { width: 100%; max-width: 640px; display: flex; flex-direction: column; gap: clamp(24px, 3vw, 36px); }
.hero-stack .form-card { width: 100%; }
