:root {
  --bg: #000;
  --text: rgba(255, 255, 255, 0.92);
  --muted: rgba(255, 255, 255, 0.72);
  --glass: rgba(255, 255, 255, 0.06);
  --glass-strong: rgba(255, 255, 255, 0.085);
  --border: rgba(255, 255, 255, 0.12);
  --border-strong: rgba(255, 255, 255, 0.18);
  --shadow: rgba(0, 0, 0, 0.66);
  --a1: rgba(34, 211, 238, 0.18);
  --a2: rgba(167, 139, 250, 0.16);
  --a3: rgba(255, 255, 255, 0.10);
  --focus: rgba(34, 211, 238, 0.85);
  --glass-edge: rgba(255, 255, 255, 0.18);
  --glass-edge-soft: rgba(255, 255, 255, 0.10);
  --glass-highlight: rgba(255, 255, 255, 0.26);
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  overflow: hidden;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial,
    "Apple Color Emoji", "Segoe UI Emoji";
  line-height: 1.5;
  letter-spacing: 0.2px;
  height: 100dvh;
  overflow: hidden;
  overscroll-behavior: none;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

body::before {
  content: "";
  position: fixed;
  inset: -25%;
  background:
    radial-gradient(900px 650px at 50% 12%, var(--a1), transparent 62%),
    radial-gradient(820px 560px at 82% 10%, var(--a2), transparent 62%),
    radial-gradient(760px 620px at 60% 92%, var(--a3), transparent 62%);
  filter: blur(26px);
  transform: translate3d(0, 0, 0);
  z-index: -2;
  animation: drift 28s linear infinite;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(1px 1px at 20px 30px, rgba(255, 255, 255, 0.96), transparent 2px),
    radial-gradient(1px 1px at 140px 90px, rgba(255, 255, 255, 0.74), transparent 2px),
    radial-gradient(1px 1px at 80px 140px, rgba(255, 255, 255, 0.52), transparent 2px),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.22'/%3E%3C/svg%3E");
  background-size: 240px 240px, 360px 360px, 520px 520px, 160px 160px;
  background-position: 0 0, 60px 120px, 200px 40px, 0 0;
  opacity: 0.23;
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: -1;
}

.glass {
  position: relative;
  border: 1px solid var(--glass-edge-soft);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.03));
  backdrop-filter: blur(18px) saturate(175%);
  -webkit-backdrop-filter: blur(18px) saturate(175%);
  box-shadow:
    0 28px 92px rgba(0, 0, 0, 0.68),
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    inset 0 -1px 0 rgba(0, 0, 0, 0.36);
}

.glass::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(120% 90% at 12% 8%, rgba(255, 255, 255, 0.22), transparent 52%),
    radial-gradient(90% 70% at 90% 18%, rgba(34, 211, 238, 0.14), transparent 60%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.10), transparent 36%);
  opacity: 0.55;
  mix-blend-mode: overlay;
  pointer-events: none;
}

.glass::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background-image:
    radial-gradient(1px 1px at 28px 22px, rgba(255, 255, 255, 0.18), transparent 2px),
    radial-gradient(1px 1px at 120px 80px, rgba(255, 255, 255, 0.12), transparent 2px);
  background-size: 180px 180px, 260px 260px;
  background-position: 0 0, 60px 120px;
  opacity: 0.22;
  mix-blend-mode: soft-light;
  pointer-events: none;
}

@keyframes drift {
  0% {
    transform: translate3d(0, 0, 0) scale(1.02);
  }
  50% {
    transform: translate3d(3%, -2%, 0) scale(1.06);
  }
  100% {
    transform: translate3d(0, 0, 0) scale(1.02);
  }
}

a {
  color: inherit;
  text-decoration: none;
}

p {
  margin: 0;
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: 0.2px;
}

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: -999px;
  top: 12px;
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  color: var(--text);
  z-index: 99;
}

.skip:focus {
  left: 12px;
}

.container {
  width: min(1100px, calc(100% - 48px));
  margin: 0 auto;
}

.top .container,
.footer .container {
  width: 100%;
  margin: 0;
}

