:root {
  --ink: #11233f;
  --ink-soft: #526174;
  --navy: #12352b;
  --blue: #17865f;
  --blue-dark: #0e6647;
  --orange: #f47b20;
  --orange-dark: #c95609;
  --sky: #edf8f3;
  --mint: #eaf8f3;
  --paper: #ffffff;
  --line: #dfe7f1;
  --shadow: 0 18px 55px rgba(18, 53, 43, 0.12);
  --radius: 1.2rem;
  --content: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--blue-dark);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--orange-dark);
}

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

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 0.5rem;
  left: 0.5rem;
  padding: 0.75rem 1rem;
  color: #fff;
  background: var(--navy);
  border-radius: 0.5rem;
  transform: translateY(-150%);
}

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

.container {
  width: min(calc(100% - 2rem), var(--content));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid rgba(223, 231, 241, 0.92);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--navy);
  font-weight: 850;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.brand:hover {
  color: var(--navy);
}

.brand-mark {
  width: 2.55rem;
  height: 2.55rem;
  object-fit: contain;
}

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

.nav-toggle {
  display: none;
  width: 2.8rem;
  height: 2.8rem;
  padding: 0.65rem;
  border: 1px solid var(--line);
  border-radius: 0.7rem;
  color: var(--navy);
  background: #fff;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin-block: 5px;
  background: currentColor;
}

.site-nav,
.site-nav ul {
  display: flex;
  align-items: center;
}

.site-nav ul {
  gap: 1.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  color: var(--ink);
  font-size: 0.94rem;
  font-weight: 700;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--blue);
}

