@font-face {
  font-family: "Creato Display";
  src: url("/assets/fonts/creato-display-regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Creato Display";
  src: url("/assets/fonts/creato-display-bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Creato Display";
  src: url("/assets/fonts/creato-display-extrabold.otf") format("opentype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Lora";
  src: url("/assets/fonts/lora-variable.ttf") format("truetype");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #050505;
  --panel: #111111;
  --panel-strong: #181818;
  --line: rgba(255, 255, 255, 0.14);
  --line-soft: rgba(255, 255, 255, 0.08);
  --text: #f2f2f2;
  --muted: #b7b7b7;
  --accent: #ff4d24;
  --accent-dark: #d83912;
  --font-title: "Creato Display", Arial, sans-serif;
  --font-subtitle: "Lora", "Creato Display", Arial, sans-serif;
  --font-mono: "Creato Display", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 16px;
  line-height: 1.6;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

h1 {
  font-family: var(--font-title);
  font-size: 56px;
  font-weight: 800;
  line-height: 1.05;
  text-transform: none;
}

h2 {
  font-family: var(--font-subtitle);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.3;
  text-transform: none;
}

button,
input[type="button"],
input[type="submit"],
.btn {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 40px 40px;
}

a {
  color: inherit;
  text-decoration: none;
}

.section-band,
.questionnaire-section,
.site-footer {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.hero {
  position: relative;
  isolation: isolate;
  width: 100%;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 0.66fr) minmax(700px, 1fr);
  gap: clamp(28px, 2.8vw, 38px);
  align-items: center;
  overflow: hidden;
  padding: 88px max(24px, calc((100vw - 1360px) / 2)) 72px;
  background:
    linear-gradient(112deg, rgba(5, 5, 5, 0.98) 0%, rgba(8, 8, 8, 0.96) 54%, rgba(18, 18, 19, 0.98) 100%),
    #050505;
}

.cold-hero {
  position: relative;
  isolation: isolate;
  width: 100%;
  min-height: 92svh;
  display: grid;
  grid-template-columns: minmax(0, 0.66fr) minmax(680px, 1fr);
  gap: clamp(28px, 2.8vw, 38px);
  align-items: center;
  overflow: hidden;
  padding: 86px max(24px, calc((100vw - 1360px) / 2)) 72px;
  background:
    linear-gradient(112deg, rgba(5, 5, 5, 0.98) 0%, rgba(8, 8, 8, 0.96) 54%, rgba(18, 18, 19, 0.98) 100%),
    #050505;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.038) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.038) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.35));
}

.cold-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.038) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.038) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.35));
}

.hero-vignette {
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.96) 0%, rgba(5, 5, 5, 0.84) 42%, rgba(5, 5, 5, 0.26) 78%, rgba(5, 5, 5, 0.68) 100%),
    linear-gradient(180deg, rgba(5, 5, 5, 0.4), rgba(5, 5, 5, 0.96));
}

.hero-copy,
.system-preview,
.questionnaire-copy,
.wizard {
  min-width: 0;
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(720px, 100%);
  max-width: 100%;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-title);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

h1 {
  max-width: 760px;
  font-size: clamp(40px, 4.05vw, 58px);
  overflow-wrap: normal;
}

h2 {
  max-width: 820px;
  font-size: clamp(30px, 3.8vw, 52px);
  text-wrap: balance;
}

h3 {
  font-size: 18px;
  line-height: 1.25;
}

.title-accent {
  color: var(--accent);
}

.lead {
  max-width: 720px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.price-inline {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035);
  padding: 12px 14px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.price-inline strong {
  color: var(--text);
}

.hero-actions,
.wizard-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  padding: 13px 18px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  text-align: center;
  white-space: normal;
}

.button-primary {
  background: var(--accent);
  color: #080808;
}

.button-primary:hover {
  background: #ff6a45;
}

.button-secondary {
  border-color: var(--line);
  background: transparent;
  color: var(--text);
}

.button-secondary:hover {
  border-color: var(--accent);
}

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

.system-preview {
  position: relative;
  z-index: 1;
  align-self: center;
}

.imac-mockup {
  position: relative;
  width: min(820px, 100%);
  margin-left: auto;
}

