.hero--premium {
  --hero-header-offset: 4.8rem;
  position: relative;
  min-height: min(86vh, 820px);
  display: flex;
  align-items: stretch;
  overflow: hidden;
  border: 0;
  background: #f4efe6;
  color: #1a1714;
}

.hero--premium::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(62, 39, 35, .16), transparent);
}

.hero--premium .hero-atmosphere {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero--premium .hero-atmosphere__mesh {
  position: absolute;
  inset: -18%;
  background:
    radial-gradient(ellipse 55% 45% at 18% 28%, rgba(139, 69, 19, .18), transparent 58%),
    radial-gradient(ellipse 50% 48% at 82% 22%, rgba(93, 64, 55, .14), transparent 55%),
    radial-gradient(ellipse 48% 42% at 72% 78%, rgba(245, 240, 232, .9), transparent 52%),
    radial-gradient(ellipse 42% 38% at 28% 82%, rgba(180, 120, 90, .16), transparent 58%),
    linear-gradient(145deg, #f7f2ea 0%, #efe6d8 42%, #e8ddd0 100%);
  animation: premiumWash 16s ease-in-out infinite alternate;
}

.hero--premium .hero-atmosphere__mesh--wire {
  opacity: .45;
  mix-blend-mode: multiply;
  background:
    radial-gradient(circle at 30% 40%, transparent 0 38%, rgba(62, 39, 35, .05) 39% 40%, transparent 41%),
    radial-gradient(circle at 70% 55%, transparent 0 32%, rgba(139, 69, 19, .06) 33% 34%, transparent 35%),
    repeating-linear-gradient(
      118deg,
      transparent 0 34px,
      rgba(62, 39, 35, .025) 34px 35px
    );
  animation: premiumWire 22s linear infinite;
}

.hero--premium .hero-atmosphere__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(48px);
  opacity: .55;
  animation: premiumOrb 18s ease-in-out infinite alternate;
}

.hero--premium .hero-atmosphere__orb--a {
  width: min(48vw, 420px);
  height: min(48vw, 420px);
  top: -8%;
  right: 8%;
  background: rgba(210, 160, 120, .45);
}

.hero--premium .hero-atmosphere__orb--b {
  width: min(36vw, 320px);
  height: min(36vw, 320px);
  bottom: 4%;
  left: 6%;
  background: rgba(93, 64, 55, .18);
  animation-delay: -6s;
}

.hero--premium .hero-atmosphere__orb--c {
  width: min(28vw, 240px);
  height: min(28vw, 240px);
  top: 42%;
  left: 42%;
  background: rgba(255, 255, 255, .55);
  animation-delay: -11s;
}

.hero--premium .hero-atmosphere__wash {
  position: absolute;
  inset: -25%;
  background:
    radial-gradient(circle at 78% 48%, rgba(255, 255, 255, .35), transparent 28%),
    radial-gradient(circle at 12% 18%, rgba(255, 252, 246, .4), transparent 30%);
  animation: premiumWash 14s ease-in-out infinite alternate;
}

.hero--premium .hero-atmosphere__beam {
  position: absolute;
  top: -20%;
  right: 5%;
  width: 48%;
  height: 150%;
  background: linear-gradient(112deg, transparent 20%, rgba(255, 255, 255, .22), transparent 72%);
  transform: rotate(-7deg);
}

.hero--premium .hero-stage {
  position: relative;
  z-index: 2;
  width: var(--wrap);
  max-width: none;
  min-height: min(86vh, 820px);
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
  padding-block: clamp(2rem, 5vh, 4rem);
  color: inherit;
}

.hero--premium .hero-copy {
  max-width: 40rem;
}

.hero--premium .hero-brand {
  width: 100%;
  margin: 0 0 clamp(1rem, 2.2vh, 1.75rem);
  padding: 0 0 .65rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid rgba(62, 39, 35, .14);
  font-family: var(--font-body);
  font-size: .66rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(62, 39, 35, .48);
}

.hero--premium .hero-brand::after { display: none; }
.hero--premium .hero-brand span:first-child { color: #1a1714; }

.hero--premium .hero-headline {
  max-width: none;
  margin: 0 0 clamp(.85rem, 1.8vh, 1.25rem);
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 4.6vw, 4.6rem);
  font-weight: 400;
  line-height: .96;
  letter-spacing: -.06em;
  color: #1a1714;
}

.hero--premium .hero-headline span {
  display: block;
  color: rgba(62, 39, 35, .42);
}

.hero--premium .hero-sub {
  max-width: 34rem;
  margin: 0 0 clamp(1rem, 2vh, 1.5rem);
  font-family: var(--font-body);
  font-size: clamp(.92rem, 1.15vw, 1.05rem);
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: .01em;
  color: rgba(26, 23, 20, .62);
}

.hero--premium .hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin: 0 0 clamp(1rem, 2vh, 1.5rem);
}

