/* Valid8 Solution Advisor — modern product visual system
   Brand: crimson #CE3031 · navy #233D51 · slate #768C98 · gray #DEE0DE
   Presentation only. */

:root {
  --crimson: #ce3031;
  --crimson-dark: #a42627;
  --navy: #233d51;
  --navy-deep: #1a2e3d;
  --slate: #768c98;
  --gray: #dee0de;
  --page: #eef1f3;
  --surface: #ffffff;
  --soft: #f4f6f7;
  --soft-2: #e8ecef;
  --tint-navy: #e7eef2;
  --tint-warm: #f7f3ec;
  --input-border: rgba(118, 140, 152, 0.55);
  --shadow-sm: 0 1px 2px rgba(35, 61, 81, 0.06);
  --shadow-md: 0 4px 18px rgba(35, 61, 81, 0.08);
  --radius: 8px;
  --radius-sm: 5px;
  --font: "Raleway", "Segoe UI", Arial, sans-serif;
  --gutter: clamp(16px, 2.4vw, 44px);
  --container-max: 1180px;
  --container-wide: 1280px;
  --measure: 40rem;
  --space-1: 8px;
  --space-2: 12px;
  --space-3: 16px;
  --space-4: 24px;
  --space-5: 32px;
  --space-6: 48px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: var(--font);
  font-size: 15px;
  color: var(--navy);
  background: var(--page);
  line-height: 1.55;
}

a { color: var(--navy); }
a:hover { color: var(--crimson); }
img { max-width: 100%; height: auto; }

.container {
  width: min(var(--container-max), calc(100% - (var(--gutter) * 2)));
  margin-inline: auto;
}
.container-wide {
  width: min(var(--container-wide), calc(100% - (var(--gutter) * 2)));
  margin-inline: auto;
}

.measure { max-width: var(--measure); }
.measure-wide { max-width: 48rem; }

/* ── Header ── */
.site-header {
  background: var(--surface);
  border-bottom: 1px solid rgba(222, 224, 222, 0.95);
  box-shadow: var(--shadow-sm);
  position: relative;
  z-index: 2;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  min-height: 72px;
  padding-top: 10px;
  padding-bottom: 10px;
}
.brand {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  flex-shrink: 0;
}
.brand img {
  width: 168px;
  height: auto;
  max-width: none;
  display: block;
}
.brand-meta {
  text-align: right;
  min-width: 0;
  padding-left: 16px;
  border-left: 1px solid var(--gray);
}
.brand-product {
  margin: 0;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.3px;
  color: var(--navy);
  line-height: 1.2;
}
.brand-powered {
  margin: 3px 0 0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2px;
  color: var(--slate);
  line-height: 1.2;
}
.brand-i8 {
  font-weight: 800;
  color: var(--crimson);
  letter-spacing: 0.4px;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.35px;
  text-decoration: none;
  cursor: pointer;
  border-radius: var(--radius-sm);
  padding: 14px 28px;
  border: none;
  min-height: 46px;
  transition: background-color 0.14s ease, color 0.14s ease, border-color 0.14s ease, box-shadow 0.14s ease, transform 0.14s ease;
}
.btn:focus-visible {
  outline: 2px solid var(--crimson);
  outline-offset: 2px;
}
.btn-primary {
  background: var(--crimson);
  color: #fff;
  box-shadow: 0 1px 0 rgba(35, 61, 81, 0.08), 0 4px 12px rgba(206, 48, 49, 0.18);
}
.btn-primary:hover {
  background: var(--crimson-dark);
  color: #fff;
  box-shadow: 0 2px 10px rgba(206, 48, 49, 0.28);
}
.btn-outline {
  background: var(--surface);
  color: var(--navy);
  border: 1.5px solid rgba(35, 61, 81, 0.35);
  padding: 12px 22px;
}
.btn-outline:hover {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.btn-text {
  background: none;
  border: none;
  color: var(--slate);
  font-weight: 600;
  padding: 8px 0;
  text-decoration: underline;
  cursor: pointer;
  font-family: inherit;
  min-height: auto;
}
.btn-text:hover { color: var(--navy); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

.btn-change {
  background: none;
  border: none;
  color: var(--slate);
  font: inherit;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.15px;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  cursor: pointer;
  padding: 2px 0;
  flex-shrink: 0;
}
.btn-change:hover,
.btn-change:focus-visible {
  color: var(--crimson);
  border-bottom-color: var(--crimson);
}
.btn-change:focus-visible {
  outline: 2px solid var(--crimson);
  outline-offset: 2px;
}

/* ── App shell / loading ── */
.app-shell { display: block; }
.step-wrap {
  position: relative;
  min-height: 320px;
}
.loading-overlay {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(238, 241, 243, 0.78);
  padding: 48px 24px;
  text-align: center;
  backdrop-filter: blur(1px);
}
.loading-overlay[hidden] { display: none !important; }
.loading-panel {
  width: min(300px, 88vw);
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--surface);
  border-radius: var(--radius);
  padding: 22px 24px;
  box-shadow: var(--shadow-md);
}
.loading-overlay p,
.loading-panel #loading-message {
  margin: 0 0 14px;
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.35;
}
.loading-overlay p::before { content: none; display: none; }
.loading-track {
  position: relative;
  display: block;
  height: 4px;
  width: 100%;
  max-width: 300px;
  overflow: hidden;
  background: var(--gray);
  border-radius: 2px;
}
.loading-bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 28%;
  height: 100%;
  background: var(--crimson);
  animation: valid8-loading 1.2s ease-in-out infinite;
}
@keyframes valid8-loading {
  from { transform: translateX(-120%); }
  to { transform: translateX(420%); }
}
@media (prefers-reduced-motion: reduce) {
  .loading-bar {
    animation: none;
    left: 0;
    width: 32%;
    transform: none;
  }
  .btn, .chip, .surface-card { transition: none; }
  .share-box-flash { animation: none; }
}

