:root {
  --ink: #10233d;
  --navy: #062b4f;
  --navy-deep: #041f39;
  --blue: #075cff;
  --cyan: #58d9e3;
  --ice: #eef6fb;
  --muted: #536b7e;
  --line: #d4e2eb;
  --white: #fff;
  --rail: 1180px;
  --display: "Helvetica Neue", Helvetica, Arial, "Segoe UI", sans-serif;
  --shadow: 0 24px 70px rgba(9, 47, 78, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 86px; }
body {
  margin: 0;
  overflow-x: hidden;
  background: #fff;
  color: var(--ink);
  font: 400 17px/1.65 "Helvetica Neue", Helvetica, Arial, "Segoe UI", sans-serif;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }

.skip-link {
  position: fixed;
  z-index: 100;
  top: -80px;
  left: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  background: #fff;
  color: #063d78;
}
.skip-link:focus { top: 12px; }

.product-header {
  position: sticky;
  z-index: 50;
  top: 0;
  height: 78px;
  padding: 0 max(24px, calc((100vw - 1320px) / 2));
  display: flex;
  align-items: center;
  gap: 28px;
  border-bottom: 1px solid rgba(16, 35, 61, .09);
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 10px 35px rgba(10, 47, 76, .04);
  backdrop-filter: blur(18px);
}
.product-brand {
  width: 188px;
  height: 38px;
  flex: 0 0 188px;
  display: flex;
  align-items: center;
}
.product-brand img {
  width: 100%;
  height: auto;
  max-height: 38px;
  object-fit: contain;
}
.product-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
}
.product-nav a {
  position: relative;
  padding: 28px 0 25px;
  color: #354d63;
  font-size: 14px;
  font-weight: 650;
  white-space: nowrap;
}
.product-nav a:hover,
.product-nav a[aria-current="page"] { color: var(--blue); }
.product-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
}
.header-cta {
  min-height: 46px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  border-radius: 13px;
  background: var(--blue);
  box-shadow: 0 10px 24px rgba(7, 92, 255, .2);
  color: #fff;
  font-size: 14px;
  font-weight: 750;
  white-space: nowrap;
  transition: transform .2s ease, background .2s ease;
}
.header-cta:hover { transform: translateY(-2px); background: var(--blue); }
.menu-toggle {
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 0;
  display: none;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}
.menu-toggle span {
  width: 21px;
  height: 2px;
  margin: 6px auto;
  display: block;
  border-radius: 2px;
  background: var(--ink);
}

.product-main { overflow: hidden; }

