:root {
  color-scheme: light;
  --ink: #101820;
  --ink-2: #203040;
  --muted: #4f6070;
  --line: #dbe3ea;
  --surface: #f7f9fb;
  --surface-2: #eef4f8;
  --white: #ffffff;
  --blue: #0f4c81;
  --blue-2: #163a5f;
  --green: #14785f;
  --yellow: #d8a21b;
  --red: #a13f32;
  --shadow: 0 18px 48px rgba(16, 24, 32, .12);
  --shadow-soft: 0 10px 26px rgba(16, 24, 32, .08);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --motion-fast: 180ms;
  --motion-mid: 360ms;
}

* { box-sizing: border-box; }

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--surface);
  line-height: 1.55;
  overflow-x: hidden;
}

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

a {
  transition: color var(--motion-fast) var(--ease), border-color var(--motion-fast) var(--ease), background-color var(--motion-fast) var(--ease), transform var(--motion-fast) var(--ease), box-shadow var(--motion-fast) var(--ease);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(216, 162, 27, .65);
  outline-offset: 3px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 22px;
  padding: 12px 28px;
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.header-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px;
  min-width: 0;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 3px;
  min-width: 238px;
}

.brand-logo {
  display: block;
  width: 150px;
  height: auto;
  filter: drop-shadow(0 1px 0 rgba(16, 24, 32, .04));
}

.brand-tagline {
  display: block;
}

.brand-tagline {
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.1;
}

.site-header nav {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 700;
}

.site-header nav a {
  border-bottom: 2px solid transparent;
  padding-bottom: 3px;
}

.site-header nav a:hover {
  color: var(--blue);
  border-color: rgba(15, 76, 129, .28);
}

.header-cta,
.button,
button {
  border: 0;
  border-radius: 8px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 44px;
  padding: 12px 18px;
  font-weight: 800;
  cursor: pointer;
  transition: transform var(--motion-fast) var(--ease), box-shadow var(--motion-fast) var(--ease), background-color var(--motion-fast) var(--ease), border-color var(--motion-fast) var(--ease), color var(--motion-fast) var(--ease), opacity var(--motion-fast) var(--ease);
}

.header-cta,
.button.primary {
  background: var(--blue);
  color: white;
}

.button.secondary {
  background: rgba(255, 255, 255, .9);
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, .58);
}

button:disabled,
input:disabled,
textarea:disabled {
  cursor: not-allowed;
  opacity: .68;
}

@media (hover: hover) {
  .header-cta:hover,
  .button:hover,
  button:not(:disabled):hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(16, 24, 32, .14);
  }

  .button.primary:hover,
  .header-cta:hover,
  .ask-row button:hover,
  .qty-row button:hover {
    background: var(--blue-2);
  }
}

.is-pressed {
  transform: translateY(0) scale(.985) !important;
}

.hero {
  position: relative;
  min-height: 82vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: var(--blue-2);
  isolation: isolate;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 68% 48%, rgba(240, 193, 58, .11), transparent 18%),
    linear-gradient(92deg, transparent 0, rgba(255, 255, 255, .08) 48%, transparent 57%);
  background-size: 100% 100%, 170% 100%;
  opacity: .32;
  pointer-events: none;
  animation: heroLightSweep 12s ease-in-out infinite;
  z-index: 1;
}

.hero-media,
.hero-media > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media {
  overflow: hidden;
}

.hero-media > img {
  object-fit: cover;
  transform: scale(1.04);
  animation: heroCameraDrift 24s ease-in-out infinite alternate;
}

.hero-scene {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  perspective: 1100px;
}

.hero-depth {
  position: absolute;
  inset: -4%;
  display: block;
  opacity: .55;
  transform-style: preserve-3d;
  will-change: transform, opacity;
}

.hero-depth-backdrop {
  background:
    linear-gradient(90deg, transparent 0 45%, rgba(255, 255, 255, .07) 45.1% 45.35%, transparent 45.45%),
    linear-gradient(0deg, transparent 0 63%, rgba(255, 255, 255, .05) 63.1% 63.28%, transparent 63.35%),
    radial-gradient(circle at 74% 38%, rgba(20, 120, 95, .24), transparent 11%);
  transform: translate3d(0, 0, -40px);
  animation: heroLayerFloat 17s ease-in-out infinite alternate;
}

.hero-depth-desk {
  background:
    radial-gradient(ellipse at 58% 77%, rgba(255, 255, 255, .13), transparent 24%),
    linear-gradient(105deg, transparent 0 48%, rgba(240, 193, 58, .16) 48.08% 48.24%, transparent 48.34%),
    linear-gradient(20deg, transparent 0 67%, rgba(255, 255, 255, .08) 67.08% 67.28%, transparent 67.38%);
  opacity: .44;
  transform: translate3d(0, 0, 34px);
  animation: heroDeskFloat 14s ease-in-out infinite alternate;
}

.hero-depth-person {
  inset: 0;
  background:
    radial-gradient(ellipse at 82% 49%, rgba(255, 255, 255, .1), transparent 20%),
    radial-gradient(ellipse at 73% 72%, rgba(15, 76, 129, .18), transparent 18%),
    linear-gradient(72deg, transparent 0 64%, rgba(20, 120, 95, .18) 64.1% 64.28%, transparent 64.38%);
  opacity: .48;
  transform: translate3d(0, 0, 54px);
  animation: heroPersonFloat 18s ease-in-out infinite alternate;
}

