:root {
  --bg: #f7f9fe;
  --card: #ffffff;
  --ink: #171e2c;
  --ink-soft: #55607a;
  --line: #d7dfef;
  --brand: #2d55ff;
  --brand-2: #20b5f8;
  --used-a: #335df0;
  --used-b: #1eaac8;
  --font-head: "Manrope", "Avenir Next", "Segoe UI", sans-serif;
  --font-body: "Spectral", Georgia, serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background:
    radial-gradient(1200px 500px at 8% -12%, #ffffff 0%, rgba(255, 255, 255, 0) 60%),
    radial-gradient(1100px 560px at 100% 0%, rgba(183, 208, 255, 0.22) 0%, rgba(183, 208, 255, 0) 72%),
    var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
}

a {
  color: var(--brand);
}

.page {
  width: min(1460px, calc(100% - 2rem));
  margin: 2.4rem auto 4.75rem auto;
}

.topnav-share {
  padding: 0.52rem 0.98rem;
  font-size: 0.79rem;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.hero {
  width: min(1120px, 100%);
  margin: 0 auto 2.35rem auto;
}

.hero-toprow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.95rem;
  margin-bottom: 1.36rem;
}

.brand-lockup {
  display: flex;
  align-items: flex-end;
  gap: 0.78rem;
  min-width: 0;
}

.brand-mark {
  width: clamp(22px, 2.1vw, 32px);
  height: auto;
  aspect-ratio: 384.8 / 644.5;
  flex-shrink: 0;
  margin-bottom: clamp(2px, 0.24vw, 4px);
  filter: drop-shadow(0 8px 18px rgba(16, 29, 55, 0.26));
  object-fit: contain;
}

.hero h1 {
  margin: 0;
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 4.3vw, 3.45rem);
  line-height: 0.98;
  letter-spacing: -0.038em;
  color: #13203d;
  background: linear-gradient(135deg, #111b31 0%, #224093 58%, #1c9ec4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-wrap: balance;
}

@supports not (-webkit-background-clip: text) {
  .hero h1 {
    background: none;
    color: #13203d;
  }
}

.lead {
  margin: 1.02rem 0 0 0;
  max-width: 1060px;
  width: 100%;
  color: #5a6782;
  font-size: clamp(1.02rem, 1.36vw, 1.2rem);
  line-height: 1.66;
  letter-spacing: 0.004em;
  text-wrap: pretty;
}

.hero-subhead {
  margin: 0.24rem 0 0 0;
  font-family: var(--font-head);
  font-size: clamp(0.94rem, 1.12vw, 1.06rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #2f5f9e;
}

.hero-claim {
  margin: 0.92rem 0 0 0;
  font-family: var(--font-head);
  font-size: clamp(0.98rem, 1.25vw, 1.14rem);
  font-weight: 700;
  letter-spacing: 0.012em;
  color: #1d3b71;
}

.lead-question {
  margin-top: 1.02rem;
  max-width: 1040px;
  color: #263a5e;
  font-weight: 600;
  font-size: clamp(1.11rem, 1.52vw, 1.34rem);
  line-height: 1.52;
}

.lead-note {
  max-width: 980px;
  color: #2d4f7a;
  font-weight: 600;
  background: linear-gradient(135deg, rgba(221, 236, 255, 0.64), rgba(215, 245, 251, 0.6));
  border: 1px solid rgba(145, 179, 230, 0.44);
  border-radius: 12px;
  padding: 0.64rem 0.88rem;
}

.cta-primary,
.cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.5rem 0.92rem;
  font-family: var(--font-head);
  font-size: 0.84rem;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 180ms ease, background 180ms ease;
}

.cta-primary {
  color: #fff;
  border: 1px solid rgba(55, 100, 229, 0.8);
  background: linear-gradient(135deg, #2d55ff, #1f93cb);
  box-shadow: 0 10px 24px rgba(36, 79, 180, 0.24);
}

.cta-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(36, 79, 180, 0.32);
}

.cta-secondary {
  color: #2e466d;
  border: 1px solid #cfdaee;
  background: linear-gradient(135deg, #ffffff, #f4f8ff);
}

.cta-secondary:hover {
  transform: translateY(-1px);
  background: linear-gradient(135deg, #fafdff, #eef5ff);
}

.cta-secondary:disabled {
  cursor: not-allowed;
  opacity: 0.72;
  transform: none;
}

.waitlist-form {
  max-width: 760px;
  margin: 1.2rem auto 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: stretch;
  border: 1px solid rgba(96, 139, 231, 0.46);
  border-radius: 18px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(28, 64, 136, 0.12);
  transition: box-shadow 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.waitlist-form:focus-within {
  border-color: #4f90e8;
  box-shadow: 0 14px 34px rgba(66, 145, 226, 0.24);
  transform: translateY(-1px);
}

.waitlist-form input {
  min-width: 0;
  border: 0;
  border-right: 1px solid #d9e6f8;
  padding: 0.95rem 1.25rem;
  font-family: var(--font-head);
  font-size: 1.02rem;
  color: #243756;
  background: #ffffff;
}

.waitlist-form input::placeholder {
  color: #a3a7b2;
}

.waitlist-form input:focus {
  outline: none;
}

.waitlist-submit {
  border: 0;
  margin: 0;
  padding: 0 1.8rem;
  min-height: 62px;
  font-family: var(--font-head);
  font-size: 1.02rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  cursor: pointer;
  transition: filter 160ms ease, transform 160ms ease;
}

.waitlist-submit:hover {
  filter: brightness(1.03);
}

.waitlist-submit:active {
  transform: scale(0.99);
}

.waitlist-submit:disabled {
  cursor: not-allowed;
  opacity: 0.72;
  transform: none;
}

.waitlist-status {
  margin: 0.78rem 0 0 0;
  min-height: 1.2rem;
  font-family: var(--font-head);
  font-size: 0.8rem;
  text-align: center;
  color: #446089;
}

.waitlist-status.success {
  color: #1f6d5d;
}

.waitlist-status.error {
  color: #a33945;
}

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

.waitlist-panel {
  max-width: 1120px;
  margin: 0 auto 1.75rem auto;
  padding: 1.95rem 1.7rem 1.4rem 1.7rem;
  border-radius: 24px;
  border: 1px solid rgba(141, 171, 225, 0.48);
  background:
    linear-gradient(#ffffff, #ffffff) padding-box,
    linear-gradient(145deg, rgba(213, 229, 255, 0.9), rgba(213, 246, 251, 0.84)) border-box;
  box-shadow: 0 18px 42px rgba(34, 45, 78, 0.1);
  text-align: center;
}

.waitlist-kicker {
  margin: 0;
  font-family: var(--font-head);
  font-size: 0.74rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #667ca4;
}

.waitlist-title {
  margin: 0.44rem 0 0 0;
  font-family: var(--font-head);
  font-size: clamp(1.42rem, 2.2vw, 2rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #263853;
}

.waitlist-copy {
  margin: 0.64rem auto 0 auto;
  max-width: 720px;
  color: #5c6f8e;
  font-size: clamp(1.04rem, 1.35vw, 1.26rem);
  line-height: 1.45;
}

.waitlist-proof {
  margin: 0.55rem 0 0 0;
  font-family: var(--font-head);
  color: #395173;
  font-size: clamp(1.14rem, 1.65vw, 1.5rem);
  font-weight: 700;
  letter-spacing: -0.012em;
}

.gallery-header {
  max-width: 1120px;
  margin: 0 auto 1.2rem auto;
}

.gallery-kicker {
  margin: 0;
  font-family: var(--font-head);
  font-size: 0.74rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #6f7f9c;
}

.gallery-title {
  margin: 0.34rem 0 0 0;
  font-family: var(--font-head);
  font-size: clamp(1.12rem, 1.9vw, 1.4rem);
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: #25344f;
}

.gallery {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.65rem;
}

.site-footer {
  max-width: 1120px;
  margin: 2.35rem auto 0 auto;
  padding: 1rem 1.12rem;
  border-radius: 16px;
  border: 1px solid rgba(146, 171, 217, 0.42);
  background:
    linear-gradient(#ffffff, #ffffff) padding-box,
    linear-gradient(140deg, rgba(216, 228, 255, 0.9), rgba(213, 246, 251, 0.78)) border-box;
  box-shadow: 0 12px 30px rgba(20, 43, 92, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
}

.footer-brand {
  display: grid;
  gap: 0.18rem;
}

.footer-title {
  margin: 0;
  font-family: var(--font-head);
  font-size: 0.92rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #223455;
}

.footer-meta {
  margin: 0;
  font-family: var(--font-head);
  font-size: 0.78rem;
  line-height: 1.35;
  letter-spacing: 0.01em;
  color: #5b6c8d;
}

.footer-actions {
  display: flex;
  align-items: center;
  gap: 0.72rem;
}

.x-logo {
  display: inline-grid;
  place-items: center;
  width: 1.3rem;
  height: 1.3rem;
  border-radius: 999px;
  font-family: var(--font-head);
  font-size: 0.66rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #173b8f, #0f6f97);
}

.footer-byline {
  margin: 0;
  font-family: var(--font-head);
  font-size: 0.8rem;
  white-space: nowrap;
  letter-spacing: 0.01em;
  color: #4d5d7c;
}

.footer-byline a {
  text-decoration: none;
  font-weight: 700;
}

.footer-byline a:hover {
  text-decoration: underline;
}

.footer-x-button {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  border: 1px solid rgba(131, 156, 206, 0.56);
  border-radius: 999px;
  padding: 0.38rem 0.7rem;
  font-family: var(--font-head);
  font-size: 0.78rem;
  color: #1f345a;
  background: linear-gradient(135deg, #f6faff, #edf4ff);
  transition: transform 170ms ease, box-shadow 170ms ease, border-color 170ms ease;
}

.footer-x-button:hover {
  transform: translateY(-1px);
  border-color: rgba(97, 134, 212, 0.72);
  box-shadow: 0 8px 20px rgba(34, 71, 154, 0.16);
}

@keyframes card-reveal {
  from {
    opacity: 0;
    transform: translateY(22px) scale(0.992);
  }

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

.card {
  position: relative;
  background:
    linear-gradient(var(--card), var(--card)) padding-box,
    linear-gradient(145deg, rgba(193, 210, 242, 0.8) 0%, rgba(239, 244, 255, 0.95) 45%, rgba(188, 209, 255, 0.85) 100%) border-box;
  border: 1px solid transparent;
  border-radius: 22px;
  padding: 1.16rem;
  box-shadow:
    0 14px 38px rgba(15, 30, 62, 0.1),
    0 2px 10px rgba(45, 85, 255, 0.08);
  transition: transform 260ms ease, box-shadow 260ms ease;
  animation: card-reveal 620ms cubic-bezier(0.18, 0.92, 0.23, 1) both;
  animation-delay: calc(80ms + (var(--reveal-order, 0) * 90ms));
}

.card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(120% 100% at 8% -18%, rgba(126, 167, 255, 0.24), rgba(126, 167, 255, 0) 65%);
  opacity: 0;
  transition: opacity 260ms ease;
}

.card:hover {
  transform: translateY(-5px) scale(1.0035);
  box-shadow:
    0 22px 52px rgba(15, 30, 62, 0.14),
    0 0 0 1px rgba(105, 147, 255, 0.25);
}

.card:hover::before {
  opacity: 1;
}

.card-head {
  margin-bottom: 0.85rem;
}

.place-title {
  margin: 0;
  font-family: var(--font-head);
  font-size: clamp(1.12rem, 1.42vw, 1.34rem);
  line-height: 1.25;
  letter-spacing: -0.015em;
}

.card-specs {
  margin-top: 0.56rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.4rem 0.75rem;
}

.spec {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
}

.spec-label {
  font-family: var(--font-head);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #72809c;
}

.spec-value {
  font-family: var(--font-head);
  font-size: 0.9rem;
  line-height: 1.25;
  letter-spacing: 0.004em;
}

.spec-value a {
  text-decoration: none;
}

.spec-value a:hover {
  text-decoration: underline;
}

.world-link {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid transparent;
  background:
    linear-gradient(#ffffff, #ffffff) padding-box,
    linear-gradient(130deg, rgba(120, 152, 255, 0.64) 0%, rgba(103, 213, 229, 0.6) 48%, rgba(174, 193, 255, 0.72) 100%) border-box;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.55),
    0 12px 26px rgba(40, 84, 188, 0.14);
  transition: transform 280ms ease, box-shadow 280ms ease;
}

.card:hover .world-link {
  transform: scale(1.01);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.62),
    0 16px 34px rgba(40, 84, 188, 0.2),
    0 0 30px rgba(80, 132, 255, 0.2);
}

.world-link img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.world-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, rgba(24, 35, 58, 0.09) 6%, rgba(24, 35, 58, 0.52) 100%);
  pointer-events: none;
}

.world-overlay::after {
  content: "";
  position: absolute;
  inset: -42% -30%;
  background: linear-gradient(100deg, rgba(255, 255, 255, 0) 40%, rgba(255, 255, 255, 0.2) 50%, rgba(255, 255, 255, 0) 60%);
  opacity: 0;
  transform: translateX(-42%) rotate(8deg);
  transition: transform 520ms ease, opacity 220ms ease;
}

.card:hover .world-overlay::after {
  opacity: 0.56;
  transform: translateX(35%) rotate(8deg);
}

.world-overlay span {
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 999px;
  padding: 0.5rem 1rem;
  color: #fff;
  background: linear-gradient(120deg, rgba(35, 60, 127, 0.64), rgba(34, 120, 167, 0.55));
  font-family: var(--font-head);
  font-size: 0.88rem;
  letter-spacing: 0.02em;
  backdrop-filter: blur(2px);
  transition: transform 240ms ease, box-shadow 240ms ease;
}

.card:hover .world-overlay span {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(17, 39, 92, 0.34);
}

.help {
  margin: 0.72rem 0 0.45rem 0;
  color: #5b6883;
  font-size: 0.93rem;
  line-height: 1.5;
  letter-spacing: 0.003em;
}

.legend {
  display: flex;
  align-items: center;
  gap: 0.48rem;
  margin-bottom: 0.52rem;
}

.legend-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.34rem;
  border-radius: 999px;
  padding: 0.2rem 0.56rem;
  font-family: var(--font-head);
  font-size: 0.72rem;
  letter-spacing: 0.02em;
  border: 1px solid #d4dced;
  color: #55617a;
  background: #f8fafe;
}

.legend-pill.used {
  border-color: #2d73d9;
  color: #0f2243;
  background: linear-gradient(135deg, #cbe7ff, #c8f5ef);
}

.legend-icon {
  display: inline-grid;
  place-items: center;
  width: 1rem;
  height: 1rem;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #2357e8, #1f92c0);
  font-size: 0.7rem;
  line-height: 1;
}

.carousel {
  display: flex;
  gap: 0.56rem;
  overflow-x: auto;
  padding: 0.15rem 0 0.24rem 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.carousel::-webkit-scrollbar {
  display: none;
}

.thumb {
  min-width: 154px;
  width: 154px;
  border: 1px solid #d7ddea;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  padding: 0;
  cursor: pointer;
  position: relative;
  transform: perspective(700px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)) translateY(0);
  transition: transform 160ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.thumb:hover {
  border-color: rgba(108, 136, 208, 0.62);
  box-shadow: 0 10px 22px rgba(22, 42, 89, 0.16);
  transform: perspective(700px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)) translateY(-3px);
}

.thumb:active {
  transform: perspective(700px) rotateX(0deg) rotateY(0deg) scale(0.97);
}

.thumb img {
  display: block;
  width: 154px;
  height: 103px;
  object-fit: contain;
  background: #eef2f7;
}

.thumb-label {
  position: absolute;
  left: 6px;
  top: 6px;
  font-family: var(--font-head);
  font-size: 0.7rem;
  padding: 0.16rem 0.42rem;
  border-radius: 999px;
  background: rgba(19, 28, 43, 0.7);
  color: #fff;
  letter-spacing: 0.02em;
}

.thumb.selected {
  border-color: transparent;
  box-shadow: 0 0 0 1px rgba(42, 63, 112, 0.2), 0 10px 28px rgba(34, 81, 255, 0.2);
  background: linear-gradient(135deg, var(--used-a), var(--used-b));
  padding: 2px;
}

.thumb.selected img {
  border-radius: 10px;
}

.thumb-state {
  position: absolute;
  right: 6px;
  top: 6px;
  display: inline-flex;
  align-items: center;
  gap: 0.24rem;
  font-family: var(--font-head);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  border-radius: 999px;
  padding: 0.18rem 0.46rem;
  color: #fff;
  border: 1px solid rgba(157, 216, 255, 0.72);
  background: linear-gradient(100deg, rgba(36, 79, 209, 0.92), rgba(39, 150, 205, 0.9));
}

.lightbox {
  width: min(1120px, 96vw);
  border: 1px solid #d0d9e9;
  border-radius: 14px;
  background: #fbfcff;
  color: var(--ink);
  padding: 0.95rem;
}

.lightbox::backdrop {
  background: rgba(22, 33, 54, 0.44);
}

.lightbox-close-wrap {
  display: flex;
  justify-content: flex-end;
  margin: 0;
}

.lightbox-close {
  border: 1px solid #ced8ea;
  border-radius: 999px;
  background: #ffffff;
  color: var(--ink);
  padding: 0.3rem 0.72rem;
  cursor: pointer;
}

.lightbox-media-wrap {
  border: 1px solid #dbe3f0;
  border-radius: 10px;
  overflow: hidden;
  margin-top: 0.35rem;
  background: #fff;
}

.lightbox-media-wrap.selected {
  border-color: rgba(64, 108, 255, 0.55);
  box-shadow: 0 0 0 1px rgba(64, 108, 255, 0.2), 0 0 24px rgba(64, 108, 255, 0.18);
}

#lightbox-image {
  display: block;
  width: 100%;
  max-height: 72vh;
  object-fit: contain;
  margin: 0 auto;
}

.lightbox-caption {
  margin: 0.58rem 0 0 0;
  color: var(--ink-soft);
}

.lightbox-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  border: 1px solid #cdd8ec;
  background: rgba(255, 255, 255, 0.93);
  color: #1f2430;
  border-radius: 999px;
  width: 44px;
  height: 44px;
  cursor: pointer;
  font-size: 1rem;
}

.lightbox-prev {
  left: max(1rem, 1.5vw);
}

.lightbox-next {
  right: max(1rem, 1.5vw);
}

@media (min-width: 1200px) {
  .page {
    width: min(1520px, calc(100% - 4rem));
  }

  .gallery {
    gap: 1.92rem;
  }

  .card {
    padding: 1.26rem;
  }
}

@media (max-width: 900px) {
  .card-specs {
    grid-template-columns: 1fr;
    gap: 0.44rem;
  }
}

@media (max-width: 760px) {
  .page {
    width: min(100%, calc(100% - 1rem));
    margin-top: 1.2rem;
  }

  .hero {
    margin-bottom: 1.5rem;
  }

  .legend {
    flex-wrap: wrap;
  }

  .hero-toprow {
    flex-wrap: wrap;
    align-items: flex-start;
    margin-bottom: 1.04rem;
  }

  .hero-subhead {
    letter-spacing: 0.1em;
    font-size: 0.9rem;
  }

  .hero-claim {
    font-size: 0.94rem;
    letter-spacing: 0.008em;
  }

  .topnav-share {
    width: 100%;
  }

  .waitlist-form {
    width: 100%;
    margin-top: 1rem;
    grid-template-columns: 1fr;
    border-radius: 16px;
  }

  .waitlist-form input {
    border-right: 0;
    border-bottom: 1px solid #d9e6f8;
    padding: 0.88rem 1rem;
    font-size: 0.98rem;
  }

  .waitlist-submit {
    width: 100%;
    min-height: 54px;
    font-size: 0.96rem;
  }

  .waitlist-panel {
    padding: 1.35rem 1rem 1.1rem 1rem;
  }

  .waitlist-title {
    font-size: clamp(1.2rem, 5.8vw, 1.6rem);
  }

  .waitlist-proof {
    font-size: clamp(1.04rem, 4.4vw, 1.24rem);
  }

  .site-footer {
    margin-top: 1.6rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.82rem;
    padding: 0.9rem 0.86rem;
  }

  .footer-actions {
    width: 100%;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.58rem;
  }

  .footer-x-button {
    width: fit-content;
  }

  .thumb {
    min-width: 126px;
    width: 126px;
  }

  .thumb img {
    width: 126px;
    height: 84px;
  }
}
