.anchor-target {
  position: absolute;
  top: 0;
}

.site-header {
  height: var(--site-header-height);
  padding-block: 7px;
  position: sticky;
  top: 0;
  background: #06070be8;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

:root {
  --site-header-height: clamp(72px, 9.5svh, 86px);
}

main {
  overflow: visible;
}

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

.brand {
  padding: 6px 9px;
  border-radius: 9px;
}

.brand img {
  width: clamp(164px, 13.6vw, 196px);
}

.hero {
  min-height: 0;
  height: calc(100svh - var(--site-header-height));
  overflow: hidden;
}

.hero-copy {
  padding-block: clamp(24px, 6svh, 58px);
}

.hero-copy h1 {
  margin-block: clamp(17px, 3.3svh, 30px) clamp(14px, 2.5svh, 24px);
  font-size: clamp(2.9rem, min(6vw, 9svh), 6.35rem);
}

.hero-copy > p {
  max-width: 710px;
  font-size: clamp(0.88rem, min(1.1rem, 2.2svh), 1.1rem);
  line-height: 1.65;
}

.hero-actions {
  margin-top: clamp(20px, 4svh, 38px);
}

.hero-visual {
  min-height: 0;
  height: min(64svh, 560px);
}

.logo-stage {
  width: clamp(300px, min(32vw, 52svh), 400px);
  height: clamp(300px, min(32vw, 52svh), 400px);
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.hero-visual .logo-stage img {
  width: 100%;
  max-width: none;
  border-radius: 0;
  mix-blend-mode: normal;
  filter: drop-shadow(0 28px 55px rgba(20, 81, 255, .24));
}

.orbit-one {
  width: clamp(325px, min(35vw, 57svh), 450px);
  height: clamp(325px, min(35vw, 57svh), 450px);
}

.orbit-two {
  width: clamp(385px, min(41vw, 66svh), 525px);
  height: clamp(385px, min(41vw, 66svh), 525px);
}

.scroll-note {
  bottom: clamp(12px, 2.6svh, 25px);
}

.cta-section {
  margin-top: 110px;
}

.footer-capabilities {
  margin-top: 0;
}

footer {
  grid-template-columns: 1fr 1fr 1fr;
  display: grid;
}

.footer-left {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
}

.footer-left small,
.footer-email {
  color: #747887;
  font-family: inherit;
  font-size: .7rem;
  font-weight: 400;
  letter-spacing: .01em;
  line-height: 1.5;
}

footer > p {
  text-align: center;
}

.nori-chat {
  position: fixed;
  z-index: 50;
  right: 24px;
  bottom: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  color: #f4f1e9;
  cursor: grab;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  will-change: left, top;
}

.nori-chat.is-dragging {
  cursor: grabbing;
}

.nori-chat .nori-waving {
  position: static;
  width: clamp(125px, 11vw, 190px);
  height: auto;
  user-select: none;
  -webkit-user-drag: none;
  filter: drop-shadow(0 18px 34px rgba(22, 85, 255, .28));
  opacity: 1;
  transition:
    opacity .22s ease,
    transform .42s cubic-bezier(.2, .8, .2, 1),
    filter .42s ease;
}

.nori-chat .nori-waving:not([src]) {
  opacity: 0;
}

.nori-chat.is-changing-mood .nori-waving {
  opacity: 0;
  transform: translateY(8px) scale(.92);
  filter: blur(3px) drop-shadow(0 18px 34px rgba(22, 85, 255, .12));
}

.nori-chat.is-sleeping .nori-waving {
  filter: drop-shadow(0 16px 30px rgba(80, 105, 255, .22));
}

.nori-chat span {
  border: 1px solid #6681ff55;
  border-radius: 100px;
  background: #0d111ee8;
  padding: 8px 14px;
  font-size: .72rem;
  font-weight: 650;
  white-space: nowrap;
  box-shadow: 0 10px 28px #0008;
  transform: translateY(6px);
}

.nori-chat:hover:not(.is-sleeping):not(.is-changing-mood) .nori-waving {
  transform: translateY(-4px) rotate(2deg);
}

.nori-chat.is-dragging .nori-waving {
  transform: none;
}

@media (max-width: 640px) {
  :root {
    --site-header-height: 70px;
  }

  .site-header {
    height: var(--site-header-height);
    padding-block: 6px;
  }

  .brand {
    padding: 5px 6px;
  }

  .brand img {
    width: 136px;
  }

  .hero {
    min-height: auto;
    height: auto;
    max-height: none;
    overflow: visible;
  }

  .nori-chat {
    right: 6px;
    bottom: 8px;
  }

  .nori-chat .nori-waving {
    width: 112px;
  }

  .nori-chat span {
    padding: 6px 10px;
    font-size: .62rem;
  }

  .cta-section {
    margin-top: 40px;
  }

  footer {
    grid-template-columns: 1fr;
  }

  .footer-left {
    align-items: center;
  }
}

@media (max-width: 900px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .site-header {
    width: calc(100% - 30px);
    z-index: 120;
    overflow: visible;
  }

  .mobile-nav-toggle {
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 50%;
    display: grid;
    place-content: center;
    gap: 5px;
    color: #f4f1e9;
    cursor: pointer;
    position: relative;
    z-index: 2;
  }

  .mobile-nav-toggle span {
    width: 18px;
    height: 1.5px;
    border-radius: 99px;
    background: currentColor;
    transition: transform .25s ease, opacity .2s ease;
  }

  .site-header.nav-open .mobile-nav-toggle span:first-child {
    transform: translateY(6.5px) rotate(45deg);
  }

  .site-header.nav-open .mobile-nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  .site-header.nav-open .mobile-nav-toggle span:last-child {
    transform: translateY(-6.5px) rotate(-45deg);
  }

  .site-header > nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 18px;
    background: rgba(9,11,18,.97);
    box-shadow: 0 24px 70px rgba(0,0,0,.58);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px) scale(.985);
    transform-origin: top;
    transition: opacity .2s ease, transform .24s ease, visibility .2s;
  }

  .site-header.nav-open > nav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }

  .site-header > nav > a,
  .site-header > nav > a:not(.nav-cta) {
    display: flex;
    align-items: center;
    min-height: 50px;
    padding: 0 16px;
    border-radius: 12px;
    font-size: .95rem;
  }

  .site-header > nav > a:not(.nav-cta):hover,
  .site-header > nav > a[aria-current="page"] {
    background: rgba(255,255,255,.055);
  }

  .site-header > nav .nav-cta {
    width: 100%;
    height: auto;
    min-height: 50px;
    margin-top: 6px;
    padding: 0 16px;
    justify-content: space-between;
    border-radius: 12px;
    font-size: .95rem;
    background: linear-gradient(120deg, rgba(21,108,246,.92), rgba(112,72,245,.92));
  }

  .site-header > nav .nav-cta svg {
    display: block;
  }

  .intro-strip {
    max-width: 100%;
    overflow: hidden;
  }

  .section-shell,
  footer {
    max-width: calc(100% - 30px);
  }
}

