*, *::before, *::after {
  box-sizing: border-box;
}

:root {
  color-scheme: dark;
  --carbon: #03050a;
  --navy: #060911;
  --panel: #0d1420;
  --panel-raised: #111b2a;
  --panel-soft: #151f2f;
  --signal: #2f8fff;
  --signal-strong: #62aaff;
  --signal-soft: rgba(47, 143, 255, 0.14);
  --check: #2ecc71;
  --check-soft: rgba(46, 204, 113, 0.13);
  --gold: #c9a447;
  --gold-soft: rgba(201, 164, 71, 0.14);
  --warning: #f6b84a;
  --danger: #ff6b6b;
  --text: #f1f4fa;
  --text-soft: #aab4c6;
  --text-muted: #7f8a9d;
  --line: rgba(226, 233, 245, 0.12);
  --line-strong: rgba(226, 233, 245, 0.2);
  --shadow: 0 26px 70px rgba(0, 0, 0, 0.32);
  --radius: 16px;
  --radius-small: 10px;
  --display: "Century Gothic", "Avenir Next", "Trebuchet MS", "Segoe UI", sans-serif;
  --body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", "Cascadia Code", Consolas, monospace;
}

html {
  background: var(--navy);
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(ellipse 60% 34% at 84% 0%, rgba(47, 143, 255, 0.17), transparent 67%),
    radial-gradient(ellipse 50% 34% at 7% 55%, rgba(46, 204, 113, 0.08), transparent 70%),
    var(--navy);
  background-attachment: fixed;
  color: var(--text);
  font: 1rem/1.55 var(--body);
  -webkit-font-smoothing: antialiased;
}

button,
input,
select {
  font: inherit;
}

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

button {
  color: inherit;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

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

h1,
h2 {
  font-family: var(--display);
  line-height: 1.16;
  text-wrap: balance;
}

:focus-visible {
  outline: 3px solid var(--signal-strong);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.7rem 1rem;
  border-radius: 8px;
  background: var(--text);
  color: var(--carbon);
  font-weight: 800;
  transform: translateY(-180%);
}

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

.screen {
  display: none;
}

.screen.active {
  display: block;
  animation: reveal 240ms ease-out;
}

@keyframes reveal {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.site-header {
  position: relative;
  z-index: 3;
  border-bottom: 1px solid var(--line);
  background: rgba(3, 5, 10, 0.86);
  backdrop-filter: blur(16px);
}

.header-inner {
  width: min(1120px, calc(100% - 2rem));
  min-height: 74px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text);
  font: 700 1.15rem var(--display);
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(47, 143, 255, 0.4), 0 0 18px rgba(47, 143, 255, 0.24);
}

.brand span span {
  color: var(--signal);
}

.product-switch {
  display: flex;
  gap: 0.25rem;
  padding: 0.25rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.22);
}

.product-link {
  min-height: 38px;
  padding: 0.58rem 0.8rem;
  border-radius: 7px;
  color: var(--text-soft);
  font: 700 0.68rem var(--mono);
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
}

.product-link:hover,
.product-link.current {
  background: var(--panel-soft);
  color: var(--text);
}

.product-link.current {
  box-shadow: inset 0 0 0 1px rgba(47, 143, 255, 0.3);
}

.product-link.private {
  color: #e4c36d;
}

