:root {
  --ink: #101114;
  --ink-2: #202329;
  --paper: #ffffff;
  --paper-soft: #f7f7f4;
  --mist: #ecefeb;
  --line: #dfe3dd;
  --line-dark: rgba(255, 255, 255, 0.16);
  --muted: #666d6a;
  --muted-dark: rgba(255, 255, 255, 0.68);
  --blue: #2e6fdb;
  --green: #18a058;
  --orange: #d97837;
  --radius: 8px;
  --shadow: 0 18px 60px rgba(16, 17, 20, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.js .reveal {
  opacity: 1;
  transform: none;
}

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

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

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

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

[id] {
  scroll-margin-top: 92px;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 1000;
  transform: translateY(-140%);
  background: var(--ink);
  color: var(--paper);
  padding: 10px 14px;
  border-radius: var(--radius);
}

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

.shell {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.section {
  padding: 104px 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 10px 26px rgba(16, 17, 20, 0.05);
}

.nav-shell {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
}

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

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

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

.brand strong {
  font-size: 17px;
  line-height: 1.1;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper-soft);
}

.main-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  background: var(--paper);
  color: var(--ink);
}

.mobile-menu-button {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  padding: 0;
}

.mobile-menu-button span {
  width: 17px;
  height: 2px;
  display: block;
  border-radius: 999px;
  background: currentColor;
  transition: transform 160ms ease, opacity 160ms ease;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0 20px;
  font-weight: 750;
  line-height: 1;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-dark {
  background: var(--ink);
  color: var(--paper);
}

.button-dark:hover,
.button-dark:focus-visible {
  background: var(--ink-2);
}

.button-light {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--line);
}

.button-light:hover,
.button-light:focus-visible {
  background: var(--paper-soft);
}

.hero {
  padding-top: 56px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(420px, 0.82fr);
  align-items: center;
  gap: 64px;
}

.hero-grid > *,
.contact-grid > *,
.faq-grid > * {
  min-width: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.eyebrow span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}

.eyebrow-dark {
  color: var(--muted-dark);
}

.hero h1,
.section-heading h2,
.contact-copy h2 {
  margin: 0;
  font-size: 72px;
  line-height: 0.98;
  font-weight: 760;
  overflow-wrap: break-word;
}

.hero h1 span {
  display: block;
}

.hero-lead,
.section-heading p,
.contact-copy p {
  margin: 24px 0 0;
  max-width: 660px;
  color: var(--muted);
  font-size: 19px;
}

.hero .eyebrow,
.section-heading .eyebrow,
.contact-copy .eyebrow {
  margin: 0 0 22px;
}

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

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 54px 0 0;
}

