@font-face {
  font-family: Manrope;
  src: url('/velo/assets/Manrope-Variable.ttf') format('truetype');
  font-weight: 200 800;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --ink: #080a0a;
  --surface: #131616;
  --line: #292d2d;
  --text: #fafafa;
  --muted: #cbcccd;
  --volt: #d8fa02;
  --coral: #f57d74;
  font-family: Manrope, system-ui, sans-serif;
  color: var(--text);
  background: var(--ink);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
:focus-visible { outline: 2px solid var(--volt); outline-offset: 4px; }

.visually-hidden,
.roles input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.site-header {
  width: min(calc(100% - 48px), 1198px);
  min-height: 76px;
  margin: 29px auto 0;
  padding: 12px 30px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  background: linear-gradient(110deg, #131616, #111414);
  border: 1px solid #252929;
  border-radius: 999px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  justify-self: start;
  font-size: 24px;
  font-weight: 800;
}
.brand img { display: block; border-radius: 8px; }

.site-header nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(22px, 4.1vw, 70px);
  color: #e3e4e4;
  font-size: 18px;
  font-weight: 500;
}
.site-header nav a:hover,
.site-header nav a[aria-current="page"] { color: var(--volt); }

.header-cta {
  justify-self: end;
  white-space: nowrap;
  border-radius: 999px;
  padding: 11px 26px;
  background: var(--text);
  color: var(--ink);
  font-size: 18px;
  font-weight: 800;
}
.header-cta:hover { background: #e3e3e3; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(240px, 24vw, 286px);
  grid-template-areas: "intro demo" "waitlist demo";
  column-gap: clamp(36px, 8vw, 116px);
  row-gap: 30px;
  width: min(calc(100% - 64px), 1000px);
  margin: 0 auto;
  padding: clamp(38px, 4.5vw, 64px) 0 56px;
}
.hero-intro { grid-area: intro; align-self: end; }
.eyebrow {
  margin: 0;
  color: var(--coral);
  font-size: 14px;
  line-height: 26px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
}
h1 {
  margin: 17px auto 0;
  font-size: clamp(46px, 4.68vw, 78px);
  line-height: .98;
  font-weight: 800;
  letter-spacing: -.015em;
}
.hero h1 {
  margin: 12px 0 0;
  font-size: clamp(40px, 5vw, 68px);
  line-height: 1.06;
}
.hero-title-accent {
  display: block;
  color: var(--coral);
}

.hero-copy {
  max-width: 42ch;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 1.55vw, 21px);
  line-height: 1.55;
  font-weight: 500;
}

.pitch-demo {
  grid-area: demo;
  align-self: center;
  justify-self: center;
  width: 100%;
  max-width: 286px;
  margin: 0;
}
.pitch-demo-player {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
}
.pitch-demo-player video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
}
.pitch-demo-play {
  appearance: none;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  border-radius: inherit;
  color: var(--text);
  background: transparent;
  cursor: pointer;
}
.pitch-demo-play:focus-visible { outline-offset: -4px; }
.pitch-demo-play-icon {
  position: absolute;
  top: 10px;
  right: 10px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid #ffffff40;
  border-radius: 999px;
  background: #080a0ae6;
  pointer-events: none;
}
.pitch-demo-play-icon::before {
  content: "";
  border-block: 7px solid transparent;
  border-left: 11px solid currentColor;
  margin-left: 2px;
}
.pitch-demo-play[data-playing] .pitch-demo-play-icon::before {
  width: 12px;
  height: 14px;
  border: 0;
  border-inline: 4px solid currentColor;
  margin-left: 0;
}
.pitch-demo-play:hover .pitch-demo-play-icon { background: var(--ink); }
.pitch-demo-readings {
  position: absolute;
  inset: auto 0 0;
  height: 34%;
  background: linear-gradient(to bottom, transparent, rgb(8 10 10 / 77%) 59%, rgb(8 10 10 / 94%));
  color: var(--text);
  pointer-events: none;
}
@media (prefers-reduced-motion: no-preference) {
  .pitch-demo-readings.is-revealed {
    animation: pitch-demo-readings-fade 300ms ease-in-out both;
  }
}
@keyframes pitch-demo-readings-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}
.pitch-demo-readings dl {
  position: absolute;
  inset: auto 23px 17px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  gap: 5px 12px;
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  text-align: left;
}
.pitch-demo-readings dd {
  margin: 0;
  text-align: right;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}
.pitch-demo-readings strong {
  font-size: 23px;
  font-weight: 800;
}
.pitch-demo-readings [data-velo-reading] { color: var(--volt); }

.waitlist {
  grid-area: waitlist;
  align-self: start;
  width: 100%;
  margin: 0;
  scroll-margin-top: 24px;
}
.roles {
  display: flex;
  justify-content: center;
  width: min(100%, 356px);
  margin: 0 0 14px;
  padding: 6px;
  border: 1px solid #202525;
  border-radius: 999px;
  background: var(--surface);
}
.roles label { flex: 1; cursor: pointer; }
.roles span {
  display: block;
  border-radius: 999px;
  padding: 8px 10px;
  color: var(--muted);
  font-size: 17px;
  font-weight: 600;
  text-align: center;
}
.roles input:checked + span {
  background: var(--volt);
  color: var(--ink);
  font-weight: 800;
}
.roles input:focus-visible + span {
  outline: 2px solid var(--volt);
  outline-offset: 3px;
}