.landing-shell,
.form-shell,
.result-shell {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.landing-shell {
  min-height: calc(100vh - 164px);
  padding-block: clamp(3rem, 8vw, 7rem);
  display: grid;
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
}

.hero-copy {
  min-width: 0;
}

.eyebrow,
.panel-kicker,
.step-kicker {
  margin-bottom: 0.75rem;
  color: var(--signal-strong);
  font: 700 0.72rem var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.status-dot {
  display: inline-block;
  width: 0.47rem;
  height: 0.47rem;
  margin-right: 0.42rem;
  border-radius: 50%;
  background: var(--check);
  box-shadow: 0 0 16px rgba(46, 204, 113, 0.7);
  vertical-align: 0.05rem;
}

.hero-copy h1 {
  max-width: 720px;
  margin-bottom: 1.2rem;
  font-size: clamp(2.25rem, 6vw, 4.65rem);
  letter-spacing: -0.035em;
  text-transform: uppercase;
}

.hero-lead {
  max-width: 650px;
  margin-bottom: 2rem;
  color: var(--text-soft);
  font-size: clamp(1.02rem, 2vw, 1.22rem);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem 1.25rem;
  flex-wrap: wrap;
}

.hero-actions p {
  max-width: 290px;
  margin: 0;
  color: var(--text-muted);
  font-size: 0.82rem;
}

.button {
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0.8rem 1.15rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  cursor: pointer;
  font-weight: 800;
  text-decoration: none;
  transition: transform 150ms ease, border-color 150ms ease, background 150ms ease;
}

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

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

.button-primary {
  background: var(--signal);
  color: #fff;
  box-shadow: 0 12px 26px rgba(47, 143, 255, 0.2);
}

.button-primary:hover:not(:disabled) {
  background: var(--signal-strong);
}

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

.button-secondary:hover:not(:disabled) {
  border-color: var(--signal);
  background: var(--signal-soft);
}

.button-gold {
  width: 100%;
  background: var(--gold);
  color: #111;
}

.button-gold:hover:not(:disabled) {
  background: #e1bd61;
}

.button-small {
  min-height: 44px;
  padding: 0.6rem 0.85rem;
  font-size: 0.85rem;
}

.text-button {
  min-height: 44px;
  border: 0;
  padding: 0.5rem 0;
  background: transparent;
  color: var(--text-soft);
  cursor: pointer;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
  text-underline-offset: 0.25rem;
}

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

.checkup-overview {
  padding: clamp(1.35rem, 3vw, 2rem);
  border: 1px solid var(--line);
  border-top: 3px solid var(--check);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(17, 27, 42, 0.95), rgba(10, 16, 26, 0.95));
  box-shadow: var(--shadow);
}

.feature-list {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.15rem;
  list-style: none;
}

.feature-list li {
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: 0.75rem;
}

.feature-list li > span {
  color: var(--check);
  font: 700 0.72rem var(--mono);
}

.feature-list strong,
.feature-list small {
  display: block;
}

.feature-list strong {
  margin-bottom: 0.18rem;
  font-size: 0.95rem;
}

.feature-list small {
  color: var(--text-muted);
  font-size: 0.8rem;
  line-height: 1.45;
}

.pillar-tags {
  margin-top: 1.5rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.pillar-tags span {
  border: 1px solid rgba(46, 204, 113, 0.28);
  border-radius: 999px;
  padding: 0.35rem 0.58rem;
  color: #82e9ae;
  font: 0.69rem var(--mono);
}

.draft-banner {
  max-width: 650px;
  margin-top: 1.4rem;
  padding: 1rem;
  border: 1px solid rgba(47, 143, 255, 0.32);
  border-radius: var(--radius-small);
  background: var(--signal-soft);
}

.draft-banner strong,
.draft-banner span {
  display: block;
}

.draft-banner span {
  margin-top: 0.2rem;
  color: var(--text-soft);
  font-size: 0.83rem;
}

.draft-actions {
  margin-top: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.form-shell {
  max-width: 820px;
  padding-block: clamp(2rem, 5vw, 4.5rem);
}

.form-status {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
}

.form-status h1 {
  margin-bottom: 0;
  font-size: clamp(1.55rem, 4vw, 2.2rem);
}

.progress-copy {
  display: grid;
  gap: 0.18rem;
  text-align: right;
}

#step-label {
  color: var(--text);
  font: 700 0.77rem var(--mono);
}

#save-status {
  color: var(--text-muted);
  font-size: 0.73rem;
}

.progress-track {
  height: 4px;
  margin: 1.2rem 0 1.8rem;
  overflow: hidden;
  border-radius: 999px;
  background: var(--line);
}

.progress-track span {
  display: block;
  width: 25%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--signal), var(--check));
  transition: width 220ms ease;
}

#diagnostic-form {
  padding: clamp(1.15rem, 4vw, 2.2rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(13, 20, 32, 0.92);
  box-shadow: var(--shadow);
}

.form-step[hidden] {
  display: none;
}

