:root {
  color-scheme: dark;
  --bg: #030806;
  --bg-soft: #08110d;
  --panel: #0b1712;
  --panel-strong: #101f18;
  --line: rgba(255, 255, 255, 0.11);
  --line-bright: rgba(255, 255, 255, 0.18);
  --ink: #f6fbf7;
  --muted: #aebdb4;
  --soft: #d9e4dd;
  --accent: #62e31d;
  --accent-soft: #baf99a;
  --cyan: #62d9e9;
  --gold: #f5c86f;
  --purple: #b29af7;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.36);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 8% -8%, rgba(98, 227, 29, 0.13), transparent 34rem),
    radial-gradient(circle at 94% 28%, rgba(98, 217, 233, 0.08), transparent 31rem),
    linear-gradient(180deg, #050b09 0%, var(--bg) 56%, #050c09 100%);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent-soft);
}

.shell {
  position: relative;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.site-glow {
  position: absolute;
  z-index: -1;
  top: 130px;
  left: 50%;
  width: min(1100px, 94vw);
  height: 620px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(98, 227, 29, 0.055), transparent 68%);
  filter: blur(8px);
  pointer-events: none;
}

.site-header,
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 82px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.035em;
  text-decoration: none;
}

.brand img {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-bright);
  border-radius: 13px;
  object-fit: cover;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.26);
}

.brand-accent {
  color: var(--accent);
}

.site-nav,
header nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 22px;
}

.site-nav a,
header nav a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 740;
  text-decoration: none;
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.site-nav a:hover,
header nav a:hover {
  color: var(--ink);
}

.site-nav .nav-cta {
  padding: 10px 15px;
  border: 1px solid rgba(98, 227, 29, 0.35);
  border-radius: 999px;
  background: rgba(98, 227, 29, 0.08);
  color: var(--accent-soft);
}

.site-nav .nav-cta:hover {
  border-color: rgba(98, 227, 29, 0.62);
  background: rgba(98, 227, 29, 0.14);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.13fr) minmax(340px, 0.87fr);
  align-items: center;
  gap: clamp(44px, 7vw, 94px);
  min-height: 710px;
  padding: 76px 0 92px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  color: var(--accent-soft);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.155em;
  line-height: 1.5;
  text-transform: uppercase;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(98, 227, 29, 0.1), 0 0 24px rgba(98, 227, 29, 0.65);
}

h1,
h2,
h3,
p {
  text-wrap: pretty;
}

h1 {
  max-width: 760px;
  margin: 20px 0 0;
  font-size: clamp(48px, 6.7vw, 80px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.lede {
  max-width: 680px;
  margin: 28px 0 0;
  color: var(--soft);
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.7;
}

.store-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.store-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 190px;
  min-height: 61px;
  padding: 10px 18px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 14px;
  background: #f8fbf9;
  color: #06100b;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.2);
  text-decoration: none;
  transition: transform 170ms ease, box-shadow 170ms ease, border-color 170ms ease;
}

.store-button:hover {
  transform: translateY(-2px);
  border-color: rgba(98, 227, 29, 0.75);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.3), 0 0 0 3px rgba(98, 227, 29, 0.08);
}

.store-button:focus-visible,
.site-nav a:focus-visible,
.footer-links a:focus-visible {
  outline: 3px solid rgba(98, 227, 29, 0.58);
  outline-offset: 4px;
}

.store-button svg {
  width: 27px;
  height: 27px;
  flex: 0 0 auto;
  fill: currentColor;
}

.store-button .play-icon {
  width: 29px;
  height: 29px;
}

.store-button span {
  display: grid;
  gap: 0;
}

.store-button small {
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.035em;
  line-height: 1.15;
}

.store-button strong {
  font-size: 20px;
  line-height: 1.15;
}

.availability {
  margin: 15px 0 0;
  color: #91a298;
  font-size: 12px;
  line-height: 1.6;
}