.signup {
  display: flex;
  gap: 10px;
  padding: 9px 10px;
  border: 1px solid #363b3b;
  border-radius: 999px;
  background: var(--surface);
}
.signup input {
  flex: 1;
  width: 100%;
  min-width: 0;
  border: 0;
  border-radius: 999px;
  padding: 12px 14px;
  background: transparent;
  color: var(--text);
  font-size: 21px;
}
.signup input::placeholder { color: #b9bdbd; opacity: 1; }
.signup button {
  min-height: 56px;
  border: 0;
  border-radius: 999px;
  padding: 12px clamp(16px, 2vw, 28px);
  background: var(--volt);
  color: var(--ink);
  font-size: clamp(16px, 1.55vw, 20px);
  font-weight: 800;
  cursor: pointer;
}
.signup button:hover { background: #e5ff3b; }
.signup button:disabled { cursor: wait; opacity: .75; }
.form-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.5;
}
.form-note[data-state="success"] { color: var(--volt); }
.form-note[data-state="error"] { color: #ffaaa2; }

.info {
  width: min(calc(100% - 48px), 790px);
  margin: clamp(56px, 6vw, 100px) auto 80px;
  font-size: 19px;
  line-height: 1.65;
}
.info h1 { margin: 0 0 38px; }
.info .intro { font-size: clamp(21px, 2vw, 28px); }
.info section + section { border-top: 1px solid var(--line); }
.info section, .steps li { padding-block: 23px; }
.info h2 { margin: 0 0 8px; font-size: 24px; line-height: 1.3; }
.info p { margin: 0; color: var(--muted); }
.steps { padding-left: 1.5em; }
.steps li { padding-left: 8px; }
.steps li::marker { color: var(--coral); font-weight: 800; }

@media (max-width: 800px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "intro" "demo" "waitlist";
    justify-items: center;
    width: min(calc(100% - 40px), 520px);
    text-align: center;
  }
  .hero h1 { font-size: clamp(30px, 8.3vw, 52px); }
  .hero-copy { margin: 16px auto 0; }
  .roles { margin-inline: auto; }
}

@media (max-width: 680px) {
  .site-header {
    width: calc(100% - 32px);
    margin-top: 16px;
    padding: 12px 16px 8px;
    grid-template-columns: 1fr auto;
    row-gap: 3px;
    border-radius: 24px;
  }
  .brand { gap: 8px; font-size: 20px; }
  .brand img { width: 32px; height: 32px; }
  .header-cta { grid-column: 2; grid-row: 1; padding: 10px 16px; font-size: 14px; }
  .site-header nav {
    grid-column: 1 / -1;
    gap: 6px 22px;
    font-size: 14px;
  }
  .site-header nav a { display: inline-flex; align-items: center; min-height: 44px; }
  .hero { row-gap: 24px; padding: 29px 0 40px; }
  .eyebrow { font-size: 12px; }
  h1 { font-size: clamp(37px, 9.9vw, 58px); line-height: 1.03; }
  .hero-copy { line-height: 1.45; }
  .pitch-demo { max-width: 264px; }
  .roles { width: min(100%, 330px); }
  .roles span { padding-block: 10px; font-size: 15px; }
  .signup { flex-direction: column; gap: 8px; border-radius: 23px; padding: 8px; }
  .signup input { padding: 11px 16px; font-size: 17px; }
  .signup button { min-height: 48px; font-size: 17px; }
  .form-note { margin-top: 16px; font-size: 15px; }
  .info { font-size: 17px; }
}

.text-link {
  color: var(--volt);
  text-decoration: underline;
  text-underline-offset: .2em;
}

.velo-footer {
  padding: 0 24px 32px;
  text-align: center;
  font-size: 14px;
}

.setup-guide h1 {
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1.1;
  text-wrap: balance;
}

.setup-guide .intro { margin-bottom: 20px; }
.setup-guide .manual-estimate {
  padding: 16px 0;
  border-top: 1px solid var(--line);
}
.manual-estimate summary { cursor: pointer; }
.manual-estimate p { margin-top: 8px; }
.setup-guide .guide-links { margin-top: 16px; }

.setup-position {
  margin: 22px 0 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: var(--surface);
}

.setup-photo { position: relative; }
.setup-photo img {
  display: block;
  width: 100%;
  height: auto;
}

.setup-callout {
  position: absolute;
  transform: translate(-50%, -50%);
  padding: 3px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--ink);
  color: var(--text);
  font-size: clamp(11px, 1.3vw, 14px);
  font-weight: 700;
  white-space: nowrap;
}

.setup-callout-target { top: 18%; left: 17.5%; }
.setup-callout-pitcher { top: 11%; left: 64%; }
.setup-callout-phone {
  top: 22%;
  left: 82%;
  color: var(--volt);
}

.setup-position figcaption {
  padding: 12px 16px;
  color: var(--muted);
  font-size: 14px;
}
