:root {
  --bg: #010407;
  --bg-card: #090e13;
  --bg-stats: #04070b;
  --border: #1f4b48;
  --border-card: #1d3936;
  --accent: #2eedc6;
  --accent-bright: #10fff6;
  --accent-btn: #00efd1;
  --text: #ffffff;
  --text-muted: #bfbfbf;
  --text-dim: #999999;
  --text-soft: #afafaf;
  --header-h: 133px;
  --max: 1267px;
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 16px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

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

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.container {
  width: min(100% - 48px, var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(1, 4, 7, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(31, 75, 72, 0.35);
}

.site-header .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-logo {
  font-size: 34px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.brand-tag {
  font-size: 16px;
  color: var(--text-dim);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 58px;
}

.site-nav a {
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
  position: relative;
  padding-bottom: 8px;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--accent-bright);
}

.site-nav a.is-active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent-bright);
  transform: translateX(-50%);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 41px;
  padding: 0 20px;
  border-radius: 35px;
  background: var(--accent);
  color: #010407;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.header-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(46, 237, 198, 0.3);
}

.header-cta--discord {
  background: #5865f2;
  color: #fff;
}

.header-cta--discord:hover {
  box-shadow: 0 8px 24px rgba(88, 101, 242, 0.4);
}

.js-discord-cta[hidden] {
  display: none !important;
}

.mobile-nav .accent-link--discord {
  color: #8ea1ff;
}

.online-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 41px;
  padding: 0 16px;
  border-radius: 35px;
  background: #060c10;
  border: 2px solid #0b1719;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}

.online-dot {
  flex-shrink: 0;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #1adb95;
  animation: pulse-online 2.2s ease-in-out infinite;
}

@keyframes pulse-online {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(26, 219, 149, 0.5);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(26, 219, 149, 0);
  }
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--border-card);
  color: var(--text);
}