.imac-screen {
  position: relative;
  overflow: hidden;
  border: 1px solid #2b3038;
  border-radius: 18px 18px 9px 9px;
  padding: 16px 16px 54px;
  background:
    linear-gradient(145deg, #17191d, #07080a 58%, #101216),
    #0a0b0d;
  box-shadow: 0 30px 74px rgba(0, 0, 0, 0.58);
}

.imac-screen::before {
  content: "";
  position: absolute;
  top: 7px;
  left: 50%;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: #252a31;
  transform: translateX(-50%);
}

.imac-display {
  --preview-scale: 0.64;
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 7px;
  background: #f6f8fb;
}

.imac-chin {
  position: relative;
  z-index: 2;
  height: 54px;
  margin-top: -54px;
  border-radius: 0 0 18px 18px;
  border: 1px solid #b7bac1;
  border-top: 0;
  background: linear-gradient(180deg, #e9ebef 0%, #c5c9d0 58%, #adb2bc 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
  color: #40454d;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.imac-neck {
  width: 84px;
  height: 58px;
  margin: 0 auto;
  background: linear-gradient(90deg, #9aa0aa 0%, #e1e3e7 40%, #b3b8c1 100%);
  clip-path: polygon(22% 0, 78% 0, 94% 100%, 6% 100%);
  box-shadow: inset 12px 0 20px rgba(255, 255, 255, 0.26);
}

.imac-base {
  width: min(260px, 58%);
  height: 20px;
  margin: 0 auto;
  border-radius: 999px 999px 8px 8px;
  background: linear-gradient(180deg, #daddE3 0%, #a4a9b3 100%);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.38);
}

.preview-window,
.preview-window * {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.preview-window {
  position: relative;
  width: 1120px;
  height: 529px;
  min-height: 0;
  overflow: hidden;
  border-radius: 0;
  background: #f6f8fb;
  color: #172033;
  transform: scale(var(--preview-scale, 1));
  transform-origin: top left;
}

.preview-topbar {
  height: 54px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 0 28px;
  border-bottom: 1px solid #e3e8f0;
  background: #ffffff;
  color: #637083;
  font-size: 11px;
}

.preview-topbar strong {
  color: #111827;
  font-size: 15px;
  letter-spacing: 0;
}

.preview-topbar > span {
  justify-self: end;
  border-radius: 999px;
  padding: 5px 10px;
  background: #ecfdf5;
  color: #047857;
  font-size: 10px;
  font-weight: 700;
}

.preview-body {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  height: 475px;
  background: #f6f8fb;
}

.preview-sidebar {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px 16px;
  border-right: 1px solid #e3e8f0;
  background: #eef3f8;
}

.preview-tab {
  width: 100%;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #64748b;
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
  text-align: left;
  text-transform: none;
  padding: 10px 12px;
  cursor: pointer;
}

.preview-tab:hover,
.preview-tab.is-active {
  background: #dbeafe;
  color: #1d4ed8;
}

.preview-main {
  display: grid;
  grid-template-columns: minmax(0, 1.32fr) minmax(260px, 0.68fr);
  grid-template-rows: auto auto minmax(0, 1fr);
  gap: 16px 18px;
  padding: 24px;
}

.preview-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.preview-heading p {
  margin: 0;
  color: #2563eb;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.preview-heading h2 {
  margin-top: 5px;
  color: #0f172a;
  font-size: 24px;
  line-height: 1.15;
  letter-spacing: 0;
  text-transform: none;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  grid-column: 1 / -1;
}

.metric-card,
.records-panel,
.ops-panel {
  border: 1px solid #e2e8f0;
  border-radius: 7px;
  background: #ffffff;
}

.metric-card {
  min-height: 78px;
  padding: 13px 14px;
  overflow: hidden;
}

.metric-card span {
  display: block;
  color: #64748b;
  font-size: 10px;
  font-weight: 650;
  text-transform: none;
}

.metric-card strong {
  display: block;
  margin-top: 9px;
  color: #111827;
  font-size: 23px;
  line-height: 1;
  white-space: nowrap;
  overflow-wrap: anywhere;
}

.records-panel {
  grid-column: 1;
  grid-row: 3;
  align-self: stretch;
  overflow: hidden;
}

.ops-panel {
  grid-column: 2;
  grid-row: 3;
  align-self: stretch;
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 16px;
}

.ops-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e2e8f0;
  color: #64748b;
  font-size: 11px;
  font-weight: 750;
}

.ops-header strong {
  color: #059669;
  font-size: 11px;
  text-align: right;
  white-space: nowrap;
}

.ops-item {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 12px;
  align-items: center;
  min-height: 42px;
  padding: 9px 10px;
  border: 1px solid #e8edf4;
  border-radius: 7px;
  background: #f8fafc;
  color: #64748b;
  font-size: 11px;
}

.ops-item strong {
  color: #111827;
  font-size: 11px;
  font-weight: 750;
  text-align: right;
}

.records-header,
.record-row {
  display: grid;
  grid-template-columns: 1.15fr 1fr 0.7fr;
  gap: 18px;
  align-items: center;
  padding: 13px 16px;
  border-bottom: 1px solid #e2e8f0;
  font-size: 11px;
}

.records-header {
  color: #64748b;
  font-weight: 750;
  letter-spacing: 0;
  text-transform: none;
}

.records-header span:last-child {
  grid-column: span 2;
  text-align: right;
  color: #059669;
}

.record-row {
  color: #64748b;
  background: #ffffff;
}

.record-row:last-child {
  border-bottom: 0;
}

.record-row span:first-child,
.record-row strong {
  color: #111827;
}

.record-row span,
.records-header span {
  min-width: 0;
}

.record-row strong {
  justify-self: end;
  border-radius: 999px;
  padding: 4px 9px;
  background: #f1f5f9;
  color: #2563eb;
  font-size: 10px;
  font-weight: 750;
  white-space: nowrap;
}

.preview-window.is-changing .metric-card,
.preview-window.is-changing .records-panel,
.preview-window.is-changing .ops-panel {
  animation: panelRefresh 260ms ease-out;
}

.wizard {
  border: 1px solid var(--line);
  background: rgba(17, 17, 17, 0.88);
}

.section-heading + p {
  color: var(--muted);
}

.section-band,
.savings-section,
.questionnaire-section {
  padding: 84px 0;
  border-top: 1px solid var(--line-soft);
}

.section-heading {
  margin-bottom: 38px;
}

.split-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 44px;
}

ul {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

li {
  position: relative;
  padding: 0 0 13px 22px;
  color: var(--muted);
}

li::before {
  content: "";
  position: absolute;
  top: 11px;
  left: 0;
  width: 8px;
  height: 8px;
  background: var(--accent);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
}

.cold-feature-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feature-grid article {
  min-height: 220px;
  padding: 26px;
  background: var(--panel);
}

.feature-grid span {
  display: block;
  margin-bottom: 28px;
  color: var(--accent);
  font-weight: 800;
}

.feature-grid p {
  color: var(--muted);
}

.savings-section {
  width: min(1040px, calc(100% - 40px));
  margin-inline: auto;
}

.savings-section .section-heading {
  text-align: center;
}

.savings-section .section-heading h2 {
  max-width: 820px;
  margin-inline: auto;
}

.savings-calculator {
  display: grid;
  grid-template-columns: minmax(420px, 0.95fr) minmax(420px, 1.05fr);
  gap: 1px;
  align-items: stretch;
  border: 1px solid var(--line-soft);
  background: var(--line-soft);
}

.savings-control,
.savings-results > div {
  background: rgba(17, 17, 17, 0.88);
}

.savings-control {
  padding: 28px;
}

.savings-control label {
  margin-bottom: 16px;
  white-space: nowrap;
}

.savings-input {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  background: #080808;
  padding: 0 14px;
}

.savings-input span,
.savings-input small {
  color: var(--muted);
  font-weight: 800;
}

.savings-input input {
  border: 0;
  background: transparent;
  padding-inline: 0;
  font-size: 26px;
  font-weight: 800;
}

.savings-range {
  margin-top: 22px;
  padding: 0;
  accent-color: var(--accent);
}

.savings-results {
  display: grid;
  min-height: 100%;
}

.savings-results > div {
  min-height: 100%;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 34px;
}

.savings-results span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.savings-results strong {
  display: flex;
  align-items: baseline;
  gap: 18px;
  color: var(--text);
  font-family: var(--font-title);
  font-size: clamp(42px, 4.4vw, 64px);
  line-height: 1;
}

.savings-results strong [data-yearly-saving] {
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  text-transform: none;
  white-space: nowrap;
}

.currency-symbol {
  color: inherit;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.58em;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
  text-transform: none;
  transform: translateY(-0.03em);
}

.next-step-page {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.diagnosis-result-page {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.next-hero {
  min-height: 78vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 90px 0 74px;
}

.next-hero h1 {
  max-width: 780px;
  margin-inline: auto;
}

.next-hero > div {
  text-align: center;
}

.result-hero {
  min-height: 82vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 460px);
  gap: 44px;
  align-items: center;
  padding: 84px 0;
}

.result-card {
  border: 1px solid var(--line-soft);
  background: rgba(17, 17, 17, 0.88);
  padding: 32px;
}

.result-card h2 {
  font-size: clamp(24px, 2.5vw, 34px);
}

.answer-summary {
  display: grid;
  gap: 14px;
  margin: 26px 0 0;
}

.answer-summary div {
  border-top: 1px solid var(--line-soft);
  padding-top: 14px;
}

.answer-summary dt {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.answer-summary dd {
  margin: 4px 0 0;
  color: var(--text);
}

.result-loader {
  min-height: 82vh;
  display: grid;
  place-items: center;
  padding: 84px 0;
}

.result-loader-panel {
  width: min(680px, 100%);
  border: 1px solid var(--line-soft);
  background: rgba(17, 17, 17, 0.9);
  padding: clamp(32px, 5vw, 56px);
  text-align: center;
}

.result-loader-mark {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin: 0 auto 24px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
}

.result-loader-mark span {
  width: 24px;
  height: 24px;
  border: 3px solid rgba(255, 255, 255, 0.22);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: diagnosis-spin 0.9s linear infinite;
}

.result-loader h1 {
  max-width: 620px;
  margin: 0 auto;
  font-size: clamp(42px, 6vw, 82px);
}

.result-loader .lead {
  max-width: 560px;
  margin: 22px auto 0;
}

.result-loader-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 34px 0 20px;
}

.result-loader-steps span {
  border: 1px solid var(--line-soft);
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  padding: 12px 10px;
  text-transform: uppercase;
}

.result-loader-steps .is-active {
  border-color: rgba(255, 77, 36, 0.55);
  color: var(--text);
}

.result-loader-bar {
  overflow: hidden;
  height: 6px;
  background: rgba(255, 255, 255, 0.11);
}

.result-loader-bar span {
  display: block;
  width: 42%;
  height: 100%;
  background: var(--accent);
  animation: diagnosis-progress 1.5s ease-in-out infinite;
}

.result-loader-status {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 14px;
}

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

@keyframes diagnosis-progress {
  0% {
    transform: translateX(-110%);
  }

  55% {
    transform: translateX(80%);
  }

  100% {
    transform: translateX(240%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .result-loader-mark span,
  .result-loader-bar span {
    animation: none;
  }
}

.result-dashboard {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid #d9dee8;
  background: #f7f8fb;
  color: #111827;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.result-dashboard * {
  letter-spacing: 0;
  text-transform: none;
}

.result-dashboard-nav {
  display: grid;
  align-content: start;
  gap: 6px;
  border-right: 1px solid #e3e8f0;
  background: #ffffff;
  padding: 24px 18px;
}

.result-dashboard-nav strong {
  margin-bottom: 16px;
  color: #0f172a;
  font-size: 15px;
}

.result-dashboard-menu {
  display: none;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-direction: column;
  border: 1px solid #dbe3ef;
  border-radius: 8px;
  background: #ffffff;
  padding: 0;
}

.result-dashboard-menu i {
  display: block;
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background: #0f172a;
}

.result-dashboard-nav span {
  border-radius: 6px;
  color: #64748b;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 12px;
}

.result-dashboard-nav span:first-of-type {
  background: #eef4ff;
  color: #1d4ed8;
}

.result-dashboard-main {
  min-width: 0;
  padding: 26px;
}

.result-dashboard-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.result-dashboard-head h3 {
  color: #0f172a;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 750;
  line-height: 1.15;
}

.result-dashboard-head p {
  max-width: 680px;
  margin: 8px 0 0;
  color: #64748b;
  font-size: 14px;
}

.result-dashboard-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.result-dashboard-metrics article {
  border: 1px solid #e3e8f0;
  border-radius: 8px;
  background: #ffffff;
  padding: 18px;
}

.result-dashboard-metrics span {
  display: block;
  color: #64748b;
  font-size: 12px;
  font-weight: 650;
}

.result-dashboard-metrics strong {
  display: block;
  margin-top: 8px;
  color: #0f172a;
  font-size: 30px;
  line-height: 1;
}

.result-dashboard-table {
  overflow: hidden;
  margin-top: 16px;
  border: 1px solid #e3e8f0;
  border-radius: 8px;
  background: #ffffff;
}

.result-dashboard-row {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 12px;
  padding: 14px 16px;
  border-top: 1px solid #edf1f6;
  color: #334155;
  font-size: 13px;
}

.result-dashboard-row:first-child {
  border-top: 0;
}

.result-dashboard-row-head {
  background: #f8fafc;
  color: #64748b;
  font-size: 11px;
  font-weight: 750;
}

.price-card {
  border: 1px solid var(--line-soft);
  background: rgba(17, 17, 17, 0.88);
}

.benefit-grid p,
.objection-list p,
.not-included-grid p,
.diagnosis-grid p,
.diagnosis-grid li,
.process-list p,
.faq-list p,
.price-copy p,
.price-card p {
  color: var(--muted);
}

.next-section,
.price-close {
  padding: 84px 0;
  border-top: 1px solid var(--line-soft);
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line-soft);
  background: var(--line-soft);
}

.benefit-grid article {
  min-height: 260px;
  padding: 28px;
  background: var(--panel);
}

.benefit-grid span {
  display: block;
  margin-bottom: 34px;
  color: var(--accent);
  font-weight: 800;
}

.objection-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line-soft);
  background: var(--line-soft);
}

.objection-list article {
  min-height: 230px;
  padding: 28px;
  background: rgba(17, 17, 17, 0.88);
}

.faq-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line-soft);
  background: var(--line-soft);
}

.faq-list article {
  min-height: 190px;
  padding: 28px;
  background: var(--panel);
}

.not-included-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line-soft);
  background: var(--line-soft);
}