.hero--premium .hero-cta .btn {
  min-height: 2.75rem;
  padding: .65rem 1.1rem;
  border-radius: 2px;
  font-size: .74rem;
}

.hero--premium .hero-cta .btn--primary {
  background: #1a1714;
  border-color: #1a1714;
  color: #f7f2ea;
}
.hero--premium .hero-cta .btn--primary:hover {
  background: #3e2723;
  border-color: #3e2723;
  color: #f7f2ea;
}
.hero--premium .hero-cta .btn--ghost {
  border-color: rgba(62, 39, 35, .28);
  color: #1a1714;
  background: rgba(255, 255, 255, .35);
}
.hero--premium .hero-cta .btn--ghost:hover {
  background: rgba(255, 255, 255, .7);
  border-color: rgba(62, 39, 35, .5);
  color: #1a1714;
}

.hero--premium .hero-engines {
  max-width: 42rem;
  padding-top: .75rem;
  border-top: 1px solid rgba(62, 39, 35, .12);
}
.hero--premium .hero-engines__label { color: rgba(62, 39, 35, .4); }
.hero--premium .hero-engines__list {
  gap: .5rem .95rem;
}
.hero--premium .hero-engines__list li {
  color: rgba(26, 23, 20, .68);
  font-size: .74rem;
}
.hero--premium .hero-engines__list li:not(:last-child)::after {
  content: none;
}
.hero--premium .hero-engines__logo {
  width: 1rem;
  height: 1rem;
  opacity: .72;
}

.hero-signal {
  position: relative;
  width: min(100%, 500px);
  aspect-ratio: 1;
  justify-self: end;
  isolation: isolate;
}

.hero-signal__halo {
  position: absolute;
  inset: 13%;
  border-radius: 50%;
  background: rgba(255,255,255,.045);
  filter: blur(24px);
}

.hero-signal__orbit {
  position: absolute;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 50%;
}
.hero-signal__orbit--outer { inset: 2%; animation: orbitSpin 28s linear infinite; }
.hero-signal__orbit--middle { inset: 18%; animation: orbitSpinReverse 22s linear infinite; }
.hero-signal__orbit--inner { inset: 34%; border-color: rgba(255,255,255,.24); }

.hero-signal__orbit::before,
.hero-signal__orbit::after,
.hero-signal__orbit i {
  content: "";
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #f5f5f2;
  box-shadow: 0 0 0 6px rgba(255,255,255,.06);
}
.hero-signal__orbit--outer::before { top: 13%; left: 20%; }
.hero-signal__orbit--outer::after { right: 7%; bottom: 31%; }
.hero-signal__orbit--outer i:first-child { left: 7%; bottom: 30%; }
.hero-signal__orbit--outer i:last-child { top: 3%; right: 31%; }
.hero-signal__orbit--middle::before { top: 5%; left: 48%; }
.hero-signal__orbit--middle::after { right: 3%; bottom: 44%; }
.hero-signal__orbit--middle i { left: 12%; bottom: 18%; }

