:root {
  --bg: #060b18;
  --bg-deep: #02040d;
  --text: #f6f7fb;
  --muted: #a8b1c6;
  --border: rgba(255, 255, 255, 0.12);
  --surface: rgba(10, 16, 32, 0.42);
  --button-bg: #d8dee7;
  --button-text: #0a1020;
  --button-muted: rgba(255, 255, 255, 0.15);
  --site-header-height: 64px;
  --hero-frame-width: min(980px, calc(min(1120px, 92vw) * 0.92));
  --header-outside-gap: clamp(0.9rem, 1.9vw, 1.6rem);
  --header-brand-safe-width: 7.2rem;
  --header-cta-safe-width: 7.4rem;
  --font-sans: "Sora", "Avenir Next", "Segoe UI", sans-serif;
  --font-serif: "Cormorant Garamond", "Times New Roman", serif;
}

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

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: var(--font-sans);
  background: #101823;
  position: relative;
  overflow-x: hidden;
}

body::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 122vh;
  background:
    radial-gradient(94% 58% at 50% -6%, rgba(5, 9, 17, 0.96) 0%, transparent 84%),
    radial-gradient(
      125% 72% at 50% 114%,
      rgba(255, 247, 237, 0.98) 0%,
      rgba(255, 226, 203, 0.78) 13%,
      rgba(248, 128, 90, 0.48) 24%,
      rgba(53, 72, 101, 0.2) 41%,
      rgba(6, 10, 19, 0) 58%
    ),
    linear-gradient(
      57deg,
      rgba(243, 120, 85, 0) 34%,
      rgba(243, 120, 85, 0.5) 50%,
      rgba(243, 120, 85, 0.12) 65%,
      rgba(243, 120, 85, 0) 78%
    ),
    linear-gradient(
      123deg,
      rgba(107, 192, 231, 0) 30%,
      rgba(107, 192, 231, 0.44) 47%,
      rgba(107, 192, 231, 0.11) 62%,
      rgba(107, 192, 231, 0) 76%
    ),
    linear-gradient(
      90deg,
      rgba(235, 245, 255, 0) 33%,
      rgba(235, 245, 255, 0.29) 49%,
      rgba(235, 245, 255, 0.08) 63%,
      rgba(235, 245, 255, 0) 78%
    ),
    radial-gradient(65% 52% at 17% 78%, rgba(165, 179, 201, 0.33) 0%, transparent 72%),
    radial-gradient(61% 52% at 82% 78%, rgba(70, 148, 192, 0.28) 0%, transparent 74%),
    linear-gradient(180deg, #060a13 0%, #040915 38%, #02050f 100%);
  -webkit-mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 1) 74%,
    rgba(0, 0, 0, 0.68) 88%,
    rgba(0, 0, 0, 0) 100%
  );
  mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 1) 74%,
    rgba(0, 0, 0, 0.68) 88%,
    rgba(0, 0, 0, 0) 100%
  );
  pointer-events: none;
  z-index: -3;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 280px 280px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.62), transparent 85%);
  pointer-events: none;
  z-index: -2;
}

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

main section[id] {
  scroll-margin-top: calc(var(--site-header-height) + 1.2rem);
}

#status {
  scroll-margin-top: calc(var(--site-header-height) + 2.1rem);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  padding: 1.1rem 0;
  background: transparent;
  backdrop-filter: blur(0);
  border-bottom: 1px solid transparent;
  transition: background-color 220ms ease, backdrop-filter 220ms ease, border-color 220ms ease;
}

.site-header .container {
  width: min(1360px, 98vw);
}

.site-header.is-solid {
  background-color: rgba(6, 10, 19, 0.86);
  backdrop-filter: blur(6px);
  border-bottom-color: rgba(120, 140, 174, 0.2);
}

.site-nav {
  position: relative;
  display: grid;
  grid-template-columns: minmax(max-content, 1fr) minmax(0, var(--hero-frame-width)) minmax(max-content, 1fr);
  align-items: center;
  column-gap: clamp(0.8rem, 2vw, 1.4rem);
}

.brand {
  display: inline-flex;
  grid-column: 1;
  justify-self: end;
  align-items: center;
  gap: 0.46rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 1rem;
}

.brand-logo {
  width: 1.3rem;
  height: 1.3rem;
  display: block;
  flex: 0 0 auto;
}

