:root {
  --paper: #f6f3ee;
  --white: #ffffff;
  --ink: #182322;
  --muted: #5f6f6e;
  --line: rgba(24, 35, 34, 0.12);
  --teal: #0d6f73;
  --teal-dark: #083d43;
  --blue: #1d5f8f;
  --orange: #d66a2c;
  --dark: #071819;
  --dark-2: #0c2a2f;
  --shadow: 0 24px 70px rgba(7, 24, 25, 0.18);
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  max-width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  max-width: 100%;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.55;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 760;
  letter-spacing: 0;
}

.brand-mark {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 8px;
  background: var(--teal-dark);
  color: var(--white);
  font-size: 12px;
  font-weight: 800;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 26px;
  color: var(--muted);
  font-size: 14px;
}

.nav-links a:hover {
  color: var(--teal-dark);
}

.nav-cta,
.button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-weight: 760;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.nav-cta {
  padding: 0 16px;
  background: var(--ink);
  color: var(--white);
  font-size: 14px;
}

.button {
  padding: 0 18px;
  border: 1px solid transparent;
}

.button:hover,
.nav-cta:hover {
  transform: translateY(-1px);
}

.button.primary {
  background: var(--orange);
  color: var(--white);
}

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  min-height: calc(100vh - 66px);
  padding: clamp(48px, 7vw, 86px) clamp(18px, 4vw, 56px) 42px;
  background:
    radial-gradient(circle at 76% 20%, rgba(13, 111, 115, 0.38), transparent 28%),
    linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 58%, #123f4a 100%);
  color: var(--white);
}

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

.hero h1,
.section-intro h2,
.proof-copy h2,
.contact-band h2 {
  margin: 0;
  letter-spacing: 0;
  line-height: 1.02;
  overflow-wrap: break-word;
}

.hero h1 {
  max-width: 720px;
  font-size: clamp(44px, 6.2vw, 88px);
}

.hero-lead {
  max-width: 680px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(17px, 1.7vw, 21px);
}

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

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 38px;
}

.trust-row span {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: 7px 11px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 13px;
}

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

.hero-visual img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: var(--shadow);
}

.operations-panel {
  position: absolute;
  right: clamp(14px, 3vw, 34px);
  bottom: clamp(14px, 3vw, 34px);
  width: min(420px, calc(100% - 28px));
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(5, 18, 20, 0.82);
  backdrop-filter: blur(16px);
}

.panel-head,
.readiness {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.panel-head span,
.readiness span,
.metric-grid dt,
.detail-label {
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0;
  text-transform: uppercase;
}

.health-meter {
  height: 9px;
  margin: 18px 0;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.health-meter span {
  display: block;
  width: var(--value);
  height: 100%;
  background: linear-gradient(90deg, var(--teal), #64c3b2);
}

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

.metric-grid div,
.proof-list div {
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.07);
}

.metric-grid div {
  padding: 12px;
}

.metric-grid dt,
.metric-grid dd {
  margin: 0;
}

.metric-grid dd {
  margin-top: 4px;
  font-size: 18px;
  font-weight: 780;
}

.readiness {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.service-band,
.method-band,
.proof-band,
.contact-band {
  padding: clamp(62px, 8vw, 110px) clamp(18px, 4vw, 56px);
}

.section-intro {
  max-width: 760px;
}

.section-intro h2,
.proof-copy h2,
.contact-band h2 {
  font-size: clamp(34px, 4.4vw, 62px);
}

.service-switcher {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 30px;
  margin-top: 42px;
}

.service-tabs {
  display: grid;
  gap: 8px;
  align-content: start;
}

.service-tab {
  min-height: 52px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.64);
  color: var(--ink);
  font: inherit;
  font-weight: 750;
  text-align: left;
  padding: 0 16px;
  cursor: pointer;
}

.service-tab.active {
  background: var(--teal-dark);
  color: var(--white);
  border-color: var(--teal-dark);
}

.service-detail {
  min-height: 300px;
  padding: clamp(24px, 4vw, 46px);
  border-top: 2px solid var(--teal);
  background: var(--white);
  box-shadow: 0 16px 42px rgba(24, 35, 34, 0.08);
}

.service-detail .detail-label {
  color: var(--teal);
}

.service-detail h3 {
  margin: 10px 0 12px;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.08;
}

.service-detail p {
  max-width: 780px;
  color: var(--muted);
  font-size: 18px;
}

.service-detail ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.service-detail li {
  min-height: 78px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8faf8;
  font-weight: 700;
}

.method-band {
  background: var(--white);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  padding: 0;
  margin: 42px 0 0;
  list-style: none;
  border: 1px solid var(--line);
  background: var(--line);
}

.steps li {
  min-height: 310px;
  padding: 24px;
  background: var(--white);
}

.steps span {
  color: var(--orange);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 13px;
  font-weight: 800;
}

.steps h3 {
  margin: 72px 0 12px;
  font-size: 24px;
}

.steps p {
  margin: 0;
  color: var(--muted);
}

.proof-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
  background: var(--dark);
  color: var(--white);
}

.proof-copy p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.72);
  font-size: 18px;
}

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

.proof-list div {
  min-height: 164px;
  padding: 18px;
}

.proof-list strong,
.proof-list span {
  display: block;
}

.proof-list strong {
  font-size: 20px;
}

.proof-list span {
  margin-top: 36px;
  color: rgba(255, 255, 255, 0.68);
}

.contact-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.74fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
  background: var(--paper);
}

.contact-band p:not(.eyebrow) {
  max-width: 650px;
  color: var(--muted);
  font-size: 18px;
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.contact-form label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 13px;
  color: var(--ink);
  font: inherit;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus,
.service-tab:focus-visible,
.button:focus-visible,
.nav-cta:focus-visible,
.nav-links a:focus-visible {
  outline: 3px solid rgba(214, 106, 44, 0.34);
  outline-offset: 2px;
}

.contact-form .button {
  border: 0;
  cursor: pointer;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: space-between;
  padding: 26px clamp(18px, 4vw, 56px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: var(--white);
  font-size: 14px;
}

.site-footer span {
  color: var(--ink);
  font-weight: 800;
}

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

  .nav-links {
    display: none;
  }

  .hero,
  .service-switcher,
  .proof-band,
  .contact-band {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

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

  .hero-visual img {
    height: 420px;
  }

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

@media (max-width: 640px) {
  .site-header {
    padding: 12px 16px;
  }

  .brand span:last-child {
    max-width: 120px;
    line-height: 1.05;
  }

  .nav-cta {
    min-height: 38px;
    padding: 0 12px;
    font-size: 13px;
  }

  .hero {
    padding: 42px 16px 28px;
  }

  .hero h1 {
    font-size: clamp(38px, 12vw, 52px);
  }

  .section-intro h2,
  .proof-copy h2,
  .contact-band h2 {
    font-size: clamp(30px, 9.5vw, 40px);
    line-height: 1.08;
  }

  .hero-lead {
    font-size: 16px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

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

  .hero-visual img {
    height: 470px;
  }

  .operations-panel {
    left: 12px;
    right: 12px;
    width: auto;
  }

  .metric-grid,
  .proof-list,
  .steps,
  .service-detail ul {
    grid-template-columns: 1fr;
  }

  .service-band,
  .method-band,
  .proof-band,
  .contact-band {
    padding: 54px 16px;
  }

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

  .service-tab {
    text-align: center;
  }

  .steps li {
    min-height: 230px;
  }

  .steps h3 {
    margin-top: 42px;
  }
}

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

  .button,
  .nav-cta {
    transition: none;
  }
}