.top {
  position: relative;
  z-index: 20;
  background: rgba(0, 0, 0, 0.35);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(18px) saturate(170%);
  -webkit-backdrop-filter: blur(18px) saturate(170%);
}

.top-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 0;
  gap: 16px;
  padding-left: max(22px, env(safe-area-inset-left));
  padding-right: max(22px, env(safe-area-inset-right));
}

main {
  display: grid;
  align-items: center;
  min-height: 0;
}

.mainstage {
  height: 100%;
  display: grid;
  align-items: center;
}

.stage {
  position: relative;
  width: min(1400px, calc(100% - 56px));
  aspect-ratio: 21 / 9;
  height: auto;
  max-height: calc(100dvh - 124px);
  margin: 0 auto;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background:
    radial-gradient(900px circle at 28% 18%, rgba(255, 255, 255, 0.10), transparent 58%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.028));
  backdrop-filter: blur(26px) saturate(190%);
  -webkit-backdrop-filter: blur(26px) saturate(190%);
  box-shadow:
    0 52px 160px rgba(0, 0, 0, 0.76),
    0 0 0 1px rgba(255, 255, 255, 0.03),
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 -1px 0 rgba(0, 0, 0, 0.42);
  overflow: hidden;
}

.wordmark,
.cta {
  padding-right: max(52px, env(safe-area-inset-right));
  padding-left: max(52px, env(safe-area-inset-left));
}

.stage > .wordmark,
.stage > .cta {
  position: relative;
  z-index: 1;
}

.stage {
  display: grid;
  grid-template-rows: 1fr auto;
  align-items: end;
}

.wordmark {
  padding-top: 34px;
}

@media (max-width: 1100px) {
  .stage {
    width: min(1120px, calc(100% - 40px));
  }

  .wordmark,
  .cta {
    padding-left: max(36px, env(safe-area-inset-left));
    padding-right: max(36px, env(safe-area-inset-right));
  }
}

.stage::before {
  content: "";
  position: absolute;
  inset: -120px;
  background:
    radial-gradient(700px circle at var(--gx, 48%) var(--gy, 30%), rgba(255, 255, 255, 0.16), transparent 56%),
    radial-gradient(560px circle at calc(var(--gx, 48%) + 12%) calc(var(--gy, 30%) + 10%), rgba(34, 211, 238, 0.18), transparent 60%),
    radial-gradient(520px circle at calc(var(--gx, 48%) - 10%) calc(var(--gy, 30%) + 16%), rgba(167, 139, 250, 0.14), transparent 60%);
  filter: blur(10px);
  opacity: 0.92;
  pointer-events: none;
}

.stage::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 70% at 10% 0%, rgba(255, 255, 255, 0.26), transparent 48%),
    radial-gradient(90% 60% at 86% 18%, rgba(255, 255, 255, 0.10), transparent 58%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.18), transparent 36%),
    linear-gradient(315deg, rgba(255, 255, 255, 0.10), transparent 44%);
  opacity: 0.40;
  mix-blend-mode: overlay;
  pointer-events: none;
}

.stage {
  contain: paint;
  isolation: isolate;
  outline: 1px solid rgba(255, 255, 255, 0.02);
  outline-offset: -1px;
}

.orb {
  position: absolute;
  width: min(440px, 46vw);
  aspect-ratio: 1;
  right: -120px;
  top: -140px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.28), rgba(34, 211, 238, 0.18) 38%, rgba(167, 139, 250, 0.12) 62%, transparent 70%),
    radial-gradient(circle at 68% 74%, rgba(255, 255, 255, 0.10), transparent 60%);
  filter: blur(0px);
  opacity: 0.86;
  box-shadow: 0 44px 160px rgba(34, 211, 238, 0.12);
  animation: floatOrb 11s ease-in-out infinite alternate;
}

.chips {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.chip {
  position: absolute;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.03));
  backdrop-filter: blur(18px) saturate(170%);
  -webkit-backdrop-filter: blur(18px) saturate(170%);
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.62);
}

.chip:nth-child(1) {
  width: 180px;
  height: 120px;
  left: 42px;
  top: 52px;
  transform: rotate(-8deg);
  animation: floatChip1 9.5s ease-in-out infinite alternate;
}

