:root {
  --marketing-ink: #f6f3ed;
  --marketing-muted: #9ba7b5;
  --marketing-cyan: #7de3dc;
  --marketing-blue: #8aa9ff;
  --marketing-warm: #f0c978;
  --marketing-line: rgba(214, 231, 255, .13);
  --marketing-panel: rgba(11, 22, 35, .76);
  --marketing-display-xl: clamp(46px, 4.2vw, 64px);
  --marketing-display-lg: clamp(36px, 3.7vw, 56px);
}

.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;
}

.marketing-topbar {
  position: sticky;
  top: 0;
  z-index: 90;
  min-height: 78px;
  overflow: visible;
  background: rgba(6, 13, 22, .82);
  border-color: rgba(214, 231, 255, .1);
  backdrop-filter: blur(22px) saturate(135%);
  padding-inline: clamp(18px, 3vw, 48px);
}

.marketing-navigation {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(18px, 2.5vw, 38px);
}

.marketing-primary-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-cluster { position: relative; }
.nav-cluster > summary,
.nav-direct {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  border-radius: 9px;
  padding: 8px 12px;
  background: transparent;
  color: #b7c1cc;
  font-size: 13px;
  line-height: 1;
  cursor: pointer;
  list-style: none;
  transition: color .2s ease, background .2s ease;
}

.nav-cluster > summary::-webkit-details-marker { display: none; }
.nav-cluster > summary::after {
  width: 7px;
  height: 7px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  content: "";
  transform: rotate(45deg) translateY(-2px);
  transition: transform .25s ease;
}
.nav-cluster[open] > summary::after { transform: rotate(225deg) translate(-1px, -1px); }
.nav-cluster > summary:hover,
.nav-cluster > summary:focus-visible,
.nav-cluster[open] > summary,
.nav-direct:hover,
.nav-direct:focus-visible { color: #fff; background: rgba(255, 255, 255, .055); }

.mega-menu {
  position: absolute;
  top: calc(100% + 17px);
  left: 50%;
  width: min(820px, calc(100vw - 34px));
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--marketing-line);
  border-radius: 22px;
  padding: 20px;
  background: rgba(10, 19, 31, .97);
  box-shadow: 0 28px 90px rgba(0, 0, 0, .48);
  transform: translateX(-42%);
  animation: mega-enter .24s cubic-bezier(.2, .8, .2, 1) both;
}

.mega-menu::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background: radial-gradient(circle at 9% 10%, rgba(125, 227, 220, .11), transparent 34%);
}

