:root {
  --ink: #0a0a0a;
  --panel: #121212;
  --gold: #d2aa2c;
  --gold-soft: #f3df92;
  --paper: #f7f7f4;
  --line: #d7d2c3;
  --muted: #5d6572;
  --white: #ffffff;
  --blue: #164e63;
  --green: #2f6f5e;
  --shadow: 0 18px 42px rgba(10, 10, 10, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

.site-header {
  align-items: center;
  background: var(--ink);
  border-bottom: 4px solid var(--gold);
  display: flex;
  gap: 28px;
  justify-content: space-between;
  padding: 18px clamp(20px, 5vw, 72px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.brand {
  align-items: center;
  color: var(--white);
  display: inline-flex;
  gap: 14px;
  min-width: 260px;
  text-decoration: none;
}

.brand img {
  display: block;
  height: 56px;
  max-width: 56px;
  object-fit: contain;
  object-position: left center;
}

.brand-name {
  color: var(--white);
  display: inline-block;
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.1;
}

.brand-name::after {
  background: var(--gold);
  content: "";
  display: block;
  height: 3px;
  margin-top: 8px;
  width: min(100%, 320px);
}

.site-nav {
  align-items: center;
  color: var(--white);
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: flex-end;
  font-size: 0.95rem;
}

.site-nav a {
  color: var(--white);
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--gold-soft);
}

.nav-cta {
  border: 1px solid var(--gold);
  color: var(--gold-soft) !important;
  padding: 10px 14px;
}

.hero,
.page-hero,
.qr-hero {
  display: grid;
  gap: clamp(24px, 5vw, 64px);
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  min-height: calc(100vh - 104px);
  padding: clamp(48px, 9vw, 112px) clamp(20px, 6vw, 88px);
}

.page-hero,
.qr-hero {
  min-height: auto;
}

.page-hero.compact {
  display: block;
  max-width: 920px;
  padding-bottom: 28px;
}

.service-hero {
  align-items: center;
  background: var(--white);
  min-height: auto;
}

.service-hero h1 {
  color: var(--ink);
  font-size: 2.2rem;
}

.service-hero p {
  color: var(--muted);
}

.hero {
  background:
    linear-gradient(90deg, rgba(10, 10, 10, 0.94), rgba(10, 10, 10, 0.76)),
    repeating-linear-gradient(0deg, rgba(210, 170, 44, 0.16), rgba(210, 170, 44, 0.16) 1px, transparent 1px, transparent 42px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.08) 1px, transparent 1px, transparent 42px),
    var(--ink);
  color: var(--white);
}

.eyebrow {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0 0 14px;
  text-transform: uppercase;
}

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

h1 {
  font-size: 2.4rem;
  letter-spacing: 0;
  line-height: 0.96;
  margin-bottom: 22px;
  max-width: 980px;
}

h2 {
  font-size: 1.8rem;
  letter-spacing: 0;
  line-height: 1.05;
  margin-bottom: 18px;
}

h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.hero-text,
.page-hero p,
.qr-hero p,
.split-section p,
.proof-copy p {
  color: #d7d2c3;
  font-size: 1rem;
  max-width: 700px;
}

.page-hero p,
.split-section p,
.proof-copy p,
.service-card p,
.service-detail-grid p,
.service-detail-grid li {
  color: var(--muted);
}

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

.button {
  align-items: center;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  text-decoration: none;
}

.button.primary {
  background: var(--gold);
  color: var(--ink);
}

.button.secondary {
  border: 1px solid currentColor;
  color: inherit;
}

.button.payment-link {
  border-color: var(--gold);
  color: var(--gold-soft);
}

.button.beta-link {
  border-color: var(--gold-soft);
  color: var(--gold-soft);
}

.site-nav a[href="payment.html"] {
  border-bottom: 2px solid rgba(210, 170, 44, 0.75);
  color: var(--gold-soft);
  font-weight: 800;
}

.site-nav a[href="beta.html"] {
  color: var(--gold-soft);
  font-weight: 800;
}

.hero-panel {
  align-self: center;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(210, 170, 44, 0.7);
  box-shadow: var(--shadow);
  color: var(--ink);
  padding: 28px;
}

.hero-visual {
  align-self: stretch;
  background: var(--ink);
  border: 1px solid rgba(210, 170, 44, 0.75);
  box-shadow: var(--shadow);
  display: grid;
  min-height: 420px;
  overflow: hidden;
  position: relative;
}

.hero-visual::after {
  background: linear-gradient(0deg, rgba(10, 10, 10, 0.22), transparent 42%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.hero-visual img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.panel-topline {
  border-bottom: 1px solid var(--line);
  color: var(--blue);
  font-weight: 800;
  padding-bottom: 14px;
}

.panel-copy {
  color: var(--muted);
  font-size: 1rem;
  margin: 16px 0 0;
}

.signal-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 22px 0;
}

.signal-grid span,
.offer-grid span {
  background: #ebe7d9;
  border-left: 4px solid var(--gold);
  font-weight: 700;
  padding: 12px;
}

.outcome-stack {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 12px;
  padding-top: 18px;
}

.outcome-stack div {
  display: grid;
  gap: 4px;
  grid-template-columns: 90px minmax(0, 1fr);
}

.outcome-stack strong {
  color: var(--green);
  font-size: 1rem;
}

.outcome-stack span {
  color: var(--muted);
}

.section {
  padding: clamp(46px, 7vw, 84px) clamp(20px, 6vw, 88px);
}

.section-heading {
  max-width: 820px;
}

.service-grid,
.service-detail-grid,
.proof-grid,
.offer-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 28px;
}

.service-card,
.service-detail-grid article,
.proof-grid div {
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 10px 24px rgba(10, 10, 10, 0.06);
  padding: 24px;
}

.visual-feature {
  align-items: center;
  display: grid;
  gap: clamp(26px, 5vw, 58px);
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
}

.visual-feature.reverse {
  grid-template-columns: minmax(320px, 1.05fr) minmax(0, 0.95fr);
}

.feature-dark {
  background:
    linear-gradient(135deg, rgba(10, 10, 10, 0.96), rgba(10, 10, 10, 0.82)),
    repeating-linear-gradient(90deg, rgba(210, 170, 44, 0.1), rgba(210, 170, 44, 0.1) 1px, transparent 1px, transparent 48px),
    var(--ink);
  color: var(--white);
}

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

.feature-copy p {
  color: var(--muted);
  font-size: 1rem;
  max-width: 720px;
}

.feature-dark .feature-copy p {
  color: #d7d2c3;
}

.feature-image {
  background: var(--ink);
  border: 1px solid rgba(210, 170, 44, 0.6);
  box-shadow: var(--shadow);
  margin: 0;
  min-height: 320px;
  overflow: hidden;
}

.feature-image img {
  display: block;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  width: 100%;
}

.metric-strip,
.mini-panel-grid {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

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

.metric-strip span,
.mini-panel-grid span {
  background: rgba(255, 255, 255, 0.08);
  border-left: 4px solid var(--gold);
  color: var(--white);
  display: grid;
  font-weight: 700;
  gap: 4px;
  padding: 14px;
}

.metric-strip strong {
  color: var(--gold-soft);
}

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

.mini-panel-grid span {
  color: var(--ink);
  background: var(--white);
}

.compact-list {
  margin-top: 22px;
}

.service-detail-grid {
  align-items: start;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding-top: 18px;
}

.service-detail-grid ul {
  margin-bottom: 0;
  padding-left: 18px;
}

.split-section {
  background: var(--white);
  display: grid;
  gap: 44px;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1.1fr);
}

.process-list {
  counter-reset: process;
  display: grid;
  gap: 14px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.process-list li {
  background: var(--paper);
  border: 1px solid var(--line);
  display: grid;
  gap: 6px;
  padding: 18px;
}

.process-list strong {
  color: var(--blue);
  font-size: 1.05rem;
}

.proof-section {
  display: grid;
  gap: 32px;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 1fr);
}

.proof-grid {
  grid-template-columns: 1fr;
  margin-top: 0;
}

.proof-grid div {
  display: grid;
  gap: 6px;
}

.proof-grid strong {
  color: var(--green);
}

.cta-section {
  align-items: center;
  background: var(--ink);
  color: var(--white);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  padding: clamp(34px, 6vw, 68px) clamp(20px, 6vw, 88px);
}

.cta-section h2 {
  margin-bottom: 0;
}

.site-footer {
  background: #050505;
  color: var(--white);
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  padding: 28px clamp(20px, 6vw, 88px);
}

.site-footer div {
  display: grid;
  gap: 4px;
}

.site-footer span,
.site-footer a {
  color: #d7d2c3;
}

.beta-callout {
  align-items: center;
  background:
    linear-gradient(135deg, rgba(22, 78, 99, 0.95), rgba(10, 10, 10, 0.95)),
    repeating-linear-gradient(90deg, rgba(210, 170, 44, 0.12), rgba(210, 170, 44, 0.12) 1px, transparent 1px, transparent 54px);
  border-top: 1px solid rgba(210, 170, 44, 0.58);
  color: var(--white);
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: clamp(32px, 5vw, 58px) clamp(20px, 6vw, 88px);
}

.beta-callout h2 {
  font-size: 1.7rem;
  margin-bottom: 12px;
}

.beta-callout p {
  color: #e7e0c9;
  max-width: 820px;
}

.beta-hero {
  align-items: center;
  background:
    linear-gradient(90deg, rgba(10, 10, 10, 0.96), rgba(10, 10, 10, 0.82)),
    repeating-linear-gradient(90deg, rgba(210, 170, 44, 0.1), rgba(210, 170, 44, 0.1) 1px, transparent 1px, transparent 48px),
    var(--ink);
  color: var(--white);
  display: grid;
  gap: clamp(28px, 5vw, 64px);
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  padding: clamp(48px, 8vw, 96px) clamp(20px, 6vw, 88px);
}

.beta-hero h1 {
  max-width: 760px;
}

.beta-hero p {
  color: #e7e0c9;
  font-size: 1.02rem;
  max-width: 720px;
}

.beta-visual {
  background: #050505;
  border: 1px solid rgba(210, 170, 44, 0.7);
  box-shadow: var(--shadow);
  margin: 0;
  min-height: 420px;
  overflow: hidden;
}

.beta-visual img {
  display: block;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  width: 100%;
}

.beta-callout-section {
  background: var(--white);
}

.program-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 28px;
}

.program-grid article {
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 4px solid var(--gold);
  display: grid;
  gap: 10px;
  padding: 24px;
}

.program-grid strong {
  color: var(--blue);
  font-size: 1.2rem;
}

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

.beta-requirements {
  align-items: start;
}

.terms-list {
  background: var(--paper);
  border: 1px solid var(--line);
  list-style: none;
  margin: 0;
  padding: 22px;
}

.terms-list li {
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-weight: 700;
  padding: 14px 0;
}

.terms-list li:first-child {
  padding-top: 0;
}

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

.beta-application-shell {
  padding-bottom: clamp(52px, 7vw, 88px);
  padding-top: 0;
}

.qr-hero {
  align-items: center;
  background: var(--white);
}

.qr-hero h1 {
  color: var(--ink);
  font-size: 2.3rem;
}

.qr-hero p {
  color: var(--muted);
}

.qr-card,
.snapshot-card {
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  justify-self: center;
  max-width: 420px;
  padding: 14px;
  width: 100%;
}

.snapshot-card {
  padding: 30px;
}

.snapshot-card h2 {
  font-size: 1.6rem;
  margin-bottom: 12px;
}

.snapshot-card p {
  color: var(--muted);
}

.snapshot-list {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 10px;
  margin-top: 20px;
  padding-top: 18px;
}

.snapshot-list span {
  background: #ebe7d9;
  border-left: 4px solid var(--gold);
  color: var(--ink);
  font-weight: 800;
  padding: 12px;
}

.scan-offer {
  background: var(--ink);
  color: var(--white);
}

.scan-offer h2 {
  color: var(--white);
}

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

.offer-grid span {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.about-hero {
  align-items: center;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98), rgba(247, 247, 244, 0.92)),
    repeating-linear-gradient(90deg, rgba(210, 170, 44, 0.16), rgba(210, 170, 44, 0.16) 1px, transparent 1px, transparent 42px);
}