.button,
.site-nav .nav-cta {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.75rem 1.15rem;
  border: 2px solid transparent;
  border-radius: 0.75rem;
  color: #fff;
  background: #c04f08;
  box-shadow: 0 10px 24px rgba(192, 79, 8, 0.24);
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover,
.site-nav .nav-cta:hover {
  color: #fff;
  background: #a43f05;
  box-shadow: 0 12px 28px rgba(164, 63, 5, 0.3);
  transform: translateY(-1px);
}

.button-secondary {
  color: var(--blue-dark);
  background: #fff;
  border-color: var(--blue);
  box-shadow: none;
}

.button-secondary:hover {
  color: #fff;
  background: var(--blue-dark);
}

.button-light {
  color: var(--navy);
  background: #fff;
  box-shadow: none;
}

.button-light:hover {
  color: var(--navy);
  background: var(--sky);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1rem;
  color: var(--blue-dark);
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 1.8rem;
  height: 3px;
  background: var(--orange);
  content: "";
}

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(4rem, 8vw, 7.5rem) 0 clamp(3.5rem, 7vw, 6rem);
  background:
    radial-gradient(circle at 85% 8%, rgba(244, 123, 32, 0.18), transparent 24rem),
    linear-gradient(145deg, #f4fbf7 0%, #fff 58%, #edf8f3 100%);
}

.hero::after {
  position: absolute;
  right: -12rem;
  bottom: -18rem;
  width: 36rem;
  height: 36rem;
  border: 5rem solid rgba(23, 134, 95, 0.05);
  border-radius: 50%;
  content: "";
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(290px, 0.8fr);
  align-items: center;
  gap: clamp(2.5rem, 6vw, 5.5rem);
}

h1,
h2,
h3 {
  margin-top: 0;
  color: var(--navy);
  line-height: 1.12;
  text-wrap: balance;
}

h1 {
  max-width: 850px;
  margin-bottom: 1.35rem;
  font-size: clamp(2.4rem, 5.3vw, 4.85rem);
  letter-spacing: -0.055em;
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(1.9rem, 3.4vw, 3rem);
  letter-spacing: -0.04em;
}

h3 {
  margin-bottom: 0.65rem;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.hero-copy {
  max-width: 720px;
  margin-bottom: 1.8rem;
  color: var(--ink-soft);
  font-size: clamp(1.08rem, 2vw, 1.3rem);
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.microcopy {
  margin: 0.9rem 0 0;
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.referral-welcome {
  margin: 1.25rem 0;
  padding: 0.9rem 1rem;
  border-left: 4px solid var(--orange);
  border-radius: 0 0.65rem 0.65rem 0;
  color: var(--navy);
  background: #fff4e8;
  font-weight: 700;
}

.hero-panel {
  position: relative;
  padding: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
}

.status-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.status-label {
  font-size: 0.85rem;
  font-weight: 800;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.6rem;
  border-radius: 99px;
  color: #126444;
  background: var(--mint);
  font-size: 0.75rem;
  font-weight: 850;
}

.status-pill::before {
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 50%;
  background: #20a66a;
  box-shadow: 0 0 0 4px rgba(32, 166, 106, 0.12);
  content: "";
}

.service-status {
  display: grid;
  gap: 0.75rem;
}

.status-item {
  display: grid;
  grid-template-columns: 2.6rem 1fr auto;
  align-items: center;
  gap: 0.75rem;
  padding: 0.8rem;
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  background: #fff;
}

.status-icon,
.card-icon {
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 0.75rem;
  color: var(--blue-dark);
  background: var(--sky);
  font-weight: 900;
}

.status-item strong,
.status-item small {
  display: block;
}

.status-item small {
  color: var(--ink-soft);
}

.status-ok {
  color: #126444;
  font-size: 0.8rem;
  font-weight: 850;
}

.trust-strip {
  border-block: 1px solid var(--line);
  background: #fff;
}

.trust-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
  padding: 1.2rem 0;
  list-style: none;
}

.trust-list li {
  padding: 0.45rem 1rem;
  color: var(--ink-soft);
  font-weight: 750;
  text-align: center;
}

.trust-list li + li {
  border-left: 1px solid var(--line);
}

.lead-intent {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  background: var(--navy);
}

.lead-intent-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.65fr);
  align-items: end;
  gap: 2rem;
  margin-bottom: 1.5rem;
}

.lead-intent-heading .eyebrow,
.lead-intent-heading h2 {
  color: #fff;
}

.lead-intent-heading h2,
.lead-intent-heading p {
  margin-bottom: 0;
}

.lead-intent-heading > p {
  color: #c4d2e6;
}

.lead-intent-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.lead-intent-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: start;
  gap: 0.85rem;
  padding: 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.lead-intent-card:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

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

.lead-intent-card small {
  margin-top: 0.45rem;
  color: #c4d2e6;
  line-height: 1.45;
}

.lead-intent-number {
  color: #8fe0c0;
  font-size: 0.8rem;
  font-weight: 850;
}

.lead-intent-arrow {
  color: var(--orange);
  font-size: 1.35rem;
  font-weight: 900;
}

.lead-intent-note {
  margin: 1rem 0 0;
  color: #aebfd7;
  font-size: 0.85rem;
  text-align: center;
}

.section {
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.section-soft {
  background: var(--sky);
}

.section-dark {
  color: #dbe7f8;
  background: var(--navy);
}

.section-dark h2,
.section-dark h3,
.section-dark .eyebrow {
  color: #fff;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 2.4rem;
}

.section-heading p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.section-dark .section-heading p,
.section-dark .muted {
  color: #c4d2e6;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 8px 30px rgba(8, 35, 72, 0.06);
}

.card p {
  color: var(--ink-soft);
}

.card-link {
  margin-top: auto;
  font-weight: 800;
}

.card-icon {
  margin-bottom: 1.1rem;
  color: #fff;
  background: var(--blue);
}

.benefit-grid,
.split,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.check-list,
.plain-list {
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  margin-bottom: 0.8rem;
  padding-left: 1.8rem;
}

.check-list li::before {
  position: absolute;
  top: 0.08rem;
  left: 0;
  color: var(--orange);
  font-weight: 900;
  content: "✓";
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  counter-reset: steps;
}

.step {
  padding: 1.4rem;
  border-top: 3px solid var(--orange);
  background: rgba(255, 255, 255, 0.06);
  counter-increment: steps;
}

.step::before {
  display: block;
  margin-bottom: 1.5rem;
  color: #8fe0c0;
  font-size: 0.85rem;
  font-weight: 850;
  content: "0" counter(steps);
}

.step p {
  margin-bottom: 0;
  color: #c4d2e6;
}

.faq-list {
  max-width: 850px;
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  padding: 1.2rem 2.5rem 1.2rem 0;
  color: var(--navy);
  font-weight: 800;
  cursor: pointer;
}

.faq-list details p {
  max-width: 750px;
  margin-top: 0;
  padding-bottom: 1.2rem;
  color: var(--ink-soft);
}

.cta-band {
  padding: clamp(2rem, 5vw, 3.5rem);
  border-radius: 1.5rem;
  color: #fff;
  background: linear-gradient(125deg, var(--blue-dark), var(--navy));
  box-shadow: var(--shadow);
}

.cta-band h2 {
  max-width: 760px;
  color: #fff;
}

.cta-band p {
  max-width: 720px;
  color: #dbe7f8;
}

.page-hero {
  padding: clamp(3.5rem, 7vw, 6rem) 0;
  background: linear-gradient(140deg, var(--sky), #fff);
}

.page-hero h1 {
  max-width: 950px;
  font-size: clamp(2.3rem, 5vw, 4.2rem);
}

.page-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
}

.page-hero-media {
  margin: 0;
}

.page-hero-media img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 1.4rem;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.page-hero-media figcaption {
  margin-top: 0.75rem;
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.breadcrumbs {
  margin-bottom: 1.4rem;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.breadcrumbs a {
  color: inherit;
}

.prose {
  max-width: 780px;
}

.prose h2 {
  margin-top: 2.4rem;
  font-size: 2rem;
}

.prose h3 {
  margin-top: 1.8rem;
}

.service-aside {
  position: sticky;
  top: 105px;
  padding: 1.5rem;
  border-radius: var(--radius);
  background: var(--sky);
}

.service-aside ul {
  padding-left: 1.2rem;
}

.contact-card,
.form-card {
  padding: clamp(1.4rem, 4vw, 2.2rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 10px 35px rgba(8, 35, 72, 0.07);
}

.price-card {
  padding: clamp(1.6rem, 4vw, 2.5rem);
  border: 2px solid var(--blue);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.price {
  margin: 0.5rem 0 1rem;
  color: var(--navy);
  font-size: clamp(2.3rem, 5vw, 3.8rem);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 1;
}

.price small {
  display: block;
  margin-top: 0.45rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0;
}

.contact-method {
  display: block;
  margin: 1rem 0;
  padding: 1rem;
  border-radius: 0.8rem;
  background: var(--sky);
  font-weight: 800;
  text-decoration: none;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.field {
  margin-bottom: 1rem;
}

.field label {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--navy);
  font-weight: 800;
}

.optional {
  color: var(--ink-soft);
  font-size: 0.85em;
  font-weight: 650;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.8rem 0.9rem;
  border: 1px solid #bac8da;
  border-radius: 0.65rem;
  color: var(--ink);
  background: #fff;
}

.field textarea {
  min-height: 9rem;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--blue);
  outline: 3px solid rgba(23, 95, 211, 0.16);
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-bottom: 1rem;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.consent input {
  margin-top: 0.3rem;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.contact-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.form-status-success {
  padding: 0.8rem 1rem;
  border-radius: 0.7rem;
  color: #07593e;
  background: #e1f6ed;
  font-weight: 800;
}

.form-card button:disabled {
  cursor: wait;
  opacity: 0.7;
}

.client-advocacy {
  margin-top: 1.5rem;
  padding: 1.15rem;
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  background: var(--mint);
}

.client-advocacy h3 {
  margin-top: 0.2rem;
}

.client-advocacy-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 1rem 0 0.75rem;
}

.client-advocacy-actions .button {
  flex: 1 1 180px;
  text-align: center;
}

.form-status {
  min-height: 1.5rem;
  margin-top: 0.75rem;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.diagnostic-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(290px, 0.65fr);
  align-items: start;
  gap: clamp(1.5rem, 4vw, 3rem);
}

.diagnostic-card {
  display: grid;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.diagnostic-card fieldset {
  display: grid;
  gap: 0.7rem;
  margin: 0;
  padding: 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.diagnostic-card legend {
  padding: 0 0.45rem;
  color: var(--navy);
  font-size: 1.05rem;
  font-weight: 850;
}

.diagnostic-question {
  display: grid;
  grid-template-columns: 1.4rem 1fr;
  gap: 0.75rem;
  padding: 0.9rem;
  border: 1px solid transparent;
  border-radius: 0.8rem;
  background: var(--paper);
  cursor: pointer;
}

.diagnostic-question:hover,
.diagnostic-question:has(input:focus-visible) {
  border-color: var(--blue);
}

.diagnostic-question:has(input:checked) {
  border-color: #e2a832;
  background: #fff8e7;
}

.diagnostic-question input {
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.15rem;
  accent-color: var(--blue-dark);
}

.diagnostic-question strong {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--navy);
}

.diagnostic-result {
  position: sticky;
  top: 105px;
  padding: clamp(1.4rem, 4vw, 2rem);
  border: 2px solid var(--blue);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.diagnostic-score {
  margin: 0.25rem 0 0.9rem;
  color: var(--navy);
  font-size: clamp(2.7rem, 7vw, 4.5rem);
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 1;
}

.diagnostic-score small {
  font-size: 1rem;
  letter-spacing: 0;
}

.diagnostic-privacy {
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.diagnostic-share {
  margin-top: 1.25rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
}

.diagnostic-share > p:first-child {
  margin-top: 0;
}

.diagnostic-share-actions {
  display: grid;
  gap: 0.6rem;
}

.diagnostic-share-actions .button {
  width: 100%;
  padding: 0.7rem 0.85rem;
  text-align: center;
}

.diagnostic-share-status {
  min-height: 1.4rem;
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 0.82rem;
}

.comparison-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 10px 35px rgba(8, 35, 72, 0.06);
}

.comparison-table-wrap:focus-visible {
  outline: 3px solid rgba(23, 134, 95, 0.28);
  outline-offset: 3px;
}

.comparison-table {
  width: 100%;
  min-width: 980px;
  border-collapse: collapse;
  text-align: left;
}

.comparison-table th,
.comparison-table td {
  padding: 1rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.comparison-table thead th {
  color: #fff;
  background: var(--navy);
  font-size: 0.9rem;
}

.comparison-table tbody th {
  width: 16%;
  color: var(--navy);
  font-size: 1.02rem;
}

.comparison-table tbody tr:last-child th,
.comparison-table tbody tr:last-child td {
  border-bottom: 0;
}

.comparison-table tbody tr:nth-child(even) {
  background: #f8fbfa;
}

.comparison-table .comparison-highlight {
  background: #eaf8f3;
}

.comparison-table .comparison-highlight th {
  box-shadow: inset 4px 0 var(--orange);
}

@media print {
  .site-header,
  .site-footer,
  .mobile-lead-bar,
  .cookie-banner,
  .page-hero,
  main > section:not(.comparison-tool),
  .comparison-tool .hero-actions,
  .comparison-tool .microcopy {
    display: none !important;
  }

  .comparison-tool {
    padding: 0;
  }

  .comparison-tool .container {
    width: 100%;
    max-width: none;
  }

  .comparison-table-wrap {
    overflow: visible;
    border: 1px solid #666;
    box-shadow: none;
  }

  .comparison-table {
    min-width: 0;
  }

  .comparison-table th,
  .comparison-table td {
    color: #000;
    border-color: #999;
  }
}

.mobile-lead-bar {
  display: none;
}

.pricing-calculator {
  padding: clamp(1.4rem, 4vw, 2.4rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.pricing-calculator label {
  display: block;
  margin-bottom: 0.75rem;
  font-weight: 800;
}

.pricing-calculator input[type="range"] {
  width: 100%;
  accent-color: var(--blue-dark);
}

.pricing-calculator-output {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.pricing-calculator-output div {
  padding: 1rem;
  border-radius: 0.9rem;
  background: var(--mint);
}

.pricing-calculator-output strong,
.pricing-calculator-output span {
  display: block;
}

.pricing-calculator-output strong {
  margin-bottom: 0.25rem;
  font-size: clamp(1.3rem, 4vw, 2rem);
  color: var(--blue-dark);
}

.pricing-note {
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.downtime-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(260px, 0.75fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

.downtime-calculator {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(250px, 0.85fr);
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.calculator-fields,
.downtime-result {
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 10px 35px rgba(8, 35, 72, 0.06);
}

.calculator-fields {
  display: grid;
  gap: 1rem;
}

.calculator-fields label {
  display: grid;
  gap: 0.4rem;
  font-weight: 800;
  color: var(--navy);
}

.calculator-fields input {
  width: 100%;
  min-height: 3rem;
  padding: 0.65rem 0.75rem;
  border: 1px solid #aebfd1;
  border-radius: 0.65rem;
  font: inherit;
}

.calculator-fields small {
  font-weight: 400;
  color: var(--ink-soft);
}

.input-with-unit {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  border: 1px solid #aebfd1;
  border-radius: 0.65rem;
  background: #fff;
  overflow: hidden;
}

.input-with-unit input {
  border: 0;
  border-radius: 0;
}

.input-with-unit span {
  padding: 0 0.8rem;
  color: var(--ink-soft);
}

.downtime-result {
  position: sticky;
  top: 7rem;
  background: var(--mint);
}

.downtime-result > p:first-child {
  margin-top: 0;
  font-weight: 800;
}

.downtime-result > strong {
  display: block;
  margin: 0.25rem 0;
  color: var(--blue-dark);
  font-size: clamp(2.25rem, 6vw, 4rem);
  line-height: 1;
}

.downtime-result .button {
  margin-top: 0.75rem;
}

.site-footer {
  padding: 3.5rem 0 1.5rem;
  color: #c4d2e6;
  background: #061a36;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 2rem;
}

.site-footer .brand,
.site-footer h2,
.site-footer h3,
.site-footer a {
  color: #fff;
}

.site-footer h2,
.site-footer h3 {
  font-size: 1rem;
  letter-spacing: 0;
}

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer li {
  margin-bottom: 0.45rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.85rem;
}

.muted {
  color: var(--ink-soft);
}

.accent {
  color: var(--orange-dark);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.consent-banner {
  position: fixed;
  z-index: 1000;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.1rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 55px rgba(21, 57, 45, 0.22);
}

.consent-copy p {
  max-width: 760px;
  margin: 0.3rem 0;
  color: var(--ink-soft);
  font-size: 0.94rem;
}

.consent-copy a,
.privacy-settings {
  color: var(--blue-dark);
  font-weight: 700;
}

.consent-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 0.65rem;
}

.privacy-settings {
  padding: 0;
  border: 0;
  color: #8fe0c0;
  background: transparent;
  cursor: pointer;
  font: inherit;
}

@media (max-width: 920px) {
  .downtime-layout,
  .downtime-calculator {
    grid-template-columns: 1fr;
  }

  .downtime-result {
    position: static;
  }

  body {
    padding-bottom: 4.75rem;
  }

  .mobile-lead-bar {
    position: fixed;
    z-index: 1000;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 0.55rem;
    padding: 0.65rem max(0.75rem, env(safe-area-inset-right)) max(0.65rem, env(safe-area-inset-bottom)) max(0.75rem, env(safe-area-inset-left));
    background: rgba(255, 255, 255, 0.97);
    border-top: 1px solid var(--line);
    box-shadow: 0 -10px 30px rgba(17, 40, 28, 0.14);
    backdrop-filter: blur(12px);
  }

  .mobile-lead-bar a {
    display: flex;
    min-height: 3rem;
    align-items: center;
    justify-content: center;
    padding: 0.65rem 0.8rem;
    border-radius: 0.7rem;
    font-weight: 800;
    line-height: 1.15;
    text-align: center;
    text-decoration: none;
  }

  .mobile-lead-call {
    color: #fff;
    background: var(--blue-dark);
  }

  .mobile-lead-contact {
    color: var(--ink);
    background: var(--mint);
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    padding: 1rem;
    border-bottom: 1px solid var(--line);
    background: #fff;
  }

  .site-nav[data-open="true"] {
    display: block;
  }

  .site-nav ul {
    align-items: stretch;
    flex-direction: column;
    gap: 0;
  }

  .site-nav a {
    display: block;
    padding: 0.75rem;
  }

  .site-nav .nav-cta {
    margin-top: 0.5rem;
  }

  .hero-grid,
  .benefit-grid,
  .split,
  .contact-grid,
  .page-hero-layout,
  .lead-intent-heading,
  .lead-intent-grid {
    grid-template-columns: 1fr;
  }

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

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

  .service-aside {
    position: static;
  }
}

@media (max-width: 620px) {
  .pricing-calculator-output {
    grid-template-columns: 1fr;
  }

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

  .hero {
    padding-top: 3.25rem;
  }

  .hero-panel {
    padding: 0.85rem;
  }

  .hero-actions,
  .cta-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .trust-list,
  .cards,
  .steps,
  .footer-grid,
  .form-row,
  .diagnostic-layout {
    grid-template-columns: 1fr;
  }

  .diagnostic-result {
    position: static;
  }

  .trust-list li + li {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .consent-banner,
  .consent-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .consent-banner {
    max-height: calc(100vh - 2rem);
    overflow: auto;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
