/* Runbond landing page. Brand: volt #C6F432 on ink #171717, moss #4D6B00 for text on white.
   Never volt text on white, never white text on volt. */
:root {
  --volt: #C6F432;
  --ink: #171717;
  --ink-2: #222222;
  --moss: #4D6B00;
  --muted: #5f5f5f;
  --muted-dark: #a3a3a3;
  --line: #ececec;
  --soft: #f6f6f3;
  --tint: #F4FBDC;
  --tint-line: #DCEFA0;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.55;
  overflow-x: hidden;
}
img { max-width: 100%; }
a { color: var(--moss); }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
h1, h2, h3 { letter-spacing: -0.03em; line-height: 1.04; margin: 0; }
h2 { font-size: clamp(32px, 5vw, 52px); font-weight: 850; }
h3 { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }
.eyebrow { font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--volt); margin-bottom: 14px; }
.eyebrow.dark { color: var(--moss); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 16px 26px; border-radius: 999px; border: 0;
  font: inherit; font-weight: 800; font-size: 16px; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .15s ease, box-shadow .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn:disabled { cursor: default; transform: none; opacity: .85; }
.btn-volt { background: var(--volt); color: var(--ink); box-shadow: 0 10px 30px rgba(198,244,50,.25); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-sm { padding: 10px 18px; font-size: 14px; }

/* Header */
header.top { position: sticky; top: 0; z-index: 20; background: rgba(23,23,23,.88); backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid rgba(255,255,255,.08); }
header.top .wrap { display: flex; align-items: center; gap: 24px; height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 850; font-size: 20px; letter-spacing: -0.02em; color: #fff; text-decoration: none; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
nav.links { margin-left: auto; display: flex; gap: 26px; }
nav.links a { color: #d4d4d4; text-decoration: none; font-weight: 600; font-size: 15px; }
nav.links a:hover { color: #fff; }

/* Hero */
.hero { background: var(--ink); color: #fff; padding: 72px 0 0; overflow: hidden; position: relative; }
.hero::before { content: ""; position: absolute; right: -10%; top: -20%; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px;
  background: radial-gradient(circle, rgba(198,244,50,.18), rgba(198,244,50,0) 60%); pointer-events: none; }
.hero-video { position: absolute; inset: 0; z-index: 0; }
.hero-video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .8s ease; }
.hero-video video.on { opacity: 1; }
.hero-video::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(23,23,23,.92) 0%, rgba(23,23,23,.72) 45%, rgba(23,23,23,.45) 100%),
              linear-gradient(0deg, rgba(23,23,23,.9) 0%, rgba(23,23,23,0) 35%); }
.hero::before { z-index: 1; }
.hero-grid { z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; position: relative; }
.hero-copy { padding-bottom: 72px; }
h1 { font-size: clamp(48px, 7.4vw, 92px); font-weight: 900; letter-spacing: -0.045em; line-height: .98; }
h1 .hl { color: var(--volt); }
.lead { font-size: 20px; color: #cfcfcf; max-width: 520px; margin: 24px 0 30px; }

.signup { display: flex; flex-wrap: wrap; gap: 10px; max-width: 520px; }
.signup input { flex: 1 1 240px; min-width: 0; padding: 16px 22px; border-radius: 999px; font: inherit; font-size: 16px;
  border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.07); color: #fff; outline: none; }
.signup input::placeholder { color: #8f8f8f; }
.signup input:focus { border-color: var(--volt); box-shadow: 0 0 0 3px rgba(198,244,50,.25); }
.signup .msg { flex-basis: 100%; margin: 4px 6px 0; font-size: 14px; font-weight: 600; color: var(--volt); min-height: 1px; }
.signup.light input { background: #fff; color: var(--ink); border-color: rgba(23,23,23,.2); }
.signup.light input::placeholder { color: #777; }
.signup.light input:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(23,23,23,.15); }
.signup.light .msg { color: var(--ink); }
.signup.done input { display: none; }

.spots { margin-top: 18px; font-size: 14px; color: var(--muted-dark); display: flex; align-items: center; gap: 10px; }
.spots b { color: #fff; }
.pulse { width: 9px; height: 9px; border-radius: 50%; background: var(--volt); box-shadow: 0 0 0 0 rgba(198,244,50,.6); animation: pulse 2s infinite; flex: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(198,244,50,0); } 100% { box-shadow: 0 0 0 0 rgba(198,244,50,0); } }

/* iPhone 18 Pro shaped frame (same look as the App Store screenshots) */
.iphone { position: relative; padding: 5px; border-radius: 54px;
  background: linear-gradient(135deg,#8a8d91 0%,#d9dbde 18%,#6f7276 40%,#b9bcc0 62%,#5c5f63 82%,#a7aaae 100%);
  box-shadow: 0 40px 80px rgba(0,0,0,.35); }
.iphone .bezel { background: #0b0b0c; border-radius: 49px; padding: 7px; }
.iphone img { display: block; width: 100%; border-radius: 42px; }
.iphone.small { width: 230px; padding: 4px; border-radius: 40px; box-shadow: 0 24px 50px rgba(0,0,0,.18); }
.iphone.small .bezel { border-radius: 36px; padding: 5px; }
.iphone.small img { border-radius: 31px; }
.iphone.mid { width: 300px; justify-self: center; }

.hero-phones { position: relative; height: 640px; align-self: end; }
.hero-phones .iphone { position: absolute; width: 300px; }
.hero-phones .front { left: 4%; top: 40px; z-index: 2; }
.hero-phones .back { right: 2%; top: 110px; transform: rotate(6deg); opacity: .9; }

/* Ticker */
.ticker { background: var(--volt); color: var(--ink); overflow: hidden; border-block: 1px solid #b3dc2b; }
.ticker .track { display: flex; gap: 0; width: max-content; animation: slide 40s linear infinite; }
.ticker span { font-weight: 850; font-size: 20px; letter-spacing: -0.01em; padding: 16px 26px; white-space: nowrap; }
.ticker span::after { content: "✦"; margin-left: 52px; font-size: 14px; position: relative; top: -2px; }
@keyframes slide { to { transform: translateX(-50%); } }

/* How it works */
.how { padding: 110px 0; background: var(--soft); }
.section-head { max-width: 900px; margin-bottom: 56px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { background: #fff; border-radius: 32px; padding: 30px 28px 34px; border: 1px solid var(--line); position: relative; overflow: hidden; }
.step .iphone { margin: 0 auto 28px; }
.step .num { width: 38px; height: 38px; border-radius: 50%; background: var(--ink); color: var(--volt); font-weight: 900;
  display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.step p { color: var(--muted); margin: 10px 0 0; }

/* Race */
.race { background: var(--volt); padding: 110px 0; }
.race-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: center; }
.race p { font-size: 19px; max-width: 560px; margin: 22px 0; color: #2a2a2a; }
.race .eyebrow.dark { color: var(--ink); opacity: .7; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ticks li { font-weight: 700; display: flex; gap: 12px; align-items: center; }
.ticks li::before { content: "✓"; width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: var(--volt);
  display: inline-flex; align-items: center; justify-content: center; font-size: 13px; flex: none; }
.medal-art { display: flex; flex-direction: column; align-items: center; }
.ribbon { display: flex; gap: 0; height: 120px; }
.ribbon i { display: block; width: 58px; height: 100%; background: var(--ink); }
.ribbon i + i { background: #fff; }
.medal { width: 280px; height: 280px; border-radius: 50%; margin-top: -24px; background: radial-gradient(circle at 35% 30%, #ffd977, #f2b33d 55%, #d9921d);
  border: 12px solid #e8a52a; box-shadow: 0 30px 60px rgba(70,90,0,.35), inset 0 -10px 20px rgba(0,0,0,.12);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; }
.medal span { font-size: 104px; line-height: 1; font-weight: 900; letter-spacing: -0.05em; color: #7a4a05; }
.medal small { font-weight: 900; letter-spacing: .14em; color: #7a4a05; font-size: 15px; }

/* Any pace */
.pace { padding: 110px 0; background: var(--ink); color: #fff; overflow: hidden; }
.pace-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 60px; align-items: center; }
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 36px; }
.cards .c { background: var(--ink-2); border: 1px solid rgba(255,255,255,.08); border-radius: 24px; padding: 22px; }
.cards b { display: block; font-size: 18px; margin-bottom: 6px; }
.cards span { color: var(--muted-dark); font-size: 15px; }

/* Clubs */
.clubs { padding: 90px 0 0; }
.clubs-card { display: flex; gap: 40px; align-items: center; justify-content: space-between; background: var(--tint); border: 1px solid var(--tint-line);
  border-radius: 36px; padding: 48px; }
.clubs-card .eyebrow { color: var(--moss); }
.clubs-card p { color: #3d3d3d; max-width: 620px; margin: 16px 0 0; font-size: 18px; }

/* Join */
.join { padding: 90px 0; }
.join-inner { background: var(--volt); border-radius: 40px; padding: 72px 48px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.join-inner .eyebrow.dark { color: var(--ink); opacity: .7; }
.join-inner p { max-width: 560px; font-size: 18px; color: #2a2a2a; margin: 18px 0 28px; }
.join-inner .signup { justify-content: center; width: 100%; }
.join-inner .fine { font-size: 13px; margin: 18px 0 0; color: #3a3a3a; }
.join-inner .fine a { color: var(--ink); }

/* FAQ */
.faq { padding: 30px 0 110px; }
.faq h2 { margin-bottom: 26px; }
details { border-bottom: 1px solid var(--line); padding: 20px 4px; }
summary { font-weight: 800; font-size: 19px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 20px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 26px; line-height: 1; color: var(--moss); transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--muted); margin: 12px 0 0; font-size: 17px; }

/* Footer */
footer { background: var(--ink); color: #bdbdbd; padding: 40px 0; }
footer .wrap { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.foot-links { display: flex; gap: 22px; margin-left: auto; }
footer a { color: #e5e5e5; text-decoration: none; font-weight: 600; }
footer .copy { font-size: 14px; }

/* Tablet */
@media (max-width: 960px) {
  nav.links { display: none; }
  header.top .btn { margin-left: auto; }
  .hero-grid, .race-grid, .pace-grid { grid-template-columns: 1fr; }
  .hero-copy { padding-bottom: 20px; }
  .hero-phones { height: 520px; max-width: 520px; width: 100%; margin: 0 auto; }
  .hero-phones .iphone { width: 250px; }
  .steps { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .race-grid { gap: 40px; }
  .pace .iphone.mid { display: none; }
  .clubs-card { flex-direction: column; align-items: flex-start; padding: 36px 28px; }
}

/* Phone */
@media (max-width: 560px) {
  .hero-video::after { background: linear-gradient(180deg, rgba(23,23,23,.7) 0%, rgba(23,23,23,.82) 50%, rgba(23,23,23,.95) 100%); }
  .hero { padding-top: 48px; }
  .lead { font-size: 18px; }
  .signup .btn { flex: 1 1 100%; }
  .hero-phones { height: 430px; }
  .hero-phones .iphone { width: 205px; }
  .hero-phones .front { left: 0; top: 30px; }
  .hero-phones .back { right: 0; top: 80px; }
  .how, .race, .pace { padding: 76px 0; }
  .medal { width: 210px; height: 210px; }
  .medal span { font-size: 78px; }
  .ribbon { height: 90px; }
  .ribbon i { width: 44px; }
  .cards { grid-template-columns: 1fr; }
  .join { padding: 60px 0; }
  .join-inner { padding: 48px 22px; border-radius: 30px; }
  .clubs { padding-top: 60px; }
  footer .wrap { flex-direction: column; align-items: flex-start; }
  .foot-links { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .ticker .track, .pulse { animation: none; }
  html { scroll-behavior: auto; }
}

[hidden] { display: none !important; }