.metric-row div {
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.metric-row dt {
  display: flex;
  align-items: baseline;
  margin: 0;
  font-size: 38px;
  font-weight: 820;
  line-height: 1;
}

.metric-row dd {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.hero-visual {
  position: relative;
  min-height: 590px;
}

.map-board {
  position: absolute;
  inset: 36px 0 0 34px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.map-board svg {
  width: 100%;
  height: 100%;
}

.pin path {
  fill: #87908a;
}

.pin circle:not(.pulse) {
  fill: #fff;
}

.active-pin path {
  fill: url(#pinGradient);
}

.active-pin .pulse {
  fill: none;
  stroke: var(--green);
  stroke-width: 4px;
  opacity: 0.3;
  transform-origin: center;
  animation: pulse 2200ms ease-out infinite;
}

@keyframes pulse {
  0% {
    transform: scale(0.55);
    opacity: 0.35;
  }
  100% {
    transform: scale(1.1);
    opacity: 0;
  }
}

.search-chip,
.ranking-panel,
.review-panel {
  position: absolute;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.search-chip {
  left: 0;
  right: 42px;
  top: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 18px;
  font-weight: 720;
}

.search-chip span {
  color: var(--blue);
  font-size: 22px;
}

.ranking-panel {
  left: 0;
  right: 60px;
  bottom: 30px;
  padding: 22px;
}

.ranking-panel p {
  display: inline-flex;
  margin: 0 0 12px;
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(24, 160, 88, 0.12);
  color: #0b6b39;
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.ranking-panel h2 {
  margin: 0;
  font-size: 30px;
}

.ranking-panel span,
.review-panel span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}

.review-panel {
  right: -8px;
  top: 124px;
  width: 224px;
  padding: 18px;
}

.review-panel strong {
  display: block;
  font-size: 15px;
}

.logo-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper-soft);
}

.logo-strip-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  overflow: hidden;
}

.logo-strip span {
  color: #7b827f;
  font-weight: 800;
  white-space: nowrap;
}

.dark-section,
.contact-section,
.site-footer {
  background: var(--ink);
  color: var(--paper);
}

.dark-section .section-heading p,
.contact-copy p,
.site-footer p {
  color: var(--muted-dark);
}

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

.section-heading h2,
.contact-copy h2 {
  font-size: 52px;
  line-height: 1.05;
}

.pain-grid,
.service-grid,
.case-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.info-card,
.service-item,
.case-card {
  border-radius: var(--radius);
  padding: 26px;
}

.info-card {
  border: 1px solid var(--line-dark);
  background: rgba(255, 255, 255, 0.055);
}

.info-card strong {
  display: block;
  color: #8be2b1;
  font-size: 46px;
  line-height: 1;
}

.info-card h3,
.service-item h3,
.case-card h3,
.process-list h3 {
  margin: 22px 0 10px;
  font-size: 21px;
  line-height: 1.2;
}

.info-card p,
.service-item p,
.case-card p,
.process-list p {
  margin: 0;
  color: var(--muted);
}

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

.service-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.service-item {
  min-height: 290px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: var(--paper);
}

.service-item:nth-child(3n) {
  border-right: 0;
}

.service-item:nth-last-child(-n + 3) {
  border-bottom: 0;
}

.service-item span,
.process-list span,
.case-card > p {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

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

.process-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.process-list li {
  min-height: 270px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  counter-increment: step;
}

.process-list li::before {
  content: counter(step);
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  margin-bottom: 34px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  font-weight: 850;
}

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

.case-card {
  border: 1px solid var(--line);
  background: var(--paper-soft);
}

.case-card dl {
  display: grid;
  gap: 10px;
  margin: 28px 0 0;
}

.case-card dl div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.case-card dt {
  color: var(--muted);
  font-size: 13px;
}

.case-card dd {
  margin: 0;
  font-size: 22px;
  font-weight: 850;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(520px, 1fr);
  gap: 58px;
  align-items: start;
}

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

.check-list li {
  position: relative;
  padding-left: 30px;
  color: rgba(255, 255, 255, 0.88);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--green);
}

.check-list li::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 8px;
  width: 5px;
  height: 8px;
  border-right: 2px solid var(--paper);
  border-bottom: 2px solid var(--paper);
  transform: rotate(40deg);
}

.form-card {
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  padding: 30px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.22);
}

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

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

.form-progress {
  display: grid;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.form-progress div {
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--mist);
}

.form-progress i {
  display: block;
  width: 33.333%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--green));
  transition: width 220ms ease;
}

.step-panel {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

body.js .step-panel {
  display: none;
}

body.js .step-panel.is-active {
  display: block;
}

.step-panel legend {
  margin-bottom: 22px;
  padding: 0;
  font-size: 28px;
  font-weight: 820;
  line-height: 1.15;
}

.field-group,
.field {
  display: grid;
  gap: 10px;
}

.field-group + .field-group,
.field + .field,
.form-row + .field-group,
.field-group + .field,
.field + .consent {
  margin-top: 22px;
}

.field-label,
.field span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

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

.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-soft);
  color: var(--ink);
  padding: 14px 15px;
  outline: none;
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.field textarea {
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--blue);
  background: var(--paper);
  box-shadow: 0 0 0 4px rgba(46, 111, 219, 0.12);
}

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

.choice-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.choice-grid label,
.checkbox-grid label,
.choice-row label,
.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-soft);
  padding: 13px 14px;
  color: var(--ink);
  font-weight: 650;
}

.choice-row label {
  min-width: 94px;
}

.choice-grid input,
.checkbox-grid input,
.choice-row input,
.consent input {
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: var(--green);
  flex: 0 0 auto;
}

.range-input {
  width: 100%;
  accent-color: var(--green);
}

.range-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
  font-size: 13px;
}

.range-row strong {
  color: var(--ink);
  font-size: 22px;
}

.consent {
  align-items: flex-start;
  min-height: auto;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}

.form-error {
  min-height: 22px;
  color: #b42318;
  font-weight: 720;
}

.form-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.form-actions .button[disabled] {
  cursor: not-allowed;
  opacity: 0.45;
  transform: none;
}

.is-hidden {
  display: none !important;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.success-box {
  margin-top: 24px;
  border: 1px solid rgba(24, 160, 88, 0.35);
  border-radius: var(--radius);
  background: rgba(24, 160, 88, 0.1);
  padding: 20px;
}

.success-box strong {
  display: block;
  color: #0b6b39;
  font-size: 24px;
}

.success-box p {
  margin: 8px 0 0;
  color: var(--ink);
}

.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(520px, 1fr);
  gap: 56px;
  align-items: start;
}

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

.faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-soft);
  padding: 20px 22px;
}

.faq-list summary {
  cursor: pointer;
  font-size: 19px;
  font-weight: 820;
}

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