/* ── Progress stepper ── */
.stage-bar {
  background: var(--navy);
  color: #fff;
  padding: 0;
}
.stage-list {
  display: flex;
  align-items: stretch;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0;
}
.stage-step {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.45px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
  padding: 16px 8px;
  position: relative;
}
.stage-step.done { color: rgba(255, 255, 255, 0.9); }
.stage-step.current { color: #fff; }
.stage-step-static,
.stage-step-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
}
.stage-step-btn {
  cursor: pointer;
  border-radius: 4px;
}
.stage-step-btn:hover .stage-step-label {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.stage-step-btn:hover .stage-num {
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.35);
}
.stage-step-btn:focus {
  outline: none;
}
.stage-step-btn:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}
.stage-step.upcoming .stage-step-static {
  cursor: default;
}
.stage-num {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  color: inherit;
  flex-shrink: 0;
  line-height: 1;
}
.stage-step.done .stage-num {
  background: var(--crimson);
  border-color: var(--crimson);
  color: #fff;
}
.stage-step.current .stage-num {
  background: #fff;
  border-color: #fff;
  color: var(--navy);
}
.stage-step-label {
  display: inline-flex;
  align-items: center;
  padding-bottom: 0;
  border-bottom: none;
}
.stage-step:not(:last-child)::after {
  content: "";
  width: min(72px, 9vw);
  height: 1px;
  margin: 0 18px 0 14px;
  background: rgba(255, 255, 255, 0.22);
}
.stage-step.done:not(:last-child)::after {
  background: rgba(206, 48, 49, 0.85);
}
.stage-mobile {
  display: none;
  text-align: center;
  padding: 14px 0;
}
.stage-mobile-step {
  display: block;
  font-size: 11px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 2px;
}
.stage-mobile-label {
  display: block;
  font-weight: 800;
  font-size: 14px;
}