.chip:nth-child(2) {
  width: 140px;
  height: 220px;
  right: 76px;
  bottom: 64px;
  transform: rotate(10deg);
  animation: floatChip2 10.5s ease-in-out infinite alternate;
}

.chip:nth-child(3) {
  width: 220px;
  height: 84px;
  left: 120px;
  bottom: 76px;
  transform: rotate(6deg);
  animation: floatChip3 12.5s ease-in-out infinite alternate;
}

@keyframes floatOrb {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  100% {
    transform: translate3d(-28px, 18px, 0) scale(1.035);
  }
}

@keyframes floatChip1 {
  0% {
    transform: rotate(-8deg) translate3d(0, 0, 0);
  }
  100% {
    transform: rotate(-12deg) translate3d(14px, -18px, 0);
  }
}

@keyframes floatChip2 {
  0% {
    transform: rotate(10deg) translate3d(0, 0, 0);
  }
  100% {
    transform: rotate(6deg) translate3d(-16px, 18px, 0);
  }
}

@keyframes floatChip3 {
  0% {
    transform: rotate(6deg) translate3d(0, 0, 0);
  }
  100% {
    transform: rotate(9deg) translate3d(22px, 14px, 0);
  }
}

/* ==========================================================================
   TABLET BREAKPOINT (max-width: 980px)
   ========================================================================== */
@media (max-width: 980px) {
  .stage {
    aspect-ratio: 16 / 9;
    width: min(1200px, calc(100% - 40px));
  }

  .wordmark,
  .cta {
    padding-left: max(32px, env(safe-area-inset-left));
    padding-right: max(32px, env(safe-area-inset-right));
  }

  .headline {
    font-size: clamp(30px, 4.8vw, 56px);
  }

  .chip:nth-child(1) {
    width: 140px;
    height: 100px;
    left: 28px;
    top: 36px;
  }

  .chip:nth-child(2) {
    width: 110px;
    height: 180px;
    right: 48px;
    bottom: 48px;
  }

  .chip:nth-child(3) {
    width: 180px;
    height: 70px;
    left: 80px;
    bottom: 56px;
  }

  .orb {
    width: min(360px, 42vw);
    right: -100px;
    top: -120px;
  }
}

/* ==========================================================================
   MOBILE BREAKPOINT (max-width: 720px) - Complete redesign
   ========================================================================== */