.about-hero h1 {
  color: var(--ink);
  font-size: 2.2rem;
}

.about-hero p {
  color: var(--muted);
}

.about-image {
  min-height: 360px;
}

.capability-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 28px;
}

.capability-grid article {
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 10px 24px rgba(10, 10, 10, 0.06);
  padding: 22px;
}

.capability-grid h3 {
  color: var(--blue);
}

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

.quote-shell {
  margin: 0 auto clamp(48px, 7vw, 88px);
  max-width: 1120px;
  padding: 0 clamp(18px, 4vw, 40px);
}

.request-main {
  padding: clamp(34px, 5vw, 72px) 0 clamp(52px, 7vw, 92px);
}

.request-hero {
  align-items: end;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  margin: 0 auto 26px;
  max-width: 1120px;
  padding: 0 clamp(18px, 4vw, 40px);
}

.request-hero h1 {
  font-size: 2.15rem;
  line-height: 1.04;
  margin-bottom: 14px;
  max-width: 840px;
}

.request-hero p {
  color: var(--muted);
  font-size: 1.08rem;
  margin: 0;
  max-width: 760px;
}

.request-note {
  background: var(--white);
  border-left: 4px solid var(--gold);
  box-shadow: 0 12px 26px rgba(10, 10, 10, 0.08);
  color: #364152;
  font-size: 0.98rem;
  padding: 18px 20px;
}