/* ── Panels / surfaces ── */
.panel {
  padding: clamp(28px, 3.2vw, 44px) 0 clamp(36px, 4vw, 56px);
}
.surface-card {
  background: var(--surface);
  border: 1px solid rgba(222, 224, 222, 0.95);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.panel-kicker {
  margin: 0 0 10px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  color: var(--slate);
}
.panel-header h2,
.page-title {
  margin: 0 0 12px;
  font-size: clamp(28px, 3.6vw, 36px);
  font-weight: 800;
  line-height: 1.18;
  color: var(--navy);
  letter-spacing: -0.02em;
}
#advisor-top:focus,
#advisor-top:focus-visible { outline: none; }
.panel-header p,
.page-lead {
  margin: 0;
  color: var(--slate);
  font-size: 15px;
  max-width: var(--measure);
  line-height: 1.6;
}

/* ── Stage 1: split intro + work ── */
.stage-project .stage1-layout {
  display: grid;
  grid-template-columns: minmax(240px, 0.9fr) minmax(0, 1.35fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
.stage-project .stage1-intro {
  padding-top: 8px;
}
.stage-project .stage1-aside {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(118, 140, 152, 0.25);
}
.stage-project .aside-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.stage-project .aside-list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  align-items: start;
  font-size: 13px;
  color: var(--navy);
  line-height: 1.45;
}
.stage-project .aside-num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--tint-navy);
  color: var(--navy);
  font-size: 11px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.stage-project .aside-list strong {
  display: block;
  font-size: 13px;
  margin-bottom: 2px;
}
.stage-project .aside-list span {
  color: var(--slate);
  font-weight: 500;
}
.work-surface {
  background: var(--surface);
  border: 1px solid rgba(222, 224, 222, 0.95);
  border-radius: var(--radius);
  padding: clamp(20px, 2.4vw, 28px);
  box-shadow: var(--shadow-md);
}
.stage-project .actions {
  margin-top: 20px;
  padding-top: 4px;
  border-top: none;
}

/* ── Forms / chips ── */
.field { margin-bottom: 18px; }
.field-hero { margin-bottom: 22px; }
.field label {
  display: block;
  font-weight: 700;
  margin-bottom: 8px;
  font-size: 14px;
}
.field .hint {
  color: var(--slate);
  font-size: 13px;
  margin: 0 0 10px;
}
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="number"],
.field select,
.field textarea,
.interpret select,
.interpret input,
.summary-editor select,
.summary-editor input,
.sales-panel input {
  width: 100%;
  font: inherit;
  color: var(--navy);
  background: #fff;
  border: 1.5px solid var(--input-border);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  min-height: 44px;
  transition: border-color 0.12s ease, box-shadow 0.12s ease;
}
.field input::placeholder,
.field textarea::placeholder,
.interpret input::placeholder,
.sales-panel input::placeholder {
  color: #9aa8b2;
  opacity: 1;
}
.field textarea {
  min-height: 148px;
  padding: 16px 18px;
  font-size: 15px;
  resize: vertical;
  line-height: 1.55;
}
.field textarea.hero-input {
  min-height: 168px;
  border-width: 1.5px;
  border-color: rgba(35, 61, 81, 0.28);
  background: #fbfcfc;
}
.field textarea.hero-input:focus {
  border-color: var(--navy);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(35, 61, 81, 0.08);
}
.field input:focus,
.field select:focus,
.field textarea:focus,
.interpret select:focus,
.interpret input:focus,
.summary-editor select:focus,
.summary-editor input:focus,
.sales-panel input:focus {
  outline: 2px solid var(--navy);
  outline-offset: 1px;
}
.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px clamp(16px, 2vw, 28px);
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.chip {
  border: 1.5px solid rgba(118, 140, 152, 0.4);
  background: #fff;
  padding: 9px 14px;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
  color: var(--navy);
  border-radius: 999px;
  min-height: 40px;
  transition: border-color 0.12s ease, background-color 0.12s ease, box-shadow 0.12s ease, color 0.12s ease;
}
.chip:hover {
  border-color: var(--slate);
  box-shadow: var(--shadow-sm);
}
.chip:focus-visible {
  outline: 2px solid var(--crimson);
  outline-offset: 2px;
}
.chip.selected {
  border-color: var(--navy);
  border-width: 2px;
  padding: 8px 13px;
  background: var(--tint-navy);
  font-weight: 700;
}

.details-toggle {
  margin: 4px 0 8px;
}
.details-toggle summary {
  cursor: pointer;
  color: var(--slate);
  font-weight: 600;
  list-style: none;
  padding: 8px 0;
  font-size: 14px;
}
.details-toggle .summary-hint {
  font-weight: 500;
  color: #9aa8b2;
}
.details-toggle summary::-webkit-details-marker { display: none; }
.details-toggle summary::before {
  content: "+ ";
  font-weight: 800;
  color: var(--navy);
}
.details-toggle[open] summary::before { content: "− "; }
.details-body {
  margin-top: 8px;
  padding: 16px 0 4px;
  border-top: 1px solid var(--gray);
}
.details-group-label {
  margin: 8px 0 10px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.55px;
  text-transform: uppercase;
  color: var(--slate);
}
.details-body .field-row + .details-group-label {
  margin-top: 4px;
}

.actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 24px;
  padding-top: 8px;
}
.cta-reassure {
  margin: 0;
  color: var(--slate);
  font-size: 13px;
  max-width: 320px;
  line-height: 1.45;
}
.actions-right {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin-left: auto;
}
.refine-actions {
  margin-top: 28px;
  padding-top: 8px;
}

/* ── Stage 2 refine ── */
.refine-page .section { margin-bottom: 22px; }
.refine-layout {
  display: grid;
  gap: 22px;
}
.summary-section h3,
.section-title {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  color: var(--navy);
}
.summary-surface {
  background: var(--surface);
  border: 1px solid rgba(222, 224, 222, 0.95);
  border-radius: var(--radius);
  padding: clamp(18px, 2.2vw, 26px);
  box-shadow: var(--shadow-sm);
}
.summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px clamp(28px, 3.5vw, 48px);
}
.summary-item { min-width: 0; padding: 0; }
.summary-item-wide {
  grid-column: 1 / -1;
  padding-top: 8px;
  margin-top: 4px;
  border-top: 1px solid var(--gray);
}
.summary-item-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 4px;
}
.interpret-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.55px;
  text-transform: uppercase;
  color: var(--slate);
}
.interpret-meta {
  font-size: 12px;
  color: var(--slate);
  margin: 0 0 4px;
}
.summary-value {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--navy);
}
.summary-value.is-unresolved {
  color: var(--slate);
  font-weight: 600;
  font-style: italic;
}
.summary-editor { margin-top: 8px; }
.summary-item.is-editing {
  background: transparent;
  border: none;
  border-left: 3px solid var(--crimson);
  padding: 0 0 0 12px;
}
.chip-edit { margin-top: 4px; }
.scale-edit {
  margin-top: 4px;
  max-width: 420px;
}

.clarify-panel {
  background: var(--tint-navy);
  border: none;
  border-radius: var(--radius);
  padding: clamp(18px, 2vw, 24px);
}
.clarify-panel h3 {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  color: var(--navy);
}
.clarify-panel .section-lead {
  margin: 0 0 14px;
}
.followups { margin: 0; }
.followup-card {
  background: transparent;
  padding: 0;
  margin: 0 0 16px;
}
.followup-card:last-child { margin-bottom: 0; }
.followup-card p {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 600;
  max-width: var(--measure);
}
.followup-card .chip-row { gap: 8px; }

/* ── Stage 3 solution ── */
.solution-page .panel-header { margin-bottom: 20px; }
.section { margin-bottom: 28px; }
.section h3 {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  color: var(--navy);
}
.section-lead {
  margin: 0 0 10px;
  color: var(--slate);
  font-size: 14px;
  max-width: var(--measure);
  line-height: 1.5;
}
.disclosure-toggle {
  margin-top: 10px;
  font-size: 13px;
}

.project-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 22px;
}
.project-chip {
  display: inline-flex;
  align-items: center;
  background: var(--tint-navy);
  color: var(--navy);
  font-size: 12px;
  font-weight: 700;
  padding: 7px 12px;
  border-radius: 999px;
  letter-spacing: 0.1px;
}
.project-strip-label {
  width: 100%;
  margin: 0 0 2px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.55px;
  text-transform: uppercase;
  color: var(--slate);
}

