:root {
  --navy: #06264a;
  --blue: #0d4f92;
  --sky: #d9efff;
  --green: #3f8d24;
  --light-green: #e9f7df;
  --orange: #f28a18;
  --red: #d92d35;
  --purple: #7245a3;
  --yellow: #f6c741;
  --ink: #102033;
  --muted: #506070;
  --line: #d7e1ec;
  --paper: #ffffff;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  background:
    linear-gradient(180deg, rgba(216, 239, 255, 0.9), rgba(255, 255, 255, 0.92) 42%),
    radial-gradient(circle at 80% 8%, rgba(92, 160, 72, 0.2), transparent 34%),
    #f7fbff;
}

a { color: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 4;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 14px clamp(16px, 4vw, 44px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 30px rgba(6, 38, 74, 0.08);
}

.brand {
  color: var(--navy);
  font-size: 26px;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
}

nav {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
}

nav a {
  color: var(--navy);
  text-decoration: none;
}

.nav-button,
.primary,
.secondary,
.beta-form button {
  border-radius: 8px;
  background: var(--green);
  color: #fff;
  padding: 12px 16px;
  text-decoration: none;
  font-weight: 900;
  box-shadow: 0 5px 0 rgba(6, 38, 74, 0.18);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 560px);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
  min-height: 690px;
  padding: clamp(42px, 7vw, 88px) clamp(16px, 5vw, 72px);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.32), rgba(255, 255, 255, 0.96)),
    url("https://app.groupridealert.com/group-ride-brochure.png") center 10% / cover no-repeat;
  opacity: 0.2;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  height: 180px;
  background: linear-gradient(180deg, transparent, #fff);
}

.eyebrow {
  display: inline-block;
  margin: 0 0 14px;
  border-radius: 8px;
  background: var(--green);
  color: #fff;
  padding: 8px 12px;
  font-size: 15px;
  font-weight: 900;
  text-transform: uppercase;
}

h1 {
  max-width: 860px;
  margin: 0;
  color: var(--navy);
  font-size: clamp(42px, 8vw, 82px);
  line-height: 0.95;
  text-transform: uppercase;
}

h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.05;
}

h2 span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-right: 8px;
  border-radius: 50%;
  background: #fff;
  color: var(--blue);
  border: 3px solid var(--blue);
  font-size: 24px;
}