.app-stage {
  position: relative;
  display: grid;
  min-height: 570px;
  place-items: center;
}

.app-stage::before {
  position: absolute;
  width: 390px;
  height: 390px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(98, 227, 29, 0.2), rgba(98, 227, 29, 0.035) 48%, transparent 70%);
  content: "";
  filter: blur(2px);
}

.orbit {
  position: absolute;
  border: 1px solid rgba(98, 227, 29, 0.14);
  border-radius: 50%;
}

.orbit-one {
  width: 430px;
  height: 430px;
  transform: rotate(-14deg) scaleY(0.62);
}

.orbit-two {
  width: 520px;
  height: 520px;
  border-color: rgba(98, 217, 233, 0.09);
  transform: rotate(20deg) scaleY(0.55);
}

.phone {
  position: relative;
  z-index: 2;
  width: 292px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 45px;
  background: linear-gradient(145deg, #27352e, #070c09 45%, #1b2821);
  box-shadow: var(--shadow), 0 0 0 7px rgba(255, 255, 255, 0.025), 0 0 90px rgba(98, 227, 29, 0.08);
  transform: rotate(3deg);
}

.phone::before {
  position: absolute;
  z-index: 3;
  top: 18px;
  left: 50%;
  width: 84px;
  height: 22px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #020403;
  content: "";
}

.phone-screen {
  min-height: 555px;
  overflow: hidden;
  padding: 18px 15px 19px;
  border-radius: 36px;
  background:
    radial-gradient(circle at 100% 0%, rgba(98, 227, 29, 0.12), transparent 17rem),
    linear-gradient(180deg, #0a130f, #06100b);
}

.phone-status {
  display: flex;
  justify-content: space-between;
  padding: 0 8px 25px;
  color: #d8e4dc;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.phone-status span:last-child {
  color: #8ba097;
  letter-spacing: 0.11em;
}

.app-topbar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.app-mark {
  width: 43px;
  height: 43px;
  overflow: hidden;
  border: 1px solid var(--line-bright);
  border-radius: 13px;
}

.app-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.app-topbar > div:last-child {
  display: grid;
  gap: 2px;
}

.app-kicker {
  color: var(--accent);
  font-size: 7px;
  font-weight: 900;
  letter-spacing: 0.15em;
}

.app-topbar strong {
  font-size: 14px;
}

.lane-tile {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  padding: 13px 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.038);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.13);
}

.lane-code {
  display: grid;
  width: 43px;
  height: 43px;
  place-items: center;
  border-radius: 12px;
  font-size: 9px;
  font-weight: 950;
  letter-spacing: 0.04em;
}

.lane-emt .lane-code {
  background: rgba(98, 217, 233, 0.13);
  color: var(--cyan);
}

.lane-paramedic .lane-code {
  background: rgba(245, 200, 111, 0.13);
  color: var(--gold);
}

.lane-fpc .lane-code {
  background: rgba(98, 227, 29, 0.13);
  color: var(--accent);
}

.lane-tile div {
  display: grid;
  gap: 4px;
}

.lane-tile strong {
  font-size: 11px;
}

.lane-tile small {
  color: #8fa198;
  font-size: 8px;
}

.lane-arrow {
  color: #809289;
  font-size: 20px;
}

.readiness-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 20px;
  padding: 16px 14px;
  border: 1px solid rgba(98, 227, 29, 0.19);
  border-radius: 17px;
  background: linear-gradient(135deg, rgba(98, 227, 29, 0.09), rgba(255, 255, 255, 0.035));
}

.readiness-card div {
  display: grid;
  gap: 4px;
}

.readiness-card small {
  color: var(--accent);
  font-size: 7px;
  font-weight: 900;
  letter-spacing: 0.13em;
}

.readiness-card strong {
  font-size: 10px;
}