/* Hero */
.hero {
  padding: 48px 0 72px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.hero-copy h1 {
  margin: 0 0 24px;
  font-size: clamp(42px, 5vw, 76px);
  font-weight: 500;
  line-height: 1.07;
  letter-spacing: -0.03em;
}

.hero-copy h1 .accent {
  color: var(--accent);
}

.hero-copy p {
  margin: 0 0 32px;
  max-width: 420px;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.97;
  color: var(--text);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  margin-bottom: 48px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 83px;
  padding: 0 40px;
  border-radius: var(--radius-md);
  background: var(--accent);
  color: #010407;
  font-size: 18px;
  font-weight: 600;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(46, 237, 198, 0.25);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 83px;
  padding: 0 40px;
  border-radius: var(--radius-md);
  border: 4px solid #1f2729;
  color: var(--text);
  font-size: 18px;
  font-weight: 500;
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.available-row {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.available-row > span {
  font-size: 18px;
  font-weight: 500;
}

.social-proof {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.avatars {
  display: flex;
  align-items: center;
}

.avatars img {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  margin-left: -22px;
  border: 3px solid var(--bg);
  object-fit: cover;
}

.avatars img:first-child {
  margin-left: 0;
}

.avatar-more {
  width: 65px;
  height: 65px;
  margin-left: -22px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1a3a38, #0d1f1e);
  border: 3px solid var(--bg);
  display: grid;
  place-items: center;
  font-size: 18px;
  font-weight: 600;
}

.social-proof p {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
}

.social-proof p span {
  color: var(--accent);
}

.hero-visual {
  display: flex;
  justify-content: center;
  padding-right: 24px;
}

.phone-mockup {
  position: relative;
  width: min(100%, 398px);
  aspect-ratio: 1350 / 2760;
}

.hero-visual .phone-mockup {
  transform: rotate(6.5deg);
  filter: drop-shadow(0 40px 80px rgba(0, 0, 0, 0.55));
}

.phone-mockup__frame {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none;
}

.phone-mockup__screen {
  position: absolute;
  z-index: 1;
  top: 1.65%;
  left: 4.15%;
  width: 91.7%;
  height: 96.5%;
  object-fit: cover;
  object-position: top center;
  border-radius: 9.5% / 4.8%;
}

.phone-mockup--center {
  width: min(100%, 320px);
  margin: 0 auto;
  transform: none;
  filter: drop-shadow(0 32px 64px rgba(0, 0, 0, 0.5));
}

.phone-mockup--sm {
  position: absolute;
  width: 252px;
  filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.45));
}

.phone-mockup--tilt-left {
  left: 0;
  top: 20px;
  transform: rotate(-14deg);
}

.phone-mockup--tilt-right {
  left: 180px;
  top: 0;
  width: 240px;
  transform: rotate(13.5deg);
}

/* Stats */
.stats-bar {
  margin: 0 auto 80px;
  width: min(100% - 48px, var(--max));
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 28px 32px;
  border-radius: 25px;
  background: var(--bg-stats);
  border: 1px solid var(--border);
}

.stat {
  text-align: center;
}

.stat strong {
  display: block;
  font-size: 32px;
  font-weight: 500;
  margin-bottom: 4px;
}

.stat span {
  font-size: 16px;
  color: var(--text-muted);
  letter-spacing: 1px;
}

/* Section headings */
.section-eyebrow {
  margin: 0 0 12px;
  text-align: center;
  font-size: 18px;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.04em;
}

.section-title {
  margin: 0 auto 20px;
  max-width: 780px;
  text-align: center;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 500;
  line-height: 1.2;
}

.section-desc {
  margin: 0 auto 40px;
  max-width: 779px;
  text-align: center;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.53;
  color: var(--text);
}

/* How it works — YouTube embed */
.video-section {
  padding: 0 0 100px;
}

.video-frame {
  position: relative;
  width: min(100% - 48px, var(--max));
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #090e13;
  border: 2px solid var(--border-card);
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Features */
.features-section {
  padding: 0 0 100px;
}

.feature-grid {
  width: min(100% - 48px, var(--max));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 27px;
}

.feature-card {
  min-height: 293px;
  padding: 36px 32px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 2px solid var(--border-card);
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--border);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.feature-card h3 {
  margin: 0 0 16px;
  font-size: 24px;
  font-weight: 600;
  color: var(--accent);
}

.feature-card p {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-muted);
}

/* Pricing */
.pricing-section {
  padding: 0 0 100px;
}

.pricing-grid {
  width: min(100% - 48px, var(--max));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.pricing-grid--two {
  grid-template-columns: repeat(2, 1fr);
  max-width: 900px;
  align-items: stretch;
}

.pricing-grid--three {
  grid-template-columns: repeat(3, 1fr);
  max-width: var(--max);
  align-items: stretch;
}

.price-card {
  position: relative;
  padding: 36px 34px 28px;
  border-radius: 23px;
  height: 100%;
  min-height: 460px;
  display: flex;
  flex-direction: column;
  background: #090d12;
  border: 2px solid #2d4f4c;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.price-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.price-card h3 {
  margin: 0 0 8px;
  font-size: 32px;
  font-weight: 600;
  color: var(--accent-btn);
}

.price-card .price {
  margin: 0 0 24px;
  font-size: 30px;
  font-weight: 600;
}

.price-card .price small {
  font-size: 14px;
  color: #848484;
  font-weight: 500;
}

.price-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 16px;
  line-height: 2.15;
  flex: 1;
}

.price-card ul li {
  padding-left: 1.1em;
  position: relative;
}

.price-card ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 0.85em;
}

.price-card .price-cta {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 59px;
  border-radius: var(--radius-sm);
  border: 2px solid #2d4f4c;
  color: var(--accent-btn);
  font-weight: 500;
  transition: background 0.15s ease, color 0.15s ease;
}

.price-card .price-cta:hover:not(:disabled) {
  background: rgba(0, 239, 209, 0.08);
}

.price-card .price-cta--disabled,
.price-card .price-cta:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  border-color: #1e3330;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.03);
}