.quote-card {
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  min-height: 560px;
}

.quote-guide {
  background:
    linear-gradient(180deg, rgba(210, 170, 44, 0.16), transparent 32%),
    var(--ink);
  color: var(--white);
  padding: 30px 26px;
}

.quote-guide h2 {
  color: var(--white);
  font-size: 1.55rem;
  line-height: 1.1;
  margin-bottom: 12px;
}

.quote-guide p {
  color: var(--line);
  font-size: 0.98rem;
  margin-bottom: 26px;
}

.quote-progress {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr;
  margin-bottom: 0;
}

.quote-progress span {
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--line);
  display: flex;
  font-weight: 800;
  gap: 10px;
  justify-content: flex-start;
  padding: 12px 14px;
  text-align: left;
}

.quote-progress span::before {
  align-items: center;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: var(--white);
  content: attr(data-progress-step);
  display: inline-flex;
  flex: 0 0 28px;
  font-size: 0.82rem;
  height: 28px;
  justify-content: center;
}

.quote-progress span.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}

.quote-progress span.active::before {
  background: var(--ink);
  color: var(--white);
}

.quote-form {
  background: var(--white);
  border: 0;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(20px, 4vw, 34px);
}

.quote-step {
  display: none;
}

.quote-step.active {
  display: block;
}