.primary-nav {
  grid-column: 2;
  width: 100%;
  display: flex;
  gap: 1.55rem;
  align-items: center;
  justify-content: center;
  margin-inline: 0;
}

.mobile-nav-cta {
  display: none;
}

.primary-nav a {
  color: rgba(246, 247, 251, 0.78);
  text-decoration: none;
  font-size: 0.87rem;
  letter-spacing: 0.01em;
  transition: color 200ms ease;
}

.primary-nav a:hover {
  color: #fff;
}

.nav-toggle {
  display: none;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.04);
  width: 2.4rem;
  height: 2.4rem;
  padding: 0.55rem;
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.92);
  transition: transform 200ms ease, opacity 200ms ease;
}

.nav-toggle-bar + .nav-toggle-bar {
  margin-top: 0.35rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 200ms ease, background-color 200ms ease, border-color 200ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.nav-cta {
  grid-column: 3;
  justify-self: start;
  background: #5ac1fe;
  border-color: #5ac1fe;
  color: #04172b;
  font-size: 0.84rem;
  padding: 0.6rem 1rem;
  border-radius: 2px;
}

@media (min-width: 941px) {
  .site-nav {
    grid-template-columns: minmax(0, 1fr) minmax(0, var(--hero-frame-width)) minmax(0, 1fr);
  }
}

@media (min-width: 941px) and (max-width: 1359px) {
  .site-header .container {
    width: calc(var(--hero-frame-width) - 2.4rem);
    padding-inline: 0;
  }

  .site-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-inline: 0;
    padding-block: 0.12rem;
  }

  .brand {
    justify-self: auto;
  }

  .primary-nav {
    flex: 1;
    width: auto;
    justify-content: center;
    margin-inline: clamp(0.75rem, 1.8vw, 1.4rem);
  }

  .nav-cta {
    justify-self: auto;
    margin-left: auto;
  }
}

@media (min-width: 1360px) {
  .site-nav {
    padding-inline: 0;
    padding-block: 0.12rem;
  }

  .brand {
    position: absolute;
    top: 50%;
    right: max(
      var(--header-brand-safe-width),
      calc(50% + (var(--hero-frame-width) / 2) + var(--header-outside-gap))
    );
    transform: translateY(-50%);
    margin-right: 0;
    z-index: 2;
  }

}

.hero {
  position: relative;
  z-index: 4;
  min-height: 0;
  display: flex;
  align-items: flex-start;
  padding: clamp(3.4rem, 8.6vh, 6.4rem) 0 0;
}

.hero-stage {
  width: 100%;
  position: relative;
  display: grid;
  place-items: center;
}

.hero-frame {
  position: relative;
  z-index: 1;
  overflow: visible;
  width: var(--hero-frame-width);
  text-align: center;
  border: 1px solid var(--border);
  border-radius: 0;
  background: linear-gradient(180deg, rgba(15, 21, 37, 0.56), rgba(3, 8, 19, 0.32));
  backdrop-filter: blur(2px);
  padding: clamp(1.45rem, 4.2vw, 3.1rem) clamp(1.6rem, 5vw, 4.8rem);
  box-shadow:
    inset 0 0 100px rgba(255, 255, 255, 0.02),
    0 40px 80px rgba(0, 0, 0, 0.35);
}

.hero-frame::before,
.hero-frame::after {
  content: "";
  position: absolute;
  top: -200vh;
  width: 1px;
  height: 200vh;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.04) 0%,
    rgba(255, 255, 255, 0.13) 100%
  );
  pointer-events: none;
}

.hero-frame::before {
  left: -1px;
}

.hero-frame::after {
  right: -1px;
}

.frame-guide {
  position: absolute;
  top: 100%;
  width: 1px;
  height: var(--hero-bottom-guide, 0px);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.13) 0%,
    rgba(255, 255, 255, 0.04) 100%
  );
  pointer-events: none;
}

.frame-guide-bottom-left {
  left: -1px;
}

.frame-guide-bottom-right {
  right: -1px;
}

.frame-node {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 1px;
  background: rgba(255, 255, 255, 0.95);
  pointer-events: none;
  z-index: 5;
}

.frame-node-tl {
  top: -4px;
  left: -4px;
}

.frame-node-tr {
  top: -4px;
  right: -4px;
}

.frame-node-bl {
  bottom: -4px;
  left: -4px;
}