.step-heading {
  margin-bottom: 1.7rem;
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1rem;
  align-items: start;
}

.step-heading h2 {
  margin-bottom: 0.35rem;
  font-size: clamp(1.45rem, 4vw, 2rem);
}

.step-heading p:last-child {
  margin-bottom: 0;
  color: var(--text-soft);
}

.step-number {
  width: 3rem;
  height: 3rem;
  border: 1px solid rgba(47, 143, 255, 0.35);
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--signal-soft);
  color: var(--signal-strong);
  font: 800 0.86rem var(--mono);
}

.step-number.fuel {
  border-color: rgba(47, 143, 255, 0.35);
}

.step-number.maintenance {
  border-color: rgba(201, 164, 71, 0.38);
  background: var(--gold-soft);
  color: #e0c06c;
}

.step-number.tires {
  border-color: rgba(46, 204, 113, 0.34);
  background: var(--check-soft);
  color: #83eab0;
}

.step-kicker {
  margin-bottom: 0.3rem;
}

.field-grid {
  display: grid;
  gap: 1rem;
}

.field {
  min-width: 0;
}

.field.disabled {
  opacity: 0.58;
}

.field label,
.question legend {
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 750;
}

.field label {
  display: inline-block;
  margin-bottom: 0.42rem;
}

.field input,
.field select {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: 0.72rem 0.82rem;
  background: var(--panel-soft);
  color: var(--text);
}

.field select {
  cursor: pointer;
}

.field input::placeholder {
  color: #69758a;
}

.field input:hover,
.field select:hover {
  border-color: rgba(47, 143, 255, 0.52);
}

.field input:focus,
.field select:focus {
  border-color: var(--signal);
  outline: 2px solid rgba(47, 143, 255, 0.2);
}

.field input[aria-invalid="true"],
.field select[aria-invalid="true"] {
  border-color: var(--danger);
}

.input-suffix {
  position: relative;
}

.input-suffix input {
  padding-right: 4.5rem;
}

.input-suffix > span {
  position: absolute;
  top: 50%;
  right: 0.85rem;
  color: var(--text-muted);
  font: 0.76rem var(--mono);
  transform: translateY(-50%);
  pointer-events: none;
}

.question {
  min-width: 0;
  margin: 1.4rem 0 0;
  padding: 0;
  border: 0;
}

.question legend {
  width: 100%;
  padding: 0;
  line-height: 1.45;
}

.question-help {
  margin: 0.35rem 0 0.75rem;
  color: var(--text-muted);
  font-size: 0.8rem;
}

.option-grid {
  margin-top: 0.75rem;
  display: grid;
  gap: 0.65rem;
}

.option-card {
  position: relative;
  min-width: 0;
  min-height: 62px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.82rem 0.9rem 0.82rem 2.75rem;
  display: flex;
  align-items: center;
  background: rgba(17, 27, 42, 0.62);
  cursor: pointer;
  transition: border-color 140ms ease, background 140ms ease, transform 140ms ease;
}

.option-card:hover {
  border-color: rgba(47, 143, 255, 0.45);
  background: var(--signal-soft);
  transform: translateY(-1px);
}

.option-card::before {
  content: "";
  position: absolute;
  left: 0.95rem;
  top: 50%;
  width: 1rem;
  height: 1rem;
  border: 1px solid #6f7b90;
  border-radius: 50%;
  transform: translateY(-50%);
}

.option-card:has(input:checked) {
  border-color: var(--signal);
  background: var(--signal-soft);
  box-shadow: inset 0 0 0 1px rgba(47, 143, 255, 0.2);
}

.option-card:has(input:checked)::before {
  border: 4px solid var(--signal);
  background: #fff;
}

.option-card:has(input:focus-visible) {
  outline: 3px solid var(--signal-strong);
  outline-offset: 2px;
}

.option-card input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.option-card strong,
.option-card small {
  display: block;
}

.option-card strong {
  color: var(--text);
  font-size: 0.86rem;
  line-height: 1.4;
}

.option-card small {
  margin-top: 0.18rem;
  color: var(--text-muted);
  font-size: 0.75rem;
  line-height: 1.4;
}

