:root {
  color-scheme: light;
  --sky-950: #0e4d82;
  --sky-900: #135e9c;
  --sky-800: #1a70b3;
  --sky-100: #eaf5fd;
  --paper: #f5f8fb;
  --paper-2: #ffffff;
  --ink: #163247;
  --muted: #516575;
  --line: rgba(20, 55, 82, 0.12);
  --green-700: #3f7f5d;
  --green-600: #4b916f;
  --green-500: #7cb397;
  --green-200: #dceddf;
  --sun: #ffd66a;
  --coral: #ff6170;
  --shadow: 0 30px 80px rgba(10, 38, 61, 0.16);
  --radius-xl: 34px;
  --radius-lg: 26px;
  --radius-md: 18px;
  --content-width: min(1120px, calc(100vw - 32px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: "Avenir Next", "Avenir", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 80% 10%, rgba(255, 214, 106, 0.38) 0, rgba(255, 214, 106, 0.08) 16%, transparent 30%),
    radial-gradient(circle at 15% 20%, rgba(124, 179, 151, 0.22) 0, rgba(124, 179, 151, 0.04) 22%, transparent 40%),
    linear-gradient(180deg, #e9f5fc 0%, #f7fbfe 28%, #f5f8fb 100%);
  background-attachment: fixed;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.3) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.2) 1px, transparent 1px);
  background-size: 100% 100%, 80px 80px;
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.18), transparent 72%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.18), transparent 72%);
  opacity: 0.4;
}

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

button,
input {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 20;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--paper-2);
  box-shadow: var(--shadow);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
}

.page-shell {
  width: var(--content-width);
  margin: 0 auto;
  padding: 20px 0 28px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 0 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand-logo,
.preview-logo {
  display: block;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(14, 77, 130, 0.16);
}

.brand-logo {
  width: 52px;
  height: 52px;
}

.brand-name {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.status-pill {
  margin: 0;
  padding: 10px 16px;
  border: 1px solid rgba(255, 214, 106, 0.4);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--sky-950);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  backdrop-filter: blur(12px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 32px;
  align-items: center;
  padding: 18px 0 36px;
}

.hero-copy {
  max-width: 640px;
  animation: rise-in 0.7s ease both;
}

.eyebrow,
.section-kicker,
.card-number,
.preview-label,
.preview-subtitle,
.form-note,
.cta-note {
  margin: 0;
}

.eyebrow,
.section-kicker {
  color: var(--sky-900);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 0.96;
  letter-spacing: -0.04em;
}

h1 {
  margin-top: 16px;
  max-width: 10.5ch;
  font-size: clamp(3rem, 7vw, 5.8rem);
}

.lede {
  max-width: 58ch;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  line-height: 1.7;
}

.cta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 18px;
  margin-top: 28px;
}

.primary-cta,
.signup-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--sky-800), var(--sky-950));
  color: white;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 16px 36px rgba(14, 77, 130, 0.22);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    opacity 0.2s ease;
}

.primary-cta:hover,
.primary-cta:focus-visible,
.signup-form button:hover,
.signup-form button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 20px 42px rgba(14, 77, 130, 0.28);
}

.primary-cta:focus-visible,
.signup-form input:focus-visible,
.signup-form button:focus-visible {
  outline: 3px solid rgba(255, 214, 106, 0.7);
  outline-offset: 2px;
}

.cta-note {
  color: var(--muted);
  font-size: 0.98rem;
}

.feature-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
}

.feature-pills li {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--sky-950);
  font-size: 0.92rem;
  font-weight: 700;
  backdrop-filter: blur(10px);
}

.hero-visual {
  position: relative;
  min-height: 620px;
  animation: rise-in 0.9s ease 0.05s both;
}

.scene-card {
  position: absolute;
  inset: 0 0 auto auto;
  width: min(100%, 560px);
  height: 570px;
  border-radius: calc(var(--radius-xl) + 6px);
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(19, 94, 156, 0.96) 0%, rgba(17, 97, 155, 0.94) 46%, rgba(17, 89, 143, 0.98) 100%);
  box-shadow: var(--shadow);
}

.scene-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(8px);
  opacity: 0.8;
}

.scene-glow-top {
  width: 230px;
  height: 230px;
  right: 34px;
  top: 34px;
  background: rgba(255, 214, 106, 0.45);
}

.scene-glow-bottom {
  width: 320px;
  height: 320px;
  left: -95px;
  bottom: -80px;
  background: rgba(124, 179, 151, 0.28);
}

.scene-sun {
  position: absolute;
  right: 38px;
  top: 34px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: #ffd66a;
  box-shadow: 0 0 0 16px rgba(255, 214, 106, 0.08);
}

.scene-mountains,
.scene-snowcap,
.scene-trail,
.scene-pin {
  position: absolute;
  inset: 0;
}

.mountain {
  position: absolute;
  bottom: -16px;
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

.mountain.left {
  left: -6%;
}

.mountain.right {
  right: -6%;
}

.mountain-back.left {
  width: 70%;
  height: 62%;
  left: -2%;
  bottom: 14%;
  background: #7eb395;
}

.mountain-back.right {
  width: 72%;
  height: 62%;
  right: -4%;
  bottom: 12%;
  background: #7eb395;
}

.mountain-mid.left {
  width: 58%;
  height: 54%;
  left: 6%;
  bottom: 14%;
  background: #418766;
}

.mountain-mid.right {
  width: 60%;
  height: 58%;
  right: 5%;
  bottom: 11%;
  background: #418766;
}

.mountain-front.left {
  width: 44%;
  height: 49%;
  left: 15%;
  bottom: 12%;
  background: #3f705c;
}

.mountain-front.right {
  width: 56%;
  height: 47%;
  right: 11%;
  bottom: 9%;
  background: #3f705c;
}

.scene-snowcap {
  width: 92px;
  height: 120px;
  left: 38%;
  bottom: 25%;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0 46%, rgba(232, 242, 248, 0.95) 46% 68%, transparent 68% 100%);
  clip-path: polygon(16% 0%, 100% 50%, 80% 100%, 0% 58%);
  transform: rotate(5deg);
  opacity: 0.95;
}