.price-card.is-popular .price-cta--disabled,
.price-card.is-popular .price-cta:disabled {
  background: rgba(0, 210, 170, 0.12);
  border-color: rgba(0, 210, 170, 0.25);
  color: var(--text-muted);
}

.price-billing-note {
  margin: -4px 0 8px;
  font-size: 0.85rem;
  color: var(--text-dim);
}

.pricing-launch-note {
  margin: -8px auto 36px;
  max-width: 36rem;
  text-align: center;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--accent-bright);
  letter-spacing: 0.02em;
}

.price-card.is-popular {
  border-color: #00d2aa;
  background: linear-gradient(139deg, #0b302f 0%, #05090e 41%);
  box-shadow: 0 0 22px rgba(0, 210, 170, 0.47);
}

.price-card .badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  padding: 2px 16px 4px;
  border-radius: 0 0 12px 12px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  min-height: 22px;
}

.price-card .badge--ghost {
  visibility: hidden;
  background: transparent;
}

.price-card.is-popular .badge {
  background: #00d2aa;
  color: #010407;
}

.price-card.is-popular .price-cta {
  background: var(--accent-btn);
  border-color: var(--accent-btn);
  color: #010407;
}

.price-card.is-vip {
  border-color: #724f9c;
  background: linear-gradient(220deg, #221632 0%, #070b12 43%);
}

.price-card.is-vip h3,
.price-card.is-vip .price-cta {
  color: #ab53ee;
}

/* Download CTA */
.download-section {
  padding: 0 0 100px;
}

.download-card {
  width: min(100% - 48px, 1312px);
  margin: 0 auto;
  padding: 68px 64px;
  border-radius: 51px;
  background: linear-gradient(180deg, #050c11 0%, #011111 100%);
  border: 2px solid #19bdb7;
  box-shadow: 0 0 84px rgba(25, 189, 183, 0.41);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  overflow: hidden;
}

.download-phones {
  position: relative;
  min-height: 420px;
}


.download-copy .section-eyebrow {
  text-align: left;
}

.download-copy h2 {
  margin: 0 0 20px;
  font-size: clamp(32px, 4vw, 46px);
  font-weight: 500;
  line-height: 1.22;
}

.download-copy h2 .accent {
  color: #19f1d0;
  font-weight: 700;
}

.download-copy p {
  margin: 0 0 32px;
  max-width: 360px;
  font-size: 18px;
  color: var(--text-soft);
  line-height: 1.68;
}

.store-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.store-btn {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 88px;
  min-width: 260px;
  padding: 20px 28px;
  border-radius: 20px;
  background: #041314;
  border: 2px solid #08413b;
  transition: border-color 0.15s ease;
}

.store-btn:hover {
  border-color: var(--accent);
}

.store-buttons-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.store-btn--soon {
  opacity: 0.72;
  cursor: default;
  pointer-events: none;
}

.store-btn--soon:hover {
  border-color: #08413b;
}

.store-coming-soon {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-bright);
}

.store-btn__icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: var(--text);
}

.store-btn__icon svg {
  display: block;
  width: 36px;
  height: 36px;
}

.store-btn__icon--play svg {
  width: 34px;
  height: 34px;
}

.store-btn__text {
  display: flex;
  flex-direction: column;
}

.store-btn small {
  font-size: 14px;
  margin-bottom: 2px;
  color: var(--text-soft);
}

.store-btn strong {
  font-size: 26px;
  font-weight: 500;
  line-height: 1.08;
}

/* About + contact */
.info-section {
  padding: 0 0 80px;
}

.info-grid {
  width: min(100% - 48px, var(--max));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 48px;
  align-items: start;
}

.info-block h2 {
  margin: 0 0 16px;
  font-size: 18px;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.04em;
}

.info-block p {
  margin: 0 0 16px;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-muted);
  max-width: 560px;
}

.info-block p:last-child {
  margin-bottom: 0;
}

.info-block__lead {
  font-size: 20px;
  font-weight: 500;
  color: var(--text) !important;
  font-style: italic;
  margin-bottom: 18px !important;
}