.hero-depth-light {
  inset: 0;
  background:
    radial-gradient(ellipse at 64% 54%, rgba(240, 193, 58, .18), transparent 10%),
    radial-gradient(ellipse at 78% 78%, rgba(255, 255, 255, .18), transparent 16%),
    linear-gradient(105deg, transparent 0, rgba(255, 255, 255, .13) 46%, transparent 57%);
  mix-blend-mode: screen;
  opacity: .28;
  animation: heroLightBreath 9s ease-in-out infinite;
}

.hero-depth-lines {
  background:
    linear-gradient(120deg, transparent 0 41%, rgba(255, 255, 255, .13) 41.08% 41.18%, transparent 41.3%),
    linear-gradient(120deg, transparent 0 55%, rgba(20, 120, 95, .18) 55.08% 55.24%, transparent 55.36%),
    linear-gradient(0deg, transparent 0 58%, rgba(255, 255, 255, .08) 58.08% 58.2%, transparent 58.32%);
  opacity: .32;
  transform: translate3d(0, 0, 80px);
  animation: heroLineDrift 13s ease-in-out infinite alternate;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 20, 34, .9), rgba(8, 20, 34, .62) 43%, rgba(8, 20, 34, .1) 78%),
    linear-gradient(0deg, rgba(8, 20, 34, .36), rgba(8, 20, 34, .06));
  z-index: 2;
}

.hero-content {
  position: relative;
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 70px 0 58px;
  color: white;
  display: grid;
  grid-template-columns: 1fr;
  gap: 46px;
  align-items: center;
  z-index: 3;
}

.hero-main {
  min-width: 0;
  max-width: 790px;
  animation: heroTextIn 620ms var(--ease) both;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: #7b5a00;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hero .eyebrow,
.case-section .section-kicker {
  color: #f0c13a;
}

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

h1 {
  max-width: 780px;
  margin-bottom: 22px;
  font-size: 72px;
  line-height: .95;
  letter-spacing: 0;
}

h2 {
  color: var(--ink);
  font-size: 48px;
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  color: var(--ink);
  font-size: 20px;
  line-height: 1.18;
}

.hero-copy {
  max-width: 690px;
  color: rgba(255, 255, 255, .9);
  font-size: 20px;
}

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

.hero-proof {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  max-width: 930px;
  margin-top: 34px;
  animation: heroTextIn 660ms var(--ease) 120ms both;
}

.hero-proof span {
  min-height: 54px;
  display: flex;
  align-items: center;
  padding: 11px 13px;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 8px;
  background: rgba(255, 255, 255, .12);
  color: white;
  font-size: 14px;
  font-weight: 750;
  backdrop-filter: blur(10px);
}

.trust-band {
  width: min(1120px, calc(100% - 48px));
  margin: 22px auto 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--line);
  box-shadow: 0 12px 30px rgba(16, 24, 32, .07);
}

.trust-item {
  min-height: 136px;
  display: block;
  text-align: left;
  border: 0;
  border-radius: 0;
  background: white;
  padding: 22px;
  color: inherit;
  box-shadow: none;
}

.trust-item strong {
  display: block;
  color: var(--blue);
  font-size: 18px;
}

.trust-item span {
  display: block;
  margin-top: 7px;
  color: var(--muted);
}

.trust-item small {
  display: block;
  max-height: 0;
  margin-top: 0;
  overflow: hidden;
  color: var(--ink-2);
  font-weight: 700;
  transition: max-height var(--motion-mid) var(--ease), margin-top var(--motion-mid) var(--ease), opacity var(--motion-mid) var(--ease);
  opacity: 0;
}

.trust-item.is-expanded small {
  max-height: 96px;
  margin-top: 12px;
  opacity: 1;
}

.sector-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.sector-grid article {
  min-height: 210px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  padding: 24px;
  box-shadow: var(--shadow-soft);
  transition: transform var(--motion-fast) var(--ease), box-shadow var(--motion-fast) var(--ease), border-color var(--motion-fast) var(--ease);
}

.sector-grid strong {
  display: block;
  color: var(--blue);
  font-size: 18px;
  line-height: 1.18;
}

.sector-grid p {
  margin: 14px 0 0;
  color: var(--muted);
}

.section {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 82px 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 96px;
}

.pricing-section {
  width: min(1180px, calc(100% - 48px));
}

.reveal-ready {
  opacity: 1;
  transform: translateY(14px);
  transition: opacity 520ms var(--ease), transform 520ms var(--ease);
}

.reveal-ready.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.is-highlighted {
  box-shadow: inset 0 0 0 2px rgba(216, 162, 27, .42);
}

@media (hover: hover) {
  .sector-grid article:hover,
  .service-grid article:hover,
  .security-grid article:hover,
  .pricing-grid article:hover,
  .decision-grid article:hover,
  .resource-list a:hover,
  .demo-fields div:hover,
  .proof-list li:hover,
  .compact-list li:hover {
    transform: translateY(-2px);
    border-color: rgba(15, 76, 129, .28);
    box-shadow: 0 16px 32px rgba(16, 24, 32, .1);
  }
}

.card-detail {
  display: block;
  max-height: 0;
  margin-top: 0;
  overflow: hidden;
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 750;
  opacity: 0;
  transition: max-height var(--motion-mid) var(--ease), margin-top var(--motion-mid) var(--ease), opacity var(--motion-mid) var(--ease);
}

.is-expanded > .card-detail {
  max-height: 140px;
  margin-top: 14px;
  opacity: 1;
}

.split,
.section-heading,
.case-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .8fr);
  gap: 46px;
  align-items: start;
}

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

.section-heading p,
.split p,
.case-layout p {
  color: var(--muted);
  font-size: 18px;
}

.evidence-panel,
.grant-card,
.contact-panel,
.diagnostic-tool {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 10px 28px rgba(16, 24, 32, .06);
}