@media (max-width: 720px) {
  /* Body & Layout */
  body {
    grid-template-rows: auto 1fr auto;
    overflow: hidden;
  }

  /* Header - more compact */
  .top {
    background: rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .top-inner {
    padding: 10px 0;
    padding-left: max(16px, env(safe-area-inset-left));
    padding-right: max(16px, env(safe-area-inset-right));
  }

  .brand-mark {
    width: 28px;
    height: 28px;
  }

  /* Main content area - true vertical centering */
  main {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 0;
    padding: 12px 0;
  }

  .mainstage {
    padding: 0 16px;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Stage card - sized to content, vertically centered */
  .stage {
    width: 100%;
    aspect-ratio: auto;
    height: auto;
    min-height: auto;
    max-height: none;
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px 0 36px;
  }

  .stage::before {
    inset: -80px;
    background:
      radial-gradient(400px circle at 50% 20%, rgba(255, 255, 255, 0.14), transparent 56%),
      radial-gradient(350px circle at 60% 30%, rgba(34, 211, 238, 0.16), transparent 60%),
      radial-gradient(320px circle at 40% 40%, rgba(167, 139, 250, 0.12), transparent 60%);
    filter: blur(8px);
  }

  /* Hide decorative chips on mobile for cleaner look */
  .chips {
    display: none;
  }

  /* Orb - repositioned for mobile */
  .orb {
    width: min(280px, 70vw);
    right: -80px;
    top: -100px;
    opacity: 0.65;
  }

  /* Wordmark section */
  .wordmark {
    grid-row: unset;
    align-self: unset;
    width: 100%;
    padding: 0 24px;
    padding-top: 0;
    text-align: center;
  }

  .mainstage .stage > .wordmark,
  .mainstage .stage > .cta {
    padding-left: 24px;
    padding-right: 24px;
  }

  .lockup {
    justify-content: center;
    margin-bottom: 24px;
    gap: 10px;
  }

  .spark {
    width: 36px;
    height: 36px;
  }

  .kicker {
    font-size: 11px;
    letter-spacing: 2.2px;
  }

  .headline {
    font-size: clamp(26px, 7.5vw, 38px);
    line-height: 1.12;
    letter-spacing: -0.3px;
    text-align: center;
  }

  .headline-soft {
    margin-top: 6px;
    font-size: 0.88em;
  }

  /* CTA section - tighter spacing */
  .cta {
    grid-row: unset;
    padding: 28px 24px 0;
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .btn {
    width: 100%;
    max-width: 280px;
    padding: 14px 20px;
    font-size: 15px;
    border-radius: 16px;
    justify-content: center;
  }

  .btn.primary {
    box-shadow: 0 12px 48px rgba(34, 211, 238, 0.15);
  }

  .link {
    padding: 8px 12px;
    font-size: 14px;
    text-align: center;
  }

  /* Footer - compact and snug */
  .footer {
    padding: 8px 16px;
    padding-bottom: max(8px, env(safe-area-inset-bottom));
  }

  .footer-card {
    border-radius: 14px;
    padding: 10px 16px;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-align: center;
  }

  .footer-left,
  .footer-right {
    font-size: 11px;
    opacity: 0.8;
  }

  /* Cards & Grid */
  .card {
    grid-column: span 12;
    padding: 20px;
    min-height: auto;
    border-radius: 20px;
  }

  .card h3 {
    font-size: 16px;
  }

  .contact-card {
    padding: 20px;
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .contact-actions {
    justify-content: center;
  }

  /* Hero card (legacy) */
  .hero-card {
    padding: 24px;
  }

  .hero-card h1 {
    font-size: clamp(26px, 7vw, 38px);
    text-align: center;
  }

  .lead {
    text-align: center;
    font-size: 15px;
  }

  .actions {
    justify-content: center;
  }

  /* Section spacing */
  .section {
    padding: 32px 0;
  }

  .section h2 {
    text-align: center;
  }

  .grid {
    gap: 12px;
  }

  .container {
    width: calc(100% - 32px);
  }
}

.wordmark {
  grid-row: 1;
  align-self: center;
  transform: none;
  width: min(720px, 100%);
}

.lockup {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.spark {
  width: clamp(34px, 3.6vw, 52px);
  height: clamp(34px, 3.6vw, 52px);
  background: url("./logo.png") center / contain no-repeat;
  filter:
    drop-shadow(0 0 10px rgba(255, 255, 255, 0.14))
    drop-shadow(0 20px 70px rgba(34, 211, 238, 0.12));
}

.kicker {
  font-size: 12px;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  opacity: 0.78;
  margin: 0;
}

.headline {
  font-size: clamp(34px, 5.4vw, 72px);
  line-height: 1.03;
  margin: 0;
  letter-spacing: -0.4px;
}

.headline-soft {
  display: block;
  color: rgba(255, 255, 255, 0.70);
  font-weight: 600;
  letter-spacing: -0.2px;
}

.subline {
  margin-top: 16px;
  max-width: 56ch;
  font-size: clamp(14px, 1.7vw, 18px);
  color: rgba(255, 255, 255, 0.74);
}

.cta {
  grid-row: 2;
  padding-bottom: 30px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.link {
  padding: 10px 8px;
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 600;
  letter-spacing: 0.2px;
  text-decoration: none;
}

.link:hover {
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.06);
}

.mainstage .stage > .wordmark,
.mainstage .stage > .cta {
  padding-left: max(44px, env(safe-area-inset-left));
  padding-right: max(44px, env(safe-area-inset-right));
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 650;
  letter-spacing: 0.7px;
}

.brand-mark {
  width: clamp(34px, 2.8vw, 44px);
  height: clamp(34px, 2.8vw, 44px);
  background: url("./logo.png") center / contain no-repeat;
  box-shadow: none;
  filter:
    drop-shadow(0 0 10px rgba(255, 255, 255, 0.16))
    drop-shadow(0 18px 70px rgba(34, 211, 238, 0.14));
}


@media (max-height: 760px) {
  .top-inner {
    padding: 10px 0;
  }

  .stage {
    max-height: calc(100dvh - 108px);
  }

  .wordmark {
    padding-top: 26px;
  }

  .cta {
    padding-bottom: 22px;
  }
}

.nav {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav a:not(.btn) {
  padding: 8px 10px;
  border-radius: 12px;
  opacity: 0.86;
}

.nav a:not(.btn):hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.06);
}

/* legacy hero styles (kept but no longer used) */
.hero {
  display: none;
}

.eyebrow {
  font-size: 12px;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  opacity: 0.72;
  margin-bottom: 12px;
}

.hero-card {
  padding: clamp(28px, 4vw, 44px);
  max-width: 860px;
  margin: 0 auto;
}

.hero-card h1 {
  font-size: clamp(34px, 6vw, 58px);
  line-height: 1.05;
  margin-bottom: 14px;
}

.lead {
  max-width: 68ch;
  font-size: clamp(16px, 2.2vw, 20px);
  color: var(--muted);
  margin-bottom: 24px;
}

.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.meta {
  margin-top: 26px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.pill {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.10);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.86);
}

.section {
  padding: 44px 0;
}

.section h2 {
  font-size: 13px;
  letter-spacing: 2.3px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 18px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}

.card {
  grid-column: span 4;
  padding: 22px;
  min-height: 168px;
}

.card h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.card p {
  color: rgba(255, 255, 255, 0.78);
}

.contact-card {
  padding: 26px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
  align-items: center;
}

.contact-card h2 {
  margin-bottom: 8px;
}

.contact-card p {
  color: rgba(255, 255, 255, 0.78);
}

.contact-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.fineprint {
  grid-column: 1 / -1;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.62);
}

.footer {
  padding: 10px 0;
}

.footer-card {
  margin: 0;
  border-radius: 18px;
  padding: 12px 18px;
  padding-left: max(22px, env(safe-area-inset-left));
  padding-right: max(22px, env(safe-area-inset-right));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.footer-left,
.footer-right {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.70);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.92);
  font-weight: 650;
  letter-spacing: 0.2px;
  cursor: pointer;
  user-select: none;
  transition:
    transform 160ms ease,
    background 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.btn:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(255, 255, 255, 0.20);
}

.btn:active {
  transform: translateY(0);
}

.btn.primary {
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.18), rgba(167, 139, 250, 0.14));
  border-color: rgba(255, 255, 255, 0.20);
  box-shadow: 0 18px 70px rgba(34, 211, 238, 0.12);
}