.frame-node-br {
  bottom: -4px;
  right: -4px;
}

.hero h1 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(2.3rem, 7.4vw, 5.2rem);
  line-height: 0.93;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.hero-sub {
  max-width: 56ch;
  padding-inline: 0.65rem;
  margin: 1.05rem auto 0.2rem;
  color: var(--muted);
  font-size: clamp(0.97rem, 1.8vw, 1.12rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 1.25rem;
}

.button.primary {
  color: #04172b;
  background: #5ac1fe;
  border-color: #5ac1fe;
  border-radius: 2px;
  padding: 0.78rem 1.45rem;
  font-size: 0.94rem;
}

.button.secondary {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.28);
  background: var(--button-muted);
  border-radius: 2px;
  padding: 0.78rem 1.2rem;
  font-size: 0.94rem;
}

.hero-proof {
  margin: 0.95rem 0 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.91rem;
}

.post-hero {
  position: relative;
  background: transparent;
}

.below-fold {
  position: relative;
  padding: 0;
}

.feature-strip {
  position: relative;
  z-index: 1;
  overflow: visible;
  width: var(--hero-frame-width);
  margin-inline: auto;
  padding: 0;
}

.features {
  position: relative;
  z-index: 3;
  overflow: visible;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
}

.feature {
  border: 1px solid rgba(120, 140, 174, 0.28);
  background: rgba(16, 24, 38, 0.38);
  border-radius: 0;
  padding: 0.9rem 0.95rem;
  backdrop-filter: blur(2px);
}

.feature + .feature {
  border-left: 0;
}

.feature h3 {
  margin: 0;
  font-size: 1rem;
  letter-spacing: 0.01em;
  color: #dde7fb;
}

.feature p {
  margin: 0.65rem 0 0;
  color: #9dacc7;
  line-height: 1.55;
  font-size: 0.92rem;
}

.app-shot-section {
  padding: 0 0 3.6rem;
}

.app-shot-shell {
  width: var(--hero-frame-width);
  margin-inline: auto;
}

.app-shot-frame {
  position: relative;
  z-index: 1;
  overflow: visible;
  aspect-ratio: 1818 / 867;
  border: 1px solid rgba(120, 140, 174, 0.28);
  background:
    linear-gradient(180deg, rgba(16, 24, 38, 0.7), rgba(9, 14, 25, 0.56)),
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.02) 0 1px,
      transparent 1px 32px
    );
  display: block;
  backdrop-filter: blur(2px);
}

.app-shot-image {
  display: block;
  width: 100%;
  height: auto;
}

.app-shot-trigger {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  padding: 0;
  margin: 0;
  background: transparent;
  cursor: zoom-in;
}

.app-shot-trigger-hint {
  position: absolute;
  right: 0.85rem;
  bottom: 0.8rem;
  color: rgba(234, 242, 255, 0.95);
  background: rgba(5, 10, 20, 0.7);
  border: 1px solid rgba(156, 176, 205, 0.4);
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.35rem 0.46rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(0.18rem);
  pointer-events: none;
  transition:
    opacity 180ms ease 0ms,
    transform 180ms ease 0ms,
    visibility 0ms linear 180ms;
}

.app-shot-trigger:hover .app-shot-trigger-hint,
.app-shot-trigger:focus-visible .app-shot-trigger-hint {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition-delay: 500ms, 500ms, 500ms;
}

.app-shot-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1600;
  display: grid;
  place-items: center;
  padding: clamp(0.9rem, 3vw, 2rem);
  background:
    radial-gradient(circle at 50% 20%, rgba(90, 193, 254, 0.14), transparent 56%),
    rgba(2, 5, 12, 0.86);
}

.app-shot-lightbox[hidden] {
  display: none;
}

.app-shot-lightbox-panel {
  position: relative;
  width: min(1700px, 100%);
  border: 1px solid rgba(130, 150, 182, 0.45);
  border-radius: 6px;
  background: rgba(10, 16, 29, 0.88);
  box-shadow: 0 45px 80px rgba(0, 0, 0, 0.55);
  overflow: hidden;
  padding: 0;
}

.app-shot-lightbox-image {
  display: block;
  width: 100%;
  height: auto;
  max-height: calc(100vh - 2.2rem);
  object-fit: contain;
  margin-inline: auto;
}

.content-section {
  position: relative;
  padding: 4.2rem 0;
}