.hero-signal__core {
  position: absolute;
  inset: 37%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  border: 1px solid rgba(255,255,255,.28);
  background: #101010;
  box-shadow: 0 24px 70px rgba(0,0,0,.46), inset 0 0 28px rgba(255,255,255,.025);
}
.hero-signal__core svg {
  width: 36px;
  height: 36px;
  color: #f5f5f2;
}
.hero-signal__core span {
  font-size: .58rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.46);
}

.hero-signal__label {
  position: absolute;
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .6rem .75rem;
  border: 1px solid rgba(255,255,255,.15);
  background: rgba(14,14,14,.82);
  box-shadow: 0 16px 36px rgba(0,0,0,.3);
  backdrop-filter: blur(12px);
  color: rgba(255,255,255,.66);
  font-size: .63rem;
  letter-spacing: .04em;
}
.hero-signal__label span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #f5f5f2;
}
.hero-signal__label--one { top: 12%; right: -2%; }
.hero-signal__label--two { left: -2%; top: 48%; }
.hero-signal__label--three { right: 3%; bottom: 11%; }

@keyframes orbitSpin { to { transform: rotate(360deg); } }
@keyframes orbitSpinReverse { to { transform: rotate(-360deg); } }
@keyframes premiumWash {
  from { transform: translate3d(-1%, 0, 0) scale(1); }
  to { transform: translate3d(1%, 1%, 0) scale(1.03); }
}
@keyframes premiumWire {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-1.5%, 1%, 0); }
}
@keyframes premiumOrb {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(3%, -2%, 0) scale(1.08); }
}

@media (min-width: 901px) {
  .hero--premium {
    min-height: calc(100svh - var(--hero-header-offset));
    height: calc(100svh - var(--hero-header-offset));
    max-height: calc(100svh - var(--hero-header-offset));
  }

  .hero--premium .hero-stage {
    min-height: 0;
    height: 100%;
    padding-block: clamp(.85rem, 2.4vh, 1.75rem);
    gap: clamp(1.5rem, 3.5vw, 3rem);
    align-items: center;
  }

  .hero--premium .hero-demo {
    width: min(100%, 460px);
    height: min(24.75rem, calc(100svh - var(--hero-header-offset) - 2.5rem));
  }
}

@media (min-width: 901px) and (max-height: 780px) {
  .hero--premium .hero-headline {
    font-size: clamp(2.2rem, 4vw, 3.4rem);
  }

  .hero--premium .hero-brand {
    margin-bottom: .75rem;
  }

  .hero--premium .hero-engines__list li {
    font-size: .68rem;
  }

  .hero--premium .hero-demo {
    height: min(22.5rem, calc(100svh - var(--hero-header-offset) - 2rem));
  }

  .hero--premium .hero-demo__body {
    gap: .75rem;
    padding: .9rem 1rem .75rem;
  }

  .hero--premium .hero-demo__message--ai {
    padding-top: .6rem;
  }

  .hero--premium .hero-demo__response {
    min-height: 0;
  }

  .hero--premium .hero-demo__answer {
    min-height: calc(1.55em * 2.75);
    max-height: calc(1.55em * 3.5);
  }
}

@media (max-width: 900px) {
  .hero--premium { min-height: auto; height: auto; max-height: none; }
  .hero--premium .hero-stage {
    min-height: auto;
    height: auto;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding-block: 3.5rem 4rem;
  }
  .hero--premium .hero-copy { max-width: 46rem; }
  .hero--premium .hero-headline { max-width: none; }
  .hero-signal {
    width: min(88vw, 480px);
    justify-self: center;
  }
}