.evidence-panel,
.grant-card {
  padding: 28px;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 26px;
  color: var(--ink-2);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .45em;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--green);
}

.service-grid,
.security-grid,
.pricing-grid,
.decision-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

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

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

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

.service-grid article,
.security-grid article,
.pricing-grid article,
.decision-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  padding: 24px;
  transition: transform var(--motion-fast) var(--ease), box-shadow var(--motion-fast) var(--ease), border-color var(--motion-fast) var(--ease);
}

.decision-grid span {
  display: inline-flex;
  margin-bottom: 16px;
  color: var(--green);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.service-grid span {
  display: inline-flex;
  margin-bottom: 20px;
  color: var(--blue);
  font-weight: 850;
}

.service-grid p,
.security-grid p,
.pricing-grid p,
.decision-grid p {
  color: var(--muted);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  margin-top: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--line);
}

.timeline div {
  min-height: 190px;
  background: white;
  padding: 22px;
}

.timeline strong,
.timeline span {
  display: block;
}

.timeline strong {
  color: var(--blue);
}

.timeline span {
  margin-top: 12px;
  color: var(--muted);
}

.grants-section {
  width: 100%;
  padding-left: max(24px, calc((100% - 1120px) / 2));
  padding-right: max(24px, calc((100% - 1120px) / 2));
  background: #eaf2f7;
}

.source-box {
  display: grid;
  gap: 9px;
  margin-top: 22px;
  padding: 20px;
  border: 1px solid #c7d8e5;
  border-radius: 8px;
  background: rgba(255, 255, 255, .72);
}

.source-box a {
  color: var(--blue);
  font-weight: 750;
}

.fine-print {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.claim-note {
  margin: 18px 0 0;
  padding: 14px 16px;
  border-left: 4px solid var(--yellow);
  border-radius: 8px;
  background: rgba(216, 162, 27, .12);
  color: var(--ink-2);
  font-weight: 750;
}

.case-section {
  width: 100%;
  padding-left: max(24px, calc((100% - 1120px) / 2));
  padding-right: max(24px, calc((100% - 1120px) / 2));
  background: #101820;
}

.case-section h2,
.case-section h3,
.case-section p {
  color: white;
}

.case-section p {
  color: rgba(255, 255, 255, .78);
}

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

.case-metrics div {
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 8px;
  padding: 22px;
  background: rgba(255, 255, 255, .08);
}

.case-metrics strong {
  display: block;
  color: var(--yellow);
  font-size: 44px;
  line-height: 1;
}

.case-metrics span {
  display: block;
  margin-top: 12px;
  color: rgba(255, 255, 255, .78);
}

.status-pill,
.demo-tenant {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 850;
}

.status-pill {
  background: rgba(20, 120, 95, .12);
  color: var(--green);
  animation: statusGlow 4.8s ease-in-out infinite;
}

.status-pill[data-tone="blocked"] {
  background: rgba(161, 63, 50, .12);
  color: var(--red);
}

.status-pill[data-tone="draft"] {
  background: rgba(216, 162, 27, .16);
  color: #805d00;
}


label {
  display: grid;
  gap: 8px;
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 750;
}

input,
select,
textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  padding: 11px 12px;
  color: var(--ink);
}

textarea {
  min-height: 104px;
  resize: vertical;
}

.diagnostic-result {
  grid-column: 1 / -1;
  min-height: 72px;
  padding: 18px;
  border-radius: 8px;
  background: var(--surface-2);
  color: var(--ink);
  font-weight: 750;
}

.pricing-grid strong {
  display: block;
  margin: 14px 0;
  color: var(--blue);
  font-size: 22px;
  line-height: 1.12;
}

.pricing-grid article {
  padding: 20px;
}

.pricing-card small {
  display: block;
  margin-top: 16px;
  color: var(--muted);
  line-height: 1.5;
}

.mini-list {
  display: grid;
  gap: 7px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.mini-list li {
  position: relative;
  padding-left: 18px;
  color: var(--ink-2);
  font-size: 14px;
}

.mini-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--green);
}

.pricing-explainer,
.seasonal-pricing {
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  padding: 24px;
}

.pricing-explainer > div:first-child {
  max-width: 760px;
}

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

.pricing-factor-grid article,
.seasonal-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 18px;
}

.pricing-factor-grid h4,
.seasonal-grid h4 {
  margin: 0 0 10px;
}

.pricing-factor-grid p,
.seasonal-grid p {
  color: var(--muted);
}

.seasonal-grid strong {
  display: block;
  margin-bottom: 10px;
  color: var(--green);
}

.compact-heading {
  display: block;
  margin-bottom: 0;
}

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

.resource-list a {
  min-height: 78px;
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  padding: 18px;
  color: var(--blue);
  font-weight: 800;
}

.resource-list a::after {
  content: "→";
  margin-left: auto;
  color: rgba(15, 76, 129, .45);
  transition: transform var(--motion-fast) var(--ease), color var(--motion-fast) var(--ease);
}

.resource-list a:hover::after {
  color: var(--blue);
  transform: translateX(3px);
}

.assistant-shell {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(320px, 1fr);
  gap: 24px;
  align-items: stretch;
}

.assistant-shell > div:first-child,
.assistant-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  padding: 28px;
  box-shadow: var(--shadow-soft);
}

.assistant-shell p {
  color: var(--muted);
  font-size: 18px;
}

.prompt-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.prompt-chips button {
  min-height: 40px;
  padding: 9px 13px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--blue);
}

.ask-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: end;
}

.ask-row button {
  background: var(--blue);
  color: white;
}

