.product-next-page {
  --product-blue: #7ee7ff;
  --product-coral: #ee785f;
}

.product-hero {
  position: relative;
  min-height: 780px;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background: radial-gradient(circle at 78% 45%, rgba(63,211,192,.18), transparent 28%), radial-gradient(circle at 92% 4%, rgba(126,231,255,.16), transparent 25%), linear-gradient(130deg, #05131b 0%, #092a32 58%, #0c514a 100%);
}
.product-hero-grid { position: absolute; inset: 0; opacity: .28; background-image: linear-gradient(rgba(126,231,255,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(126,231,255,.12) 1px, transparent 1px); background-size: 64px 64px; mask-image: linear-gradient(90deg, transparent, #000 50%); }
.product-hero::after { content: ""; position: absolute; right: -200px; bottom: -430px; width: 900px; height: 900px; border: 1px solid rgba(126,231,255,.14); border-radius: 50%; box-shadow: 0 0 0 90px rgba(126,231,255,.025), 0 0 0 190px rgba(126,231,255,.018); }
.product-hero-layout { position: relative; z-index: 2; display: grid; grid-template-columns: .92fr 1.08fr; gap: 76px; align-items: center; padding-block: 90px 110px; }
.product-hero-copy { max-width: 650px; }
.product-hero-copy .next-kicker { color: var(--product-blue); }
.product-hero-copy .next-kicker i { display: inline-block; width: 8px; height: 8px; margin-right: 8px; background: var(--next-yellow); border-radius: 50%; box-shadow: 0 0 0 7px rgba(239,195,79,.1); }
.product-hero-copy h1 { margin: 24px 0; font-size: clamp(4.2rem, 6.7vw, 7.1rem); line-height: .88; letter-spacing: -.07em; }
.product-hero-copy h1 em { display: block; color: var(--next-yellow); font: 500 .85em/1 var(--next-serif); letter-spacing: -.035em; }
.product-hero-copy > p { max-width: 620px; color: #c2dad9; font-size: 18px; line-height: 1.72; }
.product-hero-copy .next-actions { margin-top: 32px; }
.product-hero-copy .next-button.outline { color: white; }
.product-hero-note { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 35px; color: #8fb5b4; font-size: 10px; }
.product-hero-note span { margin-right: 3px; letter-spacing: .12em; text-transform: uppercase; }
.product-hero-note b { padding: 7px 10px; color: #cce3e2; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.035); font-size: 9px; }

.product-runtime-map { position: relative; min-height: 580px; display: grid; grid-template-columns: .82fr 55px 1.15fr 55px .92fr; align-items: center; }
.runtime-inputs, .runtime-outcomes { display: grid; gap: 12px; }
.runtime-inputs span, .runtime-outcomes span { position: relative; min-height: 72px; display: grid; align-content: center; padding: 14px 16px 14px 38px; color: #c9dcdb; background: rgba(4,22,28,.6); border: 1px solid rgba(126,231,255,.2); backdrop-filter: blur(12px); font-size: 11px; }
.runtime-inputs i, .runtime-outcomes i { position: absolute; left: 16px; top: 50%; width: 8px; height: 8px; transform: translateY(-50%); background: var(--product-blue); border-radius: 50%; box-shadow: 0 0 14px currentColor; }
.runtime-outcomes span { min-height: 84px; padding-left: 40px; }
.runtime-outcomes b { display: block; margin-bottom: 4px; color: white; font-size: 9px; letter-spacing: .11em; }
.runtime-outcomes .release i { color: var(--next-green-bright); background: var(--next-green-bright); }
.runtime-outcomes .conflict { border-color: rgba(238,120,95,.45); }
.runtime-outcomes .conflict i { color: var(--product-coral); background: var(--product-coral); }
.runtime-outcomes .missing i { color: var(--next-yellow); background: var(--next-yellow); }
.runtime-beam { height: 1px; background: linear-gradient(90deg, rgba(126,231,255,.08), var(--product-blue), rgba(126,231,255,.08)); box-shadow: 0 0 13px rgba(126,231,255,.65); }
.runtime-core { position: relative; min-height: 340px; display: grid; align-content: center; justify-items: center; padding: 30px 22px; text-align: center; background: linear-gradient(155deg, rgba(16,77,72,.9), rgba(5,28,34,.94)); border: 1px solid rgba(126,231,255,.45); box-shadow: 0 24px 80px rgba(0,0,0,.28), inset 0 0 50px rgba(126,231,255,.05); }
.runtime-core::before, .runtime-core::after { content: ""; position: absolute; inset: 13px; border: 1px solid rgba(126,231,255,.1); pointer-events: none; }
.runtime-core::after { inset: -14px; border-color: rgba(126,231,255,.08); }
.runtime-core small { color: var(--product-blue); font-size: 8px; font-weight: 900; letter-spacing: .14em; }
.runtime-core strong { margin: 25px 0; font-size: 38px; line-height: .94; letter-spacing: -.04em; }
.runtime-core ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 0; padding: 0; list-style: none; }
.runtime-core li { padding: 5px 7px; color: #a9c9c7; background: rgba(255,255,255,.045); font-size: 8px; text-transform: uppercase; }
.product-anchor-bar a:first-child { color: var(--next-green); }

.product-platform { padding: 120px 0; background: var(--next-paper-2); }
.product-platform-layout { display: grid; grid-template-columns: .78fr 1.22fr; gap: 90px; align-items: start; }
.product-platform header { position: sticky; top: 145px; }
.product-platform h2, .product-section-heading h2 { margin: 18px 0; font-size: clamp(3.4rem, 5.2vw, 5.7rem); line-height: .94; letter-spacing: -.06em; }
.product-platform h2 em { color: var(--next-green); font: 500 .84em var(--next-serif); }
.product-platform header p, .product-section-heading > p { color: var(--next-muted); font-size: 16px; }
.product-before-after { display: grid; grid-template-columns: 1fr 66px 1fr; border: 1px solid var(--next-line); box-shadow: var(--next-shadow); }
.product-before-after article { min-height: 570px; padding: 34px; background: #fff; }
.product-before-after article > span { color: var(--next-green); font-size: 9px; font-weight: 900; letter-spacing: .12em; }
.product-before-after h3 { margin: 85px 0 30px; font-size: 31px; line-height: 1; }
.product-before-after article > p { margin-top: 42px; color: var(--next-muted); font-size: 13px; }
.product-before-after .before { background: #f4f0e7; }
.product-before-after .after { background: var(--next-mint-soft); }
.product-divider { display: grid; place-items: center; color: white; background: var(--next-ink); }
.product-divider span { writing-mode: vertical-rl; color: var(--next-yellow); font-size: 10px; font-weight: 900; letter-spacing: .25em; }
.mini-result { display: flex; justify-content: space-between; gap: 20px; padding: 16px 0; border-top: 1px solid var(--next-line); }
.mini-result b { font-size: 11px; }.mini-result small { color: var(--next-muted); text-align: right; }
.mini-result.risky b, .mini-result.blocked b { color: #ba543f; }.mini-result.kept b { color: var(--next-green); }

.product-family-section { padding: 125px 0; color: white; background: var(--next-ink); }
.product-section-heading { display: grid; grid-template-columns: 1.2fr .8fr; gap: 80px; align-items: end; margin-bottom: 58px; }
.product-family-section .next-kicker, .dark-heading .next-kicker { color: var(--next-green-bright); }
.product-family-section .product-section-heading > p, .dark-heading > p { color: #9bb4ad; }
.product-family-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid rgba(255,255,255,.15); border-left: 1px solid rgba(255,255,255,.15); }
.family-card { min-height: 520px; display: flex; flex-direction: column; padding: 40px; border-right: 1px solid rgba(255,255,255,.15); border-bottom: 1px solid rgba(255,255,255,.15); background: rgba(255,255,255,.018); }
.family-card:hover { background: rgba(126,231,255,.035); }
.family-card > span { margin-top: 30px; color: var(--product-blue); font-size: 9px; font-weight: 900; letter-spacing: .12em; }
.family-card h3 { max-width: 580px; margin: 18px 0 14px; font-size: clamp(2.1rem, 3vw, 3.2rem); line-height: 1; letter-spacing: -.045em; }
.family-card p, .family-card li { color: #9fb6af; font-size: 13px; }
.family-card ul { margin: 16px 0 28px; padding-left: 18px; line-height: 1.8; }
.family-card a { margin-top: auto; color: var(--next-yellow); font-size: 12px; font-weight: 800; }
.family-primary { background: linear-gradient(145deg, rgba(21,98,88,.54), rgba(255,255,255,.018)); }
.family-local { background: linear-gradient(145deg, rgba(239,195,79,.08), rgba(255,255,255,.018)); }
.family-icon { position: relative; width: 62px; height: 62px; display: grid; place-items: center; border: 1px solid rgba(126,231,255,.28); }
.family-icon::before, .family-icon::after, .family-icon i { content: ""; position: absolute; }
.guard-icon::before { width: 26px; height: 32px; border: 2px solid var(--product-blue); border-radius: 14px 14px 8px 8px; }.guard-icon::after { width: 8px; height: 8px; border: 2px solid var(--next-yellow); border-radius: 50%; }
.decision-icon::before { width: 34px; height: 24px; border: 1px solid var(--product-blue); }.decision-icon::after { width: 18px; height: 8px; border-left: 2px solid var(--next-yellow); border-bottom: 2px solid var(--next-yellow); transform: rotate(-45deg); }
.trace-icon-product::before { width: 38px; height: 22px; background: linear-gradient(135deg, transparent 0 16%, var(--product-blue) 17% 21%, transparent 22% 37%, var(--next-yellow) 38% 43%, transparent 44% 61%, var(--product-blue) 62% 67%, transparent 68%); }.trace-icon-product::after { width: 40px; height: 1px; background: rgba(126,231,255,.3); }
.local-icon::before { width: 34px; height: 26px; border: 2px solid var(--product-blue); }.local-icon::after { width: 18px; height: 2px; bottom: 13px; background: var(--next-yellow); box-shadow: 0 -5px 0 rgba(126,231,255,.45); }

.product-workflow-section { padding: 125px 0; color: white; background: #09251f; }
.product-workflow { display: grid; grid-template-columns: repeat(5, 1fr); border: 1px solid rgba(255,255,255,.14); }
.product-workflow article { position: relative; min-height: 340px; padding: 28px; border-right: 1px solid rgba(255,255,255,.14); }
.product-workflow article:last-child { border-right: 0; }
.product-workflow article:not(:last-child)::after { content: "→"; position: absolute; z-index: 2; right: -11px; top: 50%; width: 22px; height: 22px; display: grid; place-items: center; color: var(--next-yellow); background: #09251f; font-size: 13px; }
.product-workflow b { color: #607f77; font-size: 11px; }.product-workflow span { display: block; margin-top: 90px; color: var(--next-green-bright); font-size: 9px; font-weight: 900; letter-spacing: .12em; }
.product-workflow h3 { margin: 13px 0; font-size: 23px; line-height: 1; }.product-workflow p { color: #95ada6; font-size: 12px; }
.product-workflow .workflow-focus { background: var(--next-yellow); color: var(--next-ink); }.product-workflow .workflow-focus b, .product-workflow .workflow-focus span, .product-workflow .workflow-focus p { color: #476158; }
.product-contract { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: center; margin-top: 28px; padding: 35px 40px; border: 1px solid rgba(255,255,255,.14); background: #061713; }
.product-contract span { color: var(--product-blue); font-size: 9px; font-weight: 900; letter-spacing: .12em; }.product-contract h3 { margin: 12px 0 0; font-size: 28px; }
.product-contract code { padding: 22px; color: #c4dcd5; background: rgba(255,255,255,.035); border-left: 3px solid var(--next-green-bright); font-size: 11px; line-height: 1.8; }.product-contract code i { color: var(--next-yellow); font-style: normal; }

.product-deployment-section { padding: 125px 0; background: var(--next-paper-2); }
.deployment-paths { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--next-line); background: white; box-shadow: var(--next-shadow); }
.deployment-paths article { min-height: 450px; display: flex; flex-direction: column; padding: 30px; border-right: 1px solid var(--next-line); }.deployment-paths article:last-child { border-right: 0; }
.deployment-paths small { margin-top: 44px; color: var(--next-green); font-size: 9px; font-weight: 900; letter-spacing: .11em; }.deployment-paths h3 { margin: 15px 0; font-size: 29px; line-height: 1; }.deployment-paths p { color: var(--next-muted); font-size: 12px; }.deployment-paths a { margin-top: auto; color: var(--next-green); font-size: 11px; font-weight: 900; }
.deployment-tag { width: max-content; padding: 7px 9px; font-size: 8px; font-weight: 900; letter-spacing: .08em; background: var(--next-mint); }.deployment-tag.ready { color: #075b4f; }.deployment-tag.conditional { color: #7c5a03; background: #fff0bd; }.deployment-tag.private { color: #174864; background: #ddf4ff; }.deployment-tag.research { color: #813b2c; background: #ffe1d8; }

.product-proof-section { padding: 110px 0; color: white; background: linear-gradient(120deg, #0d554d, #082a26); }
.product-proof-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 90px; align-items: center; }.product-proof-layout .next-kicker { color: var(--next-yellow); }
.product-proof-layout h2 { margin: 18px 0; font-size: clamp(3.3rem, 5vw, 5.4rem); line-height: .94; letter-spacing: -.055em; }.product-proof-layout p { color: #b9d4ce; }.product-proof-layout .next-button { margin-top: 18px; color: white; }
.product-proof-metrics { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid rgba(255,255,255,.18); }.product-proof-metrics article { min-height: 280px; display: flex; flex-direction: column; justify-content: flex-end; padding: 25px; border-right: 1px solid rgba(255,255,255,.18); }.product-proof-metrics article:last-child { border-right: 0; }
.product-proof-metrics strong { color: var(--next-yellow); font-size: clamp(3.5rem, 5vw, 5.7rem); line-height: 1; letter-spacing: -.07em; }.product-proof-metrics span { margin: 17px 0 5px; font-size: 11px; font-weight: 900; }.product-proof-metrics small { color: #9cbcb4; font-size: 9px; }

.product-boundary-section { padding: 125px 0; background: var(--next-paper); }
.product-boundary-grid { display: grid; grid-template-columns: 1fr 1fr; }.product-boundary-grid article { min-height: 440px; padding: 45px; }.product-boundary-grid .fit { color: white; background: var(--next-ink); }.product-boundary-grid .not-fit { background: var(--next-yellow); }
.product-boundary-grid span { color: var(--next-green-bright); font-size: 9px; font-weight: 900; letter-spacing: .12em; }.product-boundary-grid .not-fit span { color: #31584f; }
.product-boundary-grid h3 { max-width: 520px; margin: 70px 0 25px; font-size: 35px; line-height: 1; }.product-boundary-grid ul { margin: 0; padding-left: 20px; line-height: 2; color: #a8beb8; font-size: 13px; }.product-boundary-grid .not-fit ul { color: #405c54; }
.product-cta { background: radial-gradient(circle at 82% 10%, rgba(126,231,255,.17), transparent 32%), #06151d; }

@media (max-width: 1100px) {
  .product-hero { min-height: auto; }.product-hero-layout { grid-template-columns: 1fr; padding-block: 80px; }.product-hero-copy { max-width: 820px; }.product-runtime-map { max-width: 850px; width: 100%; margin-inline: auto; }
  .product-platform-layout { grid-template-columns: 1fr; }.product-platform header { position: static; max-width: 800px; }
  .product-workflow { grid-template-columns: repeat(3, 1fr); }.product-workflow article { border-bottom: 1px solid rgba(255,255,255,.14); }.product-workflow article:nth-child(3) { border-right: 0; }.product-workflow article:nth-child(3)::after { display: none; }
  .deployment-paths { grid-template-columns: repeat(2, 1fr); }.deployment-paths article:nth-child(2) { border-right: 0; }.deployment-paths article:nth-child(-n+2) { border-bottom: 1px solid var(--next-line); }
  .product-proof-layout { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .product-hero-layout { gap: 30px; padding-block: 60px 75px; }.product-hero-copy h1 { font-size: clamp(3.5rem, 14vw, 5.2rem); }
  .product-runtime-map { min-height: auto; grid-template-columns: 1fr; gap: 15px; }.runtime-beam { width: 1px; height: 34px; margin-inline: auto; background: linear-gradient(rgba(126,231,255,.08), var(--product-blue), rgba(126,231,255,.08)); }.runtime-core { min-height: 290px; }
  .runtime-inputs, .runtime-outcomes { grid-template-columns: repeat(3, 1fr); }.runtime-inputs span, .runtime-outcomes span { min-height: 82px; padding: 30px 10px 10px; text-align: center; }.runtime-inputs i, .runtime-outcomes i { left: 50%; top: 16px; transform: translateX(-50%); }
  .product-platform, .product-family-section, .product-workflow-section, .product-deployment-section, .product-boundary-section { padding: 85px 0; }
  .product-before-after { grid-template-columns: 1fr; }.product-before-after article { min-height: 430px; }.product-before-after h3 { margin-top: 45px; }.product-divider { min-height: 56px; }.product-divider span { writing-mode: horizontal-tb; }
  .product-section-heading, .product-contract { grid-template-columns: 1fr; gap: 25px; }.product-family-grid, .product-boundary-grid { grid-template-columns: 1fr; }.family-card { min-height: 470px; }
  .product-workflow { grid-template-columns: 1fr 1fr; }.product-workflow article:nth-child(2n) { border-right: 0; }.product-workflow article:nth-child(3) { border-right: 1px solid rgba(255,255,255,.14); }.product-workflow article:nth-child(3)::after { display: grid; }.product-workflow article:nth-child(2n)::after { display: none; }.product-workflow article:last-child { grid-column: 1 / -1; border-right: 0; }.product-workflow span { margin-top: 45px; }
  .product-proof-metrics { grid-template-columns: 1fr; }.product-proof-metrics article { min-height: 190px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.18); }.product-proof-metrics article:last-child { border-bottom: 0; }
}

@media (max-width: 560px) {
  .runtime-inputs, .runtime-outcomes, .deployment-paths { grid-template-columns: 1fr; }.runtime-inputs span, .runtime-outcomes span { min-height: 62px; padding: 12px 12px 12px 38px; text-align: left; }.runtime-inputs i, .runtime-outcomes i { left: 16px; top: 50%; transform: translateY(-50%); }
  .deployment-paths article { min-height: 380px; border-right: 0; border-bottom: 1px solid var(--next-line); }.deployment-paths article:last-child { border-bottom: 0; }
  .product-workflow { grid-template-columns: 1fr; }.product-workflow article, .product-workflow article:nth-child(3) { border-right: 0; }.product-workflow article::after { display: none !important; }.product-workflow article:last-child { grid-column: auto; }
  .product-boundary-grid article { padding: 32px; }
}

@media (prefers-reduced-motion: reduce) { .product-next-page *, .product-next-page *::before, .product-next-page *::after { scroll-behavior: auto !important; } }