.rec-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(240px, 0.72fr);
  gap: clamp(16px, 2vw, 24px);
  align-items: start;
  margin-bottom: 8px;
}
.rec-card {
  background: var(--surface);
  border: 1px solid rgba(222, 224, 222, 0.95);
  border-radius: var(--radius);
  border-left: 4px solid var(--crimson);
  padding: clamp(22px, 2.5vw, 28px);
  box-shadow: var(--shadow-md);
  position: relative;
}
.rec-card.rec-partial { border-left-color: #c47b1a; }
.rec-card.rec-info,
.rec-card.rec-nomatch {
  border-left-color: var(--slate);
  max-width: 52rem;
}
.rec-card.rec-info .gap-grid,
.rec-card.rec-nomatch + .section {
  max-width: none;
}
.rec-side {
  background: var(--tint-navy);
  border: none;
  border-radius: var(--radius);
  padding: 18px 18px 16px;
  box-shadow: none;
  align-self: start;
}
.rec-side h4 {
  margin: 0 0 12px;
}
.rec-side .why-list {
  gap: 12px;
}
.rec-side .why-list li {
  font-size: 14px;
  line-height: 1.4;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(118, 140, 152, 0.22);
}
.rec-side .why-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.rec-side .solution-fit {
  margin: 0;
}
.rec-side .gap-panel {
  margin-top: 14px;
  padding-top: 12px;
}
.solution-eyebrow {
  margin: 0 0 10px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--slate);
}
.solution-name {
  margin: 0 0 8px;
  font-size: clamp(26px, 3.2vw, 34px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--navy);
}
.solution-family {
  font-size: 14px;
  font-weight: 600;
  color: var(--slate);
  margin: 0 0 14px;
}
.solution-likely { margin: 0 0 2px; font-size: 13px; font-weight: 600; color: var(--slate); }
.solution-why {
  margin: 0 0 14px;
  max-width: 42rem;
  font-size: 15px;
  line-height: 1.6;
  color: var(--navy);
}
.solution-note,
.solution-meta,
.solution-alts {
  margin: 12px 0 0;
  font-size: 13px;
  color: var(--slate);
}
.solution-link { margin: 0 0 10px; font-weight: 600; }
.solution-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 14px 0 2px;
}
.solution-fit {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--navy);
}
.solution-fit li {
  margin: 0 0 8px;
  font-size: 14px;
  line-height: 1.45;
}

.confidence-block { margin: 0 0 14px; }
.confidence {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  border-radius: 999px;
  padding: 6px 12px;
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.45px;
  text-transform: uppercase;
  background: var(--tint-navy);
  color: var(--navy);
}
.confidence::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}
.confidence-strong,
.confidence-good {
  background: var(--tint-navy);
  color: var(--navy);
}
.confidence-confirm {
  background: var(--tint-warm);
  color: #8a5610;
}
.confidence-info,
.confidence-neutral {
  background: var(--soft-2);
  color: #5a6d79;
}

.why-inline h4,
.alt-compact h4,
.gap-panel h4,
.rec-side h4 {
  margin: 0 0 12px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--slate);
}
.why-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.why-list li {
  position: relative;
  padding: 0 0 0 22px;
  font-size: 14px;
  line-height: 1.4;
  color: var(--navy);
  font-weight: 500;
}
.why-list-check li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.35em;
  width: 10px;
  height: 6px;
  border-left: 2px solid var(--crimson);
  border-bottom: 2px solid var(--crimson);
  transform: rotate(-45deg);
  background: transparent;
}
.alt-compact {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--gray);
}
.alt-compact p { margin: 0; font-weight: 400; }

.gap-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px clamp(20px, 2.5vw, 28px);
  margin-top: 18px;
}
.gap-panel {
  background: transparent;
  border: none;
  border-top: 1px solid var(--gray);
  padding: 14px 0 0;
}
.gap-panel-discuss {
  border-top-color: rgba(196, 123, 26, 0.4);
}
.outcome-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.plan-results-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(24px, 3.5vw, 48px);
  margin: 8px 0 12px;
  align-items: start;
}
.plan-results-grid .section { margin-bottom: 12px; }

.approach-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  max-width: min(44rem, 100%);
  border-left: 2px solid rgba(206, 48, 49, 0.25);
  margin-left: 14px;
}
.approach-list li {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 0 0 22px 8px;
  position: relative;
}
.approach-list li:last-child { padding-bottom: 0; }
.approach-num {
  font-size: 15px;
  font-weight: 800;
  color: var(--crimson);
  line-height: 1.2;
  margin-left: -30px;
  background: var(--page);
  width: 36px;
  text-align: center;
  padding: 2px 0;
}
.approach-title {
  display: block;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--navy);
  margin: 0 0 4px;
}
.approach-body,
.approach-copy {
  display: block;
  margin: 0;
  color: var(--slate);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
}
.approach-copy { color: var(--navy); font-size: 15px; }