.assistant-response {
  display: block;
  min-height: 112px;
  margin-top: 14px;
  padding: 18px;
  border-radius: 8px;
  background: var(--surface-2);
  color: var(--ink-2);
  font-weight: 750;
  transition: background-color var(--motion-mid) var(--ease), transform var(--motion-mid) var(--ease);
}

.assistant-response.is-updated {
  background: #e8f3f0;
  transform: translateY(-1px);
}

details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  padding: 0 20px;
  transition: border-color var(--motion-fast) var(--ease), box-shadow var(--motion-fast) var(--ease), background-color var(--motion-fast) var(--ease);
}

details + details {
  margin-top: 10px;
}

summary {
  cursor: pointer;
  padding: 20px 0;
  color: var(--ink);
  font-weight: 850;
}

details[open] {
  border-color: rgba(15, 76, 129, .22);
  box-shadow: 0 10px 22px rgba(16, 24, 32, .06);
}

details[open] p {
  animation: faqReveal 240ms var(--ease) both;
}

details p {
  margin-bottom: 20px;
  color: var(--muted);
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(320px, .9fr);
  gap: 28px;
  padding: 30px;
  border-left: 5px solid var(--red);
}

.contact-panel p {
  color: var(--muted);
}

.contact-panel form {
  display: grid;
  gap: 12px;
}

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

.lead-form label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 800;
}

.lead-form input,
.lead-form textarea {
  width: 100%;
}

.lead-form textarea {
  min-height: 132px;
  resize: vertical;
}

.lead-form button[type="submit"] {
  min-height: 48px;
  background: var(--blue);
  color: white;
}

.lead-form button[type="submit"]:disabled {
  cursor: progress;
  opacity: .68;
}

.field-trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.consent-row {
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: start;
  gap: 10px !important;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  font-size: 14px;
  line-height: 1.45;
}

.consent-row input {
  width: 18px;
  min-height: 18px;
  margin-top: 2px;
}

.form-legal-note {
  font-size: 14px;
  line-height: 1.5;
}

.form-status {
  display: block;
  min-height: 48px;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-2);
  color: var(--ink-2);
  font-weight: 800;
}

.form-status[data-state="success"] {
  border-color: rgba(24, 121, 83, .3);
  background: #e8f3f0;
  color: #145c42;
}

.form-status[data-state="error"] {
  border-color: rgba(185, 49, 45, .32);
  background: #fff1ef;
  color: #8e2521;
}

.site-footer {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 34px 0 54px;
  color: var(--muted);
  font-size: 14px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.footer-links a {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 11px;
  color: var(--blue);
  font-weight: 800;
  background: white;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr;
  }

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

  .header-cta {
    width: fit-content;
  }

  .hero {
    min-height: 78vh;
  }

  h1 {
    font-size: 56px;
  }

  h2 {
    font-size: 40px;
  }

  .hero-proof,
  .hero-content,
  .trust-band,
  .sector-grid,
  .service-grid,
  .security-grid,
  .pricing-grid,
  .pricing-factor-grid,
  .seasonal-grid,
  .decision-grid,
  .timeline,
  .resource-list,
  .scenario-tabs,
  .sixty-brief,
  .demo-safety-rail,
  .scenario-qualification,
  .meeting-brief,
  .meeting-brief-grid,
  .demo-governance-banner,
  .governance-grid,
  .mobile-proof-card,
  .scenario-control-strip,
  .activation-ladder,
  .demo-decision-strip,
  .demo-runbook,
  .scenario-briefing,
  .presenter-flow,
  .executive-readout,
  .operator-snapshot,
  .scenario-matrix-head,
  .network-readout,
  .network-readout-grid,
  .network-rollout-steps,
  .demo-board,
  .prepilot-head,
  .readiness-grid,
  .readiness-detail,
  .promotion-lane,
  .promotion-verdict,
  .handoff-checklist,
  .handoff-meta,
  .handoff-lists,
  .approval-packet,
  .packet-grid,
  .packet-actions,
  .packet-impact,
  .local-audit,
  .diagnostic-tool,
  .assistant-shell,
  .split,
  .section-heading,
  .case-layout,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .timeline div {
    min-height: auto;
  }

  .case-metrics {
    grid-template-columns: 1fr;
  }

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

  .scenario-matrix-row strong {
    grid-column: 1 / -1;
  }

  .operator-snapshot-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow-x: visible;
  }

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

  .demo-decision-grid,
  .network-readout-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .meeting-brief-grid,
  .scenario-briefing-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

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

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

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

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

