:root {
  color-scheme: dark;
  --navy-950: #001522;
  --navy-900: #001b2e;
  --navy-800: #082b42;
  --navy-700: #123d58;
  --blue: #008bd2;
  --blue-bright: #27b7df;
  --aqua: #58c8b0;
  --white: #f7fbff;
  --muted: #a9bdca;
  --line: rgba(184, 217, 235, 0.2);
  --card: rgba(5, 34, 52, 0.86);
  --shadow: 0 28px 80px rgba(0, 9, 17, 0.34);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  min-height: 100%;
  background: var(--navy-950);
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  overflow-x: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 82% 10%, rgba(0, 139, 210, 0.25), transparent 34rem),
    radial-gradient(circle at 12% 92%, rgba(88, 200, 176, 0.13), transparent 30rem),
    linear-gradient(145deg, var(--navy-950), var(--navy-900) 52%, #03243a);
}

body::before {
  position: fixed;
  inset: 0;
  pointer-events: none;
  content: "";
  opacity: 0.3;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
}

button,
a {
  font: inherit;
}

a {
  color: inherit;
}

.landing {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 48px));
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0 auto;
  padding:
    max(32px, env(safe-area-inset-top))
    max(0px, env(safe-area-inset-right))
    max(24px, env(safe-area-inset-bottom))
    max(0px, env(safe-area-inset-left));
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: clamp(30px, 6vh, 72px);
}

.landing__header {
  display: grid;
  grid-template-columns: minmax(180px, 0.7fr) minmax(0, 1.5fr);
  gap: clamp(32px, 7vw, 96px);
  align-items: start;
}

.brand {
  width: max-content;
  display: inline-flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
}

.brand__mark {
  width: 45px;
  height: 38px;
  display: flex;
  align-items: end;
  gap: 4px;
}

.brand__mark span {
  width: 11px;
  border-radius: 2px 2px 0 0;
  background: linear-gradient(180deg, var(--blue-bright), var(--blue));
}