.info-block__tagline {
  margin-top: 8px !important;
  font-size: 18px;
  font-weight: 600;
  color: var(--accent) !important;
}

.info-block__note {
  font-size: 15px;
  color: var(--text-soft) !important;
}

.info-block strong {
  color: var(--text);
  font-weight: 600;
}

.contact-details {
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
  font-size: 16px;
  line-height: 1.85;
  color: var(--text-muted);
}

.contact-details a {
  color: var(--accent);
}

.contact-details a:hover {
  text-decoration: underline;
}

.info-contact-btn {
  margin-top: 8px;
  min-height: 56px;
  padding: 0 28px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
}

.info-grid .map-embed {
  grid-column: 1 / -1;
}

.text-link {
  display: inline;
  padding: 0;
  border: none;
  background: none;
  color: var(--accent);
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}

.map-embed {
  min-height: 280px;
  border-radius: 38px;
  overflow: hidden;
  background: var(--bg-card);
  border: 2px solid var(--border-card);
}

.map-embed iframe {
  display: block;
  width: 100%;
  height: 320px;
  border: 0;
}

/* Contact modal */
.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 24px;
}

.contact-modal[hidden] {
  display: none;
}

.contact-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(1, 4, 7, 0.82);
  backdrop-filter: blur(6px);
}

.contact-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 744px);
  max-height: min(92vh, 720px);
  overflow-y: auto;
  padding: 40px 42px 36px;
  border-radius: 28px;
  background: linear-gradient(180deg, #090e13 0%, #05080c 100%);
  border: 2px solid var(--border-card);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.55);
}

.contact-modal__dialog .section-eyebrow {
  text-align: left;
  margin-bottom: 8px;
}

.contact-modal__dialog h2 {
  margin: 0 0 12px;
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 500;
}

.contact-modal__desc {
  margin: 0 0 28px;
  color: var(--text-muted);
  line-height: 1.6;
}

.contact-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid var(--border-card);
  color: var(--text);
  font-size: 18px;
}

.contact-modal__close:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 16px 20px;
  border-radius: 14px;
  border: 1px solid #1f2729;
  background: #010407;
  color: var(--text);
  font: inherit;
  resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #6b7280;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.contact-form__submit {
  margin-top: 8px;
  min-height: 55px;
  border-radius: 14px;
  background: var(--accent);
  color: #010407;
  font-size: 16px;
  font-weight: 600;
}

.contact-form__submit:hover {
  filter: brightness(1.05);
}

.contact-modal__email {
  margin: 20px 0 0;
  font-size: 14px;
  color: var(--text-muted);
}

.contact-modal__email a {
  color: var(--accent);
}

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

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1.is-visible {
  transition-delay: 0.08s;
}

.reveal-delay-2.is-visible {
  transition-delay: 0.16s;
}

.hero.reveal {
  transform: translateY(20px);
}

