:root {
  --ink: #111820;
  --muted: #61717f;
  --paper: #f7faf9;
  --line: #d9e3e4;
  --teal: #0f766e;
  --teal-dark: #0b4f4a;
  --amber: #c77a25;
  --steel: #25313b;
  --white: #ffffff;
  --shadow: 0 18px 48px rgba(16, 24, 32, 0.12);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

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(--paper);
  line-height: 1.5;
}

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
  padding: 0 clamp(18px, 4vw, 56px);
  color: var(--white);
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.site-header.is-scrolled {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 30px rgba(20, 32, 42, 0.08);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 210px;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 8px;
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: currentColor;
  opacity: 0.72;
  font-size: 12px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  color: currentColor;
  font-size: 14px;
}

.nav-links a {
  opacity: 0.82;
}

.nav-links a:hover {
  opacity: 1;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid currentColor;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
}

.hero {
  position: relative;
  min-height: 94vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: #0f171d;
}

.hero-image,
.hero-canvas,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center;
  opacity: 0.78;
}

.hero-canvas {
  z-index: 1;
  opacity: 0.48;
}

.hero-shade {
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(10, 16, 20, 0.96) 0%, rgba(10, 16, 20, 0.82) 38%, rgba(10, 16, 20, 0.34) 74%, rgba(10, 16, 20, 0.18) 100%),
    linear-gradient(180deg, rgba(10, 16, 20, 0.42), rgba(10, 16, 20, 0.86));
}

.hero-content {
  position: relative;
  z-index: 3;
  width: min(760px, calc(100% - 32px));
  margin-left: clamp(18px, 7vw, 92px);
  padding-top: 76px;
}

.eyebrow {
  margin: 0 0 12px;
  color: #6fd3c8;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 720px;
  margin-bottom: 18px;
  font-size: clamp(42px, 6vw, 78px);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 640px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(17px, 2vw, 21px);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  color: var(--white);
  background: var(--teal);
  border-color: var(--teal);
}

.btn-primary:hover {
  background: var(--teal-dark);
}

.btn-secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.34);
}

.btn-email {
  color: var(--teal-dark);
  background: var(--white);
  border-color: var(--teal);
}

.hero-metrics {
  width: min(760px, calc(100vw - 36px));
  margin-top: 36px;
}

.hero-metrics div {
  min-width: 176px;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
}

.hero-metrics dt {
  font-weight: 900;
}

.hero-metrics dd {
  margin: 3px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  padding: 18px clamp(18px, 5vw, 72px);
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.trust-strip span {
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.section {
  padding: clamp(58px, 8vw, 106px) clamp(18px, 5vw, 72px);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 34px;
}

.section-heading.split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.7fr);
  align-items: end;
  gap: 28px;
  max-width: 1160px;
}

.section-heading h2,
.proof-band h2,
.contact-copy h2 {
  margin-bottom: 0;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.05;
  letter-spacing: 0;
}

.section-heading p:not(.eyebrow),
.contact-copy p,
.service-panel p,
.calc-result p,
.faq-item p {
  color: var(--muted);
}

.intro-grid,
.timeline,
.proof-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.intro-grid article,
.timeline article,
.proof-stats div {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 24px;
  box-shadow: 0 8px 24px rgba(17, 24, 32, 0.04);
}

.intro-grid strong,
.timeline h3,
.proof-stats strong {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
}

.intro-grid p,
.timeline p,
.proof-stats span {
  margin: 0;
  color: var(--muted);
}

.services {
  background: #eef5f3;
}

.service-shell {
  max-width: 1160px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
}

.service-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
}

.tab {
  min-height: 56px;
  border: 0;
  border-right: 1px solid var(--line);
  background: #f8fbfa;
  color: var(--muted);
  font-weight: 900;
  cursor: pointer;
}

.tab:last-child {
  border-right: 0;
}

.tab.is-active {
  color: var(--ink);
  background: var(--white);
  box-shadow: inset 0 -3px 0 var(--teal);
}

.service-panel {
  display: none;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 1fr);
  gap: 40px;
  padding: clamp(24px, 4vw, 44px);
}

.service-panel.is-active {
  display: grid;
}

.service-panel h3 {
  margin-bottom: 10px;
  font-size: clamp(24px, 3vw, 34px);
}

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