.hero-text {
  max-width: 720px;
  color: var(--ink);
  font-size: 23px;
  font-weight: 800;
  line-height: 1.38;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.primary,
.secondary {
  min-width: 160px;
  text-align: center;
}

.secondary {
  background: var(--navy);
}

.hero-visual {
  position: relative;
  min-height: 520px;
}

.shield-mark {
  position: absolute;
  top: 10px;
  left: 0;
  display: grid;
  place-items: center;
  width: 120px;
  height: 142px;
  clip-path: polygon(50% 0, 94% 18%, 86% 76%, 50% 100%, 14% 76%, 6% 18%);
  background: linear-gradient(180deg, #1b7ec1, var(--navy));
  color: #fff;
  font-size: 30px;
  font-weight: 900;
  border: 6px solid #fff;
  box-shadow: 0 18px 50px rgba(6, 38, 74, 0.28);
}

.phone-demo {
  position: absolute;
  width: 230px;
  min-height: 420px;
  border: 10px solid #071527;
  border-radius: 30px;
  background: #f8fafc;
  box-shadow: 0 28px 60px rgba(6, 38, 74, 0.28);
  overflow: hidden;
}

.phone-alerts {
  right: 210px;
  top: 70px;
  z-index: 2;
}

.phone-log {
  right: 0;
  top: 30px;
  min-height: 460px;
}

.phone-bar {
  background: var(--navy);
  color: #fff;
  padding: 14px 12px;
  text-align: center;
  font-weight: 900;
}

.alert {
  display: block;
  margin: 12px;
  border-radius: 8px;
  color: #fff;
  padding: 17px 10px;
  text-align: center;
  font-size: 20px;
  font-weight: 900;
  text-transform: uppercase;
}

.phone-log p {
  margin: 0;
  border-bottom: 1px solid #dbe3ed;
  padding: 15px 14px;
  color: var(--ink);
  font-weight: 800;
}

.red { background: var(--red); }
.orange { background: var(--orange); }
.yellow { background: var(--yellow); color: var(--ink); }
.blue { background: var(--blue); }

.split-section,
.perfect-section,
.how-it-works,
.standout-section,
.flyer-section,
.beta-section {
  padding: clamp(28px, 5vw, 58px) clamp(16px, 5vw, 72px);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 18px;
}

.panel,
.perfect-section,
.how-it-works,
.standout-section,
.flyer-section,
.beta-section {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 12px 36px rgba(6, 38, 74, 0.08);
}

.panel {
  padding: 20px;
}

.panel h2,
.perfect-section h2,
.how-it-works h2,
.standout-section h2 {
  margin: -20px -20px 18px;
  border-radius: 8px 8px 0 0;
  background: var(--navy);
  color: #fff;
  padding: 14px 18px;
  font-size: 28px;
}

.perfect-section h2,
.how-it-works h2,
.standout-section h2 {
  margin: 0 0 20px;
}

.panel ul {
  display: grid;
  gap: 14px;
  margin: 0;
  padding-left: 22px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.35;
}

.feature-panel li::marker { color: var(--green); }
.why-panel li::marker { color: var(--blue); }

.perfect-grid,
.steps,
.standout-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.perfect-grid article,
.steps div,
.standout-grid div {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbff;
  padding: 18px;
  text-align: center;
}

.icon-circle {
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
  margin: 0 auto 12px;
  border-radius: 50%;
  color: #fff;
  font-size: 34px;
  font-weight: 900;
}

.trike { background: var(--green); }
.family { background: var(--orange); }
.solo { background: var(--blue); }
.trail { background: #5a8c3a; }

h3 {
  margin: 0;
  color: var(--ink);
  font-size: 18px;
}

.coming-soon {
  display: block;
  width: fit-content;
  margin: 8px auto 0;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--navy);
  padding: 5px 9px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.steps strong {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-size: 26px;
}

.steps span,
.standout-grid p,
.flyer-section p,
.beta-section p {
  color: var(--muted);
  font-weight: 800;
  line-height: 1.45;
}

.standout-grid strong {
  color: var(--navy);
  font-size: 20px;
}

.coming-soon-panel {
  margin-top: 18px;
  border: 2px solid rgba(63, 141, 36, 0.28);
  border-radius: 8px;
  background: var(--light-green);
  padding: 18px;
}

.coming-soon-panel strong {
  color: var(--navy);
  font-size: 22px;
}

.coming-soon-panel p {
  margin: 8px 0 0;
  color: var(--ink);
  font-weight: 800;
  line-height: 1.45;
}

.flyer-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(280px, 430px);
  gap: clamp(20px, 5vw, 52px);
  align-items: center;
  background: linear-gradient(135deg, #eef7ff, #ffffff);
}

.flyer-preview {
  display: block;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 20px 55px rgba(6, 38, 74, 0.22);
}

.flyer-preview img {
  display: block;
  width: 100%;
  height: auto;
}

.beta-section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(280px, 520px);
  gap: clamp(20px, 5vw, 60px);
  margin: clamp(24px, 5vw, 58px) clamp(16px, 5vw, 72px);
  background: linear-gradient(135deg, var(--navy), #0d4f92);
  color: #fff;
}

.beta-section h2,
.beta-section p {
  color: #fff;
}

.small-note {
  font-size: 14px;
  opacity: 0.82;
}

.beta-form {
  display: grid;
  gap: 12px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  padding: 18px;
}

.beta-form label {
  display: grid;
  gap: 6px;
  color: #fff;
  font-weight: 900;
}

.beta-form input,
.beta-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  padding: 12px;
}

.beta-form button {
  border: 0;
  min-height: 56px;
  background: var(--green);
  font-size: 19px;
  cursor: pointer;
}

#betaStatus {
  min-height: 20px;
  margin: 0;
  color: var(--yellow);
  font-weight: 900;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 24px clamp(16px, 5vw, 72px);
  background: var(--navy);
  color: #fff;
}

@media (max-width: 960px) {
  .site-header,
  footer {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    flex-wrap: wrap;
  }

  .hero,
  .split-section,
  .perfect-grid,
  .steps,
  .standout-grid,
  .flyer-section,
  .beta-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    min-height: 460px;
  }

  .phone-alerts {
    left: 54px;
    right: auto;
    top: 80px;
  }

  .phone-log {
    right: 18px;
    top: 26px;
  }
}

@media (max-width: 620px) {
  .brand {
    font-size: 22px;
  }

  nav a:not(.nav-button) {
    font-size: 14px;
  }

  .hero-visual {
    min-height: 390px;
  }

  .shield-mark {
    width: 86px;
    height: 104px;
    font-size: 22px;
  }

  .phone-demo {
    width: 178px;
    min-height: 330px;
    border-width: 7px;
  }

  .phone-alerts {
    left: 16px;
    top: 78px;
  }

  .phone-log {
    right: 0;
    top: 22px;
  }

  .phone-log p {
    padding: 11px 10px;
    font-size: 13px;
  }

  .alert {
    margin: 9px;
    padding: 13px 7px;
    font-size: 16px;
  }
}