.hero.reveal.is-visible .hero-copy {
  animation: fade-in-up 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero.reveal.is-visible .hero-visual {
  animation: fade-in-up 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.12s both;
}

@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.stats-bar .stat {
  transition: transform 0.35s ease;
}

.stats-bar.is-visible .stat:hover {
  transform: translateY(-3px);
}

.download-card {
  transition: box-shadow 0.4s ease;
}

.download-section.is-visible .download-card {
  animation: glow-pulse 4s ease-in-out infinite;
}

@keyframes glow-pulse {
  0%,
  100% {
    box-shadow: 0 0 84px rgba(25, 189, 183, 0.35);
  }
  50% {
    box-shadow: 0 0 100px rgba(25, 189, 183, 0.5);
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal.is-visible,
  .hero.reveal.is-visible .hero-copy,
  .hero.reveal.is-visible .hero-visual {
    opacity: 1;
    transform: none;
    animation: none;
    transition: none;
  }

  .online-dot {
    animation: none;
  }

  .download-section.is-visible .download-card {
    animation: none;
  }

  .price-card:hover,
  .feature-card:hover {
    transform: none;
  }
}

/* Demo video — hidden until ICU_DEMO_VIDEO_URL is set in landing.js */
#how-it-works[hidden],
.js-how-it-works-cta[hidden] {
  display: none !important;
}

/* Footer */
.site-footer {
  padding: 48px 0 64px;
  border-top: 1px solid rgba(31, 75, 72, 0.35);
}

.footer-grid {
  width: min(100% - 48px, var(--max));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-brand .brand-logo {
  font-size: 36px;
  margin-bottom: 4px;
}

.footer-brand p {
  margin: 12px 0 0;
  max-width: 272px;
  font-size: 12px;
  line-height: 1.55;
  color: #b6b6b6;
}

.footer-social {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}

.social-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.social-links--inline {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 24px;
}

.social-links__link,
.footer-social__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  transition: color 0.15s ease;
}

.social-links__link:hover,
.footer-social__link:hover {
  color: var(--accent-bright);
}

.social-links__icon,
.footer-social__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text);
  flex-shrink: 0;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.social-links__link:hover .social-links__icon,
.footer-social__link:hover .footer-social__icon {
  background: rgba(46, 237, 198, 0.12);
  border-color: rgba(46, 237, 198, 0.35);
  color: var(--accent-bright);
}

.footer-col h4 {
  margin: 0 0 16px;
  font-size: 14px;
  font-weight: 500;
}

.footer-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
  line-height: 1.82;
}

.footer-col a:hover {
  color: var(--accent);
}

/* Mobile nav drawer */
.mobile-nav {
  display: none;
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 90;
  background: rgba(1, 4, 7, 0.96);
  padding: 32px 24px;
  flex-direction: column;
  gap: 24px;
}

.mobile-nav.is-open {
  display: flex;
}

.mobile-nav a {
  font-size: 20px;
  font-weight: 500;
}

.mobile-nav a.accent-link {
  color: var(--accent);
}

/* Responsive */
@media (max-width: 1100px) {
  .hero-grid,
  .download-card,
  .info-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    order: -1;
    padding-right: 0;
  }

  .hero-visual .phone-mockup {
    transform: none;
    width: min(100%, 320px);
    margin: 0 auto;
  }

  .download-card {
    overflow: visible;
  }

  .download-copy {
    order: 1;
  }

  .download-phones {
    order: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 100%;
    min-height: 280px;
    margin: 8px auto 0;
    overflow: visible;
  }

  .download-phones .phone-mockup--sm {
    position: relative;
    left: auto;
    top: auto;
  }

  .download-phones .phone-mockup--tilt-left {
    width: min(42vw, 190px);
    transform: rotate(-12deg);
    margin-right: -32px;
    z-index: 1;
  }

  .download-phones .phone-mockup--tilt-right {
    width: min(40vw, 180px);
    transform: rotate(12deg);
    margin-left: -8px;
    z-index: 2;
  }

  .download-copy .section-eyebrow,
  .download-copy h2,
  .download-copy p {
    text-align: center;
    margin-inline: auto;
  }

  .store-buttons {
    justify-content: center;
  }

  .info-grid {
    gap: 32px;
  }

  .map-placeholder {
    min-height: 220px;
  }
}