.step-heading {
  border-bottom: 1px solid var(--line);
  margin-bottom: 22px;
  padding-bottom: 14px;
}

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

.form-grid label,
.quote-form label.wide {
  color: var(--muted);
  display: grid;
  font-weight: 800;
  gap: 7px;
}

.form-grid .wide,
.quote-form label.wide {
  grid-column: 1 / -1;
}

.schedule-estimate {
  background: #f5f2e8;
  border-left: 4px solid var(--gold);
  color: #344054;
  font-weight: 800;
  line-height: 1.45;
  padding: 14px 16px;
}

.conditional-panel {
  background: #fbfaf5;
  border: 1px solid #d5ccb4;
  display: grid;
  gap: 14px;
  padding: 18px;
}

.conditional-panel[hidden] {
  display: none;
}

.conditional-panel h3 {
  color: var(--blue);
  margin: 0;
}

.conditional-panel p {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0;
}

.compact-grid {
  gap: 14px;
}

.compact-button {
  justify-self: start;
  min-height: 42px;
  padding: 10px 14px;
}

.payment-card {
  min-height: 0;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  background: #fbfbf8;
  border: 1px solid #bbb49f;
  color: var(--ink);
  font: inherit;
  font-weight: 500;
  min-height: 46px;
  padding: 10px 12px;
  width: 100%;
}