@media (max-width: 560px) {
  .hero--premium .hero-stage { padding-block: 3.5rem 4.5rem; }
  .hero--premium .hero-brand {
    align-items: flex-start;
    flex-direction: column;
    gap: .4rem;
  }
  .hero--premium .hero-headline {
    font-size: clamp(2.4rem, 10vw, 3.4rem);
  }
  .hero--premium .hero-cta { align-items: stretch; flex-direction: column; }
  .hero--premium .hero-cta .btn { width: 100%; }
  .hero--premium .hero-engines { align-items: flex-start; flex-direction: column; }
  .hero-signal__label { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .hero--premium .hero-atmosphere__wash,
  .hero--premium .hero-atmosphere__mesh,
  .hero--premium .hero-atmosphere__orb,
  .hero-signal__orbit { animation: none !important; }
}

/* Live AI citation demo */
.hero-demo {
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(100%, 480px);
  height: 24.75rem;
  justify-self: end;
  overflow: hidden;
  border: 1px solid rgba(62, 39, 35, .12);
  border-radius: 12px;
  background: rgba(255, 252, 247, .92);
  color: #111;
  box-shadow: 0 20px 50px rgba(62, 39, 35, .12);
  backdrop-filter: blur(10px);
  transform: perspective(1200px) rotateY(-2deg);
  transform-origin: center right;
}

.hero-demo::before {
  content: "";
  position: absolute;
  inset: -25%;
  z-index: -1;
  background: radial-gradient(circle, rgba(210, 160, 120, .22), transparent 58%);
  filter: blur(36px);
}

.hero-demo__chrome {
  flex-shrink: 0;
  min-height: 2.5rem;
  padding: 0 .85rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: .8rem;
  border-bottom: 1px solid #e4e4e0;
  color: #777;
  background: #ecece8;
  font-size: .58rem;
  letter-spacing: .06em;
}

.hero-demo__dots {
  display: flex;
  gap: .3rem;
}
.hero-demo__dots i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #b9b9b3;
}
.hero-demo__live {
  display: flex;
  align-items: center;
  gap: .35rem;
  color: #52524e;
}
.hero-demo__live i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #4e8d63;
  box-shadow: 0 0 0 4px rgba(78,141,99,.12);
}

.hero-demo__body {
  flex: 1 1 auto;
  min-height: 0;
  padding: 1rem 1.15rem 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  overflow: hidden;
}

.hero-demo__message {
  display: flex;
  flex-direction: column;
  gap: .45rem;
  min-width: 0;
}

.hero-demo__label {
  display: block;
  margin: 0;
  padding-left: calc(2rem + .8rem);
  color: #999;
  font-size: .52rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.hero-demo__row {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr);
  gap: .8rem;
  align-items: start;
}

.hero-demo__avatar {
  width: 2rem;
  height: 2rem;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  margin-top: .1rem;
  border: 1px solid #d8d8d3;
  border-radius: 50%;
  background: #fff;
  color: #444;
  font-size: .62rem;
  line-height: 1;
}

.hero-demo__message--ai .hero-demo__avatar {
  background: #111;
  border-color: #111;
  color: #fff;
}

.hero-demo__avatar svg {
  width: .85rem;
  height: .85rem;
}

.hero-demo__text,
.hero-demo__message p {
  margin: 0;
  color: #252522;
  font-size: clamp(.78rem, 1.1vw, .9rem);
  line-height: 1.55;
}

.hero-demo__message--user {
  flex: 0 0 auto;
}

.hero-demo__message--user .hero-demo__text {
  min-height: calc(1.55em * 2);
  font-weight: 600;
  line-height: 1.55;
  padding-top: .18rem;
}

.hero-demo__caret {
  display: none;
  width: 1px;
  height: 1.05em;
  margin-left: 2px;
  vertical-align: -.12em;
  background: #111;
  animation: demoCaret .72s steps(1) infinite;
}
.hero-demo.is-querying .hero-demo__caret { display: inline-block; }

.hero-demo__message--ai {
  flex: 1 1 auto;
  min-height: 0;
  padding-top: .7rem;
  border-top: 1px solid #e5e5e1;
  overflow: hidden;
}

.hero-demo__message--ai .hero-demo__row {
  min-height: 0;
  height: 100%;
  align-items: stretch;
}

.hero-demo__response {
  position: relative;
  min-width: 0;
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: .55rem;
  padding-top: .18rem;
  overflow: hidden;
}