.metric-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
.metric-item {
  padding: 14px 0;
  border-top: 1px solid var(--gray);
}
.metric-item:first-child { border-top: none; padding-top: 0; }
.metric-item strong {
  display: block;
  margin-bottom: 4px;
  font-size: 13px;
  letter-spacing: 0.2px;
  text-transform: none;
  font-weight: 800;
  color: var(--navy);
}
.metric-item span {
  color: var(--slate);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.45;
}

.metric-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}
.metric-tag {
  border: none;
  background: var(--soft);
  color: var(--navy);
  font-size: 12px;
  font-weight: 700;
  padding: 7px 10px;
  border-radius: 999px;
}

.questions-panel {
  background: var(--soft);
  border-radius: var(--radius);
  padding: clamp(16px, 2vw, 22px);
  border-left: 3px solid var(--slate);
}
.questions-panel h3 { margin-bottom: 6px; }

.discuss-list {
  margin: 0;
  padding-left: 1.15rem;
  max-width: var(--measure);
}
.discuss-list li {
  margin: 0 0 8px;
  font-size: 14px;
  line-height: 1.45;
}

.summary-text {
  margin: 0;
  max-width: 48rem;
  font-size: 16px;
  line-height: 1.55;
  color: var(--navy);
}

.brief-compact {
  padding-top: 0;
}
.brief-utility {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  background: var(--soft);
  border-radius: var(--radius);
  padding: 14px 18px;
  border-left: 3px solid var(--slate);
}
.brief-utility-copy {
  min-width: 0;
  flex: 1 1 220px;
}
.brief-utility-kicker {
  margin: 0 0 2px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.55px;
  text-transform: uppercase;
  color: var(--slate);
}
.brief-utility-title {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.35;
}
.brief-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 0;
  flex: 0 1 auto;
}
.brief-actions .btn-outline {
  min-height: 40px;
  padding: 9px 16px;
  font-size: 12px;
  width: auto;
}
.share-box {
  margin-top: 16px;
  padding: 16px 18px;
  background: var(--surface);
  border: 2px solid var(--navy);
  border-radius: var(--radius);
  word-break: break-all;
  color: var(--navy);
  max-width: 48rem;
  outline: none;
}
.share-box-flash {
  animation: share-flash 1.6s ease-out;
  box-shadow: 0 0 0 4px rgba(206, 48, 49, 0.22);
  border-color: var(--crimson);
}
@keyframes share-flash {
  0% { box-shadow: 0 0 0 0 rgba(206, 48, 49, 0.45); background: #fff5f5; }
  40% { box-shadow: 0 0 0 6px rgba(206, 48, 49, 0.18); }
  100% { box-shadow: 0 0 0 0 rgba(206, 48, 49, 0); background: var(--surface); }
}
.share-box-label {
  font-weight: 700;
  font-size: 15px;
  margin: 0 0 4px;
}
.share-box-hint {
  margin: 0 0 12px;
  color: var(--slate);
  font-size: 13px;
}
.share-link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: stretch;
}
.share-link-input {
  flex: 1 1 220px;
  min-width: 0;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  background: #fff;
  border: 1px solid var(--navy);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
}
.share-link-input:focus {
  outline: 2px solid var(--crimson);
  outline-offset: 1px;
}
.share-box-open {
  margin: 10px 0 0;
  font-size: 13px;
}
.share-box-open a { font-weight: 600; }

.notice {
  border: none;
  border-left: 3px solid var(--navy);
  padding: 10px 0 10px 14px;
  margin: 12px 0;
  background: transparent;
}
.notice.warning,
.notice-warn { border-left-color: var(--crimson); }
.sales-panel {
  padding: 0;
  margin-top: 4px;
  background: transparent;
}
.sales-panel .hint {
  margin: 0 0 18px;
  color: var(--slate);
  max-width: var(--measure);
}
.contact-section {
  background: var(--surface);
  border: 1px solid rgba(222, 224, 222, 0.95);
  border-radius: var(--radius);
  padding: clamp(18px, 2vw, 24px);
  box-shadow: var(--shadow-sm);
  border-top: 3px solid var(--crimson);
}
.contact-section .panel-kicker,
.stage3-close-kicker {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.55px;
  text-transform: uppercase;
  color: var(--slate);
}
.stage3-close {
  margin-top: 8px;
  display: grid;
  gap: 16px;
}
.stage3-close .section {
  margin-bottom: 0;
}
.advisor-footnote {
  margin: 16px 0 4px;
  font-size: 12px;
  color: var(--slate);
  max-width: var(--measure);
}
.advisor-footnote .brand-i8 {
  font-weight: 800;
  color: var(--crimson);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}