.quote-form textarea {
  resize: vertical;
}

.dynamic-questions {
  border-top: 1px solid var(--line);
  margin-top: 24px;
  padding-top: 22px;
}

.dynamic-questions h3 {
  color: var(--blue);
}

.quote-summary {
  background: #f1eee4;
  border: 1px solid var(--line);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  margin-bottom: 20px;
  min-height: 180px;
  padding: 18px;
  white-space: pre-wrap;
}

.agreement-box {
  background: #fbfaf5;
  border: 1px solid #d5ccb4;
  color: var(--ink);
  font-weight: 700;
  margin-top: 16px;
  padding: 16px;
}

.checkbox-line {
  align-items: flex-start;
  display: flex;
  gap: 12px;
}

.checkbox-line input {
  flex: 0 0 22px;
  height: 22px;
  min-height: 22px;
  width: 22px;
}

.agreement-box small {
  color: var(--muted);
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.5;
  margin-top: 12px;
}

.quote-actions {
  border-top: 1px solid var(--line);
  display: flex;
  gap: 12px;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 18px;
}

.quote-actions button {
  border: 0;
  cursor: pointer;
}

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

#emailButton {
  display: none;
}

.node-hp {
  height: 1px;
  left: -10000px;
  overflow: hidden;
  position: absolute;
  top: auto;
  width: 1px;
}

.quote-status {
  color: var(--blue);
  font-weight: 800;
  margin: 14px 0 0;
}

@media (max-width: 980px) {
  .site-header,
  .cta-section,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    justify-content: flex-start;
  }

  .brand img {
    height: 54px;
    max-width: 54px;
  }

  .hero,
  .beta-hero,
  .request-hero,
  .quote-card,
  .qr-hero,
  .split-section,
  .proof-section,
  .visual-feature,
  .visual-feature.reverse {
    grid-template-columns: 1fr;
  }

  .quote-card {
    min-height: 0;
  }

  .quote-guide {
    padding: 24px;
  }

  .quote-progress {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .quote-progress span {
    align-items: center;
    flex-direction: column;
    justify-content: center;
    min-height: 78px;
    text-align: center;
  }

  .service-grid,
  .service-detail-grid,
  .capability-grid,
  .metric-strip,
  .metric-proof-grid,
  .evidence-charts,
  .consult-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .visual-feature.reverse .feature-image {
    order: 2;
  }

  .visual-feature.reverse .feature-copy {
    order: 1;
  }

  .beta-callout,
  .program-grid {
    grid-template-columns: 1fr;
  }

  .beta-callout {
    align-items: flex-start;
  }
}

