:root {
  color-scheme: dark;
  font-family: "Inter", sans-serif;
  background: #03071c;
}

* { box-sizing: border-box; }
html, body { min-height: 100%; margin: 0; background: #03071c; }
body { min-height: 100svh; color: #fff; }

.nc-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.nc-topbar {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 5.25rem;
  padding: 0 clamp(1.25rem, 3vw, 3.5rem);
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: linear-gradient(180deg, rgba(2,6,24,.92), rgba(2,6,24,.52));
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
}

.nc-brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  color: #fff;
  text-decoration: none;
}
.nc-brand img { width: 2.55rem; height: 2.55rem; object-fit: contain; }
.nc-brand span { display: flex; flex-direction: column; line-height: 1; }
.nc-brand b { font-size: 1rem; letter-spacing: .24em; }
.nc-brand small { margin-top: .32rem; color: rgba(255,255,255,.5); font-size: .55rem; font-weight: 700; letter-spacing: .36em; }

.nc-topbar__actions, .nc-language, .nc-back { display: flex; align-items: center; }
.nc-topbar__actions { gap: .75rem; }
.nc-language {
  gap: 2px;
  padding: 3px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 999px;
  background: rgba(255,255,255,.05);
}
.nc-language a {
  min-width: 2.15rem;
  padding: .38rem .55rem;
  border-radius: 999px;
  color: rgba(255,255,255,.55);
  font-size: .68rem;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
}
.nc-language a.is-active { color: #fff; background: #6d5dff; box-shadow: 0 0 16px rgba(109,93,255,.5); }
.nc-back {
  gap: .35rem;
  padding: .55rem .8rem;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  color: rgba(255,255,255,.72);
  font-size: .72rem;
  font-weight: 700;
  text-decoration: none;
}
.nc-back svg { width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.nc-back:hover { color: #fff; border-color: rgba(171,157,255,.55); }

.nc-choice {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  min-height: 100svh;
  overflow: hidden;
}

.nc-panel {
  position: relative;
  isolation: isolate;
  display: block;
  min-width: 0;
  min-height: 100svh;
  overflow: hidden;
  color: #fff;
  text-decoration: none;
}
.nc-panel__image {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: .78;
  transition: transform .75s cubic-bezier(.2,.75,.25,1), filter .5s ease, opacity .5s ease;
}
.nc-panel__shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(2,6,24,.2) 0%, rgba(2,6,24,.23) 30%, rgba(4,9,28,.91) 57%, #05091e 100%),
    linear-gradient(120deg, rgba(23,162,138,.12), transparent 58%);
  transition: background .45s ease;
}
.nc-panel--prime .nc-panel__shade {
  background:
    linear-gradient(180deg, rgba(3,5,24,.12) 0%, rgba(5,4,25,.2) 30%, rgba(14,7,39,.92) 57%, #0b071f 100%),
    linear-gradient(225deg, rgba(151,82,255,.2), transparent 58%);
}

.nc-panel__content {
  position: absolute;
  right: clamp(1.5rem, 4vw, 4.5rem);
  bottom: clamp(2rem, 4.5vh, 3.8rem);
  left: clamp(1.5rem, 4vw, 4.5rem);
  z-index: 2;
  display: block;
  max-width: 43rem;
}
.nc-panel__eyebrow {
  display: block;
  margin-bottom: .65rem;
  color: #81e6ce;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.nc-panel--prime .nc-panel__eyebrow { color: #bbaaff; }
.nc-panel__heading {
  display: block;
  font-size: clamp(2.35rem, 4.25vw, 5rem);
  font-weight: 400;
  letter-spacing: -.06em;
  line-height: .98;
}
.nc-panel__heading strong { font-weight: 760; }
.nc-panel__tagline {
  display: block;
  margin-top: .75rem;
  color: rgba(255,255,255,.66);
  font-size: clamp(.92rem, 1.2vw, 1.08rem);
  font-weight: 500;
}

.nc-features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .5rem 1.25rem;
  margin-top: 1.4rem;
}
.nc-features > span {
  position: relative;
  display: block;
  padding-left: 1.2rem;
  color: rgba(255,255,255,.73);
  font-size: clamp(.74rem, .86vw, .86rem);
  line-height: 1.45;
}
.nc-features > span::before {
  position: absolute;
  top: .46em;
  left: 0;
  width: .42rem;
  height: .42rem;
  border-radius: 999px;
  background: #54d6ba;
  box-shadow: 0 0 12px rgba(84,214,186,.55);
  content: "";
}
.nc-panel--prime .nc-features > span::before { background: #9d86ff; box-shadow: 0 0 12px rgba(157,134,255,.65); }

.nc-cta {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  margin-top: 1.5rem;
  padding: .78rem 1.05rem;
  border: 1px solid rgba(93,218,191,.45);
  border-radius: 999px;
  background: rgba(35,159,135,.16);
  color: #fff;
  font-size: .73rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.nc-cta--prime { border-color: rgba(157,134,255,.58); background: rgba(109,93,255,.22); }
.nc-cta svg { width: 1.05rem; height: 1.05rem; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; transition: transform .2s ease; }

.nc-recommended {
  position: absolute;
  top: 6.65rem;
  right: clamp(1.5rem, 3vw, 3.5rem);
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .55rem .82rem;
  border: 1px solid rgba(177,160,255,.42);
  border-radius: 999px;
  background: rgba(15,10,47,.62);
  color: rgba(255,255,255,.86);
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}
.nc-recommended__dot { width: .45rem; height: .45rem; border-radius: 999px; background: #9d86ff; box-shadow: 0 0 14px #8e74ff; }

.nc-divider {
  position: absolute;
  top: 7.5rem;
  bottom: 2rem;
  left: 50%;
  z-index: 8;
  display: flex;
  width: 2.25rem;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
  transform: translateX(-50%);
}
.nc-divider__line { display: block; width: 1px; flex: 1; background: linear-gradient(180deg, transparent, rgba(161,143,255,.58)); }
.nc-divider__line--bottom { background: linear-gradient(180deg, rgba(161,143,255,.58), transparent); }
.nc-divider svg { width: 2rem; height: 7rem; margin: .95rem 0; overflow: visible; filter: drop-shadow(0 0 5px rgba(122,100,255,.42)); }
.nc-divider svg > path { fill: none; stroke: #8f7cff; stroke-width: 1.35; stroke-linecap: round; stroke-linejoin: round; }
.nc-divider svg g path { fill: none; stroke: rgba(205,197,255,.56); stroke-width: .7; stroke-linecap: round; }

.nc-panel:hover .nc-panel__image, .nc-panel:focus-visible .nc-panel__image { transform: scale(1.025); filter: saturate(1.1) brightness(1.06); opacity: .92; }
.nc-panel:hover .nc-cta, .nc-panel:focus-visible .nc-cta { transform: translateY(-2px); background: rgba(35,159,135,.3); border-color: rgba(93,218,191,.78); }
.nc-panel--prime:hover .nc-cta, .nc-panel--prime:focus-visible .nc-cta { background: rgba(109,93,255,.4); border-color: rgba(177,160,255,.82); }
.nc-panel:hover .nc-cta svg, .nc-panel:focus-visible .nc-cta svg { transform: translateX(4px); }
.nc-panel:focus-visible { outline: 3px solid #b3a6ff; outline-offset: -3px; }

@media (max-height: 800px) and (min-width: 801px) {
  .nc-panel__content { bottom: 1.2rem; }
  .nc-panel__heading { font-size: clamp(2rem, 3.5vw, 3.8rem); }
  .nc-panel__tagline { margin-top: .45rem; }
  .nc-features { gap: .3rem 1rem; margin-top: .85rem; }
  .nc-features > span { font-size: .7rem; }
  .nc-cta { margin-top: 1rem; padding: .62rem .9rem; }
}

@media (max-width: 800px) {
  .nc-topbar { height: 4.7rem; padding: 0 1rem; }
  .nc-brand b { font-size: .85rem; }
  .nc-brand small { font-size: .48rem; }
  .nc-brand img { width: 2.2rem; height: 2.2rem; }
  .nc-back span { display: none; }
  .nc-choice { display: block; overflow: visible; padding-top: 4.7rem; }
  .nc-panel { min-height: 46rem; border-bottom: 1px solid rgba(255,255,255,.1); }
  .nc-panel__content { right: 1.35rem; bottom: 2rem; left: 1.35rem; }
  .nc-panel__heading { font-size: clamp(2.8rem, 13vw, 4.2rem); }
  .nc-panel__shade, .nc-panel--prime .nc-panel__shade {
    background: linear-gradient(180deg, rgba(2,6,24,.1), rgba(3,7,25,.18) 28%, rgba(5,9,30,.94) 55%, #05091e 100%);
  }
  .nc-features { grid-template-columns: 1fr; gap: .4rem; }
  .nc-features > span { font-size: .8rem; }
  .nc-recommended { top: 1rem; right: 1rem; }
  .nc-divider { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .nc-panel__image, .nc-cta, .nc-cta svg { transition: none; }
}

/* Match the shared Health navbar wordmark. */
.nc-brand img.nc-brand__logo {
  width: auto;
  height: 2.7rem;
  max-width: 9rem;
  object-fit: contain;
  filter: none;
}
@media (max-width: 767px) {
  .nc-brand img.nc-brand__logo { height: 2.1rem; max-width: 7rem; }
}

@media (max-width: 400px) {
  .nc-topbar { padding-inline: .6rem; }
  .nc-topbar__actions { gap: .3rem; }
  .nc-brand img.nc-brand__logo { max-width: 5rem; }
  .nc-report-link { max-width: 4.6rem; padding: .45rem .6rem; text-align: center; }
}