.not-included-grid article {
  min-height: 210px;
  padding: 28px;
  background: rgba(17, 17, 17, 0.88);
}

.diagnosis-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line-soft);
  background: var(--line-soft);
}

.diagnosis-grid article {
  min-height: 260px;
  padding: 28px;
  background: var(--panel);
}

.diagnosis-grid ul {
  margin: 22px 0 0;
  padding-left: 18px;
}

.diagnosis-grid li + li {
  margin-top: 12px;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line-soft);
  background: var(--line-soft);
}

.process-list article {
  min-height: 250px;
  padding: 28px;
  background: var(--panel);
}

.process-list span {
  display: block;
  margin-bottom: 28px;
  color: var(--accent);
  font-weight: 800;
}

.process-list small {
  display: block;
  margin-top: 20px;
  color: var(--text);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.price-close {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 460px);
  gap: 44px;
  align-items: center;
}

.diagnosis-cta {
  grid-template-columns: minmax(340px, 760px);
  justify-content: center;
}

.diagnosis-result-page .section-heading h2 {
  max-width: 1080px;
  font-size: clamp(30px, 3.25vw, 46px);
}

.price-card {
  padding: 32px;
}

.price-card strong {
  display: block;
  margin: 18px 0;
  color: var(--accent);
  font-family: var(--font-title);
  font-size: clamp(42px, 4vw, 62px);
  line-height: 1;
  text-transform: uppercase;
}