@media (max-width: 420px) {
  .brand img {
    width: 124px;
  }

  .mobile-nav-toggle {
    width: 40px;
    height: 40px;
  }

  .hero-copy h1 {
    font-size: clamp(2.65rem, 13vw, 3.2rem);
    line-height: .98;
  }

  .hero-copy {
    padding-top: 42px;
  }

  .hero-visual {
    min-height: 365px;
    margin-inline: -15px;
    transform: scale(.76);
  }

  .hero-actions {
    width: 100%;
  }

  .hero-actions .primary-button {
    width: 100%;
  }

  .cta-section h2 {
    font-size: clamp(2.2rem, 11vw, 3rem);
  }

  .intro-strip {
    gap: 10px;
    padding-inline: 10px;
  }

  .intro-strip i {
    display: none;
  }

  .intro-strip p {
    font-size: .52rem;
  }
}

@media (min-width: 641px) and (max-height: 700px) {
  .status-pill {
    padding: 7px 12px;
  }

  .hero-copy h1 {
    font-size: clamp(2.8rem, 8.1svh, 4.25rem);
  }

  .hero-copy > p {
    line-height: 1.5;
  }

  .primary-button {
    min-height: 47px;
  }

  .floating-card {
    transform: scale(0.9);
  }
}
/* Keep every hero orbit marker centered exactly on its ring. */
.hero-visual > .orbit::after {
  top: 50%;
  left: 0;
  transform: translate(-50%, -50%);
}

.footer-email {
  text-decoration: none;
  transition: color 180ms ease;
}

.footer-separator {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #4e79ff;
  box-shadow: 0 0 8px rgba(78, 121, 255, .65);
}

.footer-email:hover,
.footer-email:focus-visible {
  color: #a9bbff;
}

@media (max-width: 640px) {
  .footer-left {
    justify-content: center;
  }
}
