/* Sales page only: centered glass navigation, StarBorder surfaces and revised hero/footer. */
.site-header,
.site-header.is-scrolled {
  inset: 16px auto auto 50%;
  width: min(1080px, calc(100% - 32px));
  transform: translateX(-50%);
  border: 1px solid rgba(212, 183, 255, .34);
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(120deg, rgba(46, 34, 63, .72), rgba(14, 12, 21, .82) 52%, rgba(53, 31, 77, .68));
  box-shadow: inset 0 1px rgba(255, 255, 255, .24), 0 14px 45px #0009, 0 0 32px #8b5cf626;
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  backdrop-filter: blur(22px) saturate(150%);
}
.site-header::after { display: none; }
.header-inner {
  width: 100%;
  min-height: 67px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 12px;
  padding: 8px 11px;
}
.header-inner .brand { justify-self: center; white-space: nowrap; }
.header-inner .brand img { width: 32px; }
.header-inner .menu-trigger { justify-self: start; }
.header-inner .header-cta { justify-self: end; }
.header-nav {
  position: absolute;
  top: calc(100% + 9px);
  left: 10px;
  width: min(260px, calc(100vw - 42px));
  display: grid;
  gap: 3px;
  padding: 10px;
  color: #f8f5ff;
  background: rgba(24, 18, 35, .92);
  border: 1px solid #d4b7ff65;
  border-radius: 20px;
  box-shadow: inset 0 1px #ffffff35, 0 18px 42px #000a;
  -webkit-backdrop-filter: blur(22px);
  backdrop-filter: blur(22px);
}
.header-nav[hidden] { display: none; }
.header-nav a { display: block; padding: 11px 13px; border-radius: 11px; }
.header-nav a:hover,
.header-nav a:focus-visible { background: #8b5cf635; }
.header-nav a::after { display: none; }
.menu-glyph { font-size: 1.14em; line-height: 1; }

.button.star-enhanced,
.plan-action.star-enhanced,
.plan-card.featured .plan-action.star-enhanced,
.plan-card:not(.featured):not(.info-card) .plan-action.star-enhanced {
  padding: 0;
  overflow: visible;
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}
.button.star-enhanced::before { display: none; }
.button.star-enhanced:hover,
.plan-action.star-enhanced:hover,
.plan-card:not(.featured):not(.info-card) .plan-action.star-enhanced:hover {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}
.star-enhanced .star-button-surface {
  width: 100%;
  min-height: 56px;
  padding: 0 22px;
  border: 1px solid #bd91ff;
  font-weight: 850;
  white-space: nowrap;
  box-shadow: inset 0 1px #ffffff40, 0 8px 24px #55249e30;
}
.star-enhanced.secondary .star-button-surface,
.plan-card:not(.featured) .star-enhanced .star-button-surface,
.menu-trigger.star-enhanced .star-button-surface {
  border-color: #8064a8;
  box-shadow: inset 0 1px #ffffff25, 0 8px 24px #0005;
}
.star-enhanced.small .star-button-surface { min-height: 43px; padding: 0 16px; }
.menu-trigger.star-enhanced .star-button-surface { gap: 9px; }
.plan-action.star-enhanced { width: 100%; }
.plan-action.star-enhanced .star-button-surface { min-height: 59px; justify-content: space-between; }
.star-enhanced:focus-visible { outline: 2px solid #ddbeff; outline-offset: 4px; }

.final-scene { min-height: 0; padding: 100px 0 76px; background: #08080c; }
.final-inner { min-height: 0; display: block; }
.final-inner .section-label { margin-bottom: 28px; }
.final-brand {
  width: calc(100vw - 32px);
  max-width: none;
  margin: 0 0 0 calc(50% - 50vw + 16px);
  color: #b26cff;
  font-family: var(--body);
  font-size: 18vw;
  font-weight: 900;
  letter-spacing: -.085em;
  line-height: .9;
  text-align: center;
  white-space: nowrap;
  text-shadow: 0 0 45px #8b5cf636;
}
.final-brand span { display: inline-block; }
.final-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid #ffffff2d;
}
.final-bottom p { max-width: 460px; margin: 0; color: #bcb6c5; }
.final-bottom .button { flex: 0 0 auto; }

@media (max-width: 820px) {
  .site-header,
  .site-header.is-scrolled { top: 11px; width: calc(100% - 22px); }
  .header-inner { min-height: 56px; padding: 7px; gap: 4px; }
  .header-inner .brand { gap: 5px; }
  .header-inner .brand img { width: 27px; }
  .header-inner .brand span { font-size: .91rem; }
  .header-inner .button.small { min-height: 38px; }
  .star-enhanced.small .star-button-surface { min-height: 38px; padding: 0 10px; }
  .header-nav { display: grid; }
  .header-nav > a:not(.button) { display: block; }
  .hero { min-height: 0; padding: 112px 0 72px; }
  .hero-inner {
    width: calc(100% - 30px);
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    grid-template-areas: "eyebrow eyebrow" "title visual" "lead lead" "actions actions";
    align-items: center;
    gap: 12px 10px;
    text-align: left;
  }
  .hero-copy { display: contents; }
  .hero .eyebrow { grid-area: eyebrow; margin: 0; font-size: .68rem; }
  .hero-title { grid-area: title; position: relative; z-index: 3; font-size: clamp(2.6rem, 10.8vw, 5.5rem); line-height: .94; }
  .title-line > span { white-space: normal; }
  .hero-visual {
    grid-area: visual;
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 0;
    margin: 0;
    align-self: center;
  }
  .hero-mascot {
    position: static;
    width: 100%;
    max-width: 100%;
    max-height: 390px;
    height: auto;
    object-fit: contain;
    transform: none;
  }
  .hero-lead { grid-area: lead; position: relative; z-index: 3; max-width: 620px; margin: 10px 0 8px; }
  .hero-actions { grid-area: actions; position: relative; z-index: 3; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; margin: 0; }
  .hero-actions .button { width: 100%; min-width: 0; }
  .hero-actions .star-button-surface { white-space: normal; text-align: center; }
  .hero-word,
  .hero::after { display: none; }
  .final-scene { padding: 82px 0 58px; }
}

@media (max-width: 560px) {
  .hero-title { font-size: clamp(2.6rem, 10.8vw, 4rem); }
  .hero-visual { min-height: 0; }
  .hero-mascot { width: 100%; max-height: 300px; bottom: auto; }
  .hero-actions { grid-template-columns: 1fr; }
  .hero-lead { font-size: 1rem; }
  .final-brand { width: calc(100vw - 24px); margin-left: calc(50% - 50vw + 12px); }
  .final-bottom { display: grid; gap: 20px; }
  .final-bottom .button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .star-enhanced .star-button-surface { transition: none; }
}