.price-card .button {
  width: 100%;
  margin-top: 22px;
}

.checkout-page {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.checkout-layout {
  min-height: 82vh;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 520px);
  gap: 52px;
  align-items: center;
  padding: 80px 0;
}

.checkout-copy h1 {
  max-width: 760px;
}

.checkout-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.checkout-points span {
  border: 1px solid var(--line-soft);
  background: rgba(17, 17, 17, 0.88);
  padding: 10px 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.checkout-panel {
  border: 1px solid var(--line-soft);
  background: rgba(17, 17, 17, 0.88);
  padding: 28px;
}

.checkout-options {
  display: grid;
  gap: 12px;
  margin-top: 22px;
  padding: 0;
  border: 0;
}

.checkout-options legend {
  margin: 0 0 16px;
  font-size: 22px;
}

.checkout-options label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border: 1px solid var(--line-soft);
  padding: 14px;
  color: var(--text);
}

.checkout-options input {
  width: auto;
  margin-top: 5px;
}

.checkout-options small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
}

.invoice-details {
  margin-top: 22px;
}

.invoice-toggle {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border: 1px solid var(--line-soft);
  padding: 14px;
  color: var(--text);
}

.invoice-toggle input {
  width: auto;
  margin-top: 5px;
}

.invoice-fields {
  display: grid;
  gap: 16px;
  margin-top: 16px;
}