.error {
  color: var(--crimson);
  font-weight: 600;
  margin: 12px auto;
}

.site-footer {
  background: var(--navy-deep);
  color: #fff;
  padding: 26px 0;
  margin-top: 0;
}
.site-footer a { color: #fff; }
.site-footer p { margin: 0 0 4px; color: rgba(255,255,255,0.85); font-size: 13px; }
.footer-meta { font-size: 12px; color: rgba(255,255,255,0.65); margin-bottom: 2px !important; }

/* Verification gate */
.verify-gate {
  max-width: 36rem;
  margin: 0 auto;
  padding: 28px 0 48px;
}
.verify-header { margin-bottom: 18px; }
.verify-card { padding: 8px 0 0; }
.turnstile-host {
  min-height: 65px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin: 8px 0 14px;
}
.verify-note {
  color: var(--slate);
  font-size: 13px;
  line-height: 1.45;
  margin: 12px 0 0;
  max-width: 32rem;
}
.verify-error {
  color: var(--crimson);
  font-size: 14px;
  margin: 10px 0 0;
  line-height: 1.4;
}
.verify-opening {
  color: var(--navy);
  font-size: 14px;
  font-weight: 600;
  margin: 10px 0 0;
}

/* Brief markdown preview leftovers */
.brief-doc-body {
  padding: 18px 0 8px;
}
.brief-doc-body h2 {
  margin: 0 0 20px;
  font-size: 22px;
  font-weight: 800;
  color: var(--navy);
}
.brief-doc-body h3 {
  margin: 28px 0 10px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--navy);
  border-bottom: 1px solid var(--gray);
  padding-bottom: 6px;
}
.brief-doc-body h4 {
  margin: 20px 0 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
}
.brief-doc-body p {
  margin: 0 0 12px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--navy);
}
.brief-doc-body ul,
.brief-doc-body ol {
  margin: 0 0 14px;
  padding-left: 1.25rem;
}
.brief-doc-body li {
  margin: 0 0 6px;
  font-size: 14px;
  line-height: 1.5;
}

/* ── Responsive ── */
@media (min-width: 1200px) {
  .summary-grid { column-gap: clamp(32px, 4vw, 56px); }
}

@media (max-width: 1100px) {
  .stage-project .stage1-layout {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .stage-project .stage1-aside {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }
  .stage-project .aside-list {
    display: contents;
  }
  .rec-layout,
  .plan-results-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .field-row,
  .summary-grid,
  .gap-grid {
    grid-template-columns: 1fr;
  }
  .summary-item-wide {
    grid-column: auto;
    border-top: none;
    margin-top: 0;
    padding-top: 0;
  }
  .stage-project .stage1-aside {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 800px) {
  .stage-list { display: none; }
  .stage-mobile { display: block; }
  .actions,
  .cta-block { flex-direction: column; align-items: stretch; }
  .cta-reassure { max-width: none; }
  .actions-right,
  .brief-actions,
  .solution-cta-row {
    flex-direction: column;
    width: 100%;
  }
  .actions-right { margin-left: 0; }
  .btn, .btn-outline { width: 100%; text-align: center; }
  .brief-utility {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 12px;
  }
  .brief-utility-copy {
    flex: 0 0 auto;
  }
  .brief-actions {
    flex: 0 0 auto;
    width: 100%;
  }
  .brief-actions .btn-outline { width: 100%; }
  .approach-list { margin-left: 10px; max-width: none; }
  .panel { padding: 24px 0 36px; }
  .brand-meta {
    border-left: none;
    padding-left: 0;
  }
}

@media (max-width: 768px) {
  .header-inner { min-height: 64px; padding-top: 8px; padding-bottom: 8px; }
  .brand img { width: 140px; }
  .brand-product { font-size: 12px; }
  .brand-powered { font-size: 10px; }
}

@media (max-width: 480px) {
  :root { --gutter: 14px; }
  .header-inner {
    min-height: 60px;
    align-items: flex-end;
  }
  .brand img { width: 118px; }
  .brand-product { font-size: 11px; }
  .chip { padding: 9px 12px; }
}
