* { box-sizing: border-box; }
html { background: #0b0c0b; }
body { margin: 0; color: #eeeae1; background: #0b0c0b; font-family: Manrope, Arial, sans-serif; }

body > .header {
  height: 76px;
  min-height: 76px;
  padding: 12px clamp(20px, 3.4vw, 64px);
  border-bottom: 1px solid rgba(201, 190, 168, .18);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: #090a09;
}
.brand { color: inherit; text-decoration: none; }
.logo { color: #c7cac7; font-family: Unbounded, Manrope, Arial, sans-serif; font-size: 31px; font-weight: 700; letter-spacing: -.075em; }
.logo em { color: #eeeae1; font-style: italic; }

.products-hero {
  height: auto;
  min-height: calc(100svh - 76px);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #070705;
}
.products-hero::before,
.products-hero::after {
  content: "";
  position: absolute;
  z-index: 0;
  pointer-events: none;
}
.products-hero::before {
  inset: 0;
  background:
    radial-gradient(ellipse 115% 52% at 50% 112%, rgba(224, 146, 49, .16) 0, rgba(133, 72, 20, .08) 34%, transparent 70%),
    linear-gradient(to top, rgba(82, 37, 9, .11), transparent 42%);
}
.products-hero::after {
  display: none;
}
.hero-embers {
  position: absolute;
  z-index: 1;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero-embers i {
  position: absolute;
  left: var(--x);
  bottom: -24px;
  width: calc(var(--size) * 1.6);
  height: calc(var(--size) * 5.1);
  border-radius: 999px;
  opacity: 0;
  background: linear-gradient(#fff3cb, #e8a635 46%, #8a4518);
  box-shadow: 0 0 calc(var(--size) * 5) rgba(238, 171, 62, .68);
  filter: blur(var(--blur));
  transform: rotate(12deg);
  animation: ember-rise var(--d) linear infinite var(--delay);
}
@keyframes ember-rise {
  0% { opacity: 0; transform: translate3d(0, 7vh, 0) rotate(8deg) scale(.85); }
  7% { opacity: calc(var(--alpha) * 1.35); }
  68% { opacity: calc(var(--alpha) * .95); }
  100% { opacity: 0; transform: translate3d(var(--drift), -112vh, 0) rotate(32deg) scale(.25); }
}
.products-stage {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-block: 50px;
  display: flex;
  flex-direction: column;
  gap: 50px;
}
.products-hero__eyebrow {
  position: relative;
  z-index: 2;
  top: auto;
  left: auto;
  width: min(720px, calc(100% - 40px));
  margin: 0 auto;
  color: #d8c8a6;
  font-family: Manrope, Arial, sans-serif;
  font-size: clamp(11px, 1vw, 15px);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: .22em;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
  transform: none;
}
.products-grid {
  width: 90%;
  max-width: 1800px;
  height: auto;
  min-height: 0;
  margin-inline: auto;
  padding: 0 clamp(16px, 2vw, 32px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: clamp(56px, 5vw, 88px);
  row-gap: 0;
  grid-template-rows: 1fr;
  align-items: stretch;
}
.product-direction {
  --card-pad: clamp(36px, 4vw, 58px);
  min-width: 0;
  width: 100%;
  max-width: none;
  height: 582px;
  min-height: 0;
  position: relative;
  z-index: 2;
  container-type: inline-size;
  padding: var(--card-pad);
  padding-top: 48px;
  border: 1px solid rgba(238, 218, 174, .1);
  border-radius: 72px;
  background: rgba(7, 8, 7, .08);
  box-shadow:
    inset 0 1px 0 rgba(255, 239, 204, .12),
    inset 0 -1px 0 rgba(255, 255, 255, .025),
    0 18px 50px rgba(0, 0, 0, .28),
    0 0 24px rgba(194, 139, 54, .035);
  -webkit-backdrop-filter: blur(3px) saturate(125%);
  backdrop-filter: blur(3px) saturate(125%);
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}
.product-direction__content { position: relative; display: flex; flex-direction: column; align-items: stretch; padding-bottom: 76px; }
.product-direction--assistant { grid-column: 1; grid-row: 1; align-self: center; justify-self: stretch; }
.product-direction--hunter {
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  justify-self: stretch;
  text-align: center;
}
.product-direction__illustration {
  display: block;
  width: 173px;
  height: 173px;
  position: relative;
  margin: 0 auto;
  object-fit: contain;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, .6)) drop-shadow(0 0 16px rgba(216, 173, 91, .22));
}
.product-direction__illustration--sprite {
  background-repeat: no-repeat;
  background-size: 300% 300%;
  background-position: 50% 0;
}
.product-direction__speech {
  position: absolute;
  z-index: 2;
  top: 72px;
  left: calc(50% + 68px);
  width: max-content;
  min-width: 92px;
  max-width: 150px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 0 16px 16px 16px;
  background: rgba(9, 9, 7, .84);
  box-shadow: 0 8px 12px rgba(0, 0, 0, .42), 0 0 8px rgba(255, 255, 255, .08);
  color: #ead9b3;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
  opacity: 0;
  transform: translateY(5px) scale(.96);
  transition: opacity 140ms ease, transform 140ms ease;
  pointer-events: none;
}
.product-direction__speech.is-visible { opacity: 1; transform: translateY(0) scale(1); }
.products-hero .rai-heading-1.rai-heading-1,
.products-hero .rai-heading-2.rai-heading-2 {
  margin: 22px 0 0;
  align-self: center;
  color: #eeeae1;
  font-family: Unbounded, Manrope, Arial, sans-serif;
  font-size: clamp(24px, 7.2cqw, 41px);
  font-weight: 600;
  line-height: .98;
  letter-spacing: -.065em;
  text-transform: uppercase;
  white-space: nowrap;
  text-shadow: 0 4px 30px #000;
  overflow-wrap: normal;
  word-break: normal;
}
.product-direction__content .rai-heading-1,
.product-direction__content .rai-heading-2 { margin-top: 22px; }
.product-direction h1 { color: #e4d1a5; }
.product-direction__features {
  width: fit-content;
  max-width: 100%;
  margin: 29px auto 0;
  padding: 0;
  list-style: none;
  font-size: clamp(14px, 1.05vw, 17px);
  line-height: 1.45;
  text-align: left;
  text-shadow: 0 2px 18px #000, 0 2px 8px #000;
}
.product-direction__features li { position: relative; padding-left: 1.25em; }
.product-direction__features li + li { margin-top: 11px; }
.product-direction__features li::before { content: "✦"; position: absolute; left: 0; color: #d8c8a6; }
.product-direction--hunter .product-direction__features { margin-inline: auto; }
.product-direction .rai-button { position: absolute; left: 50%; bottom: var(--card-pad); width: 241px; max-width: calc(100% - 40px); min-height: 54px; margin: 0; padding: 14px 22px; gap: 12px; justify-content: center; font-size: 14px; letter-spacing: normal; white-space: nowrap; transform: translateX(-50%); }
.product-direction .rai-button { margin-right: auto; margin-left: auto; }
.product-direction .rai-button:active { transform: translateX(-50%); }
.product-direction .rai-button__icon { position: static; }
.product-direction.is-loading { overflow: hidden; }
.product-direction.is-loading > * { z-index: 4; }
.product-direction.is-loading::after {
  content: "";
  position: absolute;
  z-index: 3;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(215, 188, 132, .16) 25%, rgba(160, 124, 56, .03) 25% 50%, rgba(215, 188, 132, .16) 50% 75%, rgba(160, 124, 56, .03) 75%);
  background-size: 80px 80px;
  animation: product-card-loading-stripes .7s linear infinite;
}

@keyframes product-card-loading-stripes {
  from { background-position: 0 0; }
  to { background-position: 80px 0; }
}

@media (hover: hover) and (pointer: fine) {
  .product-direction:hover {
    border-color: rgba(239, 204, 132, .32);
    animation: product-card-gold-pulse 3s ease-in-out infinite;
  }
}

@keyframes product-card-gold-pulse {
  0%, 100% {
    box-shadow: inset 0 1px 0 rgba(255, 239, 204, .12), inset 0 -1px 0 rgba(255, 255, 255, .025), 0 18px 50px rgba(0, 0, 0, .28), 0 0 24px rgba(205, 149, 58, .1);
  }
  30%, 60% {
    box-shadow: inset 0 1px 0 rgba(255, 239, 204, .18), inset 0 -1px 0 rgba(255, 255, 255, .04), 0 18px 50px rgba(0, 0, 0, .28), 0 0 90px rgba(229, 174, 76, .24);
  }
}

footer { border-top: 1px solid rgba(201, 190, 168, .18); }

@media (max-width: 1040px) {
  .products-grid { width: 94%; padding-inline: 12px; column-gap: clamp(24px, 3vw, 36px); }
  .product-direction { --card-pad: clamp(30px, 3.5vw, 40px); }
  .products-hero .rai-heading-1.rai-heading-1,
  .products-hero .rai-heading-2.rai-heading-2 { font-size: clamp(24px, 7.2cqw, 32px); }
}

@media (max-width: 850px) {
  body > .header { height: 66px; min-height: 66px; padding: 8px 16px; }
  .logo { font-size: 22px; }
  .rai-header__cta { min-height: 42px; padding-inline: 14px; }
  body > .header .rai-header__cta-full { display: none; }
  body > .header .rai-header__cta-short { display: inline; }
  .products-hero {
    height: auto;
    min-height: 0;
    padding: 0;
    justify-content: flex-start;
    background: #070705;
  }
  .products-hero__eyebrow { top: auto; max-width: calc(100% - 32px); font-size: clamp(8px, 2.2vw, 11px); letter-spacing: .12em; }
  .products-stage { padding-block: 32px; gap: 32px; }
  .products-grid {
    height: auto;
    min-height: 0;
    width: 100%;
    margin-inline: 0;
    padding: 0 18px;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    gap: 32px 0;
  }
  .product-direction { --card-pad: 20px; width: 100%; max-width: none; min-height: 0; height: auto; padding: var(--card-pad); border-color: rgba(238, 218, 174, .28); border-radius: 36px; }
  .product-direction--assistant { grid-column: 1; grid-row: 1; align-self: start; text-align: left; }
  .product-direction--hunter { grid-column: 1; grid-row: 2; align-self: start; justify-self: stretch; margin: 0; text-align: left; }
  .product-direction__content { display: grid; grid-template-columns: clamp(88px, 22vw, 132px) minmax(0, 1fr); grid-template-rows: auto auto; column-gap: clamp(12px, 3vw, 22px); row-gap: 14px; align-items: start; padding-bottom: 74px; }
  .products-hero .rai-heading-1.rai-heading-1,
  .products-hero .rai-heading-2.rai-heading-2 { font-size: clamp(17px, 4.8vw, 25px); line-height: 1.05; white-space: normal; }
  .product-direction__illustration { grid-column: 1; grid-row: 1 / 3; width: 100%; height: auto; margin: 0; align-self: center; }
  .product-direction__illustration--sprite { aspect-ratio: 1; }
  .product-direction__speech { top: calc(42% - 12px); left: clamp(54px, 14vw, 90px); min-width: 72px; max-width: 112px; padding: 8px; font-size: 10px; }
  .product-direction__content .rai-heading-1,
  .product-direction__content .rai-heading-2 { grid-column: 2; grid-row: 1; align-self: end; margin: 0; }
  .product-direction__features { grid-column: 2; grid-row: 2; width: 100%; max-width: 100%; margin: 0; font-size: clamp(12px, 2.6vw, 15px); line-height: 1.35; }
  .product-direction__features li + li { margin-top: 6px; }
  .product-direction--hunter .product-direction__features { margin-inline: 0; }
  .product-direction .rai-button { bottom: 20px; width: 241px; max-width: calc(100% - 40px); min-height: 54px; margin: 0; padding: 14px 22px; gap: 12px; font-size: 14px; letter-spacing: normal; }
  .product-direction .rai-button__icon { position: static; }
}

@media (prefers-reduced-motion: reduce) {
  .products-hero::before,
  .products-hero::after,
  .hero-embers i,
  .product-direction:hover { animation: none; }
  .product-direction.is-loading::after { animation: none; background-position: 50% 0; }
}

@media (max-height: 700px) and (max-width: 700px) {
  .products-hero { row-gap: 10px; }
  .products-grid { padding-block: 0; gap: 12px 0; }
  .products-hero .rai-heading-1.rai-heading-1,
  .products-hero .rai-heading-2.rai-heading-2 { font-size: 24px; }
  .product-direction__features { font-size: 12px; }
  .product-direction .rai-button { min-height: 54px; margin-top: 0; }
}

@media (max-width: 850px) {
  body > .header { height: 44px; min-height: 44px; padding: 5px 12px; }
  body > .header .logo { font-size: 18px; }
  body > .header .rai-header__cta.rai-button { min-height: 26px; padding: 3px 9px; font-size: 10px; gap: 6px; }
  body > .header .rai-header__cta-full { display: none; }
  body > .header .rai-header__cta-short { display: inline; }
  .products-hero { min-height: calc(100dvh - 44px); }
  .products-hero .rai-heading-1.rai-heading-1,
  .products-hero .rai-heading-2.rai-heading-2 { font-size: clamp(16px, 4.2vw, 18px); }
}