.readiness-card > span {
  padding: 7px 9px;
  border-radius: 999px;
  background: var(--accent);
  color: #071004;
  font-size: 8px;
  font-weight: 900;
}

.platform-pill {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 13px;
  border: 1px solid var(--line-bright);
  border-radius: 999px;
  background: rgba(10, 20, 15, 0.9);
  color: var(--soft);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(12px);
  font-size: 11px;
  font-weight: 800;
}

.platform-pill span {
  color: var(--accent);
  font-size: 9px;
}

.platform-ios {
  top: 92px;
  left: -4px;
}

.platform-android {
  right: -9px;
  bottom: 104px;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-block: 1px solid var(--line);
}

.proof-strip > div {
  display: grid;
  gap: 4px;
  padding: 28px 22px;
  border-right: 1px solid var(--line);
}

.proof-strip > div:last-child {
  border-right: 0;
}

.proof-strip strong {
  color: var(--ink);
  font-size: 28px;
  letter-spacing: -0.04em;
}

.proof-strip span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.section-block {
  padding: 118px 0;
}

.section-heading {
  max-width: 740px;
}

.section-heading h2,
.download-panel h2 {
  margin: 16px 0 0;
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.section-heading > p:last-child,
.split-heading > p,
.download-panel > div > p:last-child {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.feature-grid,
.lane-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 48px;
}

.feature-card {
  min-height: 285px;
  padding: 27px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(15, 31, 23, 0.9), rgba(7, 15, 11, 0.84));
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.12);
}

.feature-number {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid rgba(98, 227, 29, 0.22);
  border-radius: 12px;
  background: rgba(98, 227, 29, 0.07);
  color: var(--accent);
  font-size: 11px;
  font-weight: 900;
}

.feature-card h3,
.study-lane h3 {
  margin: 29px 0 0;
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.feature-card p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.lanes-section {
  position: relative;
}

.lanes-section::before {
  position: absolute;
  z-index: -1;
  top: 40px;
  bottom: 40px;
  left: 50%;
  width: 100vw;
  border-block: 1px solid rgba(255, 255, 255, 0.055);
  background: rgba(255, 255, 255, 0.014);
  content: "";
  transform: translateX(-50%);
}

.split-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.65fr);
  align-items: end;
  gap: 60px;
  max-width: none;
}

.split-heading > p {
  margin-bottom: 5px;
}

.study-lane {
  position: relative;
  min-height: 390px;
  overflow: hidden;
  padding: 29px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--panel);
}

.study-lane::after {
  position: absolute;
  right: -70px;
  bottom: -90px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  content: "";
  filter: blur(8px);
  opacity: 0.35;
}

.emt-card::after {
  background: radial-gradient(circle, rgba(98, 217, 233, 0.38), transparent 68%);
}

.paramedic-card::after {
  background: radial-gradient(circle, rgba(245, 200, 111, 0.38), transparent 68%);
}

.fpc-card::after {
  background: radial-gradient(circle, rgba(98, 227, 29, 0.38), transparent 68%);
}

.lane-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.lane-heading span {
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.15em;
}

.emt-card .lane-heading span {
  color: var(--cyan);
}

.paramedic-card .lane-heading span {
  color: var(--gold);
}

.fpc-card .lane-heading span {
  color: var(--accent);
}

