.product-page {
  --product-accent: #8bd19a;
  --product-accent-soft: #c8efc7;
  --product-gold: #d7b66b;
  --product-panel: rgba(13, 29, 19, .82);
  --product-line: rgba(196, 228, 198, .15);
  background:
    radial-gradient(circle at 10% 16%, rgba(92, 174, 107, .12), transparent 34rem),
    radial-gradient(circle at 92% 42%, rgba(215, 182, 107, .07), transparent 30rem),
    #061009;
}

.product-page main { overflow: clip; }
.product-page .product-section { padding: 112px 0; }
.product-page .product-section:not(:first-child) { content-visibility: auto; contain-intrinsic-size: 900px; }
.product-section--quiet { border-block: 1px solid var(--product-line); background: rgba(11, 26, 17, .56); }
.product-section--compact { padding-block: 72px; }
.product-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--product-accent-soft);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .13em;
  line-height: 1.35;
  text-transform: uppercase;
}
.product-kicker::before { width: 25px; height: 1px; content: ""; background: currentColor; opacity: .72; }
.product-heading { max-width: 820px; margin-bottom: 46px; }
.product-heading h2 { margin: 13px 0 18px; }
.product-heading p { max-width: 690px; margin-bottom: 0; color: var(--muted); font-size: 18px; }
.product-heading--center { margin-inline: auto; text-align: center; }
.product-heading--center .product-kicker { justify-content: center; }
.product-heading--center p { margin-inline: auto; }