@media (max-width: 620px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  .site-header,
  .header-panel,
  .hero-content,
  .section,
  .trust-band,
  .site-footer {
    width: 100%;
    max-width: 100vw;
  }

  .site-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 18px;
    overflow: hidden;
    transition: padding var(--motion-mid) var(--ease), gap var(--motion-mid) var(--ease), box-shadow var(--motion-mid) var(--ease);
  }

  .site-header.is-compact {
    gap: 0;
    padding-bottom: 10px;
    box-shadow: 0 8px 22px rgba(16, 24, 32, .1);
  }

  .brand {
    min-width: 0;
  }

  .brand-logo {
    width: 128px;
  }

  .header-panel {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    width: calc(100vw - 36px);
    max-width: calc(100vw - 36px);
    max-height: 334px;
    opacity: 1;
    overflow: hidden;
    transform: translateY(0);
    transition: max-height var(--motion-mid) var(--ease), opacity var(--motion-fast) var(--ease), transform var(--motion-mid) var(--ease), margin-top var(--motion-mid) var(--ease);
  }

  .site-header.is-compact .header-panel {
    max-height: 0;
    margin-top: -4px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
  }

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

  .site-header nav a {
    min-width: 0;
    padding: 8px 9px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    text-align: center;
    overflow-wrap: anywhere;
  }

  .hero-content {
    gap: 24px;
    width: 100vw;
    max-width: 100vw;
    padding: 44px 18px 34px;
    overflow: hidden;
  }

  .hero-main,
  h1,
  .hero-copy,
  .hero-actions {
    width: 100%;
    max-width: calc(100vw - 36px);
    min-width: 0;
  }

  h1 {
    font-size: clamp(32px, 9vw, 36px);
    line-height: 1.04;
    overflow-wrap: normal;
    text-wrap: balance;
  }

  h2 {
    font-size: 34px;
    line-height: 1.05;
  }

  .hero-copy {
    font-size: 16px;
    line-height: 1.5;
  }

  .hero {
    min-height: auto;
  }

  .hero-media > img {
    object-position: 62% center;
  }

  .hero-scrim {
    background:
      linear-gradient(180deg, rgba(8, 20, 34, .9), rgba(8, 20, 34, .68) 46%, rgba(8, 20, 34, .86)),
      linear-gradient(90deg, rgba(8, 20, 34, .72), rgba(8, 20, 34, .22));
  }

  .hero-proof {
    gap: 8px;
    margin-top: 6px;
  }

  .hero-proof span {
    min-height: 44px;
    padding: 9px 11px;
    background: rgba(8, 20, 34, .52);
    color: rgba(255, 255, 255, .92);
    font-size: 13px;
    backdrop-filter: blur(6px);
  }

  .button,
  .header-cta {
    width: calc(100vw - 36px);
    max-width: calc(100vw - 36px);
  }

  .header-panel .header-cta {
    width: 100%;
    max-width: 100%;
  }

  .section,
  .site-footer {
    padding-left: 18px;
    padding-right: 18px;
  }

  .trust-band {
    margin-top: 0;
    border-left: 0;
    border-right: 0;
    border-radius: 0;
  }

  .grants-section,
  .case-section {
    padding-left: 18px;
    padding-right: 18px;
  }

  .demo-panel {
    padding: 20px;
  }

  .approval-summary,
  .packet-actions,
  .packet-decision,
  .sixty-brief-main,
  .sixty-brief-grid article,
  .demo-safety-rail-main,
  .demo-safety-rail-grid article,
  .scenario-qualification-main,
  .scenario-qualification-grid article,
  .meeting-brief-main,
  .meeting-brief-grid article,
  .meeting-brief-actions,
  .governance-summary,
  .governance-grid article,
  .mobile-proof-main,
  .mobile-proof-grid article,
  .scenario-control-strip article,
  .activation-ladder-main,
  .activation-ladder-grid article,
  .demo-decision-main,
  .demo-decision-grid article,
  .demo-runbook-summary,
  .demo-runbook-grid article,
  .scenario-briefing-main,
  .scenario-briefing-grid article,
  .presenter-flow-head,
  .presenter-steps li,
  .executive-readout-main,
  .executive-readout-grid article,
  .operator-snapshot-head,
  .operator-snapshot-grid article,
  .scenario-matrix-head,
  .scenario-matrix-row > *,
  .network-readout-main,
  .network-readout-grid article,
  .network-rollout-steps article,
  .promotion-verdict > div,
  .handoff-summary,
  .handoff-meta article,
  .handoff-lists > div,
  .handoff-decision,
  .local-audit-head,
  .local-audit-log {
    padding: 20px;
  }

  .scenario-matrix-row {
    grid-template-columns: 1fr;
  }

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

  .mobile-proof-grid {
    grid-template-columns: 1fr;
  }

  .operator-snapshot-grid {
    grid-template-columns: 1fr;
  }

  .meeting-brief-grid,
  .activation-ladder-grid,
  .demo-decision-grid,
  .demo-runbook-grid {
    grid-template-columns: 1fr;
  }

  .scenario-briefing-grid,
  .sixty-brief-grid,
  .demo-safety-rail-grid,
  .scenario-qualification-grid,
  .network-readout-grid,
  .network-rollout-steps,
  .presenter-steps {
    grid-template-columns: 1fr;
  }

  .presenter-steps li {
    min-height: auto;
  }

  .executive-readout-grid {
    grid-template-columns: 1fr;
  }

  .scenario-matrix-row > * {
    min-height: 44px;
  }

  .prepilot-head,
  .readiness-detail > div,
  .promotion-lane > div {
    padding: 20px;
  }

  .tenant-switch {
    width: 100%;
  }

  .ask-row {
    grid-template-columns: 1fr;
  }

  .qty-row {
    grid-template-columns: minmax(0, 1fr) 38px 46px 38px;
  }
}

@media (prefers-reduced-motion: reduce) and (max-width: 620px) {
  .site-header,
  .header-panel {
    transition: none;
  }

  .site-header.is-compact .header-panel {
    transform: none;
  }
}

@keyframes heroCameraDrift {
  from {
    transform: scale(1.045) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.075) translate3d(-1%, .55%, 0);
  }
}

@keyframes heroLayerFloat {
  0%, 100% {
    transform: translate3d(-.4%, -.2%, -40px) rotateX(.2deg);
  }
  50% {
    transform: translate3d(.5%, .35%, -20px) rotateX(-.2deg);
  }
}

@keyframes heroDeskFloat {
  0%, 100% {
    transform: translate3d(.35%, .25%, 34px) rotateZ(-.08deg);
  }
  50% {
    transform: translate3d(-.45%, -.22%, 52px) rotateZ(.08deg);
  }
}

