/* OutRun — landing page (outrunworld.com)
   Self-contained: no app dependency, opens directly in a browser (file://).
   "Kinetic" identity: dark dramatic hero + light/airy body, one vivid
   orange→pink accent. Shares the running-brand DNA with the PWA but reads as
   its own confident platform. Brand mark is the OutRun nested-track logo
   (warm orange-to-pink gradient); icons live in assets/brand/. */

:root {
  /* surfaces */
  --ink:   #0E0F13;   /* hero + footer dark */
  --ink2:  #16171F;   /* dark strip */
  --paper: #FBF7F0;   /* light section */
  --paper2:#F3ECE1;   /* light section, alt */
  --card:  #FFFFFF;
  /* text */
  --on-dark:        #F7EFE4;
  --on-dark-soft:   rgba(247,239,228,0.72);
  --on-light:       #1B1714;
  --on-light-soft:  #6E6357;
  /* accent */
  --a1: #FF6A3D;      /* vivid orange */
  --a2: #F7345E;      /* pink-red */
  --accent: #FF5A3C;
  --teal: #16B3A3;
  --sage: #7BAE4F;
  /* lines */
  --line-d: rgba(247,239,228,0.12);
  --line-l: rgba(27,23,20,0.10);
  --maxw: 1140px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, "Segoe UI", system-ui, Roboto, sans-serif;
  color: var(--on-dark); background: var(--ink);
  -webkit-font-smoothing: antialiased; line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------------------------------------------------------------- brand mark */
.brand { display: flex; align-items: center; gap: 11px; }
.brand-mark { width: 30px; height: 44px; flex-shrink: 0; }
.wordmark { font-size: 23px; font-weight: 900; letter-spacing: -0.5px; line-height: 1; }
.wordmark .out { color: var(--on-dark); }
.wordmark .run {
  background: linear-gradient(100deg, var(--a1), var(--a2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 24px; border-radius: 999px; font-weight: 800; font-size: 15px;
  letter-spacing: 0.2px; cursor: pointer; border: 2px solid transparent;
  transition: transform .06s ease, filter .15s ease, background .15s ease; white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: linear-gradient(100deg, var(--a1), var(--a2)); color: #fff;
  box-shadow: 0 10px 26px rgba(247,52,94,0.32);
}
.btn-primary:hover { filter: brightness(1.07); }
.btn-ghost { background: rgba(247,239,228,0.06); border-color: rgba(247,239,228,0.30); color: var(--on-dark); }
.btn-ghost:hover { background: rgba(247,239,228,0.12); }
.btn-sm { padding: 9px 17px; font-size: 13.5px; }

/* ---------------------------------------------------------------- header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(14,15,19,0.78); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-d);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.header-right { display: flex; align-items: center; gap: 16px; }
.powered-tag { font-size: 12px; color: var(--on-dark-soft); letter-spacing: 0.3px; }
.powered-tag b { color: var(--a1); font-weight: 700; }

/* ---------------------------------------------------------------- hero */
.hero {
  position: relative; overflow: hidden; color: var(--on-dark);
  background:
    radial-gradient(920px 500px at 82% -12%, rgba(255,106,61,0.30), transparent 60%),
    radial-gradient(760px 520px at 6% 116%, rgba(247,52,94,0.18), transparent 60%),
    var(--ink);
}
.hero .wrap {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 44px; align-items: center;
  padding-top: 70px; padding-bottom: 80px;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 800; letter-spacing: 1.4px; text-transform: uppercase;
  color: var(--on-dark); background: rgba(247,239,228,0.06);
  border: 1px solid var(--line-d); padding: 7px 13px; border-radius: 999px;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px rgba(22,179,163,0.22); }
.hero h1 {
  font-size: clamp(40px, 6vw, 68px); line-height: 0.98; font-weight: 900;
  letter-spacing: -2px; margin: 22px 0 0;
}
.hero h1 .accent {
  background: linear-gradient(100deg, var(--a1), var(--a2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.lead { font-size: 18.5px; max-width: 34ch; margin: 20px 0 0; color: var(--on-dark-soft); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-origin { margin-top: 22px; font-size: 13px; color: var(--on-dark-soft); display: flex; align-items: center; gap: 8px; }
.hero-origin .pin { color: var(--a1); }

/* phone cluster */
.hero-art { position: relative; display: flex; justify-content: center; align-items: center; min-height: 520px; }
.phone {
  position: relative; width: 250px; aspect-ratio: 9 / 19.3;
  background: #05070f; border-radius: 38px; padding: 9px;
  box-shadow: 0 34px 80px rgba(0,0,0,0.6), 0 0 0 2px rgba(247,239,228,0.10) inset;
}
.phone::before {
  content: ""; position: absolute; top: 14px; left: 50%; transform: translateX(-50%);
  width: 92px; height: 22px; background: #05070f; border-radius: 0 0 14px 14px; z-index: 3;
}
.phone .screen { width: 100%; height: 100%; border-radius: 30px; overflow: hidden; background: #000; }
.phone .screen img { width: 100%; height: 100%; object-fit: cover; }
.phone.back {
  position: absolute; width: 210px; top: 54px; left: 50%;
  transform: translateX(-128%) rotate(-9deg); opacity: 0.9; z-index: 1;
}
.phone.front { position: relative; z-index: 2; transform: rotate(3deg); }

.feed-chip {
  position: absolute; z-index: 4; width: 198px; right: -6px; bottom: 16px;
  background: #fff; color: var(--on-light); border-radius: 16px; padding: 10px;
  box-shadow: 0 20px 44px rgba(0,0,0,0.45); transform: rotate(-3deg);
}
.feed-chip .fc-head { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.feed-chip .fc-av { width: 26px; height: 26px; border-radius: 50%; background: linear-gradient(135deg, var(--a1), var(--a2)); flex-shrink: 0; }
.feed-chip .fc-name { font-size: 11.5px; font-weight: 800; line-height: 1.1; }
.feed-chip .fc-sub  { font-size: 10px; color: var(--on-light-soft); }
.feed-chip img { border-radius: 10px; aspect-ratio: 1; object-fit: cover; width: 100%; }
.feed-chip .fc-foot { display: flex; gap: 12px; font-size: 11px; color: var(--on-light-soft); margin-top: 7px; padding: 0 2px; }

/* ---------------------------------------------------------------- dark strip (positioning) */
.position-band { background: var(--ink2); color: var(--on-dark); border-top: 1px solid var(--line-d); border-bottom: 1px solid var(--line-d); }
.position-band .wrap { padding: 54px 24px; }
.position-grid { display: grid; grid-template-columns: 1.35fr 1fr 1fr 1fr; gap: 30px; align-items: center; }
.position-lead { font-size: 23px; font-weight: 800; line-height: 1.28; letter-spacing: -0.5px; }
.position-lead .hl { background: linear-gradient(100deg, var(--a1), var(--a2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pstat .n { font-size: 15px; font-weight: 900; letter-spacing: 0.3px; }
.pstat .d { font-size: 13.5px; color: var(--on-dark-soft); margin-top: 4px; }

/* ---------------------------------------------------------------- light sections */
.section { padding: 92px 0; background: var(--paper); color: var(--on-light); }
.section.alt { background: var(--paper2); }
.section-head { text-align: center; max-width: 660px; margin: 0 auto 56px; }
.section-head .kicker { font-size: 12.5px; font-weight: 800; letter-spacing: 1.6px; text-transform: uppercase; color: var(--accent); }
.section-head h2 { font-size: clamp(28px, 3.8vw, 42px); font-weight: 900; letter-spacing: -1px; margin: 12px 0 0; color: var(--on-light); }
.section-head p { font-size: 16.5px; color: var(--on-light-soft); margin: 14px 0 0; }

/* how it works */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.step { text-align: center; }
.step .frame {
  border-radius: 20px; overflow: hidden; border: 1px solid var(--line-l);
  background: #000; box-shadow: 0 16px 40px rgba(27,23,20,0.16); aspect-ratio: 1; margin-bottom: 18px;
}
.step .frame img { width: 100%; height: 100%; object-fit: cover; }
.step .frame.tall { aspect-ratio: 9 / 16; max-width: 250px; margin-left: auto; margin-right: auto; }
.step .n {
  display: inline-flex; width: 30px; height: 30px; align-items: center; justify-content: center;
  border-radius: 50%; background: linear-gradient(100deg, var(--a1), var(--a2)); color: #fff;
  font-weight: 900; font-size: 14px; margin-bottom: 12px;
}
.step h3 { font-size: 18.5px; margin: 0 0 6px; font-weight: 800; color: var(--on-light); }
.step p { font-size: 14.5px; color: var(--on-light-soft); margin: 0; }

/* audiences */
.aud-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.aud-card {
  background: var(--card); border: 1px solid var(--line-l); border-radius: 20px; padding: 30px 26px;
  box-shadow: 0 12px 34px rgba(27,23,20,0.07); transition: transform .15s ease, box-shadow .15s ease;
}
.aud-card:hover { transform: translateY(-5px); box-shadow: 0 20px 46px rgba(27,23,20,0.13); }
.aud-ico { width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 25px; margin-bottom: 18px; }
.aud-card.runner  .aud-ico { background: rgba(22,179,163,0.14); }
.aud-card.leader  .aud-ico { background: rgba(255,106,61,0.14); }
.aud-card.partner .aud-ico { background: rgba(123,174,79,0.16); }
.aud-card .tag { font-size: 12px; font-weight: 800; letter-spacing: 0.6px; text-transform: uppercase; color: var(--on-light-soft); }
.aud-card h3 { font-size: 20px; margin: 5px 0 0; font-weight: 800; color: var(--on-light); }
.aud-card p { font-size: 14.5px; color: var(--on-light-soft); margin: 12px 0 0; }

/* ---------------------------------------------------------------- CTA band */
.cta-band {
  text-align: center; color: #fff;
  background:
    radial-gradient(680px 300px at 50% 130%, rgba(255,106,61,0.55), transparent 62%),
    linear-gradient(115deg, var(--a2), var(--a1));
}
.cta-band .wrap { padding: 84px 24px; }
.cta-band .event-kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 800; letter-spacing: 1.4px; text-transform: uppercase;
  background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.32);
  padding: 7px 14px; border-radius: 999px; margin-bottom: 20px;
}
.cta-band .event-kicker .dot { width: 7px; height: 7px; border-radius: 50%; background: #fff; }
.cta-band .event-route { font-size: 16.5px; font-weight: 700; margin: 12px 0 0; opacity: 0.95; }
.cta-band .event-route .pin { margin-right: 4px; }
.cta-band h2 { font-size: clamp(30px, 4.4vw, 46px); font-weight: 900; letter-spacing: -1.2px; margin: 0; }
.cta-band p { font-size: 17px; margin: 14px auto 30px; max-width: 48ch; opacity: 0.92; }
.cta-band .btn-primary { background: var(--ink); color: #fff; box-shadow: 0 12px 32px rgba(0,0,0,0.28); }
.cta-band .btn-primary:hover { filter: brightness(1.18); }
.cta-band .btn-ghost { border-color: rgba(255,255,255,0.55); color: #fff; background: rgba(255,255,255,0.08); }
.cta-note { font-size: 13px; margin-top: 18px; opacity: 0.8; }

/* ---------------------------------------------------------------- footer */
.site-footer { background: var(--ink); color: var(--on-dark); border-top: 1px solid var(--line-d); padding: 50px 0 42px; }
.footer-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.footer-blurb { max-width: 38ch; font-size: 13.5px; color: var(--on-dark-soft); margin-top: 14px; }
.footer-links { display: flex; gap: 40px; flex-wrap: wrap; }
.footer-col h4 { font-size: 12px; letter-spacing: 1px; text-transform: uppercase; color: var(--on-dark-soft); margin: 0 0 12px; }
.footer-col a { display: block; font-size: 14px; color: var(--on-dark-soft); margin-bottom: 9px; }
.footer-col a:hover { color: var(--a1); }
.footer-bottom {
  margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line-d);
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  font-size: 12.5px; color: var(--on-dark-soft);
}
.footer-bottom b { color: var(--a1); font-weight: 700; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 880px) {
  .hero .wrap { grid-template-columns: 1fr; padding-top: 48px; padding-bottom: 58px; }
  .hero-art { min-height: 470px; margin-top: 12px; }
  .hero p.lead { max-width: none; }
  .position-grid { grid-template-columns: 1fr 1fr; gap: 22px; }
  .position-lead { grid-column: 1 / -1; }
  .steps { grid-template-columns: 1fr; max-width: 360px; margin: 0 auto; }
  .aud-grid { grid-template-columns: 1fr; }
  .powered-tag { display: none; }
}
@media (max-width: 460px) {
  .position-grid { grid-template-columns: 1fr; }
  .feed-chip { width: 150px; }
  .phone { width: 212px; }
}