.invoice-fields label span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.payment-element-shell {
  margin-top: 24px;
  border: 1px solid var(--line-soft);
  background: #080808;
  padding: 18px;
}

.checkout-message {
  min-height: 24px;
  margin-top: 18px;
  color: var(--accent);
  font-size: 13px;
}

.checkout-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.questionnaire-section {
  display: grid;
  grid-template-columns: minmax(0, 760px);
  justify-content: center;
  gap: 30px;
  align-items: start;
}

.questionnaire-copy {
  text-align: center;
}

.questionnaire-copy h2 {
  margin-inline: auto;
  max-width: 820px;
}

.questionnaire-copy > p:last-child,
.diagnosis-email-section > div > p:last-child {
  max-width: 720px;
  margin: 18px auto 0;
  color: var(--muted);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.wizard {
  padding: 28px;
  text-align: left;
}

.wizard-progress {
  height: 8px;
  background: var(--panel-strong);
  overflow: hidden;
}

.wizard-progress-bar {
  display: block;
  width: 12.5%;
  height: 100%;
  background: var(--accent);
  transition: width 180ms ease;
}

.wizard-step-label {
  margin: 18px 0 22px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.wizard-step {
  display: none;
  margin: 0;
  padding: 0;
  border: 0;
}

.wizard-step.is-active {
  display: block;
}

legend {
  margin-bottom: 22px;
  font-family: var(--font-title);
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 800;
  line-height: 1.05;
  text-transform: uppercase;
}

label {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #080808;
  color: var(--text);
  font: inherit;
  padding: 14px;
  outline: none;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--accent);
}

textarea {
  resize: vertical;
}

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

.choice-list label,
.consent-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border: 1px solid var(--line-soft);
  padding: 14px;
  color: var(--text);
}