#why.content-section,
#status.content-section,
#pricing.content-section {
  padding: 2.9rem 0;
}

.section-shell {
  width: min(980px, 100%);
}

@media (min-width: 621px) {
  #why .section-shell-box,
  #status .section-shell-box,
  #pricing .section-shell,
  .footer-cta-shell {
    width: var(--hero-frame-width);
    margin-inline: auto;
  }

  #pricing .section-shell {
    padding-inline: 0;
  }
}

.section-shell-box {
  position: relative;
  z-index: 1;
  overflow: visible;
  border: 1px solid rgba(120, 140, 174, 0.28);
  background: rgba(16, 24, 38, 0.48);
  backdrop-filter: blur(2px);
  padding-top: clamp(1.15rem, 2.2vw, 1.5rem);
  padding-right: clamp(1rem, 2.6vw, 1.7rem);
  padding-bottom: clamp(1.2rem, 2.2vw, 1.55rem);
  padding-left: clamp(1.35rem, 3.4vw, 2.25rem);
}

.section-heading {
  max-width: 56rem;
}

.section-kicker {
  margin: 0;
  color: #79d0ff;
  font-size: 0.79rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  font-weight: 700;
}

.section-heading h2 {
  margin: 0.7rem 0 0;
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 4.5vw, 2.9rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.section-lead {
  max-width: 74ch;
  margin: 1.3rem 0 0;
  color: #b9c7de;
  line-height: 1.75;
  font-size: 1rem;
}

.status-progress-label {
  margin: 1.3rem 0 0;
  color: #9fb1d1;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.status-progress-value {
  margin: 0.32rem 0 0;
  color: #e2ebfb;
  font-size: clamp(1.55rem, 3.6vw, 2.2rem);
  line-height: 1.08;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.status-progress-bar {
  margin-top: 0.72rem;
  width: min(560px, 100%);
  height: 0.72rem;
  border: 1px solid rgba(120, 140, 174, 0.35);
  background: rgba(10, 16, 32, 0.6);
  overflow: hidden;
}

.status-progress-bar-fill {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, #5ac1fe 0%, #88d8ff 100%);
  box-shadow: 0 0 20px rgba(90, 193, 254, 0.3);
  transition: width 320ms ease;
}

.status-note {
  margin-top: 0.85rem;
}

.pricing-grid {
  position: relative;
  z-index: 3;
  overflow: visible;
  margin-top: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
}

.pricing-grid-header {
  grid-column: 1 / -1;
  border: 1px solid rgba(120, 140, 174, 0.28);
  background: rgba(16, 24, 38, 0.48);
  backdrop-filter: blur(2px);
  padding-top: clamp(1.15rem, 2.2vw, 1.5rem);
  padding-right: clamp(1rem, 2.6vw, 1.7rem);
  padding-bottom: clamp(1.2rem, 2.2vw, 1.55rem);
  padding-left: clamp(1.35rem, 3.4vw, 2.25rem);
}

.pricing-card {
  border: 1px solid rgba(120, 140, 174, 0.28);
  background: rgba(16, 24, 38, 0.52);
  padding: clamp(1.15rem, 2.2vw, 1.5rem);
  border-top: 0;
}

.pricing-card-pro {
  position: relative;
  background: rgba(15, 25, 40, 0.62);
}

.pricing-card-pro::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(90, 193, 254, 0.55);
  pointer-events: none;
  z-index: 1;
}

.pricing-card + .pricing-card {
  border-left: 0;
}

.pricing-badge {
  margin: 0 0 0.52rem;
  color: #5ac1fe;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.pricing-card h3 {
  margin: 0;
  font-size: 1.22rem;
  color: #eef4ff;
}

.pricing-price {
  margin: 0.44rem 0 0;
  color: #e5efff;
  font-size: clamp(1.4rem, 3.4vw, 2rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  font-weight: 680;
}

.pricing-copy {
  margin: 0.72rem 0 0;
  color: #aebdd7;
  line-height: 1.6;
  font-size: 0.95rem;
}

.pricing-list {
  margin: 0.95rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.52rem;
}

.pricing-list li {
  position: relative;
  padding-left: 1rem;
  color: #c8d5eb;
  line-height: 1.5;
  font-size: 0.93rem;
}

.pricing-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.52rem;
  width: 0.35rem;
  height: 0.35rem;
  background: #5ac1fe;
  border-radius: 1px;
}

.waitlist-signup {
  margin-top: 1.1rem;
  border-top: 1px solid rgba(120, 140, 174, 0.28);
  padding-top: 0.95rem;
}

.waitlist-title {
  margin: 0;
  color: #dce7fa;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}

.waitlist-form {
  margin-top: 0.62rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.5rem;
  align-items: start;
}

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

.waitlist-input {
  width: 100%;
  min-width: 0;
  height: 2.45rem;
  border: 1px solid rgba(120, 140, 174, 0.4);
  background: rgba(8, 13, 24, 0.62);
  color: #eef4ff;
  font: inherit;
  padding: 0 0.78rem;
}

.waitlist-input::placeholder {
  color: #8ea0bf;
}

.waitlist-input:focus-visible {
  outline: 1px solid #5ac1fe;
  outline-offset: 1px;
}

.waitlist-submit {
  height: 2.45rem;
  padding: 0 1rem;
  white-space: nowrap;
}

.waitlist-submit:disabled {
  opacity: 0.72;
  cursor: progress;
}

.waitlist-feedback {
  grid-column: 1 / -1;
  margin: 0.1rem 0 0;
  min-height: 1.2rem;
  color: #9fb1d1;
  font-size: 0.84rem;
  line-height: 1.4;
}

.waitlist-feedback.is-success {
  color: #8ee6b5;
}

.waitlist-feedback.is-error {
  color: #ff9ca3;
}

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

.card-grid-tight {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.info-card {
  border: 1px solid rgba(120, 140, 174, 0.28);
  background: rgba(16, 24, 38, 0.7);
  padding: 1.1rem 1.05rem;
  min-height: 100%;
}

.info-card h3 {
  margin: 0;
  font-size: 1rem;
  letter-spacing: 0.01em;
  color: #dde7fb;
}

.info-card p {
  margin: 0.65rem 0 0;
  color: #a8b8d3;
  line-height: 1.6;
  font-size: 0.93rem;
}

.footer-cta {
  padding: 2.9rem 0 3.1rem;
  background: transparent;
}

.footer-cta-shell {
  position: relative;
  z-index: 1;
  overflow: visible;
  width: var(--hero-frame-width);
  margin-inline: auto;
  border: 1px solid rgba(120, 140, 174, 0.28);
  background:
    linear-gradient(rgba(16, 24, 38, 0.52), rgba(16, 24, 38, 0.52)),
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: auto, 30px 30px, 30px 30px;
  backdrop-filter: blur(2px);
  text-align: center;
  padding: clamp(1.5rem, 4vw, 2.4rem);
}

.footer-cta h2 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(1.7rem, 4.4vw, 2.4rem);
  line-height: 1.08;
}

.footer-cta p {
  margin: 0.95rem auto 1.5rem;
  max-width: 55ch;
  color: #b1c0d9;
  line-height: 1.65;
}

.footer-cta-actions {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.site-footer {
  background: #05080f;
  border-top: 1px solid rgba(120, 140, 174, 0.3);
  padding: 4rem 0;
  color: #fff;
}

.site-footer-shell {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

.site-footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 3rem;
}

.site-footer-brand-block {
  max-width: 22rem;
}

.site-footer-brand-home {
  display: inline-flex;
  color: #f4f4f5;
  text-decoration: none;
  line-height: 0;
  margin-bottom: 1rem;
}

.site-footer-brand-logo-svg {
  width: 100px;
  height: 36px;
  display: block;
}

.site-footer-brand-logo-svg .ae-logo-accent {
  color: hsl(4 70% 58%);
}

.site-footer-description {
  margin: 0 0 0.9rem;
  color: #a1a1aa;
  line-height: 1.6;
  font-size: 0.875rem;
}

.site-footer-copyright {
  margin: 0;
  color: #71717a;
  font-size: 0.75rem;
  line-height: 1.55;
}

.site-footer-links-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(8rem, 1fr));
  gap: 1.6rem clamp(1.2rem, 3vw, 3rem);
}

.site-footer-column h3 {
  margin: 0 0 1rem;
  color: #d4d4d8;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer-column ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.site-footer-column a {
  color: #a1a1aa;
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 180ms ease;
}

.site-footer-column a:hover {
  color: #5ac1fe;
}

.site-footer-bottom {
  border-top: 1px solid rgba(120, 140, 174, 0.24);
  padding-top: 1rem;
}

.site-footer-bottom p {
  margin: 0;
  color: #a1a1aa;
  font-size: 0.875rem;
}

.site-footer-link {
  color: #5ac1fe;
  text-decoration: none;
}

.site-footer-link:hover {
  text-decoration: underline;
}

@media (max-width: 940px) {
  .site-header .container {
    width: calc(var(--hero-frame-width) - 2.4rem);
    padding-inline: 0;
  }

  .site-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-inline: 0;
    padding-block: 0.12rem;
  }

  .hero-stage {
    padding-inline: clamp(0.5rem, 1.8vw, 0.9rem);
  }

  .section-shell {
    padding-inline: clamp(0.5rem, 1.8vw, 0.9rem);
  }

  .section-shell-box {
    padding-left: clamp(1rem, 3vw, 1.4rem);
    padding-right: clamp(0.9rem, 2.5vw, 1.2rem);
  }

  .nav-cta {
    display: none;
  }

  .nav-toggle {
    display: inline-block;
    margin-left: auto;
  }

  .primary-nav {
    position: absolute;
    top: calc(100% + 0.55rem);
    right: 0;
    width: min(18rem, 80vw);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
    padding: 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(7, 12, 24, 0.94);
    backdrop-filter: blur(5px);
    opacity: 0;
    transform: translateY(-0.45rem);
    pointer-events: none;
    transition: opacity 220ms ease, transform 220ms ease;
    z-index: 12;
  }

  .site-nav.is-open .primary-nav {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .primary-nav a {
    font-size: 0.92rem;
    padding: 0.24rem 0;
  }

  .mobile-nav-cta {
    display: inline-flex;
    margin-top: 0.35rem;
    padding: 0.64rem 0.9rem;
    justify-content: center;
    color: var(--button-text);
    background: var(--button-bg);
    border-radius: 2px;
  }

  .site-nav.is-open .nav-toggle-bar:nth-child(1) {
    transform: translateY(0.43rem) rotate(45deg);
  }

  .site-nav.is-open .nav-toggle-bar:nth-child(2) {
    opacity: 0;
  }

  .site-nav.is-open .nav-toggle-bar:nth-child(3) {
    transform: translateY(-0.43rem) rotate(-45deg);
  }

  .card-grid,
  .card-grid-tight {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .pricing-grid-header {
    padding-left: clamp(1rem, 3vw, 1.4rem);
    padding-right: clamp(0.9rem, 2.5vw, 1.2rem);
  }

  .pricing-card + .pricing-card {
    border-left: 1px solid rgba(120, 140, 174, 0.28);
    border-top: 0;
  }

  .site-footer-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
  }

  .site-footer-links-grid {
    width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

}

@media (max-width: 620px) {
  .site-header .container {
    width: calc(min(1120px, 92vw) - 2.8rem);
  }

  .site-nav {
    padding-inline: 0;
    padding-block: 0.2rem;
  }

  body::after {
    background:
      radial-gradient(112% 74% at 50% -8%, rgba(5, 9, 17, 0.96) 0%, transparent 88%),
      radial-gradient(
        162% 110% at 50% 130%,
        rgba(255, 247, 237, 0.98) 0%,
        rgba(255, 226, 203, 0.78) 18%,
        rgba(248, 128, 90, 0.48) 32%,
        rgba(53, 72, 101, 0.2) 52%,
        rgba(6, 10, 19, 0) 72%
      ),
      linear-gradient(
        57deg,
        rgba(243, 120, 85, 0) 30%,
        rgba(243, 120, 85, 0.5) 48%,
        rgba(243, 120, 85, 0.12) 66%,
        rgba(243, 120, 85, 0) 84%
      ),
      linear-gradient(
        123deg,
        rgba(107, 192, 231, 0) 28%,
        rgba(107, 192, 231, 0.44) 46%,
        rgba(107, 192, 231, 0.11) 64%,
        rgba(107, 192, 231, 0) 82%
      ),
      linear-gradient(
        90deg,
        rgba(235, 245, 255, 0) 30%,
        rgba(235, 245, 255, 0.29) 50%,
        rgba(235, 245, 255, 0.08) 66%,
        rgba(235, 245, 255, 0) 84%
      ),
      radial-gradient(82% 66% at 15% 80%, rgba(165, 179, 201, 0.33) 0%, transparent 80%),
      radial-gradient(78% 66% at 84% 80%, rgba(70, 148, 192, 0.28) 0%, transparent 82%),
      linear-gradient(180deg, #060a13 0%, #040915 38%, #02050f 100%);
  }

  .hero {
    padding-top: 2.6rem;
  }

  .hero-stage {
    padding-inline: clamp(0.7rem, 4vw, 1rem);
  }

  .hero-frame {
    width: 100%;
    max-width: 100%;
    margin-inline: auto;
    padding-inline: 0.9rem;
  }

  .feature-strip,
  .app-shot-shell {
    width: 100%;
    max-width: 100%;
  }

  .feature-strip,
  .app-shot-shell,
  #why .section-shell-box,
  #status .section-shell-box,
  .footer-cta-shell {
    width: auto;
    max-width: none;
    margin-inline: clamp(0.7rem, 4vw, 1rem);
  }

  .section-shell {
    padding-inline: clamp(0.7rem, 4vw, 1rem);
  }

  .section-shell-box {
    padding: 0.95rem 0.88rem 1.05rem 0.95rem;
  }

  .section-heading h2 {
    line-height: 1.12;
  }

  .card-grid,
  .card-grid-tight {
    grid-template-columns: 1fr;
  }

  .pricing-card {
    padding: 1rem;
  }

  .pricing-grid-header {
    padding: 0.95rem 0.88rem 1.05rem 0.95rem;
  }

  .waitlist-form {
    grid-template-columns: 1fr;
  }

  .waitlist-submit {
    width: 100%;
  }

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

  .feature p {
    display: none;
  }

  .feature + .feature {
    border-left: 0;
    border-top: 0;
  }

  .app-shot-section {
    padding-bottom: 2.8rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    max-width: 16rem;
    margin-inline: auto;
    margin-top: 1.4rem;
  }

  .nav-cta {
    font-size: 0.8rem;
    padding: 0.55rem 0.84rem;
  }

  .footer-cta {
    padding-top: 3.2rem;
  }

  .footer-cta-actions {
    flex-direction: column;
    align-items: stretch;
    width: min(16rem, 100%);
    margin-inline: auto;
  }

  .site-footer-links-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .site-footer {
    padding: 3rem 0;
  }
}

@media (max-width: 639px) {
  #resources {
    display: none;
  }
}

/* Cookie Consent */
#cookie-consent-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 50% 30%, rgba(90, 193, 254, 0.1), transparent 56%),
    rgba(2, 4, 13, 0.78);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

#cookie-consent-overlay[hidden] {
  display: none;
}

.cookie-banner {
  position: relative;
  width: min(560px, 100%);
  max-width: 500px;
  padding: 1.4rem 1.35rem;
  background: linear-gradient(180deg, rgba(15, 21, 37, 0.9), rgba(3, 8, 19, 0.92));
  box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
  z-index: 1000;
  border-radius: 2px;
  border: 1px solid var(--border);
}

.cookie-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cookie-content p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
  font-size: 0.94rem;
}