.product-hero {
  position: relative;
  min-height: 610px;
  padding: 62px max(24px, calc((100vw - var(--rail)) / 2));
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(480px, 1.08fr);
  gap: clamp(42px, 5vw, 72px);
  align-items: center;
  background:
    radial-gradient(circle at 89% 8%, rgba(88, 217, 227, .25), transparent 31%),
    linear-gradient(135deg, #fbfdff 0%, #edf6fa 100%);
}
.product-hero::before {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  top: -150px;
  left: 36%;
  border: 1px solid rgba(7, 93, 204, .1);
  border-radius: 50%;
}
.product-hero.dark {
  background:
    radial-gradient(circle at 86% 10%, rgba(74, 216, 221, .2), transparent 30%),
    linear-gradient(135deg, var(--navy-deep), #073f68);
  color: #fff;
}
.product-hero-copy { position: relative; z-index: 1; }
.product-kicker {
  display: block;
  color: var(--blue);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.dark .product-kicker { color: #70e6e6; }
.product-hero h1 {
  max-width: 690px;
  margin: 17px 0 22px;
  font: 500 clamp(48px, 5vw, 72px)/1.04 var(--display);
  letter-spacing: -.05em;
}
.product-hero h1 em { color: var(--blue); font-style: normal; }
.product-hero.dark h1 em { color: #63dbe5; }
.product-hero-copy > p {
  max-width: 640px;
  margin: 0;
  color: #49647a;
  font-size: 19px;
  line-height: 1.62;
}
.product-hero.dark .product-hero-copy > p { color: #d2e2ec; }
.hero-actions {
  margin-top: 29px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.product-button {
  min-height: 52px;
  padding: 0 23px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--blue);
  border-radius: 13px;
  background: var(--blue);
  box-shadow: 0 12px 28px rgba(7, 92, 255, .18);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.product-button:hover {
  transform: translateY(-2px);
  background: var(--blue);
  box-shadow: 0 16px 32px rgba(7, 93, 204, .2);
}
.product-button.secondary {
  background: rgba(255, 255, 255, .5);
  box-shadow: none;
  color: var(--blue);
}
.product-hero.dark .product-button {
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
}
.product-hero.dark .product-button.secondary {
  border-color: rgba(255, 255, 255, .55);
  background: transparent;
  color: #fff;
}
.product-hero-media {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  display: grid;
  place-items: center;
  border: 1px solid rgba(7, 76, 125, .17);
  border-radius: 28px;
  background: linear-gradient(145deg, #eaf4f9, #f9fcfe);
  box-shadow: var(--shadow);
}
.product-hero.dark .product-hero-media {
  border-color: rgba(255, 255, 255, .17);
  background: #082f50;
}
.product-hero-media img,
.product-hero-media video {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center;
}
.product-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .38);
}

.language-band {
  margin-top: 23px;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}
.language-band span {
  padding: 9px 13px;
  border: 1px solid #bfd7e6;
  border-radius: 999px;
  background: rgba(255, 255, 255, .78);
  color: #17496f;
  font-size: 13px;
  font-weight: 750;
}

.product-section {
  padding: 44px max(24px, calc((100vw - var(--rail)) / 2));
}
.product-section.tint {
  background:
    radial-gradient(circle at 92% 6%, rgba(88, 217, 227, .12), transparent 27%),
    #f3f8fb;
}
.product-section.dark {
  background: linear-gradient(135deg, var(--navy-deep), #073f68);
  color: #fff;
}
.section-intro {
  margin-bottom: 24px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, .72fr);
  gap: 50px;
  align-items: center;
}
.section-intro h2 {
  max-width: 700px;
  margin: 13px 0 0;
  font: 500 clamp(38px, 4vw, 56px)/1.08 var(--display);
  letter-spacing: -.043em;
}
.section-intro p {
  width: 100%;
  max-width: 430px;
  margin: 0;
  justify-self: end;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}
.product-section.dark .section-intro p { color: #c9dce8; }

/* Digital Twin calculator: light NivaCare clinical palette */
#simulator.product-section.dark {
  background:
    radial-gradient(circle at 88% 8%, rgba(74, 216, 221, .16), transparent 30%),
    radial-gradient(circle at 8% 92%, rgba(7, 93, 204, .08), transparent 27%),
    linear-gradient(145deg, #edf7fb, #f8fbfd);
  color: var(--ink);
  border-top: 1px solid #d7e6ee;
  border-bottom: 1px solid #d7e6ee;
}
#simulator.product-section.dark .product-kicker { color: var(--blue); }
#simulator.product-section.dark .section-intro p { color: var(--muted); }
#simulator .risk-panel {
  border-color: #d3e3ec;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 18px 48px rgba(8, 52, 86, .09);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.feature-box {
  min-height: 230px;
  padding: 27px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 12px 35px rgba(8, 52, 86, .05);
}
.product-section.dark .feature-box {
  border-color: rgba(255, 255, 255, .15);
  background: rgba(255, 255, 255, .065);
  box-shadow: none;
}
.feature-box > span {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(145deg, #e6f2ff, #e2faf5);
  color: var(--blue);
  font-weight: 850;
}
.feature-box h3 {
  margin: 25px 0 9px;
  padding-top: 0;
  font: 600 23px/1.22 var(--display);
}
.feature-box p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}
.product-section.dark .feature-box p { color: #bdd2df; }

.flow-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}
.flow-step {
  position: relative;
  min-height: 168px;
  padding: 21px 19px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 19px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(8, 52, 86, .045);
  color: var(--ink);
  transition: transform .24s ease, border-color .24s ease, background .24s ease;
}
.flow-step i {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid #c7dced;
  border-radius: 13px;
  background: linear-gradient(145deg, #e8f3ff, #e4faf6);
  color: var(--blue);
  font-size: 12px;
  font-style: normal;
  font-weight: 850;
}
.flow-step b {
  margin-top: 21px;
  display: block;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.35;
}
.flow-step small {
  margin-top: 5px;
  display: block;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}
.flow-step:hover {
  transform: translateY(-4px);
  border-color: rgba(7, 93, 204, .35);
}
.product-section.dark .flow-step {
  border-color: rgba(132, 219, 231, .2);
  background: linear-gradient(145deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .055));
  box-shadow: 0 16px 35px rgba(0, 18, 35, .12);
  color: #fff;
}
.product-section.dark .flow-step i {
  border-color: rgba(111, 226, 229, .24);
  background: rgba(88, 217, 227, .12);
  color: #75eaeb;
}
.product-section.dark .flow-step b { color: #fff; }
.product-section.dark .flow-step small { color: #c2d8e4; }

.media-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.media-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 25px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(8, 52, 86, .09);
}
.media-card > img,
.media-card > video {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center;
  background: #eaf3f8;
}
.media-card > video { aspect-ratio: 16 / 9; }
.media-card-copy {
  flex: 1;
  padding: 25px 26px 27px;
}
.media-card-copy span {
  color: var(--blue);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.media-card-copy h3 {
  margin: 8px 0 8px;
  font: 600 27px/1.2 var(--display);
  letter-spacing: -.02em;
}
.media-card-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.agent-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}
.agent-box {
  min-height: 235px;
  padding: 23px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(8, 52, 86, .05);
}
.agent-box i {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: linear-gradient(145deg, #e3f1ff, #e3faf5);
  color: var(--blue);
  font-style: normal;
  font-weight: 900;
}
.agent-box h3 {
  margin: 25px 0 8px;
  padding-top: 0;
  font: 600 20px/1.24 var(--display);
}
.agent-box p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.simulator {
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 28px;
  background: #0b3555;
  box-shadow: 0 24px 60px rgba(0, 18, 35, .2);
}
.simulator-media {
  min-width: 0;
  display: grid;
  place-items: center;
  background: #082d4c;
}
.simulator-media img {
  width: 100%;
  height: auto;
  object-fit: contain;
}
.simulator-panel { padding: 32px 34px 34px; color: #fff; }
.simulator-panel h3 {
  margin: 6px 0 21px;
  font: 600 29px/1.22 var(--display);
}
.sim-control-grid {
  margin: 18px 0 22px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.sim-row {
  margin: 0;
  padding: 15px 16px 16px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 16px;
  background: rgba(255, 255, 255, .055);
}
.sim-row label {
  margin-bottom: 13px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
  line-height: 1.35;
}
.sim-row label > span { font-weight: 750; }
.sim-row label small {
  margin-top: 3px;
  display: block;
  color: #a9c6d7;
  font-size: 11px;
  font-weight: 500;
}
.sim-row output {
  max-width: 54%;
  padding: 5px 9px;
  border: 1px solid rgba(98, 226, 223, .25);
  border-radius: 999px;
  background: rgba(98, 226, 223, .09);
  color: #62e2df;
  font-size: 12px;
  font-weight: 850;
  text-align: right;
}
.sim-row input {
  width: 100%;
  height: 5px;
  appearance: none;
  border-radius: 999px;
  background: linear-gradient(90deg, #5ce0dd, rgba(255, 255, 255, .24));
  cursor: pointer;
}
.sim-row input::-webkit-slider-thumb {
  width: 18px;
  height: 18px;
  appearance: none;
  border: 4px solid #d8ffff;
  border-radius: 50%;
  background: #0b6385;
  box-shadow: 0 0 0 3px rgba(92, 224, 221, .2);
}
.sim-row input::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border: 4px solid #d8ffff;
  border-radius: 50%;
  background: #0b6385;
  box-shadow: 0 0 0 3px rgba(92, 224, 221, .2);
}
.sim-result {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.sim-result div {
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 15px;
  background: rgba(255, 255, 255, .065);
}
.sim-result small,
.sim-result b { display: block; }
.sim-result small { color: #aac6d6; }
.sim-result b { margin-top: 4px; font-size: 27px; line-height: 1.1; }
.sim-result b small {
  display: inline;
  font-size: 11px;
  font-weight: 600;
}
.sim-disclaimer {
  margin: 13px 0 0;
  color: #9fbccc;
  font-size: 11px;
  line-height: 1.5;
}

/* Compact treatment-response controls: preserve the original simulator height */
#simulator .section-intro {
  align-items: center;
  margin-bottom: 24px;
}
#simulator .section-intro p {
  max-width: 390px;
}
#simulator .simulator {
  min-height: 420px;
}
#simulator .simulator-panel {
  padding: 25px 28px 23px;
}
#simulator .simulator-panel h3 {
  margin: 5px 0 13px;
  font-size: 27px;
}
#simulator .sim-control-grid {
  margin: 13px 0 15px;
  gap: 9px;
}
#simulator .sim-row {
  min-height: 82px;
  padding: 11px 13px 12px;
  border-radius: 14px;
}
#simulator .sim-row label {
  margin-bottom: 9px;
  align-items: center;
  gap: 8px;
}
#simulator .sim-row label > span {
  min-width: 0;
  font-size: 13px;
  line-height: 1.25;
}
#simulator .sim-row label small {
  display: none;
}
#simulator .sim-row output {
  max-width: none;
  flex: 0 0 auto;
  padding: 4px 8px;
  white-space: nowrap;
}
#simulator .sim-result div {
  padding: 11px 13px;
}
#simulator .sim-result b {
  font-size: 25px;
}
#simulator .sim-disclaimer {
  margin-top: 9px;
}