.product-hero {
  position: relative;
  min-height: calc(100svh - 116px);
  display: grid;
  align-items: center;
  padding: 76px 0 64px;
  isolation: isolate;
}
.product-hero::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  content: "";
  background:
    linear-gradient(90deg, #061009 0%, rgba(6, 16, 9, .94) 36%, rgba(6, 16, 9, .6) 67%, #061009 100%),
    linear-gradient(0deg, #061009 0%, rgba(6, 16, 9, .06) 45%),
    var(--product-hero-image) 64% center / cover no-repeat;
  filter: saturate(.88) contrast(1.04);
}
.product-hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    radial-gradient(circle at 70% 42%, rgba(116, 199, 132, .11), transparent 28%),
    linear-gradient(115deg, transparent 52%, rgba(215, 182, 107, .05));
}
.product-hero__grid { display: grid; grid-template-columns: minmax(0, .94fr) minmax(470px, 1.06fr); gap: 58px; align-items: center; }
.product-hero__copy { max-width: 720px; }
.product-hero__copy .product-kicker { margin-bottom: 22px; }
.product-hero__copy h1 { margin-bottom: 23px; font-size: clamp(3.7rem, 7vw, 6.7rem); }
.product-hero__copy .lead { margin-bottom: 30px; }
.product-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.product-hero__facts { margin: 26px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.product-hero__facts li { min-height: 33px; display: inline-flex; align-items: center; padding: 0 11px; border: 1px solid rgba(196, 228, 198, .15); border-radius: 999px; background: rgba(7, 19, 10, .58); color: #becabd; font-size: 11px; font-weight: 800; }

.product-stage { position: relative; min-width: 0; padding: 44px 20px 40px; }
.product-stage::before {
  position: absolute;
  inset: 7% 4% 0;
  border: 1px solid rgba(139, 209, 154, .16);
  border-radius: 50%;
  content: "";
  background: radial-gradient(circle, rgba(70, 151, 86, .13), transparent 66%);
  filter: blur(1px);
}
.product-stage__frame { position: relative; z-index: 2; overflow: hidden; border: 1px solid rgba(198, 231, 200, .22); border-radius: 23px; background: #09150d; box-shadow: 0 34px 100px rgba(0, 0, 0, .52), 0 0 0 7px rgba(4, 12, 6, .32); transform: perspective(1200px) rotateY(-3deg) rotateX(1.5deg); transform-origin: center; }
.product-stage__bar { min-height: 42px; display: flex; align-items: center; gap: 7px; padding: 0 14px; border-bottom: 1px solid var(--product-line); background: #101f15; }
.product-stage__bar i { width: 7px; height: 7px; border-radius: 50%; background: rgba(231, 241, 228, .22); }
.product-stage__bar span { margin-left: 7px; color: #9aab9c; font-size: 10px; }
.product-stage__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.product-stage__media img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.product-stage__media::after { position: absolute; inset: 0; pointer-events: none; content: ""; box-shadow: inset 0 -45px 70px rgba(4, 12, 6, .2); }
.stage-chip { position: absolute; z-index: 4; min-width: 144px; padding: 12px 14px; border: 1px solid rgba(199, 230, 201, .22); border-radius: 14px; background: rgba(9, 23, 13, .88); box-shadow: 0 16px 40px rgba(0,0,0,.32); backdrop-filter: blur(12px); }
.stage-chip small { display: block; color: #90a592; font-size: 9px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.stage-chip b { display: block; margin-top: 2px; color: var(--ivory); font-size: 12px; }
.stage-chip--one { left: -8px; bottom: 6px; }
.stage-chip--two { right: 0; top: 3px; }
.stage-chip--three { right: -10px; bottom: 28px; }

.product-index { border-block: 1px solid var(--product-line); background: rgba(10, 24, 15, .9); }
.product-index__inner { min-height: 82px; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); align-items: stretch; }
.product-index a { min-width: 0; display: flex; flex-direction: column; justify-content: center; padding: 12px 16px; border-right: 1px solid var(--product-line); color: #97a899; }
.product-index a:last-child { border-right: 0; }
.product-index b { overflow: hidden; color: var(--ivory); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.product-index span { overflow: hidden; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.product-index a:hover { background: rgba(255,255,255,.025); }

.product-story { display: grid; grid-template-columns: .82fr 1.18fr; gap: 64px; align-items: center; }
.product-story__copy h2 { margin: 12px 0 20px; }
.product-story__copy > p { color: var(--muted); font-size: 18px; }
.product-story__layers { display: grid; gap: 10px; margin-top: 30px; }
.story-layer { display: grid; grid-template-columns: 42px 1fr; gap: 14px; padding: 15px; border: 1px solid var(--product-line); border-radius: 16px; background: rgba(14, 31, 20, .58); }
.story-layer__index { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid rgba(139, 209, 154, .2); border-radius: 12px; background: rgba(96, 180, 112, .09); color: var(--product-accent-soft); font-family: var(--font-display); }
.story-layer b { display: block; color: var(--ivory); font-size: 13px; }
.story-layer span { display: block; color: var(--muted); font-size: 12px; }
.product-story__visual { position: relative; }
.story-screen { overflow: hidden; border: 1px solid rgba(199, 230, 201, .2); border-radius: 24px; background: #0b180f; box-shadow: var(--shadow); }
.story-screen img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.story-screen__caption { display: flex; justify-content: space-between; gap: 22px; padding: 17px 19px; border-top: 1px solid var(--product-line); }
.story-screen__caption b { color: var(--ivory); font-size: 12px; }
.story-screen__caption span { color: var(--muted); font-size: 11px; text-align: right; }

.signal-layout { display: grid; grid-template-columns: minmax(0, 1.26fr) minmax(280px, .74fr); gap: 18px; }
.signal-primary, .signal-compact { border: 1px solid var(--product-line); border-radius: 22px; background: var(--product-panel); }
.signal-primary { padding: 28px; }
.signal-primary__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.signal-primary__head h3 { margin: 4px 0 0; font-family: var(--font-display); font-size: 2rem; font-weight: 400; }
.signal-type { min-height: 30px; display: inline-flex; align-items: center; padding: 0 10px; border: 1px solid rgba(215, 182, 107, .25); border-radius: 999px; color: var(--product-gold); font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.signal-trace { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); overflow: hidden; border: 1px solid var(--product-line); border-radius: 17px; background: rgba(6, 17, 9, .56); }
.trace-step { position: relative; min-height: 154px; padding: 18px 14px; border-right: 1px solid var(--product-line); }
.trace-step:last-child { border-right: 0; }
.trace-step small { display: block; margin-bottom: 10px; color: #8fa392; font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.trace-step b { display: block; color: var(--ivory); font-size: 12px; line-height: 1.45; }
.trace-step:last-child b { color: var(--product-accent-soft); }
.signal-foot { margin: 17px 0 0; color: #98aa9b; font-size: 12px; }
.signal-stack { display: grid; gap: 18px; }
.signal-compact { padding: 22px; }
.signal-compact h3 { margin: 8px 0 13px; font-family: var(--font-display); font-size: 1.55rem; font-weight: 400; }
.signal-compact dl { margin: 0; display: grid; gap: 9px; }
.signal-compact dl div { display: grid; grid-template-columns: 92px 1fr; gap: 10px; padding-top: 9px; border-top: 1px solid var(--product-line); }
.signal-compact dt { color: #8fa392; font-size: 9px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.signal-compact dd { margin: 0; color: #c4cec5; font-size: 11px; line-height: 1.45; }
.signal-compact dd:last-child { color: var(--product-accent-soft); }

.room-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.room-card { position: relative; min-height: 320px; overflow: hidden; padding: 30px; border: 1px solid var(--product-line); border-radius: 23px; background: linear-gradient(145deg, rgba(20, 48, 29, .66), rgba(10, 23, 15, .88)); isolation: isolate; }
.room-card::before { position: absolute; right: -70px; bottom: -100px; z-index: -1; width: 260px; height: 260px; border: 1px solid rgba(139, 209, 154, .12); border-radius: 50%; content: ""; box-shadow: 0 0 0 38px rgba(139, 209, 154, .025), 0 0 0 78px rgba(139, 209, 154, .018); }
.room-card__top { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.room-card__code { color: var(--product-gold); font-family: var(--font-display); font-size: 22px; }
.room-card__state { color: #91a694; font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.room-card h3 { margin: 40px 0 12px; font-family: var(--font-display); font-size: 2.4rem; font-weight: 400; }
.room-card p { max-width: 500px; color: var(--muted); }
.room-card ul { margin: 20px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 7px; list-style: none; }
.room-card li { padding: 6px 9px; border: 1px solid var(--product-line); border-radius: 999px; color: #c4cec5; font-size: 10px; font-weight: 800; }

.data-spine { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; counter-reset: spine; }
.spine-step { position: relative; min-height: 230px; padding: 25px; border: 1px solid var(--product-line); border-radius: 20px; background: rgba(14, 30, 20, .65); counter-increment: spine; }
.spine-step::before { content: "0" counter(spine); color: var(--product-gold); font-family: var(--font-display); font-size: 23px; }
.spine-step:not(:last-child)::after { position: absolute; top: 42px; right: -21px; z-index: 3; width: 28px; height: 28px; display: grid; place-items: center; border: 1px solid var(--product-line); border-radius: 50%; content: "→"; background: #0d1d13; color: var(--product-accent-soft); font-size: 13px; }
.spine-step h3 { margin: 30px 0 9px; font-size: 16px; }
.spine-step p { margin: 0; color: var(--muted); font-size: 13px; }

.product-screens { display: grid; grid-template-columns: minmax(300px, .72fr) minmax(0, 1.28fr); gap: 32px; align-items: center; }
.screen-tabs { display: grid; gap: 8px; }
.screen-tab { width: 100%; min-height: 72px; display: grid; grid-template-columns: 35px 1fr; gap: 12px; align-items: center; padding: 12px 14px; border: 1px solid transparent; border-radius: 15px; background: transparent; color: #aebbae; cursor: pointer; text-align: left; }
.screen-tab:hover { background: rgba(255,255,255,.025); }
.screen-tab[aria-selected="true"] { border-color: rgba(139, 209, 154, .28); background: rgba(88, 166, 103, .09); color: var(--ivory); }
.screen-tab__index { color: var(--product-gold); font-family: var(--font-display); font-size: 19px; }
.screen-tab b { display: block; font-size: 13px; }
.screen-tab small { display: block; color: #8fa092; font-size: 10px; }
.screen-viewer { overflow: hidden; border: 1px solid rgba(195, 227, 197, .2); border-radius: 23px; background: #0a160e; box-shadow: var(--shadow); }
.screen-viewer__bar { min-height: 42px; display: flex; align-items: center; gap: 7px; padding: 0 14px; border-bottom: 1px solid var(--product-line); background: #101f15; }
.screen-viewer__bar i { width: 7px; height: 7px; border-radius: 50%; background: rgba(231, 241, 228, .22); }
.screen-viewer__bar span { margin-left: 7px; color: #8fa092; font-size: 10px; }
.screen-viewer__media { aspect-ratio: 16 / 10; overflow: hidden; }
.screen-viewer__media img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: opacity .16s ease; }
.screen-viewer__caption { display: flex; justify-content: space-between; gap: 22px; padding: 18px 20px; border-top: 1px solid var(--product-line); }
.screen-viewer__caption b { color: var(--ivory); font-size: 13px; }
.screen-viewer__caption span { max-width: 400px; color: var(--muted); font-size: 11px; text-align: right; }

.field-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; }
.field-copy h2 { margin: 12px 0 19px; }
.field-copy > p { color: var(--muted); font-size: 17px; }
.field-points { display: grid; gap: 10px; margin-top: 24px; }
.field-point { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; padding: 13px 0; border-top: 1px solid var(--product-line); }
.field-point span:first-child { width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid rgba(139,209,154,.22); border-radius: 10px; color: var(--product-accent-soft); font-family: var(--font-display); }
.field-point b { display: block; color: var(--ivory); font-size: 12px; }
.field-point small { display: block; color: var(--muted); font-size: 11px; }
.field-device { position: relative; max-width: 520px; justify-self: end; padding: 20px; }
.field-device::before { position: absolute; inset: 12% 5%; z-index: -1; border-radius: 50%; content: ""; background: rgba(89, 166, 104, .16); filter: blur(50px); }
.device-frame { overflow: hidden; border: 8px solid #17261b; border-radius: 28px; background: #0a150d; box-shadow: 0 32px 90px rgba(0,0,0,.48); transform: rotate(2deg); }
.device-frame img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.device-status { display: flex; align-items: center; gap: 8px; padding: 13px 15px; border-top: 1px solid var(--product-line); background: #102017; color: #bdcabe; font-size: 10px; font-weight: 800; }
.device-status i { width: 8px; height: 8px; border-radius: 50%; background: var(--product-accent); box-shadow: 0 0 0 5px rgba(139,209,154,.08); }

.video-layout { display: grid; grid-template-columns: .72fr 1.28fr; gap: 34px; align-items: center; }
.video-copy h2 { margin: 12px 0 18px; }
.video-copy p { color: var(--muted); }
.lite-video { position: relative; min-height: 440px; overflow: hidden; display: grid; place-items: center; border: 1px solid rgba(198, 229, 200, .2); border-radius: 24px; background: linear-gradient(rgba(5,14,8,.34),rgba(5,14,8,.72)), var(--video-poster) center / cover; box-shadow: var(--shadow); }
.lite-video::after { position: absolute; inset: 0; pointer-events: none; content: ""; box-shadow: inset 0 0 90px rgba(0,0,0,.42); }
.lite-video__button { position: relative; z-index: 2; min-height: 62px; display: inline-flex; align-items: center; gap: 12px; padding: 0 20px; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; background: rgba(8,20,11,.84); color: var(--ivory); cursor: pointer; font-weight: 800; box-shadow: 0 15px 40px rgba(0,0,0,.35); }
.lite-video__button span:first-child { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--product-accent-soft); color: #07140b; }
.lite-video iframe { position: absolute; inset: 0; z-index: 4; width: 100%; height: 100%; border: 0; }

.capability-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
.capability-card { min-height: 210px; padding: 24px; border: 1px solid var(--product-line); border-radius: 19px; background: rgba(14, 30, 20, .64); }
.capability-card__code { color: var(--product-gold); font-family: var(--font-display); font-size: 19px; }
.capability-card h3 { margin: 27px 0 9px; font-size: 15px; }
.capability-card p { margin: 0; color: var(--muted); font-size: 12px; }

.product-lucia { position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr .82fr; gap: 50px; align-items: center; padding: 56px; border: 1px solid rgba(198, 229, 200, .18); border-radius: 30px; background: linear-gradient(120deg, rgba(19, 54, 29, .74), rgba(9, 23, 13, .93)); box-shadow: var(--shadow); }
.product-lucia::after { position: absolute; right: -160px; top: -220px; width: 520px; height: 520px; border: 1px solid rgba(139,209,154,.13); border-radius: 50%; content: ""; box-shadow: 0 0 0 60px rgba(139,209,154,.025), 0 0 0 120px rgba(139,209,154,.018); }
.product-lucia__copy { position: relative; z-index: 2; }
.product-lucia__copy h2 { margin: 12px 0 18px; }
.product-lucia__copy p { max-width: 600px; color: #b3c1b5; font-size: 17px; }
.product-lucia__question { position: relative; z-index: 2; padding: 24px; border: 1px solid rgba(201,231,203,.2); border-radius: 20px; background: rgba(7, 19, 10, .62); }
.product-lucia__question small { color: #8fa092; font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.product-lucia__question p { margin: 12px 0 0; color: var(--ivory); font-family: var(--font-display); font-size: 1.55rem; line-height: 1.25; }

.product-final { padding: 82px 40px; border: 1px solid var(--product-line); border-radius: 30px; background: linear-gradient(135deg, rgba(29, 72, 41, .67), rgba(10, 24, 15, .94)); text-align: center; }
.product-final h2 { max-width: 850px; margin: 12px auto 18px; }
.product-final p { max-width: 650px; margin: 0 auto 25px; color: #b5c2b6; }
.product-final .button-row { justify-content: center; }
.product-footer { background: rgba(5, 14, 8, .72); }

@media (max-width: 1080px) {
  .product-hero__grid { grid-template-columns: 1fr; }
  .product-hero__copy { max-width: 820px; }
  .product-stage { max-width: 820px; }
  .product-index__inner { overflow-x: auto; display: flex; }
  .product-index a { min-width: 155px; }
  .product-story, .product-screens, .field-layout, .video-layout { grid-template-columns: 1fr; }
  .signal-layout { grid-template-columns: 1fr; }
  .signal-stack { grid-template-columns: 1fr 1fr; }
  .field-device { justify-self: start; }
  .product-lucia { grid-template-columns: 1fr; }
}

@media (max-width: 780px) {
  .product-page .product-section { padding: 76px 0; }
  .product-page .product-section--compact { padding-block: 56px; }
  .product-hero { min-height: auto; padding: 52px 0 42px; }
  .product-hero::before { background: linear-gradient(0deg,#061009 4%,rgba(6,16,9,.78) 63%,rgba(6,16,9,.48)), var(--product-hero-image) 62% center / cover no-repeat; }
  .product-hero__grid { gap: 28px; }
  .product-hero__copy h1 { font-size: clamp(3.2rem, 14.5vw, 4.8rem); }
  .product-hero__actions .button { width: 100%; }
  .product-stage { padding: 22px 0 0; }
  .product-stage__frame { border-radius: 18px; transform: none; }
  .stage-chip { position: static; min-width: 0; display: inline-block; margin: 8px 5px 0 0; padding: 8px 10px; }
  .stage-chip small { display: none; }
  .stage-chip b { margin: 0; font-size: 10px; }
  .product-story { gap: 34px; }
  .story-screen__caption, .screen-viewer__caption { display: block; }
  .story-screen__caption span, .screen-viewer__caption span { display: block; margin-top: 4px; text-align: left; }
  .signal-primary { padding: 20px; }
  .signal-primary__head { display: block; }
  .signal-type { margin-top: 12px; }
  .signal-trace { grid-template-columns: 1fr; }
  .trace-step { min-height: auto; border-right: 0; border-bottom: 1px solid var(--product-line); }
  .trace-step:last-child { border-bottom: 0; }
  .signal-stack, .room-grid, .capability-grid { grid-template-columns: 1fr; }
  .room-card { min-height: 290px; padding: 25px; }
  .room-card h3 { margin-top: 32px; }
  .data-spine { grid-template-columns: 1fr; }
  .spine-step { min-height: 190px; }
  .spine-step:not(:last-child)::after { top: auto; right: 20px; bottom: -22px; transform: rotate(90deg); }
  .screen-tabs { display: flex; overflow-x: auto; gap: 7px; padding-bottom: 4px; scroll-snap-type: x proximity; }
  .screen-tab { min-width: 230px; scroll-snap-align: start; }
  .field-device { padding: 5px; }
  .device-frame { transform: none; }
  .lite-video { min-height: 270px; }
  .product-lucia { padding: 32px 23px; }
  .product-final { padding: 58px 22px; }
  .product-final .button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .product-stage__frame, .device-frame { transform: none; }
  .screen-viewer__media img { transition: none; }
}