.form-error {
  margin-top: 1.2rem;
  border: 1px solid rgba(255, 107, 107, 0.45);
  border-radius: 8px;
  padding: 0.75rem 0.85rem;
  background: rgba(255, 107, 107, 0.09);
  color: #ffb2b2;
  font-size: 0.85rem;
}

.form-navigation {
  margin-top: 1.7rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.result-shell {
  padding-block: clamp(2rem, 5vw, 4.5rem);
}

.result-heading {
  margin-bottom: 1.5rem;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
}

.result-heading h1 {
  margin-bottom: 0.45rem;
  font-size: clamp(1.85rem, 5vw, 3.2rem);
  text-transform: uppercase;
}

.result-heading > div > p:last-child {
  margin-bottom: 0;
  color: var(--text-soft);
}

.result-actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-shrink: 0;
}

.preliminary-notice {
  margin-bottom: 1.2rem;
  border: 1px solid rgba(246, 184, 74, 0.3);
  border-radius: var(--radius-small);
  padding: 1rem 1.1rem;
  background: rgba(246, 184, 74, 0.08);
}

.preliminary-notice strong {
  color: #ffd17c;
}

.preliminary-notice p {
  margin: 0.25rem 0 0;
  color: var(--text-soft);
  font-size: 0.85rem;
}

.visibility-card {
  margin-bottom: 2.2rem;
  padding: clamp(1.25rem, 4vw, 2rem);
  border: 1px solid rgba(47, 143, 255, 0.3);
  border-left: 4px solid var(--signal);
  border-radius: var(--radius);
  display: grid;
  gap: 1rem;
  background: linear-gradient(130deg, rgba(47, 143, 255, 0.14), rgba(13, 20, 32, 0.9));
}

.visibility-card h2 {
  margin-bottom: 0;
}

.visibility-card h2 span {
  color: var(--signal-strong);
}

.visibility-card > p {
  margin: 0;
  color: var(--text-soft);
}

.section-heading {
  margin-bottom: 1rem;
}

.section-heading h2 {
  margin-bottom: 0;
  font-size: clamp(1.35rem, 3vw, 1.8rem);
}

.maturity-grid {
  margin-bottom: 2.2rem;
  display: grid;
  gap: 0.9rem;
}

.maturity-card {
  --pillar-color: var(--signal);
  min-width: 0;
  border: 1px solid var(--line);
  border-top: 3px solid var(--pillar-color);
  border-radius: var(--radius-small);
  padding: 1.15rem;
  background: var(--panel);
}

.maturity-card[data-pillar="maintenance"] {
  --pillar-color: var(--gold);
}

.maturity-card[data-pillar="tires"] {
  --pillar-color: var(--check);
}

.maturity-card-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 0.8rem;
}

.maturity-card h3 {
  margin: 0 0 0.15rem;
  font: 700 1rem var(--display);
}

.maturity-card-header p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.75rem;
}

.maturity-score {
  color: var(--pillar-color);
  font: 800 1.75rem/1 var(--mono);
}

.maturity-score small {
  color: var(--text-muted);
  font-size: 0.7rem;
}

.maturity-meter {
  height: 6px;
  margin: 1rem 0 0.75rem;
  overflow: hidden;
  border-radius: 999px;
  background: var(--line);
}

.maturity-meter span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--pillar-color);
}

.maturity-description {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.8rem;
}

.result-columns {
  margin-bottom: 2.2rem;
  display: grid;
  gap: 0.9rem;
}

.result-panel,
.attention-panel,
.priority-panel,
.contact-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.result-panel {
  position: relative;
  min-width: 0;
  padding: 1.3rem;
}

.result-panel h2 {
  margin-bottom: 1rem;
  padding-right: 2.5rem;
  font-size: 1.15rem;
}

.panel-icon {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 900;
}

.panel-icon.controlled {
  background: var(--check-soft);
  color: var(--check);
}

.panel-icon.estimated {
  background: rgba(246, 184, 74, 0.12);
  color: var(--warning);
}

.result-list,
.attention-list {
  margin: 0;
  padding: 0;
}

.result-list {
  display: grid;
  gap: 0.72rem;
  list-style: none;
}