.choice-list input,
.consent-check input {
  width: auto;
  margin-top: 4px;
}

.consent-check {
  margin-top: 18px;
}

.wizard-message {
  min-height: 24px;
  margin-top: 18px;
  color: var(--accent);
  font-size: 13px;
}

.diagnosis-email-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 460px);
  gap: 44px;
  align-items: start;
}

.diagnosis-email-section h2 {
  max-width: 620px;
}

.diagnosis-email-section > div > .eyebrow {
  margin-bottom: 16px;
}

.diagnosis-email-form {
  border: 1px solid var(--line-soft);
  background: rgba(17, 17, 17, 0.88);
  padding: 28px;
}

.diagnosis-email-form .button {
  width: 100%;
  margin-top: 4px;
}

.diagnosis-email-consent {
  margin-top: 18px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.55;
}

.is-hidden {
  display: none;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 36px 0;
  border-top: 1px solid var(--line-soft);
  color: var(--muted);
  font-size: 12px;
}

.site-footer a {
  color: var(--text);
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.error-page {
  width: min(720px, calc(100% - 40px));
  min-height: 100vh;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.error-page a {
  color: var(--accent);
}

.sistemas-cookie-banner {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1000;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  width: min(620px, calc(100% - 48px));
  border: 1px solid var(--line);
  background: rgba(8, 8, 8, 0.96);
  padding: 18px;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.42);
}

.sistemas-cookie-banner strong {
  display: block;
  margin-bottom: 6px;
  color: var(--text);
  font-family: var(--font-title);
  font-size: 18px;
  text-transform: uppercase;
}

.sistemas-cookie-banner p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.sistemas-cookie-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.sistemas-cookie-actions button {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  padding: 12px 14px;
  text-transform: uppercase;
}

.sistemas-cookie-actions [data-cookie-accept] {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--bg);
}

@keyframes dataPulse {
  0% {
    opacity: 0.35;
    transform: scaleY(0.75);
    transform-origin: top;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0.35;
    transform: scaleY(1);
    transform-origin: top;
  }
}

