:root {
  --navy: #1b3058;
  --navy-light: #2a4a7f;
  --teal: #4bbecf;
  --teal-light: #7dd4df;
  --primary-dark: #0f1f3d;
  --white: #ffffff;
  --divider: #e5e7eb;
  --text-primary: #1b3058;
  --text-secondary: #4b5563;
  --shadow: 0 24px 70px rgba(255, 255, 255, 0.16);
  --shadow-dark: 0 12px 50px #1b3058;
  --radius-md: 12px;
  --radius-lg: 16px;
  --page-x: clamp(1rem, 3vw, 3rem);
  --max-width: 1180px;
  --header-height: 76px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--white);
  color: var(--text-primary);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

p {
  margin-bottom: 0;
}

.material-symbols-rounded {
  font-family: "Material Symbols Rounded";
  font-style: normal;
  font-weight: 500;
  line-height: 1;
  text-transform: none;
  white-space: nowrap;
  direction: ltr;
  -webkit-font-feature-settings: "liga";
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "liga";
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 40;
  transform: translateY(-150%);
  border-radius: var(--radius-sm);
  background: var(--teal);
  color: var(--primary-dark);
  padding: 0.8rem 1rem;
  font-weight: 800;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr auto;
  min-height: var(--header-height);
  align-items: center;
  gap: 1rem;
  border-bottom: 1px solid rgba(27, 48, 88, 0.12);
  background: rgba(255, 255, 255, 0.92);
  padding-inline: max(var(--page-x), calc((100vw - var(--max-width)) / 2));
  backdrop-filter: blur(18px);
}

.brand,
.nav-links,
.hero-actions {
  display: flex;
  align-items: center;
}

.brand {
  gap: 0.7rem;
  min-height: 44px;
  color: var(--navy);
  font-weight: 800;
}

.brand-symbol {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: var(--radius-md);
  background: var(--navy);
  color: var(--white);
  font-size: 24px;
}

.brand-name {
  font-size: 1.02rem;
  letter-spacing: 0;
}

.nav-links {
  justify-content: center;
  gap: clamp(0.75rem, 1.55vw, 1.35rem);
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-weight: 700;
}

.nav-links a,
.header-cta {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
}

.nav-links a {
  transition: color 160ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--navy);
}

.header-cta {
  justify-content: center;
  border: 1px solid var(--divider);
  border-radius: var(--radius-sm);
  color: var(--navy);
  padding-inline: 1rem;
  font-size: 0.88rem;
  font-weight: 800;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.header-cta:hover,
.header-cta:focus-visible {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--white);
}

.page-section {
  min-height: 100svh;
  display: grid;
  align-items: center;
  background: var(--white);
  padding: calc(var(--header-height) + clamp(2rem, 5vw, 4rem)) var(--page-x)
    clamp(2.5rem, 6vw, 5rem);
}

.section-inner {
  width: min(100%, var(--max-width));
  margin-inline: auto;
}

.hero-section {
  position: relative;
  overflow: hidden;
  align-items: center;
  color: var(--white);
  background: url("assets/serrarastro.jpg") center / cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(15, 31, 61, 0.96) 0%, rgba(27, 48, 88, 0.76) 48%, rgba(27, 48, 88, 0.18) 100%),
    linear-gradient(180deg, rgba(15, 31, 61, 0.26) 0%, rgba(15, 31, 61, 0.34) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(100%, var(--max-width));
  margin-inline: auto;
}

.section-kicker {
  margin-bottom: 0.8rem;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  margin-bottom: 0.65rem;
  font-size: clamp(5rem, 17vw, 13rem);
  font-weight: 900;
  line-height: 0.76;
  letter-spacing: 0;
}

.hero-slogan {
  max-width: 830px;
  color: var(--white);
  font-size: clamp(2rem, 5vw, 4.75rem);
  font-weight: 900;
  line-height: 0.98;
}

.hero-text {
  max-width: 640px;
  margin-top: 1.2rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.05rem, 1.7vw, 1.25rem);
  font-weight: 500;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.65rem;
}

.button,
.waitlist-panel summary {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: var(--radius-sm);
  padding: 0.9rem 1.15rem;
  cursor: pointer;
  font-weight: 800;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

.button:hover,
.button:focus-visible,
.waitlist-panel summary:hover,
.waitlist-panel summary:focus-visible {
  transform: translateY(-2px);
}

.button-primary,
.waitlist-panel summary {
  background: var(--navy);
  color: var(--white);
}

.button-primary:hover,
.button-primary:focus-visible,
.waitlist-panel summary:hover,
.waitlist-panel summary:focus-visible {
  background: var(--navy-light);
}

.button-secondary {
  border: 1px solid rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: var(--white);
  color: var(--navy);
}

.problem-layout,
.audience-layout,
.split-layout,
.inside-layout,
.event-layout,
.community-layout,
.faq-layout,
.waitlist-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
}