.result-list li {
  position: relative;
  padding-left: 1rem;
  color: var(--text-soft);
  font-size: 0.84rem;
}

.result-list li::before {
  content: "";
  position: absolute;
  top: 0.58rem;
  left: 0;
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  background: var(--signal);
}

.attention-panel {
  margin-bottom: 1rem;
  padding: clamp(1.3rem, 4vw, 2rem);
}

.attention-list {
  display: grid;
  gap: 0.7rem;
  counter-reset: attention;
  list-style: none;
}

.attention-list li {
  min-width: 0;
  border-bottom: 1px solid var(--line);
  padding: 0 0 0.75rem 2.4rem;
  color: var(--text-soft);
  counter-increment: attention;
}

.attention-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.attention-list li::before {
  content: counter(attention, decimal-leading-zero);
  float: left;
  margin-left: -2.4rem;
  color: var(--warning);
  font: 700 0.72rem var(--mono);
}

.priority-panel {
  margin-bottom: 2.2rem;
  border-color: rgba(46, 204, 113, 0.3);
  padding: clamp(1.3rem, 4vw, 2rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  background: linear-gradient(125deg, rgba(46, 204, 113, 0.12), var(--panel));
}

.priority-panel h2 {
  margin-bottom: 0.6rem;
  font-size: clamp(1.35rem, 3vw, 1.9rem);
}

.priority-panel h2 span {
  color: #83eab0;
}

.priority-panel p:last-child {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--text-soft);
}

.priority-index {
  min-width: 105px;
  display: grid;
  text-align: center;
}

.priority-index span,
.priority-index small {
  color: var(--text-muted);
  font: 0.68rem var(--mono);
  text-transform: uppercase;
}

.priority-index strong {
  color: var(--check);
  font: 900 2.4rem/1 var(--mono);
}

.contact-panel {
  margin-bottom: 1.3rem;
  border-top: 3px solid var(--gold);
  overflow: hidden;
}

.contact-copy,
.contact-form {
  padding: clamp(1.3rem, 4vw, 2rem);
}

.contact-copy {
  background: linear-gradient(145deg, var(--gold-soft), transparent);
}

.panel-kicker.gold {
  color: #e0c06c;
}

.contact-copy h2 {
  margin-bottom: 0.7rem;
  font-size: clamp(1.45rem, 4vw, 2.2rem);
}

.contact-copy > p {
  color: var(--text-soft);
}

.whatsapp-link {
  color: #e3c671;
  font-size: 0.86rem;
  font-weight: 800;
}

.contact-form {
  display: grid;
  gap: 1rem;
  background: rgba(3, 5, 10, 0.24);
}

.consent {
  display: grid;
  grid-template-columns: 1.1rem 1fr;
  gap: 0.65rem;
  align-items: start;
  color: var(--text-soft);
  cursor: pointer;
  font-size: 0.78rem;
}

.consent input {
  width: 1.1rem;
  height: 1.1rem;
  margin: 0.15rem 0 0;
  accent-color: var(--gold);
}

.integration-note,
.contact-status {
  margin: 0;
  font-size: 0.78rem;
}

.integration-note {
  border: 1px solid rgba(246, 184, 74, 0.28);
  border-radius: 7px;
  padding: 0.7rem;
  background: rgba(246, 184, 74, 0.07);
  color: #f2ce89;
}

.contact-status.success {
  color: #83eab0;
}

.contact-status.error {
  color: #ffadad;
}

.result-footer-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.result-footer-actions a {
  color: var(--signal-strong);
  font-size: 0.86rem;
  font-weight: 800;
  text-decoration: none;
}

.site-footer {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  border-top: 1px solid var(--line);
  padding-block: 1.25rem 1.6rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem 2rem;
  color: var(--text-muted);
  font-size: 0.73rem;
}

.site-footer > div {
  display: flex;
  gap: 0.8rem;
}

.site-footer > div span:first-child {
  color: var(--text-soft);
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
}

.site-footer p {
  max-width: 520px;
  margin: 0;
  text-align: right;
}