.btn.primary:hover {
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.24), rgba(167, 139, 250, 0.18));
}

.btn.ghost {
  background: transparent;
}

.btn.small {
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 14px;
}

.glass {
  position: relative;
  border-radius: 24px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, var(--glass-strong), var(--glass));
  backdrop-filter: blur(18px) saturate(170%);
  -webkit-backdrop-filter: blur(18px) saturate(170%);
  box-shadow: 0 28px 96px var(--shadow);
  overflow: hidden;
}

.glass::before {
  content: "";
  position: absolute;
  inset: -90px;
  background:
    radial-gradient(10px 10px at var(--gx, 50%) var(--gy, 25%), rgba(255, 255, 255, 0.55), transparent 70%),
    radial-gradient(640px circle at var(--gx, 50%) var(--gy, 25%), rgba(255, 255, 255, 0.14), transparent 58%),
    radial-gradient(560px circle at var(--gx, 50%) var(--gy, 25%), rgba(99, 102, 241, 0.20), transparent 60%),
    radial-gradient(520px circle at calc(var(--gx, 50%) + 14%) calc(var(--gy, 25%) + 8%), rgba(244, 114, 182, 0.16), transparent 60%),
    radial-gradient(460px circle at calc(var(--gx, 50%) - 10%) calc(var(--gy, 25%) + 14%), rgba(250, 204, 21, 0.10), transparent 60%);
  filter: blur(8px);
  opacity: 0.78;
  transform: translate3d(0, 0, 0);
  transition: opacity 240ms ease;
  pointer-events: none;
}

.glass:hover::before {
  opacity: 0.92;
}