.site-footer {
  padding: 68px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(190px, 0.5fr) minmax(160px, 0.4fr);
  gap: 44px;
}

.footer-brand .brand-mark {
  background: var(--paper);
  color: var(--ink);
}

.footer-brand small,
.site-footer a,
.footer-bottom {
  color: var(--muted-dark);
}

.footer-grid div {
  display: grid;
  gap: 9px;
  align-content: start;
}

.footer-grid strong {
  color: var(--paper);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 54px;
  padding-top: 22px;
  border-top: 1px solid var(--line-dark);
  font-size: 13px;
}

@media (max-width: 1040px) {
  .hero-grid,
  .contact-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 520px;
  }

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

@media (max-width: 900px) {
  .section {
    padding: 50px 0;
  }

  .nav-shell {
    min-height: 68px;
  }

  .main-nav {
    display: none;
  }

  .hero {
    padding-top: 28px;
  }

  .hero h1 {
    font-size: 52px;
  }

  .section-heading h2,
  .contact-copy h2 {
    font-size: 40px;
  }

  .hero-lead,
  .section-heading p,
  .contact-copy p {
    font-size: 17px;
  }

  .service-grid,
  .case-grid {
    grid-template-columns: 1fr;
    border: 0;
    gap: 14px;
    overflow: visible;
  }

  .service-item {
    min-height: auto;
    border: 1px solid var(--line);
    border-radius: var(--radius);
  }

  .service-item:nth-child(3n),
  .service-item:nth-last-child(-n + 3) {
    border: 1px solid var(--line);
  }

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

  .process-list li {
    min-height: auto;
  }
}

@media (max-width: 680px) {
  .shell {
    width: calc(100% - 16px);
  }

  [id] {
    scroll-margin-top: 88px;
  }

  .nav-shell {
    justify-content: center;
  }

  .mobile-menu-button {
    display: flex;
    position: absolute;
    left: 0;
    top: 50%;
    z-index: 2;
    transform: translateY(-50%);
  }

  .site-header.is-menu-open .mobile-menu-button span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .site-header.is-menu-open .mobile-menu-button span:nth-child(2) {
    opacity: 0;
  }

  .site-header.is-menu-open .mobile-menu-button span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .brand {
    justify-content: center;
    flex-direction: column;
    gap: 3px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
    font-size: 10px;
  }

  .brand strong {
    font-size: 12px;
    line-height: 1;
    text-align: center;
  }

  .brand small {
    display: none;
  }

  .nav-cta {
    width: 98px;
    min-height: 44px;
    display: inline-flex;
    position: absolute;
    right: 0;
    top: 50%;
    z-index: 2;
    transform: translateY(-50%);
    padding: 0 12px;
    font-size: 12px;
    gap: 0;
    white-space: nowrap;
  }

  .nav-cta:hover,
  .nav-cta:focus-visible {
    transform: translateY(-50%);
  }

  .nav-cta span {
    display: none;
  }

  .section {
    padding: 40px 0;
  }

  .hero {
    padding-top: 26px;
  }

  .eyebrow {
    margin-bottom: 20px;
  }

  .hero .eyebrow,
  .section-heading .eyebrow,
  .contact-copy .eyebrow {
    margin: 0 0 20px;
  }

  .main-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 8px);
    z-index: 10;
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 8px;
    border-radius: var(--radius);
    background: var(--paper);
    box-shadow: var(--shadow);
  }

  .site-header.is-menu-open .main-nav {
    display: grid;
  }

  .main-nav a {
    min-height: 44px;
    justify-content: center;
    border-radius: var(--radius);
  }

  .hero h1 {
    font-size: 38px;
    line-height: 1.04;
  }

  .section-heading h2,
  .contact-copy h2 {
    font-size: 34px;
  }

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

  .section-heading p,
  .contact-copy p {
    margin-top: 16px;
  }

  .info-card,
  .service-item,
  .case-card {
    padding: 20px;
  }

  .process-list li {
    padding: 20px;
  }

  .process-list li::before {
    margin-bottom: 22px;
  }

  .metric-row,
  .pain-grid,
  .process-list,
  .form-row,
  .choice-grid,
  .checkbox-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 440px;
  }

  .map-board {
    inset: 36px 0 0;
  }

  .search-chip {
    right: 0;
  }

  .review-panel {
    display: none;
  }

  .ranking-panel {
    right: 14px;
    bottom: 18px;
  }

  .logo-strip-inner {
    justify-content: flex-start;
    overflow-x: auto;
    padding: 14px 0;
  }

  .form-card {
    padding: 20px;
  }

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

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

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

@media (max-width: 360px) {
  .brand > span:last-child {
    display: none;
  }

  .nav-cta {
    width: 88px;
    padding: 0 10px;
    font-size: 11px;
  }
}