@media (max-width: 680px) {
  .site-header {
    position: static;
  }

  .brand {
    min-width: 0;
  }

  .brand img {
    height: 48px;
    max-width: 48px;
  }

  .brand-name {
    font-size: 1rem;
  }

  .site-nav {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .site-nav a {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.9rem;
    padding: 9px 10px;
  }

  .site-nav .nav-cta,
  .site-nav a[href="payment.html"] {
    border: 1px solid var(--gold);
    padding: 8px 10px;
  }

  .hero,
  .beta-hero,
  .page-hero,
  .request-hero,
  .qr-hero,
  .section,
  .cta-section {
    padding-left: 18px;
    padding-right: 18px;
  }

  .service-grid,
  .service-detail-grid,
  .capability-grid,
  .signal-grid,
  .offer-grid,
  .metric-strip,
  .metric-proof-grid,
  .evidence-charts,
  .consult-summary-grid,
  .mini-panel-grid,
  .form-grid,
  .quote-progress,
  .slot-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual,
  .beta-visual,
  .feature-image,
  .feature-image img {
    min-height: 260px;
  }

  .beta-visual img {
    min-height: 260px;
  }

  .quote-shell {
    padding-left: 14px;
    padding-right: 14px;
  }

  .quote-progress {
    grid-template-columns: 1fr;
  }

  .quote-progress span {
    align-items: center;
    flex-direction: row;
    justify-content: flex-start;
    min-height: 0;
    text-align: left;
  }

  .quote-actions {
    flex-direction: column-reverse;
  }

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

  h1 {
    font-size: 2.1rem;
  }
}


.request-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 auto 24px;
  max-width: 1120px;
  padding: 0 clamp(18px, 4vw, 40px);
}

.request-tabs a {
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--ink);
  font-weight: 800;
  min-height: 42px;
  padding: 10px 14px;
  text-decoration: none;
}

.request-tabs a.active,
.request-tabs a:hover {
  background: var(--ink);
  border-color: var(--gold);
  color: var(--gold-soft);
}

.metric-evidence {
  background: var(--white);
}

.metric-evidence .section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 840px;
}

.metric-proof-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 28px;
}

.metric-proof-grid article,
.chart-panel,
.calendar-panel {
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 10px 24px rgba(10, 10, 10, 0.06);
  padding: 22px;
}

.metric-number {
  color: var(--blue);
  display: block;
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 10px;
}

.metric-proof-grid h3,
.chart-panel h3,
.calendar-panel h3 {
  color: var(--ink);
  font-size: 1.1rem;
  line-height: 1.2;
}

.metric-proof-grid p,
.source-note,
.calendar-panel p {
  color: var(--muted);
}

.calendar-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.evidence-charts,
.consult-summary-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 24px;
}

.bar-chart {
  display: grid;
  gap: 14px;
}