.glass::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.22), transparent 34%),
    linear-gradient(315deg, rgba(255, 255, 255, 0.12), transparent 42%);
  opacity: 0.35;
  mix-blend-mode: overlay;
  pointer-events: none;
}

.glass > * {
  position: relative;
  z-index: 1;
}

@media (max-width: 920px) {
  .card {
    grid-column: span 6;
  }

  .contact-card {
    grid-template-columns: 1fr;
  }

  .contact-actions {
    justify-content: flex-start;
  }
}

/* ==========================================================================
   SMALL MOBILE BREAKPOINT (max-width: 480px)
   ========================================================================== */
@media (max-width: 480px) {
  .mainstage {
    padding: 0 12px;
  }

  .stage {
    border-radius: 20px;
    min-height: min(420px, calc(100dvh - 130px));
    padding: 28px 0;
  }

  .wordmark {
    padding: 0 20px;
  }

  .mainstage .stage > .wordmark,
  .mainstage .stage > .cta {
    padding-left: 20px;
    padding-right: 20px;
  }

  .headline {
    font-size: clamp(24px, 7.5vw, 36px);
  }

  .lockup {
    gap: 10px;
    margin-bottom: 16px;
  }

  .spark {
    width: 36px;
    height: 36px;
  }

  .kicker {
    font-size: 10px;
  }

  .cta {
    padding: 20px 20px 0;
    gap: 14px;
  }

  .btn {
    padding: 13px 18px;
    font-size: 14px;
    border-radius: 14px;
  }

  .link {
    font-size: 13px;
  }

  .orb {
    width: min(220px, 60vw);
    right: -60px;
    top: -80px;
    opacity: 0.55;
  }

  .footer {
    padding: 10px 12px;
  }

  .footer-card {
    border-radius: 14px;
    padding: 12px 16px;
  }

  .footer-left,
  .footer-right {
    font-size: 11px;
  }

  .top-inner {
    padding-left: max(12px, env(safe-area-inset-left));
    padding-right: max(12px, env(safe-area-inset-right));
  }

  .container {
    width: calc(100% - 24px);
  }
}

/* ==========================================================================
   SHORT VIEWPORT HEIGHT ADJUSTMENTS
   ========================================================================== */
@media (max-height: 720px) {
  .top-inner {
    padding: 10px 0;
  }

  .stage {
    max-height: calc(100dvh - 100px);
  }

  .wordmark {
    padding-top: 20px;
  }

  .cta {
    padding-bottom: 20px;
  }

  .hero-card {
    padding: 22px;
  }

  .hero-card h1 {
    font-size: clamp(26px, 5vw, 44px);
  }

  .lead {
    margin-bottom: 18px;
  }

  .footer {
    padding: 8px 0;
  }

  .footer-card {
    padding: 10px 14px;
  }
}

@media (max-height: 560px) {
  .stage {
    min-height: auto;
    max-height: calc(100dvh - 90px);
    padding: 20px 0;
  }

  .orb {
    opacity: 0.45;
  }

  .chips {
    display: none;
  }

  .headline {
    font-size: clamp(22px, 6vw, 32px);
  }

  .lockup {
    margin-bottom: 12px;
  }

  .cta {
    padding-top: 16px;
    gap: 12px;
  }
}

/* Landscape mobile */
@media (max-height: 480px) and (orientation: landscape) {
  .stage {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    min-height: calc(100dvh - 80px);
  }

  .wordmark {
    text-align: left;
    flex: 1;
    padding-right: 16px;
  }

  .lockup {
    justify-content: flex-start;
  }

  .headline {
    text-align: left;
    font-size: clamp(20px, 4vw, 28px);
  }

  .cta {
    flex-direction: column;
    padding: 0 24px 0 0;
    flex: 0 0 auto;
    align-items: flex-end;
  }

  .btn {
    width: auto;
    max-width: none;
  }

  .footer-card {
    flex-direction: row;
  }
}

@media (prefers-reduced-motion: reduce) {
  body::before {
    animation: none;
  }

  .btn {
    transition: none;
  }

  .glass::before {
    transition: none;
  }

  .orb,
  .chip {
    animation: none;
  }
}
