:root {
  --red: #e31f2b;
  --red-dark: #c91522;
  --red-soft: #fff0f2;
  --ink: #11141a;
  --ink-2: #242934;
  --muted: #6f7684;
  --muted-2: #979eaa;
  --line: #dde1e7;
  --line-strong: #cbd1d9;
  --surface: #ffffff;
  --surface-2: #f6f7f9;
  --surface-3: #eef1f4;
  --page: #f2f4f6;
  --green: #0e9f62;
  --green-dark: #087747;
  --green-soft: #eaf9f2;
  --blue: #2477ee;
  --blue-soft: #eaf2ff;
  --amber: #ef9c2e;
  --amber-soft: #fff5e7;
  --purple: #7b5ce5;
  --shadow-xs: 0 1px 2px rgba(17, 20, 26, .05);
  --shadow-sm: 0 10px 28px rgba(21, 28, 40, .08);
  --shadow-md: 0 24px 70px rgba(21, 28, 40, .12);
  --shadow-lg: 0 34px 110px rgba(17, 20, 26, .18);
  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 26px;
  --radius-xl: 34px;
  --container: 1320px;
  --header-height: 76px;
  --ease: cubic-bezier(.2, .75, .25, 1);
}

* {
  box-sizing: border-box;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
  background: var(--page);
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--page);
  font-family: Inter, "SF Pro Display", "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.modal-open {
  overflow: hidden;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

button:not(:disabled),
label,
a {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
  opacity: .48;
}

img,
svg {
  max-width: 100%;
}

svg.icon {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3,
strong,
b {
  font-weight: 750;
}

em {
  font-style: normal;
}

[hidden] {
  display: none !important;
}

.svg-symbols {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.container {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  color: #fff;
  background: var(--ink);
  border-radius: 10px;
  transform: translateY(-150%);
  transition: transform .2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .72s var(--ease), transform .72s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 21px;
  border: 1px solid transparent;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 750;
  white-space: nowrap;
  transition: transform .2s var(--ease), box-shadow .2s ease, border-color .2s ease, background .2s ease, color .2s ease;
}

.button:hover:not(:disabled) {
  transform: translateY(-2px);
}

.button:active:not(:disabled) {
  transform: translateY(0);
}

.button--primary {
  color: #fff;
  background: var(--red);
  box-shadow: 0 12px 30px rgba(227, 31, 43, .24);
}

.button--primary:hover:not(:disabled) {
  background: var(--red-dark);
  box-shadow: 0 16px 36px rgba(227, 31, 43, .32);
}

.button--dark {
  color: #fff;
  background: var(--ink);
  box-shadow: 0 12px 30px rgba(17, 20, 26, .18);
}

.button--dark:hover:not(:disabled) {
  background: #222732;
}

.button--ghost {
  color: var(--ink);
  background: #fff;
  border-color: var(--line);
  box-shadow: var(--shadow-xs);
}

.button--ghost:hover:not(:disabled) {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-sm);
}

.button--large {
  min-height: 58px;
  padding-inline: 26px;
  border-radius: 16px;
}

.button--header {
  min-height: 44px;
  padding-inline: 17px;
  border-radius: 12px;
  font-size: 14px;
}

.text-button {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0;
  color: var(--red);
  background: none;
  border: 0;
  font-weight: 730;
  text-align: left;
}

.text-button:hover {
  color: var(--red-dark);
}

.text-button--strong {
  color: var(--ink);
}

.pilot-strip {
  min-height: 34px;
  display: flex;
  align-items: center;
  color: #5f6672;
  background: #e9ecef;
  border-bottom: 1px solid #dfe3e8;
  font-size: 12px;
}

.pilot-strip__inner {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.pilot-strip__inner > span,
.pilot-strip__inner button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.pilot-strip__inner > span i {
  width: 7px;
  height: 7px;
  background: var(--amber);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(239, 156, 46, .14);
}

.pilot-strip__inner button {
  padding: 0;
  color: var(--ink-2);
  background: none;
  border: 0;
  font-weight: 680;
}

.pilot-strip__inner button .icon {
  width: 14px;
  height: 14px;
}

.site-header {
  position: sticky;
  z-index: 80;
  top: 0;
  height: var(--header-height);
  background: rgba(247, 248, 250, .86);
  border-bottom: 1px solid rgba(206, 211, 218, .72);
  backdrop-filter: blur(18px);
}

.site-header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
}

.brand__mark {
  position: relative;
  width: 40px;
  height: 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  gap: 3px;
  padding: 8px;
  color: #fff;
  background: var(--red);
  border-radius: 12px;
  box-shadow: 0 8px 22px rgba(227, 31, 43, .24);
}

.brand__mark i {
  height: 21px;
  border: 2px solid currentColor;
  border-top: 0;
  border-bottom: 0;
  border-radius: 3px;
}

.brand__word {
  display: flex;
  align-items: baseline;
  gap: 5px;
  letter-spacing: -.04em;
}

.brand__word strong {
  font-size: 25px;
  font-weight: 850;
}

.brand__word em {
  color: var(--red);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -.02em;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}

.desktop-nav a {
  position: relative;
  color: #555d69;
  text-decoration: none;
  font-size: 14px;
  font-weight: 690;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -7px;
  height: 2px;
  background: var(--red);
  transition: right .22s ease;
}

.desktop-nav a:hover {
  color: var(--ink);
}

.desktop-nav a:hover::after {
  right: 0;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.language-switch {
  height: 40px;
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  background: #eceff2;
  border: 1px solid #dfe3e7;
  border-radius: 11px;
}

.language-switch button {
  min-width: 34px;
  height: 32px;
  padding: 0 8px;
  color: #6f7682;
  background: transparent;
  border: 0;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 800;
}

.language-switch button.is-active {
  color: #fff;
  background: var(--ink);
  box-shadow: 0 3px 8px rgba(17, 20, 26, .16);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 76px 0 88px;
  background:
    radial-gradient(circle at 86% 18%, rgba(227, 31, 43, .09), transparent 26%),
    radial-gradient(circle at 10% 85%, rgba(36, 119, 238, .06), transparent 28%),
    linear-gradient(180deg, #f8f9fa 0%, #f1f3f5 100%);
}

.hero__grid-bg {
  position: absolute;
  inset: 0;
  opacity: .45;
  background-image: linear-gradient(rgba(25, 30, 38, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(25, 30, 38, .035) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, #000, transparent 92%);
}

.hero__layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(520px, 1.08fr);
  align-items: center;
  gap: 70px;
}

.hero__content {
  max-width: 680px;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--red);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.eyebrow {
  margin-bottom: 22px;
}

.eyebrow__dot {
  width: 8px;
  height: 8px;
  background: var(--red);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(227, 31, 43, .12);
}

.eyebrow b {
  margin-left: 3px;
  padding: 2px 7px;
  color: #fff;
  background: var(--ink);
  border-radius: 999px;
  font-size: 10px;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 720px;
  margin-bottom: 24px;
  font-size: clamp(48px, 5vw, 76px);
  line-height: .99;
  letter-spacing: -.065em;
}

.hero h1 span,
.hero h1 em {
  display: inline;
}

.hero h1 em {
  color: var(--red);
}

.hero__lead {
  max-width: 650px;
  margin-bottom: 30px;
  color: #5e6673;
  font-size: 18px;
  line-height: 1.65;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: #59616d;
  font-size: 13px;
}

.hero__trust span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero__trust .icon {
  width: 16px;
  height: 16px;
  color: var(--green);
  stroke-width: 2.2;
}

.hero-lab {
  position: relative;
  padding: 16px;
  background: rgba(255, 255, 255, .84);
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 32px;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(18px);
}

.hero-lab::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255,255,255,.95), rgba(227,31,43,.12), rgba(36,119,238,.08));
}

.hero-lab__top,
.hero-lab__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 4px 5px 16px;
}

.hero-lab__top > div:first-child {
  display: grid;
  gap: 2px;
}

.hero-lab__top span {
  color: var(--red);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.hero-lab__top strong {
  font-size: 16px;
}

.segment-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  background: #eceff2;
  border-radius: 11px;
}

.segment-switch button {
  min-width: 72px;
  height: 34px;
  padding: 0 12px;
  color: #737a86;
  background: transparent;
  border: 0;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 780;
}

.segment-switch button.is-active {
  color: var(--ink);
  background: #fff;
  box-shadow: 0 3px 10px rgba(17, 20, 26, .10);
}

.segment-switch--small button {
  min-width: 60px;
  height: 30px;
}

.climate-scene {
  position: relative;
  min-height: 450px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  border-radius: 24px;
  isolation: isolate;
  background: #dde6ee;
}

.climate-scene__outside,
.climate-scene__inside {
  position: relative;
  overflow: hidden;
}

.climate-scene__outside {
  background: linear-gradient(155deg, #a5cce6 0%, #d8e7f2 55%, #a9bed0 100%);
}

.climate-scene__outside::after {
  content: "";
  position: absolute;
  inset: auto -5% 0;
  height: 33%;
  background: linear-gradient(#dce8ef, #b4c6d1);
  clip-path: polygon(0 48%, 17% 28%, 30% 40%, 52% 12%, 74% 35%, 100% 18%, 100% 100%, 0 100%);
}

.climate-scene__inside {
  background: linear-gradient(145deg, #ffe3bd 0%, #fff4e2 58%, #f6cf9e 100%);
}

.climate-scene[data-season="summer"] .climate-scene__outside {
  background: linear-gradient(150deg, #58a8e8, #b8e1ff 58%, #e9cd83);
}

.climate-scene[data-season="summer"] .climate-scene__outside::after {
  background: linear-gradient(#d7b874, #b99754);
}

.climate-scene[data-season="summer"] .climate-scene__inside {
  background: linear-gradient(145deg, #ffe0a6 0%, #fff0d1 58%, #f5ba65 100%);
}

.scene-temperature {
  position: absolute;
  z-index: 4;
  top: 22px;
  left: 24px;
  display: grid;
  color: #fff;
  text-shadow: 0 2px 10px rgba(12, 42, 65, .22);
}

.scene-temperature b {
  font-size: 31px;
  letter-spacing: -.05em;
}

.scene-temperature small {
  font-size: 11px;
  font-weight: 650;
  opacity: .88;
}

.scene-temperature--inside {
  right: 24px;
  left: auto;
  color: #8e4f1a;
  text-align: right;
  text-shadow: none;
}

.snow {
  position: absolute;
  z-index: 3;
  width: 7px;
  height: 7px;
  background: rgba(255, 255, 255, .85);
  border-radius: 50%;
  animation: snow-fall 4.8s linear infinite;
}

.snow--1 { left: 16%; top: -5%; animation-delay: -.4s; }
.snow--2 { left: 36%; top: -12%; animation-delay: -2.1s; width: 5px; height: 5px; }
.snow--3 { left: 62%; top: -8%; animation-delay: -3.2s; }
.snow--4 { left: 78%; top: -15%; animation-delay: -1.2s; width: 4px; height: 4px; }
.snow--5 { left: 51%; top: -10%; animation-delay: -4.1s; width: 6px; height: 6px; }

.climate-scene[data-season="summer"] .snow {
  width: 46px;
  height: 46px;
  top: 55px;
  left: 68px;
  background: #ffe48c;
  box-shadow: 0 0 32px rgba(255, 214, 93, .85);
  animation: sun-pulse 2.5s ease-in-out infinite;
}

.climate-scene[data-season="summer"] .snow:not(.snow--1) {
  display: none;
}

.scene-window {
  position: absolute;
  z-index: 8;
  top: 56px;
  bottom: 50px;
  left: 50%;
  width: 176px;
  transform: translateX(-50%);
}

.scene-window__frame {
  position: absolute;
  inset: 0;
  padding: 13px;
  background: linear-gradient(145deg, #f9fbfd, #c9d1da);
  border-radius: 13px;
  box-shadow: 0 20px 45px rgba(31, 46, 62, .22), inset 0 0 0 1px rgba(255,255,255,.9);
}

.scene-window__frame::before {
  content: "";
  position: absolute;
  inset: 13px;
  background: linear-gradient(135deg, rgba(209,232,248,.8), rgba(255,240,220,.62));
  border: 4px solid #9aa8b5;
  border-radius: 3px;
  box-shadow: inset 0 0 32px rgba(255,255,255,.46);
}

.scene-window__frame i:nth-child(1),
.scene-window__frame i:nth-child(2) {
  position: absolute;
  z-index: 2;
  top: 13px;
  bottom: 13px;
  width: 5px;
  left: calc(50% - 2.5px);
  background: #dfe5ea;
  box-shadow: 0 0 0 1px #a9b4be;
}

.scene-window__frame i:nth-child(2) {
  top: calc(50% - 2.5px);
  right: 13px;
  bottom: auto;
  left: 13px;
  width: auto;
  height: 5px;
}

.scene-window__frame span {
  position: absolute;
  z-index: 3;
  top: 46%;
  right: 8px;
  width: 10px;
  height: 45px;
  background: #fafafa;
  border: 1px solid #abb4bd;
  border-radius: 5px;
  box-shadow: 0 4px 8px rgba(22, 30, 39, .12);
}

.heat-stream {
  position: absolute;
  z-index: 10;
  top: 42%;
  left: 80%;
  width: 95px;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(241, 94, 42, .9), rgba(241, 94, 42, 0));
  filter: blur(.2px);
  animation: heat-flow 2.3s ease-in-out infinite;
  transition: opacity .45s ease, transform .45s ease;
}

.heat-stream--2 { top: 56%; animation-delay: -.8s; }
.heat-stream--3 { top: 69%; animation-delay: -1.5s; }

.climate-scene[data-window-state="after"] .heat-stream {
  opacity: .2;
  transform: scaleX(.35);
  transform-origin: left center;
}

.climate-scene[data-window-state="after"] .scene-window__frame {
  box-shadow: 0 20px 45px rgba(31, 46, 62, .18), 0 0 0 5px rgba(14,159,98,.08), inset 0 0 0 1px rgba(255,255,255,.9);
}

.sound-wave {
  position: absolute;
  z-index: 4;
  top: 43%;
  left: 12%;
  width: 45px;
  height: 45px;
  border: 2px solid rgba(25, 79, 117, .32);
  border-left-color: transparent;
  border-radius: 50%;
  animation: sound-wave 2s ease-out infinite;
}

.sound-wave--2 { animation-delay: -.65s; }
.sound-wave--3 { animation-delay: -1.3s; }

.climate-scene[data-window-state="after"] .sound-wave {
  animation-play-state: paused;
  opacity: .16;
}

.scene-sofa {
  position: absolute;
  right: 25px;
  bottom: 35px;
  width: 115px;
  height: 58px;
  background: #b97346;
  border-radius: 30px 30px 12px 12px;
  box-shadow: inset 0 8px 0 rgba(255,255,255,.12);
}

.scene-sofa::before,
.scene-sofa::after {
  content: "";
  position: absolute;
  bottom: -12px;
  width: 7px;
  height: 14px;
  background: #6f442d;
}

.scene-sofa::before { left: 16px; }
.scene-sofa::after { right: 16px; }

.scene-lamp {
  position: absolute;
  right: 62px;
  bottom: 93px;
  width: 4px;
  height: 78px;
  background: #845a3d;
}

.scene-lamp::before {
  content: "";
  position: absolute;
  top: -15px;
  left: -22px;
  width: 48px;
  height: 28px;
  background: #f0b566;
  clip-path: polygon(20% 0, 80% 0, 100% 100%, 0 100%);
}

.scene-plant {
  position: absolute;
  left: 25px;
  bottom: 22px;
  width: 28px;
  height: 36px;
  background: #9f6c43;
  border-radius: 4px 4px 12px 12px;
}

.scene-plant::before {
  content: "";
  position: absolute;
  left: -15px;
  bottom: 23px;
  width: 60px;
  height: 65px;
  background: #67965d;
  border-radius: 60% 40% 55% 45%;
  clip-path: polygon(50% 100%, 0 34%, 42% 48%, 50% 0, 61% 48%, 100% 28%);
}

.scene-result {
  position: absolute;
  z-index: 15;
  right: 18px;
  bottom: 18px;
  left: 18px;
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 14px 12px 16px;
  background: rgba(255, 255, 255, .91);
  border: 1px solid rgba(255,255,255,.95);
  border-radius: 17px;
  box-shadow: 0 12px 30px rgba(24, 35, 48, .13);
  backdrop-filter: blur(14px);
}

.scene-result > span {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
}

.scene-result > span .icon {
  color: var(--red);
}

.scene-result strong {
  display: flex;
  align-items: baseline;
  color: var(--red);
}

.scene-result strong b {
  font-size: 28px;
  line-height: 1;
}

.scene-result strong small {
  color: var(--muted);
  font-size: 11px;
}

.climate-scene[data-window-state="after"] .scene-result > span .icon,
.climate-scene[data-window-state="after"] .scene-result strong {
  color: var(--green);
}

.hero-lab__bottom {
  padding: 14px 4px 2px;
  justify-content: flex-start;
}

.season-button {
  height: 36px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 12px;
  color: var(--muted);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 12px;
}

.season-button.is-active {
  color: var(--ink);
  background: #fff;
  border-color: var(--line);
  box-shadow: var(--shadow-xs);
}

.lab-note {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin-left: auto;
  max-width: 245px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.4;
}

.lab-note .icon {
  width: 15px;
  height: 15px;
  margin-top: 1px;
  color: var(--amber);
}

.how-section,
.technology-section,
.methodology-section {
  padding: 104px 0;
}

.how-section {
  background: #fff;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 44px;
}

.section-heading--center {
  margin-inline: auto;
  text-align: center;
}

.section-heading h2,
.advisor-heading h2,
.methodology-layout h2 {
  margin: 12px 0 14px;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.06;
  letter-spacing: -.05em;
}

.section-heading p,
.advisor-heading p,
.methodology-layout > div > p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.how-grid article {
  position: relative;
  min-height: 245px;
  padding: 30px;
  overflow: hidden;
  background: var(--surface-2);
  border: 1px solid #e6e9ed;
  border-radius: 24px;
  transition: transform .28s var(--ease), box-shadow .28s ease, border-color .28s ease;
}

.how-grid article:hover {
  transform: translateY(-5px);
  border-color: #d7dce2;
  box-shadow: var(--shadow-sm);
}

.how-grid article > span {
  position: absolute;
  top: 20px;
  right: 24px;
  color: #d3d7dc;
  font-size: 42px;
  font-weight: 850;
  letter-spacing: -.08em;
}

.feature-icon,
.technology-card__icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin-bottom: 44px;
  color: var(--red);
  background: #fff;
  border: 1px solid #e1e5e9;
  border-radius: 16px;
  box-shadow: var(--shadow-xs);
}

.feature-icon .icon,
.technology-card__icon .icon {
  width: 26px;
  height: 26px;
}

.how-grid h3 {
  margin-bottom: 8px;
  font-size: 22px;
  letter-spacing: -.035em;
}

.how-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.advisor-section {
  padding: 104px 0 120px;
  background:
    radial-gradient(circle at 85% 15%, rgba(227,31,43,.06), transparent 22%),
    linear-gradient(180deg, #f2f4f6 0%, #eceff2 100%);
}

.advisor-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 60px;
  margin-bottom: 38px;
}

.advisor-heading > div {
  max-width: 700px;
}

.advisor-heading p {
  max-width: 500px;
  padding-bottom: 8px;
}

.advisor-shell {
  overflow: hidden;
  background: #fff;
  border: 1px solid #dfe3e8;
  border-radius: 30px;
  box-shadow: var(--shadow-md);
}

.advisor-progress {
  padding: 23px 28px 18px;
  background: #fbfcfd;
  border-bottom: 1px solid #e4e7eb;
}

.advisor-progress__meta {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  margin-bottom: 13px;
  font-size: 12px;
}

.advisor-progress__meta > span {
  color: var(--red);
  font-weight: 850;
}

.advisor-progress__meta strong {
  text-align: center;
  font-size: 13px;
}

.advisor-progress__meta em {
  color: var(--muted);
  text-align: right;
}

.progress-track {
  height: 5px;
  overflow: hidden;
  background: #e8ebee;
  border-radius: 999px;
}

.progress-track i {
  display: block;
  width: 10%;
  height: 100%;
  background: linear-gradient(90deg, var(--red), #ff5560);
  border-radius: inherit;
  box-shadow: 0 0 16px rgba(227,31,43,.38);
  transition: width .5s var(--ease);
}

.advisor-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 388px;
}

.advisor-main {
  min-width: 0;
  padding: 30px 38px 26px;
}

.engineer-message {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  max-width: 720px;
  margin-bottom: 28px;
  padding: 13px 16px 13px 13px;
  color: #343a44;
  background: #f5f7f9;
  border: 1px solid #e5e8ec;
  border-radius: 15px;
}

.engineer-avatar {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: #fff;
  background: var(--ink);
  border-radius: 11px;
}

.engineer-avatar .icon {
  width: 18px;
  height: 18px;
}

.engineer-message b {
  display: block;
  margin-bottom: 2px;
  color: var(--red);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.engineer-message p {
  margin: 0;
  font-size: 14px;
}

.energy-form {
  min-height: 560px;
}

.question-step {
  animation: step-in .38s var(--ease) both;
}

.question-head {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 28px;
}

.question-head > span {
  min-width: 32px;
  padding-top: 7px;
  color: var(--red);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .08em;
}

.question-head h3 {
  margin-bottom: 7px;
  font-size: clamp(27px, 3vw, 38px);
  line-height: 1.08;
  letter-spacing: -.045em;
}

.question-head p {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 15px;
}

.form-error-summary {
  margin-bottom: 20px;
  padding: 14px 16px;
  color: #a5151e;
  background: #fff0f1;
  border: 1px solid #ffcbd0;
  border-radius: 13px;
  font-size: 13px;
}

.form-error-summary b {
  display: block;
  margin-bottom: 5px;
}

.form-error-summary ul {
  margin: 0;
  padding-left: 20px;
}

.location-picker {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .72fr);
  gap: 16px;
}

.select-field,
.number-field,
.money-field {
  display: grid;
  gap: 9px;
}

.select-field > span,
.number-field > span,
.money-field > span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.select-field > span .icon,
.money-field > span .icon {
  width: 18px;
  height: 18px;
  color: var(--red);
}

.select-field > span b,
.number-field > span b,
.money-field > span > span b {
  display: block;
  font-size: 13px;
}

.select-field > span small,
.number-field > span small,
.money-field > span > span small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
}

.select-field select,
.number-field > div,
.money-field > div {
  width: 100%;
  min-height: 58px;
  display: flex;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.select-field select {
  padding: 0 44px 0 16px;
  color: var(--ink);
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #727a86 50%), linear-gradient(135deg, #727a86 50%, transparent 50%);
  background-position: calc(100% - 19px) 25px, calc(100% - 14px) 25px;
  background-size: 5px 5px;
  background-repeat: no-repeat;
}

.select-field select:focus,
.number-field > div:focus-within,
.money-field > div:focus-within {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(227,31,43,.09);
}

.select-field--plain > span {
  min-height: 37px;
  align-items: flex-start;
}

.tool-button,
.diagnostic-card {
  min-height: 86px;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 14px 15px;
  text-align: left;
  background: #f6f8fa;
  border: 1px solid #dfe4e9;
  border-radius: 16px;
  transition: transform .22s var(--ease), box-shadow .22s ease, border-color .22s ease, background .22s ease;
}

.tool-button:hover,
.diagnostic-card:hover {
  transform: translateY(-2px);
  background: #fff;
  border-color: #ccd2da;
  box-shadow: var(--shadow-sm);
}

.tool-button__icon,
.diagnostic-card__icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: var(--red);
  background: #fff;
  border: 1px solid #e1e5e9;
  border-radius: 14px;
  box-shadow: var(--shadow-xs);
}

.tool-button__icon .icon,
.diagnostic-card__icon .icon {
  width: 22px;
  height: 22px;
}

.tool-button > span:nth-child(2),
.diagnostic-card > span:nth-child(2) {
  min-width: 0;
  display: grid;
}

.tool-button b,
.diagnostic-card b {
  font-size: 13px;
}

.tool-button small,
.diagnostic-card em {
  color: var(--muted);
  font-size: 11px;
}

.tool-button__arrow {
  width: 17px;
  height: 17px;
  margin-left: auto;
  color: var(--muted);
}

.climate-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 18px;
}

.climate-strip article {
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  background: var(--surface-2);
  border: 1px solid #e6e9ed;
  border-radius: 15px;
}

.climate-strip article > span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  background: #fff;
  border-radius: 10px;
}

.climate-strip article div {
  display: grid;
}

.climate-strip small {
  color: var(--muted);
  font-size: 10px;
}

.climate-strip b {
  font-size: 14px;
}

.choice-grid {
  display: grid;
  gap: 12px;
}

.choice-grid--four {
  grid-template-columns: repeat(4, 1fr);
}

.choice-grid--window-types {
  grid-template-columns: repeat(5, 1fr);
}

.choice-grid--energy {
  grid-template-columns: repeat(5, 1fr);
}

.choice-card,
.priority-grid > label,
.noise-choice > label {
  position: relative;
}

.choice-card input,
.check-card input,
.chip-checks input,
.orientation-buttons input,
.radio-stack input,
.noise-choice input,
.priority-grid input,
.photo-checks input,
.consent-check input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.choice-card > span {
  min-height: 132px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 16px;
  background: var(--surface-2);
  border: 1px solid #e0e4e9;
  border-radius: 16px;
  transition: transform .2s var(--ease), border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

.choice-card:hover > span {
  transform: translateY(-2px);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.choice-card input:checked + span {
  background: var(--red-soft);
  border-color: #ff6670;
  box-shadow: 0 0 0 3px rgba(227,31,43,.07);
}

.choice-card input:focus-visible + span,
.check-card input:focus-visible + span,
.chip-checks input:focus-visible + span,
.noise-choice input:focus-visible + span,
.priority-grid input:focus-visible + span,
.orientation-buttons input:focus-visible + span,
.radio-stack input:focus-visible + span,
.photo-checks input:focus-visible + span,
.consent-check input:focus-visible + span {
  outline: 3px solid rgba(36,119,238,.32);
  outline-offset: 2px;
}

.choice-card > span > i {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  margin-bottom: auto;
  color: #565e69;
  background: #fff;
  border: 1px solid #e3e6ea;
  border-radius: 11px;
  font-style: normal;
  font-weight: 800;
}

.choice-card input:checked + span > i {
  color: #fff;
  background: var(--red);
  border-color: var(--red);
}

.choice-card > span > i .icon {
  width: 20px;
  height: 20px;
}

.choice-card strong {
  margin-top: 17px;
  font-size: 14px;
}

.choice-card small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
}

.choice-card--compact > span {
  min-height: 106px;
  padding: 13px;
}

.choice-card--compact > span > i {
  width: 34px;
  height: 34px;
}

.choice-card--compact strong {
  margin-top: 12px;
  font-size: 12px;
  line-height: 1.3;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 18px;
}

.number-field > div,
.money-field > div {
  padding: 0 14px;
}

.number-field input,
.money-field input {
  min-width: 0;
  width: 100%;
  height: 54px;
  padding: 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  outline: 0;
  font-size: 18px;
  font-weight: 700;
}

.number-field em,
.money-field em {
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
  white-space: nowrap;
}

.field-error {
  min-height: 16px;
  color: var(--red-dark);
  font-size: 11px;
}

[aria-invalid="true"] {
  color: var(--red-dark);
}

.number-field:has([aria-invalid="true"]) > div,
.money-field:has([aria-invalid="true"]) > div {
  border-color: var(--red);
  background: #fff8f9;
}

.preset-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 11px;
}

.preset-row button {
  min-height: 34px;
  padding: 0 13px;
  color: #666e7a;
  background: #f4f6f8;
  border: 1px solid #e0e4e8;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 680;
}

.preset-row button:hover,
.preset-row button.is-active {
  color: var(--red);
  background: var(--red-soft);
  border-color: #ffc6cb;
}

.measurement-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 13px;
}

.number-step {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  padding: 0;
  color: var(--ink);
  background: #f0f2f5;
  border: 0;
  border-radius: 9px;
  font-size: 20px;
}

.number-field:has(.number-step) > div {
  gap: 8px;
  padding-inline: 9px;
}

.number-field:has(.number-step) input {
  text-align: center;
}

.measurement-result {
  min-height: 130px;
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr) minmax(230px, .6fr);
  align-items: center;
  gap: 18px;
  margin-top: 18px;
  padding: 18px;
  background: linear-gradient(135deg, #f5f8fb, #f9f5f5);
  border: 1px solid #dfe4e9;
  border-radius: 18px;
}

.mini-window {
  position: relative;
  width: 65px;
  height: 90px;
  padding: 7px;
  background: #fff;
  border: 4px solid #aeb8c2;
  border-radius: 7px;
  box-shadow: 0 10px 22px rgba(39, 53, 66, .14);
}

.mini-window span {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: calc(50% - 1px);
  width: 2px;
  background: #bcc6cf;
}

.mini-window span:nth-child(2) {
  top: calc(50% - 1px);
  right: 4px;
  bottom: auto;
  left: 4px;
  width: auto;
  height: 2px;
}

.mini-window i {
  position: absolute;
  inset: 4px;
  z-index: -1;
  background: linear-gradient(135deg, #cae5f8, #fff0dd);
}

.measurement-result > div:nth-child(2) {
  display: grid;
  align-items: start;
}

.measurement-result small {
  color: var(--muted);
  font-size: 11px;
}

.measurement-result strong {
  margin: 3px 0;
  font-size: 27px;
  letter-spacing: -.04em;
}

.measurement-result button {
  width: fit-content;
  padding: 0;
  color: var(--red);
  background: none;
  border: 0;
  font-size: 11px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.number-field--inline > span {
  display: none;
}

.precision-note,
.honesty-note,
.legal-ack,
.legal-box {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 13px 15px;
  background: var(--amber-soft);
  border: 1px solid #f4d6a8;
  border-radius: 13px;
}

.precision-note {
  margin-top: 14px;
}

.precision-note .icon,
.honesty-note .icon,
.legal-ack .icon,
.legal-box .icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  margin-top: 1px;
  color: var(--amber);
}

.precision-note p,
.honesty-note p,
.legal-ack p,
.legal-box p {
  margin: 0;
  color: #6f5839;
  font-size: 11px;
}

.precision-note b,
.honesty-note b {
  display: block;
  color: #4b3b26;
  font-size: 12px;
}

.precision-note span,
.honesty-note span {
  display: block;
  margin-top: 2px;
}

.field-row--photo {
  align-items: end;
}

.diagnostic-card {
  position: relative;
  min-height: 92px;
}

.diagnostic-card > span:nth-child(2) small {
  color: var(--red);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .1em;
}

.diagnostic-card > i {
  margin-left: auto;
  padding: 5px 8px;
  color: var(--muted);
  background: #fff;
  border: 1px solid #e2e6ea;
  border-radius: 8px;
  font-size: 9px;
  font-style: normal;
  font-weight: 700;
  white-space: nowrap;
}

.diagnostic-card.is-complete > i {
  color: var(--green-dark);
  background: var(--green-soft);
  border-color: #bce9d4;
}

.diagnostic-card--wide {
  width: 100%;
  margin-top: 16px;
}

.check-group {
  margin: 0;
  padding: 0;
  border: 0;
}

.check-group legend,
.radio-stack legend {
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 780;
}

.check-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.check-card > span {
  min-height: 110px;
  display: grid;
  grid-template-columns: 34px 1fr;
  grid-template-rows: auto auto;
  column-gap: 10px;
  align-content: center;
  padding: 13px;
  background: var(--surface-2);
  border: 1px solid #e0e4e8;
  border-radius: 14px;
  transition: transform .2s var(--ease), background .2s ease, border-color .2s ease;
}

.check-card:hover > span {
  transform: translateY(-2px);
  background: #fff;
}

.check-card input:checked + span {
  background: var(--red-soft);
  border-color: #fb8a92;
}

.check-card span > i {
  grid-row: 1 / 3;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  color: #68717c;
  background: #fff;
  border: 1px solid #e0e4e8;
  border-radius: 9px;
  font-style: normal;
}

.check-card input:checked + span > i {
  color: #fff;
  background: var(--red);
  border-color: var(--red);
}

.check-card strong {
  font-size: 12px;
  line-height: 1.3;
}

.check-card small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 9px;
}

.check-group--lifestyle {
  margin-top: 20px;
}

.chip-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip-checks label > span {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 12px;
  color: #555d68;
  background: #f4f6f8;
  border: 1px solid #dfe3e7;
  border-radius: 11px;
  font-size: 11px;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}

.chip-checks .icon {
  width: 16px;
  height: 16px;
}

.chip-checks input:checked + span {
  color: var(--red);
  background: var(--red-soft);
  border-color: #f9aeb4;
}

.orientation-layout {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 18px;
}

.compass-picker {
  display: grid;
  grid-template-columns: 180px 1fr;
  align-items: center;
  gap: 22px;
  padding: 20px;
  background: var(--surface-2);
  border: 1px solid #e1e5e9;
  border-radius: 18px;
}

.compass-visual {
  position: relative;
  width: 170px;
  height: 170px;
  border: 1px solid #d5dbe1;
  border-radius: 50%;
  background:
    radial-gradient(circle, #fff 0 16%, transparent 17%),
    repeating-conic-gradient(from 0deg, #e7eaee 0 1deg, transparent 1deg 15deg),
    #f9fafb;
  box-shadow: inset 0 0 0 12px #f0f2f5;
}

.compass-visual > span {
  position: absolute;
  z-index: 3;
  color: #6a727e;
  font-size: 10px;
  font-weight: 850;
}

.compass-visual > span:nth-child(1) { top: 8px; left: 50%; transform: translateX(-50%); color: var(--red); }
.compass-visual > span:nth-child(2) { top: 50%; right: 10px; transform: translateY(-50%); }
.compass-visual > span:nth-child(3) { bottom: 8px; left: 50%; transform: translateX(-50%); }
.compass-visual > span:nth-child(4) { top: 50%; left: 10px; transform: translateY(-50%); }

.compass-visual > b {
  position: absolute;
  z-index: 4;
  top: 50%;
  left: 50%;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--ink);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 8px 18px rgba(17,20,26,.2);
}

.compass-visual > b .icon {
  width: 22px;
  height: 22px;
}

.compass-visual > i {
  position: absolute;
  z-index: 2;
  top: 18px;
  left: calc(50% - 7px);
  width: 14px;
  height: 65px;
  background: linear-gradient(var(--red) 0 50%, #aeb6c0 50% 100%);
  clip-path: polygon(50% 0, 100% 48%, 50% 100%, 0 48%);
  transform-origin: 50% 67px;
  transition: transform .5s var(--ease);
}

.orientation-buttons {
  display: grid;
  gap: 8px;
}

.orientation-buttons label > span,
.radio-stack label > span {
  min-height: 42px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  background: #fff;
  border: 1px solid #e0e4e8;
  border-radius: 11px;
  font-size: 11px;
  font-weight: 680;
}

.orientation-buttons input:checked + span,
.radio-stack input:checked + span {
  color: var(--red);
  background: var(--red-soft);
  border-color: #f9a4aa;
}

.radio-stack {
  margin: 0;
  padding: 19px;
  background: var(--surface-2);
  border: 1px solid #e1e5e9;
  border-radius: 18px;
}

.radio-stack label {
  display: block;
  margin-bottom: 8px;
}

.radio-stack label:last-child {
  margin-bottom: 0;
}

.radio-stack label > span {
  min-height: 59px;
  display: grid;
  align-content: center;
}

.radio-stack small {
  color: var(--muted);
  font-size: 9px;
  font-weight: 500;
}

.noise-choice {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 11px;
}

.noise-choice label > span {
  min-height: 136px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 18px;
  background: var(--surface-2);
  border: 1px solid #e0e4e8;
  border-radius: 16px;
  transition: transform .2s var(--ease), background .2s ease, border-color .2s ease;
}

.noise-choice label:hover > span {
  transform: translateY(-2px);
  background: #fff;
}

.noise-choice input:checked + span {
  background: var(--red-soft);
  border-color: #f9858e;
}

.noise-bars {
  height: 35px;
  display: flex;
  align-items: flex-end;
  gap: 4px;
  margin-bottom: auto;
}

.noise-bars b {
  width: 5px;
  height: 10px;
  background: #9da5af;
  border-radius: 4px;
}

.noise-bars b:nth-child(2) { height: 16px; }
.noise-bars b:nth-child(3) { height: 21px; opacity: .25; }
.noise-bars b:nth-child(4) { height: 29px; opacity: .15; }
.noise-bars--medium b:nth-child(3) { opacity: 1; }
.noise-bars--medium b:nth-child(4) { opacity: .3; }
.noise-bars--high b { opacity: 1; background: var(--red); }

.noise-choice input:checked + span .noise-bars b {
  background: var(--red);
}

.noise-choice strong {
  margin-top: 18px;
  font-size: 14px;
}

.noise-choice small {
  color: var(--muted);
  font-size: 10px;
}

.money-field {
  margin-top: 18px;
  padding: 17px;
  background: var(--surface-2);
  border: 1px solid #e0e4e8;
  border-radius: 17px;
}

.money-field {
  grid-template-columns: minmax(0, 1fr) minmax(210px, .5fr);
  align-items: center;
}

.money-field > span {
  min-width: 0;
}

.money-field > div {
  background: #fff;
}

.money-field--soft {
  background: linear-gradient(135deg, #f8f7fb, #f7f9fb);
}

.priority-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 11px;
}

.priority-grid label > span {
  min-height: 152px;
  display: flex;
  flex-direction: column;
  padding: 17px;
  background: var(--surface-2);
  border: 1px solid #e0e4e8;
  border-radius: 16px;
  transition: transform .2s var(--ease), background .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.priority-grid label:hover > span {
  transform: translateY(-2px);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.priority-grid input:checked + span {
  background: var(--red-soft);
  border-color: #f7848c;
}

.priority-grid span > i {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: auto;
  color: #5e6672;
  background: #fff;
  border: 1px solid #e0e4e8;
  border-radius: 12px;
  font-style: normal;
  font-weight: 850;
}

.priority-grid span > i .icon {
  width: 21px;
  height: 21px;
}

.priority-grid input:checked + span > i {
  color: #fff;
  background: var(--red);
  border-color: var(--red);
}

.priority-grid strong {
  margin-top: 18px;
  font-size: 13px;
}

.priority-grid small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 9px;
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
}

.review-item {
  min-height: 78px;
  display: grid;
  align-content: center;
  gap: 3px;
  padding: 13px 14px;
  background: var(--surface-2);
  border: 1px solid #e1e5e9;
  border-radius: 13px;
}

.review-item small {
  color: var(--muted);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.review-item b {
  font-size: 12px;
}

.accuracy-card {
  min-height: 104px;
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 14px;
  padding: 15px 18px;
  background: linear-gradient(135deg, #eef8f3, #f8fbf9);
  border: 1px solid #cfe9dc;
  border-radius: 16px;
}

.accuracy-card__ring {
  --value: 68;
  position: relative;
  width: 72px;
  height: 72px;
  display: flex;
  align-items: baseline;
  justify-content: center;
  flex: 0 0 auto;
  padding-top: 24px;
  background: conic-gradient(var(--green) calc(var(--value) * 1%), #dce9e2 0);
  border-radius: 50%;
}

.accuracy-card__ring::before {
  content: "";
  position: absolute;
  inset: 7px;
  background: #fff;
  border-radius: 50%;
}

.accuracy-card__ring strong,
.accuracy-card__ring small {
  position: relative;
  z-index: 1;
}

.accuracy-card__ring strong {
  font-size: 18px;
}

.accuracy-card__ring small {
  color: var(--muted);
  font-size: 9px;
}

.accuracy-card > div:last-child b {
  display: block;
  margin-bottom: 3px;
  font-size: 13px;
}

.accuracy-card > div:last-child p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
}

.legal-ack {
  margin-top: 12px;
}

.advisor-controls {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  margin-top: 26px;
  padding-top: 21px;
  border-top: 1px solid #e5e8ec;
}

.advisor-controls__hint {
  color: var(--muted);
  font-size: 11px;
  text-align: center;
}

.button__loading {
  display: none;
  align-items: center;
  gap: 9px;
}

.button__loading i {
  width: 17px;
  height: 17px;
  border: 2px solid rgba(255,255,255,.38);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .8s linear infinite;
}

.button--calculate.is-loading .button__idle {
  display: none;
}

.button--calculate.is-loading .button__loading {
  display: inline-flex;
}

.advisor-live {
  position: relative;
  min-width: 0;
  padding: 25px 22px 22px;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 7%, rgba(227,31,43,.11), transparent 28%),
    linear-gradient(180deg, #f5f7f9 0%, #edf0f3 100%);
  border-left: 1px solid #e0e4e8;
}

.advisor-live::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .45;
  background-image: radial-gradient(#c8ced6 1px, transparent 1px);
  background-size: 16px 16px;
  mask-image: linear-gradient(#000, transparent 72%);
}

.advisor-live > * {
  position: relative;
  z-index: 1;
}

.advisor-live__head {
  display: grid;
  gap: 2px;
  margin-bottom: 18px;
}

.advisor-live__head span {
  color: var(--red);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.advisor-live__head strong {
  font-size: 18px;
  letter-spacing: -.025em;
}

.live-score {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 16px;
  padding: 12px;
  background: rgba(255,255,255,.84);
  border: 1px solid rgba(255,255,255,.95);
  border-radius: 16px;
  box-shadow: var(--shadow-xs);
  backdrop-filter: blur(10px);
}

.score-orbit {
  --value: 68;
  position: relative;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: baseline;
  justify-content: center;
  flex: 0 0 auto;
  padding-top: 24px;
  background: conic-gradient(var(--red) calc(var(--value) * 1%), #e3e7eb 0);
  border-radius: 50%;
  transition: background .5s ease;
}

.score-orbit::before {
  content: "";
  position: absolute;
  inset: 7px;
  background: #fff;
  border-radius: 50%;
}

.score-orbit span {
  position: absolute;
  inset: -3px;
  border: 1px solid rgba(227,31,43,.18);
  border-radius: 50%;
  animation: orbit-pulse 2.8s ease-in-out infinite;
}

.score-orbit strong,
.score-orbit small {
  position: relative;
  z-index: 1;
}

.score-orbit strong {
  font-size: 19px;
}

.score-orbit small {
  color: var(--muted);
  font-size: 9px;
}

.live-score > div:last-child b {
  display: block;
  color: var(--red);
  font-size: 9px;
  letter-spacing: .1em;
}

.live-score > div:last-child p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 10px;
}

.live-window {
  position: relative;
  height: 260px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  margin-bottom: 14px;
  background: #dce5ed;
  border: 1px solid rgba(255,255,255,.9);
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(38,51,64,.12);
}

.live-window__outside {
  position: relative;
  overflow: hidden;
  background: linear-gradient(155deg, #a7d0eb, #dce9f2);
}

.live-window__inside {
  position: relative;
  background: linear-gradient(145deg, #ffe3bc, #fff5e5);
}

.live-window__outside > span,
.live-window__inside > span {
  position: absolute;
  z-index: 3;
  top: 15px;
  left: 15px;
  color: #fff;
  font-size: 19px;
  font-weight: 820;
}

.live-window__inside > span {
  right: 15px;
  left: auto;
  color: #8e531e;
}

.live-window__outside i {
  position: absolute;
  top: -10px;
  width: 5px;
  height: 5px;
  background: #fff;
  border-radius: 50%;
  animation: snow-fall 4s linear infinite;
}

.live-window__outside i:nth-child(2) { left: 25%; }
.live-window__outside i:nth-child(3) { left: 55%; animation-delay: -1.7s; }
.live-window__outside i:nth-child(4) { left: 78%; animation-delay: -3.1s; }

.live-window__outside b {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 40%;
  background: #c6d5df;
  clip-path: polygon(0 50%, 25% 22%, 50% 45%, 77% 12%, 100% 35%, 100% 100%, 0 100%);
}

.live-window__outside b:nth-of-type(2) {
  display: none;
}

.live-window__frame {
  position: absolute;
  z-index: 5;
  top: 31px;
  bottom: 28px;
  left: 50%;
  width: 99px;
  padding: 9px;
  background: linear-gradient(135deg, #fff, #c9d1d9);
  border-radius: 9px;
  transform: translateX(-50%);
  box-shadow: 0 14px 30px rgba(32,48,63,.22);
}

.live-window__frame::before {
  content: "";
  position: absolute;
  inset: 9px;
  background: linear-gradient(135deg, rgba(201,230,249,.75), rgba(255,238,216,.66));
  border: 3px solid #9ba8b4;
}

.live-window__frame span,
.live-window__frame i {
  position: absolute;
  z-index: 2;
  background: #d9e0e6;
  box-shadow: 0 0 0 1px #a6b1bb;
}

.live-window__frame span:nth-child(1) {
  top: 9px;
  bottom: 9px;
  left: calc(50% - 2px);
  width: 4px;
}

.live-window__frame span:nth-child(2) {
  top: calc(50% - 2px);
  right: 9px;
  left: 9px;
  height: 4px;
}

.live-window__frame i {
  right: 5px;
  top: 48%;
  width: 7px;
  height: 25px;
  background: #fff;
  border-radius: 4px;
}

.live-window__inside > div {
  position: absolute;
  right: 17px;
  bottom: 28px;
  width: 90px;
  height: 42px;
  background: #b7754a;
  border-radius: 20px 20px 8px 8px;
}

.live-window__flow i {
  position: absolute;
  z-index: 7;
  left: 55%;
  width: 70px;
  height: 5px;
  background: linear-gradient(90deg, rgba(234,85,38,.82), transparent);
  border-radius: 999px;
  animation: heat-flow 2.2s ease-in-out infinite;
  transition: width .4s ease, opacity .4s ease;
}

.live-window__flow i:nth-child(1) { top: 42%; }
.live-window__flow i:nth-child(2) { top: 55%; animation-delay: -.8s; }
.live-window__flow i:nth-child(3) { top: 68%; animation-delay: -1.5s; }

.live-window[data-live-window-state="premium"] .live-window__flow i {
  width: 24px;
  opacity: .28;
}

.live-window[data-live-window-state="balanced"] .live-window__flow i {
  width: 43px;
  opacity: .55;
}

.live-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.live-facts > div {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px;
  background: rgba(255,255,255,.77);
  border: 1px solid rgba(255,255,255,.94);
  border-radius: 12px;
}

.live-facts .icon {
  width: 16px;
  height: 16px;
  color: var(--red);
}

.live-facts span {
  min-width: 0;
  display: grid;
}

.live-facts small {
  color: var(--muted);
  font-size: 8px;
}

.live-facts b {
  overflow: hidden;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.live-tip {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 12px 0;
  padding: 11px 12px;
  color: #53606b;
  background: rgba(255,255,255,.68);
  border: 1px solid rgba(255,255,255,.9);
  border-radius: 12px;
  font-size: 9px;
}

.live-tip .icon {
  width: 16px;
  height: 16px;
  color: var(--red);
}

.live-tip p {
  margin: 0;
}

.advisor-live .text-button {
  font-size: 11px;
}

.results {
  margin-top: 56px;
  scroll-margin-top: 100px;
  animation: results-in .6s var(--ease) both;
}

.results-toolbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 20px;
}

.results-toolbar h2 {
  margin: 8px 0 3px;
  font-size: clamp(34px, 4vw, 50px);
  line-height: 1.08;
  letter-spacing: -.05em;
}

.results-toolbar p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
}

.results-toolbar code {
  color: var(--ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
}

.results-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 7px;
}

.results-actions button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 12px;
  color: #535b66;
  background: #fff;
  border: 1px solid #d9dee4;
  border-radius: 11px;
  font-size: 10px;
  font-weight: 720;
}

.results-actions button:hover {
  color: var(--red);
  border-color: #f3aab0;
}

.results-actions .icon {
  width: 16px;
  height: 16px;
}

.recommendation-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 92% 12%, rgba(227,31,43,.36), transparent 30%),
    linear-gradient(135deg, #11151b 0%, #1a2029 58%, #262c35 100%);
  border-radius: 28px;
  box-shadow: var(--shadow-md);
}

.recommendation-hero__content {
  padding: 40px 44px;
}

.recommendation-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  padding: 7px 10px;
  color: #ffced1;
  background: rgba(227,31,43,.18);
  border: 1px solid rgba(255,115,125,.25);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 720;
}

.recommendation-badge i {
  width: 7px;
  height: 7px;
  background: #ff6570;
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(255,101,112,.12);
}

.recommendation-family {
  display: block;
  color: #aab2be;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .14em;
}

.recommendation-hero h3 {
  margin: 4px 0 9px;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1;
  letter-spacing: -.055em;
}

.recommendation-hero__content > p {
  max-width: 700px;
  margin-bottom: 21px;
  color: #c1c7d0;
  font-size: 15px;
  line-height: 1.65;
}

.reason-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 28px;
}

.reason-chips span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 9px;
  color: #d7dbe1;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 999px;
  font-size: 9px;
}

.reason-chips span::before {
  content: "";
  width: 5px;
  height: 5px;
  background: var(--green);
  border-radius: 50%;
}

.recommendation-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.recommendation-actions .button--ghost {
  color: #fff;
  background: rgba(255,255,255,.07);
  border-color: rgba(255,255,255,.15);
  box-shadow: none;
}

.energy-score-card {
  position: relative;
  display: grid;
  align-content: center;
  padding: 30px;
  background: rgba(255,255,255,.06);
  border-left: 1px solid rgba(255,255,255,.1);
}

.energy-score-card::before {
  content: "";
  position: absolute;
  inset: 25px;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 22px;
}

.energy-score-card > * {
  position: relative;
  z-index: 1;
}

.energy-score-card__title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  color: #c6ccd5;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .12em;
}

.energy-score-card__title button {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  padding: 0;
  color: #bbc2cb;
  background: rgba(255,255,255,.08);
  border: 0;
  border-radius: 9px;
}

.energy-score-card__title .icon {
  width: 15px;
  height: 15px;
}

.score-comparison {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 15px;
}

.score-comparison > div {
  display: grid;
  justify-items: center;
  gap: 8px;
}

.score-comparison > div > span {
  color: #c3c9d1;
  font-size: 10px;
}

.score-comparison > i {
  color: #79828e;
}

.score-gauge {
  --value: 45;
  position: relative;
  width: 108px;
  height: 108px;
  display: grid;
  place-items: center;
  background: conic-gradient(#89919d calc(var(--value) * 1%), rgba(255,255,255,.09) 0);
  border-radius: 50%;
}

.score-gauge::before {
  content: "";
  position: absolute;
  inset: 9px;
  background: #1b2028;
  border-radius: 50%;
}

.score-gauge--after {
  background: conic-gradient(var(--green) calc(var(--value) * 1%), rgba(255,255,255,.09) 0);
}

.score-gauge strong,
.score-gauge small {
  position: absolute;
  z-index: 1;
}

.score-gauge strong {
  margin-top: -10px;
  font-size: 30px;
}

.score-gauge small {
  margin-top: 32px;
  color: #aeb5bf;
  font-size: 11px;
  font-weight: 800;
}

.energy-score-card > p {
  margin: 24px 0 0;
  color: #bac1ca;
  font-size: 11px;
  text-align: center;
}

.energy-score-card > p b {
  color: var(--green);
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 14px;
}

.metric-grid article {
  min-width: 0;
  min-height: 176px;
  display: flex;
  flex-direction: column;
  padding: 20px;
  background: #fff;
  border: 1px solid #dfe3e8;
  border-radius: 19px;
}

.metric-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 11px;
}

.metric-icon .icon {
  width: 19px;
  height: 19px;
}

.metric-icon--green { color: var(--green); background: var(--green-soft); }
.metric-icon--red { color: var(--red); background: var(--red-soft); }
.metric-icon--blue { color: var(--blue); background: var(--blue-soft); }
.metric-icon--leaf { color: #5e913d; background: #eef7e8; }

.metric-grid article > small {
  color: var(--muted);
  font-size: 10px;
}

.metric-grid article > strong {
  display: flex;
  align-items: baseline;
  gap: 5px;
  margin-top: 4px;
  white-space: nowrap;
}

.metric-grid article > strong b {
  overflow: hidden;
  font-size: clamp(20px, 2.2vw, 28px);
  letter-spacing: -.04em;
  text-overflow: ellipsis;
}

.metric-grid article > strong em {
  color: var(--muted);
  font-size: 9px;
}

.metric-grid article > p {
  margin: auto 0 0;
  color: var(--muted);
  font-size: 9px;
}

.results-two-column {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 14px;
  margin-top: 14px;
}

.result-panel,
.options-section,
.premium-explainer,
.savings-section,
.family-section,
.confidence-section {
  background: #fff;
  border: 1px solid #dfe3e8;
  border-radius: 23px;
}

.result-panel {
  padding: 24px;
}

.panel-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.panel-heading h3 {
  margin: 6px 0 0;
  font-size: 25px;
  line-height: 1.1;
  letter-spacing: -.04em;
}

.panel-heading > p {
  max-width: 380px;
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 11px;
  text-align: right;
}

.result-window-scene {
  position: relative;
  height: 280px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  border-radius: 18px;
  background: #dce7ef;
}

.result-window-scene__cold {
  position: relative;
  background: linear-gradient(150deg, #83b9df, #dbeaf5);
}

.result-window-scene__warm {
  position: relative;
  background: linear-gradient(145deg, #ffdca9, #fff5e4);
}

.result-window-scene__cold > span,
.result-window-scene__warm > span {
  position: absolute;
  z-index: 4;
  top: 16px;
  left: 17px;
  color: #fff;
  font-size: 22px;
  font-weight: 820;
}

.result-window-scene__warm > span {
  right: 17px;
  left: auto;
  color: #945b24;
}

.result-window-scene__cold i {
  position: absolute;
  top: -8px;
  width: 6px;
  height: 6px;
  background: #fff;
  border-radius: 50%;
  animation: snow-fall 4s linear infinite;
}

.result-window-scene__cold i:nth-child(2) { left: 20%; }
.result-window-scene__cold i:nth-child(3) { left: 52%; animation-delay: -1.8s; }
.result-window-scene__cold i:nth-child(4) { left: 78%; animation-delay: -3.2s; }

.result-window-scene__window {
  position: absolute;
  z-index: 5;
  top: 35px;
  bottom: 27px;
  left: 50%;
  width: 118px;
  padding: 10px;
  background: linear-gradient(135deg, #fff, #c7d0d8);
  border-radius: 9px;
  transform: translateX(-50%);
  box-shadow: 0 15px 35px rgba(31,46,61,.22);
}

.result-window-scene__window::before {
  content: "";
  position: absolute;
  inset: 10px;
  background: linear-gradient(135deg, rgba(197,226,247,.78), rgba(255,236,211,.65));
  border: 3px solid #97a6b2;
}

.result-window-scene__window span,
.result-window-scene__window i {
  position: absolute;
  z-index: 2;
  background: #dce2e7;
  box-shadow: 0 0 0 1px #a3afb9;
}

.result-window-scene__window span:nth-child(1) { top: 10px; bottom: 10px; left: calc(50% - 2px); width: 4px; }
.result-window-scene__window span:nth-child(2) { top: calc(50% - 2px); right: 10px; left: 10px; height: 4px; }
.result-window-scene__window i { top: 48%; right: 6px; width: 8px; height: 28px; background: #fff; border-radius: 4px; }

.result-window-scene__warm > div {
  position: absolute;
  right: 20px;
  bottom: 25px;
  width: 108px;
  height: 48px;
  background: #b9784b;
  border-radius: 24px 24px 9px 9px;
}

.result-window-scene__arrows i {
  position: absolute;
  z-index: 7;
  left: 56%;
  width: 88px;
  height: 6px;
  background: linear-gradient(90deg, rgba(235,82,34,.84), transparent);
  border-radius: 999px;
  animation: heat-flow 2.2s ease-in-out infinite;
  transition: width .4s ease, opacity .4s ease;
}

.result-window-scene__arrows i:nth-child(1) { top: 35%; }
.result-window-scene__arrows i:nth-child(2) { top: 48%; animation-delay: -.5s; }
.result-window-scene__arrows i:nth-child(3) { top: 61%; animation-delay: -1s; }
.result-window-scene__arrows i:nth-child(4) { top: 74%; animation-delay: -1.5s; }

.result-window-scene[data-result-scene="after"] .result-window-scene__arrows i {
  width: 27px;
  opacity: .22;
}

.behavior-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11px 18px;
  margin-top: 20px;
}

.behavior-grid > div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 7px;
  align-items: center;
}

.behavior-grid span,
.behavior-grid b {
  font-size: 10px;
}

.behavior-grid span {
  color: var(--muted);
}

.behavior-grid > div > i {
  grid-column: 1 / -1;
  height: 5px;
  overflow: hidden;
  background: #e8ebee;
  border-radius: 999px;
}

.behavior-grid > div > i em {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--red), #ff6670);
  border-radius: inherit;
  transition: width .8s var(--ease);
}

.engineering-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  color: var(--green-dark);
  background: var(--green-soft);
  border: 1px solid #c9eadb;
  border-radius: 9px;
  font-size: 8px;
  font-weight: 700;
}

.engineering-badge .icon {
  width: 14px;
  height: 14px;
}

.configuration-stack {
  display: grid;
  gap: 9px;
}

.configuration-stack > div {
  display: grid;
  grid-template-columns: 27px 38px 1fr;
  align-items: center;
  gap: 10px;
  min-height: 78px;
  padding: 12px;
  background: var(--surface-2);
  border: 1px solid #e4e7eb;
  border-radius: 14px;
}

.configuration-stack > div > span {
  color: #b2b8c1;
  font-size: 10px;
  font-weight: 850;
}

.configuration-stack > div > i {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: var(--red);
  background: #fff;
  border: 1px solid #e1e5e9;
  border-radius: 10px;
}

.configuration-stack > div > i .icon {
  width: 18px;
  height: 18px;
}

.configuration-stack p {
  display: grid;
  margin: 0;
}

.configuration-stack small {
  color: var(--muted);
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.configuration-stack b {
  margin-top: 2px;
  font-size: 11px;
}

.configuration-stack em {
  margin-top: 2px;
  color: var(--muted);
  font-size: 8px;
}

.family-section {
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: 24px;
  margin-top: 14px;
  padding: 28px;
}

.family-section__intro h3 {
  margin: 8px 0 9px;
  font-size: 28px;
  line-height: 1.08;
  letter-spacing: -.04em;
}

.family-section__intro p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
}

.family-benefits {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 9px;
}

.family-benefit {
  min-height: 102px;
  display: grid;
  grid-template-columns: 40px 1fr;
  align-items: center;
  gap: 11px;
  padding: 13px;
  background: var(--surface-2);
  border: 1px solid #e2e6ea;
  border-radius: 14px;
}

.family-benefit > i {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--green);
  background: var(--green-soft);
  border-radius: 11px;
  font-style: normal;
}

.family-benefit b {
  display: block;
  font-size: 11px;
}

.family-benefit small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 8px;
}

.options-section,
.premium-explainer,
.savings-section,
.confidence-section {
  margin-top: 14px;
  padding: 28px;
}

.option-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.option-card {
  position: relative;
  min-width: 0;
  padding: 20px;
  background: var(--surface-2);
  border: 1px solid #e0e4e8;
  border-radius: 18px;
}

.option-card.is-recommended {
  background: #fff4f5;
  border-color: #f3878f;
  box-shadow: 0 16px 40px rgba(227,31,43,.10);
}

.option-card__role {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 8px;
  color: #5f6772;
  background: #fff;
  border: 1px solid #e0e4e8;
  border-radius: 8px;
  font-size: 8px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.option-card.is-recommended .option-card__role {
  color: #fff;
  background: var(--red);
  border-color: var(--red);
}

.option-card.is-below-baseline:not(.is-recommended) {
  background: #fffaf1;
  border-color: #efd49c;
}

.option-card__warning {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin-top: 8px;
  padding: 6px 8px;
  color: #8a5b00;
  background: #fff2d5;
  border: 1px solid #efd49c;
  border-radius: 8px;
  font-size: 8px;
  font-weight: 750;
  line-height: 1.35;
}

.option-card h4 {
  margin: 18px 0 5px;
  font-size: 20px;
  line-height: 1.05;
  letter-spacing: -.04em;
}

.option-card > p {
  min-height: 54px;
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.5;
}

.option-card__score {
  display: flex;
  align-items: baseline;
  gap: 5px;
  margin-bottom: 15px;
}

.option-card__score strong {
  font-size: 29px;
  letter-spacing: -.05em;
}

.option-card__score span {
  color: var(--muted);
  font-size: 9px;
}

.option-card__metrics {
  display: grid;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid #dde1e5;
}

.option-card__metrics div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 9px;
}

.option-card__metrics span {
  color: var(--muted);
}

.option-card__metrics b {
  text-align: right;
}

.option-card__facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin-top: 14px;
}

.option-card__facts div {
  padding: 8px;
  background: #fff;
  border: 1px solid #e1e5e9;
  border-radius: 9px;
}

.option-card__facts small,
.option-card__facts b {
  display: block;
}

.option-card__facts small {
  color: var(--muted);
  font-size: 7px;
}

.option-card__facts b {
  margin-top: 2px;
  font-size: 9px;
}

.option-card__notice {
  margin-top: 12px;
  color: var(--muted);
  font-size: 7px;
  line-height: 1.45;
}

.premium-explainer {
  color: #fff;
  background:
    radial-gradient(circle at 93% 12%, rgba(227,31,43,.28), transparent 27%),
    linear-gradient(135deg, #15191f, #252b34);
  border-color: transparent;
}

.premium-explainer__head {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  align-items: center;
  gap: 14px;
}

.premium-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--red);
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(227,31,43,.24);
}

.premium-icon .icon {
  width: 23px;
  height: 23px;
}

.premium-explainer .section-kicker {
  color: #ff8f97;
}

.premium-explainer h3 {
  margin: 5px 0 0;
  font-size: 27px;
  letter-spacing: -.04em;
}

.value-score {
  display: grid;
  justify-items: end;
}

.value-score small {
  color: #aeb5bf;
  font-size: 8px;
}

.value-score strong {
  color: var(--green);
  font-size: 22px;
}

.premium-explainer__intro {
  max-width: 900px;
  margin: 22px 0;
  color: #c4cad2;
  font-size: 13px;
  line-height: 1.65;
}

.premium-compare {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.premium-diff {
  min-height: 118px;
  padding: 13px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 13px;
}

.premium-diff small {
  color: #9fa7b2;
  font-size: 8px;
}

.premium-diff strong {
  display: block;
  margin: 5px 0;
  font-size: 15px;
}

.premium-diff p {
  margin: 0;
  color: #b7bec7;
  font-size: 8px;
  line-height: 1.45;
}

.premium-bottom {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 13px;
}

.premium-bottom > div {
  min-height: 86px;
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 12px 14px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px;
}

.premium-bottom small {
  color: #a8b0ba;
  font-size: 8px;
}

.premium-bottom strong {
  font-size: 14px;
}

.premium-bottom em {
  color: #aab2bc;
  font-size: 8px;
}

.chart-controls {
  display: flex;
  gap: 8px;
}

.chart-controls label {
  display: grid;
  gap: 3px;
}

.chart-controls span {
  color: var(--muted);
  font-size: 8px;
}

.chart-controls select {
  height: 36px;
  padding: 0 28px 0 10px;
  color: var(--ink);
  background: #f5f7f9;
  border: 1px solid #dfe3e7;
  border-radius: 9px;
  font-size: 10px;
  font-weight: 680;
}

.chart-wrap {
  width: 100%;
  overflow-x: auto;
}

.savings-chart {
  width: 100%;
  min-width: 660px;
  display: block;
}

.chart-grid-line {
  stroke: #e7eaee;
  stroke-width: 1;
}

.chart-axis-text {
  fill: #8a929e;
  font-size: 10px;
}

.chart-path-budget,
.chart-path-recommended {
  fill: none;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.chart-path-budget {
  stroke: #969eaa;
  stroke-dasharray: 6 7;
}

.chart-path-recommended {
  stroke: var(--red);
}

.chart-area {
  fill: url(#chartAreaGradient);
}

.chart-point {
  fill: #fff;
  stroke: var(--red);
  stroke-width: 3;
}

.chart-legend {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 9px;
}

.chart-legend > span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.legend-line {
  width: 24px;
  height: 3px;
  background: #969eaa;
  border-radius: 999px;
}

.legend-line--recommended {
  background: var(--red);
}

.chart-legend p {
  margin: 0 0 0 auto;
  font-size: 8px;
}

.confidence-section {
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  gap: 16px;
}

.confidence-score {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px;
  background: var(--surface-2);
  border-radius: 15px;
}

.confidence-score > div {
  --value: 70;
  position: relative;
  width: 76px;
  height: 76px;
  display: flex;
  align-items: baseline;
  justify-content: center;
  flex: 0 0 auto;
  padding-top: 25px;
  background: conic-gradient(var(--green) calc(var(--value) * 1%), #dfe6e2 0);
  border-radius: 50%;
}

.confidence-score > div::before {
  content: "";
  position: absolute;
  inset: 7px;
  background: #fff;
  border-radius: 50%;
}

.confidence-score strong,
.confidence-score > div small {
  position: relative;
  z-index: 1;
}

.confidence-score strong {
  font-size: 19px;
}

.confidence-score > div small {
  color: var(--muted);
  font-size: 8px;
}

.confidence-score p {
  display: grid;
  margin: 0;
}

.confidence-score p > b {
  margin-top: 4px;
  font-size: 13px;
}

.confidence-score p > em {
  margin-top: 2px;
  color: var(--muted);
  font-size: 9px;
}

.confidence-notice {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  color: #6f5839;
  background: var(--amber-soft);
  border: 1px solid #f0d3a6;
  border-radius: 15px;
}

.confidence-notice .icon {
  width: 18px;
  height: 18px;
  color: var(--amber);
  flex: 0 0 auto;
}

.confidence-notice p {
  margin: 0;
  font-size: 9px;
  line-height: 1.55;
}

.confidence-notice button {
  min-width: max-content;
  padding: 0;
  color: #7c5d31;
  background: none;
  border: 0;
  font-size: 9px;
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.result-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 14px;
  padding: 33px;
  color: #fff;
  background: var(--red);
  border-radius: 23px;
  box-shadow: 0 18px 50px rgba(227,31,43,.23);
}

.result-cta .section-kicker {
  color: #ffd5d8;
}

.result-cta h3 {
  max-width: 720px;
  margin: 7px 0 8px;
  font-size: 29px;
  line-height: 1.08;
  letter-spacing: -.04em;
}

.result-cta p {
  max-width: 750px;
  margin: 0;
  color: #ffe4e6;
  font-size: 11px;
}

.result-cta > div:last-child {
  display: grid;
  justify-items: stretch;
  gap: 12px;
  min-width: 245px;
}

.result-cta .button--primary {
  color: var(--ink);
  background: #fff;
  box-shadow: 0 12px 30px rgba(118,5,13,.19);
}

.result-cta .text-button {
  justify-content: center;
  color: #fff;
  font-size: 10px;
}

.technology-section {
  background: #fff;
}

.technology-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.technology-card {
  min-height: 250px;
  padding: 26px;
  background: var(--surface-2);
  border: 1px solid #e2e6ea;
  border-radius: 22px;
}

.technology-card--wide {
  grid-column: span 3;
  min-height: 310px;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: 40px;
  padding: 30px;
  color: #fff;
  background: linear-gradient(135deg, #15191f, #252b34);
  border-color: transparent;
}

.technology-card > div > span {
  color: #ff8f97;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .11em;
}

.technology-card h3 {
  margin: 13px 0 8px;
  font-size: 22px;
  letter-spacing: -.035em;
}

.technology-card p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}

.technology-card--wide p {
  color: #bfc6cf;
}

.technology-card--wide .text-button {
  margin-top: 18px;
  color: #fff;
}

.photo-visual {
  position: relative;
  min-height: 250px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(84,139,179,.88), rgba(239,191,129,.76)),
    repeating-linear-gradient(90deg, transparent 0 44px, rgba(255,255,255,.06) 44px 45px);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 20px;
}

.photo-visual span {
  position: absolute;
  top: 28px;
  bottom: 28px;
  left: 50%;
  width: 135px;
  padding: 10px;
  background: linear-gradient(135deg, #fff, #c8d1d9);
  border-radius: 9px;
  transform: translateX(-50%);
  box-shadow: 0 20px 40px rgba(0,0,0,.22);
}

.photo-visual span::before {
  content: "";
  position: absolute;
  inset: 10px;
  background: linear-gradient(135deg, rgba(199,229,249,.78), rgba(255,238,213,.65));
  border: 3px solid #94a3af;
}

.photo-visual i {
  position: absolute;
  inset: 18px;
  border: 1px dashed rgba(255,255,255,.72);
  border-radius: 14px;
}

.photo-visual i::before,
.photo-visual i::after {
  content: "";
  position: absolute;
  width: 26px;
  height: 26px;
  border-color: #fff;
  border-style: solid;
}

.photo-visual i::before {
  top: -1px;
  left: -1px;
  border-width: 3px 0 0 3px;
  border-radius: 8px 0 0 0;
}

.photo-visual i::after {
  right: -1px;
  bottom: -1px;
  border-width: 0 3px 3px 0;
  border-radius: 0 0 8px 0;
}

.photo-visual b {
  position: absolute;
  right: 26px;
  bottom: 25px;
  padding: 7px 10px;
  color: #fff;
  background: rgba(14,159,98,.85);
  border-radius: 9px;
  font-size: 9px;
}

.methodology-section {
  color: #fff;
  background: #12161c;
}

.methodology-layout {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  align-items: center;
  gap: 72px;
}

.methodology-layout > div > p {
  color: #aeb6c1;
}

.methodology-layout .button {
  margin-top: 24px;
  color: var(--ink);
  background: #fff;
}

.methodology-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.methodology-cards article {
  min-height: 145px;
  padding: 20px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 16px;
}

.methodology-cards article > span {
  color: var(--red);
  font-size: 10px;
  font-weight: 850;
}

.methodology-cards b {
  display: block;
  margin-top: 25px;
  font-size: 14px;
}

.methodology-cards p {
  margin: 5px 0 0;
  color: #a7afba;
  font-size: 10px;
}

.site-footer {
  color: #9fa7b2;
  background: #0d1015;
}

.site-footer__top {
  min-height: 110px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 35px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.brand--footer {
  color: #fff;
}

.site-footer__top > p {
  margin: 0;
  font-size: 11px;
}

.site-footer__top > div {
  display: flex;
  align-items: center;
  gap: 17px;
  font-size: 10px;
}

.site-footer__top a,
.site-footer__top button {
  color: #bcc3cc;
  background: none;
  border: 0;
  text-decoration: none;
}

.site-footer__bottom {
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  font-size: 9px;
}

.site-footer__bottom p {
  max-width: 800px;
  margin: 0;
}

.modal {
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 20px;
  overflow: auto;
  background: rgba(12, 15, 20, .68);
  border: 0;
  backdrop-filter: blur(10px);
}

.modal::backdrop {
  background: transparent;
}

.modal[open] {
  display: grid;
  place-items: center;
  animation: modal-backdrop-in .22s ease both;
}

.modal-card {
  width: min(100%, 720px);
  max-height: calc(100vh - 40px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(255,255,255,.8);
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  animation: modal-card-in .3s var(--ease) both;
}

.modal-card--wide {
  width: min(100%, 1080px);
}

.modal-card--medium {
  width: min(100%, 720px);
}

.modal-card--assistant {
  width: min(100%, 680px);
}

.modal-card--passport {
  width: min(100%, 690px);
}

.modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 25px 27px 20px;
  border-bottom: 1px solid #e4e7eb;
}

.modal-kicker {
  color: var(--red);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .1em;
}

.modal-head h2 {
  margin: 6px 0 5px;
  font-size: 29px;
  line-height: 1.08;
  letter-spacing: -.04em;
}

.modal-head p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
}

.modal-close {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  padding: 0;
  color: #68717c;
  background: #f2f4f6;
  border: 1px solid #e0e4e8;
  border-radius: 11px;
}

.modal-close:hover {
  color: var(--red);
}

.modal-close .icon {
  width: 18px;
  height: 18px;
}

.modal-body {
  padding: 24px 27px;
  overflow-y: auto;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 9px;
  padding: 17px 27px;
  background: #fafbfc;
  border-top: 1px solid #e4e7eb;
}

.photo-inspection {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.photo-upload {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  background: #f2f4f6;
  border: 1px dashed #bdc5ce;
  border-radius: 18px;
}

.photo-upload > input {
  position: absolute;
  z-index: 2;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
}

.photo-upload__empty {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  padding: 25px;
  text-align: center;
}

.photo-upload__empty > span {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  margin-bottom: 15px;
  color: var(--red);
  background: #fff;
  border: 1px solid #e0e4e8;
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
}

.photo-upload__empty .icon {
  width: 28px;
  height: 28px;
}

.photo-upload__empty b {
  font-size: 14px;
}

.photo-upload__empty small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
}

.photo-preview {
  position: absolute;
  z-index: 4;
  inset: 0;
  background: #101318;
}

.photo-preview img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.photo-preview > button {
  position: absolute;
  z-index: 3;
  top: 12px;
  right: 12px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  padding: 0;
  color: #fff;
  background: rgba(0,0,0,.56);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 11px;
  backdrop-filter: blur(8px);
}

.photo-preview > div {
  position: absolute;
  right: 12px;
  bottom: 12px;
  left: 12px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 7px 12px;
  padding: 12px;
  color: #fff;
  background: rgba(15,18,23,.72);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 12px;
  backdrop-filter: blur(10px);
}

.photo-preview > div span,
.photo-preview > div b {
  font-size: 10px;
}

.photo-preview > div i {
  grid-column: 1 / -1;
  height: 5px;
  overflow: hidden;
  background: rgba(255,255,255,.16);
  border-radius: 999px;
}

.photo-preview > div em {
  display: block;
  width: 0;
  height: 100%;
  background: var(--green);
  border-radius: inherit;
}

.photo-guidance {
  display: grid;
  align-content: start;
  gap: 18px;
}

.photo-checks {
  display: grid;
  gap: 8px;
}

.photo-checks label > span {
  min-height: 62px;
  display: grid;
  align-content: center;
  padding: 11px 13px 11px 43px;
  background: var(--surface-2);
  border: 1px solid #e0e4e8;
  border-radius: 12px;
}

.photo-checks label > span::before {
  content: "";
  position: absolute;
  left: 14px;
  width: 18px;
  height: 18px;
  background: #fff;
  border: 1px solid #bfc6ce;
  border-radius: 5px;
}

.photo-checks label {
  position: relative;
}

.photo-checks input:checked + span {
  background: var(--red-soft);
  border-color: #f59ba2;
}

.photo-checks input:checked + span::before {
  background: var(--red);
  border-color: var(--red);
  box-shadow: inset 0 0 0 4px var(--red), inset 0 0 0 6px #fff;
}

.photo-checks b {
  font-size: 11px;
}

.photo-checks small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 8px;
}

.noise-meter {
  display: grid;
  justify-items: center;
  text-align: center;
}

.noise-orb {
  position: relative;
  width: 170px;
  height: 170px;
  display: flex;
  align-items: baseline;
  justify-content: center;
  padding-top: 64px;
  background: radial-gradient(circle, #fff 0 45%, transparent 46%), conic-gradient(var(--red) 0 25%, #e6e9ed 25% 100%);
  border-radius: 50%;
}

.noise-orb span {
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(227,31,43,.22);
  border-radius: 50%;
  animation: orbit-pulse 2s ease-in-out infinite;
}

.noise-orb strong {
  font-size: 32px;
  letter-spacing: -.04em;
}

.noise-orb small {
  margin-top: 18px;
  color: var(--muted);
  font-size: 10px;
}

.noise-wave {
  height: 60px;
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 18px 0 10px;
}

.noise-wave i {
  width: 4px;
  height: 10px;
  background: #c9cfd6;
  border-radius: 999px;
  transition: height .08s linear, background .2s ease;
}

.noise-meter > p {
  margin-bottom: 13px;
  color: var(--muted);
  font-size: 11px;
}

.noise-progress {
  width: min(100%, 420px);
  height: 6px;
  overflow: hidden;
  margin-bottom: 18px;
  background: #e7eaee;
  border-radius: 999px;
}

.noise-progress i {
  display: block;
  width: 0;
  height: 100%;
  background: var(--red);
  border-radius: inherit;
}

.noise-meter .honesty-note {
  width: 100%;
  text-align: left;
}

.assistant-chat {
  min-height: 300px;
  max-height: 440px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px;
  overflow-y: auto;
  background: #f3f5f7;
}

.chat-message {
  max-width: 84%;
  display: flex;
  align-items: flex-start;
  gap: 9px;
}

.chat-message > span {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: #fff;
  background: var(--ink);
  border-radius: 10px;
}

.chat-message > span .icon {
  width: 15px;
  height: 15px;
}

.chat-message p {
  margin: 0;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid #e0e4e8;
  border-radius: 5px 15px 15px 15px;
  font-size: 11px;
  line-height: 1.6;
}

.chat-message--user {
  align-self: flex-end;
  flex-direction: row-reverse;
}

.chat-message--user > span {
  display: none;
}

.chat-message--user p {
  color: #fff;
  background: var(--red);
  border-color: var(--red);
  border-radius: 15px 5px 15px 15px;
}

.assistant-prompts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 13px 19px;
  background: #fff;
  border-top: 1px solid #e1e5e9;
}

.assistant-prompts button {
  min-height: 33px;
  padding: 0 10px;
  color: #5d6570;
  background: #f3f5f7;
  border: 1px solid #e0e4e8;
  border-radius: 9px;
  font-size: 9px;
}

.assistant-input {
  display: grid;
  grid-template-columns: 1fr 42px;
  gap: 8px;
  padding: 14px 19px 18px;
  background: #fff;
}

.assistant-input input {
  min-width: 0;
  height: 44px;
  padding: 0 13px;
  background: #f5f7f9;
  border: 1px solid #dfe3e7;
  border-radius: 11px;
  outline: 0;
  font-size: 11px;
}

.assistant-input input:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(227,31,43,.08);
}

.assistant-input button {
  display: grid;
  place-items: center;
  padding: 0;
  color: #fff;
  background: var(--red);
  border: 0;
  border-radius: 11px;
}

.methodology-modal {
  display: grid;
  gap: 20px;
}

.method-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 9px;
}

.method-steps article {
  min-height: 165px;
  padding: 16px;
  background: var(--surface-2);
  border: 1px solid #e1e5e9;
  border-radius: 14px;
}

.method-steps article > span {
  color: var(--red);
  font-size: 9px;
  font-weight: 850;
}

.method-steps article div {
  margin-top: 25px;
}

.method-steps b {
  font-size: 12px;
}

.method-steps p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 9px;
}

.method-status-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.method-status-grid div {
  min-height: 76px;
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 12px;
  background: #fff7e9;
  border: 1px solid #f1d8aa;
  border-radius: 12px;
}

.method-status-grid small {
  color: #8a6e44;
  font-size: 8px;
}

.method-status-grid b {
  color: #684d29;
  font-size: 9px;
}

.method-table {
  display: grid;
  overflow: hidden;
  border: 1px solid #e0e4e8;
  border-radius: 13px;
}

.method-table > div {
  display: grid;
  grid-template-columns: 1.1fr .8fr 1.4fr;
  gap: 12px;
  padding: 11px 13px;
  border-bottom: 1px solid #e6e9ed;
  font-size: 9px;
}

.method-table > div:first-child {
  color: #fff;
  background: var(--ink);
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.method-table > div:last-child {
  border-bottom: 0;
}

.method-table em {
  color: #7b5b2d;
  font-size: 8px;
}

.passport-card {
  margin: 24px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #dfe3e8;
  border-radius: 20px;
  box-shadow: var(--shadow-md);
}

.passport-card__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  color: #fff;
  background: var(--ink);
}

.passport-card__brand .brand__mark {
  width: 34px;
  height: 34px;
  padding: 7px;
  border-radius: 10px;
}

.passport-card__brand div {
  display: grid;
}

.passport-card__brand b {
  font-size: 12px;
  letter-spacing: .1em;
}

.passport-card__brand small {
  color: #aeb6c1;
  font-size: 8px;
}

.passport-card__main {
  display: grid;
  grid-template-columns: 210px 1fr;
  align-items: center;
  gap: 24px;
  padding: 24px;
}

.passport-qr {
  width: 210px;
  height: 210px;
  padding: 8px;
  background: #fff;
  border: 1px solid #e0e4e8;
  border-radius: 12px;
}

.passport-qr svg {
  width: 100%;
  height: 100%;
  display: block;
}

.passport-card__main > div:last-child > small {
  color: var(--muted);
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.passport-card__main h3 {
  margin: 6px 0 14px;
  font-size: 28px;
  line-height: 1.05;
  letter-spacing: -.04em;
}

.passport-card__main p {
  margin: 5px 0;
  color: var(--muted);
  font-size: 10px;
}

.passport-card__main p b {
  color: var(--ink);
}

.passport-card__main code {
  display: inline-block;
  margin-top: 12px;
  padding: 5px 7px;
  color: #4e5661;
  background: #f2f4f6;
  border-radius: 7px;
  font-size: 8px;
}

.passport-card__foot {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 14px 18px;
  color: #785c35;
  background: var(--amber-soft);
  border-top: 1px solid #f0d4a9;
}

.passport-card__foot .icon {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  color: var(--amber);
}

.passport-card__foot p {
  margin: 0;
  font-size: 8px;
}

.lead-form {
  display: grid;
  gap: 13px;
}

.lead-selected {
  display: grid;
  gap: 3px;
  padding: 12px 14px;
  color: #fff;
  background: var(--ink);
  border-radius: 12px;
}

.lead-selected small {
  color: #aeb6c0;
  font-size: 8px;
}

.lead-selected b {
  font-size: 12px;
}

.lead-form > label:not(.consent-check) {
  display: grid;
  gap: 6px;
}

.lead-form label > span {
  font-size: 10px;
  font-weight: 700;
}

.lead-form label > span em {
  color: var(--muted);
  font-size: 8px;
}

.lead-form input,
.lead-form textarea {
  width: 100%;
  padding: 0 13px;
  color: var(--ink);
  background: #f7f8fa;
  border: 1px solid #dfe3e7;
  border-radius: 11px;
  outline: 0;
  font-size: 12px;
}

.lead-form input {
  height: 46px;
}

.lead-form textarea {
  padding-block: 11px;
  resize: vertical;
}

.lead-form input:focus,
.lead-form textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(227,31,43,.08);
}

.lead-form label > small {
  min-height: 14px;
  color: var(--red-dark);
  font-size: 9px;
}

.consent-check > span {
  min-height: 52px;
  display: grid;
  grid-template-columns: 25px 1fr;
  align-items: center;
  gap: 9px;
  padding: 10px 12px;
  background: #f4f6f8;
  border: 1px solid #dfe3e7;
  border-radius: 11px;
}

.consent-check > span i {
  width: 23px;
  height: 23px;
  display: grid;
  place-items: center;
  color: transparent;
  background: #fff;
  border: 1px solid #bcc4cd;
  border-radius: 6px;
}

.consent-check > span i .icon {
  width: 14px;
  height: 14px;
}

.consent-check input:checked + span {
  background: var(--green-soft);
  border-color: #bce4d0;
}

.consent-check input:checked + span i {
  color: #fff;
  background: var(--green);
  border-color: var(--green);
}

.consent-check b {
  font-size: 9px;
}

.lead-message {
  padding: 12px 14px;
  color: var(--green-dark);
  background: var(--green-soft);
  border: 1px solid #bae4ce;
  border-radius: 11px;
  font-size: 10px;
}

.lead-message.is-error {
  color: var(--red-dark);
  background: var(--red-soft);
  border-color: #f4b6bc;
}

.toast-region {
  position: fixed;
  z-index: 200;
  right: 18px;
  bottom: 18px;
  width: min(370px, calc(100% - 36px));
  display: grid;
  gap: 8px;
  pointer-events: none;
}

.toast {
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: center;
  gap: 10px;
  padding: 12px;
  color: #fff;
  background: #171b21;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 13px;
  box-shadow: var(--shadow-md);
  animation: toast-in .3s var(--ease) both;
  pointer-events: auto;
}

.toast.is-error {
  background: #9f1720;
}

.toast > .icon {
  width: 30px;
  height: 30px;
  padding: 7px;
  color: var(--green);
  background: rgba(255,255,255,.08);
  border-radius: 9px;
}

.toast.is-error > .icon {
  color: #fff;
}

.toast b,
.toast small {
  display: block;
}

.toast b {
  font-size: 11px;
}

.toast small {
  margin-top: 2px;
  color: #c6ccd4;
  font-size: 8px;
}

.toast.is-leaving {
  animation: toast-out .24s ease both;
}

@keyframes snow-fall {
  0% { transform: translate(0, -10px); opacity: 0; }
  15% { opacity: 1; }
  100% { transform: translate(-25px, 470px); opacity: .2; }
}

@keyframes sun-pulse {
  0%, 100% { transform: scale(.94); box-shadow: 0 0 25px rgba(255,214,93,.65); }
  50% { transform: scale(1.08); box-shadow: 0 0 45px rgba(255,214,93,.95); }
}

@keyframes heat-flow {
  0%, 100% { transform: translateX(0) scaleX(.85); opacity: .42; }
  50% { transform: translateX(18px) scaleX(1.08); opacity: 1; }
}

@keyframes sound-wave {
  0% { transform: scale(.3); opacity: .7; }
  100% { transform: scale(2.1); opacity: 0; }
}

@keyframes orbit-pulse {
  0%, 100% { transform: scale(.95); opacity: .35; }
  50% { transform: scale(1.12); opacity: .05; }
}

@keyframes step-in {
  from { opacity: 0; transform: translateX(18px); }
  to { opacity: 1; transform: none; }
}

@keyframes results-in {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}

@keyframes modal-backdrop-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes modal-card-in {
  from { opacity: 0; transform: translateY(18px) scale(.98); }
  to { opacity: 1; transform: none; }
}

@keyframes toast-in {
  from { opacity: 0; transform: translateY(15px) scale(.97); }
  to { opacity: 1; transform: none; }
}

@keyframes toast-out {
  to { opacity: 0; transform: translateY(10px) scale(.97); }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 1180px) {
  .desktop-nav {
    gap: 17px;
  }

  .hero__layout {
    grid-template-columns: minmax(0, .9fr) minmax(460px, 1.1fr);
    gap: 42px;
  }

  .hero h1 {
    font-size: clamp(46px, 5.4vw, 68px);
  }

  .advisor-layout {
    grid-template-columns: minmax(0, 1fr) 340px;
  }

  .advisor-main {
    padding-inline: 28px;
  }

  .choice-grid--four,
  .priority-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .choice-grid--window-types,
  .choice-grid--energy {
    grid-template-columns: repeat(3, 1fr);
  }

  .check-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .measurement-result {
    grid-template-columns: 70px 1fr;
  }

  .measurement-result .number-field--inline {
    grid-column: 1 / -1;
  }

  .metric-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .premium-compare {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 980px) {
  :root {
    --header-height: 68px;
  }

  .container {
    width: min(calc(100% - 32px), var(--container));
  }

  .desktop-nav {
    display: none;
  }

  .hero {
    padding-top: 54px;
  }

  .hero__layout {
    grid-template-columns: 1fr;
  }

  .hero__content {
    max-width: 760px;
  }

  .hero-lab {
    max-width: 760px;
  }

  .how-section,
  .technology-section,
  .methodology-section,
  .advisor-section {
    padding-block: 82px;
  }

  .advisor-heading {
    display: block;
  }

  .advisor-heading p {
    max-width: 720px;
    margin-top: 14px;
  }

  .advisor-layout {
    grid-template-columns: 1fr;
  }

  .advisor-live {
    display: none;
  }

  .advisor-main {
    padding: 28px;
  }

  .energy-form {
    min-height: 520px;
  }

  .orientation-layout {
    grid-template-columns: 1fr;
  }

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

  .energy-score-card {
    border-top: 1px solid rgba(255,255,255,.1);
    border-left: 0;
  }

  .score-comparison {
    max-width: 410px;
    margin-inline: auto;
  }

  .results-two-column,
  .family-section,
  .confidence-section,
  .methodology-layout {
    grid-template-columns: 1fr;
  }

  .option-grid {
    grid-template-columns: 1fr;
  }

  .option-card > p {
    min-height: 0;
  }

  .technology-grid {
    grid-template-columns: 1fr 1fr;
  }

  .technology-card--wide {
    grid-column: span 2;
  }

  .site-footer__top {
    grid-template-columns: auto 1fr;
  }

  .site-footer__top > div {
    grid-column: 1 / -1;
    padding-bottom: 20px;
  }
}

@media (max-width: 720px) {
  :root {
    --radius-xl: 24px;
  }

  html {
    scroll-padding-top: 84px;
  }

  .container {
    width: min(calc(100% - 24px), var(--container));
  }

  .pilot-strip__inner {
    justify-content: center;
  }

  .pilot-strip__inner button {
    display: none;
  }

  .site-header__inner {
    gap: 12px;
  }

  .brand__mark {
    width: 36px;
    height: 36px;
    padding: 7px;
    border-radius: 10px;
  }

  .brand__word strong {
    font-size: 21px;
  }

  .brand__word em {
    font-size: 13px;
  }

  .button--header {
    display: none;
  }

  .language-switch {
    margin-left: auto;
  }

  .hero {
    padding: 40px 0 58px;
  }

  .hero h1 {
    font-size: clamp(42px, 13vw, 58px);
  }

  .hero__lead {
    font-size: 16px;
  }

  .hero__actions {
    display: grid;
  }

  .hero__actions .button {
    width: 100%;
  }

  .hero__trust {
    display: grid;
    gap: 9px;
  }

  .hero-lab {
    padding: 11px;
    border-radius: 24px;
  }

  .hero-lab__top {
    align-items: flex-start;
  }

  .hero-lab__top > div:first-child strong {
    font-size: 14px;
  }

  .segment-switch button {
    min-width: 60px;
    padding-inline: 8px;
  }

  .climate-scene {
    min-height: 390px;
  }

  .scene-window {
    width: 142px;
  }

  .scene-sofa {
    right: 14px;
    width: 92px;
  }

  .scene-lamp {
    right: 43px;
  }

  .scene-plant {
    left: 14px;
  }

  .lab-note {
    display: none;
  }

  .how-section,
  .technology-section,
  .methodology-section,
  .advisor-section {
    padding-block: 64px;
  }

  .section-heading h2,
  .advisor-heading h2,
  .methodology-layout h2 {
    font-size: 37px;
  }

  .section-heading p,
  .advisor-heading p,
  .methodology-layout > div > p {
    font-size: 15px;
  }

  .how-grid {
    grid-template-columns: 1fr;
  }

  .how-grid article {
    min-height: 210px;
  }

  .advisor-shell {
    margin-inline: -12px;
    border-radius: 24px;
  }

  .advisor-progress {
    padding: 18px 18px 14px;
  }

  .advisor-progress__meta {
    grid-template-columns: auto 1fr;
  }

  .advisor-progress__meta strong {
    text-align: right;
  }

  .advisor-progress__meta em {
    display: none;
  }

  .advisor-main {
    padding: 22px 18px 18px;
  }

  .engineer-message {
    margin-bottom: 22px;
  }

  .energy-form {
    min-height: 540px;
  }

  .question-head {
    gap: 10px;
  }

  .question-head > span {
    min-width: 24px;
  }

  .question-head h3 {
    font-size: 29px;
  }

  .location-picker,
  .field-row,
  .measurement-grid,
  .choice-grid--four,
  .choice-grid--window-types,
  .choice-grid--energy,
  .check-grid,
  .noise-choice,
  .priority-grid,
  .review-grid {
    grid-template-columns: 1fr;
  }

  .climate-strip {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .climate-strip article {
    min-width: 0;
    display: grid;
    justify-items: center;
    padding: 10px 6px;
    text-align: center;
  }

  .climate-strip article > span {
    width: 30px;
    height: 30px;
  }

  .choice-card > span {
    min-height: 92px;
    display: grid;
    grid-template-columns: 38px 1fr;
    grid-template-rows: auto auto;
    align-content: center;
    column-gap: 12px;
  }

  .choice-card > span > i {
    grid-row: 1 / 3;
    margin: 0;
  }

  .choice-card strong {
    margin-top: 0;
  }

  .choice-card--compact > span {
    min-height: 72px;
  }

  .choice-card--compact strong {
    margin-top: 0;
  }

  .measurement-result {
    grid-template-columns: 58px 1fr;
    gap: 12px;
  }

  .mini-window {
    width: 50px;
    height: 70px;
  }

  .measurement-result strong {
    font-size: 22px;
  }

  .check-card > span {
    min-height: 82px;
  }

  .orientation-layout {
    gap: 12px;
  }

  .compass-picker {
    grid-template-columns: 140px 1fr;
    gap: 13px;
    padding: 14px;
  }

  .compass-visual {
    width: 135px;
    height: 135px;
  }

  .compass-visual > i {
    top: 15px;
    height: 50px;
    transform-origin: 50% 52px;
  }

  .money-field {
    grid-template-columns: 1fr;
  }

  .advisor-controls {
    position: sticky;
    z-index: 20;
    bottom: 0;
    grid-template-columns: auto 1fr;
    margin: 22px -18px -18px;
    padding: 13px 18px calc(13px + env(safe-area-inset-bottom));
    background: rgba(255,255,255,.94);
    border-top: 1px solid #dfe3e8;
    backdrop-filter: blur(16px);
  }

  .advisor-controls__hint {
    display: none;
  }

  .advisor-controls .button--primary,
  .advisor-controls .button--calculate {
    width: 100%;
  }

  .results {
    margin-top: 42px;
  }

  .results-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .results-actions {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 3px;
  }

  .results-actions button {
    flex: 0 0 auto;
  }

  .recommendation-hero {
    border-radius: 22px;
  }

  .recommendation-hero__content {
    padding: 28px 22px;
  }

  .recommendation-hero h3 {
    font-size: 44px;
  }

  .recommendation-actions {
    display: grid;
  }

  .recommendation-actions .button {
    width: 100%;
  }

  .energy-score-card {
    padding: 24px 18px;
  }

  .energy-score-card::before {
    inset: 14px;
  }

  .score-gauge {
    width: 95px;
    height: 95px;
  }

  .metric-grid,
  .family-benefits,
  .premium-compare,
  .premium-bottom,
  .methodology-cards,
  .technology-grid,
  .method-status-grid {
    grid-template-columns: 1fr;
  }

  .metric-grid article {
    min-height: 150px;
  }

  .metric-icon {
    margin-bottom: 14px;
  }

  .results-two-column {
    grid-template-columns: 1fr;
  }

  .result-panel,
  .options-section,
  .premium-explainer,
  .savings-section,
  .family-section,
  .confidence-section {
    padding: 20px;
    border-radius: 19px;
  }

  .panel-heading {
    display: block;
  }

  .panel-heading > p {
    margin-top: 9px;
    text-align: left;
  }

  .segment-switch--small {
    margin-top: 12px;
  }

  .result-window-scene {
    height: 245px;
  }

  .family-section {
    gap: 18px;
  }

  .option-grid {
    grid-template-columns: 1fr;
  }

  .premium-explainer__head {
    grid-template-columns: 44px 1fr;
  }

  .value-score {
    grid-column: 1 / -1;
    justify-items: start;
    margin-top: 8px;
  }

  .chart-controls {
    margin-top: 14px;
  }

  .chart-legend {
    flex-wrap: wrap;
  }

  .chart-legend p {
    width: 100%;
    margin-left: 0;
  }

  .result-cta {
    align-items: stretch;
    flex-direction: column;
    padding: 25px 22px;
  }

  .result-cta > div:last-child {
    min-width: 0;
  }

  .technology-card--wide {
    grid-column: auto;
    grid-template-columns: 1fr;
  }

  .photo-visual {
    min-height: 220px;
  }

  .methodology-layout {
    gap: 38px;
  }

  .site-footer__top {
    grid-template-columns: 1fr;
    gap: 16px;
    padding-block: 28px;
  }

  .site-footer__top > div {
    grid-column: auto;
    padding-bottom: 0;
    flex-wrap: wrap;
  }

  .site-footer__bottom {
    align-items: flex-start;
    flex-direction: column;
    padding-block: 18px;
  }

  .modal {
    padding: 0;
    place-items: end center;
  }

  .modal-card,
  .modal-card--wide,
  .modal-card--medium,
  .modal-card--assistant,
  .modal-card--passport {
    width: 100%;
    max-height: calc(100vh - 20px);
    border-radius: 22px 22px 0 0;
  }

  .modal-head {
    padding: 21px 19px 17px;
  }

  .modal-head h2 {
    font-size: 25px;
  }

  .modal-body {
    padding: 19px;
  }

  .modal-actions {
    padding: 14px 19px calc(14px + env(safe-area-inset-bottom));
  }

  .photo-inspection {
    grid-template-columns: 1fr;
  }

  .photo-upload {
    min-height: 310px;
  }

  .method-steps {
    grid-template-columns: 1fr 1fr;
  }

  .method-table {
    overflow-x: auto;
  }

  .method-table > div {
    min-width: 680px;
  }

  .passport-card {
    margin: 18px;
  }

  .passport-card__main {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }
}

@media (max-width: 430px) {
  .brand__word em {
    display: none;
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero-lab__top > div:first-child span {
    display: none;
  }

  .climate-scene {
    min-height: 350px;
  }

  .scene-window {
    top: 52px;
    bottom: 45px;
    width: 120px;
  }

  .scene-temperature b {
    font-size: 23px;
  }

  .scene-result {
    min-height: 58px;
  }

  .scene-result > span b {
    font-size: 10px;
  }

  .section-heading h2,
  .advisor-heading h2,
  .methodology-layout h2 {
    font-size: 33px;
  }

  .question-head h3 {
    font-size: 26px;
  }

  .climate-strip small {
    font-size: 8px;
  }

  .climate-strip b {
    font-size: 11px;
  }

  .compass-picker {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .orientation-buttons {
    width: 100%;
    grid-template-columns: 1fr 1fr;
  }

  .orientation-buttons label:last-child {
    grid-column: 1 / -1;
  }

  .score-comparison {
    gap: 8px;
  }

  .score-gauge {
    width: 82px;
    height: 82px;
  }

  .score-gauge strong {
    font-size: 24px;
  }

  .metric-grid article > strong b {
    font-size: 24px;
  }

  .behavior-grid {
    grid-template-columns: 1fr;
  }

  .premium-explainer h3 {
    font-size: 23px;
  }

  .method-steps {
    grid-template-columns: 1fr;
  }

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

  .modal-actions .button {
    width: 100%;
    padding-inline: 12px;
  }

  .passport-qr {
    width: 190px;
    height: 190px;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media print {
  @page {
    margin: 12mm;
  }

  body {
    color: #000;
    background: #fff;
    font-size: 10pt;
  }

  .pilot-strip,
  .site-header,
  .hero,
  .how-section,
  .advisor-heading,
  .advisor-shell,
  .technology-section,
  .methodology-section,
  .site-footer,
  .results-actions,
  .recommendation-actions,
  .result-cta,
  .segment-switch,
  .chart-controls,
  .toast-region,
  dialog {
    display: none !important;
  }

  .advisor-section {
    padding: 0;
    background: #fff;
  }

  .container {
    width: 100%;
  }

  .results {
    display: block !important;
    margin: 0;
  }

  .results-toolbar,
  .recommendation-hero,
  .metric-grid,
  .results-two-column,
  .family-section,
  .options-section,
  .premium-explainer,
  .savings-section,
  .confidence-section {
    break-inside: avoid;
  }

  .recommendation-hero,
  .premium-explainer {
    color: #000;
    background: #fff;
    border: 1px solid #bbb;
    box-shadow: none;
  }

  .recommendation-hero__content > p,
  .energy-score-card,
  .reason-chips span,
  .premium-explainer__intro,
  .premium-diff p,
  .premium-bottom small {
    color: #333;
  }

  .metric-grid,
  .option-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ========================================================================== 
   AKFA Energy 0.3.0 — official brand, shorter journey, richer visual feedback
   ========================================================================== */

:root {
  --red: #ed1c24;
  --red-dark: #c9141b;
  --red-bright: #ff3c45;
  --graphite: #2b2a29;
  --page: #f1f3f6;
  --surface-glass: rgba(255, 255, 255, .82);
  --shadow-brand: 0 18px 54px rgba(237, 28, 36, .18);
  --header-height: 82px;
}

body {
  background:
    radial-gradient(circle at 12% 0%, rgba(237, 28, 36, .035), transparent 22rem),
    var(--page);
}

body.has-result-dock {
  padding-bottom: 92px;
}

.brand--official {
  min-width: 0;
  gap: 12px;
}

.brand__logo {
  display: block;
  width: 148px;
  height: auto;
  object-fit: contain;
}

.brand__divider {
  width: 1px;
  height: 28px;
  flex: 0 0 auto;
  background: #d5d9df;
}

.brand__product {
  display: grid;
  gap: 1px;
  line-height: 1.05;
  white-space: nowrap;
}

.brand__product strong {
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .14em;
}

.brand__product small {
  color: #717887;
  font-size: 9px;
  font-weight: 690;
  letter-spacing: .02em;
}

.brand--footer .brand__divider {
  background: rgba(255, 255, 255, .22);
}

.brand--footer .brand__product small {
  color: rgba(255, 255, 255, .58);
}

.site-header {
  background: rgba(248, 249, 251, .9);
  box-shadow: 0 10px 30px rgba(23, 27, 35, .035);
}

.site-header__inner {
  gap: 22px;
}

.header-save-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #667080;
  font-size: 11px;
  font-weight: 720;
  white-space: nowrap;
}

.header-save-status .icon {
  width: 15px;
  height: 15px;
  color: var(--green);
}

.header-save-status.is-saving .icon {
  animation: savePulse .65s ease infinite alternate;
}

.hero {
  min-height: 760px;
  background:
    radial-gradient(circle at 79% 17%, rgba(237, 28, 36, .12), transparent 30%),
    radial-gradient(circle at 13% 86%, rgba(36, 119, 238, .07), transparent 28%),
    linear-gradient(135deg, #f9fafc 0%, #eef2f6 62%, #f8eef0 100%);
}

.hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
  inset: auto 6% 5% auto;
  width: 180px;
  height: 180px;
  opacity: .3;
  background-image: radial-gradient(#ed1c24 1px, transparent 1px);
  background-size: 12px 12px;
  mask-image: linear-gradient(145deg, #000, transparent 72%);
}

.hero__content {
  padding-right: 18px;
}

.hero h1 {
  letter-spacing: -.065em;
  text-wrap: balance;
}

.hero__lead {
  max-width: 660px;
}

.hero-quick-start {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 22px;
  color: #6d7481;
  font-size: 12px;
  font-weight: 690;
}

.hero-quick-start > div {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.hero-quick-start button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 7px 12px;
  color: #252a33;
  background: rgba(255, 255, 255, .78);
  border: 1px solid rgba(205, 210, 218, .9);
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(23, 28, 38, .055);
  font-size: 12px;
  font-weight: 750;
  transition: transform .2s var(--ease), border-color .2s ease, box-shadow .2s ease, color .2s ease;
}

.hero-quick-start button:hover {
  color: var(--red);
  border-color: rgba(237, 28, 36, .34);
  box-shadow: 0 12px 26px rgba(237, 28, 36, .1);
  transform: translateY(-2px);
}

.hero-quick-start .icon {
  width: 16px;
  height: 16px;
}

.hero-lab {
  overflow: hidden;
  border-color: rgba(255, 255, 255, .82);
  box-shadow:
    0 42px 100px rgba(24, 29, 39, .18),
    inset 0 1px 0 rgba(255, 255, 255, .86);
}

.hero-lab::after {
  content: "";
  position: absolute;
  z-index: 0;
  top: -90px;
  right: -70px;
  width: 230px;
  height: 230px;
  border: 40px solid rgba(237, 28, 36, .045);
  border-radius: 50%;
  animation: labOrbit 14s linear infinite;
}

.hero-lab > * {
  position: relative;
  z-index: 1;
}

.hero-compare-control {
  display: grid;
  grid-template-columns: auto minmax(120px, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 15px 20px 5px;
  color: #667080;
  font-size: 11px;
  font-weight: 760;
}

.hero-compare-control label {
  display: block;
}

.hero-compare-control input,
.premium-payback-tool input[type="range"] {
  width: 100%;
  height: 6px;
  margin: 0;
  appearance: none;
  background: linear-gradient(90deg, #95c9e8 0%, #edf0f4 50%, #ffb06d 100%);
  border-radius: 999px;
  outline: none;
}

.hero-compare-control input::-webkit-slider-thumb,
.premium-payback-tool input[type="range"]::-webkit-slider-thumb {
  width: 24px;
  height: 24px;
  appearance: none;
  background: #fff;
  border: 6px solid var(--red);
  border-radius: 50%;
  box-shadow: 0 5px 18px rgba(237, 28, 36, .28);
  transition: transform .18s ease;
}

.hero-compare-control input::-moz-range-thumb,
.premium-payback-tool input[type="range"]::-moz-range-thumb {
  width: 14px;
  height: 14px;
  background: #fff;
  border: 5px solid var(--red);
  border-radius: 50%;
  box-shadow: 0 5px 18px rgba(237, 28, 36, .28);
}

.hero-compare-control input:active::-webkit-slider-thumb,
.premium-payback-tool input[type="range"]:active::-webkit-slider-thumb {
  transform: scale(1.12);
}

.climate-scene {
  --compare: .15;
}

.climate-scene .heat-stream {
  opacity: calc(.18 + (1 - var(--compare)) * .82);
  transform: translateX(calc(var(--compare) * -8px));
}

.climate-scene .scene-result {
  backdrop-filter: blur(18px);
}

.advisor-section {
  background:
    radial-gradient(circle at 92% 8%, rgba(237, 28, 36, .075), transparent 24%),
    radial-gradient(circle at 8% 80%, rgba(36, 119, 238, .045), transparent 22%),
    linear-gradient(180deg, #f3f5f8 0%, #e9edf2 100%);
}

.advisor-heading {
  margin-bottom: 24px;
}

.advisor-mode-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 18px;
  padding: 14px 16px 14px 14px;
  background: rgba(255, 255, 255, .76);
  border: 1px solid rgba(211, 216, 224, .9);
  border-radius: 20px;
  box-shadow: 0 12px 34px rgba(22, 28, 38, .06);
  backdrop-filter: blur(14px);
}

.advisor-mode-copy {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.mode-icon {
  width: 46px;
  height: 46px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  color: #fff;
  background: linear-gradient(145deg, #15181e, #2f3540);
  border-radius: 14px;
  box-shadow: 0 12px 28px rgba(17, 20, 26, .18);
}

.mode-icon .icon {
  width: 22px;
  height: 22px;
}

.advisor-mode-copy div {
  display: grid;
  gap: 2px;
}

.advisor-mode-copy b {
  font-size: 14px;
}

.advisor-mode-copy small {
  color: var(--muted);
  font-size: 12px;
}

.advisor-mode-switch {
  display: grid;
  grid-template-columns: repeat(2, minmax(126px, 1fr));
  gap: 4px;
  padding: 4px;
  background: #e9edf2;
  border: 1px solid #dde2e8;
  border-radius: 15px;
}

.advisor-mode-switch button {
  min-height: 48px;
  display: grid;
  place-content: center;
  gap: 1px;
  padding: 6px 14px;
  color: #69717e;
  background: transparent;
  border: 0;
  border-radius: 11px;
  transition: color .2s ease, background .2s ease, box-shadow .2s ease, transform .2s ease;
}

.advisor-mode-switch button span {
  font-size: 13px;
  font-weight: 830;
}

.advisor-mode-switch button small {
  font-size: 10px;
  font-weight: 650;
}

.advisor-mode-switch button.is-active {
  color: var(--ink);
  background: #fff;
  box-shadow: 0 7px 20px rgba(22, 28, 38, .12);
}

.resume-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  padding: 16px;
  color: #fff;
  background:
    radial-gradient(circle at 86% 10%, rgba(255,255,255,.15), transparent 22%),
    linear-gradient(125deg, #1b1e24, #323843);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 20px;
  box-shadow: 0 20px 46px rgba(17, 20, 26, .16);
}

.resume-card__icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--red);
  border-radius: 14px;
  box-shadow: 0 10px 28px rgba(237, 28, 36, .3);
}

.resume-card > div:nth-child(2) {
  min-width: 0;
}

.resume-card b {
  display: block;
  font-size: 14px;
}

.resume-card p {
  margin: 3px 0 0;
  color: rgba(255,255,255,.67);
  font-size: 12px;
}

.resume-card > div:last-child {
  display: flex;
  align-items: center;
  gap: 12px;
}

.resume-card .button {
  min-height: 42px;
  padding: 9px 16px;
}

.resume-card .text-button {
  color: rgba(255,255,255,.8);
}

.advisor-shell {
  border-radius: 34px;
  border-color: rgba(211, 217, 225, .95);
  box-shadow:
    0 40px 100px rgba(21, 27, 37, .14),
    inset 0 1px 0 rgba(255,255,255,.9);
}

.advisor-progress {
  padding-bottom: 14px;
  background: linear-gradient(180deg, #fff, #f8fafc);
}

.advisor-step-rail {
  display: grid;
  grid-template-columns: repeat(10, minmax(74px, 1fr));
  gap: 5px;
  margin-top: 13px;
}

.advisor-step-rail button {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 8px;
  color: #8a929f;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 10px;
  text-align: left;
  transition: color .18s ease, background .18s ease, border-color .18s ease, transform .18s ease;
}

.advisor-step-rail button span {
  width: 22px;
  height: 22px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  color: #8e96a3;
  background: #edf0f4;
  border-radius: 7px;
  font-size: 9px;
  font-weight: 900;
}

.advisor-step-rail button b {
  overflow: hidden;
  font-size: 10px;
  font-weight: 720;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.advisor-step-rail button.is-active {
  color: var(--ink);
  background: var(--red-soft);
  border-color: rgba(237, 28, 36, .18);
}

.advisor-step-rail button.is-active span {
  color: #fff;
  background: var(--red);
  box-shadow: 0 6px 15px rgba(237, 28, 36, .24);
}

.advisor-step-rail button.is-complete {
  color: #4d5765;
}

.advisor-step-rail button.is-complete span {
  color: #fff;
  background: var(--green);
}

.advisor-step-rail button:not(:disabled):hover {
  transform: translateY(-1px);
}

.advisor-step-rail button:disabled {
  opacity: .5;
}

.advisor-main {
  padding-top: 32px;
}

.engineer-message {
  position: relative;
  overflow: hidden;
  background: linear-gradient(130deg, #f5f7fa, #fbfcfd);
}

.engineer-message::after {
  content: "";
  position: absolute;
  right: -30px;
  bottom: -50px;
  width: 120px;
  height: 120px;
  border: 18px solid rgba(237, 28, 36, .04);
  border-radius: 50%;
}

.advisor-controls {
  grid-template-columns: auto minmax(150px, 1fr) auto;
}

.advisor-controls__center {
  display: grid;
  justify-items: center;
  gap: 3px;
}

.step-skip {
  color: #6b7380;
  font-size: 11px;
}

.step-skip .icon {
  width: 14px;
  height: 14px;
}

.autosave-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #9aa1ac;
  font-size: 9px;
  font-weight: 650;
}

.autosave-status .icon {
  width: 12px;
  height: 12px;
  color: var(--green);
}

.advisor-live {
  background:
    radial-gradient(circle at 88% 8%, rgba(237,28,36,.11), transparent 24%),
    radial-gradient(circle at 10% 48%, rgba(36,119,238,.05), transparent 25%),
    #eef2f6;
}

.decision-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 20px;
  margin: 18px 0 24px;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid #dfe4ea;
  border-radius: 20px;
  box-shadow: 0 12px 34px rgba(22, 28, 38, .055);
}

.decision-summary > div:first-child {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.decision-summary__icon {
  width: 42px;
  height: 42px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  color: #fff;
  background: linear-gradient(145deg, var(--red), #ff4a54);
  border-radius: 13px;
  box-shadow: 0 10px 25px rgba(237, 28, 36, .24);
}

.decision-summary p {
  display: grid;
  min-width: 0;
  gap: 2px;
  margin: 0;
}

.decision-summary small {
  color: #8a929f;
  font-size: 10px;
  font-weight: 760;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.decision-summary p b {
  overflow: hidden;
  font-size: 13px;
  line-height: 1.35;
  text-overflow: ellipsis;
}

.decision-summary > div:nth-child(2) {
  display: grid;
  min-width: 130px;
  gap: 1px;
  padding-left: 20px;
  border-left: 1px solid #e4e8ed;
}

.decision-summary > div:nth-child(2) strong {
  color: var(--red);
  font-size: 19px;
}

.comfort-simulator {
  margin-top: 22px;
  padding: 26px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #dde2e8;
  border-radius: 26px;
  box-shadow: var(--shadow-sm);
}

.comfort-simulator .panel-heading {
  align-items: flex-end;
}

.comfort-simulator .panel-heading p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.scenario-tabs {
  display: flex;
  gap: 4px;
  padding: 4px;
  background: #edf0f4;
  border-radius: 13px;
}

.scenario-tabs button {
  min-width: 84px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 38px;
  padding: 6px 10px;
  color: #6e7683;
  background: transparent;
  border: 0;
  border-radius: 10px;
  font-size: 11px;
  transition: color .2s ease, background .2s ease, box-shadow .2s ease;
}

.scenario-tabs button.is-active {
  color: var(--ink);
  background: #fff;
  box-shadow: 0 6px 16px rgba(22, 28, 38, .1);
}

.comfort-simulator__stage {
  position: relative;
  min-height: 330px;
  display: grid;
  grid-template-columns: 1fr 150px 1.05fr;
  margin-top: 20px;
  overflow: hidden;
  background: linear-gradient(90deg, #b8d8eb 0 42%, #e7edf2 42% 53%, #ffe7c1 53% 100%);
  border: 1px solid #dce2e8;
  border-radius: 22px;
  isolation: isolate;
}

.comfort-simulator__stage::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  background: linear-gradient(90deg, rgba(58,140,196,.18), transparent 46%, rgba(255,168,83,.14));
  transition: background .45s ease;
}

.comfort-stage__outside,
.comfort-stage__inside,
.comfort-stage__window {
  position: relative;
  z-index: 1;
}

.comfort-stage__outside,
.comfort-stage__inside {
  padding: 28px;
}

.comfort-stage__outside > span,
.comfort-stage__inside > span {
  position: relative;
  z-index: 5;
  color: #fff;
  font-size: 28px;
  font-weight: 850;
  letter-spacing: -.04em;
  text-shadow: 0 2px 12px rgba(29, 69, 95, .18);
}

.comfort-stage__inside > span {
  float: right;
  color: #8c4616;
  text-shadow: none;
}

.comfort-stage__outside i {
  position: absolute;
  top: -18px;
  width: 5px;
  height: 5px;
  background: rgba(255,255,255,.86);
  border-radius: 50%;
  animation: snowFall 4.4s linear infinite;
}

.comfort-stage__outside i:nth-of-type(1) { left: 18%; animation-delay: -.8s; }
.comfort-stage__outside i:nth-of-type(2) { left: 52%; animation-delay: -2.1s; }
.comfort-stage__outside i:nth-of-type(3) { left: 78%; animation-delay: -3.4s; }

.comfort-stage__outside b {
  position: absolute;
  left: 22%;
  top: 52%;
  width: 52px;
  height: 52px;
  border: 2px solid rgba(255,255,255,.25);
  border-left-color: transparent;
  border-radius: 50%;
  animation: soundTravel 2.5s ease-out infinite;
}

.comfort-stage__outside b:nth-of-type(2) { animation-delay: -.8s; }
.comfort-stage__outside b:nth-of-type(3) { animation-delay: -1.6s; }

.comfort-stage__window {
  align-self: center;
  justify-self: center;
  width: 130px;
  height: 250px;
  background: rgba(239, 246, 250, .78);
  border: 12px solid #f8fbfc;
  border-radius: 13px;
  box-shadow:
    0 28px 40px rgba(37, 58, 72, .2),
    inset 0 0 0 3px #9baab6;
}

.comfort-stage__window span,
.comfort-stage__window i {
  position: absolute;
  background: #91a1ad;
}

.comfort-stage__window span:first-child { top: 50%; left: 0; right: 0; height: 3px; }
.comfort-stage__window span:nth-child(2) { top: 0; bottom: 0; left: 50%; width: 3px; }
.comfort-stage__window i { top: 8px; bottom: 8px; width: 2px; opacity: .35; }
.comfort-stage__window i:nth-of-type(1) { left: 42%; }
.comfort-stage__window i:nth-of-type(2) { left: 58%; }
.comfort-stage__window em {
  position: absolute;
  top: 44%;
  right: -18px;
  width: 9px;
  height: 45px;
  background: #fff;
  border: 1px solid #aeb8c0;
  border-radius: 6px;
}

.comfort-stage__inside::before {
  content: "";
  position: absolute;
  right: 12%;
  bottom: 0;
  width: 160px;
  height: 70px;
  background: #bd7f53;
  border-radius: 64px 64px 0 0;
}

.comfort-lamp {
  position: absolute;
  right: 20%;
  bottom: 68px;
  width: 4px;
  height: 110px;
  background: #7e4b29;
}

.comfort-lamp::before {
  content: "";
  position: absolute;
  left: -24px;
  top: -12px;
  width: 52px;
  height: 32px;
  background: #eba84c;
  clip-path: polygon(20% 0, 80% 0, 100% 100%, 0 100%);
}

.comfort-stage__flow {
  position: absolute;
  z-index: 4;
  left: calc(50% + 42px);
  top: 43%;
  display: grid;
  gap: 28px;
}

.comfort-stage__flow i {
  width: 82px;
  height: 5px;
  opacity: .75;
  background: linear-gradient(90deg, var(--red), transparent);
  border-radius: 999px;
  animation: heatFlow 1.9s ease-in-out infinite;
  transform-origin: left center;
}

.comfort-stage__flow i:nth-child(2) { width: 66px; animation-delay: -.65s; }
.comfort-stage__flow i:nth-child(3) { width: 50px; animation-delay: -1.2s; }

.comfort-stage__card {
  position: absolute;
  z-index: 8;
  left: 24px;
  right: 24px;
  bottom: 20px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 4px 18px;
  padding: 15px 18px;
  background: rgba(255,255,255,.9);
  border: 1px solid rgba(255,255,255,.8);
  border-radius: 17px;
  box-shadow: 0 14px 35px rgba(33, 43, 56, .13);
  backdrop-filter: blur(16px);
}

.comfort-stage__card small {
  color: var(--red);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.comfort-stage__card strong {
  grid-row: span 2;
  color: var(--red);
  font-size: 34px;
  line-height: 1;
}

.comfort-stage__card strong em {
  color: #8d94a0;
  font-size: 11px;
}

.comfort-stage__card p {
  margin: 0;
  color: #606875;
  font-size: 11px;
}

.comfort-simulator__stage[data-comfort-stage="summer"] {
  background: linear-gradient(90deg, #ffd49c 0 42%, #edf1f4 42% 53%, #fff1d3 53% 100%);
}

.comfort-simulator__stage[data-comfort-stage="summer"]::before {
  background: radial-gradient(circle at 15% 20%, rgba(255,255,255,.58) 0 5%, rgba(255,166,56,.2) 6% 18%, transparent 19%);
}

.comfort-simulator__stage[data-comfort-stage="summer"] .comfort-stage__outside i {
  display: none;
}

.comfort-simulator__stage[data-comfort-stage="summer"] .comfort-stage__outside b {
  width: 110px;
  height: 5px;
  left: 18%;
  top: 38%;
  background: linear-gradient(90deg, #ffb04b, transparent);
  border: 0;
  border-radius: 999px;
  animation: sunRay 2.3s ease-in-out infinite;
}

.comfort-simulator__stage[data-comfort-stage="summer"] .comfort-stage__flow i {
  background: linear-gradient(90deg, #ffad45, transparent);
}

.comfort-simulator__stage[data-comfort-stage="noise"] {
  background: linear-gradient(90deg, #c8d1dc 0 42%, #eef1f4 42% 53%, #e9edf2 53% 100%);
}

.comfort-simulator__stage[data-comfort-stage="noise"] .comfort-stage__outside i {
  display: none;
}

.comfort-simulator__stage[data-comfort-stage="noise"] .comfort-stage__flow i {
  height: 3px;
  background: linear-gradient(90deg, #6b7685, transparent);
}

.premium-payback-tool {
  display: grid;
  grid-template-columns: minmax(220px, .9fr) minmax(280px, 1.2fr) auto;
  align-items: center;
  gap: 26px;
  margin: 22px 0 0;
  padding: 17px 18px;
  color: var(--ink);
  background: rgba(255,255,255,.93);
  border: 1px solid rgba(255,255,255,.68);
  border-radius: 19px;
  box-shadow: 0 16px 38px rgba(15, 19, 27, .12);
}

.premium-payback-tool > div:first-child {
  display: flex;
  align-items: center;
  gap: 11px;
}

.premium-payback-tool__icon {
  width: 42px;
  height: 42px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  color: #fff;
  background: #1b1f27;
  border-radius: 13px;
}

.premium-payback-tool p {
  display: grid;
  gap: 2px;
  margin: 0;
}

.premium-payback-tool p b {
  font-size: 12px;
}

.premium-payback-tool p small,
.premium-payback-tool > div:last-child small {
  color: #747c89;
  font-size: 10px;
}

.premium-payback-tool label {
  display: grid;
  gap: 9px;
}

.premium-payback-tool label > span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 11px;
}

.premium-payback-tool output {
  color: var(--red);
  font-weight: 850;
}

.premium-payback-tool input[type="range"] {
  height: 5px;
  background: linear-gradient(90deg, rgba(237,28,36,.2), var(--red));
}

.premium-payback-tool > div:last-child {
  display: grid;
  min-width: 150px;
  gap: 2px;
  padding-left: 18px;
  border-left: 1px solid #e2e6eb;
}

.premium-payback-tool > div:last-child strong {
  color: var(--red);
  font-size: 20px;
}

.option-card {
  transition: transform .25s var(--ease), box-shadow .25s ease, border-color .25s ease;
}

.option-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 55px rgba(21, 27, 37, .12);
}

.option-card.is-selected {
  border-color: var(--red) !important;
  box-shadow: 0 20px 55px rgba(237, 28, 36, .16);
}

.option-card__select {
  width: 100%;
  min-height: 43px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: 14px;
  padding: 9px 12px;
  color: var(--ink);
  background: #f0f3f6;
  border: 1px solid #dde2e8;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 790;
  transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease;
}

.option-card__select:hover {
  color: var(--red);
  border-color: rgba(237,28,36,.28);
}

.option-card.is-selected .option-card__select {
  color: #fff;
  background: var(--red);
  border-color: var(--red);
  box-shadow: 0 9px 24px rgba(237,28,36,.22);
}

.option-card__select .icon {
  width: 17px;
  height: 17px;
}

.result-dock {
  position: fixed;
  z-index: 95;
  left: 50%;
  bottom: 14px;
  width: min(calc(100% - 32px), 1040px);
  min-height: 70px;
  display: grid;
  grid-template-columns: auto minmax(170px, 1fr) minmax(170px, .8fr) auto auto;
  align-items: center;
  gap: 18px;
  padding: 10px 12px 10px 17px;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(205,211,219,.88);
  border-radius: 22px;
  box-shadow: 0 24px 70px rgba(17, 21, 29, .24);
  backdrop-filter: blur(22px);
  transform: translateX(-50%);
  animation: dockIn .48s var(--ease) both;
}

.result-dock__brand {
  display: flex;
  align-items: center;
  gap: 7px;
  padding-right: 16px;
  border-right: 1px solid #e0e4e9;
}

.result-dock__brand img {
  width: 96px;
  height: auto;
}

.result-dock__brand span {
  color: var(--red);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .11em;
}

.result-dock__choice,
.result-dock__saving {
  display: grid;
  min-width: 0;
  gap: 1px;
}

.result-dock small {
  color: #8a929e;
  font-size: 9px;
  font-weight: 720;
  text-transform: uppercase;
  letter-spacing: .035em;
}

.result-dock__choice b,
.result-dock__saving b {
  overflow: hidden;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.result-dock__saving b {
  color: var(--green-dark);
}

.result-dock__saving em {
  color: #7a828f;
  font-size: 9px;
}

.result-dock .button {
  min-height: 46px;
  padding: 10px 17px;
  font-size: 12px;
  white-space: nowrap;
}

.result-dock__close {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: #8b929d;
  background: transparent;
  border: 0;
  border-radius: 50%;
}

.result-dock__close:hover {
  color: var(--ink);
  background: #edf0f3;
}

.passport-card__brand > img {
  width: 130px;
  height: auto;
}

.passport-card__brand > span {
  width: 1px;
  height: 30px;
  background: #d8dde3;
}

@keyframes savePulse {
  from { transform: scale(.92); opacity: .55; }
  to { transform: scale(1.05); opacity: 1; }
}

@keyframes labOrbit {
  to { transform: rotate(360deg); }
}

@keyframes dockIn {
  from { opacity: 0; transform: translate(-50%, 18px) scale(.98); }
  to { opacity: 1; transform: translate(-50%, 0) scale(1); }
}

@keyframes snowFall {
  from { transform: translateY(0) translateX(0); opacity: 0; }
  12% { opacity: 1; }
  to { transform: translateY(300px) translateX(34px); opacity: .2; }
}

@keyframes soundTravel {
  from { transform: scale(.2); opacity: .65; }
  to { transform: scale(2); opacity: 0; }
}

@keyframes heatFlow {
  0%, 100% { transform: translateX(0) scaleX(.75); opacity: .35; }
  50% { transform: translateX(16px) scaleX(1.05); opacity: .9; }
}

@keyframes sunRay {
  0%, 100% { transform: translateX(0) scaleX(.75); opacity: .3; }
  50% { transform: translateX(32px) scaleX(1.2); opacity: .9; }
}

@media (max-width: 1180px) {
  .brand__logo { width: 128px; }
  .brand__product small { display: none; }
  .desktop-nav { gap: 18px; }
  .header-save-status { display: none !important; }
  .advisor-step-rail { grid-template-columns: repeat(10, minmax(58px, 1fr)); }
  .advisor-step-rail button { justify-content: center; padding-inline: 4px; }
  .advisor-step-rail button b { display: none; }
  .premium-payback-tool { grid-template-columns: minmax(210px, .8fr) minmax(240px, 1fr) auto; gap: 18px; }
  .result-dock { grid-template-columns: auto minmax(150px, 1fr) minmax(150px, .7fr) auto auto; }
  .result-dock__brand { display: none; }
}

@media (max-width: 900px) {
  body.has-result-dock { padding-bottom: 118px; }
  .advisor-mode-bar { align-items: stretch; }
  .advisor-mode-copy { max-width: 54%; }
  .advisor-mode-switch { flex: 1 0 290px; }
  .advisor-step-rail { display: flex; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
  .advisor-step-rail::-webkit-scrollbar { display: none; }
  .advisor-step-rail button { min-width: 54px; }
  .decision-summary { grid-template-columns: 1fr auto; }
  .decision-summary > div:first-child { grid-column: 1 / -1; }
  .decision-summary > div:nth-child(2) { padding-left: 0; border-left: 0; }
  .comfort-simulator__stage { min-height: 310px; grid-template-columns: 1fr 125px 1fr; }
  .comfort-stage__window { width: 112px; height: 225px; }
  .premium-payback-tool { grid-template-columns: 1fr; }
  .premium-payback-tool > div:last-child { padding: 0; border-left: 0; }
  .result-dock { min-height: 92px; grid-template-columns: minmax(0, 1fr) auto auto; gap: 10px; }
  .result-dock__saving { display: none; }
  .result-dock__choice { padding-left: 4px; }
}

@media (max-width: 720px) {
  :root { --header-height: 68px; }
  body.has-result-dock { padding-bottom: 126px; }
  .container { width: min(calc(100% - 28px), var(--container)); }
  .site-header__inner { gap: 8px; }
  .brand__logo { width: 108px; }
  .brand__divider { height: 24px; }
  .brand__product strong { font-size: 10px; letter-spacing: .1em; }
  .header-actions { gap: 6px; }
  .language-switch { height: 36px; }
  .button--header { display: none; }
  .hero { min-height: auto; }
  .hero__content { padding-right: 0; }
  .hero-quick-start { align-items: flex-start; flex-direction: column; gap: 9px; }
  .hero-quick-start > div { width: 100%; }
  .hero-quick-start button { flex: 1 1 30%; justify-content: center; padding-inline: 9px; }
  .hero-compare-control { grid-template-columns: 1fr 1fr; padding-inline: 14px; }
  .hero-compare-control label { grid-column: 1 / -1; grid-row: 2; }
  .hero-compare-control span:last-child { text-align: right; }
  .advisor-heading { display: grid; gap: 12px; }
  .advisor-heading p { max-width: none; padding-bottom: 0; }
  .advisor-mode-bar { display: grid; gap: 14px; }
  .advisor-mode-copy { max-width: none; }
  .advisor-mode-switch { width: 100%; grid-template-columns: 1fr 1fr; }
  .resume-card { grid-template-columns: auto 1fr; }
  .resume-card > div:last-child { grid-column: 1 / -1; width: 100%; }
  .resume-card > div:last-child .button { flex: 1; }
  .advisor-progress { padding: 17px 16px 12px; }
  .advisor-progress__meta { grid-template-columns: auto 1fr; gap: 10px; }
  .advisor-progress__meta strong { text-align: right; }
  .advisor-progress__meta em { grid-column: 1 / -1; text-align: left; }
  .advisor-step-rail { margin-inline: -4px; }
  .advisor-main { padding-inline: 18px; padding-bottom: 0; }
  .advisor-controls {
    position: sticky;
    z-index: 18;
    bottom: 0;
    grid-template-columns: auto 1fr;
    margin: 22px -18px 0;
    padding: 12px 18px calc(12px + env(safe-area-inset-bottom));
    background: rgba(255,255,255,.94);
    border-top: 1px solid #e0e4e9;
    box-shadow: 0 -15px 35px rgba(26, 31, 40, .08);
    backdrop-filter: blur(18px);
  }
  .advisor-controls__center { grid-column: 1 / -1; grid-row: 1; margin-bottom: 6px; }
  .advisor-controls #step-back { grid-column: 1; }
  .advisor-controls #step-next,
  .advisor-controls #calculate-button { grid-column: 2; width: 100%; }
  .advisor-controls__hint { display: none; }
  .autosave-status { display: inline-flex; }
  .decision-summary { grid-template-columns: 1fr; }
  .decision-summary > div:nth-child(2) { display: flex; align-items: center; justify-content: space-between; min-width: 0; padding-top: 12px; border-top: 1px solid #e4e8ed; }
  .decision-summary .text-button { justify-content: flex-start; }
  .comfort-simulator { padding: 18px; }
  .comfort-simulator .panel-heading { display: grid; gap: 13px; }
  .scenario-tabs { width: 100%; }
  .scenario-tabs button { flex: 1; min-width: 0; }
  .comfort-simulator__stage { min-height: 390px; grid-template-columns: 1fr 94px 1fr; }
  .comfort-stage__outside,
  .comfort-stage__inside { padding: 19px 15px; }
  .comfort-stage__window { width: 88px; height: 205px; border-width: 9px; }
  .comfort-stage__flow { left: calc(50% + 27px); }
  .comfort-stage__card { left: 12px; right: 12px; bottom: 12px; grid-template-columns: 1fr auto; }
  .comfort-stage__card p { grid-column: 1 / -1; }
  .premium-payback-tool { padding: 15px; }
  .result-dock { bottom: 8px; width: calc(100% - 16px); grid-template-columns: minmax(0, 1fr) auto auto; padding: 9px 9px 9px 13px; border-radius: 18px; }
  .result-dock .button { width: 48px; min-width: 48px; padding: 0; }
  .result-dock .button span { display: none; }
  .result-dock__close { width: 30px; height: 30px; }
}

@media (max-width: 430px) {
  .brand__logo { width: 94px; }
  .brand__product { display: none; }
  .brand__divider { display: none; }
  .hero-quick-start button span { font-size: 10px; }
  .mode-icon { width: 42px; height: 42px; }
  .advisor-mode-copy small { font-size: 10px; }
  .advisor-mode-switch button { padding-inline: 8px; }
  .advisor-step-rail button { min-width: 48px; }
  .comfort-simulator__stage { grid-template-columns: 1fr 78px 1fr; }
  .comfort-stage__window { width: 74px; height: 188px; }
  .comfort-stage__outside > span,
  .comfort-stage__inside > span { font-size: 22px; }
  .comfort-stage__card strong { font-size: 29px; }
  .result-dock__choice b { font-size: 12px; }
}

@media print {
  .advisor-mode-bar,
  .resume-card,
  .decision-summary .text-button,
  .result-dock,
  .hero-quick-start,
  .hero-compare-control,
  .option-card__select,
  .premium-payback-tool {
    display: none !important;
  }

  body.has-result-dock {
    padding-bottom: 0;
  }

  .comfort-simulator {
    break-inside: avoid;
  }
}

/* ========================================================================== 
   AKFA Energy 0.3.0 — interaction completion and responsive production pass
   ========================================================================== */

.header-icon-button,
.mobile-menu-toggle {
  position: relative;
  width: 40px;
  height: 40px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  color: #4f5763;
  background: rgba(255, 255, 255, .78);
  border: 1px solid #dfe3e8;
  border-radius: 12px;
  transition: color .2s ease, border-color .2s ease, background .2s ease, transform .2s ease;
}

.header-icon-button:hover,
.mobile-menu-toggle:hover {
  color: var(--red);
  background: #fff;
  border-color: rgba(237, 28, 36, .3);
  transform: translateY(-1px);
}

.header-icon-button .icon,
.mobile-menu-toggle .icon {
  width: 19px;
  height: 19px;
}

.header-icon-button [data-history-count] {
  position: absolute;
  top: -5px;
  right: -5px;
  min-width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  padding-inline: 4px;
  color: #fff;
  background: var(--red);
  border: 2px solid #f7f8fa;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 900;
  line-height: 1;
}

.mobile-menu-toggle {
  display: none;
}

.header-advisor-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  overflow: hidden;
  pointer-events: none;
}

.header-advisor-progress i {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--red), #ff5a62);
  box-shadow: 0 0 14px rgba(237, 28, 36, .45);
  transition: width .35s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(248, 249, 251, .96);
  border-bottom-color: rgba(195, 201, 210, .9);
  box-shadow: 0 12px 36px rgba(26, 31, 40, .08);
}

.mobile-menu {
  position: fixed;
  z-index: 130;
  inset: 0;
}

.mobile-menu__backdrop {
  position: absolute;
  inset: 0;
  padding: 0;
  background: rgba(15, 18, 23, .48);
  border: 0;
  backdrop-filter: blur(5px);
  animation: mobileBackdropIn .24s ease both;
}

.mobile-menu__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(88vw, 390px);
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: max(20px, env(safe-area-inset-top)) 20px max(22px, env(safe-area-inset-bottom));
  background:
    radial-gradient(circle at 100% 0%, rgba(237, 28, 36, .09), transparent 210px),
    #f9fafb;
  box-shadow: -28px 0 80px rgba(10, 14, 21, .25);
  animation: mobilePanelIn .32s var(--ease) both;
}

.mobile-menu__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid #e1e5ea;
}

.mobile-menu__head .brand__logo {
  width: 116px;
}

.mobile-menu__head > button {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: #525b68;
  background: #fff;
  border: 1px solid #dde2e8;
  border-radius: 12px;
}

.mobile-menu__panel nav {
  display: grid;
  gap: 8px;
}

.mobile-menu__panel nav a {
  min-height: 62px;
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
  color: var(--ink);
  background: rgba(255, 255, 255, .65);
  border: 1px solid transparent;
  border-radius: 16px;
  text-decoration: none;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.mobile-menu__panel nav a:hover {
  background: #fff;
  border-color: #dde2e8;
  transform: translateX(-3px);
}

.mobile-menu__panel nav a span {
  color: var(--red);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .09em;
}

.mobile-menu__panel nav a b {
  font-size: 15px;
  font-weight: 780;
}

.mobile-history-link {
  min-height: 52px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  color: #444c58;
  background: #eef1f4;
  border: 1px solid #dce1e7;
  border-radius: 15px;
  text-align: left;
}

.mobile-history-link .icon {
  width: 18px;
  height: 18px;
  color: var(--red);
}

.mobile-history-link b {
  min-width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--graphite);
  border-radius: 999px;
  font-size: 10px;
}

.mobile-menu__panel > .button {
  margin-top: auto;
}

body.mobile-menu-open {
  overflow: hidden;
}

/* Precise window groups */
.measurement-advanced {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.measurement-groups-card {
  min-height: 78px;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 13px 16px;
  color: var(--ink);
  background: linear-gradient(120deg, #f7f8fa, #fff);
  border: 1px solid #dce1e7;
  border-radius: 17px;
  text-align: left;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.measurement-groups-card:hover {
  transform: translateY(-2px);
  border-color: rgba(237, 28, 36, .34);
  box-shadow: 0 14px 34px rgba(30, 36, 46, .09);
}

.measurement-groups-card__icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: var(--red);
  background: rgba(237, 28, 36, .09);
  border-radius: 13px;
}

.measurement-groups-card__icon .icon {
  width: 21px;
  height: 21px;
}

.measurement-groups-card > span:nth-child(2) {
  display: grid;
  gap: 3px;
}

.measurement-groups-card > span:nth-child(2) b {
  font-size: 13px;
  font-weight: 800;
}

.measurement-groups-card > span:nth-child(2) small {
  color: #7a828e;
  font-size: 11px;
  line-height: 1.45;
}

.measurement-groups-card > em {
  min-width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--red);
  border-radius: 999px;
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
}

.measurement-groups-card__arrow {
  width: 17px;
  height: 17px;
  color: #8c939d;
}

.window-groups-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding-inline: 2px;
}

.window-groups-summary span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 30px;
  padding: 5px 9px;
  color: #4c5663;
  background: #fff;
  border: 1px solid #e0e4e9;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
}

.window-groups-editor {
  display: grid;
  gap: 18px;
}

.window-groups-editor__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.window-groups-editor__head > div {
  display: grid;
  gap: 3px;
}

.window-groups-editor__head b {
  font-size: 15px;
}

.window-groups-editor__head small {
  color: #858d98;
  font-size: 11px;
}

.window-groups-list {
  display: grid;
  gap: 10px;
}

.window-group-row {
  position: relative;
  display: grid;
  grid-template-columns: minmax(128px, 1.15fr) minmax(80px, .55fr) minmax(90px, .65fr) minmax(90px, .65fr) auto;
  align-items: end;
  gap: 10px;
  padding: 14px;
  background: #f7f8fa;
  border: 1px solid #e0e4e9;
  border-radius: 16px;
}

.window-group-row label {
  display: grid;
  gap: 6px;
}

.window-group-row label > span {
  color: #69727f;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .045em;
}

.window-group-row input {
  width: 100%;
  height: 44px;
  padding: 0 11px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #d5dae1;
  border-radius: 11px;
  outline: 0;
  font-size: 13px;
  font-weight: 720;
}

.window-group-row input:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(237, 28, 36, .09);
}

.window-group-row__remove {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #9299a3;
  background: #fff;
  border: 1px solid #dce1e7;
  border-radius: 11px;
}

.window-group-row__remove:hover {
  color: var(--red);
  border-color: rgba(237, 28, 36, .35);
}

.window-groups-total {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.window-groups-total > span {
  min-height: 72px;
  display: grid;
  align-content: center;
  gap: 3px;
  padding: 13px 16px;
  background: #252a31;
  border-radius: 15px;
}

.window-groups-total small {
  color: rgba(255, 255, 255, .57);
  font-size: 9px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.window-groups-total b {
  color: #fff;
  font-size: 20px;
}

/* Local calculation history */
.calculation-history {
  min-height: 290px;
}

.history-empty {
  min-height: 270px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  color: #69717d;
  text-align: center;
}

.history-empty > span {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  color: var(--red);
  background: rgba(237, 28, 36, .08);
  border-radius: 20px;
}

.history-empty .icon {
  width: 26px;
  height: 26px;
}

.history-empty h3 {
  margin: 8px 0 0;
  color: var(--ink);
  font-size: 20px;
}

.history-empty p {
  max-width: 430px;
  margin: 0;
  font-size: 12px;
  line-height: 1.6;
}

.history-list {
  display: grid;
  gap: 10px;
}

.history-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1.25fr) minmax(130px, .65fr) minmax(130px, .65fr) auto;
  align-items: center;
  gap: 14px;
  padding: 13px 14px;
  background: #f7f8fa;
  border: 1px solid #e0e4e9;
  border-radius: 17px;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.history-card:hover {
  background: #fff;
  border-color: #cfd5dd;
  transform: translateY(-1px);
}

.history-card__score {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  color: #fff;
  background: conic-gradient(var(--green) calc(var(--history-score, 0) * 1%), #4b525d 0);
  border: 5px solid #2c3138;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 900;
  box-shadow: inset 0 0 0 3px #fff;
}

.history-card__main {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.history-card__main small,
.history-card__metric small {
  color: #8a929d;
  font-size: 9px;
  font-weight: 760;
  text-transform: uppercase;
  letter-spacing: .045em;
}

.history-card__main b {
  overflow: hidden;
  font-size: 14px;
  font-weight: 840;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.history-card__main span {
  color: #6e7783;
  font-size: 10px;
}

.history-card__metric {
  display: grid;
  gap: 3px;
}

.history-card__metric b {
  color: #333a44;
  font-size: 12px;
}

.history-card__actions {
  display: flex;
  align-items: center;
  gap: 7px;
}

.history-card__actions button {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: #555e6a;
  background: #fff;
  border: 1px solid #d8dde3;
  border-radius: 11px;
}

.history-card__actions button:first-child {
  width: auto;
  padding-inline: 13px;
  color: #fff;
  background: var(--graphite);
  border-color: var(--graphite);
  font-size: 10px;
  font-weight: 800;
}

.history-card__actions button:hover {
  color: var(--red);
  border-color: rgba(237, 28, 36, .35);
}

.history-card__actions button:first-child:hover {
  color: #fff;
  background: var(--red);
}

/* System Studio */
.system-studio {
  position: relative;
  overflow: hidden;
  margin-top: 24px;
  padding: 26px;
  background:
    radial-gradient(circle at 12% 20%, rgba(237, 28, 36, .08), transparent 260px),
    linear-gradient(145deg, #20252c 0%, #292f37 58%, #20242a 100%);
  border: 1px solid #333a44;
  border-radius: 26px;
  box-shadow: 0 26px 70px rgba(20, 24, 31, .2);
}

.system-studio::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .22;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(to bottom, #000, transparent 88%);
}

.system-studio > * {
  position: relative;
  z-index: 1;
}

.system-studio__heading {
  align-items: end;
  margin-bottom: 20px;
}

.system-studio .section-kicker {
  color: #ff6b72;
}

.system-studio h3,
.system-studio__heading p {
  color: #fff;
}

.system-studio__heading p {
  max-width: 660px;
  margin-top: 6px;
  color: rgba(255, 255, 255, .58);
  font-size: 12px;
  line-height: 1.6;
}

.system-studio__selector {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 7px;
}

.system-studio__selector button {
  min-height: 38px;
  padding: 8px 12px;
  color: rgba(255, 255, 255, .63);
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .11);
  border-radius: 11px;
  font-size: 10px;
  font-weight: 800;
  transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease;
}

.system-studio__selector button:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, .26);
  transform: translateY(-1px);
}

.system-studio__selector button.is-active {
  color: #fff;
  background: var(--red);
  border-color: var(--red);
  box-shadow: 0 9px 24px rgba(237, 28, 36, .27);
}

.system-studio__body {
  display: grid;
  grid-template-columns: minmax(330px, .9fr) minmax(380px, 1.1fr);
  gap: 24px;
}

.profile-visual {
  position: relative;
  min-height: 390px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 50%, rgba(237, 28, 36, .15), transparent 190px),
    rgba(7, 10, 14, .36);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 22px;
}

.profile-visual::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px dashed rgba(255, 255, 255, .09);
  border-radius: 17px;
}

.profile-visual__ambient {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.profile-visual__ambient i {
  position: absolute;
  width: 170px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(237,28,36,.45), transparent);
  transform: rotate(-35deg);
  animation: studioScan 4.8s linear infinite;
}

.profile-visual__ambient i:nth-child(1) { top: 26%; left: -50px; }
.profile-visual__ambient i:nth-child(2) { top: 52%; left: 30%; animation-delay: -1.6s; }
.profile-visual__ambient i:nth-child(3) { top: 76%; right: -40px; animation-delay: -3.2s; }

.profile-cutaway {
  --studio-scale: 1;
  position: relative;
  width: clamp(208px, 54%, 276px);
  height: clamp(230px, 68%, 302px);
  transform: scale(var(--studio-scale));
  transition: transform .48s var(--ease), filter .48s ease;
  filter: drop-shadow(0 28px 28px rgba(0,0,0,.3));
}

.profile-cutaway__frame {
  position: absolute;
  inset: 12% 7% 8%;
  overflow: hidden;
  background: linear-gradient(145deg, #f9fafb, #cfd5db 56%, #fafafa);
  border: 8px solid #f4f5f6;
  border-radius: 24px 10px 25px 9px;
  box-shadow: inset 0 0 0 2px #aeb6bf, inset 0 0 30px rgba(52,61,70,.18);
  transform: skewY(-3deg);
}

.profile-cutaway__frame::before,
.profile-cutaway__frame::after {
  content: "";
  position: absolute;
  background: #30353c;
  border: 2px solid #8a949f;
  box-shadow: inset 0 0 0 4px #e9ecef;
}

.profile-cutaway__frame::before {
  left: 28%;
  right: 14%;
  top: 24%;
  height: 23%;
  border-radius: 9px;
}

.profile-cutaway__frame::after {
  left: 18%;
  right: 28%;
  bottom: 17%;
  height: 20%;
  border-radius: 7px;
}

.profile-cutaway__frame span {
  position: absolute;
  z-index: 2;
  display: block;
  background: #e4e8ec;
  border: 2px solid #8f99a3;
  border-radius: 8px;
}

.profile-cutaway__frame span:nth-child(1) { top: 8%; left: 8%; width: 17%; height: 28%; }
.profile-cutaway__frame span:nth-child(2) { top: 9%; right: 7%; width: 22%; height: 31%; }
.profile-cutaway__frame span:nth-child(3) { top: 45%; left: 7%; width: 18%; height: 22%; }
.profile-cutaway__frame span:nth-child(4) { top: 50%; right: 8%; width: 21%; height: 19%; }
.profile-cutaway__frame span:nth-child(5) { bottom: 7%; left: 7%; width: 28%; height: 16%; }
.profile-cutaway__frame span:nth-child(6) { bottom: 7%; right: 7%; width: 22%; height: 18%; }

.profile-cutaway__glass {
  position: absolute;
  z-index: 3;
  top: 0;
  right: 0;
  width: 34%;
  height: 72%;
  display: flex;
  justify-content: space-evenly;
  padding: 5px;
  background: rgba(133, 209, 231, .12);
  border: 2px solid rgba(189, 229, 240, .82);
  border-radius: 4px;
  box-shadow: inset 0 0 24px rgba(124,203,228,.18), 0 0 0 5px rgba(38,45,52,.8);
}

.profile-cutaway__glass i {
  width: 2px;
  height: 100%;
  background: rgba(220, 247, 255, .9);
  box-shadow: 0 0 8px rgba(128,220,245,.5);
}

.profile-cutaway__glass em {
  position: absolute;
  left: 18%;
  right: 18%;
  top: 50%;
  height: 1px;
  background: rgba(255,255,255,.55);
}

.profile-cutaway__seal i {
  position: absolute;
  z-index: 5;
  display: block;
  background: #262a2f;
  border-radius: 999px;
}

.profile-cutaway__seal i:first-child { top: 11%; right: 30%; width: 52px; height: 6px; transform: rotate(80deg); }
.profile-cutaway__seal i:last-child { top: 67%; right: 8%; width: 60px; height: 6px; transform: rotate(-12deg); }

.profile-cutaway__reinforcement {
  position: absolute;
  z-index: 4;
  left: 27%;
  bottom: 15%;
  width: 42%;
  height: 23%;
  border: 6px solid #707a84;
  border-top-width: 4px;
  background: #b8c0c7;
  clip-path: polygon(0 0, 100% 0, 82% 100%, 12% 100%);
}

.profile-cutaway__dimension {
  position: absolute;
  z-index: 6;
  left: 8%;
  right: 8%;
  bottom: -10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile-cutaway__dimension::before,
.profile-cutaway__dimension::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #ff6f76;
}

.profile-cutaway__dimension span::before,
.profile-cutaway__dimension span::after {
  content: "";
  position: absolute;
  bottom: -4px;
  width: 1px;
  height: 10px;
  background: #ff6f76;
}

.profile-cutaway__dimension span::before { left: 8%; }
.profile-cutaway__dimension span::after { right: 8%; }

.profile-cutaway__dimension b {
  margin-inline: 8px;
  color: #fff;
  font-size: 11px;
  white-space: nowrap;
}

.profile-visual__label {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  background: rgba(10, 13, 18, .7);
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 12px;
  backdrop-filter: blur(12px);
}

.profile-visual__label small {
  color: rgba(255, 255, 255, .42);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.profile-visual__label b {
  color: #fff;
  font-size: 12px;
}

.system-studio__facts {
  display: grid;
  align-content: center;
  gap: 14px;
}

.studio-score {
  display: grid;
  gap: 10px;
  padding: 17px 18px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 17px;
}

.studio-score > span {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.studio-score small {
  color: rgba(255, 255, 255, .5);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .065em;
}

.studio-score b {
  color: rgba(255, 255, 255, .52);
  font-size: 11px;
}

.studio-score strong {
  color: #fff;
  font-size: 28px;
}

.studio-score > i {
  height: 7px;
  overflow: hidden;
  background: rgba(255,255,255,.08);
  border-radius: 999px;
}

.studio-score > i em {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, #ec1c24, #ff747a);
  border-radius: inherit;
  box-shadow: 0 0 18px rgba(237,28,36,.45);
  transition: width .5s var(--ease);
}

.studio-fact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.studio-fact-grid article {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 13px;
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(255,255,255,.085);
  border-radius: 15px;
}

.studio-fact-grid article > span {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: #ff7178;
  background: rgba(237,28,36,.12);
  border-radius: 11px;
}

.studio-fact-grid .icon {
  width: 17px;
  height: 17px;
}

.studio-fact-grid article > div {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.studio-fact-grid small {
  color: rgba(255,255,255,.43);
  font-size: 9px;
}

.studio-fact-grid b {
  overflow: hidden;
  color: #fff;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.studio-explanation {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  padding: 15px;
  background: linear-gradient(120deg, rgba(237,28,36,.12), rgba(255,255,255,.04));
  border: 1px solid rgba(237,28,36,.24);
  border-radius: 16px;
}

.studio-explanation > span {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--red);
  border-radius: 11px;
}

.studio-explanation p {
  display: grid;
  gap: 4px;
  margin: 0;
}

.studio-explanation b {
  color: #fff;
  font-size: 12px;
}

.studio-explanation em {
  color: rgba(255,255,255,.56);
  font-size: 10px;
  font-style: normal;
  line-height: 1.5;
}

.studio-disclaimer {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: rgba(255,255,255,.38);
}

.studio-disclaimer .icon {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  margin-top: 1px;
}

.studio-disclaimer p {
  margin: 0;
  font-size: 9px;
  line-height: 1.55;
}

/* Official-logo sizing in contextual surfaces */
.brand--footer .brand__logo {
  width: 138px;
}

.passport-card__brand > img {
  width: 132px;
  max-height: 32px;
  object-fit: contain;
}

.result-dock__brand img {
  width: 94px;
  max-height: 24px;
  object-fit: contain;
}

@keyframes mobileBackdropIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes mobilePanelIn {
  from { opacity: .75; transform: translateX(38px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes studioScan {
  from { transform: translate(-80px, -40px) rotate(-35deg); opacity: 0; }
  30% { opacity: 1; }
  to { transform: translate(240px, 160px) rotate(-35deg); opacity: 0; }
}

@media (max-width: 1100px) {
  .system-studio__body {
    grid-template-columns: minmax(300px, .85fr) minmax(340px, 1.15fr);
  }

  .history-card {
    grid-template-columns: auto minmax(0, 1fr) minmax(120px, .6fr) auto;
  }

  .history-card__metric:nth-of-type(2) {
    display: none;
  }
}

@media (max-width: 900px) {
  .desktop-nav,
  .button--header {
    display: none;
  }

  .mobile-menu-toggle {
    display: inline-grid;
  }

  .site-header__inner > .brand {
    margin-right: auto;
  }

  .system-studio__heading {
    display: grid;
    gap: 14px;
  }

  .system-studio__selector {
    justify-content: flex-start;
  }

  .system-studio__body {
    grid-template-columns: 1fr;
  }

  .profile-visual {
    min-height: 360px;
  }

  .window-group-row {
    grid-template-columns: minmax(130px, 1fr) repeat(3, minmax(80px, .6fr)) auto;
  }
}

@media (max-width: 720px) {
  .header-icon-button {
    width: 36px;
    height: 36px;
  }

  .mobile-menu-toggle {
    width: 36px;
    height: 36px;
  }

  .site-header__inner > .brand .brand__product {
    display: none;
  }

  .measurement-groups-card {
    grid-template-columns: auto 1fr auto;
  }

  .measurement-groups-card > em {
    grid-column: 3;
    grid-row: 1;
  }

  .measurement-groups-card__arrow {
    display: none;
  }

  .window-group-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-right: 52px;
  }

  .window-group-row label:first-child {
    grid-column: 1 / -1;
  }

  .window-group-row__remove {
    position: absolute;
    top: 14px;
    right: 10px;
  }

  .history-card {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

  .history-card__metric {
    display: none;
  }

  .history-card__actions button:first-child {
    width: 42px;
    padding: 0;
    font-size: 0;
  }

  .history-card__actions button:first-child::before {
    content: "↗";
    font-size: 17px;
  }

  .system-studio {
    padding: 18px;
    border-radius: 22px;
  }

  .system-studio__selector {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 3px;
    scrollbar-width: none;
  }

  .system-studio__selector::-webkit-scrollbar {
    display: none;
  }

  .system-studio__selector button {
    flex: 0 0 auto;
  }

  .profile-visual {
    min-height: 330px;
  }

  .profile-cutaway {
    width: 200px;
    height: 245px;
  }

  .studio-fact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .header-icon-button {
    display: none;
  }

  .language-switch button {
    min-width: 30px;
    padding-inline: 6px;
  }

  .window-groups-editor__head {
    align-items: stretch;
    flex-direction: column;
  }

  .window-groups-editor__head .button {
    width: 100%;
  }

  .window-group-row {
    grid-template-columns: 1fr 1fr;
    gap: 9px;
  }

  .window-groups-total {
    grid-template-columns: 1fr;
  }

  .history-card {
    grid-template-columns: 46px minmax(0, 1fr) auto;
    gap: 10px;
    padding: 11px;
  }

  .history-card__score {
    width: 46px;
    height: 46px;
    font-size: 12px;
  }

  .history-card__actions button:last-child {
    display: none;
  }

  .system-studio {
    margin-inline: -2px;
    padding: 16px;
  }

  .profile-visual {
    min-height: 300px;
  }

  .profile-cutaway {
    width: 170px;
    height: 216px;
  }

  .profile-visual__label {
    left: 10px;
    right: 10px;
    bottom: 9px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mobile-menu__backdrop,
  .mobile-menu__panel,
  .profile-visual__ambient i {
    animation: none !important;
  }
}

@media print {
  .header-icon-button,
  .mobile-menu-toggle,
  .mobile-menu,
  .measurement-advanced,
  .system-studio__selector {
    display: none !important;
  }

  .system-studio {
    color: #111;
    background: #fff;
    border-color: #bbb;
    box-shadow: none;
  }

  .system-studio h3,
  .system-studio__heading p,
  .system-studio .studio-fact-grid b,
  .system-studio .studio-score strong,
  .system-studio .studio-explanation b {
    color: #111;
  }
}

/* ========================================================================== 
   AKFA Energy 0.4 — full series experience and animated visual system
   ========================================================================== */

:root {
  --v4-graphite: #151a22;
  --v4-graphite-2: #202731;
  --v4-warm: #ff9d3c;
  --v4-cold: #55b9ff;
  --v4-electric: #2b83ff;
  --v4-lime: #31b86e;
}

/* Full AKFA Plast series catalogue */
.series-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 112px 0;
  background:
    radial-gradient(circle at 9% 13%, rgba(227, 31, 43, .13), transparent 25rem),
    radial-gradient(circle at 91% 83%, rgba(42, 127, 244, .12), transparent 27rem),
    linear-gradient(180deg, #f5f7fa 0%, #edf1f5 100%);
}

.series-section::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0;
  opacity: .5;
  background-image:
    linear-gradient(rgba(20, 26, 34, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 26, 34, .035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, transparent, #000 15%, #000 82%, transparent);
}

.series-orbit {
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
}

.series-orbit i {
  position: absolute;
  border: 1px solid rgba(227, 31, 43, .11);
  border-radius: 50%;
  animation: series-orbit-spin 26s linear infinite;
}

.series-orbit i:nth-child(1) {
  width: 580px;
  height: 580px;
  top: -300px;
  right: -120px;
}

.series-orbit i:nth-child(2) {
  width: 410px;
  height: 410px;
  bottom: -250px;
  left: -110px;
  border-color: rgba(42, 127, 244, .12);
  animation-direction: reverse;
  animation-duration: 31s;
}

.series-orbit i:nth-child(3) {
  width: 9px;
  height: 9px;
  top: 18%;
  left: 6%;
  background: var(--red);
  border: 0;
  box-shadow: 0 0 0 13px rgba(227, 31, 43, .07), 0 0 50px rgba(227, 31, 43, .35);
  animation: series-pulse 3.4s ease-in-out infinite;
}

.series-heading {
  align-items: end;
  margin-bottom: 34px;
}

.series-heading > div:first-child {
  max-width: 820px;
}

.series-heading__stat {
  min-width: 220px;
  display: grid;
  padding: 20px 22px;
  background: rgba(255, 255, 255, .76);
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 22px;
  box-shadow: 0 20px 60px rgba(24, 32, 45, .08);
  backdrop-filter: blur(18px);
}

.series-heading__stat strong {
  color: var(--red);
  font-size: 42px;
  line-height: .95;
  letter-spacing: -.06em;
}

.series-heading__stat span {
  margin-top: 8px;
  font-size: 12px;
  font-weight: 820;
}

.series-heading__stat small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
}

.series-dashboard {
  display: grid;
  grid-template-columns: minmax(360px, 420px) minmax(0, 1fr);
  min-height: 830px;
  overflow: hidden;
  background: rgba(255, 255, 255, .88);
  border: 1px solid rgba(255, 255, 255, .96);
  border-radius: 34px;
  box-shadow: 0 38px 110px rgba(18, 25, 36, .14);
  backdrop-filter: blur(22px);
}

.series-dashboard__feature {
  --series-rank: 7;
  --series-model-score: 80%;
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 28px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 92% 9%, rgba(227, 31, 43, .42), transparent 33%),
    radial-gradient(circle at 4% 91%, rgba(45, 139, 255, .25), transparent 36%),
    linear-gradient(145deg, #10141b 0%, #171e27 56%, #242d38 100%);
}

.series-dashboard__feature::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: .26;
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: linear-gradient(to bottom, #000, transparent 75%);
}

.series-feature__ambient {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.series-feature__ambient i {
  position: absolute;
  border-radius: 50%;
  filter: blur(1px);
  animation: series-float 8s ease-in-out infinite;
}

.series-feature__ambient i:nth-child(1) {
  width: 210px;
  height: 210px;
  top: 15%;
  right: -100px;
  background: rgba(227, 31, 43, .17);
}

.series-feature__ambient i:nth-child(2) {
  width: 140px;
  height: 140px;
  top: 42%;
  left: -76px;
  background: rgba(54, 155, 255, .16);
  animation-delay: -2.4s;
}

.series-feature__ambient i:nth-child(3) {
  width: 10px;
  height: 10px;
  top: 19%;
  left: 25%;
  background: #fff;
  box-shadow: 0 0 22px #fff;
  animation-delay: -4.5s;
}

.series-feature__top,
.series-feature__copy,
.series-feature__metrics,
.series-feature__button,
.series-profile-hero {
  position: relative;
  z-index: 2;
}

.series-feature__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  color: rgba(255, 255, 255, .62);
  font-size: 9px;
  font-weight: 840;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.series-feature__top b {
  color: #fff;
  font-size: 10px;
}

.series-profile-hero {
  width: min(100%, 310px);
  height: 330px;
  margin: 24px auto 8px;
  perspective: 900px;
  transform-style: preserve-3d;
}

.series-profile-hero::before,
.series-profile-hero::after {
  content: "";
  position: absolute;
  left: 50%;
  border-radius: 50%;
  transform: translateX(-50%);
}

.series-profile-hero::before {
  width: 290px;
  height: 66px;
  bottom: 17px;
  background: radial-gradient(ellipse, rgba(84, 183, 255, .25), rgba(227, 31, 43, .14) 42%, transparent 72%);
  animation: profile-platform 4.8s ease-in-out infinite;
}

.series-profile-hero::after {
  width: calc(146px + var(--series-rank) * 5px);
  height: 24px;
  bottom: 37px;
  border: 1px solid rgba(255, 255, 255, .28);
  box-shadow: 0 0 32px rgba(70, 169, 255, .22);
}

.series-profile-hero__glass {
  position: absolute;
  z-index: 5;
  top: 22px;
  right: 23px;
  width: 102px;
  height: 210px;
  transform: skewY(-5deg) rotateY(-8deg);
}

.series-profile-hero__glass i {
  position: absolute;
  inset-block: 0;
  width: 6px;
  background: linear-gradient(180deg, rgba(236, 249, 255, .95), rgba(120, 196, 247, .48));
  border: 1px solid rgba(255, 255, 255, .74);
  border-radius: 4px;
  box-shadow: 0 0 19px rgba(97, 190, 255, .25);
}

.series-profile-hero__glass i:nth-child(1) { left: 12px; }
.series-profile-hero__glass i:nth-child(2) { left: 48px; }
.series-profile-hero__glass i:nth-child(3) { left: 84px; }

.series-profile-hero__glass::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(82, 185, 255, .14), rgba(255, 255, 255, .02));
  border: 1px solid rgba(255, 255, 255, .15);
  clip-path: polygon(12% 0, 90% 0, 100% 100%, 0 100%);
}

.series-profile-hero__body {
  position: absolute;
  z-index: 4;
  left: 44px;
  bottom: 46px;
  width: calc(150px + var(--series-rank) * 4px);
  height: calc(118px + var(--series-rank) * 5px);
  overflow: hidden;
  background: linear-gradient(145deg, #fff, #e7ebef 65%, #b9c1ca);
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 11px 18px 20px 13px;
  box-shadow: 0 23px 50px rgba(0, 0, 0, .35), inset -11px -12px 22px rgba(105, 116, 129, .18);
  transform: rotateY(-7deg) rotateX(2deg);
}

.series-profile-hero__body::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 48%;
  height: 42%;
  background: #f8fafc;
  border-left: 9px solid #cdd3da;
  border-bottom: 9px solid #cdd3da;
  border-radius: 0 13px 0 12px;
}

.series-profile-hero__body span {
  position: absolute;
  z-index: 2;
  width: 31px;
  height: 29px;
  background: #222a33;
  border: 4px solid var(--red);
  border-radius: 5px;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .12);
}

.series-profile-hero__body span:nth-child(1) { left: 16px; bottom: 17px; }
.series-profile-hero__body span:nth-child(2) { left: 52px; bottom: 17px; }
.series-profile-hero__body span:nth-child(3) { left: 88px; bottom: 17px; }
.series-profile-hero__body span:nth-child(4) { left: 16px; bottom: 54px; }
.series-profile-hero__body span:nth-child(5) { left: 52px; bottom: 54px; }
.series-profile-hero__body span:nth-child(6) { left: 88px; bottom: 54px; }

.series-profile-hero__body b {
  position: absolute;
  z-index: 3;
  left: 19px;
  top: 17px;
  width: 83px;
  height: 13px;
  background: linear-gradient(90deg, #5d6670, #1c232a, #707982);
  border: 2px solid #181e24;
  border-radius: 3px;
}

.series-profile-hero__flows {
  position: absolute;
  z-index: 3;
  top: 102px;
  width: 145px;
  height: 100px;
  pointer-events: none;
}

.series-profile-hero__flows i {
  position: absolute;
  width: 126px;
  height: 2px;
  border-radius: 99px;
  opacity: .82;
}

.series-profile-hero__flows i:nth-child(1) { top: 17px; }
.series-profile-hero__flows i:nth-child(2) { top: 49px; animation-delay: -.75s; }
.series-profile-hero__flows i:nth-child(3) { top: 79px; animation-delay: -1.5s; }

.series-profile-hero__flows--warm {
  left: -28px;
}

.series-profile-hero__flows--warm i {
  background: linear-gradient(90deg, transparent, #ffb14a, #ff6a39);
  box-shadow: 0 0 12px rgba(255, 141, 53, .65);
  transform: rotate(7deg);
  animation: warm-flow 2.5s ease-in-out infinite;
}

.series-profile-hero__flows--cold {
  right: -34px;
}

.series-profile-hero__flows--cold i {
  background: linear-gradient(90deg, #55b9ff, #b6e7ff, transparent);
  box-shadow: 0 0 13px rgba(70, 172, 255, .66);
  transform: rotate(-7deg);
  animation: cold-flow 2.7s ease-in-out infinite;
}

.series-dashboard__feature[data-system-type="sliding"] .series-profile-hero__glass {
  width: 142px;
  right: 0;
}

.series-dashboard__feature[data-system-type="sliding"] .series-profile-hero__body {
  width: 225px;
  height: 112px;
  left: 34px;
  border-radius: 13px;
}

.series-dashboard__feature[data-system-type="sliding"] .series-profile-hero__body::after {
  content: "";
  position: absolute;
  inset: 12px 16px 12px auto;
  width: 38%;
  border: 5px solid #bcc4cd;
  border-radius: 5px;
}

.series-feature__copy small {
  color: #ff9199;
  font-size: 10px;
  font-weight: 820;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.series-feature__copy h3 {
  margin: 5px 0 9px;
  font-size: clamp(30px, 3.5vw, 46px);
  line-height: .96;
  letter-spacing: -.05em;
}

.series-feature__copy p {
  min-height: 72px;
  margin-bottom: 21px;
  color: rgba(255, 255, 255, .7);
  font-size: 13px;
  line-height: 1.62;
}

.series-feature__metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 21px;
}

.series-feature__metrics span {
  min-width: 0;
  padding: 12px 10px;
  background: rgba(255, 255, 255, .065);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 14px;
}

.series-feature__metrics small,
.series-feature__metrics b {
  display: block;
}

.series-feature__metrics small {
  overflow: hidden;
  color: rgba(255, 255, 255, .48);
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.series-feature__metrics b {
  margin-top: 4px;
  color: #fff;
  font-size: 12px;
  line-height: 1.2;
}

.series-feature__button {
  width: 100%;
  margin-top: auto;
  color: var(--ink);
  background: #fff;
  border-color: #fff;
  box-shadow: 0 15px 35px rgba(0, 0, 0, .18);
}

.series-feature__button:hover {
  color: var(--red);
  transform: translateY(-2px);
}

.series-dashboard__catalog {
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 28px;
  background:
    radial-gradient(circle at 96% 4%, rgba(227, 31, 43, .055), transparent 18rem),
    #fff;
}

.series-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.series-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.series-filters button {
  min-height: 37px;
  padding: 0 13px;
  color: var(--muted);
  background: #f5f6f8;
  border: 1px solid #e6e9ee;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 790;
  transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.series-filters button:hover {
  color: var(--ink);
  transform: translateY(-1px);
}

.series-filters button.is-active {
  color: #fff;
  background: var(--red);
  border-color: var(--red);
  box-shadow: 0 9px 24px rgba(227, 31, 43, .25);
}

.series-controls__hint {
  display: flex;
  align-items: center;
  gap: 7px;
  max-width: 235px;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.45;
}

.series-controls__hint .icon {
  width: 16px;
  height: 16px;
  color: var(--red);
}

.series-rail {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: start;
  gap: 12px;
}

.series-card {
  min-width: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e5e8ed;
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(19, 27, 39, .045);
  transition: transform .25s var(--ease), border-color .25s ease, box-shadow .25s ease;
  animation: series-card-enter .42s var(--ease) both;
}

.series-card:nth-child(2n) { animation-delay: .035s; }
.series-card:nth-child(3n) { animation-delay: .07s; }

.series-card:hover,
.series-card.is-selected {
  transform: translateY(-3px);
  border-color: rgba(227, 31, 43, .42);
  box-shadow: 0 18px 42px rgba(21, 28, 40, .11);
}

.series-card.is-selected {
  box-shadow: 0 0 0 2px rgba(227, 31, 43, .08), 0 20px 48px rgba(21, 28, 40, .11);
}

.series-card__select {
  width: 100%;
  display: grid;
  grid-template-columns: 66px minmax(0, 1fr) 50px;
  align-items: center;
  gap: 12px;
  padding: 13px;
  text-align: left;
  background: transparent;
  border: 0;
}

.series-card__visual {
  --series-rank: 5;
  position: relative;
  width: 64px;
  height: 74px;
  overflow: hidden;
  background:
    radial-gradient(circle at 75% 22%, rgba(66, 170, 255, .22), transparent 28%),
    linear-gradient(145deg, #f8fafc, #e8edf2);
  border: 1px solid #e2e6eb;
  border-radius: 14px;
}

.series-card__visual::before {
  content: "";
  position: absolute;
  left: 10px;
  bottom: 10px;
  width: calc(34px + var(--series-rank) * 1.3px);
  height: calc(31px + var(--series-rank) * 1.8px);
  background: #fff;
  border: 4px solid #cbd2d9;
  border-radius: 5px 9px 8px 5px;
  box-shadow: 4px 5px 9px rgba(47, 58, 72, .19);
}

.series-card__visual::after {
  content: "";
  position: absolute;
  z-index: 2;
  left: 18px;
  bottom: 18px;
  width: 24px;
  height: 22px;
  background:
    linear-gradient(90deg, transparent 29%, #e62a36 30% 38%, transparent 39% 62%, #e62a36 63% 71%, transparent 72%),
    linear-gradient(transparent 29%, #e62a36 30% 38%, transparent 39% 62%, #e62a36 63% 71%, transparent 72%),
    #242b33;
  border: 2px solid #e62a36;
  border-radius: 3px;
}

.series-card__visual i {
  position: absolute;
  z-index: 3;
  top: 9px;
  width: 3px;
  height: 38px;
  background: linear-gradient(#fff, #78c5f3);
  border-radius: 4px;
  box-shadow: 0 0 7px rgba(50, 155, 225, .2);
}

.series-card__visual i:nth-child(1) { right: 13px; }
.series-card__visual i:nth-child(2) { right: 20px; }
.series-card__visual i:nth-child(3) { right: 27px; }

.series-card__visual b {
  position: absolute;
  z-index: 4;
  right: 7px;
  top: 22px;
  width: 18px;
  height: 2px;
  background: linear-gradient(90deg, #47b6ff, transparent);
  box-shadow: 0 6px #6fc6ff, 0 12px #91d6ff;
}

.series-card__visual[data-system-type="sliding"]::before {
  width: 47px;
  height: 27px;
  left: 8px;
}

.series-card__visual[data-system-type="sliding"]::after {
  width: 32px;
  height: 16px;
  left: 15px;
  bottom: 17px;
}

.series-card__copy {
  min-width: 0;
  display: block;
}

.series-card__copy small,
.series-card__copy strong,
.series-card__copy em {
  display: block;
}

.series-card__copy small {
  overflow: hidden;
  color: var(--muted-2);
  font-size: 8px;
  font-weight: 760;
  letter-spacing: .05em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.series-card__copy strong {
  overflow: hidden;
  margin-top: 3px;
  color: var(--ink);
  font-size: 14px;
  letter-spacing: -.025em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.series-card__copy em {
  display: -webkit-box;
  margin-top: 4px;
  overflow: hidden;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.4;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.series-card__score {
  display: grid;
  justify-items: end;
  align-self: stretch;
  align-content: center;
}

.series-card__score b {
  color: var(--green-dark);
  font-size: 21px;
  line-height: 1;
}

.series-card__score small {
  color: var(--muted-2);
  font-size: 8px;
}

.series-card__score > i {
  width: 42px;
  height: 3px;
  margin-top: 7px;
  overflow: hidden;
  background: #e9edf0;
  border-radius: 99px;
}

.series-card__score > i em {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--amber), var(--green));
  border-radius: inherit;
  transition: width .7s var(--ease);
}

.series-card__facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-inline: 13px;
  padding: 10px 0;
  border-top: 1px solid #eef0f3;
  border-bottom: 1px solid #eef0f3;
}

.series-card__facts span {
  min-width: 0;
  padding-inline: 8px;
}

.series-card__facts span + span {
  border-left: 1px solid #edf0f3;
}

.series-card__facts small,
.series-card__facts b {
  display: block;
}

.series-card__facts small {
  overflow: hidden;
  color: var(--muted-2);
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.series-card__facts b {
  margin-top: 2px;
  color: var(--ink-2);
  font-size: 10px;
}

.series-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 13px 12px;
}

.series-source {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--green-dark);
  font-size: 8px;
  font-weight: 760;
}

.series-source::before {
  content: "";
  width: 5px;
  height: 5px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(14, 159, 98, .08);
}

.series-source.is-review {
  color: #a06200;
}

.series-source.is-review::before {
  background: var(--amber);
  box-shadow: 0 0 0 4px rgba(239, 156, 46, .09);
}

.series-card__foot button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0;
  color: var(--red);
  background: transparent;
  border: 0;
  font-size: 8px;
  font-weight: 820;
}

.series-card__foot button .icon {
  width: 13px;
  height: 13px;
  transition: transform .2s ease;
}

.series-card__foot button:hover .icon {
  transform: translateX(3px);
}

.series-dashboard__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: auto;
  padding-top: 22px;
}

.series-dashboard__footer > div {
  max-width: 560px;
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: var(--muted);
}

.series-dashboard__footer > div .icon {
  width: 17px;
  height: 17px;
  color: var(--red);
}

.series-dashboard__footer p {
  margin: 0;
  font-size: 9px;
  line-height: 1.55;
}

/* Opening / solution selection */
.solution-type-block {
  margin: 24px 0 6px;
  padding: 18px;
  background:
    radial-gradient(circle at 95% 8%, rgba(227, 31, 43, .07), transparent 13rem),
    #f7f8fa;
  border: 1px solid #e5e8ed;
  border-radius: 20px;
}

.subquestion-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 13px;
}

.subquestion-head b,
.subquestion-head small {
  display: block;
}

.subquestion-head b {
  font-size: 13px;
}

.subquestion-head small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 10px;
}

.subquestion-head > span {
  flex: 0 0 auto;
  padding: 5px 8px;
  color: var(--red-dark);
  background: var(--red-soft);
  border: 1px solid rgba(227, 31, 43, .13);
  border-radius: 999px;
  font-size: 8px;
  font-weight: 820;
}

.solution-type-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}

.solution-type-card {
  position: relative;
  min-width: 0;
}

.solution-type-card > input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.solution-type-card > span {
  min-height: 112px;
  display: grid;
  grid-template-columns: 39px minmax(0, 1fr);
  align-content: center;
  column-gap: 10px;
  padding: 14px;
  background: #fff;
  border: 1px solid #dfe3e8;
  border-radius: 16px;
  box-shadow: 0 5px 16px rgba(21, 28, 40, .035);
  transition: transform .22s var(--ease), border-color .22s ease, box-shadow .22s ease, background .22s ease;
}

.solution-type-card > span > i {
  grid-row: span 2;
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center;
  color: var(--muted);
  background: #f3f5f7;
  border-radius: 12px;
  transition: color .2s ease, background .2s ease, transform .2s ease;
}

.solution-type-card > span > i .icon {
  width: 19px;
  height: 19px;
}

.solution-type-card b,
.solution-type-card small {
  display: block;
  min-width: 0;
}

.solution-type-card b {
  align-self: end;
  color: var(--ink);
  font-size: 11px;
}

.solution-type-card small {
  align-self: start;
  margin-top: 2px;
  color: var(--muted);
  font-size: 8.5px;
  line-height: 1.38;
}

.solution-type-card:hover > span {
  transform: translateY(-2px);
  border-color: #cbd2da;
  box-shadow: 0 12px 25px rgba(21, 28, 40, .07);
}

.solution-type-card > input:checked + span {
  background: linear-gradient(145deg, #fff, #fff8f9);
  border-color: rgba(227, 31, 43, .55);
  box-shadow: 0 0 0 3px rgba(227, 31, 43, .07), 0 12px 30px rgba(227, 31, 43, .08);
}

.solution-type-card > input:checked + span > i {
  color: #fff;
  background: var(--red);
  transform: scale(1.05);
  box-shadow: 0 8px 19px rgba(227, 31, 43, .25);
}

.solution-type-card > input:focus-visible + span {
  outline: 3px solid rgba(43, 131, 255, .22);
  outline-offset: 2px;
}

/* Full catalogue matching on the result page */
.catalog-match-section {
  position: relative;
  overflow: hidden;
  margin-top: 28px;
  padding: 30px;
  background:
    radial-gradient(circle at 96% 2%, rgba(227, 31, 43, .075), transparent 20rem),
    linear-gradient(180deg, #fff, #fafbfc);
  border: 1px solid #e1e5ea;
  border-radius: 28px;
  box-shadow: var(--shadow-sm);
}

.catalog-match-section::after {
  content: "";
  position: absolute;
  z-index: 0;
  width: 270px;
  height: 270px;
  right: -150px;
  bottom: -160px;
  border: 1px solid rgba(227, 31, 43, .15);
  border-radius: 50%;
  box-shadow: 0 0 0 38px rgba(227, 31, 43, .025), 0 0 0 74px rgba(43, 131, 255, .018);
}

.catalog-match-section > * {
  position: relative;
  z-index: 1;
}

.catalog-match-heading {
  align-items: flex-start;
}

.catalog-match-heading > div {
  max-width: 830px;
}

.catalog-match-heading .button {
  flex: 0 0 auto;
}

.catalog-match-heading .button.is-active {
  color: #fff;
  background: var(--ink);
  border-color: var(--ink);
}

.catalog-match-summary {
  display: grid;
  grid-template-columns: 150px minmax(190px, 1fr) minmax(180px, 1fr);
  gap: 10px;
  margin: 24px 0 16px;
}

.catalog-match-summary span {
  min-width: 0;
  padding: 13px 15px;
  background: #f5f7f9;
  border: 1px solid #e6e9ed;
  border-radius: 15px;
}

.catalog-match-summary b,
.catalog-match-summary small {
  display: block;
}

.catalog-match-summary b {
  overflow: hidden;
  color: var(--ink);
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.catalog-match-summary span:first-child b {
  color: var(--red);
  font-size: 24px;
  line-height: 1;
}

.catalog-match-summary small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 8px;
}

.catalog-match-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.catalog-match-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  padding: 15px;
  background: #fff;
  border: 1px solid #e1e5ea;
  border-radius: 19px;
  box-shadow: 0 8px 22px rgba(21, 28, 40, .045);
  transition: transform .24s var(--ease), border-color .24s ease, box-shadow .24s ease, opacity .24s ease;
  animation: catalog-card-enter .45s var(--ease) both;
}

.catalog-match-card:hover {
  transform: translateY(-3px);
  border-color: #cbd2da;
  box-shadow: 0 17px 38px rgba(21, 28, 40, .1);
}

.catalog-match-card.is-recommended {
  border-color: rgba(227, 31, 43, .53);
  box-shadow: 0 0 0 3px rgba(227, 31, 43, .06), 0 18px 42px rgba(227, 31, 43, .1);
}

.catalog-match-card.is-not_recommended {
  opacity: .68;
  filter: saturate(.75);
}

.catalog-match-card__head {
  display: grid;
  grid-template-columns: 31px minmax(0, 1fr) auto;
  align-items: start;
  gap: 9px;
}

.catalog-match-card__index {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  color: var(--muted);
  background: #f2f4f6;
  border: 1px solid #e4e7eb;
  border-radius: 10px;
  font-size: 9px;
  font-weight: 850;
}

.catalog-match-card__head > div {
  min-width: 0;
}

.catalog-match-card__head small {
  display: block;
  overflow: hidden;
  color: var(--muted-2);
  font-size: 7.5px;
  font-weight: 760;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.catalog-match-card__head h4 {
  overflow: hidden;
  margin: 2px 0 0;
  color: var(--ink);
  font-size: 13px;
  letter-spacing: -.02em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.catalog-match-card__head > b {
  padding: 4px 6px;
  color: var(--red-dark);
  background: var(--red-soft);
  border-radius: 99px;
  font-size: 7px;
}

.catalog-match-card__visual {
  --series-rank: 5;
  position: relative;
  height: 104px;
  margin: 13px 0 10px;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 50%, rgba(255, 158, 55, .16), transparent 35%),
    radial-gradient(circle at 80% 50%, rgba(59, 168, 255, .18), transparent 35%),
    #f4f7fa;
  border: 1px solid #e4e8ed;
  border-radius: 14px;
}

.catalog-match-card__visual::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 15px;
  width: calc(78px + var(--series-rank) * 2px);
  height: calc(55px + var(--series-rank) * 2.5px);
  background: linear-gradient(145deg, #fff, #dbe1e6);
  border: 5px solid #bbc3cc;
  border-radius: 7px 12px 12px 7px;
  box-shadow: 0 14px 24px rgba(53, 67, 84, .19);
  transform: translateX(-50%);
}

.catalog-match-card__visual::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 26px;
  width: 51px;
  height: 36px;
  background:
    linear-gradient(90deg, transparent 30%, #e52330 31% 38%, transparent 39% 63%, #e52330 64% 71%, transparent 72%),
    linear-gradient(transparent 30%, #e52330 31% 38%, transparent 39% 63%, #e52330 64% 71%, transparent 72%),
    #202831;
  border: 3px solid #e52330;
  border-radius: 4px;
  transform: translateX(-50%);
}

.catalog-match-card__visual > span {
  position: absolute;
  z-index: 3;
  top: 11px;
  left: calc(50% + 31px);
  width: 3px;
  height: 55px;
  background: linear-gradient(#fff, #70c6fa);
  border-radius: 4px;
}

.catalog-match-card__visual > span:nth-child(2) {
  left: calc(50% + 42px);
}

.catalog-match-card__visual > i,
.catalog-match-card__visual > b {
  position: absolute;
  z-index: 4;
  top: 30px;
  height: 2px;
  border-radius: 99px;
  animation: catalog-flow 2.8s ease-in-out infinite;
}

.catalog-match-card__visual > i {
  left: 6px;
  width: 75px;
  background: linear-gradient(90deg, transparent, #ff8a31);
  box-shadow: 0 12px #ffb04c, 0 24px #ff7b37;
}

.catalog-match-card__visual > b {
  right: 6px;
  width: 75px;
  background: linear-gradient(90deg, #49b5ff, transparent);
  box-shadow: 0 12px #72c8ff, 0 24px #3c9ff2;
  animation-delay: -1.1s;
}

.catalog-match-card__visual[data-system-type="sliding"]::before {
  width: 128px;
  height: 43px;
}

.catalog-match-card__visual[data-system-type="sliding"]::after {
  width: 87px;
  height: 24px;
}

.catalog-match-card__compat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
}

.catalog-match-card__compat span,
.catalog-match-card__compat em {
  font-size: 7.5px;
  font-weight: 770;
}

.catalog-match-card__compat span {
  padding: 4px 6px;
  border-radius: 99px;
}

.catalog-match-card__compat span.is-direct {
  color: var(--green-dark);
  background: var(--green-soft);
}

.catalog-match-card__compat span.is-adaptation {
  color: #986000;
  background: var(--amber-soft);
}

.catalog-match-card__compat span.is-not_recommended {
  color: var(--muted);
  background: #f0f2f4;
}

.catalog-match-card__compat em {
  color: var(--muted-2);
}

.catalog-match-card__scores {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.catalog-match-card__scores > div {
  min-width: 0;
  padding: 9px;
  background: #f6f8fa;
  border-radius: 11px;
}

.catalog-match-card__scores span,
.catalog-match-card__scores strong {
  display: block;
}

.catalog-match-card__scores span {
  color: var(--muted);
  font-size: 7.5px;
}

.catalog-match-card__scores strong {
  margin-top: 2px;
  color: var(--ink);
  font-size: 15px;
}

.catalog-match-card__scores i {
  display: block;
  height: 3px;
  margin-top: 6px;
  overflow: hidden;
  background: #e6eaee;
  border-radius: 99px;
}

.catalog-match-card__scores i em {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--amber), var(--green));
  border-radius: inherit;
}

.catalog-match-card__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 5px;
  margin: 10px 0;
}

.catalog-match-card__facts span {
  min-width: 0;
  padding: 7px;
  background: #fafbfc;
  border: 1px solid #eceff2;
  border-radius: 9px;
}

.catalog-match-card__facts small,
.catalog-match-card__facts b {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.catalog-match-card__facts small {
  color: var(--muted-2);
  font-size: 6.8px;
}

.catalog-match-card__facts b {
  margin-top: 2px;
  color: var(--ink-2);
  font-size: 8.5px;
}

.catalog-match-card__open {
  width: 100%;
  min-height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #e1e5ea;
  border-radius: 10px;
  font-size: 8.5px;
  font-weight: 820;
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}

.catalog-match-card__open:hover {
  color: #fff;
  background: var(--red);
  border-color: var(--red);
}

.catalog-match-card__open .icon {
  width: 13px;
  height: 13px;
}

.catalog-match-notice {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-top: 15px;
  padding: 12px 14px;
  color: var(--muted);
  background: #f5f7f9;
  border-radius: 13px;
}

.catalog-match-notice .icon {
  width: 16px;
  height: 16px;
  color: var(--red);
}

.catalog-match-notice p {
  margin: 0;
  font-size: 9px;
  line-height: 1.55;
}

/* Recommendation hero — visual profile inspired by AKFA Tech product studio */
.recommendation-hero {
  grid-template-columns: minmax(0, 1.05fr) minmax(250px, .72fr) 380px;
  min-height: 470px;
  background:
    radial-gradient(circle at 49% 45%, rgba(53, 154, 255, .18), transparent 22%),
    radial-gradient(circle at 58% 53%, rgba(227, 31, 43, .2), transparent 20%),
    radial-gradient(circle at 94% 10%, rgba(227, 31, 43, .34), transparent 26%),
    linear-gradient(135deg, #10141a 0%, #17202a 55%, #242c36 100%);
}

.recommendation-hero__content {
  align-self: center;
  padding: 42px 18px 42px 44px;
}

.recommendation-profile-v4 {
  --series-rank: 7;
  --energy-score: 80%;
  position: relative;
  min-height: 430px;
  align-self: stretch;
  overflow: hidden;
  perspective: 1000px;
}

.recommendation-profile-v4::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 47px;
  width: 280px;
  height: 68px;
  background: radial-gradient(ellipse, rgba(82, 185, 255, .34), rgba(227, 31, 43, .13) 44%, transparent 72%);
  border-radius: 50%;
  transform: translateX(-50%);
  animation: profile-platform 4.8s ease-in-out infinite;
}

.recommendation-profile-v4::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 63px;
  width: 180px;
  height: 26px;
  border: 1px solid rgba(255, 255, 255, .26);
  border-radius: 50%;
  box-shadow: 0 0 0 17px rgba(64, 173, 255, .05), 0 0 45px rgba(65, 174, 255, .27);
  transform: translateX(-50%);
}

.recommendation-profile-v4__aura {
  position: absolute;
  inset: 0;
}

.recommendation-profile-v4__aura i {
  position: absolute;
  border-radius: 50%;
  filter: blur(4px);
  animation: series-float 7s ease-in-out infinite;
}

.recommendation-profile-v4__aura i:nth-child(1) {
  width: 180px;
  height: 180px;
  top: 82px;
  left: -45px;
  background: rgba(255, 120, 55, .14);
}

.recommendation-profile-v4__aura i:nth-child(2) {
  width: 190px;
  height: 190px;
  top: 58px;
  right: -55px;
  background: rgba(69, 169, 255, .18);
  animation-delay: -2s;
}

.recommendation-profile-v4__aura i:nth-child(3) {
  width: 8px;
  height: 8px;
  top: 70px;
  left: 48%;
  background: #fff;
  box-shadow: 0 0 22px #fff;
}

.recommendation-profile-v4__glass {
  position: absolute;
  z-index: 5;
  top: 67px;
  left: 50%;
  width: 118px;
  height: 235px;
  transform: translateX(-5%) rotateY(-10deg) skewY(-4deg);
}

.recommendation-profile-v4__glass i {
  position: absolute;
  inset-block: 0;
  width: 6px;
  background: linear-gradient(180deg, rgba(245, 252, 255, .98), rgba(104, 190, 247, .48));
  border: 1px solid rgba(255, 255, 255, .78);
  border-radius: 4px;
  box-shadow: 0 0 18px rgba(82, 183, 255, .28);
}

.recommendation-profile-v4__glass i:nth-child(1) { left: 12px; }
.recommendation-profile-v4__glass i:nth-child(2) { left: 54px; }
.recommendation-profile-v4__glass i:nth-child(3) { left: 96px; }

.recommendation-profile-v4__glass::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(73, 177, 255, .14), rgba(255, 255, 255, .02));
  border: 1px solid rgba(255, 255, 255, .13);
  clip-path: polygon(9% 0, 90% 0, 100% 100%, 0 100%);
}

.recommendation-profile-v4__body {
  position: absolute;
  z-index: 6;
  left: 50%;
  bottom: 80px;
  width: calc(150px + var(--series-rank) * 4px);
  height: calc(115px + var(--series-rank) * 5px);
  overflow: hidden;
  background: linear-gradient(145deg, #fff 5%, #e7ebef 64%, #aeb7c1);
  border: 1px solid rgba(255, 255, 255, .88);
  border-radius: 12px 18px 21px 13px;
  box-shadow: 0 26px 55px rgba(0, 0, 0, .43), inset -12px -14px 20px rgba(73, 85, 98, .16);
  transform: translateX(-50%) rotateY(-8deg) rotateX(2deg);
}

.recommendation-profile-v4__body::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 44%;
  height: 43%;
  background: #f9fbfc;
  border-left: 9px solid #c8d0d7;
  border-bottom: 9px solid #c8d0d7;
  border-radius: 0 15px 0 12px;
}

.recommendation-profile-v4__body span {
  position: absolute;
  z-index: 2;
  width: 31px;
  height: 28px;
  background: #222a33;
  border: 4px solid var(--red);
  border-radius: 5px;
}

.recommendation-profile-v4__body span:nth-child(1) { left: 15px; bottom: 15px; }
.recommendation-profile-v4__body span:nth-child(2) { left: 51px; bottom: 15px; }
.recommendation-profile-v4__body span:nth-child(3) { left: 87px; bottom: 15px; }
.recommendation-profile-v4__body span:nth-child(4) { left: 15px; bottom: 51px; }
.recommendation-profile-v4__body span:nth-child(5) { left: 51px; bottom: 51px; }
.recommendation-profile-v4__body span:nth-child(6) { left: 87px; bottom: 51px; }

.recommendation-profile-v4__body b {
  position: absolute;
  z-index: 3;
  left: 18px;
  top: 17px;
  width: 87px;
  height: 13px;
  background: linear-gradient(90deg, #66717d, #1f252c, #78818a);
  border: 2px solid #1b2127;
  border-radius: 3px;
}

.recommendation-profile-v4__body em {
  position: absolute;
  z-index: 3;
  right: 15px;
  bottom: 14px;
  width: 34px;
  height: 10px;
  background: #717b85;
  border-radius: 3px;
}

.recommendation-profile-v4__warm,
.recommendation-profile-v4__cold {
  position: absolute;
  z-index: 4;
  top: 160px;
  width: 145px;
  height: 110px;
}

.recommendation-profile-v4__warm { left: -24px; }
.recommendation-profile-v4__cold { right: -24px; }

.recommendation-profile-v4__warm i,
.recommendation-profile-v4__cold i {
  position: absolute;
  width: 135px;
  height: 2px;
  border-radius: 99px;
}

.recommendation-profile-v4__warm i {
  background: linear-gradient(90deg, transparent, #ffad4a, #ff603a);
  box-shadow: 0 0 13px rgba(255, 126, 45, .7);
  transform: rotate(6deg);
  animation: warm-flow 2.4s ease-in-out infinite;
}

.recommendation-profile-v4__cold i {
  background: linear-gradient(90deg, #4fb7ff, #b6e7ff, transparent);
  box-shadow: 0 0 13px rgba(76, 181, 255, .7);
  transform: rotate(-6deg);
  animation: cold-flow 2.7s ease-in-out infinite;
}

.recommendation-profile-v4__warm i:nth-child(1),
.recommendation-profile-v4__cold i:nth-child(1) { top: 8px; }
.recommendation-profile-v4__warm i:nth-child(2),
.recommendation-profile-v4__cold i:nth-child(2) { top: 38px; animation-delay: -.55s; }
.recommendation-profile-v4__warm i:nth-child(3),
.recommendation-profile-v4__cold i:nth-child(3) { top: 68px; animation-delay: -1.1s; }
.recommendation-profile-v4__warm i:nth-child(4),
.recommendation-profile-v4__cold i:nth-child(4) { top: 98px; animation-delay: -1.65s; }

.recommendation-profile-v4__badges {
  position: absolute;
  z-index: 9;
  inset: 77px 6px auto;
  display: flex;
  justify-content: space-between;
}

.recommendation-profile-v4__badges span {
  width: 33px;
  height: 33px;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 11px;
  backdrop-filter: blur(8px);
  animation: series-float 5s ease-in-out infinite;
}

.recommendation-profile-v4__badges span:nth-child(1) { color: #ffab3f; }
.recommendation-profile-v4__badges span:nth-child(2) { color: #74c9ff; animation-delay: -.8s; }
.recommendation-profile-v4__badges span:nth-child(3) { color: #93d4ff; animation-delay: -1.6s; }
.recommendation-profile-v4__badges span:nth-child(4) { color: #61d895; animation-delay: -2.4s; }

.recommendation-profile-v4__badges .icon {
  width: 16px;
  height: 16px;
}

.recommendation-profile-v4__label {
  position: absolute;
  z-index: 9;
  left: 50%;
  bottom: 22px;
  width: min(220px, calc(100% - 20px));
  padding: 9px 13px;
  text-align: center;
  background: rgba(10, 14, 19, .55);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 12px;
  backdrop-filter: blur(14px);
  transform: translateX(-50%);
}

.recommendation-profile-v4__label small,
.recommendation-profile-v4__label b {
  display: block;
}

.recommendation-profile-v4__label small {
  color: rgba(255, 255, 255, .42);
  font-size: 7px;
  letter-spacing: .13em;
}

.recommendation-profile-v4__label b {
  overflow: hidden;
  margin-top: 2px;
  color: #fff;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.recommendation-profile-v4[data-system-type="sliding"] .recommendation-profile-v4__body {
  width: 220px;
  height: 105px;
}

.recommendation-profile-v4[data-system-type="sliding"] .recommendation-profile-v4__glass {
  width: 155px;
  transform: translateX(-15%) rotateY(-8deg) skewY(-3deg);
}

/* Series detail modal */
.modal-card--series {
  width: min(980px, calc(100vw - 32px));
  overflow: hidden;
  background: #fff;
}

.series-dialog__head {
  position: relative;
  overflow: hidden;
  padding: 25px 28px;
  color: #fff;
  background:
    radial-gradient(circle at 92% 15%, rgba(227, 31, 43, .38), transparent 26%),
    linear-gradient(135deg, #11161d, #232b35);
  border-bottom: 0;
}

.series-dialog__head::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  right: -90px;
  top: -110px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 50%;
  box-shadow: 0 0 0 28px rgba(255, 255, 255, .025);
}

.series-dialog__head > * {
  position: relative;
  z-index: 1;
}

.series-dialog__head h2 {
  margin: 3px 0 5px;
  color: #fff;
  font-size: clamp(28px, 4vw, 42px);
  letter-spacing: -.045em;
}

.series-dialog__head p {
  max-width: 620px;
  margin: 0;
  color: rgba(255, 255, 255, .63);
  font-size: 11px;
}

.series-dialog__head .modal-kicker {
  color: #ff9ba3;
}

.series-dialog__head .modal-close {
  color: #fff;
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .12);
}

.series-dialog__body {
  display: grid;
  grid-template-columns: minmax(300px, .88fr) minmax(0, 1.12fr);
  gap: 0;
  padding: 0;
}

.series-dialog__visual {
  position: relative;
  min-height: 460px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 30% 38%, rgba(255, 149, 56, .19), transparent 28%),
    radial-gradient(circle at 75% 38%, rgba(75, 176, 255, .22), transparent 31%),
    linear-gradient(145deg, #151b23, #232d38);
}

.series-dialog__visual::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .24;
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 38px 38px;
}

.series-dialog-profile {
  position: relative;
  width: 310px;
  height: 320px;
  margin: 20px auto 0;
}

.series-dialog-profile::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 21px;
  width: 245px;
  height: 48px;
  background: radial-gradient(ellipse, rgba(85, 184, 255, .29), rgba(227, 31, 43, .12) 45%, transparent 72%);
  border-radius: 50%;
  transform: translateX(-50%);
}

.series-dialog-profile__glass {
  position: absolute;
  z-index: 4;
  top: 28px;
  right: 26px;
  width: 105px;
  height: 205px;
}

.series-dialog-profile__glass i {
  position: absolute;
  inset-block: 0;
  width: 6px;
  background: linear-gradient(#fff, #76c9f8);
  border-radius: 4px;
  box-shadow: 0 0 16px rgba(82, 184, 255, .28);
}

.series-dialog-profile__glass i:nth-child(1) { left: 12px; }
.series-dialog-profile__glass i:nth-child(2) { left: 47px; }
.series-dialog-profile__glass i:nth-child(3) { left: 82px; }

.series-dialog-profile__body {
  position: absolute;
  z-index: 5;
  left: 45px;
  bottom: 45px;
  width: calc(146px + var(--series-rank) * 4px);
  height: calc(112px + var(--series-rank) * 5px);
  overflow: hidden;
  background: linear-gradient(145deg, #fff, #e4e9ee 64%, #aeb7c0);
  border: 1px solid #fff;
  border-radius: 12px 18px 20px 12px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, .38);
}

.series-dialog-profile__body::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 46%;
  height: 43%;
  background: #fafbfc;
  border-left: 9px solid #c8d0d7;
  border-bottom: 9px solid #c8d0d7;
}

.series-dialog-profile__body span {
  position: absolute;
  z-index: 2;
  width: 30px;
  height: 27px;
  background: #222a33;
  border: 4px solid var(--red);
  border-radius: 4px;
}

.series-dialog-profile__body span:nth-child(1) { left: 15px; bottom: 15px; }
.series-dialog-profile__body span:nth-child(2) { left: 50px; bottom: 15px; }
.series-dialog-profile__body span:nth-child(3) { left: 85px; bottom: 15px; }
.series-dialog-profile__body span:nth-child(4) { left: 15px; bottom: 50px; }
.series-dialog-profile__body span:nth-child(5) { left: 50px; bottom: 50px; }
.series-dialog-profile__body span:nth-child(6) { left: 85px; bottom: 50px; }

.series-dialog-profile__body b {
  position: absolute;
  z-index: 3;
  left: 18px;
  top: 17px;
  width: 84px;
  height: 12px;
  background: #353e47;
  border-radius: 3px;
}

.series-dialog-profile__wave i {
  position: absolute;
  z-index: 3;
  top: 118px;
  width: 115px;
  height: 2px;
  border-radius: 99px;
}

.series-dialog-profile__wave i:nth-child(1) {
  left: -2px;
  background: linear-gradient(90deg, transparent, #ff9439);
  box-shadow: 0 18px #ffb34c, 0 36px #ff7139;
  animation: warm-flow 2.5s ease-in-out infinite;
}

.series-dialog-profile__wave i:nth-child(2) {
  right: -2px;
  background: linear-gradient(90deg, #50b8ff, transparent);
  box-shadow: 0 18px #77ceff, 0 36px #3a9ced;
  animation: cold-flow 2.7s ease-in-out infinite;
}

.series-dialog-profile__wave i:nth-child(3) {
  display: none;
}

.series-dialog-score {
  position: absolute;
  z-index: 8;
  left: 22px;
  right: 22px;
  bottom: 18px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 3px 15px;
  padding: 14px;
  background: rgba(8, 12, 17, .58);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 15px;
  backdrop-filter: blur(16px);
}

.series-dialog-score > span {
  color: rgba(255, 255, 255, .54);
  font-size: 8px;
}

.series-dialog-score strong {
  grid-column: 2;
  grid-row: 1 / span 2;
  color: #fff;
  font-size: 13px;
}

.series-dialog-score strong b {
  color: #58d58e;
  font-size: 28px;
}

.series-dialog-score > i {
  height: 4px;
  overflow: hidden;
  background: rgba(255, 255, 255, .11);
  border-radius: 99px;
}

.series-dialog-score > i em {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--amber), var(--green));
  border-radius: inherit;
  transition: width .75s var(--ease);
}

.series-dialog-score small {
  grid-column: 1 / -1;
  color: rgba(255, 255, 255, .43);
  font-size: 7.5px;
}

.series-dialog__content {
  padding: 28px;
  background: #fff;
}

.series-dialog-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 18px;
}

.series-dialog-badges span {
  padding: 5px 8px;
  color: var(--ink-2);
  background: #f3f5f7;
  border: 1px solid #e5e8ec;
  border-radius: 99px;
  font-size: 8px;
  font-weight: 760;
}

.series-dialog-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.series-dialog-facts article {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px;
  background: #f7f8fa;
  border: 1px solid #e7eaee;
  border-radius: 14px;
}

.series-dialog-facts article > span {
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  color: var(--red);
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 14px rgba(21, 28, 40, .06);
}

.series-dialog-facts article > span .icon {
  width: 16px;
  height: 16px;
}

.series-dialog-facts div {
  min-width: 0;
}

.series-dialog-facts small,
.series-dialog-facts b {
  display: block;
}

.series-dialog-facts small {
  overflow: hidden;
  color: var(--muted);
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.series-dialog-facts b {
  margin-top: 3px;
  color: var(--ink);
  font-size: 11px;
}

.series-dialog-purpose,
.series-dialog-disclaimer {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin-top: 13px;
  padding: 14px;
  border-radius: 15px;
}

.series-dialog-purpose {
  color: #fff;
  background: linear-gradient(135deg, #171d25, #262e38);
}

.series-dialog-purpose > span {
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--red);
  border-radius: 10px;
}

.series-dialog-purpose .icon,
.series-dialog-disclaimer .icon {
  width: 16px;
  height: 16px;
}

.series-dialog-purpose b {
  display: block;
  font-size: 10px;
}

.series-dialog-purpose p {
  margin: 3px 0 0;
  color: rgba(255, 255, 255, .65);
  font-size: 9px;
  line-height: 1.55;
}

.series-dialog-disclaimer {
  color: var(--muted);
  background: #f6f8fa;
  border: 1px solid #e7eaee;
}

.series-dialog-disclaimer .icon {
  color: var(--red);
}

.series-dialog-disclaimer p {
  margin: 0;
  font-size: 8.5px;
  line-height: 1.55;
}

.series-dialog__actions {
  border-top: 1px solid #e8ebef;
}

/* Motion */
@keyframes series-orbit-spin {
  to { transform: rotate(360deg); }
}

@keyframes series-pulse {
  0%, 100% { transform: scale(.78); opacity: .62; }
  50% { transform: scale(1.18); opacity: 1; }
}

@keyframes series-float {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -10px, 0); }
}

@keyframes profile-platform {
  0%, 100% { transform: translateX(-50%) scale(.96); opacity: .75; }
  50% { transform: translateX(-50%) scale(1.04); opacity: 1; }
}

@keyframes warm-flow {
  0%, 100% { opacity: .25; transform: translateX(-14px) rotate(6deg) scaleX(.8); }
  50% { opacity: 1; transform: translateX(11px) rotate(6deg) scaleX(1.08); }
}

@keyframes cold-flow {
  0%, 100% { opacity: .25; transform: translateX(14px) rotate(-6deg) scaleX(.8); }
  50% { opacity: 1; transform: translateX(-11px) rotate(-6deg) scaleX(1.08); }
}

@keyframes series-card-enter {
  from { opacity: 0; transform: translateY(10px) scale(.985); }
  to { opacity: 1; transform: none; }
}

@keyframes catalog-card-enter {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

@keyframes catalog-flow {
  0%, 100% { opacity: .25; transform: scaleX(.8); }
  50% { opacity: .95; transform: scaleX(1.08); }
}

/* Responsive layout */
@media (max-width: 1180px) {
  .series-dashboard {
    grid-template-columns: 360px minmax(0, 1fr);
  }

  .series-rail {
    grid-template-columns: 1fr;
  }

  .series-dashboard {
    min-height: 1060px;
  }

  .recommendation-hero {
    grid-template-columns: minmax(0, 1fr) 320px;
  }

  .recommendation-profile-v4 {
    grid-column: 2;
    grid-row: 1;
    min-height: 390px;
  }

  .energy-score-card {
    grid-column: 1 / -1;
    min-height: 280px;
    border-top: 1px solid rgba(255, 255, 255, .1);
    border-left: 0;
  }

  .catalog-match-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .series-section {
    padding: 86px 0;
  }

  .series-heading {
    align-items: stretch;
  }

  .series-heading__stat {
    min-width: 0;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    column-gap: 12px;
  }

  .series-heading__stat strong {
    grid-row: span 2;
  }

  .series-heading__stat span,
  .series-heading__stat small {
    margin: 0;
  }

  .series-dashboard {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .series-dashboard__feature {
    min-height: 680px;
  }

  .series-profile-hero {
    height: 310px;
  }

  .series-feature__copy p {
    min-height: 0;
  }

  .series-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .series-dialog__body {
    grid-template-columns: 1fr;
  }

  .series-dialog__visual {
    min-height: 430px;
  }
}

@media (max-width: 760px) {
  .series-section {
    padding: 72px 0;
  }

  .series-heading__stat {
    padding: 16px;
  }

  .series-dashboard {
    overflow: visible;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    backdrop-filter: none;
  }

  .series-dashboard__feature {
    min-height: 660px;
    padding: 22px;
    border-radius: 26px;
    box-shadow: var(--shadow-md);
  }

  .series-dashboard__catalog {
    margin-top: 14px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, .95);
    border-radius: 25px;
    box-shadow: var(--shadow-sm);
  }

  .series-controls {
    align-items: stretch;
    flex-direction: column;
  }

  .series-filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 3px;
    scrollbar-width: none;
  }

  .series-filters::-webkit-scrollbar {
    display: none;
  }

  .series-filters button {
    flex: 0 0 auto;
  }

  .series-controls__hint {
    max-width: none;
  }

  .series-rail {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    margin-inline: -18px;
    padding: 0 18px 7px;
  }

  .series-rail::-webkit-scrollbar {
    display: none;
  }

  .series-card {
    flex: 0 0 min(82vw, 350px);
    scroll-snap-align: start;
  }

  .series-dashboard__footer {
    align-items: stretch;
    flex-direction: column;
  }

  .series-dashboard__footer .button {
    width: 100%;
  }

  .solution-type-grid {
    grid-template-columns: 1fr;
  }

  .solution-type-card > span {
    min-height: 88px;
  }

  .catalog-match-section {
    padding: 20px 16px;
    border-radius: 23px;
  }

  .catalog-match-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .catalog-match-heading .button {
    width: 100%;
  }

  .catalog-match-summary {
    grid-template-columns: 82px minmax(0, 1fr);
  }

  .catalog-match-summary span:nth-child(3) {
    grid-column: 1 / -1;
  }

  .catalog-match-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    margin-inline: -16px;
    padding: 0 16px 8px;
  }

  .catalog-match-grid::-webkit-scrollbar {
    display: none;
  }

  .catalog-match-card {
    flex: 0 0 min(83vw, 340px);
    scroll-snap-align: start;
  }

  .recommendation-hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .recommendation-hero__content {
    padding: 30px 24px 10px;
  }

  .recommendation-profile-v4 {
    grid-column: 1;
    grid-row: auto;
    min-height: 390px;
  }

  .energy-score-card {
    grid-column: 1;
  }

  .series-dialog__content {
    padding: 20px;
  }

  .series-dialog-facts {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .series-section .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .series-dashboard__feature {
    min-height: 610px;
    padding: 18px;
  }

  .series-profile-hero {
    width: 280px;
    height: 285px;
    transform: scale(.9);
    transform-origin: center top;
  }

  .series-feature__metrics {
    grid-template-columns: 1fr;
  }

  .series-feature__metrics span {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
  }

  .series-feature__metrics small,
  .series-feature__metrics b {
    margin: 0;
  }

  .series-card {
    flex-basis: 88vw;
  }

  .series-card__select {
    grid-template-columns: 60px minmax(0, 1fr) 44px;
    gap: 9px;
  }

  .series-card__visual {
    width: 58px;
  }

  .series-card__facts {
    margin-inline: 10px;
  }

  .subquestion-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .catalog-match-card {
    flex-basis: 88vw;
  }

  .recommendation-profile-v4 {
    min-height: 350px;
    transform: scale(.92);
    transform-origin: center top;
  }

  .series-dialog__visual {
    min-height: 390px;
  }

  .series-dialog-profile {
    width: 280px;
    transform: scale(.9);
    transform-origin: center top;
  }

  .series-dialog-score {
    left: 13px;
    right: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .series-orbit i,
  .series-feature__ambient i,
  .series-profile-hero::before,
  .series-profile-hero__flows i,
  .series-card,
  .catalog-match-card,
  .catalog-match-card__visual > i,
  .catalog-match-card__visual > b,
  .recommendation-profile-v4::before,
  .recommendation-profile-v4__aura i,
  .recommendation-profile-v4__warm i,
  .recommendation-profile-v4__cold i,
  .recommendation-profile-v4__badges span,
  .series-dialog-profile__wave i {
    animation: none !important;
  }
}

@media print {
  .series-section,
  .series-dialog,
  .catalog-match-heading .button,
  .catalog-match-card__open,
  .recommendation-profile-v4__warm,
  .recommendation-profile-v4__cold,
  .recommendation-profile-v4__badges {
    display: none !important;
  }

  .catalog-match-section,
  .catalog-match-card {
    box-shadow: none;
  }
}

/* ========================================================================== 
   AKFA Energy 0.4.0 — complete series explorer, application-aware selection,
   high-fidelity motion layer inspired by the approved AKFA Energy concepts.
   ========================================================================== */

:root {
  --container: 1380px;
  --v4-ink: #11141a;
  --v4-ink-soft: #1b2029;
  --v4-panel: rgba(255, 255, 255, .88);
  --v4-panel-solid: #fff;
  --v4-border: rgba(151, 160, 174, .22);
  --v4-red-glow: rgba(237, 28, 36, .20);
  --v4-blue: #3c91ff;
  --v4-cyan: #66c7ff;
  --v4-orange: #ff9d3d;
  --v4-green: #18a966;
  --v4-shadow: 0 28px 90px rgba(18, 25, 38, .12);
  --v4-shadow-soft: 0 16px 48px rgba(18, 25, 38, .075);
}

/* Global polish */
body {
  background:
    radial-gradient(circle at 10% 2%, rgba(237, 28, 36, .055), transparent 26rem),
    radial-gradient(circle at 88% 22%, rgba(74, 150, 255, .055), transparent 30rem),
    #f1f3f6;
}

.site-header {
  background: rgba(249, 250, 252, .9);
  border-bottom-color: rgba(202, 208, 217, .62);
  box-shadow: 0 12px 34px rgba(17, 20, 26, .04);
}

.site-header__inner {
  width: min(calc(100% - 42px), var(--container));
}

.desktop-nav {
  gap: clamp(18px, 2vw, 34px);
}

.desktop-nav a {
  font-size: 13px;
  font-weight: 740;
}

.button {
  overflow: hidden;
  isolation: isolate;
}

.button::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -80% auto -80% -35%;
  width: 38%;
  opacity: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .42), transparent);
  transform: skewX(-18deg);
  transition: left .55s var(--ease), opacity .2s ease;
}

.button:hover::after {
  left: 110%;
  opacity: 1;
}

/* Hero dashboard telemetry */
.hero {
  min-height: 790px;
  background:
    radial-gradient(circle at 76% 12%, rgba(237, 28, 36, .12), transparent 30%),
    radial-gradient(circle at 83% 76%, rgba(65, 153, 255, .11), transparent 31%),
    linear-gradient(135deg, #fbfcfd 0%, #eef2f6 58%, #f9eff1 100%);
}

.hero::before {
  opacity: .58;
}

.hero-lab {
  border-color: rgba(255, 255, 255, .78);
  box-shadow: 0 34px 110px rgba(18, 25, 38, .17), inset 0 1px 0 rgba(255, 255, 255, .86);
}

.hero-lab__telemetry {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 12px 16px 16px;
  padding: 10px;
  background: rgba(255, 255, 255, .72);
  border: 1px solid rgba(255, 255, 255, .86);
  border-radius: 17px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 12px 28px rgba(27, 35, 48, .06);
  backdrop-filter: blur(18px);
}

.hero-lab__telemetry > span {
  position: relative;
  min-width: 0;
  display: grid;
  grid-template-columns: 9px minmax(0, 1fr);
  column-gap: 8px;
  row-gap: 1px;
  align-items: center;
  padding: 8px 10px;
  border-radius: 12px;
  transition: background .22s ease, transform .22s var(--ease);
}

.hero-lab__telemetry > span:hover {
  background: rgba(255, 255, 255, .78);
  transform: translateY(-2px);
}

.hero-lab__telemetry i {
  grid-row: 1 / 3;
  width: 7px;
  height: 7px;
  background: var(--red);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(237, 28, 36, .10), 0 0 18px rgba(237, 28, 36, .35);
  animation: telemetryPulse 2.8s ease-in-out infinite;
}

.hero-lab__telemetry > span:nth-child(2) i {
  background: var(--v4-green);
  box-shadow: 0 0 0 5px rgba(24, 169, 102, .10), 0 0 18px rgba(24, 169, 102, .35);
  animation-delay: .45s;
}

.hero-lab__telemetry > span:nth-child(3) i {
  background: var(--v4-blue);
  box-shadow: 0 0 0 5px rgba(60, 145, 255, .10), 0 0 18px rgba(60, 145, 255, .35);
  animation-delay: .9s;
}

.hero-lab__telemetry b {
  overflow: hidden;
  color: #252b35;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-lab__telemetry small {
  overflow: hidden;
  color: #7d8591;
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@keyframes telemetryPulse {
  0%, 100% { transform: scale(.9); opacity: .74; }
  50% { transform: scale(1.17); opacity: 1; }
}

/* Complete AKFA Plast series explorer */
.series-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 112px 0 126px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .64), rgba(245, 247, 250, .94)),
    radial-gradient(circle at 8% 15%, rgba(237, 28, 36, .09), transparent 26rem),
    radial-gradient(circle at 92% 78%, rgba(59, 148, 255, .08), transparent 28rem);
  border-top: 1px solid rgba(207, 213, 222, .65);
  border-bottom: 1px solid rgba(207, 213, 222, .65);
}

.series-section::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: .27;
  background-image:
    linear-gradient(rgba(25, 32, 44, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(25, 32, 44, .055) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse at center, #000 10%, transparent 76%);
}

.series-orbit {
  position: absolute;
  z-index: -1;
  top: 4%;
  right: -180px;
  width: 650px;
  height: 650px;
  opacity: .38;
  border: 1px solid rgba(237, 28, 36, .20);
  border-radius: 50%;
  animation: seriesOrbitSpin 24s linear infinite;
}

.series-orbit::before,
.series-orbit::after,
.series-orbit i {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.series-orbit::before {
  inset: 66px;
  border: 1px dashed rgba(64, 142, 245, .25);
}

.series-orbit::after {
  inset: 152px;
  border: 1px solid rgba(237, 28, 36, .16);
}

.series-orbit i:nth-child(1) {
  top: 74px;
  left: 142px;
  width: 14px;
  height: 14px;
  background: var(--red);
  box-shadow: 0 0 28px rgba(237, 28, 36, .55);
}

.series-orbit i:nth-child(2) {
  right: 48px;
  bottom: 210px;
  width: 10px;
  height: 10px;
  background: var(--v4-blue);
  box-shadow: 0 0 28px rgba(60, 145, 255, .55);
}

.series-orbit i:nth-child(3) {
  left: 210px;
  bottom: 40px;
  width: 8px;
  height: 8px;
  background: var(--v4-green);
  box-shadow: 0 0 24px rgba(24, 169, 102, .55);
}

@keyframes seriesOrbitSpin {
  to { transform: rotate(360deg); }
}

.series-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 235px;
  align-items: end;
  gap: 48px;
  margin-bottom: 36px;
}

.series-heading h2 {
  max-width: 850px;
  margin: 10px 0 14px;
  font-size: clamp(36px, 4.2vw, 62px);
  line-height: .98;
  letter-spacing: -.058em;
  text-wrap: balance;
}

.series-heading p {
  max-width: 790px;
  margin: 0;
  color: #697281;
  font-size: 15px;
  line-height: 1.7;
}

.series-heading__stat {
  position: relative;
  min-height: 154px;
  display: grid;
  align-content: center;
  justify-items: start;
  padding: 22px 24px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 82% 16%, rgba(255, 255, 255, .20), transparent 34%),
    linear-gradient(145deg, #f12a33, #ca111b 78%);
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 26px;
  box-shadow: 0 22px 50px rgba(210, 21, 30, .22);
}

.series-heading__stat::after {
  content: "";
  position: absolute;
  right: -34px;
  bottom: -48px;
  width: 130px;
  height: 130px;
  border: 18px solid rgba(255, 255, 255, .10);
  border-radius: 50%;
}

.series-heading__stat strong {
  position: relative;
  z-index: 1;
  font-size: 58px;
  line-height: .82;
  letter-spacing: -.08em;
}

.series-heading__stat span,
.series-heading__stat small {
  position: relative;
  z-index: 1;
}

.series-heading__stat span {
  margin-top: 13px;
  font-size: 13px;
  font-weight: 800;
}

.series-heading__stat small {
  margin-top: 4px;
  color: rgba(255, 255, 255, .70);
  font-size: 9px;
  line-height: 1.4;
}

.series-dashboard {
  display: grid;
  grid-template-columns: minmax(330px, .78fr) minmax(0, 1.65fr);
  gap: 0;
  overflow: hidden;
  background: rgba(255, 255, 255, .84);
  border: 1px solid rgba(255, 255, 255, .92);
  border-radius: 36px;
  box-shadow: var(--v4-shadow);
  backdrop-filter: blur(24px);
}

.series-dashboard__feature {
  --series-rank: 7;
  --series-model-score: 77%;
  position: relative;
  min-height: 760px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 30px;
  color: #fff;
  background:
    radial-gradient(circle at 52% 32%, rgba(237, 28, 36, .24), transparent 25%),
    radial-gradient(circle at 15% 82%, rgba(64, 145, 255, .16), transparent 28%),
    linear-gradient(155deg, #171c24 0%, #10141b 70%, #1b161a 100%);
}

.series-dashboard__feature::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .22;
  background-image:
    linear-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .08) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(to bottom, #000, transparent 84%);
}

.series-dashboard__feature[data-system-type="sliding"] {
  background:
    radial-gradient(circle at 52% 32%, rgba(73, 152, 255, .30), transparent 28%),
    radial-gradient(circle at 15% 82%, rgba(237, 28, 36, .12), transparent 28%),
    linear-gradient(155deg, #151b24 0%, #0e141c 70%, #131b22 100%);
}

.series-feature__ambient,
.series-feature__ambient i {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.series-feature__ambient i {
  width: 230px;
  height: 230px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 50%;
  animation: featureAmbient 8s ease-in-out infinite;
}

.series-feature__ambient i:nth-child(1) { top: 90px; left: -120px; }
.series-feature__ambient i:nth-child(2) { top: 180px; right: -150px; animation-delay: -2.5s; }
.series-feature__ambient i:nth-child(3) { top: auto; right: 40px; bottom: 150px; width: 80px; height: 80px; animation-delay: -5s; }

@keyframes featureAmbient {
  0%, 100% { transform: scale(.92); opacity: .34; }
  50% { transform: scale(1.12); opacity: .72; }
}

.series-feature__top {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.series-feature__top span {
  color: rgba(255, 255, 255, .56);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.series-feature__top b {
  padding: 7px 10px;
  color: #fff;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 9px;
  font-size: 9px;
  letter-spacing: .08em;
}

.series-profile-hero {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 344px;
  margin: 25px 0 6px;
  transform: scale(calc(.94 + var(--series-rank) * .008));
  transform-origin: center bottom;
  transition: transform .65s var(--ease), filter .65s ease;
}

.series-profile-hero::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 12px;
  width: 235px;
  height: 66px;
  background: radial-gradient(ellipse, rgba(237, 28, 36, .28), rgba(65, 146, 255, .12) 42%, transparent 72%);
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 50%;
  transform: translateX(-50%);
  filter: blur(3px);
  animation: profilePlatform 3.6s ease-in-out infinite;
}

@keyframes profilePlatform {
  0%, 100% { transform: translateX(-50%) scaleX(.94); opacity: .74; }
  50% { transform: translateX(-50%) scaleX(1.08); opacity: 1; }
}

.series-profile-hero__glass {
  position: absolute;
  z-index: 1;
  top: 18px;
  left: calc(50% - 47px);
  width: 150px;
  height: 215px;
  transform: perspective(520px) rotateY(-7deg);
}

.series-profile-hero__glass i {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 5px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(128, 192, 236, .72));
  border-radius: 5px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .34), 0 0 20px rgba(95, 179, 240, .18);
}

.series-profile-hero__glass i:nth-child(1) { left: 8px; }
.series-profile-hero__glass i:nth-child(2) { left: 30px; opacity: calc(.42 + var(--series-rank) * .045); }
.series-profile-hero__glass i:nth-child(3) { left: 52px; opacity: calc(.28 + var(--series-rank) * .055); }

.series-profile-hero__body {
  position: absolute;
  z-index: 2;
  left: calc(50% - 86px);
  bottom: 36px;
  width: 182px;
  height: 148px;
  overflow: hidden;
  background: linear-gradient(145deg, #fff, #dce3e9 62%, #b7c1ca);
  border: 5px solid rgba(255, 255, 255, .86);
  border-radius: 17px 10px 22px 14px;
  box-shadow: 0 28px 50px rgba(0, 0, 0, .32), inset -8px -9px 18px rgba(68, 76, 86, .16);
  transform: skewY(-1deg);
}

.series-profile-hero__body::before,
.series-profile-hero__body::after {
  content: "";
  position: absolute;
  background: #9ba7b2;
}

.series-profile-hero__body::before { left: 44%; top: 0; bottom: 0; width: 5px; }
.series-profile-hero__body::after { left: 0; right: 0; top: 48%; height: 5px; }

.series-profile-hero__body span {
  position: absolute;
  width: 37px;
  height: 40px;
  background: linear-gradient(145deg, #272d35, #12161c);
  border: 4px solid #e3e8ec;
  border-radius: 7px;
  box-shadow: inset 0 0 0 2px rgba(237, 28, 36, .62);
}

.series-profile-hero__body span:nth-child(1) { left: 10px; top: 10px; }
.series-profile-hero__body span:nth-child(2) { left: 53px; top: 10px; }
.series-profile-hero__body span:nth-child(3) { right: 10px; top: 10px; }
.series-profile-hero__body span:nth-child(4) { left: 10px; bottom: 10px; }
.series-profile-hero__body span:nth-child(5) { left: 53px; bottom: 10px; }
.series-profile-hero__body span:nth-child(6) { right: 10px; bottom: 10px; }

.series-profile-hero__body b {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 50%;
  width: 19px;
  height: 19px;
  background: var(--red);
  border: 4px solid #f5f7f8;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 18px rgba(237, 28, 36, .62);
}

.series-dashboard__feature[data-system-type="sliding"] .series-profile-hero__body {
  width: 232px;
  left: calc(50% - 116px);
  border-radius: 15px;
}

.series-dashboard__feature[data-system-type="sliding"] .series-profile-hero__glass {
  left: calc(50% - 82px);
  width: 190px;
}

.series-profile-hero__flows {
  position: absolute;
  z-index: 0;
  top: 92px;
  width: 190px;
  height: 128px;
}

.series-profile-hero__flows i {
  position: absolute;
  top: calc(18px * var(--flow-index, 0));
  width: 160px;
  height: 22px;
  border-top: 2px solid currentColor;
  border-radius: 50%;
  opacity: .64;
  filter: drop-shadow(0 0 7px currentColor);
}

.series-profile-hero__flows i:nth-child(1) { --flow-index: 0; animation-delay: 0s; }
.series-profile-hero__flows i:nth-child(2) { --flow-index: 1; animation-delay: -.8s; }
.series-profile-hero__flows i:nth-child(3) { --flow-index: 2; animation-delay: -1.6s; }

.series-profile-hero__flows--warm {
  left: -25px;
  color: var(--v4-orange);
}

.series-profile-hero__flows--warm i {
  animation: warmFlow 2.7s ease-in-out infinite;
}

.series-profile-hero__flows--cold {
  right: -25px;
  color: var(--v4-cyan);
  transform: scaleX(-1);
}

.series-profile-hero__flows--cold i {
  animation: coldFlow 3s ease-in-out infinite;
}

@keyframes warmFlow {
  0%, 100% { transform: translateX(-14px) scaleX(.76); opacity: .18; }
  45% { transform: translateX(32px) scaleX(1); opacity: .78; }
  70% { transform: translateX(52px) scaleX(.72); opacity: .26; }
}

@keyframes coldFlow {
  0%, 100% { transform: translateX(-20px) scaleX(.72); opacity: .18; }
  50% { transform: translateX(28px) scaleX(1); opacity: .8; }
  74% { transform: translateX(50px) scaleX(.7); opacity: .24; }
}

.series-feature__copy,
.series-feature__metrics,
.series-feature__button {
  position: relative;
  z-index: 2;
}

.series-feature__copy {
  margin-top: auto;
}

.series-feature__copy small {
  color: #ff9096;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.series-feature__copy h3 {
  margin: 7px 0 10px;
  color: #fff;
  font-size: clamp(30px, 3vw, 44px);
  line-height: .98;
  letter-spacing: -.055em;
}

.series-feature__copy p {
  min-height: 62px;
  margin: 0;
  color: rgba(235, 240, 246, .67);
  font-size: 12px;
  line-height: 1.62;
}

.series-feature__metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 21px 0 17px;
}

.series-feature__metrics span {
  min-width: 0;
  padding: 11px 10px;
  background: rgba(255, 255, 255, .065);
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: 13px;
}

.series-feature__metrics small,
.series-feature__metrics b {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.series-feature__metrics small {
  color: rgba(255, 255, 255, .48);
  font-size: 7px;
  text-transform: uppercase;
  letter-spacing: .07em;
}

.series-feature__metrics b {
  margin-top: 4px;
  color: #fff;
  font-size: 11px;
}

.button--light {
  color: #131820;
  background: #fff;
  border-color: rgba(255, 255, 255, .78);
  box-shadow: 0 13px 32px rgba(0, 0, 0, .22);
}

.button--light:hover {
  color: var(--red);
  background: #fff;
}

.series-feature__button {
  width: 100%;
}

.series-dashboard__catalog {
  min-width: 0;
  padding: 28px;
  background:
    radial-gradient(circle at 100% 0%, rgba(237, 28, 36, .045), transparent 20rem),
    rgba(255, 255, 255, .86);
}

.series-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.series-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.series-filters button {
  min-height: 38px;
  padding: 0 13px;
  color: #626b78;
  background: #f4f6f8;
  border: 1px solid #e0e4e9;
  border-radius: 11px;
  font-size: 10px;
  font-weight: 780;
  transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s var(--ease), box-shadow .2s ease;
}

.series-filters button:hover {
  color: #1b2029;
  border-color: #c9d0d8;
  transform: translateY(-1px);
}

.series-filters button.is-active {
  color: #fff;
  background: var(--red);
  border-color: var(--red);
  box-shadow: 0 10px 24px rgba(237, 28, 36, .22);
}

.series-controls__hint {
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 270px;
  color: #7c8490;
  font-size: 9px;
  line-height: 1.4;
}

.series-controls__hint .icon {
  width: 16px;
  height: 16px;
  color: var(--red);
}

.series-rail {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px;
}

.series-rail__empty {
  grid-column: 1 / -1;
  min-height: 220px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  color: #737c89;
  background: #f6f8fa;
  border: 1px dashed #ccd3dc;
  border-radius: 18px;
  font-size: 12px;
}

.series-rail__empty .icon {
  color: var(--red);
}

.series-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  background: #f8f9fb;
  border: 1px solid #e2e6eb;
  border-radius: 19px;
  box-shadow: 0 8px 24px rgba(20, 28, 40, .035);
  transition: transform .24s var(--ease), box-shadow .24s ease, border-color .24s ease, background .24s ease;
}

.series-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  opacity: 0;
  background: linear-gradient(var(--red), #ff6d75);
  transition: opacity .22s ease;
}

.series-card:hover {
  z-index: 2;
  background: #fff;
  border-color: #d1d7df;
  box-shadow: 0 18px 42px rgba(20, 28, 40, .10);
  transform: translateY(-3px);
}

.series-card.is-selected {
  background: linear-gradient(135deg, #fff, #fff5f6);
  border-color: rgba(237, 28, 36, .48);
  box-shadow: 0 17px 42px rgba(237, 28, 36, .12);
}

.series-card.is-selected::before {
  opacity: 1;
}

.series-card__select {
  width: 100%;
  min-width: 0;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) 56px;
  align-items: center;
  gap: 12px;
  padding: 15px 15px 12px;
  color: inherit;
  background: none;
  border: 0;
  text-align: left;
}

.series-card__visual {
  --series-rank: 5;
  position: relative;
  width: 70px;
  height: 76px;
  display: block;
  overflow: hidden;
  background: linear-gradient(145deg, #fff, #e4e9ee);
  border: 1px solid #d9dfe5;
  border-radius: 13px;
  box-shadow: inset -5px -6px 12px rgba(75, 87, 101, .12), 0 9px 18px rgba(23, 31, 43, .08);
}

.series-card__visual::before,
.series-card__visual::after {
  content: "";
  position: absolute;
  z-index: 2;
  background: #9da8b3;
}

.series-card__visual::before { left: 31px; top: 5px; bottom: 5px; width: 3px; }
.series-card__visual::after { left: 5px; right: 5px; top: 36px; height: 3px; }

.series-card__visual i {
  position: absolute;
  z-index: 1;
  top: 4px;
  bottom: 4px;
  width: 3px;
  background: linear-gradient(#8bc6ef, #eaf6ff);
  border-radius: 3px;
}

.series-card__visual i:nth-child(1) { right: 12px; }
.series-card__visual i:nth-child(2) { right: calc(17px + var(--series-rank) * .5px); opacity: .78; }
.series-card__visual i:nth-child(3) { right: calc(26px + var(--series-rank) * .7px); opacity: calc(.12 + var(--series-rank) * .055); }

.series-card__visual b {
  position: absolute;
  z-index: 3;
  left: 10px;
  bottom: 9px;
  width: 18px;
  height: 18px;
  background: #222831;
  border: 3px solid #eff3f6;
  border-radius: 5px;
  box-shadow: inset 0 0 0 2px var(--red);
}

.series-card__visual[data-system-type="sliding"] {
  width: 72px;
  background: linear-gradient(145deg, #f8fbff, #dce8f3);
}

.series-card__visual[data-system-type="sliding"]::before {
  left: 22px;
  box-shadow: 23px 0 0 #9da8b3;
}

.series-card__visual[data-system-type="sliding"] b {
  width: 41px;
  height: 13px;
}

.series-card__copy {
  min-width: 0;
  display: grid;
}

.series-card__copy small {
  overflow: hidden;
  color: #858d98;
  font-size: 7px;
  font-weight: 820;
  letter-spacing: .06em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.series-card__copy strong {
  overflow: hidden;
  margin-top: 4px;
  color: #171b22;
  font-size: 14px;
  line-height: 1.15;
  letter-spacing: -.025em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.series-card__copy em {
  display: -webkit-box;
  min-height: 28px;
  margin-top: 4px;
  overflow: hidden;
  color: #777f8c;
  font-size: 8px;
  line-height: 1.42;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.series-card__score {
  min-width: 0;
  display: grid;
  grid-template-columns: auto auto;
  align-items: baseline;
  justify-content: end;
}

.series-card__score b {
  font-size: 22px;
  line-height: 1;
  letter-spacing: -.05em;
}

.series-card__score small {
  color: #8a929e;
  font-size: 7px;
}

.series-card__score > i {
  grid-column: 1 / -1;
  width: 100%;
  height: 4px;
  margin-top: 6px;
  overflow: hidden;
  background: #e2e7eb;
  border-radius: 999px;
}

.series-card__score > i em {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #f0a038, var(--v4-green));
  border-radius: inherit;
}

.series-card__facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  padding: 0 15px 11px;
}

.series-card__facts span {
  min-width: 0;
  padding: 7px 9px;
  background: rgba(255, 255, 255, .72);
  border: 1px solid #e5e8ec;
  border-radius: 10px;
}

.series-card__facts small,
.series-card__facts b {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.series-card__facts small {
  color: #9097a1;
  font-size: 6px;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.series-card__facts b {
  margin-top: 2px;
  color: #313741;
  font-size: 8px;
}

.series-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 9px 13px;
  background: rgba(241, 244, 247, .72);
  border-top: 1px solid #e5e9ed;
}

.series-source {
  overflow: hidden;
  color: #38815e;
  font-size: 7px;
  font-weight: 770;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.series-source.is-review {
  color: #966315;
}

.series-card__foot button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0;
  color: var(--red);
  background: none;
  border: 0;
  font-size: 8px;
  font-weight: 820;
}

.series-card__foot button .icon {
  width: 13px;
  height: 13px;
  transition: transform .2s ease;
}

.series-card__foot button:hover .icon {
  transform: translateX(3px);
}

.series-dashboard__footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid #e3e7eb;
}

.series-dashboard__footer > div {
  display: flex;
  align-items: flex-start;
  gap: 9px;
}

.series-dashboard__footer > div .icon {
  width: 16px;
  height: 16px;
  color: var(--red);
}

.series-dashboard__footer p {
  max-width: 660px;
  margin: 0;
  color: #7a828e;
  font-size: 9px;
  line-height: 1.55;
}

/* Application-aware opening type */
.solution-type-block {
  margin: 23px 0 2px;
  padding: 20px;
  background:
    radial-gradient(circle at 100% 0%, rgba(237, 28, 36, .07), transparent 19rem),
    linear-gradient(145deg, #f9fafc, #f3f6f9);
  border: 1px solid #dde3e9;
  border-radius: 22px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .92);
}

.subquestion-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 14px;
}

.subquestion-head > div {
  display: grid;
  gap: 3px;
}

.subquestion-head b {
  font-size: 14px;
  letter-spacing: -.02em;
}

.subquestion-head small {
  color: #747d89;
  font-size: 10px;
}

.subquestion-head > span {
  flex: 0 0 auto;
  padding: 5px 8px;
  color: #9a5c00;
  background: #fff5df;
  border: 1px solid #f1d6a0;
  border-radius: 8px;
  font-size: 7px;
  font-weight: 820;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.solution-type-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.solution-type-card {
  position: relative;
  min-width: 0;
}

.solution-type-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.solution-type-card > span {
  min-height: 116px;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  align-content: center;
  gap: 2px 11px;
  padding: 15px;
  background: #fff;
  border: 1px solid #dde2e8;
  border-radius: 16px;
  box-shadow: 0 8px 22px rgba(20, 28, 40, .035);
  transition: border-color .2s ease, background .2s ease, transform .2s var(--ease), box-shadow .2s ease;
}

.solution-type-card:hover > span {
  border-color: #c5ccd5;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(20, 28, 40, .08);
}

.solution-type-card > span > i {
  grid-row: 1 / 3;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: #5c6572;
  background: #f2f4f7;
  border: 1px solid #e0e4e9;
  border-radius: 13px;
  transition: color .2s ease, background .2s ease, transform .25s var(--ease);
}

.solution-type-card b {
  align-self: end;
  font-size: 11px;
  line-height: 1.25;
}

.solution-type-card small {
  align-self: start;
  color: #7b8490;
  font-size: 8px;
  line-height: 1.4;
}

.solution-type-card input:checked + span {
  background: linear-gradient(145deg, #fff, #fff4f5);
  border-color: rgba(237, 28, 36, .64);
  box-shadow: 0 15px 34px rgba(237, 28, 36, .12), inset 0 0 0 1px rgba(237, 28, 36, .08);
}

.solution-type-card input:checked + span > i {
  color: #fff;
  background: var(--red);
  border-color: var(--red);
  box-shadow: 0 10px 23px rgba(237, 28, 36, .24);
  transform: scale(1.04);
}

.solution-type-card input:focus-visible + span {
  outline: 3px solid rgba(60, 145, 255, .32);
  outline-offset: 2px;
}

/* Result option compatibility */
.option-card {
  transition: transform .22s var(--ease), box-shadow .22s ease, border-color .22s ease, background .22s ease;
}

.option-card:hover {
  transform: translateY(-3px);
}

.option-card__compatibility {
  position: absolute;
  top: 18px;
  right: 17px;
  max-width: 44%;
  padding: 5px 8px;
  overflow: hidden;
  color: #23724d;
  background: #e9f8f0;
  border: 1px solid #bfe5d1;
  border-radius: 8px;
  font-size: 7px;
  font-weight: 800;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.option-card__compatibility.is-adaptation {
  color: #84600e;
  background: #fff6df;
  border-color: #efd9a8;
}

.option-card__compatibility.is-not_recommended {
  color: #727986;
  background: #f0f2f4;
  border-color: #d7dce2;
}

.option-card__warning.is-compatibility {
  color: #606975;
  background: #f1f3f5;
  border-color: #d9dee4;
}

.option-card.is-incompatible {
  opacity: .76;
  filter: grayscale(.15);
}

.option-card.is-incompatible:hover {
  transform: none;
  box-shadow: none;
}

.system-studio__selector button.is-incompatible {
  opacity: .48;
  filter: grayscale(.5);
}

/* All-series compatibility map in results */
.catalog-match-section {
  position: relative;
  overflow: hidden;
  margin-top: 14px;
  padding: 30px;
  background:
    radial-gradient(circle at 100% 0%, rgba(237, 28, 36, .075), transparent 24rem),
    linear-gradient(145deg, #fff, #f7f9fb);
  border: 1px solid #dde3e9;
  border-radius: 24px;
  box-shadow: 0 15px 44px rgba(22, 30, 43, .055);
}

.catalog-match-section::before {
  content: "";
  position: absolute;
  top: -130px;
  right: -130px;
  width: 300px;
  height: 300px;
  border: 1px dashed rgba(237, 28, 36, .18);
  border-radius: 50%;
  animation: seriesOrbitSpin 28s linear infinite reverse;
}

.catalog-match-heading {
  position: relative;
  z-index: 1;
  align-items: flex-end;
  gap: 22px;
}

.catalog-match-heading > div {
  max-width: 880px;
}

.catalog-match-heading h3 {
  margin-bottom: 7px;
  font-size: clamp(25px, 2.5vw, 38px);
  letter-spacing: -.045em;
}

.catalog-match-heading p {
  max-width: 810px;
  margin: 0;
  color: #737c89;
  font-size: 11px;
  line-height: 1.62;
}

[data-catalog-toggle].is-active {
  color: #fff;
  background: var(--red);
  border-color: var(--red);
  box-shadow: 0 12px 30px rgba(237, 28, 36, .20);
}

.catalog-match-summary {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 150px minmax(200px, 1fr) minmax(180px, .8fr);
  gap: 9px;
  margin: 22px 0 13px;
}

.catalog-match-summary > span {
  min-width: 0;
  display: grid;
  align-content: center;
  min-height: 68px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, .82);
  border: 1px solid #dfe4e9;
  border-radius: 14px;
}

.catalog-match-summary b,
.catalog-match-summary small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.catalog-match-summary b {
  color: #1a1e25;
  font-size: 14px;
  letter-spacing: -.02em;
}

.catalog-match-summary > span:first-child b {
  color: var(--red);
  font-size: 25px;
}

.catalog-match-summary small {
  margin-top: 2px;
  color: #7d8591;
  font-size: 7px;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.catalog-match-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 9px;
}

.catalog-match-card {
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 14px;
  background: #fff;
  border: 1px solid #e0e5ea;
  border-radius: 17px;
  box-shadow: 0 8px 22px rgba(23, 31, 44, .035);
  transition: transform .22s var(--ease), box-shadow .22s ease, border-color .22s ease, opacity .22s ease;
}

.catalog-match-card:hover {
  z-index: 2;
  border-color: #cbd2db;
  box-shadow: 0 18px 40px rgba(23, 31, 44, .10);
  transform: translateY(-3px);
}

.catalog-match-card.is-recommended {
  background: linear-gradient(145deg, #fff, #fff1f2);
  border-color: rgba(237, 28, 36, .62);
  box-shadow: 0 17px 42px rgba(237, 28, 36, .13);
}

.catalog-match-card.is-not_recommended {
  opacity: .62;
  background: #f4f5f7;
}

.catalog-match-card.is-not_recommended:hover {
  opacity: .9;
}

.catalog-match-card__head {
  min-height: 54px;
  display: grid;
  grid-template-columns: 27px minmax(0, 1fr);
  align-items: start;
  gap: 8px;
}

.catalog-match-card__head > b {
  position: absolute;
  top: 9px;
  right: 9px;
  max-width: 80px;
  padding: 4px 6px;
  overflow: hidden;
  color: #fff;
  background: var(--red);
  border-radius: 7px;
  font-size: 6px;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.catalog-match-card__index {
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  color: #8a929e;
  background: #f1f3f6;
  border-radius: 8px;
  font-size: 7px;
  font-weight: 850;
}

.catalog-match-card__head small {
  display: block;
  overflow: hidden;
  color: #8a929e;
  font-size: 6px;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.catalog-match-card__head h4 {
  margin: 4px 0 0;
  overflow: hidden;
  font-size: 11px;
  line-height: 1.16;
  letter-spacing: -.025em;
  text-overflow: ellipsis;
}

.catalog-match-card__visual {
  --series-rank: 5;
  position: relative;
  width: 96px;
  height: 76px;
  margin: 8px auto 9px;
  background: linear-gradient(145deg, #fafdff, #e4e9ef);
  border: 1px solid #dfe4e9;
  border-radius: 13px;
  box-shadow: inset -7px -7px 13px rgba(73, 84, 98, .11);
}

.catalog-match-card__visual::before,
.catalog-match-card__visual::after {
  content: "";
  position: absolute;
  background: #9da9b4;
}

.catalog-match-card__visual::before { left: 44px; top: 5px; bottom: 5px; width: 3px; }
.catalog-match-card__visual::after { left: 5px; right: 5px; top: 36px; height: 3px; }

.catalog-match-card__visual > span {
  position: absolute;
  top: 4px;
  bottom: 4px;
  width: 3px;
  background: #85c8f4;
  border-radius: 3px;
}

.catalog-match-card__visual > span:nth-child(1) { right: 14px; }
.catalog-match-card__visual > span:nth-child(2) { right: calc(22px + var(--series-rank) * .65px); opacity: .72; }

.catalog-match-card__visual > i {
  position: absolute;
  left: 10px;
  bottom: 9px;
  width: 23px;
  height: 23px;
  background: #222831;
  border: 4px solid #eef2f5;
  border-radius: 6px;
  box-shadow: inset 0 0 0 2px var(--red);
}

.catalog-match-card__visual > b {
  position: absolute;
  left: 42px;
  top: 33px;
  width: 8px;
  height: 8px;
  background: var(--red);
  border: 2px solid #fff;
  border-radius: 50%;
}

.catalog-match-card__visual[data-system-type="sliding"]::before {
  left: 30px;
  box-shadow: 30px 0 #9da9b4;
}

.catalog-match-card__visual[data-system-type="sliding"] > i {
  width: 48px;
  height: 14px;
}

.catalog-match-card__compat {
  display: grid;
  gap: 4px;
}

.catalog-match-card__compat > span,
.catalog-match-card__compat > em {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.catalog-match-card__compat > span {
  width: fit-content;
  max-width: 100%;
  padding: 4px 6px;
  color: #24724e;
  background: #eaf8f1;
  border-radius: 7px;
  font-size: 6px;
  font-weight: 810;
}

.catalog-match-card__compat > span.is-adaptation {
  color: #8a650f;
  background: #fff5df;
}

.catalog-match-card__compat > span.is-not_recommended {
  color: #717985;
  background: #e8ebef;
}

.catalog-match-card__compat > em {
  color: #858d98;
  font-size: 6px;
}

.catalog-match-card__scores {
  display: grid;
  gap: 7px;
  margin-top: 10px;
}

.catalog-match-card__scores > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 6px;
}

.catalog-match-card__scores span {
  overflow: hidden;
  color: #838b96;
  font-size: 6px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.catalog-match-card__scores strong {
  font-size: 8px;
}

.catalog-match-card__scores i {
  grid-column: 1 / -1;
  height: 3px;
  overflow: hidden;
  background: #e5e9ed;
  border-radius: 999px;
}

.catalog-match-card__scores i em {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--red), #ff7077);
  border-radius: inherit;
}

.catalog-match-card__scores > div:last-child i em {
  background: linear-gradient(90deg, #f0a03d, var(--v4-green));
}

.catalog-match-card__facts {
  display: grid;
  gap: 5px;
  margin-top: 10px;
}

.catalog-match-card__facts span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 7px;
  padding: 5px 0;
  border-bottom: 1px solid #edf0f3;
}

.catalog-match-card__facts small {
  overflow: hidden;
  color: #9097a1;
  font-size: 6px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.catalog-match-card__facts b {
  flex: 0 0 auto;
  font-size: 7px;
}

.catalog-match-card__open {
  width: 100%;
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  padding: 0 10px;
  color: #343a45;
  background: #f2f4f6;
  border: 1px solid #e0e4e9;
  border-radius: 9px;
  font-size: 7px;
  font-weight: 800;
  transition: color .2s ease, background .2s ease, border-color .2s ease;
}

.catalog-match-card__open .icon {
  width: 13px;
  height: 13px;
}

.catalog-match-card__open:hover {
  color: #fff;
  background: var(--red);
  border-color: var(--red);
}

.catalog-match-notice {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-top: 13px;
  padding: 11px 13px;
  color: #756448;
  background: #fff8e9;
  border: 1px solid #efdbb5;
  border-radius: 12px;
}

.catalog-match-notice .icon {
  width: 15px;
  height: 15px;
  color: #da8f21;
}

.catalog-match-notice p {
  margin: 0;
  font-size: 8px;
  line-height: 1.5;
}

/* Series detail modal */
.modal-card--series {
  width: min(980px, calc(100vw - 40px));
  overflow: hidden;
  background: #fff;
}

.series-dialog__head {
  position: relative;
  overflow: hidden;
  padding: 24px 28px;
  background:
    radial-gradient(circle at 85% 15%, rgba(237, 28, 36, .10), transparent 16rem),
    #fff;
}

.series-dialog__head::after {
  content: "";
  position: absolute;
  right: 70px;
  bottom: -60px;
  width: 150px;
  height: 150px;
  border: 1px dashed rgba(237, 28, 36, .18);
  border-radius: 50%;
}

.series-dialog__head > div {
  position: relative;
  z-index: 1;
}

.series-dialog__head h2 {
  margin-top: 5px;
  font-size: clamp(28px, 3.5vw, 44px);
  letter-spacing: -.052em;
}

.series-dialog__head p {
  max-width: 670px;
  font-size: 11px;
  line-height: 1.55;
}

.series-dialog__body {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 0;
  padding: 0;
}

.series-dialog__visual {
  --series-rank: 7;
  position: relative;
  min-height: 450px;
  display: grid;
  align-content: center;
  justify-items: center;
  overflow: hidden;
  padding: 30px;
  color: #fff;
  background:
    radial-gradient(circle at 50% 38%, rgba(237, 28, 36, .27), transparent 28%),
    radial-gradient(circle at 8% 82%, rgba(63, 145, 255, .20), transparent 25%),
    linear-gradient(155deg, #171d25, #0f141b);
}

.series-dialog[data-system-type="sliding"] .series-dialog__visual {
  background:
    radial-gradient(circle at 50% 38%, rgba(63, 145, 255, .32), transparent 30%),
    radial-gradient(circle at 8% 82%, rgba(237, 28, 36, .14), transparent 25%),
    linear-gradient(155deg, #151c25, #0e151d);
}

.series-dialog__visual::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .22;
  background-image:
    linear-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .08) 1px, transparent 1px);
  background-size: 28px 28px;
}

.series-dialog-profile {
  position: relative;
  z-index: 1;
  width: 270px;
  height: 270px;
}

.series-dialog-profile::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 12px;
  width: 210px;
  height: 55px;
  background: radial-gradient(ellipse, rgba(237, 28, 36, .28), rgba(60, 145, 255, .12) 46%, transparent 72%);
  border-radius: 50%;
  transform: translateX(-50%);
  animation: profilePlatform 3.6s ease-in-out infinite;
}

.series-dialog-profile__glass {
  position: absolute;
  z-index: 1;
  top: 4px;
  left: 95px;
  width: 130px;
  height: 180px;
}

.series-dialog-profile__glass i {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 5px;
  background: linear-gradient(#fff, #99d2f7);
  border-radius: 4px;
  box-shadow: 0 0 18px rgba(101, 194, 255, .24);
}

.series-dialog-profile__glass i:nth-child(1) { left: 4px; }
.series-dialog-profile__glass i:nth-child(2) { left: 25px; }
.series-dialog-profile__glass i:nth-child(3) { left: 46px; opacity: calc(.16 + var(--series-rank) * .08); }

.series-dialog-profile__body {
  position: absolute;
  z-index: 2;
  left: 42px;
  bottom: 32px;
  width: 186px;
  height: 142px;
  overflow: hidden;
  background: linear-gradient(145deg, #fff, #d7dfe6 65%, #adb8c2);
  border: 5px solid #f7f9fa;
  border-radius: 18px 10px 22px 14px;
  box-shadow: 0 25px 48px rgba(0, 0, 0, .32), inset -7px -8px 14px rgba(61, 72, 83, .15);
}

.series-dialog-profile__body::before,
.series-dialog-profile__body::after {
  content: "";
  position: absolute;
  background: #98a5b0;
}

.series-dialog-profile__body::before { left: 44%; top: 0; bottom: 0; width: 5px; }
.series-dialog-profile__body::after { left: 0; right: 0; top: 48%; height: 5px; }

.series-dialog-profile__body span {
  position: absolute;
  width: 39px;
  height: 39px;
  background: #1f252d;
  border: 4px solid #e3e8ec;
  border-radius: 7px;
  box-shadow: inset 0 0 0 2px var(--red);
}

.series-dialog-profile__body span:nth-child(1) { left: 10px; top: 10px; }
.series-dialog-profile__body span:nth-child(2) { left: 55px; top: 10px; }
.series-dialog-profile__body span:nth-child(3) { right: 10px; top: 10px; }
.series-dialog-profile__body span:nth-child(4) { left: 10px; bottom: 10px; }
.series-dialog-profile__body span:nth-child(5) { left: 55px; bottom: 10px; }
.series-dialog-profile__body span:nth-child(6) { right: 10px; bottom: 10px; }

.series-dialog-profile__body b {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 18px;
  background: var(--red);
  border: 4px solid #f4f7f8;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 18px rgba(237, 28, 36, .62);
}

.series-dialog[data-system-type="sliding"] .series-dialog-profile__body {
  left: 19px;
  width: 232px;
}

.series-dialog-profile__wave {
  position: absolute;
  z-index: 0;
  top: 70px;
  left: -20px;
  right: -20px;
  height: 100px;
}

.series-dialog-profile__wave i {
  position: absolute;
  left: 0;
  right: 0;
  height: 28px;
  border-top: 2px solid rgba(89, 184, 255, .68);
  border-radius: 50%;
  filter: drop-shadow(0 0 7px rgba(89, 184, 255, .72));
  animation: dialogWave 3.2s ease-in-out infinite;
}

.series-dialog-profile__wave i:nth-child(2) { top: 24px; animation-delay: -.9s; }
.series-dialog-profile__wave i:nth-child(3) { top: 48px; animation-delay: -1.8s; }

@keyframes dialogWave {
  0%, 100% { transform: scaleX(.75); opacity: .18; }
  50% { transform: scaleX(1.06); opacity: .76; }
}

.series-dialog-score {
  position: relative;
  z-index: 2;
  width: min(100%, 290px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 4px 12px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, .075);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 15px;
  backdrop-filter: blur(12px);
}

.series-dialog-score > span {
  color: rgba(255, 255, 255, .66);
  font-size: 8px;
  font-weight: 760;
}

.series-dialog-score strong {
  font-size: 13px;
}

.series-dialog-score strong b {
  font-size: 28px;
}

.series-dialog-score > i {
  grid-column: 1 / -1;
  height: 5px;
  overflow: hidden;
  background: rgba(255, 255, 255, .12);
  border-radius: 999px;
}

.series-dialog-score > i em {
  display: block;
  width: var(--series-model-score, 70%);
  height: 100%;
  background: linear-gradient(90deg, #ffac45, #25bd77);
  border-radius: inherit;
  transition: width .6s var(--ease);
}

.series-dialog-score small {
  grid-column: 1 / -1;
  color: rgba(255, 255, 255, .44);
  font-size: 7px;
}

.series-dialog__content {
  display: grid;
  align-content: center;
  gap: 18px;
  padding: 31px;
  background: #fff;
}

.series-dialog-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.series-dialog-badges span {
  padding: 6px 8px;
  color: #4d5662;
  background: #f2f4f6;
  border: 1px solid #e0e4e9;
  border-radius: 8px;
  font-size: 7px;
  font-weight: 800;
}

.series-dialog-badges span:first-child {
  color: #fff;
  background: var(--red);
  border-color: var(--red);
}

.series-dialog-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.series-dialog-facts article {
  min-width: 0;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-height: 82px;
  padding: 12px;
  background: #f6f8fa;
  border: 1px solid #e1e5e9;
  border-radius: 14px;
}

.series-dialog-facts article > span {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: var(--red);
  background: #fff;
  border: 1px solid #e0e4e8;
  border-radius: 11px;
}

.series-dialog-facts article > span .icon {
  width: 17px;
  height: 17px;
}

.series-dialog-facts small,
.series-dialog-facts b {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
}

.series-dialog-facts small {
  color: #858d98;
  font-size: 7px;
  white-space: nowrap;
}

.series-dialog-facts b {
  margin-top: 2px;
  font-size: 11px;
  line-height: 1.25;
}

.series-dialog-purpose,
.series-dialog-disclaimer {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: start;
  gap: 11px;
  padding: 13px;
  border-radius: 14px;
}

.series-dialog-purpose {
  background: #edf8f3;
  border: 1px solid #c6e8d7;
}

.series-dialog-purpose > span,
.series-dialog-disclaimer > .icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
}

.series-dialog-purpose > span {
  color: #118553;
  background: #fff;
  border-radius: 11px;
}

.series-dialog-purpose b {
  font-size: 10px;
}

.series-dialog-purpose p,
.series-dialog-disclaimer p {
  margin: 4px 0 0;
  font-size: 8px;
  line-height: 1.5;
}

.series-dialog-purpose p {
  color: #4e705f;
}

.series-dialog-disclaimer {
  color: #735f42;
  background: #fff8e9;
  border: 1px solid #efdbb4;
}

.series-dialog-disclaimer > .icon {
  padding: 9px;
  color: #dc9121;
  background: #fff;
  border-radius: 11px;
}

.series-dialog-disclaimer p {
  color: #756448;
}

.series-dialog__actions {
  padding: 16px 24px 20px;
  background: #fff;
}

/* Results density and visual refinement */
.results-toolbar h2 {
  letter-spacing: -.055em;
}

.recommendation-hero {
  box-shadow: 0 28px 80px rgba(18, 25, 38, .16);
}

.metric-card,
.result-panel,
.options-section,
.savings-section,
.confidence-section,
.family-section,
.premium-explainer,
.comfort-simulator,
.system-studio {
  box-shadow: 0 14px 40px rgba(20, 28, 40, .045);
}

.option-card h4 {
  font-size: 21px;
}

.option-card > p {
  font-size: 10px;
}

.option-card__metrics span,
.option-card__facts small,
.option-card__notice {
  font-size: 8px;
}

.option-card__metrics b,
.option-card__facts b {
  font-size: 9px;
}

/* Responsive */
@media (max-width: 1180px) {
  .series-dashboard {
    grid-template-columns: 340px minmax(0, 1fr);
  }

  .series-dashboard__feature {
    min-height: 790px;
    padding: 26px;
  }

  .series-dashboard__catalog {
    padding: 22px;
  }

  .series-controls {
    align-items: flex-start;
    flex-direction: column;
  }

  .series-controls__hint {
    max-width: none;
  }

  .series-rail {
    grid-template-columns: 1fr;
  }

  .catalog-match-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .series-section {
    padding: 86px 0 96px;
  }

  .series-heading {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .series-heading__stat {
    width: min(100%, 320px);
    min-height: 120px;
  }

  .series-dashboard {
    grid-template-columns: 1fr;
  }

  .series-dashboard__feature {
    min-height: 620px;
  }

  .series-profile-hero {
    max-width: 430px;
    align-self: center;
  }

  .series-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .solution-type-grid {
    grid-template-columns: 1fr;
  }

  .solution-type-card > span {
    min-height: 88px;
  }

  .catalog-match-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .series-dialog__body {
    grid-template-columns: 1fr;
  }

  .series-dialog__visual {
    min-height: 380px;
  }
}

@media (max-width: 760px) {
  :root {
    --container: 100%;
  }

  .container,
  .site-header__inner {
    width: min(calc(100% - 28px), var(--container));
  }

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

  .hero-lab__telemetry > span {
    min-height: 45px;
  }

  .series-section {
    padding: 72px 0 78px;
  }

  .series-heading {
    margin-bottom: 24px;
  }

  .series-heading h2 {
    font-size: clamp(34px, 11vw, 49px);
  }

  .series-heading p {
    font-size: 13px;
  }

  .series-heading__stat {
    width: 100%;
    min-height: 110px;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    column-gap: 18px;
  }

  .series-heading__stat strong {
    grid-row: 1 / 3;
    font-size: 50px;
  }

  .series-heading__stat span {
    margin-top: 0;
  }

  .series-dashboard {
    margin-inline: -2px;
    border-radius: 27px;
  }

  .series-dashboard__feature {
    min-height: 590px;
    padding: 22px;
  }

  .series-profile-hero {
    min-height: 310px;
    margin-top: 12px;
  }

  .series-profile-hero__glass {
    top: 14px;
    transform: scale(.88) perspective(520px) rotateY(-7deg);
    transform-origin: center bottom;
  }

  .series-profile-hero__body {
    transform: scale(.88) skewY(-1deg);
    transform-origin: center bottom;
  }

  .series-feature__copy h3 {
    font-size: 34px;
  }

  .series-feature__metrics {
    gap: 6px;
  }

  .series-feature__metrics span {
    padding: 9px 7px;
  }

  .series-dashboard__catalog {
    padding: 18px 14px 20px;
  }

  .series-filters {
    width: 100%;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 3px;
    scrollbar-width: none;
  }

  .series-filters::-webkit-scrollbar {
    display: none;
  }

  .series-filters button {
    flex: 0 0 auto;
  }

  .series-rail {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 2px 2px 12px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .series-rail::-webkit-scrollbar {
    display: none;
  }

  .series-card {
    flex: 0 0 min(88vw, 355px);
    scroll-snap-align: center;
  }

  .series-dashboard__footer {
    grid-template-columns: 1fr;
  }

  .series-dashboard__footer .button {
    width: 100%;
  }

  .solution-type-block {
    padding: 15px;
  }

  .subquestion-head {
    flex-direction: column;
    gap: 8px;
  }

  .solution-type-card > span {
    min-height: 84px;
  }

  .catalog-match-section {
    padding: 21px 15px;
    border-radius: 21px;
  }

  .catalog-match-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .catalog-match-heading .button {
    width: 100%;
  }

  .catalog-match-summary {
    grid-template-columns: 1fr 1fr;
  }

  .catalog-match-summary > span:last-child {
    grid-column: 1 / -1;
  }

  .catalog-match-grid {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 2px 2px 12px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .catalog-match-grid::-webkit-scrollbar {
    display: none;
  }

  .catalog-match-card {
    flex: 0 0 min(78vw, 280px);
    scroll-snap-align: center;
  }

  .modal-card--series {
    width: min(100%, 620px);
  }

  .series-dialog__head {
    padding: 21px 20px;
  }

  .series-dialog__visual {
    min-height: 345px;
    padding: 18px;
  }

  .series-dialog-profile {
    transform: scale(.86);
    margin-block: -15px;
  }

  .series-dialog__content {
    padding: 21px 18px;
  }

  .series-dialog-facts {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-lab__telemetry {
    margin-inline: 10px;
  }

  .series-heading__stat {
    padding: 18px;
  }

  .series-dashboard__feature {
    min-height: 565px;
    padding: 19px;
  }

  .series-feature__top span {
    font-size: 8px;
  }

  .series-profile-hero {
    min-height: 295px;
    margin-inline: -15px;
  }

  .series-profile-hero__flows {
    width: 150px;
  }

  .series-feature__metrics {
    grid-template-columns: 1fr;
  }

  .series-feature__metrics span {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
  }

  .series-feature__metrics b {
    margin-top: 0;
  }

  .series-card {
    flex-basis: 88vw;
  }

  .series-card__select {
    grid-template-columns: 64px minmax(0, 1fr) 48px;
    gap: 9px;
    padding-inline: 12px;
  }

  .series-card__visual {
    width: 62px;
  }

  .series-card__copy strong {
    font-size: 13px;
  }

  .catalog-match-summary {
    grid-template-columns: 1fr;
  }

  .catalog-match-summary > span:last-child {
    grid-column: auto;
  }

  .catalog-match-card {
    flex-basis: 82vw;
  }

  .series-dialog__visual {
    min-height: 320px;
  }

  .series-dialog-profile {
    transform: scale(.76);
    margin-block: -30px;
  }

  .series-dialog-score {
    margin-top: -12px;
  }

  .series-dialog__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .series-dialog__actions .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .series-orbit,
  .series-feature__ambient i,
  .series-profile-hero::before,
  .series-profile-hero__flows i,
  .series-dialog-profile::after,
  .series-dialog-profile__wave i,
  .hero-lab__telemetry i {
    animation: none !important;
  }

  .series-card,
  .catalog-match-card,
  .solution-type-card > span,
  .series-profile-hero {
    transition-duration: .01ms !important;
  }
}

@media print {
  .series-section,
  .catalog-match-section,
  .solution-type-block,
  .series-dialog {
    display: none !important;
  }
}

/* 0.4.0 final interaction guard */
.button,
.primary-button,
.secondary-button,
.hero-primary,
.hero-secondary {
  position: relative;
}

/* 0.4.0 catalogue density refinement: keep all ten systems visible without an oversized feature column. */
.series-feature__ambient i:nth-child(3) {
  left: auto;
  background: rgba(89, 168, 255, .14);
  border-color: rgba(111, 187, 255, .24);
  box-shadow: 0 0 42px rgba(75, 157, 255, .16);
}

@media (min-width: 1240px) {
  .series-rail {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .series-card__select {
    grid-template-columns: 58px minmax(0, 1fr) 43px;
    gap: 9px;
    padding: 12px 11px 10px;
  }

  .series-card__visual,
  .series-card__visual[data-system-type="sliding"] {
    width: 57px;
    height: 64px;
    border-radius: 11px;
  }

  .series-card__visual::before { left: 25px; }
  .series-card__visual::after { top: 30px; }
  .series-card__visual i:nth-child(1) { right: 8px; }
  .series-card__visual i:nth-child(2) { right: calc(12px + var(--series-rank) * .35px); }
  .series-card__visual i:nth-child(3) { right: calc(19px + var(--series-rank) * .48px); }
  .series-card__visual b { left: 7px; bottom: 7px; width: 15px; height: 15px; }
  .series-card__visual[data-system-type="sliding"]::before { left: 17px; box-shadow: 19px 0 0 #9da8b3; }
  .series-card__visual[data-system-type="sliding"] b { width: 34px; height: 11px; }

  .series-card__copy strong { font-size: 12px; }
  .series-card__copy em { min-height: 25px; font-size: 7px; }
  .series-card__score b { font-size: 18px; }
  .series-card__facts { padding: 0 11px 9px; }
  .series-card__foot { padding: 8px 10px; }
  .series-dashboard__feature { min-height: 880px; }
}

/* 0.4.0 release polish: keep the light series-dialog header readable after the earlier dark prototype layer. */
.series-dialog__head {
  color: var(--ink);
}

.series-dialog__head h2 {
  color: #11161d;
}

.series-dialog__head p {
  color: #687280;
}

.series-dialog__head .modal-close {
  color: #4f5864;
  background: rgba(255, 255, 255, .84);
  border-color: rgba(23, 29, 37, .09);
  box-shadow: 0 8px 22px rgba(19, 27, 38, .08);
}

/* Sticky-header anchor alignment */
#how,
#series,
#advisor,
#technology,
#methodology {
  scroll-margin-top: 98px;
}

@media (max-width: 760px) {
  #how,
  #series,
  #advisor,
  #technology,
  #methodology {
    scroll-margin-top: 78px;
  }
}

/* ========================================================================== 
   AKFA Energy 0.5.0 — usability, comparison workspace and visual refinement
   ========================================================================== */

:root {
  --v5-red: #ed1c24;
  --v5-red-dark: #c91019;
  --v5-graphite: #151922;
  --v5-graphite-soft: #222833;
  --v5-blue: #4396ff;
  --v5-cyan: #79d5ff;
  --v5-orange: #ff9d42;
  --v5-green: #12a665;
  --v5-panel: rgba(255, 255, 255, .88);
  --v5-border: rgba(124, 137, 153, .20);
  --v5-shadow: 0 28px 88px rgba(21, 28, 40, .13);
  --v5-shadow-soft: 0 15px 42px rgba(21, 28, 40, .075);
}

body {
  background:
    radial-gradient(circle at 9% 3%, rgba(237, 28, 36, .06), transparent 30rem),
    radial-gradient(circle at 93% 21%, rgba(67, 150, 255, .065), transparent 34rem),
    linear-gradient(180deg, #f5f7f9 0%, #eef1f5 100%);
}

::selection {
  color: #fff;
  background: var(--v5-red);
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(67, 150, 255, .28);
  outline-offset: 3px;
}

.site-header {
  background: rgba(249, 250, 252, .84);
  backdrop-filter: blur(24px) saturate(1.15);
}

.site-header.is-scrolled {
  background: rgba(249, 250, 252, .94);
  box-shadow: 0 15px 40px rgba(15, 22, 32, .09);
}

.desktop-nav a {
  position: relative;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  right: 50%;
  bottom: -10px;
  height: 2px;
  background: var(--v5-red);
  border-radius: 999px;
  transition: left .25s var(--ease), right .25s var(--ease);
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after {
  left: 0;
  right: 0;
}

/* Hero: richer depth without adding image weight */
.hero {
  min-height: 750px;
  background:
    radial-gradient(circle at 73% 18%, rgba(237, 28, 36, .13), transparent 31%),
    radial-gradient(circle at 84% 78%, rgba(67, 150, 255, .14), transparent 32%),
    linear-gradient(135deg, #fbfcfd 0%, #edf1f6 58%, #faeef1 100%);
}

.hero__layout {
  gap: clamp(44px, 5.5vw, 88px);
}

.hero h1 {
  max-width: 760px;
  line-height: .95;
  letter-spacing: -.066em;
}

.hero__lead {
  max-width: 670px;
  font-size: clamp(16px, 1.25vw, 19px);
  line-height: 1.62;
}

.hero-lab {
  transform-style: preserve-3d;
  transition: transform .45s var(--ease), box-shadow .45s ease;
}

.hero-lab:hover {
  transform: translateY(-5px);
  box-shadow: 0 42px 124px rgba(18, 25, 38, .20), inset 0 1px 0 rgba(255, 255, 255, .9);
}

.climate-scene {
  isolation: isolate;
  overflow: hidden;
}

.climate-scene::after {
  content: "";
  position: absolute;
  z-index: 8;
  top: -30%;
  bottom: -30%;
  left: -24%;
  width: 14%;
  opacity: .58;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .84), transparent);
  filter: blur(4px);
  transform: skewX(-13deg);
  animation: v5SceneScan 7.8s ease-in-out infinite;
  pointer-events: none;
}

.hero-lab:hover .scene-window {
  transform: translateY(-3px) scale(1.018);
}

.scene-window {
  transition: transform .5s var(--ease);
}

@keyframes v5SceneScan {
  0%, 26% { left: -24%; opacity: 0; }
  36% { opacity: .55; }
  64% { opacity: .55; }
  76%, 100% { left: 116%; opacity: 0; }
}

/* Series heading and toolbar */
.series-heading__tools {
  display: grid;
  align-content: start;
  gap: 12px;
}

.series-heading__compare {
  width: 100%;
  min-height: 48px;
  justify-content: space-between;
  padding-inline: 17px;
  border-color: rgba(237, 28, 36, .16);
}

.series-heading__compare b,
.series-compare-inline b {
  min-width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--v5-red);
  border-radius: 999px;
  font-size: 11px;
}

.series-controls {
  display: grid;
  gap: 13px;
  margin-bottom: 16px;
}

.series-controls__primary,
.series-controls__secondary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.series-controls__primary {
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(157, 167, 180, .18);
}

.series-controls__secondary {
  min-height: 38px;
}

.series-search {
  position: relative;
  width: min(100%, 258px);
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 9px 0 13px;
  color: #68727f;
  background: rgba(255, 255, 255, .86);
  border: 1px solid rgba(159, 168, 181, .28);
  border-radius: 13px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 6px 18px rgba(20, 28, 39, .045);
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.series-search:focus-within {
  color: var(--v5-red);
  background: #fff;
  border-color: rgba(237, 28, 36, .4);
  box-shadow: 0 0 0 4px rgba(237, 28, 36, .08), 0 10px 28px rgba(20, 28, 39, .07);
}

.series-search .icon {
  width: 17px;
  height: 17px;
}

.series-search input {
  width: 100%;
  min-width: 0;
  height: 40px;
  padding: 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  outline: 0;
  font-size: 12px;
  font-weight: 650;
}

.series-search input::-webkit-search-cancel-button {
  display: none;
}

.series-search > button {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  padding: 0;
  color: #78818d;
  background: #eef1f4;
  border: 0;
  border-radius: 9px;
}

.series-search > button:hover {
  color: var(--ink);
  background: #e4e8ed;
}

.series-search > button .icon {
  width: 14px;
  height: 14px;
}

.series-compare-inline {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  color: var(--ink);
  background: rgba(255, 255, 255, .78);
  border: 1px solid rgba(160, 170, 183, .25);
  border-radius: 11px;
  font-size: 10px;
  font-weight: 800;
  transition: transform .2s var(--ease), border-color .2s ease, box-shadow .2s ease;
}

.series-compare-inline:hover:not(:disabled) {
  transform: translateY(-1px);
  border-color: rgba(237, 28, 36, .28);
  box-shadow: 0 8px 22px rgba(20, 28, 39, .07);
}

.series-compare-inline .icon {
  width: 16px;
  height: 16px;
  color: var(--v5-red);
}

/* Series cards: larger, more readable, clearly interactive */
.series-card {
  overflow: hidden;
  border-color: rgba(148, 158, 171, .22);
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(19, 27, 38, .045);
}

.series-card:hover {
  transform: translateY(-4px);
  border-color: rgba(237, 28, 36, .22);
  box-shadow: 0 18px 46px rgba(19, 27, 38, .09);
}

.series-card.is-selected {
  border-color: rgba(237, 28, 36, .62);
  box-shadow: 0 18px 50px rgba(237, 28, 36, .11);
}

.series-card.is-compared {
  border-color: rgba(67, 150, 255, .55);
  box-shadow: 0 16px 42px rgba(67, 150, 255, .11);
}

.series-card.is-selected.is-compared {
  border-color: rgba(237, 28, 36, .7);
  box-shadow: 0 18px 52px rgba(237, 28, 36, .12), 0 0 0 3px rgba(67, 150, 255, .08);
}

.series-card__copy em {
  display: -webkit-box;
  min-height: 35px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-height: 1.45;
}

.series-card__foot {
  gap: 8px;
}

.series-card__foot > div {
  display: flex;
  align-items: center;
  gap: 5px;
}

.series-card__foot button {
  position: relative;
}

.series-card__compare,
.series-card__open {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0 8px;
  border: 1px solid transparent;
  border-radius: 9px;
  font-size: 8px;
  font-weight: 820;
  white-space: nowrap;
  transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s var(--ease);
}

.series-card__compare {
  color: #65707d;
  background: #f0f3f6;
}

.series-card__compare:hover,
.series-card__compare.is-active {
  color: #175f9f;
  background: #e9f4ff;
  border-color: rgba(67, 150, 255, .24);
}

.series-card__compare.is-active {
  color: #fff;
  background: #2f87e8;
}

.series-card__open {
  color: var(--v5-red);
  background: rgba(237, 28, 36, .055);
}

.series-card__open:hover {
  color: #fff;
  background: var(--v5-red);
}

.series-card__compare:hover,
.series-card__open:hover {
  transform: translateY(-1px);
}

.series-card__compare .icon,
.series-card__open .icon {
  width: 13px;
  height: 13px;
}

.series-rail__empty {
  min-height: 250px;
  grid-column: 1 / -1;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 12px;
  color: #737d8a;
  background: linear-gradient(145deg, rgba(255, 255, 255, .78), rgba(242, 245, 248, .9));
  border: 1px dashed rgba(151, 162, 177, .38);
  border-radius: 18px;
  text-align: center;
  font-size: 13px;
}

.series-rail__empty .icon {
  width: 32px;
  height: 32px;
  color: var(--v5-red);
}

/* Comparison shelf */
.series-compare-shelf {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(230px, .9fr) minmax(260px, 1.35fr) auto;
  align-items: center;
  gap: 18px;
  margin-top: 16px;
  padding: 15px 16px;
  color: #fff;
  background:
    radial-gradient(circle at 90% 20%, rgba(67, 150, 255, .24), transparent 18rem),
    linear-gradient(125deg, #171c25 0%, #232a36 100%);
  border: 1px solid rgba(255, 255, 255, .11);
  border-radius: 18px;
  box-shadow: 0 18px 42px rgba(17, 24, 34, .18);
  animation: v5ShelfIn .36s var(--ease) both;
}

.series-compare-shelf::after {
  content: "";
  position: absolute;
  right: -54px;
  bottom: -74px;
  width: 190px;
  height: 190px;
  border: 1px solid rgba(237, 28, 36, .28);
  border-radius: 50%;
  pointer-events: none;
}

.series-compare-shelf__copy,
.series-compare-shelf__actions,
.series-compare-shelf__items {
  position: relative;
  z-index: 1;
}

.series-compare-shelf__copy {
  display: flex;
  align-items: center;
  gap: 11px;
}

.series-compare-shelf__copy > span {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(145deg, var(--v5-red), #ff4a51);
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(237, 28, 36, .27);
}

.series-compare-shelf__copy p {
  min-width: 0;
  margin: 0;
}

.series-compare-shelf__copy b,
.series-compare-shelf__copy small {
  display: block;
}

.series-compare-shelf__copy b {
  font-size: 12px;
}

.series-compare-shelf__copy small {
  margin-top: 2px;
  color: rgba(255, 255, 255, .6);
  font-size: 8px;
  line-height: 1.45;
}

.series-compare-shelf__items {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.series-compare-shelf__items button {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 8px 0 11px;
  color: #fff;
  background: rgba(255, 255, 255, .09);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 10px;
  font-size: 9px;
  font-weight: 760;
}

.series-compare-shelf__items button:hover {
  background: rgba(255, 255, 255, .15);
}

.series-compare-shelf__items .icon {
  width: 13px;
  height: 13px;
  opacity: .72;
}

.series-compare-shelf__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.series-compare-shelf__actions .text-button {
  color: rgba(255, 255, 255, .62);
  font-size: 9px;
}

.series-compare-shelf__actions .text-button:hover {
  color: #fff;
}

.series-compare-shelf__actions .button {
  min-height: 42px;
  padding-inline: 15px;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 9px 25px rgba(0, 0, 0, .16);
  font-size: 10px;
}

@keyframes v5ShelfIn {
  from { opacity: 0; transform: translateY(10px) scale(.985); }
  to { opacity: 1; transform: none; }
}

/* Side-by-side comparison dialog */
.modal-card--comparison {
  width: min(calc(100vw - 36px), 1180px);
  max-height: min(92vh, 920px);
  overflow: hidden;
  background: #f7f8fa;
}

.series-comparison {
  overflow: auto;
  padding: 22px 24px 28px;
  background:
    radial-gradient(circle at 94% 6%, rgba(237, 28, 36, .07), transparent 20rem),
    linear-gradient(180deg, #f8f9fb, #f1f4f7);
}

.series-comparison__empty {
  min-height: 380px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  text-align: center;
}

.series-comparison__empty > span {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  color: var(--v5-red);
  background: #fff;
  border: 1px solid rgba(237, 28, 36, .14);
  border-radius: 20px;
  box-shadow: var(--v5-shadow-soft);
}

.series-comparison__empty h3,
.series-comparison__empty p {
  margin: 0;
}

.series-comparison__empty h3 {
  font-size: 24px;
  letter-spacing: -.04em;
}

.series-comparison__empty p {
  max-width: 420px;
  color: #737d89;
  font-size: 13px;
}

.series-comparison__systems {
  display: grid;
  grid-template-columns: repeat(var(--compare-columns), minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}

.series-comparison__system {
  position: relative;
  min-width: 0;
  overflow: hidden;
  padding: 17px;
  background: rgba(255, 255, 255, .94);
  border: 1px solid rgba(145, 156, 170, .22);
  border-radius: 20px;
  box-shadow: 0 14px 38px rgba(20, 28, 40, .065);
}

.series-comparison__system::after {
  content: "";
  position: absolute;
  top: -72px;
  right: -62px;
  width: 170px;
  height: 170px;
  background: radial-gradient(circle, rgba(237, 28, 36, .12), transparent 67%);
  border-radius: 50%;
}

.series-comparison__system > button {
  position: absolute;
  z-index: 3;
  top: 11px;
  right: 11px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  color: #7a8491;
  background: #f0f3f6;
  border: 0;
  border-radius: 10px;
}

.series-comparison__system > button:hover {
  color: #fff;
  background: var(--v5-red);
}

.series-comparison__system > button .icon {
  width: 14px;
  height: 14px;
}

.series-comparison__visual {
  position: relative;
  width: 94px;
  height: 96px;
  margin-bottom: 12px;
  background: linear-gradient(145deg, #eef3f8, #dce5ee);
  border: 1px solid rgba(141, 156, 172, .25);
  border-radius: 18px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 12px 28px rgba(24, 34, 47, .09);
}

.series-comparison__visual::before,
.series-comparison__visual::after {
  content: "";
  position: absolute;
  background: #9faab5;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .72);
}

.series-comparison__visual::before {
  left: 42px;
  top: 8px;
  bottom: 8px;
  width: 5px;
}

.series-comparison__visual::after {
  left: 8px;
  right: 8px;
  top: 44px;
  height: 5px;
}

.series-comparison__visual i {
  position: absolute;
  top: 7px;
  bottom: 7px;
  width: 4px;
  background: linear-gradient(#7fd6ff, #3c9cff);
  border-radius: 4px;
  box-shadow: 0 0 13px rgba(67, 150, 255, .22);
}

.series-comparison__visual i:nth-child(1) { right: 10px; }
.series-comparison__visual i:nth-child(2) { right: calc(19px + var(--series-rank) * .38px); opacity: .75; }
.series-comparison__visual i:nth-child(3) { right: calc(28px + var(--series-rank) * .48px); opacity: .45; }

.series-comparison__visual b {
  position: absolute;
  left: 11px;
  bottom: 10px;
  width: 23px;
  height: 23px;
  background: #202630;
  border: 3px solid var(--v5-red);
  border-radius: 5px;
  box-shadow: -16px 0 0 -10px var(--v5-red), 16px 0 0 -10px var(--v5-red);
}

.series-comparison__visual[data-system-type="sliding"]::before {
  left: 27px;
  box-shadow: 34px 0 0 #9faab5;
}

.series-comparison__visual[data-system-type="sliding"] b {
  width: 48px;
  height: 15px;
}

.series-comparison__system > small {
  color: var(--v5-red);
  font-size: 8px;
  font-weight: 850;
  letter-spacing: .055em;
  text-transform: uppercase;
}

.series-comparison__system h3 {
  margin: 4px 0 5px;
  font-size: clamp(18px, 1.7vw, 27px);
  line-height: 1.02;
  letter-spacing: -.05em;
}

.series-comparison__system > p {
  min-height: 38px;
  margin: 0 0 13px;
  color: #707986;
  font-size: 10px;
  line-height: 1.48;
}

.series-comparison__score {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 5px 12px;
  padding-top: 11px;
  border-top: 1px solid #e8ebef;
}

.series-comparison__score > span {
  color: #7d8793;
  font-size: 8px;
}

.series-comparison__score strong {
  color: var(--v5-green);
  font-size: 24px;
  line-height: 1;
}

.series-comparison__score strong small {
  color: #8b949e;
  font-size: 8px;
}

.series-comparison__score > i {
  grid-column: 1 / -1;
  height: 5px;
  overflow: hidden;
  background: #edf0f3;
  border-radius: 999px;
}

.series-comparison__score > i em {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #f4b333, var(--v5-green));
  border-radius: inherit;
}

.series-comparison__labels {
  display: grid;
  grid-template-columns: auto minmax(28px, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 0 4px 8px;
  color: #7c8591;
  font-size: 8px;
  font-weight: 850;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.series-comparison__labels i {
  height: 1px;
  background: linear-gradient(90deg, #d7dce2, transparent, #d7dce2);
}

.series-comparison__table {
  overflow: hidden;
  background: rgba(255, 255, 255, .92);
  border: 1px solid rgba(145, 156, 170, .22);
  border-radius: 18px;
  box-shadow: 0 12px 34px rgba(20, 28, 40, .055);
}

.series-comparison__row {
  display: grid;
  grid-template-columns: minmax(150px, .8fr) repeat(var(--compare-columns), minmax(130px, 1fr));
  min-height: 52px;
  border-bottom: 1px solid #edf0f3;
}

.series-comparison__row:last-child {
  border-bottom: 0;
}

.series-comparison__row.is-model-start {
  border-top: 5px solid #f0f3f6;
}

.series-comparison__row > span,
.series-comparison__row > b {
  min-width: 0;
  display: flex;
  align-items: center;
  padding: 11px 14px;
}

.series-comparison__row > span {
  color: #747e8b;
  background: #f7f8fa;
  font-size: 9px;
  font-weight: 700;
}

.series-comparison__row > b {
  justify-content: center;
  border-left: 1px solid #edf0f3;
  font-size: 11px;
  text-align: center;
}

.series-comparison__row.is-model-start ~ .series-comparison__row > b,
.series-comparison__row.is-model-start > b {
  color: #0d8c55;
}

.series-comparison__notice {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-top: 13px;
  padding: 12px 14px;
  color: #68583c;
  background: #fff8e9;
  border: 1px solid #eedbb5;
  border-radius: 13px;
}

.series-comparison__notice .icon {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  color: #d98a18;
}

.series-comparison__notice p {
  margin: 0;
  font-size: 9px;
  line-height: 1.5;
}

.series-comparison__actions {
  background: #fff;
}

/* Wizard context ribbon */
.advisor-context-ribbon {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
  gap: 7px;
  padding: 9px;
  background: rgba(255, 255, 255, .83);
  border: 1px solid rgba(147, 158, 172, .22);
  border-top: 0;
  box-shadow: 0 15px 38px rgba(20, 28, 40, .055);
  backdrop-filter: blur(18px);
}

.advisor-context-ribbon > button {
  min-width: 0;
  min-height: 52px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 9px;
  padding: 7px 10px;
  text-align: left;
  background: rgba(247, 249, 251, .84);
  border: 1px solid transparent;
  border-radius: 13px;
  transition: transform .2s var(--ease), background .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.advisor-context-ribbon > button:hover {
  z-index: 2;
  transform: translateY(-2px);
  background: #fff;
  border-color: rgba(237, 28, 36, .19);
  box-shadow: 0 10px 25px rgba(20, 28, 40, .075);
}

.advisor-context-ribbon > button > span {
  grid-row: 1 / 3;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: var(--v5-red);
  background: #fff0f1;
  border-radius: 10px;
}

.advisor-context-ribbon > button > span .icon {
  width: 16px;
  height: 16px;
}

.advisor-context-ribbon small,
.advisor-context-ribbon b {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.advisor-context-ribbon small {
  align-self: end;
  color: #929aa5;
  font-size: 8px;
  font-weight: 720;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.advisor-context-ribbon b {
  align-self: start;
  font-size: 10px;
}

.advisor-autosave {
  min-width: 155px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 13px;
  color: #718071;
  background: #edf8f2;
  border: 1px solid #d7ede0;
  border-radius: 13px;
  font-size: 8px;
  font-weight: 720;
  text-align: center;
}

.advisor-autosave > i {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  background: var(--v5-green);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(18, 166, 101, .10);
}

.advisor-autosave.is-saving > i {
  background: var(--v5-orange);
  box-shadow: 0 0 0 5px rgba(255, 157, 66, .10);
  animation: telemetryPulse 1s ease-in-out infinite;
}

.advisor-layout {
  border-top: 1px solid rgba(150, 160, 174, .18);
}

.advisor-main,
.advisor-live {
  min-width: 0;
}

.advisor-live {
  position: sticky;
  top: 112px;
  align-self: start;
}

.question-step.is-active {
  animation: v5StepIn .34s var(--ease) both;
}

@keyframes v5StepIn {
  from { opacity: 0; transform: translateX(12px); }
  to { opacity: 1; transform: none; }
}

/* Results: clear internal navigation and less cognitive overload */
.result-section-nav {
  position: sticky;
  z-index: 18;
  top: 89px;
  display: flex;
  align-items: center;
  gap: 5px;
  margin: 0 0 16px;
  padding: 7px;
  overflow-x: auto;
  background: rgba(255, 255, 255, .88);
  border: 1px solid rgba(148, 158, 171, .22);
  border-radius: 16px;
  box-shadow: 0 14px 38px rgba(20, 28, 40, .085);
  backdrop-filter: blur(22px);
  scrollbar-width: none;
}

.result-section-nav::-webkit-scrollbar {
  display: none;
}

.result-section-nav a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  flex: 1 0 auto;
  padding: 0 12px;
  color: #68727f;
  border-radius: 11px;
  text-decoration: none;
  font-size: 9px;
  font-weight: 780;
  transition: color .2s ease, background .2s ease, transform .2s var(--ease), box-shadow .2s ease;
}

.result-section-nav a:hover {
  color: var(--ink);
  background: #f2f4f7;
}

.result-section-nav a.is-active {
  color: #fff;
  background: linear-gradient(135deg, var(--v5-red), #ff434b);
  box-shadow: 0 9px 23px rgba(237, 28, 36, .23);
}

.result-section-nav .icon {
  width: 15px;
  height: 15px;
}

#result-overview,
#options,
#catalog-match,
#system-studio,
#savings,
#result-actions {
  scroll-margin-top: 156px;
}

.recommendation-hero {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .7);
  box-shadow: 0 34px 96px rgba(18, 25, 38, .16);
}

.recommendation-hero::after {
  content: "";
  position: absolute;
  z-index: 1;
  top: -35%;
  left: -15%;
  width: 14%;
  height: 180%;
  opacity: .32;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .9), transparent);
  transform: skewX(-14deg);
  animation: v5ResultScan 9s ease-in-out infinite;
  pointer-events: none;
}

.recommendation-hero > * {
  position: relative;
  z-index: 2;
}

@keyframes v5ResultScan {
  0%, 35% { left: -15%; opacity: 0; }
  43% { opacity: .36; }
  68% { opacity: .36; }
  78%, 100% { left: 112%; opacity: 0; }
}

.metric-grid article {
  border: 1px solid rgba(148, 158, 171, .18);
  box-shadow: 0 13px 35px rgba(20, 28, 40, .045);
  transition: transform .25s var(--ease), box-shadow .25s ease, border-color .25s ease;
}

.metric-grid article:hover {
  transform: translateY(-4px);
  border-color: rgba(237, 28, 36, .16);
  box-shadow: 0 20px 48px rgba(20, 28, 40, .085);
}

.result-panel,
.options-section,
.catalog-match-section,
.system-studio,
.premium-explainer,
.savings-section,
.confidence-section,
.result-cta {
  scroll-margin-top: 156px;
}

.result-dock {
  border-color: rgba(255, 255, 255, .7);
  box-shadow: 0 24px 75px rgba(14, 21, 31, .23), inset 0 1px 0 rgba(255, 255, 255, .9);
}

/* Mobile bottom navigation */
.mobile-bottom-nav {
  display: none;
}

/* Desktop catalogue density: two readable cards instead of three cramped ones */
@media (min-width: 1181px) {
  .series-dashboard {
    grid-template-columns: minmax(360px, 405px) minmax(0, 1fr);
  }

  .series-dashboard__feature {
    min-height: 790px;
  }

  .series-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .series-card__select {
    grid-template-columns: 72px minmax(0, 1fr) 52px;
    gap: 12px;
    padding: 14px 13px 11px;
  }

  .series-card__visual,
  .series-card__visual[data-system-type="sliding"] {
    width: 70px;
    height: 74px;
    border-radius: 14px;
  }

  .series-card__visual::before { left: 31px; }
  .series-card__visual::after { top: 35px; }
  .series-card__visual i:nth-child(1) { right: 9px; }
  .series-card__visual i:nth-child(2) { right: calc(15px + var(--series-rank) * .42px); }
  .series-card__visual i:nth-child(3) { right: calc(23px + var(--series-rank) * .55px); }
  .series-card__visual b { left: 8px; bottom: 8px; width: 18px; height: 18px; }
  .series-card__visual[data-system-type="sliding"]::before { left: 21px; box-shadow: 25px 0 0 #9da8b3; }
  .series-card__visual[data-system-type="sliding"] b { width: 42px; height: 13px; }

  .series-card__copy strong { font-size: 14px; }
  .series-card__copy em { font-size: 8px; }
  .series-card__score b { font-size: 20px; }
  .series-card__facts { padding: 0 13px 10px; }
  .series-card__foot { padding: 9px 11px; }
}

@media (max-width: 1180px) {
  .series-heading__tools {
    justify-items: start;
  }

  .series-heading__compare {
    width: min(100%, 320px);
  }

  .series-controls__primary,
  .series-controls__secondary {
    align-items: flex-start;
    flex-direction: column;
  }

  .series-search {
    width: 100%;
    max-width: none;
  }

  .series-compare-shelf {
    grid-template-columns: 1fr auto;
  }

  .series-compare-shelf__copy {
    grid-column: 1 / -1;
  }

  .advisor-context-ribbon {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .advisor-autosave {
    grid-column: 1 / -1;
    min-height: 38px;
  }
}

@media (max-width: 980px) {
  .hero-lab:hover {
    transform: none;
  }

  .series-heading__tools {
    width: 100%;
  }

  .series-heading__compare {
    width: 100%;
  }

  .series-compare-shelf {
    grid-template-columns: 1fr;
  }

  .series-compare-shelf__copy,
  .series-compare-shelf__items,
  .series-compare-shelf__actions {
    grid-column: auto;
  }

  .series-compare-shelf__actions {
    justify-content: flex-end;
  }

  .advisor-context-ribbon {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .advisor-autosave {
    grid-column: 1 / -1;
  }

  .advisor-live {
    position: relative;
    top: auto;
  }

  .series-comparison__row {
    grid-template-columns: minmax(130px, .7fr) repeat(var(--compare-columns), minmax(120px, 1fr));
  }
}

@media (max-width: 760px) {
  body {
    padding-bottom: calc(76px + env(safe-area-inset-bottom));
  }

  body.has-result-dock {
    padding-bottom: calc(146px + env(safe-area-inset-bottom));
  }

  .pilot-strip {
    min-height: 34px;
  }

  .hero {
    padding-bottom: 56px;
  }

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

  .hero__actions .button {
    width: 100%;
  }

  .series-controls__secondary {
    gap: 9px;
  }

  .series-controls__hint {
    max-width: none;
  }

  .series-compare-inline {
    width: 100%;
    justify-content: center;
  }

  .series-card {
    flex-basis: min(89vw, 376px);
  }

  .series-card__copy em {
    min-height: 32px;
  }

  .series-card__foot {
    align-items: flex-start;
    flex-direction: column;
  }

  .series-card__foot > div {
    width: 100%;
  }

  .series-card__compare,
  .series-card__open {
    flex: 1;
    min-height: 36px;
    font-size: 9px;
  }

  .series-compare-shelf {
    margin-inline: -2px;
    padding: 15px;
    border-radius: 17px;
  }

  .series-compare-shelf__items {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  .series-compare-shelf__items::-webkit-scrollbar {
    display: none;
  }

  .series-compare-shelf__items button {
    flex: 0 0 auto;
  }

  .series-compare-shelf__actions {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
  }

  .series-compare-shelf__actions .button {
    width: 100%;
  }

  .advisor-context-ribbon {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 9px 12px 11px;
    scrollbar-width: none;
  }

  .advisor-context-ribbon::-webkit-scrollbar {
    display: none;
  }

  .advisor-context-ribbon > button {
    flex: 0 0 min(68vw, 230px);
  }

  .advisor-autosave {
    flex: 0 0 auto;
    min-width: 180px;
    min-height: 52px;
  }

  .result-section-nav {
    top: 70px;
    margin-inline: -2px;
    border-radius: 14px;
  }

  .result-section-nav a {
    min-width: max-content;
    flex: 0 0 auto;
    padding-inline: 11px;
  }

  #result-overview,
  #options,
  #catalog-match,
  #system-studio,
  #savings,
  #result-actions,
  .result-panel,
  .options-section,
  .catalog-match-section,
  .system-studio,
  .premium-explainer,
  .savings-section,
  .confidence-section,
  .result-cta {
    scroll-margin-top: 125px;
  }

  .mobile-bottom-nav {
    position: fixed;
    z-index: 90;
    left: 10px;
    right: 10px;
    bottom: max(8px, env(safe-area-inset-bottom));
    min-height: 62px;
    display: grid;
    grid-template-columns: 1fr 1fr 1.25fr 1fr;
    align-items: end;
    padding: 7px 8px 6px;
    background: rgba(255, 255, 255, .92);
    border: 1px solid rgba(151, 162, 176, .26);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(14, 21, 31, .22), inset 0 1px 0 rgba(255, 255, 255, .95);
    backdrop-filter: blur(24px) saturate(1.15);
  }

  .mobile-bottom-nav > a,
  .mobile-bottom-nav > button {
    position: relative;
    min-width: 0;
    min-height: 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 0 3px;
    color: #7a8491;
    background: transparent;
    border: 0;
    border-radius: 13px;
    text-decoration: none;
    font-size: 8px;
    font-weight: 760;
  }

  .mobile-bottom-nav > a:hover,
  .mobile-bottom-nav > button:hover,
  .mobile-bottom-nav > .is-active {
    color: var(--v5-red);
    background: rgba(237, 28, 36, .055);
  }

  .mobile-bottom-nav .icon {
    width: 19px;
    height: 19px;
  }

  .mobile-bottom-nav__primary {
    align-self: stretch;
    margin-top: -23px;
    overflow: visible;
    color: var(--v5-graphite) !important;
    background: transparent !important;
  }

  .mobile-bottom-nav__primary > span {
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    margin-bottom: 1px;
    color: #fff;
    background: linear-gradient(145deg, var(--v5-red), #ff414a);
    border: 5px solid rgba(255, 255, 255, .96);
    border-radius: 17px;
    box-shadow: 0 12px 28px rgba(237, 28, 36, .30);
  }

  .mobile-bottom-nav__primary b {
    font-size: 8px;
  }

  .mobile-bottom-nav > button > i {
    position: absolute;
    top: 4px;
    right: calc(50% - 18px);
    min-width: 16px;
    height: 16px;
    display: grid;
    place-items: center;
    padding-inline: 4px;
    color: #fff;
    background: var(--v5-red);
    border-radius: 999px;
    font-size: 8px;
    font-style: normal;
  }

  .result-dock {
    z-index: 92;
    bottom: calc(78px + env(safe-area-inset-bottom));
  }

  .modal-card--comparison {
    width: calc(100vw - 16px);
    max-height: calc(100vh - 18px);
    border-radius: 22px;
  }

  .series-comparison {
    padding: 15px 13px 20px;
  }

  .series-comparison__systems {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 1px 1px 10px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .series-comparison__systems::-webkit-scrollbar {
    display: none;
  }

  .series-comparison__system {
    flex: 0 0 min(78vw, 300px);
    scroll-snap-align: center;
  }

  .series-comparison__labels {
    margin-top: 4px;
  }

  .series-comparison__table {
    overflow-x: auto;
  }

  .series-comparison__row {
    min-width: calc(150px + var(--compare-columns) * 135px);
  }

  .series-comparison__row > span,
  .series-comparison__row > b {
    padding: 10px;
  }
}

@media (max-width: 480px) {
  .series-heading__compare {
    min-height: 46px;
  }

  .series-search {
    min-height: 45px;
  }

  .series-compare-shelf__copy {
    align-items: flex-start;
  }

  .series-compare-shelf__copy small {
    font-size: 7px;
  }

  .advisor-context-ribbon > button {
    flex-basis: 76vw;
  }

  .result-section-nav {
    top: 67px;
  }

  .result-section-nav a span {
    font-size: 8px;
  }

  .mobile-bottom-nav {
    left: 7px;
    right: 7px;
    border-radius: 18px;
  }

  .result-dock {
    width: calc(100% - 14px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .climate-scene::after,
  .recommendation-hero::after,
  .advisor-autosave.is-saving > i {
    animation: none !important;
  }

  .hero-lab,
  .scene-window,
  .series-card,
  .metric-grid article,
  .question-step.is-active,
  .series-compare-shelf {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}

@media print {
  .series-search,
  .series-heading__compare,
  .series-compare-inline,
  .series-compare-shelf,
  .series-compare-dialog,
  .advisor-context-ribbon,
  .result-section-nav,
  .mobile-bottom-nav {
    display: none !important;
  }

  body,
  body.has-result-dock {
    padding-bottom: 0 !important;
  }
}

/* 0.5.0 mobile visual summary — keeps the animated product idea visible in the first viewport */
.hero-mobile-glance {
  display: none;
}

@media (max-width: 760px) {
  .hero-mobile-glance {
    --mobile-score: 46;
    position: relative;
    isolation: isolate;
    min-height: 142px;
    display: grid;
    grid-template-columns: 1.08fr .92fr;
    overflow: hidden;
    margin: 21px 0 19px;
    color: #fff;
    background:
      radial-gradient(circle at 16% 50%, rgba(237, 28, 36, .22), transparent 34%),
      radial-gradient(circle at 65% 35%, rgba(72, 163, 255, .22), transparent 35%),
      linear-gradient(145deg, #161d27, #10151d 58%, #202938);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 22px;
    box-shadow: 0 22px 52px rgba(16, 23, 33, .20), inset 0 1px 0 rgba(255, 255, 255, .10);
  }

  .hero-mobile-glance::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    opacity: .22;
    background-image:
      linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
    background-size: 24px 24px;
    mask-image: linear-gradient(90deg, #000, transparent 75%);
  }

  .hero-mobile-glance::after {
    content: "";
    position: absolute;
    left: 50%;
    top: -20%;
    width: 1px;
    height: 140%;
    background: linear-gradient(transparent, rgba(255,255,255,.18), transparent);
    transform: rotate(11deg);
  }

  .hero-mobile-glance__scene {
    position: relative;
    min-width: 0;
    overflow: hidden;
  }

  .hero-mobile-glance__profile {
    position: absolute;
    z-index: 4;
    left: 50%;
    top: 50%;
    width: 66px;
    height: 92px;
    transform: translate(-42%, -48%);
    filter: drop-shadow(0 18px 20px rgba(0,0,0,.35));
  }

  .hero-mobile-glance__profile::before {
    content: "";
    position: absolute;
    left: 27px;
    top: 1px;
    width: 8px;
    height: 73px;
    background: linear-gradient(90deg, #eef5fb, #aebbc8 52%, #f8fbfd);
    border: 1px solid rgba(255,255,255,.68);
    border-radius: 3px;
    box-shadow: 14px 0 0 -1px rgba(170,190,207,.86), 28px 0 0 -2px rgba(129,159,183,.72);
  }

  .hero-mobile-glance__profile::after {
    content: "";
    position: absolute;
    left: 3px;
    bottom: 1px;
    width: 55px;
    height: 43px;
    background: linear-gradient(145deg, #f8fafb, #aeb9c4 72%);
    border: 1px solid rgba(255,255,255,.78);
    border-radius: 7px 7px 11px 11px;
    box-shadow: inset 0 1px 0 #fff, inset -8px -8px 15px rgba(78,90,105,.18);
  }

  .hero-mobile-glance__profile span {
    position: absolute;
    z-index: 3;
    bottom: 9px;
    width: 14px;
    height: 14px;
    background: #202733;
    border: 3px solid var(--v5-red);
    border-radius: 3px;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
  }

  .hero-mobile-glance__profile span:nth-child(1) { left: 9px; }
  .hero-mobile-glance__profile span:nth-child(2) { left: 27px; }
  .hero-mobile-glance__profile span:nth-child(3) { left: 45px; }

  .hero-mobile-glance__profile b {
    position: absolute;
    z-index: 5;
    left: 27px;
    top: 35px;
    width: 8px;
    height: 8px;
    background: #fff;
    border: 2px solid var(--v5-red);
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(237,28,36,.14), 0 0 16px rgba(237,28,36,.55);
  }

  .hero-mobile-glance__profile em {
    position: absolute;
    z-index: 6;
    left: 17px;
    bottom: -8px;
    width: 40px;
    height: 7px;
    background: radial-gradient(ellipse, rgba(95,156,255,.55), transparent 68%);
    filter: blur(3px);
  }

  .hero-mobile-glance__warm,
  .hero-mobile-glance__cold {
    position: absolute;
    z-index: 2;
    top: 0;
    bottom: 0;
    width: 58%;
    overflow: hidden;
  }

  .hero-mobile-glance__warm { left: 0; }
  .hero-mobile-glance__cold { right: 0; }

  .hero-mobile-glance__warm::before,
  .hero-mobile-glance__cold::before {
    content: "";
    position: absolute;
    top: 23px;
    width: 76px;
    height: 76px;
    border-radius: 50%;
    filter: blur(3px);
  }

  .hero-mobile-glance__warm::before {
    left: -36px;
    background: radial-gradient(circle, rgba(255,117,50,.30), transparent 70%);
  }

  .hero-mobile-glance__cold::before {
    right: -22px;
    background: radial-gradient(circle, rgba(64,157,255,.34), transparent 70%);
  }

  .hero-mobile-glance__warm i,
  .hero-mobile-glance__cold i {
    position: absolute;
    top: calc(36px + var(--stream-index, 0) * 24px);
    width: 78px;
    height: 2px;
    border-radius: 99px;
    opacity: .76;
    animation: v5MobileEnergyFlow 2.6s ease-in-out infinite;
  }

  .hero-mobile-glance__warm i {
    left: -18px;
    background: linear-gradient(90deg, transparent, #ff8a45, rgba(255,149,74,.1));
  }

  .hero-mobile-glance__cold i {
    right: -18px;
    background: linear-gradient(90deg, rgba(73,172,255,.1), #58b4ff, transparent);
    animation-direction: reverse;
  }

  .hero-mobile-glance__warm i:nth-child(1),
  .hero-mobile-glance__cold i:nth-child(1) { --stream-index: 0; }
  .hero-mobile-glance__warm i:nth-child(2),
  .hero-mobile-glance__cold i:nth-child(2) { --stream-index: 1; animation-delay: -.75s; width: 62px; }
  .hero-mobile-glance__warm i:nth-child(3),
  .hero-mobile-glance__cold i:nth-child(3) { --stream-index: 2; animation-delay: -1.45s; width: 48px; }

  .hero-mobile-glance__ambient i {
    position: absolute;
    border: 1px solid rgba(255,255,255,.11);
    border-radius: 50%;
    animation: v5MobileAmbient 4.8s ease-in-out infinite;
  }

  .hero-mobile-glance__ambient i:first-child {
    left: 11px;
    top: 18px;
    width: 52px;
    height: 52px;
  }

  .hero-mobile-glance__ambient i:last-child {
    left: 25px;
    top: 32px;
    width: 26px;
    height: 26px;
    animation-delay: -1.6s;
  }

  .hero-mobile-glance__score {
    position: relative;
    z-index: 5;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 17px 14px 14px 10px;
  }

  .hero-mobile-glance__score > small {
    color: rgba(255,255,255,.58);
    font-size: 7px;
    font-weight: 850;
    letter-spacing: .085em;
  }

  .hero-mobile-glance__score > strong {
    display: flex;
    align-items: baseline;
    margin: 5px 0 7px;
    color: #fff;
    font-size: 39px;
    line-height: .9;
    letter-spacing: -.055em;
  }

  .hero-mobile-glance__score > strong b {
    color: #fff;
    font: inherit;
  }

  .hero-mobile-glance__score > strong em {
    margin-left: 3px;
    color: rgba(255,255,255,.48);
    font-size: 10px;
    font-style: normal;
    letter-spacing: 0;
  }

  .hero-mobile-glance__meter {
    height: 5px;
    overflow: hidden;
    background: rgba(255,255,255,.12);
    border-radius: 999px;
  }

  .hero-mobile-glance__meter em {
    display: block;
    width: 46%;
    height: 100%;
    background: linear-gradient(90deg, #ff3943, #ffc44f 58%, #36c783);
    border-radius: inherit;
    box-shadow: 0 0 15px rgba(54,199,131,.28);
    transition: width .65s var(--ease);
  }

  .hero-mobile-glance__score p {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin: 9px 0 0;
  }

  .hero-mobile-glance__score p span {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 4px 6px;
    color: rgba(255,255,255,.76);
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 999px;
    font-size: 6px;
  }

  .hero-mobile-glance__score p .icon {
    width: 9px;
    height: 9px;
    color: #64d9a2;
  }

  .hero-mobile-glance__score p b {
    font: inherit;
  }

  .hero-mobile-glance[data-window-state="after"] {
    background:
      radial-gradient(circle at 18% 50%, rgba(237, 28, 36, .17), transparent 34%),
      radial-gradient(circle at 65% 35%, rgba(54, 199, 131, .22), transparent 35%),
      linear-gradient(145deg, #151d27, #0f171e 58%, #173229);
  }

  .hero-mobile-glance[data-window-state="after"] .hero-mobile-glance__profile {
    filter: drop-shadow(0 18px 22px rgba(54,199,131,.20));
  }
}

@keyframes v5MobileEnergyFlow {
  0%, 100% { opacity: .30; transform: translateX(-6px) scaleX(.82); }
  50% { opacity: .92; transform: translateX(8px) scaleX(1.08); }
}

@keyframes v5MobileAmbient {
  0%, 100% { opacity: .18; transform: scale(.88); }
  50% { opacity: .55; transform: scale(1.08); }
}

@media (max-width: 390px) {
  .hero-mobile-glance {
    min-height: 136px;
    grid-template-columns: 1.02fr .98fr;
    border-radius: 20px;
  }

  .hero-mobile-glance__profile {
    transform: translate(-45%, -48%) scale(.92);
  }

  .hero-mobile-glance__score {
    padding-right: 10px;
  }

  .hero-mobile-glance__score > strong {
    font-size: 35px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-mobile-glance__warm i,
  .hero-mobile-glance__cold i,
  .hero-mobile-glance__ambient i {
    animation: none !important;
  }
}

@media print {
  .hero-mobile-glance {
    display: none !important;
  }
}

/* 0.5.0 quieter, dismissible notifications */
.toast {
  grid-template-columns: 34px minmax(0, 1fr) 28px;
}

.toast__close {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  align-self: start;
  padding: 0;
  color: rgba(255,255,255,.55);
  background: rgba(255,255,255,.06);
  border: 0;
  border-radius: 8px;
}

.toast__close:hover {
  color: #fff;
  background: rgba(255,255,255,.13);
}

.toast__close .icon {
  width: 13px;
  height: 13px;
}

@media (max-width: 760px) {
  .toast-region {
    left: 10px;
    right: 10px;
    bottom: calc(82px + env(safe-area-inset-bottom));
    width: auto;
    gap: 6px;
  }

  body.has-result-dock .toast-region {
    bottom: calc(151px + env(safe-area-inset-bottom));
  }

  .toast {
    grid-template-columns: 30px minmax(0, 1fr) 26px;
    gap: 8px;
    padding: 10px;
    border-radius: 14px;
    box-shadow: 0 18px 42px rgba(12,18,27,.28);
  }

  .toast > .icon {
    width: 28px;
    height: 28px;
    padding: 7px;
  }

  .toast b {
    font-size: 10px;
  }

  .toast small {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    font-size: 7px;
    line-height: 1.45;
  }

  .toast__close {
    width: 26px;
    height: 26px;
  }
}

@media (max-width: 760px) {
  .mobile-bottom-nav {
    transition: transform .28s var(--ease), opacity .22s ease;
  }

  .mobile-bottom-nav.is-peek-hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateY(calc(100% + 24px));
  }
}

@media (prefers-reduced-motion: reduce) {
  .mobile-bottom-nav {
    transition: none !important;
  }
}

/* ========================================================================== 
   AKFA Energy 0.6.0 — visual system, motion and interaction refinement
   ========================================================================== */

:root {
  --v6-red: #ef2231;
  --v6-red-deep: #c9101d;
  --v6-red-glow: rgba(239, 34, 49, .22);
  --v6-ink: #0d1118;
  --v6-ink-2: #171d27;
  --v6-slate: #697383;
  --v6-line: rgba(116, 129, 147, .18);
  --v6-blue: #50a6ff;
  --v6-blue-deep: #1d6fe4;
  --v6-orange: #ff9a48;
  --v6-green: #18aa6b;
  --v6-surface: rgba(255, 255, 255, .92);
  --v6-glass: rgba(255, 255, 255, .72);
  --v6-shadow: 0 34px 92px rgba(15, 23, 36, .14);
  --v6-shadow-soft: 0 18px 48px rgba(15, 23, 36, .085);
  --v6-ease: cubic-bezier(.16, .82, .24, 1);
}

html {
  scroll-padding-top: 102px;
}

body {
  overflow-x: clip;
  color: var(--v6-ink);
  background:
    radial-gradient(circle at 10% 3%, rgba(239, 34, 49, .075), transparent 34rem),
    radial-gradient(circle at 92% 16%, rgba(80, 166, 255, .08), transparent 38rem),
    linear-gradient(180deg, #f8f9fb 0%, #eef2f6 100%);
}

body::before {
  content: "";
  position: fixed;
  z-index: -1;
  inset: 0;
  opacity: .24;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(25, 34, 47, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(25, 34, 47, .025) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to bottom, #000 0, transparent 70%);
}

.reveal {
  transform: translateY(26px) scale(.992);
  transition: opacity .72s var(--v6-ease), transform .82s var(--v6-ease);
}

.reveal.is-visible {
  transform: none;
}

/* Brighter, less washed-out typography. */
.section-heading h2,
.advisor-heading h2,
.results-toolbar h2,
.methodology-layout h2,
.technology-section h2 {
  color: #10151d;
  letter-spacing: -.045em;
}

.section-heading p,
.advisor-heading > p,
.hero__lead {
  color: #657080;
}

/* Premium micro-interactions for primary controls. */
.button,
.primary-button,
.secondary-button,
.hero-primary,
.hero-secondary {
  isolation: isolate;
  overflow: hidden;
  transition:
    transform .24s var(--v6-ease),
    box-shadow .24s ease,
    border-color .24s ease,
    background .24s ease,
    color .24s ease;
}

.button::after,
.primary-button::after,
.secondary-button::after,
.hero-primary::after,
.hero-secondary::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -2px;
  opacity: 0;
  background: linear-gradient(112deg, transparent 20%, rgba(255,255,255,.34) 45%, transparent 70%);
  transform: translateX(-120%);
  transition: opacity .2s ease;
  pointer-events: none;
}

.button:hover::after,
.primary-button:hover::after,
.secondary-button:hover::after,
.hero-primary:hover::after,
.hero-secondary:hover::after {
  opacity: 1;
  animation: v6ButtonShine .85s var(--v6-ease);
}

.button--primary {
  background: linear-gradient(135deg, #f52836 0%, #df1422 100%);
  box-shadow: 0 14px 34px rgba(229, 24, 38, .26), inset 0 1px 0 rgba(255,255,255,.23);
}

.button--primary:hover:not(:disabled) {
  background: linear-gradient(135deg, #ff3541 0%, #cf0e1b 100%);
  box-shadow: 0 19px 44px rgba(229, 24, 38, .34), inset 0 1px 0 rgba(255,255,255,.28);
}

@keyframes v6ButtonShine {
  from { transform: translateX(-125%); }
  to { transform: translateX(125%); }
}

/* Pilot strip and header become lighter, tighter and more app-like. */
.pilot-strip {
  min-height: 30px;
  background: rgba(235, 239, 244, .84);
  border-bottom: 1px solid rgba(100, 114, 132, .1);
  backdrop-filter: blur(18px);
}

.pilot-strip__inner {
  min-height: 30px;
}

.pilot-strip__inner span,
.pilot-strip__inner button {
  font-size: 10px;
}

.site-header {
  height: 78px;
  background: rgba(250, 251, 253, .78);
  border-bottom: 1px solid rgba(110, 124, 142, .12);
  box-shadow: 0 1px 0 rgba(255,255,255,.88);
  backdrop-filter: blur(28px) saturate(1.22);
}

.site-header__inner {
  height: 78px;
}

.site-header.is-scrolled {
  height: 70px;
  background: rgba(250, 251, 253, .94);
  box-shadow: 0 16px 48px rgba(14, 23, 37, .105);
}

.site-header.is-scrolled .site-header__inner {
  height: 70px;
}

.brand__logo {
  filter: drop-shadow(0 4px 10px rgba(17, 24, 35, .06));
}

.desktop-nav {
  padding: 5px;
  background: rgba(255,255,255,.52);
  border: 1px solid rgba(115, 128, 145, .10);
  border-radius: 16px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.92);
}

.desktop-nav a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding-inline: 14px;
  border-radius: 11px;
  color: #566170;
  font-size: 12px;
  font-weight: 760;
}

.desktop-nav a::after {
  display: none;
}

.desktop-nav a:hover,
.desktop-nav a.is-active {
  color: #111720;
  background: #fff;
  box-shadow: 0 8px 22px rgba(17, 25, 38, .08), inset 0 -2px 0 var(--v6-red);
}

.page-scroll-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  overflow: hidden;
  pointer-events: none;
}

.page-scroll-progress i {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--v6-red), #ff6a55 55%, var(--v6-blue));
  box-shadow: 0 0 16px rgba(239,34,49,.4);
  transform-origin: left;
  transition: width .08s linear;
}

/* Desktop section rail: hidden on normal laptop widths, visible on large screens. */
.desktop-section-rail {
  position: fixed;
  z-index: 85;
  left: 18px;
  top: 50%;
  display: none;
  flex-direction: column;
  gap: 7px;
  padding: 8px;
  background: rgba(255,255,255,.76);
  border: 1px solid rgba(116,129,147,.16);
  border-radius: 20px;
  box-shadow: 0 24px 64px rgba(15,23,36,.14), inset 0 1px 0 rgba(255,255,255,.9);
  backdrop-filter: blur(22px) saturate(1.15);
  transform: translateY(-50%);
}

.desktop-section-rail a,
.desktop-section-rail button {
  position: relative;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  padding: 0;
  color: #6b7583;
  background: transparent;
  border: 0;
  border-radius: 13px;
  text-decoration: none;
  transition: color .2s ease, background .2s ease, transform .2s var(--v6-ease), box-shadow .2s ease;
}

.desktop-section-rail .icon {
  width: 17px;
  height: 17px;
}

.desktop-section-rail span {
  position: absolute;
  left: calc(100% + 10px);
  top: 50%;
  padding: 7px 10px;
  color: #fff;
  background: #151b24;
  border-radius: 9px;
  box-shadow: 0 12px 28px rgba(11,17,26,.22);
  font-size: 10px;
  font-weight: 760;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translate(-5px, -50%);
  transition: opacity .18s ease, transform .18s var(--v6-ease);
}

.desktop-section-rail a:hover span,
.desktop-section-rail button:hover span {
  opacity: 1;
  transform: translate(0, -50%);
}

.desktop-section-rail a:hover,
.desktop-section-rail button:hover,
.desktop-section-rail a.is-active {
  color: #fff;
  background: linear-gradient(145deg, #f52b39, #d71320);
  box-shadow: 0 10px 24px rgba(229,24,38,.28);
  transform: translateX(2px);
}

.desktop-section-rail b {
  position: absolute;
  right: -3px;
  top: -3px;
  min-width: 17px;
  height: 17px;
  display: grid;
  place-items: center;
  padding: 0 4px;
  color: #fff;
  background: #121720;
  border: 2px solid #fff;
  border-radius: 999px;
  font-size: 8px;
}

@media (min-width: 1480px) {
  .desktop-section-rail { display: flex; }
}

/* Generic 3D tilt hooks. */
[data-tilt-card] {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  --pointer-x: 50%;
  --pointer-y: 50%;
  transform-style: preserve-3d;
}

[data-tilt-card]::after {
  content: "";
  position: absolute;
  z-index: 20;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  border-radius: inherit;
  background: radial-gradient(circle at var(--pointer-x) var(--pointer-y), rgba(255,255,255,.24), transparent 30%);
  transition: opacity .25s ease;
}

[data-tilt-card].is-pointer-active::after {
  opacity: 1;
}

/* Hero rebuild: stronger contrast, cleaner hierarchy and a real product visual. */
.hero {
  min-height: min(780px, calc(100vh - 108px));
  padding: clamp(46px, 6vh, 72px) 0 72px;
  background:
    radial-gradient(circle at 79% 22%, rgba(239,34,49,.14), transparent 30%),
    radial-gradient(circle at 89% 82%, rgba(80,166,255,.16), transparent 32%),
    linear-gradient(135deg, #fbfcfe 0%, #eff3f8 56%, #fff0f3 100%);
  border-bottom: 1px solid rgba(107,121,139,.12);
}

.hero::before {
  opacity: .42;
  background-size: 58px 58px;
}

.hero__grid-bg {
  opacity: .48;
  mask-image: radial-gradient(circle at 50% 50%, #000 0, transparent 74%);
}

.hero__layout {
  grid-template-columns: minmax(0, .94fr) minmax(560px, 1.06fr);
  gap: clamp(42px, 5.4vw, 86px);
  align-items: center;
}

.hero__content {
  position: relative;
  z-index: 4;
  max-width: 680px;
}

.eyebrow {
  color: #f1323e;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(239,34,49,.13);
  box-shadow: 0 9px 26px rgba(20,28,40,.06);
  backdrop-filter: blur(12px);
}

.hero h1 {
  max-width: 710px;
  margin: 25px 0 23px;
  color: #11161e;
  font-size: clamp(54px, 5.7vw, 88px);
  line-height: .92;
  letter-spacing: -.07em;
  text-wrap: balance;
}

.hero h1 span {
  color: #11161e;
}

.hero h1 em {
  color: transparent;
  background: linear-gradient(110deg, #f32b39 0%, #ff6a74 52%, #dc101e 100%);
  background-clip: text;
  -webkit-background-clip: text;
  filter: drop-shadow(0 10px 28px rgba(239,34,49,.12));
}

.hero__lead {
  max-width: 620px;
  margin-bottom: 29px;
  font-size: 17px;
  line-height: 1.62;
}

.hero__actions {
  gap: 12px;
}

.hero__actions .button {
  min-height: 58px;
  padding-inline: 25px;
  border-radius: 17px;
  font-size: 14px;
}

.hero__actions .button--ghost {
  color: #202733;
  background: rgba(255,255,255,.76);
  border-color: rgba(115,129,148,.18);
  box-shadow: 0 13px 32px rgba(20,28,40,.065), inset 0 1px 0 rgba(255,255,255,.9);
  backdrop-filter: blur(12px);
}

.hero__trust {
  margin-top: 20px;
  gap: 16px;
}

.hero__trust span {
  color: #637080;
  font-size: 11px;
}

.hero__trust .icon {
  color: var(--v6-green);
}

.hero-quick-start {
  margin-top: 25px;
}

.hero-quick-start > span {
  color: #8993a1;
  font-size: 10px;
  font-weight: 720;
}

.hero-quick-start button {
  min-height: 39px;
  color: #566170;
  background: rgba(255,255,255,.62);
  border-color: rgba(115,129,148,.15);
  box-shadow: 0 7px 18px rgba(20,28,40,.045);
}

.hero-quick-start button:hover {
  color: #11161e;
  background: #fff;
  border-color: rgba(239,34,49,.24);
  box-shadow: 0 12px 28px rgba(20,28,40,.08);
}

.hero-lab {
  --hero-reveal: 15%;
  position: relative;
  min-height: 610px;
  padding: 18px;
  overflow: hidden;
  background:
    radial-gradient(circle at 90% 8%, rgba(239,34,49,.12), transparent 33%),
    linear-gradient(145deg, rgba(255,255,255,.92), rgba(246,249,253,.78));
  border: 1px solid rgba(255,255,255,.94);
  border-radius: 34px;
  box-shadow: 0 38px 105px rgba(16,24,38,.17), inset 0 1px 0 #fff;
  transform: perspective(1250px) rotateX(var(--tilt-y)) rotateY(var(--tilt-x));
  transition: transform .22s ease-out, box-shadow .35s ease;
}

.hero-lab:hover {
  transform: perspective(1250px) rotateX(var(--tilt-y)) rotateY(var(--tilt-x)) translateY(-4px);
  box-shadow: 0 46px 126px rgba(16,24,38,.21), inset 0 1px 0 #fff;
}

.hero-lab::before {
  inset: -35%;
  opacity: .58;
  background:
    conic-gradient(from 185deg at 50% 50%, transparent 0 42%, rgba(239,34,49,.12) 48%, transparent 55% 72%, rgba(80,166,255,.14) 78%, transparent 86%);
  animation: v6AmbientSpin 18s linear infinite;
}

.hero-lab__top {
  position: relative;
  z-index: 30;
  padding: 3px 4px 14px;
}

.hero-lab__top span {
  color: var(--v6-red);
  font-size: 10px;
  letter-spacing: .11em;
}

.hero-lab__top strong {
  color: #161c25;
  font-size: 17px;
}

.segment-switch {
  padding: 4px;
  background: rgba(229,234,240,.82);
  border: 1px solid rgba(114,128,146,.12);
  box-shadow: inset 0 1px 1px rgba(24,32,44,.04);
}

.segment-switch button {
  min-height: 36px;
  border-radius: 10px;
}

.segment-switch button.is-active {
  color: #161b23;
  background: #fff;
  box-shadow: 0 8px 20px rgba(17,24,36,.10), inset 0 -2px 0 var(--v6-red);
}

.climate-scene {
  --hero-reveal: 15%;
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(179,221,247,.91) 0 50%, rgba(255,225,180,.92) 50% 100%);
  border: 1px solid rgba(255,255,255,.86);
  border-radius: 25px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8), inset 0 -24px 58px rgba(50,72,100,.05);
  cursor: crosshair;
}

.climate-scene::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(87,178,255,.18), transparent 32%),
    radial-gradient(circle at 82% 31%, rgba(255,153,70,.19), transparent 34%);
  pointer-events: none;
}

.energy-field-canvas {
  position: absolute;
  z-index: 3;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero-product-layer {
  position: absolute;
  z-index: 10;
  inset: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 76% 40%, rgba(84,174,255,.16), transparent 34%),
    radial-gradient(circle at 25% 44%, rgba(255,145,65,.14), transparent 34%),
    linear-gradient(115deg, rgba(253,250,247,.96), rgba(240,247,253,.96));
  clip-path: inset(0 calc(100% - var(--hero-reveal)) 0 0);
  transition: clip-path .26s var(--v6-ease);
  pointer-events: none;
}

.hero-product-layer::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .33;
  background-image:
    linear-gradient(rgba(70,94,122,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(70,94,122,.06) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(circle at 62% 50%, #000, transparent 72%);
}

.hero-product-layer img {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: -15%;
  width: min(58%, 380px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 30px 36px rgba(28,52,79,.24));
  transform: translateX(-36%) scale(1.02);
  transform-origin: center bottom;
  animation: v6ProductFloat 5.5s ease-in-out infinite;
  mask-image: linear-gradient(to bottom, transparent 0, #000 7%, #000 88%, transparent 100%);
}

.hero-product-layer__ambient {
  position: absolute;
  z-index: 2;
  top: 34%;
  width: 45%;
  height: 28%;
  filter: blur(24px);
  border-radius: 50%;
  opacity: .6;
}

.hero-product-layer__ambient--warm {
  left: 2%;
  background: rgba(255,129,53,.28);
}

.hero-product-layer__ambient--cold {
  right: 0;
  background: rgba(74,166,255,.31);
}

.hero-product-layer__labels {
  position: absolute;
  z-index: 8;
  inset: 0;
  pointer-events: none;
}

.hero-product-layer__labels span {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 10px;
  color: #2c3949;
  background: rgba(255,255,255,.74);
  border: 1px solid rgba(255,255,255,.9);
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(25,38,56,.09);
  backdrop-filter: blur(12px);
  font-size: 8px;
}

.hero-product-layer__labels .icon {
  width: 15px;
  height: 15px;
}

.hero-product-layer__labels span:nth-child(1) {
  left: 6%;
  top: 24%;
  color: #d66a22;
}

.hero-product-layer__labels span:nth-child(2) {
  right: 4%;
  top: 24%;
  color: #2679d6;
}

.hero-product-layer__labels span:nth-child(3) {
  right: 5%;
  top: 52%;
  color: #2679d6;
}

.hero-split-indicator {
  position: absolute;
  z-index: 25;
  top: 0;
  bottom: 0;
  left: var(--hero-reveal);
  width: 1px;
  background: linear-gradient(transparent, rgba(255,255,255,.88) 12%, rgba(255,255,255,.96) 88%, transparent);
  box-shadow: 0 0 22px rgba(255,255,255,.72);
  transform: translateX(-.5px);
  transition: left .26s var(--v6-ease);
  pointer-events: none;
}

.hero-split-indicator > i {
  position: absolute;
  inset: 0 -6px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.14), transparent);
}

.hero-split-indicator > span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: #f12634;
  background: #fff;
  border: 1px solid rgba(239,34,49,.16);
  border-radius: 50%;
  box-shadow: 0 12px 28px rgba(17,25,38,.18), 0 0 0 7px rgba(255,255,255,.26);
  transform: translate(-50%, -50%);
}

.hero-split-indicator .icon {
  width: 16px;
  height: 16px;
}

.thermal-lens {
  position: absolute;
  z-index: 40;
  left: 50%;
  top: 50%;
  width: 116px;
  height: 116px;
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 50%;
  box-shadow: 0 20px 44px rgba(13,25,42,.18), inset 0 0 0 7px rgba(255,255,255,.18);
  backdrop-filter: blur(7px) saturate(1.3);
  transform: translate(-50%, -50%) scale(.84);
  transition: opacity .18s ease, transform .24s var(--v6-ease);
}

.climate-scene.is-lens-active .thermal-lens {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.thermal-lens > i {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: conic-gradient(from 210deg, rgba(54,153,255,.7), rgba(255,255,255,.12), rgba(255,127,54,.72), rgba(54,153,255,.7));
  mask: radial-gradient(circle, transparent 57%, #000 59%);
}

.thermal-lens span {
  position: relative;
  z-index: 2;
  display: grid;
  text-align: center;
}

.thermal-lens b {
  color: #fff;
  font-size: 24px;
  text-shadow: 0 2px 14px rgba(16,25,38,.32);
}

.thermal-lens small {
  color: rgba(255,255,255,.84);
  font-size: 8px;
  font-weight: 760;
  text-shadow: 0 2px 10px rgba(16,25,38,.28);
}

.hero-dashboard-card {
  position: absolute;
  z-index: 33;
  color: #1d2632;
  background: rgba(255,255,255,.84);
  border: 1px solid rgba(255,255,255,.9);
  border-radius: 15px;
  box-shadow: 0 18px 46px rgba(23,35,52,.13), inset 0 1px 0 #fff;
  backdrop-filter: blur(16px) saturate(1.2);
  pointer-events: none;
}

.hero-dashboard-card--score {
  left: 16px;
  bottom: 16px;
  width: 152px;
  padding: 13px 14px 12px;
}

.hero-dashboard-card--score small {
  color: #7e8996;
  font-size: 7px;
  font-weight: 820;
  letter-spacing: .08em;
}

.hero-dashboard-card--score strong {
  display: flex;
  align-items: baseline;
  margin-top: 4px;
  font-size: 27px;
  line-height: 1;
}

.hero-dashboard-card--score strong em {
  margin-left: 3px;
  color: #8993a0;
  font-size: 10px;
}

.hero-dashboard-card--score > i {
  display: block;
  height: 4px;
  margin-top: 9px;
  overflow: hidden;
  background: #e4e9ef;
  border-radius: 99px;
}

.hero-dashboard-card--score > i em {
  display: block;
  width: 38%;
  height: 100%;
  background: linear-gradient(90deg, #ef2634, #ffb34e 54%, #1fbc79);
  border-radius: inherit;
  transition: width .45s var(--v6-ease);
}

.hero-dashboard-card--saving {
  right: 16px;
  bottom: 16px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 13px 10px 10px;
}

.hero-dashboard-card--saving > span {
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  color: #10a565;
  background: rgba(18,176,105,.10);
  border-radius: 11px;
}

.hero-dashboard-card--saving .icon {
  width: 17px;
  height: 17px;
}

.hero-dashboard-card--saving p {
  display: grid;
  margin: 0;
}

.hero-dashboard-card--saving small {
  color: #7e8996;
  font-size: 7px;
  font-weight: 760;
}

.hero-dashboard-card--saving strong {
  color: #0a985a;
  font-size: 15px;
}

.hero-compare-control {
  position: relative;
  z-index: 30;
  margin-top: 12px;
}

.hero-compare-control input {
  accent-color: var(--v6-red);
}

.hero-lab__bottom,
.hero-lab__telemetry {
  position: relative;
  z-index: 30;
}

.hero-lab__telemetry {
  margin-top: 12px;
  background: rgba(255,255,255,.67);
  border-color: rgba(111,124,141,.11);
  backdrop-filter: blur(13px);
}

.hero-lab__telemetry > span {
  min-height: 55px;
}

.hero-lab__telemetry b {
  color: #202733;
  font-size: 9px;
}

.hero-lab__telemetry small {
  color: #8993a0;
  font-size: 7px;
}

@keyframes v6AmbientSpin {
  to { transform: rotate(360deg); }
}

@keyframes v6ProductFloat {
  0%, 100% { transform: translateX(-36%) translateY(0) scale(1.02); }
  50% { transform: translateX(-36%) translateY(-8px) scale(1.035); }
}

/* How section: lighter cards, clearer progression. */
.how-section {
  padding: 92px 0 104px;
  background: rgba(255,255,255,.62);
  border-bottom: 1px solid rgba(112,125,142,.1);
}

.how-grid {
  position: relative;
  gap: 15px;
}

.how-grid::before {
  content: "";
  position: absolute;
  z-index: 0;
  left: 16.5%;
  right: 16.5%;
  top: 45px;
  height: 1px;
  background: linear-gradient(90deg, rgba(239,34,49,.2), rgba(80,166,255,.23));
}

.how-grid article {
  position: relative;
  z-index: 1;
  min-height: 230px;
  padding: 26px;
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(113,126,143,.14);
  border-radius: 24px;
  box-shadow: 0 16px 42px rgba(17,25,38,.065), inset 0 1px 0 rgba(255,255,255,.92);
  backdrop-filter: blur(16px);
  transition: transform .3s var(--v6-ease), box-shadow .3s ease, border-color .3s ease;
}

.how-grid article:hover {
  transform: translateY(-8px);
  border-color: rgba(239,34,49,.22);
  box-shadow: 0 26px 64px rgba(17,25,38,.11), inset 0 1px 0 rgba(255,255,255,.94);
}

.how-grid article > span {
  color: var(--v6-red);
  background: #fff;
  border: 1px solid rgba(239,34,49,.14);
  box-shadow: 0 8px 18px rgba(239,34,49,.1);
}

/* Series studio: more breathing room and a real visual anchor. */
.series-section {
  padding: 106px 0 112px;
  background:
    radial-gradient(circle at 6% 12%, rgba(239,34,49,.09), transparent 26rem),
    radial-gradient(circle at 93% 72%, rgba(80,166,255,.09), transparent 30rem),
    linear-gradient(180deg, #f3f6f9 0%, #eef2f6 100%);
}

.series-heading {
  margin-bottom: 27px;
}

.series-heading h2 {
  max-width: 860px;
  font-size: clamp(40px, 4.2vw, 64px);
  line-height: .98;
}

.series-dashboard {
  grid-template-columns: minmax(360px, 410px) minmax(0, 1fr);
  gap: 16px;
  padding: 16px;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(255,255,255,.9);
  border-radius: 31px;
  box-shadow: var(--v6-shadow), inset 0 1px 0 #fff;
  backdrop-filter: blur(24px) saturate(1.1);
}

.series-dashboard__feature {
  position: sticky;
  top: 104px;
  min-height: 760px;
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 25%, rgba(239,34,49,.26), transparent 28%),
    radial-gradient(circle at 77% 48%, rgba(74,162,255,.22), transparent 34%),
    linear-gradient(145deg, #171e29 0%, #10161f 52%, #2a2530 100%);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 24px;
  box-shadow: 0 28px 76px rgba(14,21,32,.25), inset 0 1px 0 rgba(255,255,255,.12);
}

.series-dashboard__feature::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .26;
  background-image:
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(to bottom, #000, transparent 78%);
}

.series-profile-hero {
  position: relative;
  min-height: 380px;
  margin: 4px -12px 0;
  overflow: hidden;
  transform: perspective(1000px) rotateX(var(--tilt-y)) rotateY(var(--tilt-x));
  transition: transform .22s ease-out;
}

.series-profile-render {
  position: absolute;
  z-index: 6;
  left: 50%;
  bottom: -13%;
  width: min(76%, 300px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 28px 34px rgba(0,0,0,.35));
  transform: translateX(-47%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 8%, #000 87%, transparent 100%);
  transition: transform .55s var(--v6-ease), filter .4s ease;
}

.series-dashboard__feature:hover .series-profile-render {
  transform: translateX(-47%) translateY(-7px) scale(1.035);
  filter: drop-shadow(0 36px 44px rgba(0,0,0,.42));
}

.series-profile-hero__glass,
.series-profile-hero__body {
  opacity: 0;
}

.series-profile-hero__flows {
  z-index: 8;
  opacity: .76;
}

.energy-field-canvas--series {
  z-index: 3;
}

.series-feature__copy {
  position: relative;
  z-index: 10;
  margin-top: -4px;
}

.series-feature__copy h3 {
  max-width: 340px;
  color: #fff;
  font-size: clamp(30px, 3vw, 43px);
  line-height: .96;
}

.series-feature__copy p {
  min-height: 62px;
  color: rgba(255,255,255,.68);
  font-size: 13px;
}

.series-feature__metrics {
  position: relative;
  z-index: 10;
}

.series-feature__metrics span {
  background: rgba(255,255,255,.065);
  border-color: rgba(255,255,255,.095);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}

.series-feature-score {
  position: relative;
  z-index: 10;
  margin-top: 12px;
  padding: 15px;
  background: rgba(255,255,255,.065);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 15px;
}

.series-feature-score > span {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.series-feature-score small {
  color: rgba(255,255,255,.55);
  font-size: 8px;
  font-weight: 780;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.series-feature-score b {
  margin-left: auto;
  color: #fff;
  font-size: 25px;
  line-height: 1;
}

.series-feature-score em {
  color: rgba(255,255,255,.38);
  font-size: 9px;
}

.series-feature-score > i {
  display: block;
  height: 5px;
  margin: 10px 0 8px;
  overflow: hidden;
  background: rgba(255,255,255,.09);
  border-radius: 999px;
}

.series-feature-score > i em {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, #ff3541, #ffbd4e 58%, #33ca83);
  border-radius: inherit;
  box-shadow: 0 0 18px rgba(51,202,131,.23);
  transition: width .55s var(--v6-ease);
}

.series-feature-score p {
  margin: 0;
  color: rgba(255,255,255,.44);
  font-size: 8px;
  line-height: 1.45;
}

.series-feature__button {
  position: relative;
  z-index: 10;
  margin-top: 12px;
  color: #161d26;
  background: #fff;
  box-shadow: 0 15px 34px rgba(0,0,0,.18);
}

.series-dashboard__catalog {
  min-width: 0;
  padding: 10px 10px 12px;
}

.series-controls {
  position: sticky;
  z-index: 16;
  top: 96px;
  margin: -10px -10px 16px;
  padding: 14px 14px 12px;
  background: rgba(249,251,253,.91);
  border-bottom: 1px solid rgba(113,126,144,.14);
  border-radius: 22px 22px 0 0;
  box-shadow: 0 14px 30px rgba(17,25,38,.055);
  backdrop-filter: blur(20px) saturate(1.14);
}

.series-controls__secondary {
  gap: 10px;
}

.series-controls__hint {
  flex: 1 1 auto;
}

.series-sort {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 6px 4px 11px;
  color: #697483;
  background: rgba(255,255,255,.86);
  border: 1px solid rgba(121,134,151,.19);
  border-radius: 12px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9);
}

.series-sort > span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.series-sort .icon {
  width: 14px;
  height: 14px;
  color: var(--v6-red);
}

.series-sort b {
  font-size: 9px;
}

.series-sort select {
  min-height: 31px;
  padding: 0 28px 0 9px;
  color: #202733;
  background: #f4f6f9;
  border: 0;
  border-radius: 9px;
  font-size: 10px;
  font-weight: 760;
}

.series-rail {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 13px;
}

.series-card {
  overflow: hidden;
  background: rgba(255,255,255,.86);
  border: 1px solid rgba(112,126,143,.17);
  border-radius: 19px;
  box-shadow: 0 12px 32px rgba(17,25,38,.055), inset 0 1px 0 rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
  transition: transform .28s var(--v6-ease), box-shadow .28s ease, border-color .28s ease;
}

.series-card:hover {
  transform: translateY(-6px);
  border-color: rgba(239,34,49,.24);
  box-shadow: 0 24px 56px rgba(17,25,38,.115), inset 0 1px 0 rgba(255,255,255,.95);
}

.series-card.is-selected {
  border-color: rgba(239,34,49,.72);
  box-shadow: 0 0 0 3px rgba(239,34,49,.075), 0 24px 58px rgba(17,25,38,.12);
}

.series-card__select {
  grid-template-columns: 82px minmax(0, 1fr) 56px !important;
  min-height: 130px;
  gap: 13px !important;
  padding: 15px 14px 13px !important;
}

.series-card__visual,
.series-card__visual[data-system-type="sliding"] {
  width: 80px !important;
  height: 98px !important;
  overflow: hidden;
  background:
    radial-gradient(circle at 65% 35%, rgba(82,176,255,.15), transparent 36%),
    url('profile-window-light.webp') center 72% / 105% auto no-repeat,
    linear-gradient(145deg, #f9fbfd, #edf3f7) !important;
  border: 1px solid rgba(128,144,162,.13);
  border-radius: 15px !important;
  box-shadow: 0 12px 28px rgba(40,55,72,.10), inset 0 1px 0 #fff;
}

.series-card__visual::before,
.series-card__visual::after,
.series-card__visual i,
.series-card__visual b {
  opacity: 0 !important;
}

.series-card__copy small {
  color: #98a1ad;
  font-size: 7px;
  letter-spacing: .07em;
}

.series-card__copy strong {
  margin-top: 4px;
  color: #222a35;
  font-size: 14px !important;
}

.series-card__copy em {
  min-height: 41px !important;
  color: #778290;
  font-size: 8px !important;
  line-height: 1.45;
}

.series-card__score b {
  color: var(--v6-green);
  font-size: 24px !important;
}

.series-card__score > i {
  height: 4px;
}

.series-card__facts {
  gap: 8px;
  padding: 0 14px 12px !important;
}

.series-card__facts span {
  min-height: 43px;
  padding: 8px 10px;
  background: rgba(246,248,251,.82);
  border-color: rgba(120,133,150,.12);
  border-radius: 11px;
}

.series-card__foot {
  min-height: 48px;
  padding: 9px 13px !important;
  background: rgba(246,248,251,.72);
}

.series-card__compare,
.series-card__open {
  min-height: 31px;
  padding-inline: 8px;
  border-radius: 9px;
}

/* Advisor: bring the actual interaction into the viewport and strengthen focus. */
.advisor-section {
  padding: 92px 0 108px;
  background:
    radial-gradient(circle at 88% 12%, rgba(239,34,49,.10), transparent 29rem),
    radial-gradient(circle at 6% 82%, rgba(80,166,255,.075), transparent 30rem),
    linear-gradient(180deg, #f8f9fb, #eef2f6);
}

.advisor-heading {
  grid-template-columns: minmax(0, .8fr) minmax(360px, .65fr);
  align-items: end;
  gap: 48px;
  margin-bottom: 24px;
}

.advisor-heading h2 {
  max-width: 680px;
  font-size: clamp(44px, 5vw, 72px);
  line-height: .94;
}

.advisor-heading > p {
  max-width: 500px;
  margin-bottom: 5px;
  font-size: 16px;
  line-height: 1.6;
}

.advisor-mode-bar {
  min-height: 74px;
  margin-bottom: 16px;
  padding: 10px 12px 10px 14px;
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(112,126,143,.16);
  border-radius: 19px;
  box-shadow: 0 14px 38px rgba(17,25,38,.075), inset 0 1px 0 #fff;
  backdrop-filter: blur(18px);
}

.advisor-mode-switch {
  padding: 4px;
  background: #e9edf2;
  border-radius: 14px;
}

.advisor-mode-switch button {
  min-width: 118px;
  min-height: 50px;
  border-radius: 11px;
}

.advisor-mode-switch button.is-active {
  background: #fff;
  box-shadow: 0 8px 22px rgba(17,25,38,.09), inset 0 -2px 0 var(--v6-red);
}

.advisor-shell {
  overflow: visible;
  background: rgba(255,255,255,.84);
  border: 1px solid rgba(255,255,255,.94);
  border-radius: 29px;
  box-shadow: 0 34px 96px rgba(15,23,36,.14), inset 0 1px 0 #fff;
  backdrop-filter: blur(22px) saturate(1.08);
}

.advisor-progress {
  position: sticky;
  z-index: 24;
  top: 72px;
  padding: 18px 22px 13px;
  background: rgba(255,255,255,.94);
  border-bottom: 1px solid rgba(111,125,143,.13);
  border-radius: 29px 29px 0 0;
  box-shadow: 0 11px 30px rgba(17,25,38,.055);
  backdrop-filter: blur(20px);
}

.advisor-progress__meta strong {
  color: #1e2530;
  font-size: 13px;
}

.progress-track {
  height: 5px;
  background: #e9edf2;
}

.progress-track i {
  background: linear-gradient(90deg, #ef2634, #ff6a58 52%, #51a5ff);
  box-shadow: 0 0 18px rgba(239,34,49,.22);
}

.advisor-step-rail {
  gap: 7px;
}

.advisor-step-rail button {
  min-height: 40px;
  padding-inline: 10px;
  border-radius: 11px;
}

.advisor-step-rail button.is-active {
  color: #d81725;
  background: #fff0f2;
  border-color: rgba(239,34,49,.20);
  box-shadow: 0 7px 18px rgba(239,34,49,.09);
}

.advisor-context-ribbon {
  position: relative;
  z-index: 10;
  padding: 10px 14px;
  background: rgba(248,250,252,.88);
  border-bottom: 1px solid rgba(112,126,143,.12);
}

.advisor-context-ribbon button {
  min-height: 46px;
  background: #fff;
  border: 1px solid rgba(116,129,147,.11);
  border-radius: 12px;
  box-shadow: 0 7px 18px rgba(17,25,38,.035);
}

.advisor-context-ribbon button:hover {
  border-color: rgba(239,34,49,.18);
  transform: translateY(-2px);
}

.advisor-layout {
  grid-template-columns: minmax(0, 1fr) minmax(310px, 355px);
  gap: 0;
  align-items: stretch;
}

.advisor-main {
  min-width: 0;
  padding: 28px 30px 0;
  border-right: 1px solid rgba(113,126,143,.12);
}

.engineer-message {
  padding: 13px 15px;
  background:
    radial-gradient(circle at 88% 50%, rgba(239,34,49,.08), transparent 26%),
    linear-gradient(135deg, #f7f9fc, #fff);
  border: 1px solid rgba(116,129,147,.13);
  border-radius: 17px;
  box-shadow: 0 10px 28px rgba(17,25,38,.045);
}

.engineer-avatar {
  background: linear-gradient(145deg, #1b222d, #0f141c);
  box-shadow: 0 9px 22px rgba(14,21,31,.18), inset 0 1px 0 rgba(255,255,255,.12);
}

.question-step {
  min-height: 430px;
  padding: 24px 0 20px;
}

.question-step.is-active {
  animation: v6QuestionIn .44s var(--v6-ease) both;
}

.question-head {
  margin-bottom: 22px;
}

.question-head > span {
  color: #fff;
  background: linear-gradient(145deg, #f32b39, #d51421);
  box-shadow: 0 10px 22px rgba(229,24,38,.21);
}

.question-head h3 {
  color: #161c25;
  font-size: clamp(25px, 2.5vw, 34px);
  letter-spacing: -.035em;
}

.question-head p {
  color: #778291;
  font-size: 13px;
}

.choice-card > span,
.solution-type-card > span,
.priority-grid label > span {
  background: rgba(255,255,255,.88);
  border-color: rgba(112,126,143,.17);
  box-shadow: 0 10px 26px rgba(17,25,38,.045), inset 0 1px 0 #fff;
  transition: transform .25s var(--v6-ease), box-shadow .25s ease, border-color .25s ease, background .25s ease;
}

.choice-card:hover > span,
.solution-type-card:hover > span,
.priority-grid label:hover > span {
  transform: translateY(-5px);
  border-color: rgba(239,34,49,.22);
  box-shadow: 0 20px 44px rgba(17,25,38,.095), inset 0 1px 0 #fff;
}

.choice-card input:checked + span,
.solution-type-card input:checked + span,
.priority-grid input:checked + span {
  color: #161b23;
  background: linear-gradient(145deg, #fff, #fff5f6);
  border-color: rgba(239,34,49,.62);
  box-shadow: 0 0 0 3px rgba(239,34,49,.075), 0 18px 42px rgba(17,25,38,.085);
  transform: translateY(-3px);
}

.choice-card input:checked + span::after,
.solution-type-card input:checked + span::after,
.priority-grid input:checked + span::after {
  animation: v6SelectedPulse .55s var(--v6-ease);
}

.advisor-controls {
  position: sticky;
  z-index: 18;
  bottom: 0;
  margin: 0 -30px;
  padding: 14px 30px 18px;
  background: linear-gradient(180deg, rgba(255,255,255,0), rgba(255,255,255,.94) 22%, #fff 58%);
  border-radius: 0 0 0 28px;
  backdrop-filter: blur(10px);
}

.advisor-controls .button {
  min-height: 52px;
  border-radius: 15px;
}

.advisor-live {
  position: sticky;
  top: 91px;
  min-height: 690px;
  padding: 24px 22px;
  overflow: hidden;
  background:
    radial-gradient(circle at 70% 17%, rgba(239,34,49,.13), transparent 29%),
    radial-gradient(circle at 20% 77%, rgba(80,166,255,.15), transparent 31%),
    linear-gradient(155deg, #f9fbfd, #eef3f8 58%, #fff1f3);
  border-radius: 0 0 28px 0;
  transform: perspective(1100px) rotateX(var(--tilt-y)) rotateY(var(--tilt-x));
  transition: transform .22s ease-out;
}

.advisor-live::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .24;
  background-image:
    linear-gradient(rgba(36,54,77,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(36,54,77,.06) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: linear-gradient(to bottom, #000, transparent 75%);
  pointer-events: none;
}

.advisor-live > * {
  position: relative;
  z-index: 4;
}

.live-score {
  padding: 13px;
  background: rgba(255,255,255,.75);
  border: 1px solid rgba(255,255,255,.9);
  border-radius: 16px;
  box-shadow: 0 14px 34px rgba(17,25,38,.08);
  backdrop-filter: blur(14px);
}

.live-window {
  position: relative;
  min-height: 268px;
  margin: 14px 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 17% 45%, rgba(255,139,60,.20), transparent 35%),
    radial-gradient(circle at 84% 42%, rgba(75,168,255,.24), transparent 37%),
    linear-gradient(145deg, #19212d, #111821 58%, #243446);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 19px;
  box-shadow: 0 20px 42px rgba(17,25,38,.18), inset 0 1px 0 rgba(255,255,255,.10);
}

.live-window__render {
  position: absolute;
  z-index: 7;
  left: 50%;
  bottom: -22%;
  width: 195px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 25px 30px rgba(0,0,0,.36));
  transform: translateX(-46%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 7%, #000 87%, transparent 100%);
  animation: v6ProductFloatLive 5.6s ease-in-out infinite;
}

.live-window__frame {
  opacity: 0;
}

.energy-field-canvas--live {
  z-index: 4;
}

.live-window__outside,
.live-window__inside,
.live-window__flow {
  z-index: 8;
}

.live-facts {
  gap: 8px;
}

.live-facts > div {
  background: rgba(255,255,255,.71);
  border-color: rgba(255,255,255,.88);
  box-shadow: 0 10px 26px rgba(17,25,38,.055);
}

.live-tip {
  background: rgba(255,255,255,.72);
  border-color: rgba(239,34,49,.12);
  box-shadow: 0 11px 28px rgba(17,25,38,.055);
}

@keyframes v6QuestionIn {
  from { opacity: 0; transform: translateX(18px) scale(.992); filter: blur(2px); }
  to { opacity: 1; transform: none; filter: none; }
}

@keyframes v6SelectedPulse {
  0% { box-shadow: 0 0 0 0 rgba(239,34,49,.2); }
  70% { box-shadow: 0 0 0 14px rgba(239,34,49,0); }
  100% { box-shadow: 0 0 0 0 rgba(239,34,49,0); }
}

@keyframes v6ProductFloatLive {
  0%, 100% { transform: translateX(-46%) translateY(0); }
  50% { transform: translateX(-46%) translateY(-7px); }
}

/* Results: merge score, visual and recommendation into one premium dashboard. */
.results {
  margin-top: 34px;
  padding-top: 14px;
}

.results-toolbar {
  gap: 20px;
  align-items: end;
}

.results-toolbar h2 {
  font-size: clamp(40px, 4.5vw, 66px);
  line-height: .94;
}

.results-actions button {
  min-height: 44px;
  background: rgba(255,255,255,.85);
  border-color: rgba(111,125,143,.17);
  box-shadow: 0 10px 26px rgba(17,25,38,.055);
  backdrop-filter: blur(12px);
}

.result-section-nav {
  position: sticky;
  z-index: 40;
  top: 76px;
  padding: 6px;
  background: rgba(255,255,255,.86);
  border: 1px solid rgba(255,255,255,.94);
  box-shadow: 0 18px 46px rgba(17,25,38,.10), inset 0 1px 0 #fff;
  backdrop-filter: blur(22px);
}

.result-section-nav a {
  min-height: 44px;
  border-radius: 12px;
}

.result-section-nav a.is-active {
  color: #fff;
  background: linear-gradient(135deg, #f42a38, #d71421);
  box-shadow: 0 10px 26px rgba(229,24,38,.24);
}

.recommendation-hero {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  position: relative;
  min-height: 510px;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, .72fr) minmax(300px, .62fr);
  overflow: hidden;
  background:
    radial-gradient(circle at 24% 18%, rgba(239,34,49,.13), transparent 28%),
    radial-gradient(circle at 66% 56%, rgba(74,164,255,.22), transparent 34%),
    linear-gradient(145deg, #111821 0%, #17212d 58%, #2f2934 100%);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 31px;
  box-shadow: 0 40px 104px rgba(13,21,33,.25), inset 0 1px 0 rgba(255,255,255,.11);
  transform: perspective(1450px) rotateX(var(--tilt-y)) rotateY(var(--tilt-x));
  transition: transform .22s ease-out, box-shadow .35s ease;
}

.recommendation-hero:hover {
  box-shadow: 0 48px 126px rgba(13,21,33,.30), inset 0 1px 0 rgba(255,255,255,.13);
}

.recommendation-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .28;
  background-image:
    linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(90deg, transparent 0, #000 34%, #000 72%, transparent 100%);
  pointer-events: none;
}

.recommendation-hero__content {
  position: relative;
  z-index: 8;
  padding: clamp(34px, 4vw, 54px);
}

.recommendation-badge {
  color: #ffb1b7;
  background: rgba(239,34,49,.13);
  border-color: rgba(255,91,104,.32);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.07);
}

.recommendation-family {
  color: rgba(255,255,255,.58);
  letter-spacing: .12em;
}

.recommendation-hero__content h3 {
  max-width: 580px;
  color: #fff;
  font-size: clamp(48px, 5.1vw, 78px);
  line-height: .91;
  letter-spacing: -.06em;
  text-shadow: 0 14px 40px rgba(0,0,0,.22);
}

.recommendation-hero__content > p {
  max-width: 590px;
  color: rgba(255,255,255,.66);
  font-size: 16px;
  line-height: 1.62;
}

.reason-chips span {
  color: rgba(255,255,255,.78);
  background: rgba(255,255,255,.065);
  border-color: rgba(255,255,255,.09);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}

.recommendation-actions .button--ghost {
  color: #fff;
  background: rgba(255,255,255,.075);
  border-color: rgba(255,255,255,.14);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.07);
}

.recommendation-profile-v4 {
  position: relative;
  z-index: 6;
  min-width: 0;
  overflow: hidden;
}

.recommendation-profile-render {
  position: absolute;
  z-index: 8;
  left: 50%;
  bottom: -18%;
  width: min(100%, 395px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 32px 42px rgba(0,0,0,.46));
  transform: translateX(-50%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 8%, #000 84%, transparent 100%);
  animation: v6ResultFloat 6.3s ease-in-out infinite;
}

.recommendation-profile-v4__glass,
.recommendation-profile-v4__body {
  opacity: 0;
}

.energy-field-canvas--result {
  z-index: 4;
}

.recommendation-profile-v4__warm,
.recommendation-profile-v4__cold,
.recommendation-profile-v4__aura {
  z-index: 7;
}

.recommendation-profile-v4__badges {
  z-index: 12;
}

.recommendation-profile-v4__label {
  z-index: 13;
  bottom: 17px;
  background: rgba(10,16,24,.72);
  border-color: rgba(255,255,255,.11);
  box-shadow: 0 14px 34px rgba(0,0,0,.25);
  backdrop-filter: blur(14px);
}

.energy-score-card {
  position: relative;
  z-index: 9;
  margin: 20px 20px 20px 0;
  padding: 22px 20px;
  align-self: stretch;
  background:
    radial-gradient(circle at 100% 0, rgba(239,34,49,.17), transparent 38%),
    linear-gradient(155deg, rgba(255,255,255,.12), rgba(255,255,255,.055));
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 22px;
  box-shadow: 0 26px 64px rgba(0,0,0,.20), inset 0 1px 0 rgba(255,255,255,.10);
  backdrop-filter: blur(17px) saturate(1.18);
}

.energy-score-card__title {
  color: rgba(255,255,255,.65);
}

.energy-score-card__title button {
  color: rgba(255,255,255,.7);
  background: rgba(255,255,255,.08);
}

.score-comparison {
  margin: 28px 0 18px;
}

.score-comparison > div > span {
  color: rgba(255,255,255,.55);
}

.score-gauge {
  background: conic-gradient(var(--gauge-color, #9ea8b4) calc(var(--score) * 1%), rgba(255,255,255,.09) 0);
  box-shadow: 0 15px 32px rgba(0,0,0,.22), inset 0 0 0 1px rgba(255,255,255,.05);
}

.score-gauge::before {
  background: #1b222c;
}

.energy-score-card > p {
  color: rgba(255,255,255,.56);
}

.energy-score-card > p b {
  color: #36d18c;
}

.score-card-highlights {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.score-card-highlights > span {
  min-height: 58px;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-items: center;
  gap: 1px 9px;
  padding: 9px 11px;
  color: #fff;
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(255,255,255,.075);
  border-radius: 13px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}

.score-card-highlights .icon {
  grid-row: 1 / 3;
  width: 30px;
  height: 30px;
  padding: 7px;
  color: #52d79b;
  background: rgba(54,209,140,.10);
  border-radius: 10px;
}

.score-card-highlights > span:nth-child(2) .icon {
  color: #ff8f4b;
  background: rgba(255,143,75,.10);
}

.score-card-highlights > span:nth-child(3) .icon {
  color: #64adff;
  background: rgba(100,173,255,.10);
}

.score-card-highlights small {
  color: rgba(255,255,255,.47);
  font-size: 8px;
}

.score-card-highlights strong {
  display: flex;
  align-items: baseline;
  gap: 4px;
  color: #fff;
  font-size: 17px;
}

.score-card-highlights strong em {
  color: rgba(255,255,255,.45);
  font-size: 8px;
}

.decision-summary {
  margin-top: 17px;
  background: rgba(255,255,255,.87);
  border-color: rgba(255,255,255,.96);
  box-shadow: 0 18px 48px rgba(17,25,38,.09), inset 0 1px 0 #fff;
  backdrop-filter: blur(16px);
}

.metric-grid article,
.result-panel,
.option-card,
.catalog-match-card,
.savings-section,
.confidence-section {
  background: rgba(255,255,255,.86);
  border-color: rgba(112,126,143,.15);
  box-shadow: 0 16px 44px rgba(17,25,38,.065), inset 0 1px 0 rgba(255,255,255,.94);
  backdrop-filter: blur(14px);
}

.metric-grid article,
.result-panel,
.option-card,
.catalog-match-card {
  transition: transform .28s var(--v6-ease), box-shadow .28s ease, border-color .28s ease;
}

.metric-grid article:hover,
.result-panel:hover,
.option-card:hover,
.catalog-match-card:hover {
  transform: translateY(-5px);
  border-color: rgba(239,34,49,.18);
  box-shadow: 0 26px 64px rgba(17,25,38,.11), inset 0 1px 0 rgba(255,255,255,.96);
}

.result-cta {
  overflow: hidden;
  background:
    radial-gradient(circle at 10% 50%, rgba(239,34,49,.22), transparent 30%),
    radial-gradient(circle at 87% 20%, rgba(80,166,255,.17), transparent 34%),
    linear-gradient(145deg, #141b25, #101620 62%, #242c38);
  box-shadow: 0 30px 82px rgba(13,21,33,.22), inset 0 1px 0 rgba(255,255,255,.11);
}

@keyframes v6ResultFloat {
  0%, 100% { transform: translateX(-50%) translateY(0) scale(1); }
  50% { transform: translateX(-50%) translateY(-9px) scale(1.015); }
}

/* Modal polish. */
.modal-card {
  border: 1px solid rgba(255,255,255,.9);
  box-shadow: 0 40px 130px rgba(11,18,29,.32), inset 0 1px 0 #fff;
}

.modal::backdrop {
  background: rgba(11,17,26,.58);
  backdrop-filter: blur(12px) saturate(.9);
}

/* Responsive refinements. */
@media (max-width: 1260px) {
  .hero__layout {
    grid-template-columns: minmax(0, .9fr) minmax(500px, 1.1fr);
    gap: 38px;
  }

  .hero h1 {
    font-size: clamp(52px, 6vw, 76px);
  }

  .series-dashboard {
    grid-template-columns: 350px minmax(0, 1fr);
  }

  .series-dashboard__feature {
    min-height: 720px;
  }

  .series-card__select {
    grid-template-columns: 72px minmax(0, 1fr) 50px !important;
    padding-inline: 12px !important;
  }

  .series-card__visual,
  .series-card__visual[data-system-type="sliding"] {
    width: 70px !important;
  }

  .recommendation-hero {
    grid-template-columns: minmax(0, 1fr) 300px 310px;
  }
}

@media (max-width: 1080px) {
  .desktop-nav {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 48px;
  }

  .hero__layout {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .hero__content {
    max-width: 820px;
  }

  .hero h1 {
    max-width: 900px;
    font-size: clamp(58px, 8vw, 86px);
  }

  .hero-lab {
    width: min(100%, 780px);
    min-height: 590px;
    margin-inline: auto;
  }

  .series-dashboard {
    grid-template-columns: 1fr;
  }

  .series-dashboard__feature {
    position: relative;
    top: auto;
    min-height: 570px;
  }

  .series-profile-hero {
    min-height: 300px;
  }

  .series-profile-render {
    width: 245px;
    bottom: -20%;
  }

  .series-feature__metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .series-controls {
    top: 70px;
  }

  .advisor-heading {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .advisor-heading > p {
    max-width: 720px;
  }

  .advisor-layout {
    grid-template-columns: 1fr;
  }

  .advisor-main {
    border-right: 0;
  }

  .advisor-live {
    position: relative;
    top: auto;
    min-height: 0;
    display: grid;
    grid-template-columns: minmax(250px, .9fr) minmax(320px, 1.1fr);
    gap: 15px;
    border-top: 1px solid rgba(113,126,143,.12);
    border-radius: 0 0 28px 28px;
  }

  .advisor-live__head,
  .live-score,
  .live-tip,
  .advisor-live > .text-button {
    grid-column: 2;
  }

  .live-window {
    grid-column: 1;
    grid-row: 1 / 5;
    min-height: 330px;
    margin: 0;
  }

  .live-facts {
    grid-column: 2;
  }

  .recommendation-hero {
    grid-template-columns: minmax(0, 1fr) 330px;
  }

  .recommendation-profile-v4 {
    grid-column: 2;
    grid-row: 1;
  }

  .energy-score-card {
    grid-column: 1 / -1;
    margin: 0 20px 20px;
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 18px;
    align-items: center;
  }

  .energy-score-card__title,
  .energy-score-card > p {
    grid-column: 1;
  }

  .score-comparison {
    grid-column: 1;
    grid-row: 2 / 4;
  }

  .score-card-highlights {
    grid-column: 2;
    grid-row: 1 / 4;
  }
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 74px;
  }

  body {
    padding-bottom: calc(74px + env(safe-area-inset-bottom));
  }

  .pilot-strip {
    display: none;
  }

  .site-header,
  .site-header.is-scrolled,
  .site-header__inner,
  .site-header.is-scrolled .site-header__inner {
    height: 66px;
  }

  .site-header {
    top: 0;
  }

  .container {
    width: min(calc(100% - 24px), var(--container));
  }

  .hero {
    padding: 31px 0 44px;
    background:
      radial-gradient(circle at 77% 10%, rgba(239,34,49,.13), transparent 18rem),
      radial-gradient(circle at 85% 78%, rgba(80,166,255,.14), transparent 20rem),
      linear-gradient(145deg, #fbfcfe, #eef3f8 62%, #fff0f2);
  }

  .hero__layout {
    gap: 24px;
  }

  .eyebrow {
    padding: 7px 9px;
    font-size: 8px;
  }

  .hero h1 {
    margin: 19px 0 17px;
    font-size: clamp(45px, 13.7vw, 66px);
    line-height: .94;
    letter-spacing: -.066em;
  }

  .hero__lead {
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.58;
  }

  .hero-mobile-glance {
    display: none !important;
  }

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

  .hero__actions .button {
    width: 100%;
    min-height: 54px;
  }

  .hero__trust {
    display: flex;
    overflow-x: auto;
    gap: 8px;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  .hero__trust::-webkit-scrollbar {
    display: none;
  }

  .hero__trust span {
    flex: 0 0 auto;
    padding: 7px 9px;
    background: rgba(255,255,255,.68);
    border: 1px solid rgba(112,126,143,.12);
    border-radius: 999px;
  }

  .hero-quick-start {
    margin-top: 17px;
  }

  .hero-quick-start > div {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero-quick-start button {
    min-width: 0;
    padding-inline: 7px;
    font-size: 8px;
  }

  .hero-lab {
    min-height: 538px;
    padding: 12px;
    border-radius: 25px;
    transform: none !important;
  }

  .hero-lab:hover {
    transform: none;
  }

  .climate-scene {
    min-height: 330px;
    border-radius: 20px;
  }

  .hero-product-layer img {
    left: 50%;
    bottom: -17%;
    width: 62%;
    transform: translateX(-39%);
  }

  @keyframes v6ProductFloat {
    0%, 100% { transform: translateX(-39%) translateY(0) scale(1); }
    50% { transform: translateX(-39%) translateY(-6px) scale(1.02); }
  }

  .hero-product-layer__labels span {
    padding: 6px 7px;
    font-size: 6px;
  }

  .hero-product-layer__labels span:nth-child(1) { left: 4%; top: 18%; }
  .hero-product-layer__labels span:nth-child(2) { right: 3%; top: 18%; }
  .hero-product-layer__labels span:nth-child(3) { right: 4%; top: 46%; }

  .thermal-lens {
    display: none;
  }

  .hero-dashboard-card--score {
    left: 10px;
    bottom: 10px;
    width: 130px;
    padding: 10px;
  }

  .hero-dashboard-card--saving {
    right: 10px;
    bottom: 10px;
  }

  .hero-dashboard-card--saving > span {
    display: none;
  }

  .hero-lab__telemetry {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
  }

  .hero-lab__telemetry > span {
    min-width: 0;
    padding-inline: 7px;
  }

  .hero-lab__telemetry b {
    font-size: 7px;
  }

  .hero-lab__telemetry small {
    display: none;
  }

  .how-section,
  .series-section,
  .advisor-section {
    padding: 68px 0 76px;
  }

  .how-grid::before {
    display: none;
  }

  .how-grid {
    display: flex;
    overflow-x: auto;
    gap: 11px;
    padding: 2px 2px 14px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .how-grid article {
    flex: 0 0 83vw;
    min-height: 205px;
    scroll-snap-align: center;
  }

  .series-heading h2,
  .advisor-heading h2,
  .results-toolbar h2 {
    font-size: clamp(38px, 11.8vw, 54px);
  }

  .series-heading__tools {
    width: 100%;
  }

  .series-dashboard {
    margin-inline: -4px;
    padding: 8px;
    border-radius: 24px;
  }

  .series-dashboard__feature {
    min-height: 520px;
    border-radius: 19px;
  }

  .series-profile-hero {
    min-height: 285px;
  }

  .series-profile-render {
    width: 220px;
    bottom: -20%;
  }

  .series-feature__copy h3 {
    font-size: 34px;
  }

  .series-feature__metrics {
    grid-template-columns: 1fr 1fr;
  }

  .series-feature__metrics span:last-child {
    grid-column: 1 / -1;
  }

  .series-controls {
    position: relative;
    top: auto;
    margin: -4px -4px 12px;
    padding: 11px;
    border-radius: 15px;
  }

  .series-controls__primary,
  .series-controls__secondary {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .series-filters {
    display: flex;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  .series-search {
    width: 100%;
  }

  .series-controls__hint {
    display: none;
  }

  .series-sort {
    width: 100%;
    justify-content: space-between;
  }

  .series-sort select {
    flex: 1 1 auto;
  }

  .series-compare-inline {
    width: 100%;
    justify-content: center;
  }

  .series-rail {
    display: flex !important;
    overflow-x: auto;
    gap: 10px;
    padding: 2px 2px 14px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .series-card {
    flex: 0 0 min(90vw, 365px);
    scroll-snap-align: center;
  }

  .series-card__select {
    grid-template-columns: 74px minmax(0, 1fr) 50px !important;
  }

  .series-card__visual,
  .series-card__visual[data-system-type="sliding"] {
    width: 72px !important;
    height: 94px !important;
  }

  .advisor-heading {
    gap: 10px;
  }

  .advisor-heading > p {
    font-size: 13px;
  }

  .advisor-mode-bar {
    display: grid;
    gap: 11px;
    padding: 11px;
  }

  .advisor-mode-copy {
    padding-inline: 2px;
  }

  .advisor-mode-switch {
    width: 100%;
  }

  .advisor-mode-switch button {
    flex: 1 1 0;
    min-width: 0;
  }

  .advisor-shell {
    margin-inline: -4px;
    border-radius: 24px;
  }

  .advisor-progress {
    top: 65px;
    padding: 14px 13px 11px;
    border-radius: 24px 24px 0 0;
  }

  .advisor-step-rail {
    margin-inline: -3px;
  }

  .advisor-context-ribbon {
    display: flex;
    overflow-x: auto;
    padding: 9px 10px;
    scrollbar-width: none;
  }

  .advisor-context-ribbon button {
    flex: 0 0 152px;
  }

  .advisor-autosave {
    flex: 0 0 auto;
  }

  .advisor-main {
    padding: 17px 15px 0;
  }

  .engineer-message {
    padding: 11px;
  }

  .question-step {
    min-height: 0;
    padding: 20px 0 13px;
  }

  .question-head {
    align-items: flex-start;
    margin-bottom: 17px;
  }

  .question-head h3 {
    font-size: 27px;
  }

  .choice-grid,
  .choice-grid--four,
  .solution-type-grid,
  .priority-grid {
    grid-template-columns: 1fr 1fr;
  }

  .advisor-controls {
    margin-inline: -15px;
    padding: 12px 15px calc(14px + env(safe-area-inset-bottom));
    border-radius: 0;
  }

  .advisor-controls__center {
    display: none;
  }

  .advisor-controls .button {
    min-width: 0;
    padding-inline: 13px;
  }

  .advisor-live {
    display: block;
    min-height: 0;
    padding: 16px;
    border-radius: 0 0 24px 24px;
    transform: none !important;
  }

  .live-window {
    min-height: 260px;
    margin: 12px 0;
  }

  .live-window__render {
    width: 170px;
  }

  .results {
    margin-top: 22px;
  }

  .results-toolbar {
    display: grid;
    gap: 14px;
  }

  .results-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
  }

  .results-actions button {
    justify-content: center;
  }

  .result-section-nav {
    top: 65px;
    display: flex;
    overflow-x: auto;
    justify-content: flex-start;
    gap: 5px;
    padding: 5px;
    scrollbar-width: none;
  }

  .result-section-nav a {
    flex: 0 0 auto;
    min-width: 114px;
  }

  .recommendation-hero {
    display: grid;
    grid-template-columns: 1fr;
    min-height: 0;
    border-radius: 24px;
    transform: none !important;
  }

  .recommendation-hero__content {
    padding: 27px 20px 14px;
  }

  .recommendation-hero__content h3 {
    font-size: clamp(46px, 14vw, 66px);
  }

  .recommendation-hero__content > p {
    font-size: 13px;
  }

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

  .recommendation-actions .button {
    width: 100%;
  }

  .recommendation-profile-v4 {
    grid-column: 1;
    grid-row: 2;
    min-height: 335px;
  }

  .recommendation-profile-render {
    width: 300px;
    bottom: -21%;
  }

  .energy-score-card {
    grid-column: 1;
    grid-row: 3;
    display: block;
    margin: 0 12px 12px;
    padding: 18px;
  }

  .score-comparison {
    margin: 21px 0 15px;
  }

  .score-card-highlights {
    grid-template-columns: 1fr;
  }

  .decision-summary {
    display: grid;
    gap: 13px;
    padding: 17px;
  }

  .metric-grid {
    display: flex;
    overflow-x: auto;
    gap: 10px;
    padding: 2px 2px 14px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .metric-grid article {
    flex: 0 0 min(82vw, 310px);
    scroll-snap-align: center;
  }

  [data-tilt-card]::after {
    display: none;
  }
}

@media (max-width: 420px) {
  .hero h1 {
    font-size: clamp(42px, 13.3vw, 56px);
  }

  .hero-lab {
    min-height: 505px;
  }

  .climate-scene {
    min-height: 305px;
  }

  .hero-dashboard-card--saving {
    max-width: 115px;
  }

  .hero-dashboard-card--saving small {
    max-width: 75px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .choice-grid,
  .choice-grid--four,
  .solution-type-grid,
  .priority-grid {
    grid-template-columns: 1fr;
  }

  .series-card {
    flex-basis: 91vw;
  }

  .recommendation-profile-v4 {
    min-height: 305px;
  }

  .recommendation-profile-render {
    width: 272px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-lab::before,
  .hero-product-layer img,
  .live-window__render,
  .recommendation-profile-render,
  .climate-scene::after {
    animation: none !important;
  }

  [data-tilt-card],
  .hero-lab,
  .advisor-live,
  .recommendation-hero,
  .series-profile-hero {
    transform: none !important;
  }
}

@media print {
  .desktop-section-rail,
  .page-scroll-progress,
  .energy-field-canvas,
  .thermal-lens,
  .hero-dashboard-card,
  .hero-split-indicator {
    display: none !important;
  }
}


/* v0.6.0 tactile feedback */
.interaction-ripple {
  position: absolute;
  z-index: 50;
  width: 14px;
  height: 14px;
  pointer-events: none;
  background: rgba(255,255,255,.42);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  animation: v6Ripple .62s cubic-bezier(.16,1,.3,1) forwards;
  mix-blend-mode: soft-light;
}

@keyframes v6Ripple {
  0% { opacity: .95; transform: translate(-50%, -50%) scale(0); }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(18); }
}

.button,
.choice-card > span,
.series-card,
.series-compare-button,
.mobile-bottom-nav a,
.mobile-bottom-nav button,
.desktop-section-rail a,
.desktop-section-rail button {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

@media (prefers-reduced-motion: reduce) {
  .interaction-ripple { display: none !important; }
}

/* ========================================================================== 
   AKFA Energy 0.6.0 — final layout and mobile interaction pass
   ========================================================================== */

/* Show the complete product instead of an over-cropped fragment. */
.hero-product-layer img {
  left: 52%;
  bottom: -8%;
  width: auto;
  height: 112%;
  max-width: none;
  transform: translateX(-46%);
}

@keyframes v6ProductFloat {
  0%, 100% { transform: translateX(-46%) translateY(0) scale(1); }
  50% { transform: translateX(-46%) translateY(-7px) scale(1.015); }
}

.live-window__render {
  left: 50%;
  bottom: -9%;
  width: auto;
  height: 111%;
  max-width: none;
  transform: translateX(-48%);
}

@keyframes v6ProductFloatLive {
  0%, 100% { transform: translateX(-48%) translateY(0); }
  50% { transform: translateX(-48%) translateY(-6px); }
}

.recommendation-profile-render {
  left: 50%;
  bottom: -8%;
  width: auto;
  height: 114%;
  max-width: none;
  transform: translateX(-50%);
}

@keyframes v6ResultFloat {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-7px); }
}

.series-profile-render {
  left: 50%;
  bottom: -10%;
  width: auto;
  height: 113%;
  max-width: none;
  transform: translateX(-50%);
}

.series-dashboard__feature:hover .series-profile-render {
  transform: translateX(-50%) translateY(-6px) scale(1.015);
}

.series-feature__actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .9fr);
  gap: 9px;
}

.series-feature__actions .button {
  min-width: 0;
  justify-content: center;
}

.button--glass {
  color: rgba(255,255,255,.84);
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
  backdrop-filter: blur(12px);
}

.button--glass:hover {
  color: #fff;
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.20);
  transform: translateY(-2px);
}

/* Dense catalog information remains readable instead of becoming microcopy. */
.series-card__copy h3 { font-size: 17px; }
.series-card__copy p { font-size: 10px; line-height: 1.46; }
.series-card__eyebrow { font-size: 8px; }
.series-card__facts small,
.series-card__foot { font-size: 8px; }
.series-card__score strong { font-size: 27px; }

@media (max-width: 760px) {
  .hero {
    padding-top: 28px;
  }

  .hero h1 {
    margin: 17px 0 14px;
    font-size: clamp(40px, 12.2vw, 53px);
    line-height: .94;
  }

  .hero__lead {
    margin-bottom: 15px;
    font-size: 13px;
    line-height: 1.52;
  }

  /* Restore the mobile product visual and use the real high-quality render. */
  .hero-mobile-glance {
    display: grid !important;
    min-height: 158px;
    margin: 15px 0 16px;
    grid-template-columns: 1.16fr .84fr;
    border-radius: 21px;
  }

  .hero-mobile-glance__profile {
    display: none;
  }

  .hero-mobile-glance__render {
    position: absolute;
    z-index: 5;
    left: 49%;
    bottom: -14%;
    width: auto;
    height: 121%;
    max-width: none;
    object-fit: contain;
    filter: drop-shadow(0 18px 24px rgba(0,0,0,.38));
    transform: translateX(-50%);
    mask-image: linear-gradient(to bottom, transparent 0, #000 7%, #000 88%, transparent 100%);
    animation: v6MobileProductFloat 5.4s ease-in-out infinite;
  }

  .hero-mobile-glance__score {
    z-index: 9;
    padding: 16px 12px 14px 6px;
  }

  .hero-mobile-glance__score > small {
    font-size: 7px;
  }

  .hero-mobile-glance__score > strong {
    font-size: 34px;
  }

  .hero-mobile-glance__score p {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .hero-mobile-glance__score p span {
    justify-content: flex-start;
    font-size: 7px;
  }

  .hero__actions {
    gap: 9px;
  }

  .hero__actions .button {
    min-height: 52px;
  }

  .hero__trust {
    margin-top: 15px;
  }

  /* Make the selected series useful without trapping the user for a full viewport. */
  .series-dashboard__feature {
    min-height: 485px;
  }

  .series-profile-hero {
    min-height: 238px;
  }

  .series-profile-render {
    bottom: -11%;
    height: 112%;
    width: auto;
  }

  .series-feature__copy h3 {
    font-size: 31px;
  }

  .series-feature__copy p {
    font-size: 12px;
    line-height: 1.5;
  }

  .series-feature-score {
    padding: 13px;
  }

  .series-feature__actions {
    grid-template-columns: 1fr;
  }

  .series-feature__actions .button {
    min-height: 48px;
  }

  .series-card__copy h3 { font-size: 16px; }
  .series-card__copy p { font-size: 10px; }

  /* The live preview now shows the full system silhouette. */
  .live-window__render {
    bottom: -8%;
    width: auto;
    height: 108%;
  }

  /* Results: reduce text wall and reveal the product earlier. */
  .recommendation-hero__content {
    padding-bottom: 12px;
  }

  .recommendation-hero__content h3 {
    font-size: clamp(45px, 13.5vw, 59px);
    line-height: .91;
  }

  .reason-chips span:nth-child(n+5) {
    display: none;
  }

  .recommendation-actions {
    gap: 8px;
  }

  .recommendation-actions .button {
    min-height: 50px;
  }

  .recommendation-profile-v4 {
    min-height: 292px;
  }

  .recommendation-profile-render {
    bottom: -7%;
    width: auto;
    height: 109%;
  }

  /* A result dock already contains the primary action; do not stack two fixed bars. */
  body.has-result-dock .mobile-bottom-nav {
    opacity: 0;
    pointer-events: none;
    transform: translateY(calc(100% + 28px));
  }

  .result-dock {
    bottom: max(9px, env(safe-area-inset-bottom));
  }

  body.has-result-dock .toast-region {
    bottom: calc(88px + env(safe-area-inset-bottom));
  }

  .result-section-nav {
    scrollbar-width: none;
  }

  .result-section-nav::-webkit-scrollbar {
    display: none;
  }
}

@media (max-width: 420px) {
  .hero-mobile-glance {
    min-height: 150px;
  }

  .hero-mobile-glance__render {
    height: 116%;
  }

  .series-dashboard__feature {
    min-height: 470px;
  }

  .series-profile-hero {
    min-height: 225px;
  }
}

@keyframes v6MobileProductFloat {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-5px); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-mobile-glance__render { animation: none !important; }
}

@media (max-width: 760px) {
  .series-dashboard__feature { min-height: 445px; }
  .series-profile-hero { min-height: 202px; }
  .series-feature__copy p { min-height: 0; margin-bottom: 12px; }
  .series-feature__metrics { gap: 7px; }
  .series-feature__metrics span { min-height: 48px; padding: 8px 10px; }
  .series-feature-score { margin-top: 9px; padding: 11px 12px; }
  .series-feature__actions { gap: 7px; }
  .series-feature__actions .button { min-height: 44px; }
}

@media (max-width: 420px) {
  .series-dashboard__feature { min-height: 432px; }
  .series-profile-hero { min-height: 192px; }
}


/* 0.6.0 final usability refinement: primary content stays unobstructed. */
@media (max-width: 760px) {
  .series-feature__actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .series-feature__actions .button {
    min-height: 46px;
    padding-inline: 10px;
    gap: 6px;
    font-size: 11px;
    line-height: 1.15;
    white-space: nowrap;
  }

  .series-feature__actions .icon {
    width: 15px;
    height: 15px;
    flex: 0 0 auto;
  }

  .series-dashboard__feature {
    padding-bottom: 18px;
  }
}

@media (max-width: 370px) {
  .series-feature__actions .button {
    padding-inline: 7px;
    font-size: 10px;
  }
}

/* Keep the selected-series actions inside the first mobile viewport. */
@media (max-width: 760px) {
  .series-profile-hero {
    width: 100%;
    height: 205px;
    min-height: 205px;
    margin-top: 3px;
    transform: none;
  }

  .series-profile-render {
    bottom: -12%;
    height: 116%;
  }

  .series-feature__copy h3 {
    margin-block: 5px 7px;
    font-size: 29px;
  }

  .series-feature__metrics {
    margin-block: 12px 10px;
  }
}

@media (max-width: 420px) {
  .series-profile-hero {
    height: 190px;
    min-height: 190px;
  }

  .series-profile-render {
    height: 115%;
  }
}

/* Compact the mobile series overview enough to keep both actions tappable above navigation. */
@media (max-width: 760px) {
  .series-profile-hero {
    height: 178px;
    min-height: 178px;
  }

  .series-profile-render {
    bottom: -13%;
    height: 117%;
  }

  .series-feature__copy h3 {
    font-size: 27px;
  }

  .series-feature__copy p {
    margin-bottom: 8px;
    font-size: 11px;
    line-height: 1.42;
  }

  .series-feature__metrics span {
    min-height: 44px;
    padding: 7px 9px;
  }

  .series-feature-score {
    padding: 9px 11px;
  }

  .series-feature-score > i {
    margin-block: 7px 6px;
  }
}

@media (max-width: 420px) {
  .series-profile-hero {
    height: 168px;
    min-height: 168px;
  }
}

/* Mobile uses one purpose-built interactive visual instead of duplicating the desktop laboratory. */
@media (max-width: 760px) {
  .hero-lab {
    display: none !important;
  }

  .hero-mobile-glance__switch {
    position: absolute;
    z-index: 18;
    top: 9px;
    left: 9px;
    display: inline-flex;
    gap: 3px;
    padding: 3px;
    background: rgba(16, 23, 33, .74);
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 999px;
    box-shadow: 0 10px 24px rgba(10, 16, 25, .22);
    backdrop-filter: blur(12px);
  }

  .hero-mobile-glance__switch button {
    min-height: 28px;
    padding: 0 9px;
    color: rgba(255, 255, 255, .67);
    background: transparent;
    border: 0;
    border-radius: 999px;
    font-size: 8px;
    font-weight: 850;
    letter-spacing: .02em;
  }

  .hero-mobile-glance__switch button.is-active {
    color: #151b24;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .18);
  }
}

/* ========================================================================== 
   AKFA Energy 0.7.0 — composition, responsive density and interactive polish
   ========================================================================== */

:root {
  --v7-red: #f02332;
  --v7-red-dark: #d50f1e;
  --v7-ink: #0d121a;
  --v7-slate: #657181;
  --v7-line: rgba(105, 119, 138, .16);
  --v7-glass: rgba(255, 255, 255, .84);
  --v7-shadow: 0 24px 70px rgba(17, 27, 41, .11);
  --v7-shadow-soft: 0 14px 38px rgba(17, 27, 41, .075);
  --v7-ease: cubic-bezier(.18, .82, .24, 1);
  --container: 1380px;
}

html {
  scroll-padding-top: 88px;
}

section[id] {
  scroll-margin-top: 88px;
}

body {
  background:
    radial-gradient(circle at 7% 4%, rgba(240, 35, 50, .07), transparent 31rem),
    radial-gradient(circle at 96% 22%, rgba(70, 153, 255, .075), transparent 34rem),
    linear-gradient(180deg, #f8fafc 0%, #eef2f6 100%);
}

/* Header: calmer, more compact and easier to scan. */
.site-header,
.site-header.is-scrolled {
  height: 70px;
}

.site-header__inner,
.site-header.is-scrolled .site-header__inner {
  height: 70px;
}

.site-header {
  background: rgba(250, 251, 253, .88);
  border-bottom-color: rgba(98, 112, 131, .12);
  box-shadow: 0 7px 30px rgba(15, 24, 37, .035);
}

.site-header.is-scrolled {
  background: rgba(252, 253, 254, .96);
  box-shadow: 0 14px 42px rgba(15, 24, 37, .105);
}

.brand--official .brand__logo {
  width: 145px;
}

.brand__product b,
.brand__product strong {
  letter-spacing: -.02em;
}

.desktop-nav {
  gap: 3px;
  padding: 4px;
  border-radius: 14px;
}

.desktop-nav a {
  min-height: 36px;
  padding-inline: 13px;
  border-radius: 10px;
  font-size: 11px;
}

.header-actions {
  gap: 8px;
}

.button--header {
  min-height: 46px;
  padding-inline: 18px;
  border-radius: 13px;
}

/* Hero: a tighter 12-column composition, without sacrificing the visual. */
.hero {
  min-height: min(720px, calc(100vh - 100px));
  padding: clamp(38px, 5vh, 58px) 0 58px;
}

.hero__layout {
  grid-template-columns: minmax(0, .88fr) minmax(560px, 1.12fr);
  gap: clamp(34px, 4.8vw, 72px);
}

.hero__content {
  max-width: 625px;
}

.hero h1 {
  max-width: 625px;
  margin: 20px 0 18px;
  font-size: clamp(54px, 5vw, 76px);
  line-height: .94;
  letter-spacing: -.064em;
  text-wrap: balance;
}

.hero__lead {
  max-width: 585px;
  margin-bottom: 22px;
  font-size: 15px;
  line-height: 1.62;
}

.hero__actions .button {
  min-height: 54px;
  border-radius: 15px;
}

.hero__trust {
  gap: 8px;
  margin-top: 16px;
}

.hero__trust span {
  min-height: 34px;
  padding: 7px 10px;
  background: rgba(255, 255, 255, .62);
  border: 1px solid rgba(111, 125, 143, .11);
  border-radius: 11px;
  box-shadow: 0 7px 18px rgba(17, 25, 38, .035);
}

.hero-quick-start {
  margin-top: 16px;
}

.hero-lab {
  min-height: 565px;
  border-radius: 30px;
  box-shadow: 0 34px 90px rgba(22, 34, 50, .16), inset 0 1px 0 rgba(255, 255, 255, .88);
}

.hero-lab__top {
  padding-inline: 19px;
}

.hero-product-layer {
  min-height: 365px;
}

.hero-lab__telemetry {
  gap: 6px;
}

.hero-lab__telemetry > span {
  min-height: 50px;
  border-radius: 12px;
}

/* The explainer becomes a concise bridge, not another oversized landing page. */
.how-section {
  padding: 72px 0 78px;
}

.how-section .section-heading {
  margin-bottom: 25px;
}

.how-section .section-heading h2 {
  max-width: 820px;
  font-size: clamp(36px, 3.7vw, 54px);
}

.how-grid article {
  min-height: 206px;
  padding: 23px;
}

/* Series explorer: the catalog itself appears above the fold. */
.series-section {
  padding: 72px 0 86px;
}

.series-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 24px;
  margin-bottom: 16px;
  padding: 23px 24px;
  background: rgba(255, 255, 255, .72);
  border: 1px solid rgba(255, 255, 255, .91);
  border-radius: 25px;
  box-shadow: var(--v7-shadow-soft), inset 0 1px 0 #fff;
  backdrop-filter: blur(20px) saturate(1.12);
}

.series-heading > div:first-child {
  max-width: 920px;
}

.series-heading h2 {
  max-width: 820px;
  margin-bottom: 10px;
  font-size: clamp(38px, 3.7vw, 56px);
  line-height: .96;
}

.series-heading p {
  max-width: 760px;
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
}

.series-heading__tools {
  align-items: stretch;
  gap: 8px;
}

.series-heading__stat {
  min-width: 190px;
  min-height: 112px;
  padding: 15px 17px;
  border-radius: 18px;
}

.series-heading__stat strong {
  font-size: 43px;
}

.series-heading__compare {
  min-height: 48px;
}

.series-dashboard {
  grid-template-columns: minmax(365px, 410px) minmax(0, 1fr);
  gap: 14px;
  padding: 14px;
  border-radius: 27px;
}

.series-dashboard__feature {
  top: 86px;
  min-height: 655px;
  padding: 20px;
  border-radius: 21px;
}

.series-profile-hero {
  min-height: 292px;
  margin-top: 0;
}

.series-profile-render {
  bottom: -13%;
  height: 113%;
}

.series-feature__copy h3 {
  max-width: 350px;
  margin-block: 4px 8px;
  font-size: clamp(31px, 2.7vw, 41px);
}

.series-feature__copy p {
  min-height: 48px;
  margin-bottom: 11px;
  font-size: 12px;
  line-height: 1.48;
}

.series-feature__metrics {
  gap: 7px;
}

.series-feature__metrics span {
  min-height: 58px;
  padding: 10px 11px;
}

.series-feature-score {
  margin-top: 9px;
  padding: 12px 13px;
}

.series-feature__actions {
  margin-top: 8px;
}

.series-feature__actions .button {
  min-height: 45px;
}

.series-dashboard__catalog {
  padding: 7px 7px 10px;
}

.series-controls {
  top: 79px;
  margin: -7px -7px 12px;
  padding: 11px 11px 10px;
  border-radius: 20px 20px 0 0;
}

.series-controls__primary,
.series-controls__secondary {
  gap: 8px;
}

.series-controls__hint {
  min-width: 180px;
}

.series-view-switch {
  display: inline-flex;
  flex: 0 0 auto;
  gap: 3px;
  padding: 3px;
  background: #e9edf2;
  border: 1px solid rgba(111, 125, 143, .12);
  border-radius: 12px;
}

.series-view-switch button {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 10px;
  color: #697483;
  background: transparent;
  border: 0;
  border-radius: 9px;
  font-size: 9px;
  font-weight: 790;
  transition: color .2s ease, background .2s ease, box-shadow .2s ease, transform .2s var(--v7-ease);
}

.series-view-switch button:hover {
  color: #202732;
}

.series-view-switch button.is-active {
  color: #d61725;
  background: #fff;
  box-shadow: 0 6px 16px rgba(17, 25, 38, .09), inset 0 -2px 0 var(--v7-red);
}

.series-view-switch .icon {
  width: 14px;
  height: 14px;
}

@media (min-width: 1240px) {
  .series-rail:not(.is-compact) {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 10px;
  }

  .series-rail:not(.is-compact) .series-card__select {
    grid-template-columns: 62px minmax(0, 1fr) 45px !important;
    min-height: 105px;
    gap: 9px !important;
    padding: 11px 10px 10px !important;
  }

  .series-rail:not(.is-compact) .series-card__visual,
  .series-rail:not(.is-compact) .series-card__visual[data-system-type="sliding"] {
    width: 60px !important;
    height: 76px !important;
    border-radius: 12px !important;
  }

  .series-rail:not(.is-compact) .series-card__copy strong {
    font-size: 12px !important;
  }

  .series-rail:not(.is-compact) .series-card__copy em {
    min-height: 32px !important;
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    font-size: 7px !important;
  }

  .series-rail:not(.is-compact) .series-card__score b {
    font-size: 20px !important;
  }

  .series-rail:not(.is-compact) .series-card__facts {
    padding: 0 10px 8px !important;
  }

  .series-rail:not(.is-compact) .series-card__facts span {
    min-height: 38px;
    padding: 6px 7px;
  }

  .series-rail:not(.is-compact) .series-card__foot {
    min-height: 42px;
    padding: 7px 9px !important;
  }

  .series-rail:not(.is-compact) .series-source {
    display: none;
  }
}

/* Compact catalog mode: fast scanning and comparison. */
.series-rail.is-compact {
  grid-template-columns: 1fr !important;
  gap: 7px;
}

.series-rail.is-compact .series-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  border-radius: 15px;
}

.series-rail.is-compact .series-card__select {
  grid-template-columns: 54px minmax(0, 1fr) 64px !important;
  min-height: 72px;
  gap: 10px !important;
  padding: 8px 10px !important;
}

.series-rail.is-compact .series-card__visual,
.series-rail.is-compact .series-card__visual[data-system-type="sliding"] {
  width: 52px !important;
  height: 58px !important;
  border-radius: 10px !important;
}

.series-rail.is-compact .series-card__copy em {
  min-height: 0 !important;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.series-rail.is-compact .series-card__facts {
  display: none;
}

.series-rail.is-compact .series-card__foot {
  min-height: 0;
  padding: 0 8px 0 0 !important;
  background: transparent;
  border: 0;
}

.series-rail.is-compact .series-card__foot > span,
.series-rail.is-compact .series-card__open {
  display: none;
}

.series-rail.is-compact .series-card__compare {
  min-width: 36px;
  min-height: 36px;
  padding: 0 8px;
}

.series-rail.is-compact .series-card__compare span {
  display: none;
}

.series-compare-shelf {
  position: sticky;
  z-index: 18;
  bottom: 12px;
  box-shadow: 0 20px 52px rgba(16, 24, 37, .17), inset 0 1px 0 rgba(255, 255, 255, .9);
  backdrop-filter: blur(20px) saturate(1.12);
}

/* Interactive light follows the pointer without overwhelming the content. */
.series-card,
.metric-grid article,
.how-grid article,
.technology-card,
.option-card,
.catalog-match-card {
  --spot-x: 50%;
  --spot-y: 50%;
  position: relative;
  isolation: isolate;
}

.series-card::after,
.metric-grid article::after,
.how-grid article::after,
.technology-card::after,
.option-card::after,
.catalog-match-card::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  border-radius: inherit;
  background: radial-gradient(circle at var(--spot-x) var(--spot-y), rgba(255, 255, 255, .78), transparent 34%);
  transition: opacity .24s ease;
}

.series-card.is-spotlight-active::after,
.metric-grid article.is-spotlight-active::after,
.how-grid article.is-spotlight-active::after,
.technology-card.is-spotlight-active::after,
.option-card.is-spotlight-active::after,
.catalog-match-card.is-spotlight-active::after {
  opacity: .54;
}

/* Advisor: the first real question is now visible much sooner. */
.advisor-section {
  padding: 72px 0 88px;
}

.advisor-heading {
  grid-template-columns: minmax(0, 1fr) minmax(340px, .62fr);
  gap: 34px;
  margin-bottom: 15px;
}

.advisor-heading h2 {
  max-width: 680px;
  font-size: clamp(42px, 4.5vw, 62px);
  line-height: .96;
}

.advisor-heading > p {
  max-width: 470px;
  font-size: 14px;
  line-height: 1.55;
}

.advisor-mode-bar {
  min-height: 66px;
  margin-bottom: 12px;
  padding: 8px 9px 8px 12px;
  border-radius: 17px;
}

.advisor-mode-copy small {
  font-size: 10px;
}

.advisor-mode-switch button {
  min-height: 45px;
}

.advisor-shell {
  border-radius: 25px;
}

.advisor-progress {
  top: 70px;
  padding: 14px 18px 10px;
  border-radius: 25px 25px 0 0;
}

.advisor-step-rail button {
  min-height: 35px;
  padding-inline: 8px;
}

.advisor-context-ribbon {
  padding: 8px 11px;
}

.advisor-context-ribbon button {
  min-height: 42px;
}

.advisor-main {
  padding: 21px 24px 0;
}

.question-step {
  min-height: 360px;
  padding: 19px 0 15px;
}

.question-head {
  margin-bottom: 17px;
}

.question-head h3 {
  font-size: clamp(24px, 2.25vw, 31px);
}

.advisor-controls {
  margin-inline: -24px;
  padding: 12px 24px 15px;
}

.advisor-live {
  top: 83px;
  min-height: 590px;
  padding: 20px 18px;
}

.live-window {
  min-height: 230px;
}

/* Results: a compact action header and stronger product hierarchy. */
.results {
  scroll-margin-top: 78px;
}

.results-toolbar {
  align-items: end;
  gap: 20px;
  margin-bottom: 12px;
}

.results-toolbar h2 {
  font-size: clamp(40px, 4.3vw, 61px);
  line-height: .95;
}

.results-actions {
  gap: 7px;
}

.results-actions button {
  min-height: 42px;
  padding-inline: 12px;
  border-radius: 12px;
}

.result-section-nav {
  top: 76px;
  margin-bottom: 14px;
  padding: 6px;
  border-radius: 17px;
  box-shadow: 0 13px 36px rgba(17, 25, 38, .08);
  backdrop-filter: blur(20px) saturate(1.1);
}

.result-section-nav a {
  min-height: 40px;
  border-radius: 11px;
}

.recommendation-hero {
  grid-template-columns: minmax(0, 1.02fr) minmax(330px, .72fr) minmax(275px, .58fr);
  min-height: 430px;
  border-radius: 27px;
}

.recommendation-hero__content {
  padding: 35px 18px 30px 35px;
}

.recommendation-hero__content h3 {
  max-width: 620px;
  font-size: clamp(43px, 4.5vw, 68px);
  line-height: .93;
}

.recommendation-hero__content > p {
  max-width: 520px;
  font-size: 15px;
}

.recommendation-profile-v4 {
  min-height: 405px;
}

.energy-score-card {
  margin: 18px 18px 18px 0;
  padding: 21px;
  border-radius: 22px;
}

.metric-grid {
  gap: 10px;
}

.metric-grid article {
  min-height: 170px;
  border-radius: 19px;
  transition: transform .28s var(--v7-ease), box-shadow .28s ease, border-color .28s ease;
}

.metric-grid article:hover {
  transform: translateY(-5px);
  border-color: rgba(240, 35, 50, .17);
  box-shadow: 0 22px 50px rgba(17, 25, 38, .095);
}

/* Back to top: unobtrusive on desktop, out of the way on mobile. */
.back-to-top {
  position: fixed;
  z-index: 79;
  right: 22px;
  bottom: 22px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 13px;
  color: #fff;
  background: rgba(17, 23, 32, .92);
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 14px;
  box-shadow: 0 18px 44px rgba(10, 16, 25, .22);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px) scale(.94);
  transition: opacity .22s ease, transform .26s var(--v7-ease), background .2s ease;
  backdrop-filter: blur(16px);
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.back-to-top:hover {
  background: var(--v7-red);
  transform: translateY(-2px);
}

.back-to-top .icon {
  width: 16px;
  height: 16px;
  transform: rotate(90deg);
}

.back-to-top span {
  font-size: 10px;
  font-weight: 780;
}

@media (max-width: 1180px) {
  .hero__layout {
    grid-template-columns: minmax(0, .92fr) minmax(500px, 1.08fr);
    gap: 28px;
  }

  .hero h1 {
    font-size: clamp(50px, 5.5vw, 67px);
  }

  .series-dashboard {
    grid-template-columns: minmax(330px, 370px) minmax(0, 1fr);
  }

  .series-rail:not(.is-compact) {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .series-view-switch span {
    display: none;
  }

  .recommendation-hero {
    grid-template-columns: minmax(0, 1fr) minmax(290px, .72fr);
  }

  .recommendation-hero .energy-score-card {
    grid-column: 1 / -1;
    margin: 0 18px 18px;
  }
}

@media (max-width: 980px) {
  .hero {
    min-height: auto;
  }

  .hero__layout {
    grid-template-columns: 1fr;
  }

  .hero__content {
    max-width: 760px;
  }

  .hero-lab {
    max-width: 760px;
    min-height: 540px;
    margin-inline: auto;
  }

  .series-heading {
    grid-template-columns: 1fr;
  }

  .series-heading__tools {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .series-heading__stat {
    min-height: 92px;
  }

  .series-dashboard {
    grid-template-columns: 1fr;
  }

  .series-dashboard__feature {
    position: relative;
    top: auto;
    min-height: 570px;
  }

  .series-profile-hero {
    min-height: 260px;
  }

  .series-controls {
    top: 71px;
  }

  .advisor-heading {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .advisor-heading > p {
    max-width: 720px;
  }

  .advisor-layout {
    grid-template-columns: 1fr;
  }

  .advisor-main {
    border-right: 0;
  }

  .advisor-live {
    position: relative;
    top: auto;
    min-height: 440px;
    border-radius: 0 0 25px 25px;
  }

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

  .recommendation-hero__content {
    grid-column: 1 / -1;
    padding-right: 35px;
  }

  .recommendation-profile-v4,
  .energy-score-card {
    min-height: 340px;
  }

  .recommendation-hero .energy-score-card {
    grid-column: auto;
    margin: 16px 16px 16px 0;
  }
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 71px;
  }

  section[id] {
    scroll-margin-top: 71px;
  }

  .pilot-strip {
    min-height: 27px;
  }

  .pilot-strip__inner {
    min-height: 27px;
  }

  .site-header,
  .site-header.is-scrolled,
  .site-header__inner,
  .site-header.is-scrolled .site-header__inner {
    height: 62px;
  }

  .site-header {
    top: 27px;
  }

  .brand--official .brand__logo {
    width: 124px;
  }

  .hero {
    padding: 26px 0 42px;
  }

  .hero__content {
    max-width: none;
  }

  .eyebrow {
    min-height: 28px;
    padding: 5px 8px;
    font-size: 8px;
  }

  .hero h1 {
    max-width: 100%;
    margin: 14px 0 11px;
    font-size: clamp(37px, 10.7vw, 46px);
    line-height: .96;
    letter-spacing: -.055em;
  }

  .hero__lead {
    margin-bottom: 12px;
    font-size: 12px;
    line-height: 1.52;
  }

  .hero-mobile-glance {
    min-height: 142px;
    margin: 12px 0 12px;
    border-radius: 19px;
  }

  .hero-mobile-glance__render {
    height: 112%;
  }

  .hero-mobile-glance__score {
    padding: 14px 10px 12px 4px;
  }

  .hero-mobile-glance__score > strong {
    font-size: 31px;
  }

  .hero__actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 7px;
  }

  .hero__actions .button {
    min-width: 0;
    min-height: 49px;
    padding-inline: 15px;
    font-size: 12px;
  }

  .hero__actions .button--ghost {
    width: 50px;
    padding: 0;
  }

  .hero__actions .button--ghost span {
    display: none;
  }

  .hero__trust {
    display: flex;
    gap: 7px;
    margin: 11px -16px 0;
    padding: 0 16px 4px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }

  .hero__trust::-webkit-scrollbar {
    display: none;
  }

  .hero__trust span {
    flex: 0 0 auto;
    min-height: 31px;
    scroll-snap-align: start;
    font-size: 9px;
  }

  .hero-quick-start {
    margin-top: 10px;
  }

  .hero-quick-start > span {
    font-size: 8px;
  }

  .hero-quick-start > div {
    gap: 6px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .hero-quick-start > div::-webkit-scrollbar {
    display: none;
  }

  .hero-quick-start button {
    flex: 0 0 auto;
    min-height: 37px;
    padding-inline: 11px;
  }

  .how-section {
    padding: 52px 0 58px;
  }

  .how-section .section-heading h2 {
    font-size: 33px;
  }

  .how-grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(250px, 84vw);
    gap: 10px;
    margin-inline: -16px;
    padding: 0 16px 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .how-grid::-webkit-scrollbar {
    display: none;
  }

  .how-grid::before {
    display: none;
  }

  .how-grid article {
    min-height: 190px;
    scroll-snap-align: center;
  }

  .series-section {
    padding: 52px 0 72px;
  }

  .series-heading {
    gap: 14px;
    margin-bottom: 11px;
    padding: 18px 16px;
    border-radius: 21px;
  }

  .series-heading h2 {
    max-width: 100%;
    margin-bottom: 8px;
    font-size: clamp(34px, 9.6vw, 40px);
    line-height: .98;
  }

  .series-heading p {
    font-size: 12px;
    line-height: 1.5;
  }

  .series-heading__tools {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 7px;
  }

  .series-heading__stat {
    min-width: 0;
    min-height: 82px;
    padding: 11px 12px;
    border-radius: 15px;
  }

  .series-heading__stat strong {
    font-size: 35px;
  }

  .series-heading__stat span {
    font-size: 9px;
  }

  .series-heading__stat small {
    display: none;
  }

  .series-heading__compare {
    min-width: 0;
    min-height: 82px;
    padding: 10px;
    white-space: normal;
  }

  .series-dashboard {
    gap: 9px;
    margin-inline: -4px;
    padding: 8px;
    border-radius: 23px;
  }

  .series-dashboard__feature {
    min-height: 430px;
    padding: 14px;
    border-radius: 18px;
  }

  .series-profile-hero {
    height: 158px;
    min-height: 158px;
  }

  .series-profile-render {
    bottom: -14%;
    height: 115%;
  }

  .series-feature__copy h3 {
    margin-block: 3px 5px;
    font-size: 26px;
  }

  .series-feature__copy p {
    display: -webkit-box;
    min-height: 0;
    margin-bottom: 7px;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    font-size: 10px;
  }

  .series-feature__metrics span {
    min-height: 41px;
    padding: 6px 8px;
  }

  .series-feature-score {
    padding: 8px 10px;
  }

  .series-feature-score p {
    display: none;
  }

  .series-feature__actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .series-feature__actions .button {
    min-height: 42px;
    font-size: 10px;
  }

  .series-dashboard__catalog {
    padding: 4px 4px 8px;
  }

  .series-controls {
    top: 61px;
    margin: -4px -4px 9px;
    padding: 9px;
    border-radius: 16px 16px 0 0;
  }

  .series-controls__primary,
  .series-controls__secondary {
    display: flex;
    align-items: center;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .series-controls__primary::-webkit-scrollbar,
  .series-controls__secondary::-webkit-scrollbar {
    display: none;
  }

  .series-filters,
  .series-search,
  .series-sort,
  .series-view-switch,
  .series-compare-inline {
    flex: 0 0 auto;
  }

  .series-controls__hint {
    display: none;
  }

  .series-view-switch span {
    display: none;
  }

  .series-view-switch button {
    width: 35px;
    padding: 0;
  }

  .series-rail:not(.is-compact) {
    grid-template-columns: 1fr !important;
    gap: 8px;
  }

  .series-card__select {
    grid-template-columns: 62px minmax(0, 1fr) 48px !important;
    min-height: 92px;
    padding: 10px !important;
  }

  .series-card__visual,
  .series-card__visual[data-system-type="sliding"] {
    width: 60px !important;
    height: 72px !important;
  }

  .series-card__copy em {
    min-height: 30px !important;
    -webkit-line-clamp: 2;
  }

  .series-card__facts {
    padding: 0 10px 8px !important;
  }

  .series-card__foot {
    padding: 7px 10px !important;
  }

  .series-compare-shelf {
    bottom: 80px;
  }

  .advisor-section {
    padding: 50px 0 68px;
  }

  .advisor-heading {
    gap: 7px;
    margin-bottom: 11px;
  }

  .advisor-heading h2 {
    font-size: clamp(33px, 9vw, 39px);
    line-height: .99;
  }

  .advisor-heading > p {
    font-size: 12px;
    line-height: 1.5;
  }

  .advisor-mode-bar {
    min-height: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin-bottom: 10px;
    padding: 10px;
  }

  .advisor-mode-copy {
    gap: 9px;
  }

  .advisor-mode-copy small {
    display: none;
  }

  .advisor-mode-switch {
    width: 100%;
  }

  .advisor-mode-switch button {
    flex: 1 1 0;
    min-width: 0;
    min-height: 43px;
  }

  .advisor-shell {
    margin-inline: -4px;
    border-radius: 21px;
  }

  .advisor-progress {
    top: 61px;
    padding: 11px 11px 8px;
    border-radius: 21px 21px 0 0;
  }

  .advisor-progress__meta {
    margin-bottom: 7px;
  }

  .advisor-step-rail {
    display: flex;
    gap: 5px;
    margin-inline: -2px;
    padding-bottom: 2px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }

  .advisor-step-rail::-webkit-scrollbar {
    display: none;
  }

  .advisor-step-rail button {
    flex: 0 0 auto;
    min-width: 47px;
    min-height: 36px;
    padding: 0 7px;
    scroll-snap-align: center;
  }

  .advisor-step-rail button b {
    display: none;
  }

  .advisor-context-ribbon {
    display: flex;
    gap: 7px;
    padding: 7px 9px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .advisor-context-ribbon::-webkit-scrollbar {
    display: none;
  }

  .advisor-context-ribbon button,
  .advisor-autosave {
    flex: 0 0 auto;
    min-height: 38px;
  }

  .advisor-main {
    padding: 14px 14px 0;
  }

  .engineer-message {
    padding: 10px 11px;
  }

  .question-step {
    min-height: 0;
    padding: 14px 0 10px;
  }

  .question-head {
    margin-bottom: 14px;
  }

  .question-head h3 {
    font-size: 24px;
  }

  .advisor-controls {
    margin-inline: -14px;
    padding: 10px 14px 13px;
  }

  .advisor-live {
    min-height: 360px;
    padding: 16px 14px;
  }

  .results-toolbar {
    display: grid;
    gap: 10px;
    padding-top: 8px;
  }

  .results-toolbar h2 {
    font-size: clamp(31px, 8.8vw, 38px);
    line-height: .98;
  }

  .results-actions {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
  }

  .results-actions button {
    min-width: 0;
    min-height: 54px;
    display: grid;
    place-items: center;
    gap: 3px;
    padding: 7px 3px;
    font-size: 8px;
    text-align: center;
    white-space: normal;
  }

  .results-actions .icon {
    width: 17px;
    height: 17px;
  }

  .result-section-nav {
    top: 61px;
    display: flex;
    gap: 5px;
    padding: 5px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
  }

  .result-section-nav a {
    flex: 0 0 auto;
    min-width: 92px;
    scroll-snap-align: start;
  }

  .recommendation-hero {
    display: grid;
    grid-template-columns: 1fr;
    min-height: 0;
    border-radius: 22px;
  }

  .recommendation-hero__content {
    grid-column: auto;
    padding: 24px 20px 12px;
  }

  .recommendation-hero__content h3 {
    font-size: clamp(40px, 11.5vw, 50px);
  }

  .recommendation-hero__content > p {
    font-size: 13px;
  }

  .reason-chips span:nth-child(n+4) {
    display: none;
  }

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

  .recommendation-actions .button {
    min-width: 0;
    min-height: 48px;
    padding-inline: 13px;
    font-size: 11px;
  }

  .recommendation-actions .button--ghost {
    width: 49px;
    padding: 0;
  }

  .recommendation-actions .button--ghost span {
    display: none;
  }

  .recommendation-profile-v4 {
    min-height: 245px;
    order: 3;
  }

  .energy-score-card,
  .recommendation-hero .energy-score-card {
    order: 2;
    min-height: 0;
    margin: 0 12px 6px;
    padding: 14px;
    border-radius: 18px;
  }

  .score-comparison {
    grid-template-columns: 1fr auto 1fr;
    gap: 7px;
  }

  .score-gauge {
    width: 92px;
    height: 92px;
  }

  .score-card-highlights {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 5px;
  }

  .score-card-highlights span {
    min-height: 58px;
    padding: 7px;
  }

  .decision-summary {
    gap: 8px;
  }

  .metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .metric-grid article {
    min-height: 150px;
    padding: 15px;
  }

  .back-to-top {
    right: 12px;
    bottom: calc(78px + env(safe-area-inset-bottom));
    width: 42px;
    min-height: 42px;
    padding: 0;
    border-radius: 13px;
  }

  .back-to-top span {
    display: none;
  }

  body.has-result-dock .back-to-top {
    bottom: calc(96px + env(safe-area-inset-bottom));
  }
}

@media (max-width: 420px) {
  .hero h1 {
    font-size: clamp(35px, 10.1vw, 42px);
  }

  .hero-mobile-glance {
    min-height: 136px;
  }

  .series-heading h2 {
    font-size: 34px;
  }

  .series-dashboard__feature {
    min-height: 414px;
  }

  .series-profile-hero {
    height: 148px;
    min-height: 148px;
  }

  .series-feature__copy h3 {
    font-size: 24px;
  }

  .results-actions button {
    min-height: 51px;
  }

  .recommendation-hero__content h3 {
    font-size: 39px;
  }
}

@media (hover: none) {
  .series-card::after,
  .metric-grid article::after,
  .how-grid article::after,
  .technology-card::after,
  .option-card::after,
  .catalog-match-card::after {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .back-to-top,
  .series-card,
  .metric-grid article,
  .how-grid article,
  .technology-card,
  .option-card,
  .catalog-match-card {
    transition: none !important;
  }
}
