:root {
  color-scheme: dark;
  --ink: #f8fbff;
  --muted: #afc2e9;
  --deep: #03091e;
  --navy: #071744;
  --blue: #066bff;
  --cyan: #00c8ff;
  --gold: #ffd232;
  --red: #ff4056;
  --line: rgba(173, 205, 255, 0.18);
  --panel: rgba(10, 31, 83, 0.66);
  --shadow: 0 26px 80px rgba(0, 0, 0, 0.38);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    radial-gradient(circle at 78% 10%, rgba(0, 107, 255, 0.23), transparent 31rem),
    radial-gradient(circle at 4% 30%, rgba(255, 64, 86, 0.11), transparent 25rem),
    linear-gradient(155deg, #020617 0%, #06143d 50%, #020617 100%);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

a:focus-visible,
.button:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

img { display: block; max-width: 100%; }

.site-shell {
  min-height: 100vh;
  overflow: hidden;
}

.nav {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  font-weight: 760;
  letter-spacing: -0.02em;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  box-shadow: 0 8px 24px rgba(0, 98, 255, 0.3);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  color: var(--muted);
  font-size: 0.94rem;
}

.nav-links a {
  text-decoration: none;
}

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

.hero {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  min-height: calc(100vh - 80px);
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(340px, 1.08fr);
  align-items: center;
  gap: clamp(1.5rem, 5vw, 5rem);
  padding: 4rem 0 6rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1.25rem;
  color: #dbe7ff;
  font-weight: 650;
  font-size: 0.87rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 2.3rem;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--red));
}

h1, h2, h3 {
  margin-top: 0;
  line-height: 1.05;
  letter-spacing: -0.045em;
}

h1 {
  max-width: 11ch;
  margin-bottom: 1.35rem;
  font-size: clamp(3rem, 7vw, 5.9rem);
  font-weight: 820;
}

h2 {
  font-size: clamp(2rem, 5vw, 3.8rem);
}

h3 {
  font-size: 1.25rem;
  letter-spacing: -0.025em;
}