@keyframes panelRefresh {
  from {
    opacity: 0.55;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 860px) {
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero,
  .cold-hero,
  .split-list,
  .next-hero,
  .result-hero,
  .benefit-grid,
  .objection-list,
  .not-included-grid,
  .diagnosis-grid,
  .process-list,
  .faq-list,
  .price-close,
  .diagnosis-email-section,
  .checkout-layout,
  .questionnaire-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 100svh;
    padding-left: 24px;
    padding-right: 24px;
    padding-top: 46px;
    padding-bottom: 52px;
    align-items: flex-start;
  }

  .cold-hero {
    min-height: auto;
    padding-left: 24px;
    padding-right: 24px;
    padding-top: 46px;
    padding-bottom: 52px;
    align-items: flex-start;
  }

  .hero-copy {
    width: calc(100vw - 48px);
    max-width: calc(100vw - 48px);
  }

  .hero-vignette {
    background:
      linear-gradient(90deg, rgba(5, 5, 5, 0.98) 0%, rgba(5, 5, 5, 0.84) 100%),
      linear-gradient(180deg, rgba(5, 5, 5, 0.08), rgba(5, 5, 5, 0.96));
  }

  .system-preview {
    width: calc(100vw - 48px);
  }

  .imac-display {
    --preview-scale: 0.29;
  }

  .imac-mockup {
    width: 100%;
    margin-inline: auto;
  }

  .imac-screen {
    padding: 8px 8px 34px;
    border-radius: 14px 14px 7px 7px;
  }

  .imac-chin {
    height: 34px;
    margin-top: -34px;
    border-radius: 0 0 14px 14px;
    font-size: 8px;
  }

  .imac-neck {
    width: 58px;
    height: 38px;
  }

  .imac-base {
    width: 152px;
    height: 15px;
  }

  .preview-window {
    animation: none;
  }

  h1 {
    font-size: clamp(32px, 8.8vw, 40px);
    letter-spacing: 0.035em;
    overflow-wrap: anywhere;
  }

  .lead {
    font-size: 16px;
  }

  h2 {
    letter-spacing: 0.035em;
  }

  .next-step-page {
    width: min(100% - 40px, 720px);
  }

  .diagnosis-result-page {
    width: min(100% - 40px, 720px);
  }

  .next-hero {
    min-height: auto;
    gap: 30px;
    padding: 58px 0 64px;
  }

  .result-hero {
    min-height: auto;
    gap: 30px;
    padding: 58px 0 64px;
  }

  .result-loader {
    min-height: auto;
    padding: 58px 0 64px;
  }

  .result-loader-steps {
    grid-template-columns: 1fr;
  }

  .result-dashboard {
    grid-template-columns: 1fr;
  }

  .result-dashboard-nav {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    border-right: 0;
    border-bottom: 1px solid #e3e8f0;
    padding: 16px;
  }

  .result-dashboard-nav strong {
    margin-bottom: 0;
  }

  .result-dashboard-menu {
    display: inline-flex;
    justify-self: end;
  }

  .result-dashboard-nav span {
    display: none;
    padding: 8px;
    text-align: center;
  }

  .result-dashboard-main {
    padding: 18px;
  }

  .result-dashboard-head,
  .result-dashboard-metrics,
  .result-dashboard-row {
    grid-template-columns: 1fr;
  }

  .result-dashboard-row-head {
    display: none;
  }

  .result-dashboard-row {
    gap: 10px;
    padding: 16px;
  }

  .result-dashboard-row span {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 12px;
    align-items: baseline;
  }

  .result-dashboard-row span::before {
    content: attr(data-label);
    color: #64748b;
    font-size: 11px;
    font-weight: 750;
  }

  .next-section,
  .price-close {
    padding: 62px 0;
  }

  .checkout-page {
    width: min(100% - 40px, 720px);
  }

  .checkout-layout {
    min-height: auto;
    gap: 30px;
    padding: 58px 0 64px;
  }

  .benefit-grid article,
  .objection-list article,
  .not-included-grid article,
  .diagnosis-grid article,
  .process-list article,
  .faq-list article {
    min-height: auto;
  }

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

  .savings-calculator,
  .savings-results {
    grid-template-columns: 1fr;
  }

  .savings-control label,
  .savings-results span {
    white-space: normal;
  }

  .savings-results > div {
    min-height: 150px;
  }
}

@media (max-width: 640px) {
  .sistemas-cookie-banner {
    right: 16px;
    bottom: 16px;
    grid-template-columns: 1fr;
    width: calc(100% - 32px);
  }

  .sistemas-cookie-actions {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .preview-window.is-changing .metric-card,
  .preview-window.is-changing .records-panel,
  .preview-window.is-changing .ops-panel {
    animation: none;
  }
}

/* Global button token: Creato Display Bold, 14px, uppercase. */
body button,
body input[type="button"],
body input[type="submit"],
body .btn {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
}