.service-panel li {
  position: relative;
  padding-left: 24px;
  color: var(--steel);
}

.service-panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 8px;
  height: 8px;
  background: var(--amber);
  border-radius: 50%;
}

.calculator {
  background: var(--white);
}

.calc-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 18px;
  max-width: 1160px;
}

.calc-controls,
.calc-result,
.contact-form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  padding: 24px;
}

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

.calc-controls label {
  display: grid;
  gap: 10px;
  color: var(--steel);
  font-weight: 800;
}

.calc-controls output {
  color: var(--teal-dark);
  font-size: 22px;
  font-weight: 900;
}

input[type="range"] {
  width: 100%;
  accent-color: var(--teal);
}

.calc-result {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--ink);
  color: var(--white);
}

.score-label {
  color: #93e0d8;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.calc-result strong {
  display: block;
  margin: 8px 0 10px;
  font-size: 38px;
  line-height: 1;
}

.calc-result p {
  color: rgba(255, 255, 255, 0.76);
}

.process {
  background: #162027;
  color: var(--white);
}

.process .section-heading p:not(.eyebrow),
.process .timeline p {
  color: rgba(255, 255, 255, 0.72);
}

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

.timeline article {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.16);
}

.timeline span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  color: #93e0d8;
  font-weight: 900;
}

.proof-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  align-items: center;
  gap: 34px;
  background: #f8fbfa;
}

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

.proof-stats strong {
  color: var(--teal-dark);
  font-size: 26px;
}

.faq {
  background: var(--white);
}

.faq-list {
  max-width: 940px;
  display: grid;
  gap: 10px;
}

.faq-item {
  width: 100%;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  text-align: left;
  cursor: pointer;
  overflow: hidden;
}

.faq-item span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 58px;
  padding: 0 18px;
  font-weight: 900;
}

.faq-item span::after {
  content: "+";
  color: var(--teal);
  font-size: 24px;
}

.faq-item[aria-expanded="true"] span::after {
  content: "-";
}

.faq-item p {
  display: none;
  margin: 0;
  padding: 0 18px 18px;
}

.faq-item[aria-expanded="true"] p {
  display: block;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1fr);
  gap: 34px;
  background: #eaf3f1;
}

.contact-copy {
  align-self: start;
  position: sticky;
  top: 96px;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--steel);
  font-size: 14px;
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 13px;
  color: var(--ink);
  background: #fbfdfc;
}

.contact-form textarea {
  resize: vertical;
}

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

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

.footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 24px clamp(18px, 5vw, 72px);
  color: rgba(255, 255, 255, 0.76);
  background: var(--ink);
}

.footer-business {
  display: grid;
  gap: 3px;
  max-width: 720px;
  font-size: 13px;
}

.footer-business strong {
  color: var(--white);
  font-size: 15px;
}

.footer-business a {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer a {
  color: var(--white);
}

@media (max-width: 980px) {
  .nav-links {
    display: none;
  }

  .header-cta {
    display: none;
  }

  .hero {
    min-height: 92vh;
  }

  .hero-content {
    margin: 0 auto;
    padding-top: 96px;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(10, 16, 20, 0.94), rgba(10, 16, 20, 0.58)),
      linear-gradient(180deg, rgba(10, 16, 20, 0.36), rgba(10, 16, 20, 0.86));
  }

  .section-heading.split,
  .service-panel,
  .calc-layout,
  .proof-band,
  .contact {
    grid-template-columns: 1fr;
  }

  .intro-grid,
  .timeline,
  .proof-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-copy {
    position: static;
  }
}

@media (max-width: 660px) {
  .site-header {
    height: 64px;
  }

  .brand {
    min-width: 0;
  }

  .brand small {
    display: none;
  }

  .hero-content {
    width: calc(100% - 32px);
  }

  h1 {
    font-size: 40px;
  }

  .hero-actions {
    display: grid;
  }

  .hero-metrics {
    display: grid;
  }

  .intro-grid,
  .timeline,
  .proof-stats,
  .calc-controls,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .brief-actions {
    grid-template-columns: 1fr;
  }

  .service-tabs {
    grid-template-columns: 1fr;
  }

  .tab {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .footer {
    flex-direction: column;
  }
}
