/* Superride landing site. Colours follow App/Superride/DesignSystem/Tokens.swift (light text colours a shade darker
   where the app value misses WCAG AA 4.5:1 on the page background). No web fonts, no JavaScript. */

:root {
  color-scheme: light dark;
  --bg: #f2f3f0;
  --surface: #ffffff;
  --surface-2: #f7f8f5;
  --ink: #141a17;
  --ink-2: #4b5550;
  --muted: #5f6762;
  --line: #dde0da;
  --tail: #2766cc;
  --tail-soft: #e1ecfb;
  --head: #c5302a;
  --head-soft: #fbe3e1;
  --good: #1c7842;
  --good-soft: #dff2e6;
  --amber: #9a5900;
  --amber-soft: #fcefd6;
  --wind-mid: #7a8285;
  --wind: linear-gradient(90deg, #3987e5 0%, #d6d5cf 50%, #e34948 100%);
  --button: #141a17;
  --button-ink: #ffffff;
  --shadow: 0 1px 2px rgb(20 26 23 / 6%), 0 12px 32px -12px rgb(20 26 23 / 18%);
  --phone-shadow: drop-shadow(0 28px 40px rgb(20 26 23 / 22%)) drop-shadow(0 2px 4px rgb(20 26 23 / 10%));
  --radius: 22px;
  --gutter: 16px;
  --max: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial,
    sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #101412;
    --surface: #181d1a;
    --surface-2: #1d2320;
    --ink: #e8ece9;
    --ink-2: #b2bbb5;
    --muted: #8f9892;
    --line: #2a312d;
    --tail: #5294ee;
    --tail-soft: #172638;
    --head: #f0594b;
    --head-soft: #3a1d1a;
    --good: #4cc47e;
    --good-soft: #16301f;
    --amber: #f0a818;
    --amber-soft: #352812;
    --wind-mid: #9fa6a8;
    --button: #e8ece9;
    --button-ink: #101412;
    --shadow: 0 1px 2px rgb(0 0 0 / 30%), 0 12px 32px -12px rgb(0 0 0 / 60%);
    --phone-shadow: drop-shadow(0 28px 44px rgb(0 0 0 / 55%)) drop-shadow(0 0 1px rgb(255 255 255 / 18%));
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--tail);
  text-underline-offset: 0.18em;
}

a:hover {
  text-decoration-thickness: 2px;
}

:focus-visible {
  outline: 3px solid var(--tail);
  outline-offset: 3px;
  border-radius: 6px;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin: 0;
  text-wrap: balance;
}

p {
  margin: 0;
  text-wrap: pretty;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 10;
  background: var(--surface);
  color: var(--ink);
  padding: 8px 14px;
  border-radius: 10px;
}

.skip:focus {
  left: 8px;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

@media (min-width: 720px) {
  :root {
    --gutter: 32px;
  }
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  -webkit-backdrop-filter: saturate(1.6) blur(16px);
  backdrop-filter: saturate(1.6) blur(16px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 60px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font: 700 19px/1 var(--font-display);
  letter-spacing: -0.02em;
}

.brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--ink) 10%, transparent);
}

.nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav a {
  color: var(--ink-2);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  padding: 8px 10px;
  border-radius: 10px;
}

.nav a:hover {
  color: var(--ink);
  background: color-mix(in srgb, var(--ink) 6%, transparent);
}

.nav a[aria-current="page"] {
  color: var(--ink);
}

.nav .nav-hide-sm {
  display: none;
}

@media (min-width: 640px) {
  .nav .nav-hide-sm {
    display: inline-block;
  }
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--button);
  color: var(--button-ink);
  font: 600 17px/1 var(--font);
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: var(--shadow);
}

.btn:hover {
  transform: translateY(-1px);
  text-decoration: none;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex: none;
}

.btn-small {
  min-height: 38px;
  padding: 0 16px;
  font-size: 15px;
  box-shadow: none;
}

.cta-note {
  margin-top: 14px;
  font-size: 15px;
  color: var(--muted);
}

/* Hero */

.hero {
  position: relative;
  padding: 48px 0 24px;
  overflow: hidden;
}

.hero .wrap {
  display: grid;
  gap: 40px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  font: 600 13px/1.2 var(--font);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--tail);
  margin-bottom: 14px;
}