@media (min-width: 700px) {
  .landing-shell {
    grid-template-columns: minmax(0, 1.5fr) minmax(300px, 0.8fr);
  }

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

  .field-wide {
    grid-column: 1 / -1;
  }

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

  .option-grid.compact .option-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }

  .visibility-card {
    grid-template-columns: minmax(230px, 0.7fr) minmax(0, 1fr);
    align-items: center;
  }

  .maturity-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .contact-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.85fr);
  }
}

@media (max-width: 699px) {
  .header-inner,
  .landing-shell,
  .form-shell,
  .result-shell,
  .site-footer {
    width: min(100% - 1.25rem, 1120px);
  }

  .back-home {
    font-size: 0.68rem;
  }

  .hero-actions,
  .hero-actions .button {
    width: 100%;
  }

  .hero-actions p {
    max-width: none;
    text-align: center;
  }

  .form-status,
  .result-heading,
  .priority-panel,
  .result-footer-actions,
  .site-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .progress-copy {
    text-align: left;
  }

  .result-actions {
    align-items: center;
    justify-content: space-between;
  }

  .priority-index {
    grid-template-columns: auto auto auto;
    align-items: baseline;
    justify-content: start;
    gap: 0.35rem;
    text-align: left;
  }

  .site-footer > div {
    flex-direction: column;
    gap: 0.15rem;
  }

  .site-footer p {
    text-align: left;
  }
}

@media (max-width: 430px) {
  body {
    font-size: 0.95rem;
  }

  .header-inner {
    min-height: 66px;
  }

  .brand {
    font-size: 1rem;
  }

  .brand img {
    width: 36px;
    height: 36px;
  }

  .product-link {
    min-height: 36px;
    padding: 0.52rem 0.58rem;
    font-size: 0.62rem;
  }

  .landing-shell {
    padding-block: 2.25rem 3rem;
  }

  .hero-copy h1 {
    font-size: clamp(2rem, 11vw, 2.85rem);
  }

  #diagnostic-form {
    padding: 1rem;
  }

  .step-heading {
    grid-template-columns: 2.55rem 1fr;
    gap: 0.75rem;
  }

  .step-number {
    width: 2.55rem;
    height: 2.55rem;
  }

  .option-card {
    padding-right: 0.7rem;
  }

  .form-navigation {
    display: grid;
    grid-template-columns: 0.78fr 1.22fr;
  }

  .form-navigation .button {
    width: 100%;
    padding-inline: 0.65rem;
  }

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

  .result-actions .button,
  .result-actions .text-button {
    width: 100%;
  }

  .result-footer-actions {
    text-align: center;
  }
}

@media (max-width: 360px) {
  .header-inner,
  .landing-shell,
  .form-shell,
  .result-shell,
  .site-footer {
    width: min(100% - 1rem, 1120px);
  }

  .product-link {
    padding-inline: 0.45rem;
    letter-spacing: 0.01em;
  }

  .hero-copy h1 {
    font-size: 1.95rem;
  }

  .checkup-overview,
  #diagnostic-form,
  .contact-copy,
  .contact-form,
  .attention-panel,
  .priority-panel {
    padding: 0.9rem;
  }

  .form-navigation {
    grid-template-columns: 1fr;
  }

  #previous-button {
    order: 2;
  }
}

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

@media print {
  :root {
    color-scheme: light;
  }

  body {
    background: #fff;
    color: #111827;
  }

  .site-header,
  .site-footer,
  .result-actions,
  .contact-panel,
  .result-footer-actions {
    display: none !important;
  }

  #landing,
  #checkup {
    display: none !important;
  }

  #result {
    display: block !important;
  }

  .result-shell {
    width: 100%;
    padding: 0;
  }

  .preliminary-notice,
  .visibility-card,
  .maturity-card,
  .result-panel,
  .attention-panel,
  .priority-panel {
    break-inside: avoid;
    border-color: #d4d9e2;
    background: #fff;
    color: #111827;
    box-shadow: none;
  }

  .result-heading > div > p:last-child,
  .preliminary-notice p,
  .visibility-card > p,
  .maturity-card-header p,
  .maturity-description,
  .result-list li,
  .attention-list li,
  .priority-panel p:last-child {
    color: #475569;
  }
}