.section-copy h2 {
  max-width: 680px;
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4vw, 3.65rem);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.section-copy p {
  max-width: 600px;
  color: var(--text-secondary);
  font-size: clamp(0.95rem, 1.25vw, 1.08rem);
  font-weight: 500;
}

.blue-section {
  background: var(--navy);
  color: var(--white);
}

.blue-section .section-copy p {
  color: rgba(255, 255, 255, 0.82);
}

.blue-section .section-kicker {
  color: var(--teal-light);
}

.pain-grid,
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.pain-grid article,
.feature-card,
.audience-cards article,
.community-stack article {
  border: 1px solid var(--divider);
  border-radius: var(--radius-lg);
  background: var(--white);
  color: var(--navy);
  padding: clamp(1rem, 2vw, 1.35rem);
  box-shadow: 0 16px 40px rgba(27, 48, 88, 0.06);
}

.pain-grid span,
.feature-icon,
.audience-cards span {
  display: inline-grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: var(--radius-md);
  background: var(--navy);
  color: var(--white);
  font-size: 28px;
}

.pain-grid span,
.feature-icon {
  margin-bottom: 1.5rem;
}

.pain-grid h3,
.feature-card h3,
.audience-cards h3 {
  margin-bottom: 0.55rem;
  font-size: clamp(1.12rem, 1.8vw, 1.38rem);
  line-height: 1.1;
}

.pain-grid p,
.feature-card p,
.audience-cards p,
.community-stack span {
  color: var(--text-secondary);
  font-weight: 500;
}

.audience-layout {
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
}

.audience-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.audience-cards article {
  min-height: 22rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.audience-cards span {
  margin: 0 auto 1.3rem;
}

.audience-cards article:nth-child(even) {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--white);
}

.audience-cards article:nth-child(even) span {
  background: var(--white);
  color: var(--navy);
}

.audience-cards article:nth-child(even) p {
  color: rgba(255, 255, 255, 0.82);
}

.accent-card {
  background: var(--navy);
  color: var(--white);
}

.accent-card .feature-icon {
  background: var(--white);
  color: var(--navy);
}

.accent-card p {
  color: rgba(255, 255, 255, 0.82);
}

.inside-layout {
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.28fr);
}

.phone-shot-slot {
  width: min(100%, 360px);
  min-height: 650px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 28px;
  background: var(--navy);
  box-shadow: var(--shadow);
}

.phone-shot-slot span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 4rem;
}

.phone-shot-slot.phone-shot-slot--filled {
  width: min(100%, 300px);
  min-height: 0;
  aspect-ratio: 610 / 1334;
  overflow: hidden;
  background: var(--white);
}

.phone-shot-slot--filled img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.flow-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 0.9rem;
  margin-top: 1.6rem;
}

.flow-list article {
  min-height: 13rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 10px;
  background: var(--white);
  color: var(--navy);
  padding: 1rem;
  box-shadow: 0 6px 14px rgba(255, 255, 255, 0.32);
}

.flow-list span {
  display: inline-grid;
  min-width: 2.5rem;
  min-height: 2.5rem;
  place-items: left;
  color: var(--teal);
  font-size: 1.3rem;
  font-weight: 950;
}

.flow-list strong {
  color: var(--navy);
  font-size: 1.3rem;
  font-weight: 800;
  line-height: 1.08;
}

.blue-section .section-copy .flow-list .flowlist-text {
  color: var(--navy);
  font-size: 0.9rem;
  line-height: 1.35;
}

.event-section {
  background: var(--white);
  color: var(--navy);
}

.event-layout {
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.8fr);
}

.event-preview {
  display: grid;
  justify-items: center;
  gap: 1.2rem;
}

.event-shot {
  min-height: 620px;
  border-color: rgba(27, 48, 88, 0.18);
  background: var(--white);
  box-shadow: var(--shadow-dark);
}

.event-shot span {
  color: rgba(27, 48, 88, 0.32);
}

.event-preview p {
  max-width: 460px;
  color: var(--text-secondary);
  font-size: clamp(0.95rem, 1.25vw, 1.08rem);
  font-weight: 500;
}

.community-layout {
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
}

.community-stack {
  display: grid;
  gap: calc(1rem + 10px);
}

.community-stack article {
  box-shadow: none;
}

.community-stack strong {
  font-size: clamp(1rem, 1.8vw, 1.22rem);
}

.community-stack span {
  color: var(--text-secondary);
}

.faq-section {
  min-height: 100svh;
  display: grid;
  align-items: center;
  background: var(--white);
  padding: clamp(5rem, 8vw, 7rem) var(--page-x);
}

.faq-layout {
  align-items: start;
}

.faq-list {
  display: grid;
  min-height: 24rem;
  align-content: start;
  gap: 0.8rem;
}