.lane-heading small {
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.study-lane h3 {
  max-width: 290px;
  margin-top: 47px;
  font-size: 27px;
}

.study-lane ul {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
  margin: 27px 0 0;
  padding: 0;
  list-style: none;
}

.study-lane li {
  position: relative;
  padding-left: 21px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.study-lane li::before {
  position: absolute;
  top: 0.58em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  content: "";
  opacity: 0.66;
}

.download-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 48px;
  margin: 42px 0 112px;
  padding: clamp(36px, 6vw, 66px);
  border: 1px solid rgba(98, 227, 29, 0.2);
  border-radius: 32px;
  background:
    radial-gradient(circle at 95% 0%, rgba(98, 227, 29, 0.14), transparent 28rem),
    linear-gradient(135deg, rgba(14, 30, 22, 0.96), rgba(7, 14, 10, 0.96));
  box-shadow: var(--shadow);
}

.download-panel h2 {
  max-width: 670px;
  font-size: clamp(36px, 4.8vw, 58px);
}

.download-panel > div > p:last-child {
  max-width: 650px;
}

.store-actions.compact {
  display: grid;
  flex: 0 0 auto;
  margin: 0;
}

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

.footer-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-brand {
  font-size: 17px;
}

.footer-brand img {
  width: 36px;
  height: 36px;
  border-radius: 11px;
}

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

.footer-links a {
  color: var(--muted);
  font-weight: 700;
  text-decoration: none;
}

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

.footer-note {
  max-width: 860px;
  margin: 27px 0 0;
  color: #7f9087;
  font-size: 11px;
  line-height: 1.7;
}

.copyright {
  margin: 14px 0 0;
  color: #718178;
  font-size: 11px;
}

.document {
  width: min(790px, 100%);
  padding: 74px 0 92px;
}

.document h1 {
  margin: 14px 0 0;
  font-size: clamp(42px, 7vw, 68px);
}

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

.document section {
  margin-top: 38px;
  padding-top: 6px;
}

.document h2 {
  margin: 0;
  font-size: 22px;
  letter-spacing: -0.02em;
}

.document p,
.document li {
  color: #d4e0d8;
  line-height: 1.8;
}

.document a {
  text-underline-offset: 3px;
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 68px;
  }

  .hero-copy {
    max-width: 820px;
  }

  .app-stage {
    min-height: 610px;
  }

  .platform-ios {
    left: calc(50% - 245px);
  }

  .platform-android {
    right: calc(50% - 255px);
  }

  .feature-grid,
  .lane-grid {
    grid-template-columns: 1fr;
  }

  .feature-card,
  .study-lane {
    min-height: auto;
  }

  .split-heading {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .split-heading > p {
    max-width: 700px;
  }

  .download-panel {
    grid-template-columns: 1fr;
  }

  .store-actions.compact {
    display: flex;
  }
}

@media (max-width: 720px) {
  .shell {
    width: min(100% - 28px, 1180px);
  }

  .site-header,
  header {
    min-height: 72px;
  }

  .site-nav a:not(.nav-cta),
  header:not(.site-header) nav a:not(:first-child) {
    display: none;
  }

  .hero {
    gap: 28px;
    min-height: auto;
    padding: 58px 0 64px;
  }

  h1 {
    font-size: clamp(45px, 14vw, 65px);
  }

  .lede {
    font-size: 17px;
  }

  .store-actions {
    display: grid;
  }

  .store-button {
    width: 100%;
    max-width: 320px;
  }

  .app-stage {
    overflow: clip;
    min-height: 570px;
    transform: scale(0.94);
  }

  .orbit-two {
    width: 450px;
    height: 450px;
  }

  .platform-ios {
    top: 70px;
    left: calc(50% - 184px);
  }

  .platform-android {
    right: calc(50% - 190px);
    bottom: 82px;
  }

  .proof-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .proof-strip > div:nth-child(2) {
    border-right: 0;
  }

  .proof-strip > div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .section-block {
    padding: 86px 0;
  }

  .download-panel {
    margin-bottom: 84px;
    padding: 34px 24px;
    border-radius: 25px;
  }

  .store-actions.compact {
    display: grid;
  }

  .footer-main {
    align-items: flex-start;
    flex-direction: column;
  }

  .document {
    padding-top: 54px;
  }
}

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

  .brand img {
    width: 40px;
    height: 40px;
  }

  .nav-cta {
    padding: 9px 12px;
  }

  .app-stage {
    margin-inline: -10px;
    transform: scale(0.88);
  }

  .proof-strip strong {
    font-size: 24px;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