.scene-trail {
  inset: auto 0 58px;
  height: 26px;
  background:
    radial-gradient(circle at 14% 50%, #d7eaf7 0 22px, transparent 23px) left center / 24% 100% no-repeat,
    radial-gradient(circle at 46% 50%, #d7eaf7 0 22px, transparent 23px) center center / 26% 100% no-repeat,
    radial-gradient(circle at 82% 50%, #d7eaf7 0 22px, transparent 23px) right center / 24% 100% no-repeat;
  border-radius: 999px;
  filter: drop-shadow(0 12px 18px rgba(11, 41, 64, 0.18));
}

.scene-trail::before {
  content: "";
  position: absolute;
  inset: 6px 20px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent 0%, #d5e8f6 10%, #d5e8f6 90%, transparent 100%);
}

.scene-trail::after {
  content: "";
  position: absolute;
  left: 40%;
  top: -4px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 8px rgba(255, 97, 112, 0.12);
}

.scene-pin {
  width: 18px;
  height: 18px;
  left: 43%;
  bottom: 92px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 8px rgba(255, 97, 112, 0.1);
}

.preview-card {
  position: absolute;
  right: -2px;
  bottom: 28px;
  width: min(86%, 290px);
  padding: 18px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.44);
  box-shadow: 0 22px 48px rgba(10, 38, 61, 0.2);
  backdrop-filter: blur(18px);
}

.preview-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.preview-logo {
  width: 54px;
  height: 54px;
}

.preview-label {
  color: var(--sky-950);
  font-size: 1rem;
  font-weight: 700;
}

.preview-subtitle {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.92rem;
}

.preview-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 18px;
}

.preview-metrics div {
  padding: 12px 10px;
  border-radius: 16px;
  background: rgba(234, 245, 253, 0.9);
}

.preview-metrics span {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.preview-metrics strong {
  display: block;
  margin-top: 4px;
  font-size: 0.92rem;
}

.highlights {
  padding: 18px 0 8px;
}

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

.section-heading h2,
.waitlist h2 {
  margin-top: 14px;
  font-size: clamp(2rem, 4vw, 3rem);
}

.section-heading p {
  max-width: 56ch;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.info-card,
.waitlist {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 16px 40px rgba(10, 38, 61, 0.08);
  backdrop-filter: blur(14px);
}

.info-card {
  padding: 24px;
}

.card-number {
  color: var(--sky-900);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.info-card h3 {
  margin-top: 14px;
  font-size: 1.35rem;
}

.info-card p {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.waitlist {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 1fr);
  gap: 24px;
  align-items: center;
  margin-top: 28px;
  padding: 24px;
}

.waitlist-copy p:last-child {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.signup-form {
  padding: 6px;
}

.input-row {
  display: flex;
  gap: 10px;
  align-items: center;
}

.signup-form input {
  flex: 1;
  min-width: 0;
  min-height: 52px;
  padding: 0 18px;
  border: 1px solid rgba(20, 55, 82, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  box-shadow: inset 0 1px 2px rgba(10, 38, 61, 0.04);
}

.signup-form input::placeholder {
  color: #7c8a95;
}

.signup-form button {
  white-space: nowrap;
}

.signup-form[data-state="submitting"] button {
  opacity: 0.75;
  cursor: progress;
}

.form-status {
  min-height: 1.4em;
  margin: 12px 0 0;
  color: var(--sky-950);
  font-weight: 600;
}

.form-note {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer {
  padding: 22px 0 0;
  color: var(--muted);
  text-align: center;
  font-size: 0.95rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .hero,
  .waitlist,
  .card-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 24px;
  }

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

  .scene-card {
    position: relative;
    width: 100%;
    height: 500px;
  }

  .preview-card {
    right: 18px;
    bottom: 22px;
  }
}

@media (max-width: 720px) {
  body {
    background-attachment: scroll;
  }

  .page-shell {
    width: min(100vw - 22px, 1120px);
    padding-top: 14px;
  }

  .topbar {
    padding-bottom: 18px;
  }

  .brand-name {
    font-size: 0.98rem;
  }

  .status-pill {
    padding-inline: 12px;
    font-size: 0.82rem;
  }

  .hero {
    padding-top: 8px;
  }

  h1 {
    max-width: none;
    font-size: clamp(2.6rem, 13vw, 4rem);
  }

  .lede {
    margin-top: 18px;
  }

  .cta-row {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .scene-card {
    height: 410px;
    border-radius: 28px;
  }

  .scene-sun {
    width: 122px;
    height: 122px;
    right: 22px;
    top: 22px;
  }

  .mountain-back.left,
  .mountain-back.right {
    height: 55%;
    bottom: 11%;
  }

  .mountain-mid.left,
  .mountain-mid.right {
    height: 50%;
  }

  .mountain-front.left,
  .mountain-front.right {
    height: 44%;
  }

  .scene-trail {
    inset: auto 0 42px;
  }

  .preview-card {
    width: calc(100% - 28px);
    right: 14px;
    left: 14px;
    bottom: 16px;
  }

  .preview-metrics {
    grid-template-columns: 1fr;
  }

  .card-grid {
    gap: 14px;
  }

  .waitlist {
    padding: 20px;
  }

  .input-row {
    flex-direction: column;
    align-items: stretch;
  }

  .signup-form button {
    width: 100%;
  }
}

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

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