.bar-row {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.bar-row > span {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 800;
}

.bar-track {
  background: #e5dfce;
  min-width: 0;
  border: 1px solid #d0c6aa;
  height: 34px;
  overflow: hidden;
  position: relative;
}

.bar-track span {
  align-items: center;
  background: linear-gradient(90deg, var(--blue), #2f6f5e);
  color: var(--white);
  display: flex;
  font-size: 0.9rem;
  font-weight: 900;
  height: 100%;
  min-width: 62px;
  padding: 0 10px;
  width: var(--bar);
}

.bar-track.positive span {
  background: linear-gradient(90deg, var(--green), var(--gold));
  color: var(--ink);
}

.source-note {
  font-size: 0.92rem;
  margin: 18px 0 0;
  overflow-wrap: anywhere;
}

.source-note a {
  color: var(--blue);
  font-weight: 800;
}

.consult-card {
  min-height: 0;
}

.consult-deposit-summary {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.calendar-panel {
  display: grid;
  gap: 14px;
}

.slot-grid {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.slot-button {
  border: 1px solid #c7bea3;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  min-height: 42px;
  padding: 8px 10px;
}

.slot-button.available {
  background: #e8f4ee;
  color: #174b3e;
}

.slot-button.unavailable {
  background: #f0ebe0;
  color: #7c6b4c;
  cursor: not-allowed;
  opacity: 0.72;
}

.slot-button.selected {
  border-color: var(--blue);
  box-shadow: inset 0 0 0 2px var(--blue);
}

.site-nav a[href="consult.html"] {
  color: var(--gold-soft);
  font-weight: 800;
}
/* final consult-calendar responsive guard */

@media (max-width: 980px) {
  .metric-proof-grid,
  .evidence-charts,
  .consult-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .metric-proof-grid,
  .evidence-charts,
  .consult-summary-grid,
  .slot-grid {
    grid-template-columns: 1fr;
  }
}

.confirmation-page {
  background: var(--paper);
}

.confirmation-hero {
  background:
    linear-gradient(90deg, rgba(10, 10, 10, 0.95), rgba(10, 10, 10, 0.78)),
    repeating-linear-gradient(0deg, rgba(210, 170, 44, 0.14), rgba(210, 170, 44, 0.14) 1px, transparent 1px, transparent 44px),
    var(--ink);
  color: var(--white);
  display: grid;
  gap: clamp(24px, 5vw, 56px);
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  padding: clamp(46px, 8vw, 104px) clamp(20px, 6vw, 88px);
}

.confirmation-copy {
  align-self: center;
  min-width: 0;
}

.confirmation-copy p:not(.eyebrow) {
  color: #d7d2c3;
  font-size: 1rem;
  max-width: 760px;
}

.confirmation-card {
  align-self: center;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(210, 170, 44, 0.78);
  box-shadow: var(--shadow);
  color: var(--ink);
  padding: clamp(22px, 4vw, 34px);
}

.confirmation-card img {
  background: var(--ink);
  border: 1px solid rgba(210, 170, 44, 0.65);
  display: block;
  height: 74px;
  margin-bottom: 20px;
  object-fit: contain;
  width: 74px;
}

.confirmation-card h2 {
  font-size: 1.7rem;
}

.confirmation-card ol {
  display: grid;
  gap: 14px;
  margin: 0;
  padding-left: 20px;
}

.confirmation-card li {
  color: var(--muted);
  padding-left: 4px;
}

.confirmation-status {
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: var(--white);
  font-weight: 900;
  margin: 24px 0 18px;
  padding: 16px 18px;
}

.confirmation-status.checking {
  background: rgba(210, 170, 44, 0.18);
  border-color: rgba(210, 170, 44, 0.45);
  color: var(--gold-soft);
}

.confirmation-status.success {
  background: rgba(47, 111, 94, 0.28);
  border-color: rgba(128, 201, 180, 0.45);
  color: #d9fff2;
}

.confirmation-status.warning,
.confirmation-status.pending {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(210, 170, 44, 0.35);
  color: #fff3c8;
}

.confirmation-reference {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  max-width: 820px;
}

.confirmation-reference div {
  background: rgba(255, 255, 255, 0.08);
  border-left: 4px solid var(--gold);
  padding: 14px;
}

.confirmation-reference dt {
  color: var(--gold-soft);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.confirmation-reference dd {
  color: var(--white);
  font-weight: 800;
  margin: 4px 0 0;
  overflow-wrap: anywhere;
}

.confirmation-disclaimers {
  background: var(--white);
}

.confirmation-grid,
.service-suggestion-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 28px;
}

.confirmation-grid article,
.service-suggestion-grid a {
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 10px 24px rgba(10, 10, 10, 0.06);
  padding: 22px;
}

.confirmation-grid h3 {
  color: var(--ink);
  font-size: 1.08rem;
}

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

.service-suggestions {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(247, 247, 244, 0.96)),
    var(--paper);
}

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

.service-suggestion-grid a {
  color: inherit;
  display: grid;
  gap: 8px;
  min-height: 144px;
  text-decoration: none;
}

.service-suggestion-grid a:hover {
  border-color: var(--gold);
  transform: translateY(-1px);
}

.service-suggestion-grid strong {
  color: var(--blue);
  font-size: 1.05rem;
}

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

@media (max-width: 980px) {
  .confirmation-hero,
  .confirmation-reference,
  .confirmation-grid,
  .service-suggestion-grid {
    grid-template-columns: 1fr;
  }

  .confirmation-card {
    align-self: stretch;
  }
}