.gradient-text {
  background: linear-gradient(105deg, #fff 13%, #75cfff 48%, #ffd643 87%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 37rem;
  margin: 0 0 2rem;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.3rem);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.store-status {
  width: 260px;
  min-height: 78px;
  padding: 0.7rem 1.25rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 13px;
  background: #050505;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.32);
  display: grid;
  align-content: center;
  text-align: left;
}

.store-status small {
  display: block;
  color: #c7c7c7;
  font-size: 0.7rem;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.store-status strong {
  display: block;
  margin-top: 0.18rem;
  font-size: 1.17rem;
  line-height: 1.15;
}

.platform-note {
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-art {
  position: relative;
  justify-self: center;
  width: min(100%, 650px);
}

.hero-art::before {
  content: "";
  position: absolute;
  inset: 15% 8% 7%;
  z-index: -1;
  border-radius: 50%;
  background: rgba(0, 107, 255, 0.32);
  filter: blur(65px);
}

.hero-art img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 34px 46px rgba(0, 0, 0, 0.38));
  animation: settle 900ms cubic-bezier(.2,.8,.2,1) both;
}

.home-main {
  position: relative;
  isolation: isolate;
}

.home-main > section {
  position: relative;
  z-index: 1;
}

.floating-pins {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.floating-pin {
  --rotation: 0deg;
  position: absolute;
  width: clamp(90px, 13vw, 180px);
  height: auto;
  opacity: 0.36;
  filter: saturate(0.94) brightness(0.94) drop-shadow(0 12px 24px rgba(0, 0, 0, 0.32));
  transform: rotate(var(--rotation));
  animation: pin-drift 8s ease-in-out infinite alternate;
}

.pin-1 { top: 11%; left: -1.5rem; --rotation: -12deg; animation-delay: -2s; }
.pin-2 { top: 22%; right: -1rem; --rotation: 10deg; animation-delay: -5s; }
.pin-3 { top: 33%; left: 1.5%; --rotation: 9deg; animation-delay: -1s; }
.pin-4 { top: 43%; right: 0.5%; --rotation: -9deg; animation-delay: -6s; }
.pin-5 { top: 54%; left: -2.5rem; width: clamp(140px, 19vw, 250px); --rotation: -5deg; animation-delay: -3s; }
.pin-6 { top: 64%; right: -1.5rem; --rotation: 11deg; animation-delay: -7s; }
.pin-7 { top: 73%; left: 0; --rotation: -7deg; animation-delay: -4s; }
.pin-8 { top: 82%; right: 2%; width: clamp(70px, 9vw, 125px); --rotation: 13deg; animation-delay: -1.5s; }
.pin-9 { top: 91%; left: -1.5rem; width: clamp(150px, 20vw, 270px); --rotation: -8deg; animation-delay: -5.5s; }

.section {
  width: min(1080px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 6.5rem 0;
}

.section-heading {
  max-width: 670px;
  margin-bottom: 2.5rem;
}

.section-heading p {
  color: var(--muted);
  font-size: 1.1rem;
}

.plans,
.feature-grid {
  display: grid;
  gap: 1rem;
}

.plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.feature-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.card {
  position: relative;
  overflow: hidden;
  min-height: 190px;
  padding: 1.8rem;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(13, 41, 104, 0.77), rgba(5, 15, 48, 0.82));
  box-shadow: var(--shadow);
}

.card::after {
  content: "";
  position: absolute;
  inset: auto -18% -45% auto;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(0, 191, 255, 0.11);
  filter: blur(5px);
}

.card .number {
  display: block;
  margin-bottom: 2.2rem;
  color: var(--gold);
  font-weight: 760;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.77rem;
}

.card p {
  position: relative;
  z-index: 1;
  margin-bottom: 0;
  color: var(--muted);
}

.feature-card {
  min-height: 165px;
  padding: 1.4rem;
  border-top: 1px solid var(--line);
}

.feature-card p {
  margin: 0;
  color: var(--muted);
}

.closing {
  padding: 4.5rem;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 32px;
  background:
    radial-gradient(circle at 50% 0%, rgba(0, 185, 255, 0.16), transparent 60%),
    rgba(5, 18, 57, 0.74);
}

.closing h2 {
  max-width: 760px;
  margin: 0 auto 1rem;
}

.closing p {
  max-width: 630px;
  margin: 0 auto 2rem;
  color: var(--muted);
}

.closing .store-status {
  margin: 0 auto;
}

.footer {
  width: min(1080px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 2rem 0 2.75rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.87rem;
}

.footer-main,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.3rem;
  align-items: center;
  justify-content: space-between;
}

.footer a { text-underline-offset: 0.2em; }

.fine-print {
  max-width: 780px;
  margin: 1rem 0 0;
  font-size: 0.8rem;
  color: #8093ba;
}

.document-main {
  width: min(760px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 5rem 0 7rem;
}

.document-header {
  padding-bottom: 2.5rem;
  margin-bottom: 3rem;
  border-bottom: 1px solid var(--line);
}

.document-header h1 {
  max-width: none;
  margin-bottom: 0.8rem;
  font-size: clamp(2.6rem, 7vw, 4.5rem);
}

.document-header p {
  margin: 0;
  color: var(--muted);
}

.document-section {
  margin-top: 2.8rem;
}

.document-section h2 {
  margin-bottom: 0.9rem;
  font-size: 1.55rem;
  letter-spacing: -0.025em;
}

.document-section h3 {
  margin: 1.6rem 0 0.55rem;
}

.document-section p,
.document-section li {
  color: #c0cdec;
}

.document-section li + li { margin-top: 0.45rem; }

.document-section a {
  color: #73d7ff;
  text-underline-offset: 0.18em;
}

.callout {
  padding: 1.25rem 1.4rem;
  border-left: 3px solid var(--gold);
  border-radius: 0 16px 16px 0;
  background: rgba(255, 210, 50, 0.07);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0.72rem 1.25rem;
  border-radius: 999px;
  color: #06102d;
  background: linear-gradient(120deg, #ffe15e, #ffbe20);
  box-shadow: 0 9px 30px rgba(255, 190, 32, 0.2);
  font-weight: 760;
  text-decoration: none;
}

.document-section .button {
  color: #06102d;
}

.document-section .button:hover {
  color: #020718;
}

@keyframes settle {
  from { opacity: 0; transform: translateY(18px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes pin-drift {
  from { transform: translate3d(0, -7px, 0) rotate(var(--rotation)); }
  to { transform: translate3d(8px, 9px, 0) rotate(calc(var(--rotation) + 2deg)); }
}

@media (max-width: 820px) {
  .nav { min-height: 70px; }
  .nav-links a:not(:last-child) { display: none; }
  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding: 3.5rem 0 5rem;
  }
  .hero-copy { text-align: center; }
  .hero-copy h1,
  .hero-copy > p { margin-left: auto; margin-right: auto; }
  .eyebrow { justify-content: center; }
  .cta-row { justify-content: center; }
  .hero-art { grid-row: 1; width: min(86vw, 510px); }
  .plans,
  .feature-grid { grid-template-columns: 1fr; }
  .section { padding: 4.5rem 0; }
  .closing { padding: 3rem 1.25rem; }
}

@media (max-width: 520px) {
  .brand span { display: none; }
  h1 { font-size: clamp(2.75rem, 15vw, 4.2rem); }
  .hero { padding-top: 2rem; }
  .hero-art { width: 100%; }
  .card { border-radius: 20px; }
  .document-main { padding-top: 3rem; }
  .footer-main { align-items: flex-start; }
  .footer-links { width: 100%; justify-content: flex-start; }
  .store-status { width: min(100%, 260px); }
  .floating-pin {
    width: 92px;
    opacity: 0.18;
  }
  .floating-pin:nth-child(2),
  .floating-pin:nth-child(3),
  .floating-pin:nth-child(5),
  .floating-pin:nth-child(8) { display: none; }
  .pin-1, .pin-4, .pin-7, .pin-9 { left: -2.6rem; right: auto; }
  .pin-6 { right: -2.5rem; }
  .pin-9 { width: 130px; }
}

@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;
  }
}