.hero-demo__thinking {
  position: absolute;
  left: 0;
  top: .18rem;
  z-index: 1;
  display: none;
  align-items: center;
  gap: .28rem;
  min-height: 1.55rem;
  pointer-events: none;
}
.hero-demo__thinking i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #777;
  animation: demoThinking 1s ease-in-out infinite;
}
.hero-demo__thinking i:nth-child(2) { animation-delay: 140ms; }
.hero-demo__thinking i:nth-child(3) { animation-delay: 280ms; }
.hero-demo__thinking span {
  margin-left: .35rem;
  color: #999;
  font-size: .56rem;
}
.hero-demo.is-thinking .hero-demo__thinking { display: flex; }
.hero-demo.is-thinking .hero-demo__answer,
.hero-demo.is-thinking .hero-demo__citation {
  visibility: hidden;
}

.hero-demo__answer {
  flex: 0 1 auto;
  min-height: calc(1.55em * 3);
  max-height: calc(1.55em * 4);
  overflow: hidden;
}
.hero-demo.is-answering .hero-demo__answer::after {
  content: "";
  display: inline-block;
  width: 1px;
  height: 1.05em;
  margin-left: 3px;
  vertical-align: -.12em;
  background: #111;
  animation: demoCaret .72s steps(1) infinite;
}

.hero-demo__citation {
  margin-top: .35rem;
  margin-bottom: 0;
  padding: .55rem .65rem;
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr) auto;
  align-items: center;
  gap: .55rem;
  flex: 0 0 auto;
  min-height: 2.85rem;
  border: 1px solid #deded9;
  border-radius: 7px;
  background: #fff;
  color: #111;
  text-decoration: none;
  opacity: 0;
  transform: translateY(4px);
  pointer-events: none;
  transition: opacity 420ms ease, transform 420ms ease, border-color 180ms ease;
}
.hero-demo.is-complete .hero-demo__citation {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.hero-demo__citation:hover {
  border-color: #9a9a94;
  color: #111;
}
.hero-demo__citation-mark {
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  background: #111;
  color: #fff;
}
.hero-demo__citation-mark svg { width: 1.15rem; height: 1.15rem; }
.hero-demo__citation > span:nth-child(2) { min-width: 0; }
.hero-demo__citation strong {
  display: block;
  margin-bottom: .12rem;
  font-size: .68rem;
}
.hero-demo__citation small {
  margin: 0;
  overflow: hidden;
  color: #888;
  font-size: .54rem;
  letter-spacing: 0;
  text-overflow: ellipsis;
  text-transform: none;
  white-space: nowrap;
}
.hero-demo__citation em {
  color: #777;
  font-size: .52rem;
  font-style: normal;
  white-space: nowrap;
}

.hero-demo__footer {
  flex-shrink: 0;
  min-height: 2.25rem;
  padding: 0 .85rem;
  display: flex;
  align-items: center;
  gap: .7rem;
  border-top: 1px solid #e4e4e0;
  background: #ecece8;
  color: #8b8b85;
  font-size: .52rem;
}
.hero-demo__footer strong {
  margin-left: auto;
  color: #999;
  font-weight: 400;
}

.hero-demo.is-resetting .hero-demo__body {
  opacity: .22;
  transition: opacity 300ms ease;
}

@keyframes demoCaret { 50% { opacity: 0; } }
@keyframes demoThinking {
  0%, 60%, 100% { transform: translateY(0); opacity: .35; }
  30% { transform: translateY(-3px); opacity: 1; }
}

@media (max-width: 900px) {
  .hero-demo {
    width: min(100%, 580px);
    height: 25.5rem;
    justify-self: center;
    transform: none;
  }
}

@media (max-width: 560px) {
  .hero-demo {
    height: 26rem;
  }
  .hero-demo__body {
    padding: .95rem .95rem .8rem;
  }
  .hero-demo__response {
    min-height: 0;
  }
  .hero-demo__citation {
    grid-template-columns: 2rem minmax(0, 1fr);
  }
  .hero-demo__citation em { display: none; }
  .hero-demo__footer span { display: none; }
  .hero-demo__footer strong { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-demo,
  .hero-demo *,
  .hero-demo *::after {
    animation: none !important;
    transition: none !important;
  }
}