/* Digital Twin intervention calculator */
.risk-calculator {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  gap: 16px;
  color: var(--ink);
}
.risk-panel {
  padding: 24px;
  border: 1px solid #d5e2ea;
  border-radius: 24px;
  background: #f9fcfe;
  box-shadow: 0 18px 48px rgba(0, 20, 38, .15);
}
.risk-panel-heading {
  margin-bottom: 16px;
}
.risk-panel-heading > span {
  color: #075dcc;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.risk-panel-heading h3 {
  margin: 5px 0 0;
  font: 650 22px/1.25 var(--display);
  letter-spacing: -.02em;
}
.risk-factor-list {
  display: grid;
  gap: 10px;
}
.risk-factor {
  padding: 13px 15px 14px;
  border: 1px solid #d9e5ec;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 5px 16px rgba(8, 52, 86, .035);
}
.risk-factor label {
  margin-bottom: 11px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: #263c52;
  font-size: 14px;
  font-weight: 750;
}
.risk-factor label > span {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 9px;
}
.risk-factor label i {
  width: 27px;
  height: 27px;
  flex: 0 0 27px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: #e8f3fc;
  color: #075dcc;
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
}
.risk-factor output {
  flex: 0 0 auto;
  color: #072844;
  font-size: 13px;
  font-weight: 850;
  white-space: nowrap;
}
.risk-factor input {
  width: 100%;
  height: 5px;
  appearance: none;
  border-radius: 999px;
  background: linear-gradient(90deg, #1697dc 0%, #075dcc 58%, #d8e4e9 58%, #d8e4e9 100%);
  cursor: pointer;
}
.risk-factor input::-webkit-slider-thumb {
  width: 17px;
  height: 17px;
  appearance: none;
  border: 3px solid #eef7ff;
  border-radius: 50%;
  background: #075dcc;
  box-shadow: 0 0 0 2px rgba(7, 93, 204, .22);
}
.risk-factor input::-moz-range-thumb {
  width: 11px;
  height: 11px;
  border: 3px solid #eef7ff;
  border-radius: 50%;
  background: #075dcc;
  box-shadow: 0 0 0 2px rgba(7, 93, 204, .22);
}
.risk-results {
  display: flex;
  flex-direction: column;
}
.risk-comparison {
  min-height: 142px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 3vw, 38px);
}
.risk-gauge {
  --score: 67;
  position: relative;
  width: 128px;
  height: 128px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(#ef4a43 0 36%, #e8b52a 36% 57%, #67c99a 57% 100%);
  box-shadow: inset 0 0 0 1px rgba(16, 35, 61, .06);
}
.risk-gauge::before {
  content: "";
  position: absolute;
  inset: 21px;
  border-radius: 50%;
  background: #fff;
}
.risk-gauge > div {
  position: relative;
  z-index: 1;
  text-align: center;
}
.risk-gauge strong {
  display: block;
  font-size: 32px;
  line-height: 1;
}
.risk-gauge small {
  color: var(--muted);
  font-size: 11px;
}
.risk-gauge > span {
  position: absolute;
  z-index: 2;
  bottom: -8px;
  padding: 4px 9px;
  border: 1px solid #f2c9c4;
  border-radius: 999px;
  background: #fff1ee;
  color: #bd3c35;
  font-size: 10px;
  font-weight: 800;
}
.risk-gauge.scenario {
  background: conic-gradient(#67c99a 0 49%, #e8b52a 49% 68%, #ef4a43 68% 100%);
}
.risk-gauge.scenario > span {
  border-color: #bfe5d1;
  background: #eef9f3;
  color: #267554;
}
.risk-arrow {
  color: #667d90;
  font-size: 30px;
  font-weight: 400;
}
.risk-reduction {
  margin-top: 21px;
  padding: 14px 16px;
  border: 1px solid #bfdff1;
  border-radius: 15px;
  background: #eef8fd;
}
.risk-reduction > span {
  display: block;
  color: #345f7c;
  font-size: 12px;
}
.risk-reduction strong {
  margin-top: 2px;
  display: block;
  color: #075dcc;
  font-size: 24px;
  line-height: 1.2;
}
.risk-reduction > div {
  height: 6px;
  margin-top: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: #d9eaf4;
}
.risk-reduction i {
  width: 56%;
  height: 100%;
  display: block;
  border-radius: inherit;
  background: linear-gradient(90deg, #075dcc, #22b4d7);
  transition: width .25s ease;
}
.risk-estimates {
  margin-top: 11px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}
.risk-estimates div {
  min-height: 72px;
  padding: 11px 13px;
  border: 1px solid #d8e4eb;
  border-radius: 13px;
  background: #fff;
}
.risk-estimates small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
}
.risk-estimates b {
  margin-top: 3px;
  display: block;
  color: #075dcc;
  font-size: 22px;
  line-height: 1.15;
}
.risk-estimates div:nth-child(odd) b {
  color: var(--ink);
}
.risk-estimates em {
  color: var(--muted);
  font-size: 10px;
  font-style: normal;
}
.risk-note {
  margin: 11px 0 0;
  color: #667b8d;
  font-size: 10px;
  line-height: 1.45;
}

@media (max-width: 860px) {
  .risk-calculator { grid-template-columns: 1fr; }
}

@media (max-width: 650px) {
  .risk-panel { padding: 18px; border-radius: 20px; }
  .risk-factor { padding: 12px; }
  .risk-factor label {
    align-items: flex-start;
    gap: 8px;
    font-size: 13px;
  }
  .risk-factor output {
    max-width: 42%;
    white-space: normal;
    text-align: right;
  }
  .risk-comparison { gap: 17px; }
  .risk-gauge { width: 108px; height: 108px; }
  .risk-gauge::before { inset: 18px; }
  .risk-gauge strong { font-size: 27px; }
  .risk-arrow { font-size: 24px; }
  .risk-estimates { grid-template-columns: 1fr 1fr; }
}

/* Adoption and accessibility QA: switch to the menu before the expanded
   audience navigation becomes crowded, and keep touch targets dependable. */
@media (min-width: 1121px) and (max-width: 1380px) {
  .product-nav {
    position: absolute;
    top: 72px;
    right: 18px;
    left: 18px;
    margin: 0;
    padding: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 20px 50px rgba(8, 52, 86, .15);
  }
  .product-nav.open { display: flex; }
  .product-nav a,
  .product-nav .nav-explore summary { min-height: 44px; padding: 10px 12px; }
  .header-cta { margin-left: auto; }
  .menu-toggle { display: block; margin-left: 0; }
}

.product-nav a,
.product-nav .nav-explore summary,
.product-footer-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.feature-box p,
.media-card p,
.agent-box p,
.flow-step small,
.privacy-card p,
.principle-card p {
  font-size: max(15px, 1em);
}

:focus-visible {
  outline: 3px solid #5bdbe3;
  outline-offset: 3px;
}

/* Tablet and smartphone normalization */
@media (max-width: 860px) {
  .product-header {
    padding-inline: 18px;
  }

  .product-brand {
    width: 172px;
    flex-basis: 172px;
  }

  .product-hero {
    padding: 54px 22px 64px;
    gap: 34px;
  }

  .product-section {
    padding: 66px 22px;
  }

  .section-intro {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .product-cta {
    margin: 24px 18px 36px;
    padding: 34px 26px;
    grid-template-columns: 1fr;
  }

  .product-footer {
    padding-inline: 22px;
  }

  .product-footer-top {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  body {
    font-size: 16px;
  }

  .product-header {
    padding-inline: 14px;
  }

  .product-brand {
    width: 158px;
    flex-basis: 158px;
  }

  .product-hero {
    padding: 44px 18px 54px;
  }

  .product-hero h1 {
    font-size: clamp(38px, 11vw, 52px);
    overflow-wrap: anywhere;
  }

  .product-hero-copy > p {
    font-size: 17px;
    line-height: 1.58;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-actions .product-button,
  .product-cta .product-button {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .product-section {
    padding: 54px 18px;
  }

  .section-intro h2 {
    font-size: clamp(36px, 10.5vw, 48px);
    overflow-wrap: anywhere;
  }

  .section-intro > p,
  .feature-box p,
  .flow-step small {
    font-size: 16px;
    line-height: 1.62;
  }

  .product-hero-media {
    border-radius: 20px;
  }

  .product-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-data: reduce) {
  video {
    display: none;
  }
}

.product-cta {
  margin: 50px max(24px, calc((100vw - var(--rail)) / 2)) 58px;
  padding: 40px 44px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 40px;
  align-items: center;
  border-radius: 28px;
  background:
    radial-gradient(circle at 86% 15%, rgba(91, 222, 229, .28), transparent 24%),
    linear-gradient(135deg, #075dcc, #073f70);
  box-shadow: 0 22px 55px rgba(7, 67, 124, .18);
  color: #fff;
}
.product-cta h2 {
  margin: 0;
  font: 500 clamp(34px, 4vw, 50px)/1.09 var(--display);
  letter-spacing: -.035em;
}
.product-cta p { margin: 11px 0 0; color: #d8e7f2; }
.product-cta .product-button {
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
}

.product-footer {
  padding: 36px max(24px, calc((100vw - var(--rail)) / 2));
  border-top: 1px solid #dbe5ec;
  background: #edf3f7;
}
.product-footer-top {
  display: flex;
  justify-content: space-between;
  gap: 46px;
}
.product-footer img {
  width: 188px;
  height: auto;
  max-height: 38px;
  object-fit: contain;
}
.product-footer p {
  max-width: 440px;
  margin: 15px 0 0;
  color: #61778a;
}
.product-footer-links {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  justify-content: flex-end;
  gap: 13px 24px;
  font-size: 14px;
  font-weight: 650;
}
.product-footer-links a:hover { color: var(--blue); }
.product-footer-bottom {
  margin-top: 30px;
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid #d4e0e8;
  color: #71869a;
  font-size: 12px;
}

@media (max-width: 1120px) {
  .product-nav {
    position: absolute;
    top: 78px;
    right: 18px;
    left: 18px;
    margin-left: 0;
    padding: 17px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 1px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 20px 50px rgba(8, 52, 86, .15);
  }
  .product-nav.open { display: flex; }
  .product-nav a { padding: 9px 10px; }
  .product-nav a[aria-current="page"]::after { display: none; }
  .header-cta { margin-left: auto; }
  .menu-toggle { display: block; margin-left: 0; }
  .product-hero {
    min-height: 0;
    grid-template-columns: minmax(0, .92fr) minmax(430px, 1.08fr);
    gap: 38px;
  }
  .product-hero h1 { font-size: clamp(46px, 5.6vw, 64px); }
  .agent-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .flow-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .product-hero {
    padding-top: 62px;
    padding-bottom: 66px;
    grid-template-columns: 1fr;
    gap: 38px;
  }
  .product-hero-copy { max-width: 760px; }
  .product-hero-media { max-width: 720px; }
  .section-intro { grid-template-columns: 1fr; gap: 15px; }
  .section-intro p { max-width: 720px; justify-self: start; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .simulator { grid-template-columns: 1fr; }
}

@media (max-width: 650px) {
  body { font-size: 16px; }
  .product-header { height: 68px; padding-inline: 17px; gap: 10px; }
  .product-brand { width: 154px; height: 31px; flex-basis: 154px; }
  .product-brand img { max-height: 31px; }
  .header-cta { display: none; }
  .product-nav { top: 68px; }
  .product-hero { padding: 44px 18px 48px; gap: 28px; }
  .product-hero h1 { font-size: clamp(42px, 12vw, 57px); letter-spacing: -.045em; }
  .product-hero-copy > p { font-size: 17px; }
  .product-kicker { font-size: 13px; }
  .product-hero-media { border-radius: 21px; }
  .product-section { padding: 44px 18px; }
  .section-intro h2 { font-size: clamp(36px, 10vw, 48px); }
  .section-intro p { font-size: 17px; }
  .feature-grid,
  .media-grid,
  .flow-row,
  .agent-grid { grid-template-columns: 1fr; }
  .feature-box,
  .agent-box { min-height: 220px; }
  .flow-step { min-height: 150px; }
  .simulator-panel { padding: 27px 20px 28px; }
  .sim-control-grid { grid-template-columns: 1fr; }
  .sim-result { grid-template-columns: 1fr; }
  .product-cta {
    margin: 42px 18px 48px;
    padding: 32px 25px;
    grid-template-columns: 1fr;
    gap: 25px;
    border-radius: 23px;
  }
  .product-footer { padding: 32px 18px; }
  .product-footer-top,
  .product-footer-bottom { flex-direction: column; }
  .product-footer-links { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

/* Navigation QA: keep the complete product/company route set readable, then
   switch to the existing menu before links can collide with the CTA. */
@media (min-width: 1241px) {
  .product-header { gap: 22px; }
  .product-nav { gap: clamp(15px, 1.4vw, 22px); }
  .product-nav a { font-size: 13px; }
}

@media (min-width: 1121px) and (max-width: 1240px) {
  .product-nav {
    position: absolute;
    top: 78px;
    right: 18px;
    left: 18px;
    margin: 0;
    padding: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 20px 50px rgba(8, 52, 86, .15);
  }
  .product-nav.open { display: flex; }
  .product-nav a { padding: 9px 10px; }
  .product-nav a[aria-current="page"]::after { display: none; }
  .header-cta { margin-left: auto; }
  .menu-toggle { display: block; margin-left: 0; }
}

/* Final cross-page QA layer: consistent density, media fit and card rhythm */
.product-hero-media {
  aspect-ratio: 16 / 10;
  max-height: 560px;
}
.product-hero-media img,
.product-hero-media video {
  object-fit: contain;
  background: #eaf3f8;
}
.product-hero.dark .product-hero-media img,
.product-hero.dark .product-hero-media video { background: #082f50; }
.product-hero h1,
.section-intro h2,
.product-cta h2 { text-wrap: balance; }
.section-intro { align-items: end; }
.feature-grid,
.flow-row,
.agent-grid,
.media-grid { align-items: stretch; }
.feature-box { min-height: 225px; }
.feature-box p {
  font-size: 16px;
  line-height: 1.62;
}
.flow-step { min-height: 176px; }
.flow-step small {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.55;
}
.agent-box { min-height: 230px; }
.agent-box p {
  font-size: 15px;
  line-height: 1.6;
}
.media-card { height: 100%; }
.media-card-copy {
  min-height: 180px;
  display: flex;
  flex-direction: column;
}
.media-card-copy span { font-size: 13px; }
.media-card-copy p {
  margin-top: auto;
  padding-top: 5px;
  font-size: 16px;
}
.simulator { align-items: stretch; }
.simulator-media img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: contain;
}

@media (max-width: 1120px) {
  .flow-step { min-height: 184px; }
}

@media (max-width: 860px) {
  .product-hero-media { max-height: none; }
  .feature-box { min-height: 240px; }
  .simulator-media img { min-height: 0; height: auto; }
}

@media (max-width: 650px) {
  .product-hero-media { aspect-ratio: 16 / 10; }
  .feature-box,
  .agent-box,
  .flow-step { min-height: 0; }
  .feature-box,
  .agent-box { padding: 24px; }
  .flow-step { padding: 22px; }
  .media-card-copy { min-height: 0; }
}

/* Definitive product-hero system: identical alignment and density on every page */
.product-hero {
  min-height: 0;
  padding-block: 42px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  gap: 42px;
  align-items: start;
}
.product-hero::before { display: none; }
.product-hero-copy {
  width: 100%;
  max-width: 550px;
  align-self: start;
}
.product-hero h1 {
  max-width: 550px;
  margin: 13px 0 18px;
  font-size: clamp(48px, 4vw, 60px);
  line-height: 1.04;
  letter-spacing: -.047em;
}
.product-hero-copy > p {
  max-width: 535px;
  font-size: 18px;
  line-height: 1.62;
}
.product-hero .hero-actions { margin-top: 24px; }
.product-hero-media {
  width: 100%;
  max-width: 610px;
  margin-top: 34px;
  aspect-ratio: 16 / 9;
  align-self: start;
  justify-self: end;
  border-radius: 24px;
}
.product-live-story{
  position:absolute;
  z-index:3;
  right:12px;
  bottom:12px;
  left:12px;
  min-height:64px;
  padding:11px 13px;
  display:grid;
  grid-template-columns:auto 1fr auto;
  gap:12px;
  align-items:center;
  border:1px solid rgba(255,255,255,.42);
  border-radius:14px;
  background:rgba(4,31,57,.88);
  box-shadow:0 12px 30px rgba(0,21,41,.18);
  color:#fff;
  backdrop-filter:blur(14px);
  transition:opacity .22s ease,transform .22s ease;
}
.product-live-story>span{
  display:flex;
  align-items:center;
  gap:8px;
  color:#75e6e4;
  font-size:10px;
  font-weight:800;
  letter-spacing:.09em;
  text-transform:uppercase;
  white-space:nowrap;
}
.product-live-story>span i{
  width:8px;
  height:8px;
  border-radius:50%;
  background:#55ddca;
  box-shadow:0 0 0 5px rgba(85,221,202,.12);
}
.product-live-story strong{
  overflow:hidden;
  font-size:14px;
  font-weight:700;
  line-height:1.3;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.product-live-story em{
  color:#adc4d2;
  font-size:10px;
  font-style:normal;
  white-space:nowrap;
}
.product-live-story.changing{opacity:.25;transform:translateY(5px)}
.product-hero-media:not(.contain) img,
.product-hero-media:not(.contain) video {
  object-fit: cover;
}
.product-hero-media.contain img,
.product-hero-media.contain video {
  object-fit: contain;
}

@media (max-width: 1120px) {
  .product-hero {
    grid-template-columns: minmax(0, .98fr) minmax(420px, 1.02fr);
    gap: 36px;
  }
  .product-hero h1 { font-size: clamp(47px, 5.2vw, 60px); }
}

@media (max-width: 860px) {
  .product-hero {
    padding: 40px 24px 44px;
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .product-hero-copy,
  .product-hero h1,
  .product-hero-copy > p {
    max-width: 720px;
  }
  .product-hero-media {
    width: 100%;
    max-width: 720px;
    margin-top: 0;
    justify-self: start;
  }
}

/* Unified NivaCare palette across every product page. */
:root {
  --blue: #075cff;
  --navy: #10233d;
  --navy-deep: #064bcc;
  --cyan: #55d9df;
  --ice: #eef6ff;
  --muted: #526b82;
  --line: #cddfee;
}

.product-hero.dark,
.product-section.dark,
.product-cta {
  border-color: rgba(255,255,255,.24)!important;
  background:
    radial-gradient(circle at 88% 8%,rgba(85,217,223,.27),transparent 31%),
    linear-gradient(135deg,#075cff 0%,#064bcc 60%,#1977f3 100%)!important;
  color: #fff!important;
  box-shadow: 0 22px 58px rgba(7,92,255,.17);
}

.product-hero.dark::before,
.product-section.dark::before,
.product-cta::before {
  border-color: rgba(255,255,255,.13)!important;
}

.dark .product-kicker,
.product-section.dark .product-kicker,
.product-cta .product-kicker {
  color: #c8fbff!important;
}

.product-hero.dark h1,
.product-hero.dark h1 em,
.product-section.dark h2,
.product-cta h2 {
  color: #fff!important;
}

.product-hero.dark h1 em {
  color: #b8f7ff!important;
}

.product-hero.dark .product-hero-copy > p,
.product-section.dark .section-intro p,
.product-cta p {
  color: rgba(255,255,255,.88)!important;
}

.product-section.dark .feature-box,
.product-section.dark .flow-step,
.product-section.dark .agent-box {
  border-color: rgba(255,255,255,.24)!important;
  background: rgba(255,255,255,.13)!important;
  box-shadow: none!important;
}

.product-section.dark .feature-box h3,
.product-section.dark .flow-step b,
.product-section.dark .agent-box h3 {
  color: #fff!important;
}

.product-section.dark .feature-box p,
.product-section.dark .flow-step small,
.product-section.dark .agent-box p {
  color: rgba(255,255,255,.78)!important;
}

.product-section.dark .feature-box > span,
.product-section.dark .flow-step i,
.product-section.dark .agent-box i {
  border-color: rgba(255,255,255,.25)!important;
  background: rgba(255,255,255,.92)!important;
  color: #075cff!important;
}

.product-hero.dark .product-button,
.product-cta .product-button {
  border-color: #fff!important;
  background: #fff!important;
  color: #075cff!important;
  box-shadow: 0 13px 28px rgba(1,40,126,.2)!important;
}

.product-hero.dark .product-button.secondary {
  border-color: rgba(255,255,255,.65)!important;
  background: rgba(255,255,255,.12)!important;
  color: #fff!important;
}

.product-hero.dark .product-hero-media,
.product-hero.dark .product-hero-media video,
.product-hero.dark .product-hero-media img {
  background: #eaf3ff!important;
}

.product-live-story {
  border-color: rgba(255,255,255,.25)!important;
  background: rgba(7,92,255,.88)!important;
}

#simulator.product-section.dark {
  border-color: #cddfee!important;
  background:
    radial-gradient(circle at 92% 8%,rgba(85,217,223,.13),transparent 28%),
    linear-gradient(180deg,#f5f9ff 0%,#edf5ff 100%)!important;
  color: #10233d!important;
  box-shadow: none!important;
}

#simulator.product-section.dark .product-kicker {
  color: #075cff!important;
}

#simulator.product-section.dark h2 {
  color: #10233d!important;
}

#simulator.product-section.dark .section-intro p {
  color: #526b82!important;
}

/* Mental health screening: a distinct, voice-led preventive care layer. */
.wellbeing-hero {
  background:
    radial-gradient(circle at 86% 12%,rgba(79,214,211,.2),transparent 29%),
    radial-gradient(circle at 12% 90%,rgba(7,92,255,.08),transparent 30%),
    linear-gradient(135deg,#fbfdff 0%,#eef7fb 100%);
}

.wellbeing-hero-media {
  border-color: rgba(7,92,255,.18);
  box-shadow: 0 28px 70px rgba(7,72,132,.17);
}

.wellbeing-hero-media::before {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 12px;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 17px;
  pointer-events: none;
}

.voice-intelligence-band {
  width: 100%;
  padding: 24px max(24px,calc((100vw - var(--rail))/2));
  display: grid;
  grid-template-columns: minmax(240px,.9fr) minmax(240px,.75fr) minmax(330px,1.15fr);
  gap: 32px;
  align-items: center;
  border-block: 1px solid #cfe0ee;
  background:
    radial-gradient(circle at 85% 0,rgba(85,217,223,.2),transparent 38%),
    linear-gradient(120deg,#f1f7ff,#f8fcff 52%,#eafaf9);
}

.voice-band-heading {
  display: grid;
  gap: 4px;
}

.voice-band-heading span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
}

.voice-band-heading strong {
  color: var(--ink);
  font: 600 20px/1.3 var(--display);
  letter-spacing: -.025em;
}

.voice-wave {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}

.voice-wave i {
  width: 5px;
  height: 18px;
  border-radius: 999px;
  background: linear-gradient(180deg,#075cff,#55d9df);
  box-shadow: 0 5px 13px rgba(7,92,255,.14);
  animation: wellbeing-wave 1.8s ease-in-out infinite;
}

.voice-wave i:nth-child(2n) { height: 34px; animation-delay: -.25s; }
.voice-wave i:nth-child(3n) { height: 48px; animation-delay: -.65s; }
.voice-wave i:nth-child(4n) { height: 26px; animation-delay: -.95s; }

.voice-signal-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.voice-signal-list span {
  padding: 8px 11px;
  border: 1px solid rgba(7,92,255,.14);
  border-radius: 999px;
  background: rgba(255,255,255,.76);
  color: #254f70;
  font-size: 12px;
  font-weight: 700;
}

@keyframes wellbeing-wave {
  0%,100% { transform: scaleY(.72); opacity: .68; }
  50% { transform: scaleY(1.12); opacity: 1; }
}

@media (max-width: 940px) {
  .voice-intelligence-band {
    grid-template-columns: 1fr 1fr;
  }
  .voice-signal-list {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }
}

@media (max-width: 620px) {
  .voice-intelligence-band {
    padding-block: 26px;
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .voice-wave {
    justify-content: flex-start;
  }
  .voice-signal-list {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .voice-wave i { animation: none; }
}

.product-footer {
  border-top-color: #cfdfee!important;
  background: #edf4ff!important;
}

.product-footer p,
.product-footer a,
.product-footer-bottom {
  color: #526b82!important;
}

.product-footer a:hover {
  color: #075cff!important;
}

@media (max-width: 650px) {
  .product-hero {
    padding: 34px 18px 38px;
    gap: 27px;
  }
  .product-hero h1 {
    margin-top: 11px;
    font-size: clamp(40px, 11vw, 52px);
  }
  .product-hero-copy > p {
    font-size: 17px;
    line-height: 1.58;
  }
  .product-hero .hero-actions { margin-top: 22px; }
  .product-hero-media {
    aspect-ratio: 16 / 9;
    border-radius: 20px;
  }
  .product-live-story{
    min-height:52px;
    grid-template-columns:1fr auto;
    gap:8px;
  }
  .product-live-story>span{display:none}
  .product-live-story strong{font-size:12px}
}

/* Shared page-distribution QA: identical rails and balanced columns everywhere */
.product-hero{
  padding-block:48px;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:clamp(38px,4.5vw,54px);
  align-items:center;
}
.product-hero-copy{
  max-width:560px;
  align-self:center;
}
.product-hero h1{max-width:560px}
.product-hero-copy>p{max-width:545px}
.product-hero-media{
  max-width:none;
  margin-top:0;
  align-self:center;
}
.product-section{padding-block:52px}
.section-intro{
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:clamp(38px,4.5vw,54px);
  align-items:end;
  margin-bottom:30px;
}
.section-intro>div,.section-intro>p{min-width:0}
.section-intro p{
  max-width:510px;
  justify-self:start;
}
.feature-grid,.media-grid,.flow-row,.agent-grid,.risk-calculator{
  width:100%;
  max-width:var(--rail);
  margin-inline:auto;
}
.feature-box{min-height:218px}
.flow-step{min-height:188px}
.agent-box{min-height:238px}
.product-cta{
  width:min(calc(100% - 48px),var(--rail));
  max-width:var(--rail);
  margin:50px auto 58px;
}

@media (max-width:1120px){
  .product-hero{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:34px;
  }
}

@media (max-width:860px){
  .product-hero,.section-intro{grid-template-columns:1fr}
  .product-hero{align-items:start}
  .product-hero-copy,.product-hero h1,.product-hero-copy>p{max-width:720px}
  .product-hero-media{max-width:720px;justify-self:start}
  .section-intro{gap:16px}
  .section-intro p{max-width:720px}
}

@media (max-width:650px){
  .product-section{padding-block:44px}
  .product-cta{
    width:calc(100% - 36px);
    margin:42px auto 48px;
  }
}

/* Unified navigation treatment: matches the cleaner company/team header. */
.product-header {
  height: 72px;
}

.product-nav {
  gap: 30px;
}

.product-nav a {
  padding: 24px 0 23px;
  color: #354d63;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0;
}

.product-nav a:hover,
.product-nav a[aria-current="page"] {
  color: #075cff;
}

.product-nav a[aria-current="page"]::after {
  display: none;
}

@media (max-width: 1240px) {
  .product-nav {
    top: 72px;
    gap: 0;
  }

  .product-nav a {
    padding: 10px 12px;
    font-size: 14px;
    font-weight: 600;
  }
}

@media (max-width: 650px) {
  .product-header {
    height: 68px;
  }

  .product-nav {
    top: 68px;
  }
}
/* Scroll-directed product storytelling */
.product-scroll-scene {
  --section-progress: .5;
  --section-shift: 0;
  position: relative;
  isolation: isolate;
}

.product-scroll-scene::after {
  position: absolute;
  z-index: -1;
  top: 8%;
  right: -8%;
  width: clamp(230px, 32vw, 520px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(71, 219, 224, .14), rgba(7, 92, 255, .045) 48%, transparent 72%);
  opacity: var(--glow-opacity, .44);
  pointer-events: none;
  content: "";
  transform: translate3d(var(--glow-x, 0), var(--glow-y, 0), 0);
}

.product-hero-media {
  transform: perspective(1500px)
    translate3d(0, var(--motion-y, 0), 0)
    rotateX(var(--motion-rotate, 0deg));
  transform-origin: 50% 40%;
  will-change: transform;
}

.product-motion-card {
  opacity: 0;
  transform: translate3d(0, 22px, 0) scale(.985);
  transition:
    opacity .62s cubic-bezier(.2, .7, .2, 1),
    transform .78s cubic-bezier(.16, 1, .3, 1),
    box-shadow .3s ease,
    border-color .3s ease;
  transition-delay: calc(var(--motion-order, 0) * 65ms);
}

.motion-entered .product-motion-card {
  opacity: 1;
  transform: none;
}

.motion-entered .feature-box:hover,
.motion-entered .media-card:hover,
.motion-entered .agent-box:hover {
  transform: translate3d(0, -5px, 0);
}

.product-scroll-scene .product-kicker::before {
  display: inline-block;
  width: 0;
  height: 2px;
  margin-right: 0;
  border-radius: 10px;
  background: #60e1df;
  vertical-align: middle;
  content: "";
  transition: width .65s cubic-bezier(.16, 1, .3, 1), margin-right .65s cubic-bezier(.16, 1, .3, 1);
}

.product-scroll-scene.motion-entered .product-kicker::before {
  width: 28px;
  margin-right: 10px;
}

@media (max-width: 860px) {
  .product-hero-media {
    transform: none;
    will-change: auto;
  }

  .product-motion-card {
    transform: translate3d(0, 15px, 0);
    transition-delay: calc(min(var(--motion-order, 0), 3) * 50ms);
  }

  .motion-entered .product-motion-card {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .product-scroll-scene::after,
  .product-hero-media,
  .product-motion-card {
    transform: none!important;
    opacity: 1!important;
    transition: none!important;
    will-change: auto!important;
  }
}

/* Shared product-page rhythm: compact transitions and consistently spaced grids. */
.product-hero {
  padding-block: 38px!important;
}

.product-section {
  padding-block: 40px!important;
}

.section-intro {
  margin-bottom: 22px!important;
}

.feature-grid,
.media-grid {
  gap: 14px!important;
}

.flow-row,
.agent-grid {
  gap: 10px!important;
}

.product-cta {
  margin: 32px auto 40px!important;
}

@media (max-width: 860px) {
  .product-hero {
    padding-block: 34px!important;
  }

  .product-section {
    padding-block: 36px!important;
  }

  .section-intro {
    margin-bottom: 20px!important;
  }
}

@media (max-width: 650px) {
  .product-hero {
    padding: 30px 18px 34px!important;
  }

  .product-section {
    padding-block: 32px!important;
  }

  .feature-grid,
  .media-grid,
  .flow-row,
  .agent-grid {
    gap: 9px!important;
  }

  .product-cta {
    margin: 26px auto 32px!important;
  }
}
/* Shared Explore NivaCare navigation */
.product-brand {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  height: auto;
}

.product-brand .brand-tagline {
  display: block;
  width: 100%;
  margin-left: 0;
  color: #456982;
  font: 700 8px/1.1 Inter,sans-serif;
  letter-spacing: .15em;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
}

.product-nav .nav-explore {
  position: relative;
}

.product-nav .nav-explore summary {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #10233d;
  font: inherit;
  cursor: pointer;
  list-style: none;
  white-space: nowrap;
}

.product-nav .nav-explore summary::-webkit-details-marker {
  display: none;
}

.product-nav .nav-explore summary span {
  position: relative;
  width: 21px;
  height: 21px;
  flex: 0 0 21px;
  border-radius: 7px;
  background: rgba(7,92,255,.1);
  color: currentColor;
  font-size: 0;
  transition: background .2s ease;
}

.product-nav .nav-explore summary span::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 6px;
  width: 7px;
  height: 7px;
  border-right: 3px solid currentColor;
  border-bottom: 3px solid currentColor;
  border-radius: 1px;
  transform: rotate(45deg);
  transition: transform .22s ease, top .22s ease;
}

.product-nav .nav-explore[open] summary span {
  background: rgba(7,92,255,.16);
}

.product-nav .nav-explore[open] summary span::before {
  top: 8px;
  transform: rotate(225deg);
}

.product-nav .feature-menu {
  position: absolute;
  top: calc(100% + 20px);
  left: 50%;
  z-index: 1200;
  display: grid;
  grid-template-columns: repeat(2,minmax(235px,1fr));
  width: 560px;
  padding: 14px;
  border: 1px solid rgba(193,213,229,.88);
  border-radius: 20px;
  background: rgba(255,255,255,.99);
  box-shadow: 0 26px 70px rgba(17,62,98,.18);
  transform: translateX(-38%);
}

.product-nav .feature-menu a {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 15px 16px;
  border-radius: 13px;
  color: #17324a;
}

.product-nav .feature-menu a::after {
  display: none !important;
}

.product-nav .feature-menu a:hover,
.product-nav .feature-menu a:focus-visible,
.product-nav .feature-menu a[aria-current="page"] {
  background: linear-gradient(135deg,#edf6ff,#effcfb);
}

.product-nav .feature-menu a b {
  font: 700 14px/1.25 "Plus Jakarta Sans",sans-serif;
}

.product-nav .feature-menu a small {
  color: #688197;
  font: 500 11px/1.45 Inter,sans-serif;
}

@media (max-width: 1160px) {
  .product-nav .nav-explore summary {
    justify-content: space-between;
    padding: 9px 10px;
    color: #10233d;
    background: #f4f8fb;
    border-radius: 10px;
  }
  .product-nav .feature-menu {
    position: static;
    display: grid;
    grid-template-columns: 1fr;
    width: auto;
    margin: 2px 0 8px;
    padding: 6px;
    border-radius: 14px;
    box-shadow: none;
    transform: none;
    background: #f4f8fb;
  }
  .product-nav .feature-menu a {
    padding: 10px 12px;
  }
  .product-nav .feature-menu a small {
    display: none;
  }
}
/* News page */
.news-topic-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 18px;
}

.news-topic-grid article {
  min-height: 250px;
  padding: 30px;
  border: 1px solid #dbe8f1;
  border-radius: 22px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 16px 40px rgba(18,64,100,.07);
}

.news-topic-grid article span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 12px;
  background: #eaf4ff;
  color: #075cff;
  font-size: 11px;
  font-weight: 800;
}

.news-topic-grid h3 {
  margin: 42px 0 12px;
  color: #10233d;
  font: 700 24px/1.15 "Plus Jakarta Sans",sans-serif;
  letter-spacing: -.025em;
}

.news-topic-grid p,
.news-empty-state p {
  color: #60798d;
  line-height: 1.7;
}

.news-empty-state {
  display: grid;
  justify-items: center;
  padding: clamp(48px,8vw,96px) 24px;
  border: 1px solid #dbe8f1;
  border-radius: 28px;
  background:
    repeating-radial-gradient(circle at 50% 50%,transparent 0 58px,rgba(68,112,168,.07) 59px 60px),
    linear-gradient(135deg,#f8f6ff,#f1f9ff 55%,#effcfb);
  text-align: center;
}

.news-empty-state > span {
  color: #075cff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.news-empty-state h3 {
  margin: 18px 0 10px;
  color: #10233d;
  font: 700 clamp(30px,4vw,48px)/1.08 "Plus Jakarta Sans",sans-serif;
  letter-spacing: -.04em;
}

.news-empty-state .product-button {
  margin-top: 24px;
}

.product-footer-brand {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.product-footer-brand img {
  width: 172px;
}

.product-footer-brand span {
  width: 100%;
  margin-left: 0;
  color: #8db2cc;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .15em;
  text-align: center;
  text-transform: uppercase;
}

@media (max-width: 820px) {
  .news-topic-grid { grid-template-columns: 1fr; }
  .news-topic-grid article { min-height: 220px; }
}

/* Compact Eka-style editorial labels. */
.product-kicker,
.media-card-copy span,
.risk-panel-heading > span,
.product-live-story > span,
.news-empty-state > span {
  font-family: Inter,Arial,sans-serif!important;
  font-weight: 700!important;
  letter-spacing: -.015em!important;
  text-transform: none!important;
}

.product-kicker {
  font-size: 15px;
}