.mega-intro,
.mega-column {
  position: relative;
  z-index: 1;
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 8px 20px;
}
.mega-column { border-left: 1px solid var(--marketing-line); }
.mega-intro > span,
.mega-column > span {
  color: #728297;
  font-size: 10px;
  font-weight: 650;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.mega-intro strong { max-width: 260px; font-size: 20px; line-height: 1.25; }
.mega-link {
  display: grid;
  gap: 3px;
  border: 0;
  border-radius: 10px;
  padding: 10px 9px;
  background: transparent;
  color: var(--marketing-ink);
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}
.mega-link:hover,
.mega-link:focus-visible { background: rgba(255, 255, 255, .055); }
.mega-link strong { font-size: 13px; }
.mega-link small { color: #8391a2; font-size: 11px; line-height: 1.45; }
.resource-menu {
  left: auto;
  right: 0;
  width: min(460px, calc(100vw - 34px));
  grid-template-columns: 1fr 1fr;
  transform: none;
  animation-name: mega-enter-right;
}

.marketing-menu-toggle { display: none; }
.marketing-topbar .top-actions { flex: 0 0 auto; }
.marketing-topbar .primary.small { white-space: nowrap; }

#landing,
.marketing-page {
  position: relative;
  isolation: isolate;
  overflow: clip;
  background:
    radial-gradient(circle at 88% 14%, rgba(69, 103, 177, .13), transparent 29%),
    radial-gradient(circle at 12% 76%, rgba(34, 115, 111, .11), transparent 31%),
    #071018;
}
#landing.active,
.marketing-page.active { animation: marketing-page-in .55s cubic-bezier(.2, .8, .2, 1) both; }

.landing-ambient {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.landing-ambient span {
  position: absolute;
  width: 44vw;
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .12;
  animation: ambient-drift 18s ease-in-out infinite alternate;
}
.landing-ambient span:nth-child(1) { top: -22%; right: -10%; background: #5e75ff; }
.landing-ambient span:nth-child(2) { bottom: 8%; left: -18%; background: #35d1c7; animation-delay: -6s; }
.landing-ambient span:nth-child(3) { top: 48%; right: 28%; width: 22vw; background: #f0c978; animation-delay: -11s; }

.marketing-hero {
  min-height: auto;
  grid-template-columns: minmax(0, 1.18fr) minmax(430px, .82fr);
  align-items: start;
  gap: clamp(40px, 5vw, 72px);
  padding-top: clamp(62px, 6vw, 92px);
  padding-bottom: clamp(72px, 7vw, 104px);
}
.marketing-hero .hero-copy { position: relative; z-index: 2; padding-top: clamp(4px, 1vw, 14px); }
.marketing-hero .eyebrow { color: var(--marketing-cyan); }
.marketing-hero h1 {
  max-width: 820px;
  font-size: var(--marketing-display-xl);
  line-height: 1.02;
  letter-spacing: -.045em !important;
  text-wrap: balance;
  overflow-wrap: normal;
}
.marketing-hero h1 > span,
.marketing-hero h1 > em { display: block; }
.marketing-hero h1 > em {
  margin-top: .1em;
  color: transparent;
  background: linear-gradient(95deg, #7de3dc 3%, #8aa9ff 54%, #f0c978 98%);
  -webkit-background-clip: text;
  background-clip: text;
}
.marketing-hero .lead { max-width: 660px; margin-block: 24px; color: #b7c4d0; font-size: clamp(16px, 1.25vw, 20px); line-height: 1.58; }
.marketing-hero .hero-visual { height: clamp(430px, 38vw, 560px); min-height: 430px; }
.button-link {
  border: 0;
  padding: 10px 2px;
  background: transparent;
  font: inherit;
  cursor: pointer;
}
.magnetic-button { box-shadow: 0 14px 46px rgba(92, 188, 181, .13); }

.animated-constellation {
  overflow: hidden;
  border-color: rgba(157, 190, 255, .19);
  background:
    radial-gradient(circle at center, rgba(125, 227, 220, .13), transparent 19%),
    radial-gradient(circle, rgba(138, 169, 255, .08), rgba(8, 19, 28, .46) 52%, transparent 70%);
}
.animated-constellation::after {
  position: absolute;
  inset: -42%;
  z-index: 0;
  content: "";
  pointer-events: none;
  background: conic-gradient(from 30deg, transparent 0 28%, rgba(125, 227, 220, .13) 34%, transparent 41% 67%, rgba(138, 169, 255, .12) 73%, transparent 82%);
  filter: blur(28px);
  animation: constellation-aurora 16s ease-in-out infinite alternate;
}
.animated-constellation > * { z-index: 2; }
.animated-constellation .sample-lines { z-index: 1; }
.animated-constellation::before {
  position: absolute;
  inset: 8%;
  border: 1px dashed rgba(138, 169, 255, .13);
  border-radius: 50%;
  content: "";
  animation: orbit-spin 32s linear infinite;
}
.animated-constellation .sample-lines path {
  stroke-dasharray: 7 9;
  animation: line-travel 18s linear infinite;
}
.animated-constellation .sample-node { animation: node-float 6.4s ease-in-out infinite; transition: border-color .3s ease, box-shadow .3s ease; }
.animated-constellation .n2 { animation-name: node-drift-x; animation-delay: -1.2s; }
.animated-constellation .n3 { animation-name: node-drift-y; animation-delay: -2.4s; }
.animated-constellation .n4 { animation-name: node-drift-x; animation-delay: -3.6s; animation-direction: reverse; }
.animated-constellation .n5 { animation-name: node-drift-y; animation-delay: -4.8s; animation-direction: reverse; }
.animated-constellation .sample-node:hover { border-color: rgba(125, 227, 220, .46); box-shadow: 0 18px 45px rgba(0, 0, 0, .36), 0 0 28px rgba(125, 227, 220, .08); }
.animated-constellation .sample-core { animation: core-pulse 3.2s ease-in-out infinite; }
.orbit-ring {
  position: absolute;
  inset: 19%;
  border: 1px solid rgba(125, 227, 220, .12);
  border-radius: 50%;
  pointer-events: none;
}
.ring-one { border-style: dashed; animation: orbit-spin 38s linear infinite; }
.ring-two { inset: 31%; border-color: rgba(240, 201, 120, .1); animation: orbit-spin-reverse 26s linear infinite; }

.signal-marquee {
  position: relative;
  overflow: hidden;
  border-block: 1px solid var(--marketing-line);
  padding: 18px 0;
  color: #77879a;
  background: linear-gradient(90deg, rgba(125, 227, 220, .025), transparent 28%, rgba(138, 169, 255, .025) 72%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.signal-track {
  width: max-content;
  display: flex;
  align-items: center;
  animation: marquee 25s linear infinite;
}
.signal-group { min-width: 100vw; display: flex; flex: 0 0 auto; align-items: center; justify-content: space-around; gap: clamp(24px, 4vw, 68px); padding-inline: clamp(18px, 4vw, 68px); }
.signal-marquee span { font-size: 11px; font-weight: 650; letter-spacing: .2em; }
.signal-marquee i { color: var(--marketing-cyan); font-style: normal; filter: drop-shadow(0 0 9px rgba(125, 227, 220, .5)); animation: signal-twinkle 2.8s ease-in-out infinite; }

.marketing-proof,
.closing-cta,
.marketing-page-shell {
  width: min(1420px, 100%);
  margin: auto;
  padding-inline: clamp(18px, 5vw, 74px);
}
.marketing-proof { padding-top: clamp(100px, 13vw, 190px); padding-bottom: clamp(110px, 14vw, 210px); }
.proof-heading { max-width: 980px; }
.proof-heading h2,
.closing-cta h2,
.marketing-page-hero h1 {
  margin: 0;
  color: var(--marketing-ink);
  font-size: var(--marketing-display-lg);
  line-height: 1.06;
  letter-spacing: -.04em !important;
  text-wrap: balance;
  overflow-wrap: anywhere;
}
.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 18px;
  margin-top: clamp(54px, 7vw, 92px);
}
.proof-grid article {
  position: relative;
  min-height: 330px;
  display: grid;
  grid-template-rows: 1fr auto auto auto;
  align-items: start;
  overflow: hidden;
  border: 1px solid var(--marketing-line);
  border-radius: 22px;
  padding: 28px;
  background: linear-gradient(155deg, rgba(17, 31, 48, .82), rgba(8, 17, 28, .72));
}
.proof-grid article::before {
  position: absolute;
  top: -60px;
  right: -60px;
  width: 190px;
  height: 190px;
  border: 1px solid rgba(125, 227, 220, .12);
  border-radius: 50%;
  content: "";
  transition: transform .5s ease, border-color .5s ease;
}
.proof-grid article:hover::before { transform: scale(1.24); border-color: rgba(125, 227, 220, .3); }
.proof-grid article::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background: linear-gradient(112deg, transparent 30%, rgba(255, 255, 255, .065) 48%, transparent 66%);
  transform: translateX(-125%);
  transition: transform .85s cubic-bezier(.2, .8, .2, 1);
}
.proof-grid article:hover::after { transform: translateX(125%); }
.proof-grid article > span,
.product-loop-grid article > span,
.solution-index { color: var(--marketing-cyan); font-size: 11px; letter-spacing: .14em; }
.proof-grid article > span { align-self: end; }
.proof-grid h3 { min-height: 2.3em; margin: 20px 0 10px; font-size: clamp(22px, 1.8vw, 30px); line-height: 1.12; }
.proof-grid p { min-height: 4.8em; margin: 0; color: var(--marketing-muted); }

.closing-cta {
  margin-bottom: clamp(54px, 6vw, 84px);
  border: 1px solid var(--marketing-line);
  border-radius: 28px;
  padding-top: clamp(54px, 7vw, 86px);
  padding-bottom: clamp(54px, 7vw, 86px);
  background: radial-gradient(circle at 83% 20%, rgba(138, 169, 255, .17), transparent 31%), rgba(11, 22, 35, .72);
}
.closing-cta h2 { max-width: 900px; }
.closing-cta > p:not(.eyebrow) { max-width: 680px; margin: 22px 0 30px; color: var(--marketing-muted); font-size: 18px; }

.marketing-page { min-height: calc(100svh - 78px); }
.marketing-page-shell { padding-top: clamp(62px, 7vw, 104px); padding-bottom: clamp(96px, 10vw, 132px); }
.marketing-page-hero { max-width: 1050px; }
.marketing-page-hero > p:not(.eyebrow) { max-width: 720px; margin: 22px 0 0; color: var(--marketing-muted); font-size: clamp(16px, 1.4vw, 20px); line-height: 1.58; }
.product-loop-grid,
.solution-grid,
.resource-grid { display: grid; gap: 18px; margin-top: clamp(56px, 8vw, 100px); }
.product-loop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.product-loop-grid article,
.solution-grid article,
.resource-card {
  min-width: 0;
  border: 1px solid var(--marketing-line);
  border-radius: 22px;
  padding: clamp(25px, 3vw, 40px);
  background: var(--marketing-panel);
}
.product-loop-grid h2,
.solution-grid h2,
.resource-card h2 { margin: 22px 0 12px; font-size: clamp(23px, 2.4vw, 34px); line-height: 1.12; }
.product-loop-grid p,
.solution-grid p,
.resource-card p { margin: 0; color: var(--marketing-muted); }
.product-principle {
  margin-top: 18px;
  border: 1px solid var(--marketing-line);
  border-radius: 22px;
  padding: clamp(32px, 5vw, 64px);
  background: linear-gradient(120deg, rgba(125, 227, 220, .08), rgba(138, 169, 255, .08));
}
.product-principle > span,
.resource-card > span { color: var(--marketing-cyan); font-size: 10px; font-weight: 650; letter-spacing: .14em; }
.product-principle blockquote { margin: 18px 0; font-size: clamp(34px, 4.5vw, 62px); line-height: 1.06; letter-spacing: -.045em; text-wrap: balance; }
.product-principle p { max-width: 700px; color: var(--marketing-muted); }
.solution-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.solution-grid article { min-height: 360px; display: flex; flex-direction: column; align-items: flex-start; }
.solution-grid article .button-link { margin-top: auto; color: var(--marketing-cyan); }

#pricing .marketing-page-shell.pricing { max-width: 1420px; padding-top: clamp(62px, 7vw, 104px); }
#pricing .pricing-intro { max-width: 980px; }
#pricing .pricing-intro h1 { margin-bottom: 24px; }
#pricing .plan-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 54px; }
#pricing .plan { min-height: 440px; }
#pricing .plan h2 { margin: 20px 0 4px; font-size: 34px; }

.resource-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.resource-card { min-height: 300px; display: flex; flex-direction: column; color: var(--marketing-ink); text-decoration: none; }
.featured-resource { grid-row: span 2; min-height: 618px; background: radial-gradient(circle at 80% 20%, rgba(125, 227, 220, .14), transparent 36%), var(--marketing-panel); }
.resource-card strong { margin-top: auto; padding-top: 34px; color: var(--marketing-cyan); }

.proof-grid article,
.product-loop-grid article,
.solution-grid article,
.resource-card,
#pricing .plan,
.product-principle {
  transition: transform .4s cubic-bezier(.2, .8, .2, 1), border-color .4s ease, box-shadow .4s ease, background-color .4s ease;
}
.proof-grid article:hover,
.product-loop-grid article:hover,
.solution-grid article:hover,
.resource-card:hover,
#pricing .plan:hover,
.product-principle:hover {
  border-color: rgba(125, 227, 220, .32);
  box-shadow: 0 28px 70px rgba(0, 0, 0, .26), 0 0 46px rgba(125, 227, 220, .055);
}

.marketing-footer {
  position: relative;
  display: none;
  overflow: hidden;
  border-top: 1px solid rgba(168, 197, 236, .15);
  background:
    radial-gradient(circle at 16% 20%, rgba(125, 227, 220, .1), transparent 28%),
    radial-gradient(circle at 86% 74%, rgba(138, 169, 255, .11), transparent 28%),
    linear-gradient(160deg, #09151f 0%, #071018 56%, #09131e 100%);
}
body:has(#landing.active) > .marketing-footer,
body:has(.marketing-page.active) > .marketing-footer { display: block; }
.marketing-footer::before {
  position: absolute;
  right: -4vw;
  bottom: -10vw;
  color: rgba(211, 231, 255, .022);
  content: "ASTERIA";
  font-family: Georgia, serif;
  font-size: clamp(120px, 22vw, 360px);
  line-height: .7;
  letter-spacing: -.08em;
  pointer-events: none;
}
.footer-ambient { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.footer-ambient span { position: absolute; width: 4px; height: 4px; border-radius: 50%; background: #8be8e0; box-shadow: 0 0 18px rgba(125, 227, 220, .7); animation: footer-star 7s ease-in-out infinite; }
.footer-ambient span:nth-child(1) { top: 18%; left: 47%; }
.footer-ambient span:nth-child(2) { top: 63%; left: 73%; animation-delay: -2.4s; }
.footer-ambient span:nth-child(3) { top: 32%; left: 91%; animation-delay: -4.8s; }
.footer-shell { position: relative; z-index: 1; width: min(1420px, 100%); margin: auto; padding: clamp(70px, 8vw, 112px) clamp(18px, 5vw, 74px) 30px; }
.footer-primary { display: grid; grid-template-columns: minmax(260px, .85fr) minmax(440px, 1.35fr) minmax(270px, .8fr); gap: clamp(38px, 6vw, 92px); align-items: start; }
.footer-brand { display: inline-flex; align-items: center; gap: 16px; color: var(--marketing-ink); text-decoration: none; }
.footer-brand-mark { width: 58px; height: 58px; display: grid; place-items: center; flex: 0 0 auto; border: 1px solid rgba(138, 169, 255, .7); border-radius: 50%; color: var(--marketing-cyan); box-shadow: inset 0 0 28px rgba(138, 169, 255, .08), 0 0 34px rgba(125, 227, 220, .08); animation: footer-mark 8s ease-in-out infinite; }
.footer-brand strong { display: block; font-size: 16px; letter-spacing: .24em; }
.footer-brand small { max-width: 250px; display: block; margin-top: 9px; color: var(--marketing-muted); font-size: 12px; line-height: 1.55; }
.footer-navigation { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 44px); }
.footer-navigation > div { display: grid; align-content: start; gap: 7px; }
.footer-navigation > div > span { margin-bottom: 8px; color: #6f8296; font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.footer-navigation button,
.footer-bottom button { width: fit-content; border: 0; padding: 5px 0; background: transparent; color: #b8c5d2; font-size: 13px; text-align: left; cursor: pointer; transition: color .2s ease, transform .2s ease; }
.footer-navigation button:hover,
.footer-navigation button:focus-visible,
.footer-bottom button:hover,
.footer-bottom button:focus-visible { color: #fff; transform: translateX(3px); }
.footer-status { display: flex; gap: 16px; border: 1px solid rgba(150, 184, 225, .14); border-radius: 18px; padding: 22px; background: rgba(8, 18, 28, .6); box-shadow: inset 0 1px rgba(255, 255, 255, .02); }
.footer-status-orbit { position: relative; width: 38px; height: 38px; flex: 0 0 auto; border: 1px solid rgba(125, 227, 220, .25); border-radius: 50%; animation: orbit-spin 12s linear infinite; }
.footer-status-orbit::before { position: absolute; inset: 8px; border: 1px dashed rgba(138, 169, 255, .28); border-radius: 50%; content: ""; }
.footer-status-orbit i { position: absolute; top: -2px; left: 17px; width: 4px; height: 4px; border-radius: 50%; background: var(--marketing-cyan); box-shadow: 0 0 12px var(--marketing-cyan); }
.footer-status strong { display: block; color: var(--marketing-ink); font-size: 13px; line-height: 1.45; }
.footer-status p { margin: 8px 0 0; color: var(--marketing-muted); font-size: 11px; line-height: 1.55; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-top: clamp(58px, 7vw, 92px); border-top: 1px solid rgba(168, 197, 236, .11); padding-top: 24px; color: #708296; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.footer-bottom button { margin-left: auto; color: var(--marketing-cyan); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }

.motion-ready [data-reveal] {
  --reveal-x: 0px;
  --reveal-y: 30px;
  --reveal-scale: 1;
  opacity: 0;
  transform: translate3d(var(--reveal-x), var(--reveal-y), 0) scale(var(--reveal-scale));
  filter: blur(7px);
  transition: opacity .82s cubic-bezier(.2, .8, .2, 1), transform .82s cubic-bezier(.2, .8, .2, 1), filter .82s ease;
  will-change: opacity, transform, filter;
}
.motion-ready .hero-copy[data-reveal] { --reveal-x: -34px; --reveal-y: 0px; }
.motion-ready .hero-visual[data-reveal] { --reveal-x: 38px; --reveal-y: 0px; --reveal-scale: .975; transition-delay: .08s; }
.motion-ready .proof-grid [data-reveal],
.motion-ready .product-loop-grid [data-reveal],
.motion-ready .solution-grid [data-reveal],
.motion-ready .plan-grid [data-reveal],
.motion-ready .resource-grid [data-reveal] { --reveal-y: 58px; --reveal-scale: .96; }
.motion-ready .proof-grid [data-reveal]:nth-child(2),
.motion-ready .product-loop-grid [data-reveal]:nth-child(2),
.motion-ready .solution-grid [data-reveal]:nth-child(2),
.motion-ready .plan-grid [data-reveal]:nth-child(2),
.motion-ready .resource-grid [data-reveal]:nth-child(2) { transition-delay: .1s; }
.motion-ready .proof-grid [data-reveal]:nth-child(3),
.motion-ready .product-loop-grid [data-reveal]:nth-child(3),
.motion-ready .solution-grid [data-reveal]:nth-child(3),
.motion-ready .resource-grid [data-reveal]:nth-child(3) { transition-delay: .2s; }
.motion-ready .product-loop-grid [data-reveal]:nth-child(4) { transition-delay: .3s; }
.motion-ready .footer-shell[data-reveal] { --reveal-y: 48px; --reveal-scale: .985; }
.motion-ready [data-reveal].is-visible { opacity: 1; transform: translate3d(0, 0, 0) scale(1); filter: blur(0); will-change: auto; }
.motion-ready .proof-grid article[data-reveal].is-visible:hover,
.motion-ready .product-loop-grid article[data-reveal].is-visible:hover,
.motion-ready .solution-grid article[data-reveal].is-visible:hover,
.motion-ready .resource-card[data-reveal].is-visible:hover,
.motion-ready #pricing .plan[data-reveal].is-visible:hover,
.motion-ready .product-principle[data-reveal].is-visible:hover { transform: translateY(-7px); }

@keyframes mega-enter { from { opacity: 0; transform: translateX(-42%) translateY(-8px) scale(.985); } to { opacity: 1; transform: translateX(-42%); } }
@keyframes mega-enter-right { from { opacity: 0; transform: translateY(-8px) scale(.985); } to { opacity: 1; transform: none; } }
@keyframes marketing-page-in { from { opacity: .4; transform: translateY(9px); } to { opacity: 1; transform: none; } }
@keyframes ambient-drift { to { transform: translate3d(8%, 9%, 0) scale(1.14); } }
@keyframes orbit-spin { to { transform: rotate(360deg); } }
@keyframes orbit-spin-reverse { to { transform: rotate(-360deg); } }
@keyframes constellation-aurora { from { transform: rotate(-12deg) scale(.9); opacity: .35; } to { transform: rotate(28deg) scale(1.12); opacity: .72; } }
@keyframes line-travel { to { stroke-dashoffset: -160; } }
@keyframes node-float { 50% { transform: translateY(-9px); } }
@keyframes node-drift-x { 50% { transform: translate(8px, -4px); } }
@keyframes node-drift-y { 50% { transform: translate(-3px, 9px); } }
@keyframes core-pulse { 50% { box-shadow: 0 0 52px rgba(116, 225, 218, .45); transform: scale(1.07); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes signal-twinkle { 50% { opacity: .4; transform: scale(.75) rotate(45deg); } }
@keyframes footer-star { 0%, 100% { opacity: .25; transform: translateY(0) scale(.8); } 50% { opacity: 1; transform: translateY(-12px) scale(1.2); } }
@keyframes footer-mark { 0%, 100% { transform: rotate(0deg); box-shadow: inset 0 0 28px rgba(138, 169, 255, .08), 0 0 34px rgba(125, 227, 220, .08); } 50% { transform: rotate(12deg); box-shadow: inset 0 0 34px rgba(138, 169, 255, .14), 0 0 45px rgba(125, 227, 220, .17); } }

@media (max-width: 1120px) {
  .marketing-navigation { gap: 14px; }
  .marketing-primary-nav { gap: 0; }
  .nav-cluster > summary,
  .nav-direct { padding-inline: 9px; }
  .marketing-topbar .local-note { display: none; }
  .marketing-hero { grid-template-columns: 1fr; }
  .marketing-hero .hero-copy { max-width: 850px; }
  .marketing-hero .hero-visual { width: min(100%, 820px); }
  .footer-primary { grid-template-columns: minmax(250px, .8fr) minmax(430px, 1.2fr); }
  .footer-status { grid-column: 1 / -1; max-width: 560px; }
}

@media (max-width: 1350px) {
  .marketing-topbar .local-note { display: none; }
}

@media (max-width: 900px) {
  .marketing-topbar { min-height: 70px; padding-inline: 16px; }
  .marketing-menu-toggle {
    width: 44px;
    height: 44px;
    display: grid;
    place-content: center;
    gap: 6px;
    border: 1px solid var(--marketing-line);
    border-radius: 10px;
    background: rgba(255, 255, 255, .025);
    color: #fff;
  }
  .menu-line { width: 18px; height: 1px; display: block; background: currentColor; transition: transform .2s ease; }
  .marketing-menu-toggle[aria-expanded="true"] .menu-line:first-child { transform: translateY(3.5px) rotate(45deg); }
  .marketing-menu-toggle[aria-expanded="true"] .menu-line:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }
  .marketing-navigation {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    max-height: calc(100dvh - 70px);
    display: none;
    overflow: auto;
    border-bottom: 1px solid var(--marketing-line);
    padding: 14px 16px calc(18px + env(safe-area-inset-bottom));
    background: rgba(6, 13, 22, .985);
  }
  .marketing-navigation.is-open { display: grid; gap: 14px; }
  .marketing-primary-nav { display: grid; align-items: stretch; }
  .nav-cluster > summary,
  .nav-direct { width: 100%; justify-content: space-between; min-height: 48px; padding: 11px 8px; font-size: 15px; text-align: left; }
  .mega-menu,
  .resource-menu {
    position: static;
    width: 100%;
    grid-template-columns: 1fr;
    margin: 4px 0 10px;
    border-radius: 14px;
    padding: 8px;
    transform: none;
    animation-name: mega-enter-mobile;
  }
  .mega-intro { display: none; }
  .mega-column { border: 0; padding: 8px; }
  .marketing-topbar .top-actions { display: grid; grid-template-columns: 80px minmax(0, 1fr); }
  .marketing-topbar .primary.small { display: inline-flex; }
  .proof-grid,
  .solution-grid { grid-template-columns: 1fr; }
  .proof-grid article,
  .solution-grid article { min-height: 280px; }
  .proof-grid h3,
  .proof-grid p { min-height: 0; }
  .footer-primary { grid-template-columns: 1fr; }
  .footer-navigation { width: min(100%, 620px); }
  .footer-status { grid-column: auto; }
}

@keyframes mega-enter-mobile { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

@media (max-width: 720px) {
  .marketing-hero { min-height: auto; padding-top: 58px; gap: 52px; }
  .marketing-hero h1 { font-size: clamp(42px, 11vw, 54px); }
  .marketing-hero .hero-visual { height: 370px; min-height: 370px; }
  .proof-heading h2,
  .closing-cta h2,
  .marketing-page-hero h1 { font-size: clamp(34px, 10vw, 48px); }
  .product-loop-grid,
  .resource-grid,
  #pricing .plan-grid { grid-template-columns: 1fr; }
  .featured-resource { grid-row: auto; min-height: 390px; }
  #pricing .plan { min-height: auto; }
  .signal-group { min-width: 620px; gap: 24px; padding-inline: 24px; }
  .footer-shell { padding-top: 62px; }
  .footer-navigation { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
  .footer-bottom { align-items: flex-start; flex-wrap: wrap; }
  .footer-bottom button { margin-left: 0; }
}

@media (max-width: 420px) {
  .marketing-topbar .brand strong { font-size: 12px; }
  .marketing-hero { padding-inline: 16px; }
  .marketing-hero h1 { font-size: clamp(38px, 11.5vw, 46px); }
  .marketing-hero .lead { margin-block: 21px; font-size: 16px; }
  .marketing-hero .actions { display: grid; }
  .marketing-hero .actions > * { width: 100%; justify-content: center; text-align: center; }
  .marketing-hero .hero-visual { height: 320px; min-height: 320px; }
  .marketing-proof,
  .closing-cta,
  .marketing-page-shell { padding-inline: 16px; }
  .proof-grid article,
  .product-loop-grid article,
  .solution-grid article,
  .resource-card { padding: 22px; }
  .closing-cta { width: calc(100% - 32px); }
  .marketing-page-shell { padding-top: 62px; padding-bottom: 96px; }
  .footer-shell { padding-inline: 16px; }
  .footer-navigation { grid-template-columns: 1fr 1fr; gap: 25px 16px; }
  .footer-status { padding: 18px; }
  .footer-bottom { display: grid; gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  #landing.active,
  .marketing-page.active,
  .landing-ambient span,
  .animated-constellation::before,
  .animated-constellation::after,
  .animated-constellation .sample-lines path,
  .animated-constellation .sample-node,
  .animated-constellation .sample-core,
  .orbit-ring,
  .signal-track,
  .signal-marquee i,
  .footer-ambient span,
  .footer-brand-mark,
  .footer-status-orbit { animation: none !important; }
  .motion-ready [data-reveal] { opacity: 1; transform: none; filter: none; transition: none; }
  .proof-grid article::after { display: none; }
}