@keyframes heroPersonFloat {
  0%, 100% {
    transform: translate3d(.25%, -.15%, 54px);
    opacity: .42;
  }
  50% {
    transform: translate3d(-.28%, .22%, 70px);
    opacity: .58;
  }
}

@keyframes heroLightSweep {
  0%, 100% {
    background-position: 0 0, -105% 0;
    opacity: .24;
  }
  45% {
    opacity: .38;
  }
  70% {
    background-position: 0 0, 105% 0;
    opacity: .3;
  }
}

@keyframes heroLightBreath {
  0%, 100% {
    opacity: .18;
    transform: translate3d(-.2%, 0, 0);
  }
  50% {
    opacity: .36;
    transform: translate3d(.3%, -.2%, 0);
  }
}

@keyframes heroLineDrift {
  0%, 100% {
    transform: translate3d(-.35%, -.2%, 80px);
    opacity: .24;
  }
  50% {
    transform: translate3d(.45%, .25%, 96px);
    opacity: .42;
  }
}

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

@keyframes statusGlow {
  0%, 100% {
    box-shadow: 0 0 0 rgba(20, 120, 95, 0);
  }
  50% {
    box-shadow: 0 0 0 4px rgba(20, 120, 95, .08);
  }
}

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

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

.cta-panel,
.surface-estimate,
.thank-you-panel {
  border: 1px solid rgba(24, 35, 55, .12);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 16px 48px rgba(24, 35, 55, .08);
}

.cta-panel {
  display: grid;
  gap: 14px;
  align-content: start;
  padding: 24px;
}

.cta-panel strong {
  color: #132238;
  font-size: clamp(1.15rem, 2vw, 1.55rem);
}

.cta-panel p {
  margin: 0;
  color: #475569;
}

.cta-panel-wide {
  margin-top: 28px;
}

.funnel-hero,
.surface-hero {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(360px, 1.12fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
  padding: clamp(40px, 6vw, 84px) clamp(18px, 4vw, 64px);
  background:
    linear-gradient(135deg, rgba(240, 244, 255, .92), rgba(255, 255, 255, .96) 46%, rgba(239, 250, 246, .92)),
    #f8fafc;
}

.surface-hero {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  align-items: center;
}

.calculator-hero {
  grid-template-columns: minmax(0, .82fr) minmax(460px, 1.18fr);
}

.funnel-hero-copy,
.surface-copy {
  display: grid;
  gap: 18px;
  max-width: 780px;
}

.funnel-hero h1,
.surface-hero h1,
.thank-you-section h1 {
  max-width: 12ch;
  margin: 0;
  color: #101827;
  font-size: clamp(2.5rem, 5.3vw, 5.8rem);
  line-height: .96;
  letter-spacing: 0;
}

.surface-hero h1 {
  max-width: 13ch;
}

.funnel-hero-copy > p:not(.eyebrow),
.surface-copy > p {
  max-width: 680px;
  color: #334155;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  line-height: 1.62;
}

.funnel-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.funnel-proof span {
  border: 1px solid rgba(15, 118, 110, .18);
  border-radius: 999px;
  background: rgba(240, 253, 250, .86);
  color: #0f766e;
  font-size: .82rem;
  font-weight: 700;
  padding: 8px 11px;
}

.calculator-note {
  display: grid;
  gap: 6px;
  max-width: 640px;
  border: 1px solid rgba(15, 76, 129, .14);
  border-radius: 8px;
  background: rgba(255, 255, 255, .78);
  color: #334155;
  padding: 16px;
}

.calculator-note strong {
  color: #0f4c81;
  font-size: .86rem;
  font-weight: 900;
  text-transform: uppercase;
}

.calculator-note p {
  margin: 0;
}

.funnel-form {
  display: grid;
  gap: 20px;
  border: 1px solid rgba(24, 35, 55, .14);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 22px 70px rgba(15, 23, 42, .12);
  padding: clamp(20px, 3vw, 32px);
}

.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.funnel-progress {
  display: grid;
  gap: 8px;
  color: #475569;
  font-size: .86rem;
  font-weight: 700;
  text-transform: uppercase;
}

.funnel-progress div {
  overflow: hidden;
  height: 8px;
  border-radius: 999px;
  background: #e2e8f0;
}

.funnel-progress i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #0f766e, #2563eb);
  transition: width .24s ease;
}