.hero h1 {
  font-size: clamp(44px, 11vw, 84px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.98;
}

.hero h1 .wind-word {
  background: linear-gradient(90deg, var(--tail) 0%, var(--wind-mid) 55%, var(--head) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero .lede {
  margin-top: 20px;
  font-size: clamp(18px, 2.4vw, 21px);
  color: var(--ink-2);
  max-width: 34em;
}

.hero .actions {
  margin-top: 28px;
}

.legend {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
  font-size: 14px;
  font-weight: 600;
  max-width: 360px;
}

.legend .bar {
  flex: 1;
  height: 8px;
  border-radius: 99px;
  background: var(--wind);
}

.legend .t {
  color: var(--tail);
}

.legend .h {
  color: var(--head);
}

.hero-visual {
  position: relative;
  justify-self: center;
  width: min(78vw, 340px);
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: -10% -45% -6%;
  background:
    radial-gradient(42% 36% at 22% 74%, color-mix(in srgb, #3987e5 34%, transparent), transparent 70%),
    radial-gradient(40% 34% at 80% 24%, color-mix(in srgb, #e34948 28%, transparent), transparent 70%);
  filter: blur(8px);
  pointer-events: none;
}

.phone {
  position: relative;
  filter: var(--phone-shadow);
}

@media (min-width: 900px) {
  .hero {
    padding: 72px 0 40px;
  }

  .hero .wrap {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 56px;
  }

  .hero-visual {
    width: 360px;
  }
}

/* Sections */

.section {
  padding: 64px 0;
}

.section-head {
  max-width: 40em;
  margin-bottom: 40px;
}

.section-head h2 {
  font-size: clamp(32px, 6vw, 48px);
  font-weight: 800;
}

.section-head p {
  margin-top: 14px;
  color: var(--ink-2);
  font-size: 19px;
}

/* Features */

.feature {
  display: grid;
  gap: 32px;
  align-items: center;
  padding: 40px 0;
}

.feature + .feature {
  border-top: 1px solid var(--line);
}

.feature h2 {
  font-size: clamp(30px, 5.4vw, 44px);
  font-weight: 800;
}

.feature .copy > p {
  margin-top: 14px;
  color: var(--ink-2);
  font-size: 19px;
}

.points {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  display: grid;
  gap: 12px;
}

.points li {
  position: relative;
  padding-left: 28px;
  color: var(--ink);
}

.points li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.62em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent, var(--tail));
}

.feature .note {
  margin-top: 16px;
  font-size: 14px;
  color: var(--muted);
}

.accent-wind {
  --accent: var(--tail);
}

.accent-score {
  --accent: var(--good);
}

.accent-kit {
  --accent: var(--amber);
}

.feature .eyebrow {
  color: var(--accent);
}

.shots {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 8px 0;
}

.shots .phone {
  width: min(64vw, 300px);
}

.shots.pair .phone {
  width: min(44vw, 270px);
}

.shots.pair .phone + .phone {
  margin-left: -6%;
  margin-top: 12%;
}

.shots::before {
  content: "";
  position: absolute;
  inset: 8% 4% 2%;
  border-radius: 40px;
  background: radial-gradient(closest-side, var(--accent-soft, var(--tail-soft)), transparent);
  z-index: -1;
}

.accent-wind .shots {
  --accent-soft: var(--tail-soft);
}

.accent-score .shots {
  --accent-soft: var(--good-soft);
}

.accent-kit .shots {
  --accent-soft: var(--amber-soft);
}

.feature .shots,
.feature .copy {
  position: relative;
  z-index: 0;
}

@media (min-width: 900px) {
  .feature {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    padding: 64px 0;
  }

  .feature.flip .shots {
    order: -1;
  }
}

/* Tiles */

.tiles {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .tiles {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .tiles {
    grid-template-columns: repeat(3, 1fr);
  }
}

.tile {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}

.tile h3 {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.tile p {
  margin-top: 8px;
  color: var(--ink-2);
  font-size: 16px;
}

.tile .mark {
  display: block;
  width: 28px;
  height: 6px;
  border-radius: 99px;
  background: var(--wind);
  margin-bottom: 16px;
}

/* Pricing */

.pricing {
  display: grid;
  gap: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 28px 22px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.pricing::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 6px;
  background: var(--wind);
}

.pricing h2 {
  font-size: clamp(30px, 5.4vw, 44px);
  font-weight: 800;
}

.pricing .lede {
  margin-top: 12px;
  color: var(--ink-2);
  font-size: 19px;
}

.plans {
  display: grid;
  gap: 12px;
}

.plan {
  border: 1px solid var(--line);
  background: var(--surface-2);
  border-radius: 18px;
  padding: 18px 20px;
}

.plan .name {
  font-weight: 700;
  font-size: 18px;
}

.plan .detail {
  color: var(--ink-2);
  font-size: 15px;
  margin-top: 4px;
}

.plan.featured {
  border-color: color-mix(in srgb, var(--good) 55%, var(--line));
  background: var(--good-soft);
}

.badge {
  display: inline-block;
  margin-left: 8px;
  padding: 3px 9px;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  vertical-align: 2px;
  background: var(--good);
  color: var(--surface);
}

.fine {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.55;
}

.fine p + p {
  margin-top: 8px;
}

@media (min-width: 900px) {
  .pricing {
    grid-template-columns: 1.15fr 1fr;
    gap: 48px;
    padding: 48px;
  }
}

/* Final call to action */

.closing {
  text-align: center;
  padding: 72px 0 80px;
}

.closing h2 {
  font-size: clamp(34px, 7vw, 56px);
  font-weight: 800;
  letter-spacing: -0.035em;
}

.closing p {
  margin: 16px auto 0;
  max-width: 30em;
  color: var(--ink-2);
  font-size: 19px;
}

.closing .btn {
  margin-top: 28px;
}

/* Page (support, 404) */

.page-head {
  padding: 48px 0 8px;
}

.page-head h1 {
  font-size: clamp(40px, 9vw, 64px);
  font-weight: 800;
  letter-spacing: -0.035em;
}

.page-head p {
  margin-top: 14px;
  color: var(--ink-2);
  font-size: 19px;
  max-width: 36em;
}

.contact {
  margin: 32px 0 8px;
  display: grid;
  gap: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 22px;
}

.contact h2 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.contact .email {
  font: 600 clamp(18px, 4.6vw, 22px) / 1.3 var(--font);
  word-break: break-word;
}

.contact p {
  color: var(--ink-2);
}

@media (min-width: 760px) {
  .contact {
    grid-template-columns: 1fr auto;
    align-items: center;
    padding: 28px 32px;
  }
}

.faq {
  margin: 40px 0 72px;
}

.faq h2 {
  font-size: clamp(28px, 5vw, 36px);
  font-weight: 800;
  margin: 40px 0 16px;
}

.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  margin-bottom: 10px;
}

.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 52px 18px 20px;
  font-weight: 600;
  font-size: 17px;
  position: relative;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "";
  position: absolute;
  right: 22px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.15s ease;
}

.faq details[open] summary::after {
  transform: translateY(-30%) rotate(-135deg);
}

.faq .answer {
  padding: 0 20px 20px;
  color: var(--ink-2);
}

.faq .answer p + p,
.faq .answer p + ul,
.faq .answer ul + p {
  margin-top: 10px;
}

.faq .answer ul {
  margin: 0;
  padding-left: 20px;
}

.faq .answer li + li {
  margin-top: 6px;
}

.not-found {
  min-height: 62vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 64px 0;
}

.not-found img {
  width: 96px;
  height: 96px;
  border-radius: 22px;
  margin: 0 auto 24px;
  box-shadow: var(--shadow);
}

.not-found h1 {
  font-size: clamp(36px, 8vw, 56px);
  font-weight: 800;
  letter-spacing: -0.035em;
}

.not-found p {
  margin: 14px auto 28px;
  color: var(--ink-2);
  font-size: 19px;
  max-width: 26em;
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 36px 0 44px;
  font-size: 14px;
  color: var(--muted);
}

.site-footer .wrap {
  display: grid;
  gap: 20px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.footer-links a {
  color: var(--ink-2);
  font-weight: 500;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--ink);
  text-decoration: underline;
}

.site-footer a {
  color: var(--ink-2);
}

.site-footer p + p {
  margin-top: 6px;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.pricing-actions {
  margin-top: 24px;
}

.plans-fine {
  margin-top: 18px;
}

.nav a.btn,
.nav a.btn:hover {
  color: var(--button-ink);
  background: var(--button);
}

.contact,
.faq {
  max-width: 860px;
}

.contact .email {
  margin: 6px 0 10px;
}