@media (max-width: 900px) {
  .site-nav,
  .online-pill,
  .header-cta {
    display: none;
  }

  .nav-toggle {
    display: grid;
    place-items: center;
  }

  .stats-bar,
  .feature-grid,
  .pricing-grid,
  .pricing-grid--three,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

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

@media (max-width: 600px) {
  .stats-bar,
  .pricing-grid,
  .pricing-grid--two,
  .pricing-grid--three,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .contact-form__row {
    grid-template-columns: 1fr;
  }

  .contact-modal__dialog {
    padding: 32px 20px 24px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn-primary,
  .btn-outline {
    width: 100%;
  }

  .download-card {
    padding: 40px 20px;
    border-radius: 32px;
  }

  .download-phones {
    min-height: 240px;
  }

  .download-phones .phone-mockup--tilt-left {
    width: min(44vw, 160px);
    margin-right: -24px;
  }

  .download-phones .phone-mockup--tilt-right {
    width: min(42vw, 150px);
    margin-left: -4px;
  }

  .store-btn {
    width: 100%;
    min-width: 0;
  }

  .preorder-plans {
    grid-template-columns: 1fr;
  }
}

/* Pre-launch mode */
body:not(.is-prelaunch) .js-preorder-cta,
body:not(.is-prelaunch) .js-preorder-nav,
body:not(.is-prelaunch) #preorder {
  display: none !important;
}

body.is-prelaunch .js-app-cta {
  display: none !important;
}

body.is-prelaunch .js-preorder-cta {
  display: inline-flex;
}

/* Pre-order section */
.preorder-section {
  position: relative;
  padding: 72px 0 88px;
  overflow: hidden;
}

.preorder-glow {
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  pointer-events: none;
}

.preorder-glow--left {
  left: -120px;
  top: 20%;
  background: #2eedc6;
}

.preorder-glow--right {
  right: -80px;
  bottom: 0;
  background: #10fff6;
}

.preorder-inner {
  position: relative;
  z-index: 1;
}

.preorder-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1.1;
  margin: 0 0 16px;
  max-width: 18ch;
}

.preorder-desc {
  color: var(--text-muted);
  max-width: 52ch;
  margin: 0 0 28px;
  font-size: 1.05rem;
}

.preorder-countdown {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.countdown-unit {
  min-width: 76px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-card);
  background: rgba(9, 14, 19, 0.85);
  text-align: center;
}

.countdown-unit strong {
  display: block;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--accent-bright);
  font-variant-numeric: tabular-nums;
}

.countdown-unit span {
  font-size: 0.75rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.preorder-seats {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 100, 100, 0.35);
  background: rgba(255, 70, 70, 0.08);
  color: #ffb4b4;
  font-size: 0.95rem;
  margin-bottom: 32px;
}

.preorder-seats__pulse {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ff5c5c;
  box-shadow: 0 0 0 0 rgba(255, 92, 92, 0.6);
  animation: seats-pulse 1.8s ease-out infinite;
}

@keyframes seats-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 92, 92, 0.55);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(255, 92, 92, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 92, 92, 0);
  }
}

.preorder-plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 24px;
}

@media (max-width: 1024px) {
  .preorder-plans {
    grid-template-columns: 1fr;
  }
}

.preorder-plan-card {
  position: relative;
  padding: 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-card);
  background: var(--bg-card);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.preorder-plan-card.is-featured {
  border-color: #00d2aa;
  box-shadow: 0 0 28px rgba(0, 210, 170, 0.25);
}

.preorder-plan-card h3 {
  margin: 0;
  font-size: 1.2rem;
}

.preorder-plan-price {
  margin: 0;
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent-bright);
}

.preorder-plan-price small {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
}

.preorder-plan-tier {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-bright);
}

.preorder-plan-note {
  margin: 0;
  color: var(--text-dim);
  font-size: 0.9rem;
}