.brand__mark span:nth-child(1) { height: 17px; }
.brand__mark span:nth-child(2) { height: 27px; }
.brand__mark span:nth-child(3) { height: 38px; background: linear-gradient(180deg, var(--aqua), #17aebc); }

.brand__wordmark {
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 1.18rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.landing__intro {
  max-width: 760px;
}

.landing__eyebrow,
.experience-card__kicker {
  margin: 0;
  color: var(--aqua);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.landing h1 {
  max-width: 760px;
  margin: 13px 0 18px;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: clamp(2.35rem, 5.2vw, 5.5rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.landing__summary {
  max-width: 690px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  line-height: 1.65;
}

.experience-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  align-self: center;
}

.experience-card {
  position: relative;
  min-height: 390px;
  padding: clamp(24px, 3vw, 38px);
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--card);
  box-shadow: 0 16px 48px rgba(0, 10, 18, 0.17);
  backdrop-filter: blur(18px);
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.experience-card::after {
  position: absolute;
  inset: auto -20% -65% 25%;
  height: 70%;
  content: "";
  pointer-events: none;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 139, 210, 0.17), transparent 68%);
}

.experience-card.is-recommended {
  border-color: rgba(88, 200, 176, 0.63);
  box-shadow: var(--shadow), inset 0 0 0 1px rgba(88, 200, 176, 0.1);
}

@media (hover: hover) {
  .experience-card:hover {
    transform: translateY(-4px);
    border-color: rgba(115, 200, 239, 0.55);
  }
}

.experience-card__topline {
  min-height: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.experience-card__number {
  color: #7391a3;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
}

.experience-card__recommendation {
  padding: 6px 10px;
  border: 1px solid rgba(120, 155, 176, 0.24);
  border-radius: 999px;
  color: #b7cad5;
  background: rgba(0, 14, 24, 0.25);
  font-size: 0.7rem;
  font-weight: 700;
  text-align: right;
}

.experience-card.is-recommended .experience-card__recommendation {
  border-color: rgba(88, 200, 176, 0.38);
  color: #bff4e6;
  background: rgba(24, 113, 101, 0.22);
}

.experience-card__icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(80, 184, 226, 0.32);
  border-radius: 16px;
  color: #75d5ed;
  background: rgba(0, 139, 210, 0.1);
}

.experience-card__icon svg {
  width: 28px;
  height: 28px;
}

.experience-card h2 {
  margin: 9px 0 12px;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: clamp(1.55rem, 2.8vw, 2.35rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.experience-card p:not(.experience-card__kicker) {
  max-width: 48ch;
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.65;
}

.experience-card__action {
  position: relative;
  z-index: 1;
  min-height: 52px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid rgba(168, 204, 222, 0.32);
  border-radius: 13px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.055);
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.experience-card.is-recommended .experience-card__action {
  border-color: var(--blue);
  color: white;
  background: var(--blue);
}

.experience-card__action:hover {
  border-color: var(--blue-bright);
  color: #031d2c;
  background: var(--blue-bright);
}

.experience-card__action svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.landing__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: #8ca4b3;
  font-size: 0.76rem;
}

.landing__footer p {
  margin: 0;
}

.status-dot {
  width: 7px;
  height: 7px;
  margin-right: 8px;
  display: inline-block;
  border-radius: 50%;
  background: #e9bc67;
  box-shadow: 0 0 0 4px rgba(233, 188, 103, 0.1);
}

.landing__state {
  text-align: right;
}

.noscript-note {
  position: fixed;
  right: 14px;
  bottom: 14px;
  left: 14px;
  z-index: 3;
  margin: 0;
  padding: 12px 14px;
  border: 1px solid #725c35;
  border-radius: 10px;
  color: #f4ddb1;
  background: #2d261b;
  font-size: 0.82rem;
}

*:focus-visible {
  outline: 3px solid rgba(39, 183, 223, 0.9);
  outline-offset: 4px;
}

/*
 * Phone compression (UI review 2026-07-19). The display-size hero pushed
 * the primary action ~1.5 screens down; at phone widths the hero steps
 * down, both cards tighten, and the non-recommended card condenses to
 * kicker + title + action so both choices land on the first screen.
 */
@media (max-width: 760px) {
  .landing {
    width: min(100% - 28px, 620px);
    gap: 22px;
  }

  .landing__header {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .landing h1 {
    margin: 10px 0 12px;
    font-size: clamp(1.7rem, 7.5vw, 2.4rem);
    line-height: 1.06;
    letter-spacing: -0.03em;
  }

  .landing__summary {
    font-size: 0.95rem;
    line-height: 1.55;
  }

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

  .experience-card {
    min-height: 0;
    padding: 20px;
    gap: 14px;
    border-radius: 18px;
  }

  .experience-card__icon {
    display: none;
  }

  .experience-card h2 {
    margin: 6px 0 8px;
    font-size: 1.35rem;
  }

  .experience-card p:not(.experience-card__kicker) {
    font-size: 0.88rem;
    line-height: 1.5;
  }

  /* The secondary choice stays one tap away without repeating its pitch;
     landing.js moves .is-recommended, so whichever card is secondary
     condenses. */
  .experience-card:not(.is-recommended) h2 + p {
    display: none;
  }

  .landing__footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .landing__state {
    text-align: left;
  }
}

@media (max-width: 430px) {
  .landing {
    width: min(100% - 22px, 620px);
    padding-top: max(22px, env(safe-area-inset-top));
  }

  .brand__mark {
    width: 39px;
    height: 34px;
  }

  .brand__mark span {
    width: 10px;
  }

  .brand__mark span:nth-child(3) { height: 34px; }

  .experience-card {
    padding: 18px;
  }

  .experience-card__topline {
    min-height: 0;
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .experience-card__recommendation {
    text-align: left;
  }
}

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