.cookie-link {
  color: #5ac1fe;
  text-decoration: none;
}

.cookie-link:hover {
  color: #84d0ff;
}

.cookie-buttons {
  display: flex;
  gap: 0.7rem;
  justify-content: space-between;
  margin-top: 0.35rem;
}

.cookie-btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.35rem;
  padding: 0.55rem 1rem;
  border: 1px solid transparent;
  border-radius: 2px;
  font-family: var(--font-sans);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 200ms ease, background-color 200ms ease, border-color 200ms ease, color 200ms ease;
}

.cookie-btn:hover {
  transform: translateY(-1px);
}

.cookie-btn:focus-visible {
  outline: 2px solid rgba(90, 193, 254, 0.9);
  outline-offset: 2px;
}

.cookie-btn-secondary {
  background: var(--button-muted);
  border-color: rgba(255, 255, 255, 0.26);
  color: var(--text);
}

.cookie-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
}

.cookie-btn-primary {
  background: #5ac1fe;
  border-color: #5ac1fe;
  color: #04172b;
}

.cookie-btn-primary:hover {
  background: #84d0ff;
  border-color: #84d0ff;
}

@media (max-width: 620px) {
  .cookie-banner {
    padding: 1rem;
  }

  .cookie-buttons {
    flex-direction: column;
  }

  .cookie-btn {
    width: 100%;
  }
}