.preorder-plan-breakdown {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.preorder-plan-breakdown span {
  color: var(--accent-bright);
  font-weight: 600;
}

.preorder-plan-card--entry {
  border-color: rgba(255, 255, 255, 0.12);
}


.price-addon {
  margin: -8px 0 12px;
  font-size: 0.85rem;
  color: var(--text-dim);
}

.preorder-plan-features {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.preorder-plan-features__label {
  margin: 0 0 8px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.preorder-plan-features__label--bonus {
  margin-top: 14px;
  color: var(--accent-bright);
}

.preorder-plan-card ul {
  margin: 0 0 4px;
  padding-left: 1.1rem;
  color: var(--text-soft);
}

.preorder-plan-features ul:last-child {
  margin-bottom: 0;
}

.preorder-plan-card .btn-primary,
.preorder-plan-card .btn-outline {
  width: 100%;
  margin-top: 8px;
  min-height: 59px;
  padding: 0 20px;
  font-size: 1rem;
  font-weight: 600;
  box-sizing: border-box;
}

.preorder-plan-card .btn-outline {
  border-width: 2px;
}

.preorder-notice {
  padding: 18px 20px;
  border-radius: var(--radius-md);
  margin-bottom: 16px;
}

.preorder-notice strong {
  display: block;
  margin-bottom: 6px;
}

.preorder-notice p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.5;
}

.preorder-notice--success {
  border: 1px solid rgba(46, 237, 198, 0.45);
  background: rgba(46, 237, 198, 0.1);
}

.preorder-notice--success strong {
  color: var(--accent-bright);
}

.preorder-notice--warn {
  border: 1px solid rgba(255, 180, 80, 0.45);
  background: rgba(255, 160, 60, 0.1);
}

.preorder-notice--warn strong {
  color: #ffc98a;
}

.preorder-notice--info {
  border: 1px solid rgba(100, 160, 255, 0.4);
  background: rgba(80, 130, 255, 0.08);
}

.preorder-notice--info strong {
  color: #9ec5ff;
}

.preorder-signed-in[hidden] {
  display: none !important;
}

.preorder-signed-in:not([hidden]) {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.btn-sm {
  min-height: 36px;
  padding: 0 14px;
  font-size: 0.85rem;
}

/* Pre-order modal */
.preorder-modal[hidden] {
  display: none;
}

.preorder-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 24px;
}

.preorder-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
}

.preorder-modal__dialog {
  position: relative;
  width: min(100%, 480px);
  max-height: min(92vh, 720px);
  overflow: auto;
  padding: 36px 28px 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-card);
  background: #060b10;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
}

.preorder-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.06);
}

.preorder-modal__desc {
  color: var(--text-muted);
  margin: 0 0 20px;
  line-height: 1.55;
}

.preorder-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.preorder-form label span,
.preorder-plan-pick legend {
  display: block;
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.preorder-form input[type="email"],
.preorder-form input[type="password"] {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border-card);
  background: #010407;
  color: var(--text);
}

.preorder-plan-pick {
  border: none;
  margin: 0;
  padding: 0;
}

.preorder-plan-pick[hidden] {
  display: none !important;
}

.preorder-form label[hidden] {
  display: none !important;
}

.preorder-plan-option {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid var(--border-card);
  margin-bottom: 10px;
  cursor: pointer;
}

.preorder-plan-option:has(input:checked) {
  border-color: var(--accent);
  background: rgba(46, 237, 198, 0.06);
}

.preorder-plan-option strong {
  display: block;
  margin-bottom: 4px;
}

.preorder-plan-option small {
  color: var(--text-dim);
}

.preorder-form__error {
  color: #f87171;
  font-size: 0.9rem;
  margin: 0;
}

.preorder-form__submit {
  position: relative;
  width: 100%;
  margin-top: 4px;
  min-height: 52px;
}

.preorder-form__submit.is-loading {
  color: transparent;
  pointer-events: none;
}

.preorder-form__submit.is-loading::after {
  content: "";
  position: absolute;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid rgba(1, 4, 7, 0.2);
  border-top-color: #010407;
  animation: checkout-wait-spin 0.75s linear infinite;
}

@media (prefers-reduced-motion: reduce) {
  .preorder-form__submit.is-loading::after {
    animation: none;
    border-top-color: #010407;
  }
}

.preorder-modal__foot {
  margin: 16px 0 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.link-btn {
  color: var(--accent-bright);
  text-decoration: underline;
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  cursor: pointer;
}

/* Checkout wait overlay */
body.is-checkout-waiting {
  overflow: hidden;
  pointer-events: none;
  touch-action: none;
}

body.is-checkout-waiting .preorder-modal,
body.is-checkout-waiting .contact-modal {
  display: none !important;
}

body.is-checkout-waiting .checkout-wait-modal {
  pointer-events: auto;
}

.checkout-wait-modal[hidden] {
  display: none;
}

.checkout-wait-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 24px;
}