.live-potential {
  display: grid;
  gap: 12px;
  border: 1px solid rgba(15, 118, 110, .22);
  border-radius: 10px;
  background: linear-gradient(180deg, #f0fdfa, #ffffff);
  padding: 16px 18px;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.live-potential.is-active {
  border-color: #0f766e;
  box-shadow: 0 12px 32px rgba(15, 118, 110, .14);
}

.live-potential-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 14px;
}

.live-potential-kicker {
  color: #0f766e;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.live-potential-hint {
  color: #475569;
  font-size: .84rem;
  font-weight: 600;
}

.live-potential-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.live-potential-metrics > div {
  display: grid;
  gap: 2px;
}

.live-potential-metrics strong {
  color: #0f172a;
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  font-weight: 800;
  line-height: 1.1;
}

.live-potential-metrics span {
  color: #64748b;
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.live-potential-offer strong {
  color: #115e59;
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
}

@media (max-width: 640px) {
  .live-potential-metrics {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

.funnel-step {
  display: grid;
  gap: 16px;
  min-height: 450px;
  margin: 0;
  border: 0;
  padding: 0;
}

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

.funnel-step legend {
  margin-bottom: 6px;
  color: #111827;
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  font-weight: 800;
  letter-spacing: 0;
}

.funnel-step > p {
  margin: 0;
  color: #475569;
  line-height: 1.55;
}

.option-grid,
.check-grid,
.field-grid,
.surface-grid,
.process-grid {
  display: grid;
  gap: 12px;
}

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

.option-grid label,
.check-grid label {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  border: 1px solid #dbe3ef;
  border-radius: 8px;
  background: #f8fafc;
  color: #1e293b;
  font-weight: 700;
  padding: 14px;
}

.option-grid label:has(input:checked),
.check-grid label:has(input:checked) {
  border-color: #0f766e;
  background: #ecfdf5;
  color: #115e59;
}

.field-label,
.field-grid span {
  color: #334155;
  font-size: .86rem;
  font-weight: 800;
  text-transform: uppercase;
}

.funnel-form input:not([type="checkbox"]):not([type="radio"]),
.funnel-form select,
.funnel-form textarea {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #ffffff;
  color: #0f172a;
  font: inherit;
  padding: 12px 13px;
}

.funnel-form textarea {
  resize: vertical;
}

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

.field-grid label {
  display: grid;
  gap: 8px;
}

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

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

.workflow-card {
  display: grid;
  gap: 10px;
  align-content: start;
  min-height: 210px;
  border: 1px solid #dbe3ef;
  border-radius: 8px;
  background: #f8fafc;
  padding: 16px;
  transition: border-color var(--motion-fast) var(--ease), background-color var(--motion-fast) var(--ease), box-shadow var(--motion-fast) var(--ease);
}

.workflow-card.is-selected,
.workflow-card:has(input[type="checkbox"]:checked) {
  border-color: rgba(15, 118, 110, .5);
  background: #ecfdf5;
  box-shadow: 0 12px 26px rgba(15, 118, 110, .1);
}

.workflow-card label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #0f172a;
  font-weight: 850;
  line-height: 1.28;
}

.workflow-card p {
  margin: 0;
  color: #475569;
  font-size: .92rem;
  line-height: 1.45;
}

.workflow-card div {
  display: grid;
  gap: 6px;
  margin-top: auto;
}

.workflow-card div span {
  color: #334155;
  font-size: .78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.funnel-result {
  border-left: 4px solid #2563eb;
  border-radius: 8px;
  background: #eff6ff;
  padding: 16px;
}

.funnel-result strong {
  display: block;
  margin-bottom: 4px;
  color: #1d4ed8;
}

.funnel-result p {
  margin: 0;
  color: #1e3a8a;
}

.calculator-panel {
  display: grid;
  gap: 16px;
  border: 1px solid rgba(15, 76, 129, .16);
  border-radius: 8px;
  background: linear-gradient(135deg, #f8fafc, #eef7ff);
  padding: 18px;
}

.report-header {
  display: grid;
  gap: 5px;
}

.report-header span {
  color: #0f766e;
  font-size: .78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.report-header strong {
  color: #0f172a;
  font-size: clamp(1.2rem, 2vw, 1.7rem);
  line-height: 1.15;
}

.report-header p {
  margin: 0;
  color: #475569;
}

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

.metric-grid article {
  display: grid;
  gap: 4px;
  min-height: 116px;
  border: 1px solid rgba(15, 76, 129, .12);
  border-radius: 8px;
  background: #ffffff;
  padding: 14px;
}

.metric-grid span,
.metric-grid small {
  color: #64748b;
  font-size: .76rem;
  font-weight: 850;
  text-transform: uppercase;
}

.metric-grid strong {
  color: #0f172a;
  font-size: clamp(1.25rem, 2.3vw, 2rem);
  line-height: 1.05;
}

.metric-grid article:last-child strong {
  font-size: clamp(1.05rem, 1.8vw, 1.65rem);
  overflow-wrap: anywhere;
}

.metric-grid article:last-child small {
  line-height: 1.25;
}

.workflow-report-list {
  display: grid;
  gap: 10px;
}

.workflow-report-list > p {
  margin: 0;
  color: #475569;
}

.workflow-report-list article {
  display: grid;
  gap: 6px;
  border: 1px solid rgba(20, 120, 95, .16);
  border-radius: 8px;
  background: #ffffff;
  padding: 14px;
}

.workflow-report-list strong {
  color: #0f172a;
}

.workflow-report-list p {
  margin: 0;
  color: #475569;
}

.status-pill {
  justify-self: start;
  border-radius: 999px;
  background: #dcfce7;
  color: #166534;
  font-size: .74rem;
  font-weight: 900;
  padding: 5px 9px;
  text-transform: uppercase;
}

.consent-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #475569;
  line-height: 1.45;
}

.funnel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.form-status[data-state="error"] {
  color: #b42318;
}

.form-status[data-state="success"] {
  color: #0f766e;
}

.surface-estimate {
  display: grid;
  gap: 12px;
  padding: 24px;
}

.surface-estimate span {
  color: #2563eb;
  font-size: .82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.surface-estimate strong {
  color: #101827;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
}

.surface-estimate p,
.surface-estimate small {
  margin: 0;
  color: #475569;
  line-height: 1.55;
}

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

.process-grid article,
.surface-grid article {
  border: 1px solid rgba(24, 35, 55, .12);
  border-radius: 8px;
  background: #ffffff;
  padding: 20px;
}

.process-grid span {
  display: inline-block;
  margin-bottom: 18px;
  color: #0f766e;
  font-weight: 900;
}

.process-grid h3,
.surface-grid h3 {
  margin: 0 0 8px;
  color: #111827;
  font-size: 1.05rem;
}

.process-grid p,
.surface-grid p {
  margin: 0;
  color: #475569;
  line-height: 1.55;
}

.surface-grid-section,
.subsidy-section {
  background: #f8fafc;
}

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

.subsidy-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.subsidy-list li {
  border: 1px solid rgba(24, 35, 55, .12);
  border-radius: 8px;
  background: #ffffff;
  color: #334155;
  line-height: 1.55;
  padding: 16px 18px;
}

.thank-you-section {
  min-height: 70vh;
  padding: clamp(40px, 6vw, 86px) clamp(18px, 4vw, 64px);
  background: linear-gradient(135deg, #f8fafc, #eef7ff);
}

.thank-you-panel {
  display: grid;
  gap: 22px;
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(24px, 4vw, 44px);
}

.thank-you-panel > p:not(.eyebrow) {
  max-width: 760px;
  color: #475569;
  line-height: 1.6;
}

@media (max-width: 1080px) {
  .funnel-hero,
  .surface-hero {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 720px) {
  .funnel-hero h1,
  .surface-hero h1,
  .thank-you-section h1 {
    max-width: 100%;
    font-size: clamp(2.1rem, 12vw, 3.6rem);
  }

  .funnel-step {
    min-height: auto;
  }

  .option-grid,
  .check-grid,
  .field-grid,
  .workflow-builder,
  .metric-grid,
  .process-grid,
  .surface-grid {
    grid-template-columns: 1fr;
  }

  .funnel-actions .button,
  .hero-actions .button,
  .cta-panel .button {
    width: 100%;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
    transition-delay: 0s !important;
  }
}


/* ===================================================================== */
/* Refonte funnel 2026-06-23 : nav 1 ligne, hamburger, option-grid, CTA  */
/* Ces regles surchargent les precedentes par ordre de cascade.          */
/* ===================================================================== */

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  width: 44px;
  height: 40px;
  min-height: 0;
  padding: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
}
.nav-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

@media (min-width: 621px) {
  .site-header { gap: 16px; }
  .brand { min-width: 200px; }
  .site-header nav {
    flex-wrap: nowrap;
    white-space: nowrap;
    gap: 14px;
    justify-content: flex-end;
  }
}

@media (max-width: 620px) {
  .site-header {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
  }
  .brand { order: 0; }
  .nav-toggle { display: inline-flex; order: 1; }
  .header-panel {
    order: 2;
    flex-basis: 100%;
    width: 100%;
    max-width: 100%;
    max-height: 0;
    opacity: 0;
    pointer-events: none;
    margin-top: 0;
  }
  .site-header.nav-open .header-panel {
    max-height: 460px;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    margin-top: 6px;
  }
}

/* Correctif grille d'options du calculateur (cartes alignees, meme hauteur) */
.option-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
}
.option-grid label {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 60px;
  height: 100%;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-2);
  color: var(--ink);
  font-weight: 700;
  line-height: 1.3;
  padding: 14px 16px;
  cursor: pointer;
  transition: border-color var(--motion-fast) var(--ease), background-color var(--motion-fast) var(--ease), box-shadow var(--motion-fast) var(--ease);
}
.option-grid input[type="radio"] {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  min-height: 0;
  margin: 0;
  accent-color: var(--green);
}
.option-grid label > span {
  flex: 1 1 auto;
  min-width: 0;
}
.option-grid label:has(input:checked),
.option-grid label.is-selected {
  border-color: var(--green);
  background: #ecf7f2;
  color: #0c5c49;
  box-shadow: inset 0 0 0 1px var(--green);
}
@media (hover: hover) {
  .option-grid label:hover { border-color: rgba(15, 76, 129, .40); }
}
@media (max-width: 620px) {
  .option-grid { grid-template-columns: 1fr; }
}

/* Liens de section (teasers vers pages dediees) */
.section-link {
  margin: 22px auto 0;
  max-width: 1120px;
  padding: 0 4px;
  font-weight: 800;
}
.section-link a {
  color: var(--blue);
  border-bottom: 2px solid rgba(15, 76, 129, .28);
  padding-bottom: 2px;
}
.section-link a:hover { border-color: var(--blue); }
.section-link a::after { content: " \2192"; }
.section-link-center { text-align: center; }

/* Bloc-calculateur : exemple de rapport statique */
.pivot-split { align-items: stretch; }
.pivot-split .check-list { margin: 18px 0; }
.calculator-panel-static .funnel-result { margin-top: 16px; }

/* Conseils dans le rapport du calculateur */
.advice-list {
  margin-top: 16px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface-2);
}
.advice-list > strong { display: block; margin-bottom: 8px; }
.advice-list ul { margin: 0; padding-left: 20px; }
.advice-list li { margin: 4px 0; line-height: 1.45; }

/* Boutons jumeles (teaser prix) */
.pricing-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 24px;
}

/* CTA final */
.final-cta-section { text-align: center; }
.final-cta {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.final-cta h2 { margin: 0; }
.final-cta p { margin: 0; color: var(--muted); }
.final-cta .button { margin-top: 8px; }

/* Fil d'Ariane (breadcrumbs) */
.breadcrumbs {
  width: min(1120px, calc(100% - 48px));
  margin: 18px auto 0;
  font-size: 0.85rem;
}
.breadcrumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  margin: 0;
  padding: 0;
}
.breadcrumbs li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
}
.breadcrumbs li + li::before {
  content: "›";
  color: var(--line);
}
.breadcrumbs a {
  color: var(--blue);
  text-decoration: none;
}
.breadcrumbs a:hover {
  text-decoration: underline;
}
.breadcrumbs [aria-current="page"] {
  color: var(--ink-2);
}