.faq-list details {
  border: 0.5px solid var(--divider);
  border-radius: 5px;
  background: var(--white);
  padding: 0.95rem 1rem;
}

.faq-list summary {
  cursor: pointer;
  color: var(--navy);
  font-size: 1rem;
  font-weight: 800;
}

.faq-list p {
  margin-top: 0.7rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.waitlist-section {
  background:
    linear-gradient(90deg, rgba(15, 31, 61, 0.95) 0%, rgba(27, 48, 88, 0.78) 50%, rgba(27, 48, 88, 0.4) 100%),
    url("assets/ride-hero.jpg") center / cover;
  color: var(--white);
}

.waitlist-copy h2 {
  max-width: 780px;
  margin-bottom: 1.1rem;
  font-size: clamp(2.4rem, 5.5vw, 5.2rem);
  font-weight: 900;
  line-height: 0.96;
  letter-spacing: 0;
}

.waitlist-copy p {
  max-width: 640px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1rem, 1.55vw, 1.18rem);
  font-weight: 500;
}

.waitlist-layout {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.5fr);
}

.waitlist-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.4rem;
}

.waitlist-points span {
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.1);
  padding: 0.65rem 0.8rem;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.86rem;
  font-weight: 700;
}

.waitlist-panel {
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.12);
  padding: 1rem;
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.waitlist-panel summary {
  width: 100%;
  list-style: none;
}

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

.waitlist-form {
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
}

.waitlist-form label {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
}

.waitlist-form input {
  width: 100%;
  min-height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--text-primary);
  padding: 0.85rem 0.95rem;
  outline: 0;
}

.waitlist-form input:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(75, 190, 207, 0.2);
}

.consent-check {
  display: grid;
  grid-template-columns: 18px 1fr;
  align-items: start;
  gap: 0.65rem;
  margin-block: 0.15rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.35;
  text-transform: none;
}

.consent-check input {
  min-height: auto;
  width: 18px;
  height: 18px;
  margin: 0.1rem 0 0;
  accent-color: var(--teal);
}

.waitlist-form button {
  margin-top: 0.35rem;
}

.empty-page {
  min-height: 100svh;
  background: var(--navy);
}

.site-footer {
  border-top: 1px solid var(--divider);
  background: var(--white);
  padding: 2rem var(--page-x);
}

.footer-layout {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
}

.footer-layout p {
  color: var(--text-secondary);
  font-weight: 500;
}

.footer-layout nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: end;
  gap: 1rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 700;
}

.footer-layout nav a:hover,
.footer-layout nav a:focus-visible {
  color: var(--navy);
}

:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 4px;
}

@media (max-width: 1080px) {
  .nav-links {
    display: none;
  }

  .site-header {
    grid-template-columns: auto auto;
  }

  .header-cta {
    justify-self: end;
  }
}

@media (max-width: 920px) {
  .problem-layout,
  .audience-layout,
  .split-layout,
  .inside-layout,
  .event-layout,
  .community-layout,
  .faq-layout,
  .waitlist-layout,
  .footer-layout {
    grid-template-columns: 1fr;
  }

  .pain-grid,
  .feature-grid,
  .audience-cards,
  .flow-list {
    grid-template-columns: 1fr;
  }

  .feature-card,
  .audience-cards article {
    min-height: auto;
  }

  .phone-shot-slot {
    width: 100%;
    min-height: 560px;
  }

  .footer-layout nav {
    justify-content: start;
  }
}

@media (max-width: 640px) {
  :root {
    --header-height: 66px;
  }

  .site-header {
    gap: 0.75rem;
  }

  .brand-symbol {
    width: 38px;
    height: 38px;
    font-size: 22px;
  }

  .header-cta {
    min-height: 40px;
    padding-inline: 0.8rem;
    font-size: 0.8rem;
  }

  .page-section {
    padding-block: calc(var(--header-height) + 2rem) 2rem;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(15, 31, 61, 0.96) 0%, rgba(27, 48, 88, 0.82) 66%, rgba(27, 48, 88, 0.46) 100%),
      linear-gradient(180deg, rgba(15, 31, 61, 0.24) 0%, rgba(15, 31, 61, 0.62) 100%);
  }

  h1 {
    font-size: clamp(4.6rem, 26vw, 7.2rem);
  }

  .hero-slogan {
    font-size: clamp(2rem, 12vw, 3.25rem);
  }

  .section-copy h2 {
    font-size: clamp(1.9rem, 9vw, 2.85rem);
  }

  .waitlist-copy h2 {
    font-size: clamp(2.25rem, 12vw, 3.6rem);
  }

  .phone-shot-slot {
    min-height: 520px;
  }

  .flow-list article {
    min-height: 10.5rem;
  }

  .faq-list {
    min-height: 32rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