.checkout-wait-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(1, 4, 7, 0.72);
  backdrop-filter: blur(4px);
}

.checkout-wait-modal__card {
  position: relative;
  z-index: 1;
  min-width: min(100%, 280px);
  padding: 28px 32px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(46, 237, 198, 0.4);
  background: #060b10;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  text-align: center;
}

.checkout-wait-modal__spinner {
  width: 40px;
  height: 40px;
  margin: 0 auto 16px;
  border-radius: 50%;
  border: 3px solid rgba(46, 237, 198, 0.2);
  border-top-color: var(--accent-bright);
  animation: checkout-wait-spin 0.75s linear infinite;
}

@keyframes checkout-wait-spin {
  to {
    transform: rotate(360deg);
  }
}

.checkout-wait-modal__card p {
  margin: 0 0 6px;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
}

.checkout-wait-modal__sub {
  font-size: 0.9rem;
  color: var(--text-muted);
}

@media (prefers-reduced-motion: reduce) {
  .checkout-wait-modal__spinner {
    animation: none;
    border-top-color: var(--accent);
  }
}

/* Pre-order secured — header CTA label */
body.is-preorder-secured .header-cta.js-preorder-cta {
  font-size: 12px;
  padding: 0 14px;
  opacity: 0.95;
  cursor: default;
}

body.is-preorder-secured .js-preorder-cta:disabled,
body.is-preorder-secured .js-open-preorder:disabled {
  opacity: 0.85;
  cursor: default;
  pointer-events: none;
}

/* Celebration modal (return from Stripe) */
.celebration-modal[hidden] {
  display: none;
}

.celebration-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  padding: 24px;
  overflow: hidden;
}

.celebration-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(1, 4, 7, 0.82);
  backdrop-filter: blur(6px);
}

.celebration-modal__scene {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.celebration-particle {
  position: absolute;
  top: -10%;
  font-size: clamp(1.25rem, 3vw, 2rem);
  opacity: 0.9;
  animation: celebration-fall linear forwards;
  will-change: transform;
}

@keyframes celebration-fall {
  0% {
    transform: translateY(-10vh) rotate(0deg) scale(0.8);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  100% {
    transform: translateY(110vh) rotate(720deg) scale(1.1);
    opacity: 0.35;
  }
}

.celebration-modal__card {
  position: relative;
  z-index: 2;
  width: min(100%, 420px);
  padding: 36px 28px 32px;
  border-radius: var(--radius-lg);
  border: 2px solid rgba(46, 237, 198, 0.45);
  background: linear-gradient(160deg, #0a1f1e 0%, #061210 45%, #020508 100%);
  box-shadow:
    0 0 60px rgba(46, 237, 198, 0.2),
    0 24px 80px rgba(0, 0, 0, 0.55);
  text-align: center;
  animation: celebration-pop 0.55s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes celebration-pop {
  0% {
    opacity: 0;
    transform: scale(0.85) translateY(20px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.celebration-modal__confetti-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background: linear-gradient(
    90deg,
    #2eedc6,
    #10fff6,
    #ff6b9d,
    #ffd166,
    #2eedc6
  );
  background-size: 200% 100%;
  animation: celebration-shimmer 1.2s linear infinite;
}

@keyframes celebration-shimmer {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 200% 50%;
  }
}

.celebration-modal__eyebrow {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--accent);
}

.celebration-modal__card h2 {
  margin: 0 0 12px;
  font-size: 2rem;
  font-weight: 900;
  color: var(--text);
}

.celebration-modal__message {
  margin: 0 0 20px;
  color: var(--text-muted);
  line-height: 1.55;
  font-size: 1rem;
}

.celebration-modal__icons {
  display: flex;
  justify-content: center;
  gap: 12px;
  font-size: 1.75rem;
  animation: celebration-bounce 1s ease-in-out infinite alternate;
}

@keyframes celebration-bounce {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-6px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .celebration-modal__card,
  .celebration-particle,
  .celebration-modal__icons,
  .celebration-modal__confetti-bar {
    animation: none;
  }
}
