:root {
  --ink: #172126;
  --muted: #66717a;
  --paper: #f7f5ef;
  --white: #ffffff;
  --surface: #ffffff;
  --heading-muted: #344149;
  --placeholder: #6f777d;
  --line: #d9d5ca;
  --teal: #0f766e;
  --teal-dark: #0b4f4b;
  --coral: #e76f51;
  --amber: #f1b84b;
  --shadow: 0 22px 60px rgba(23, 33, 38, 0.18);
  --header-bg: rgba(247, 245, 239, 0.92);
  --hero-fallback: #152126;
  --field-bg: #fbfaf7;
  --example-bg: #203138;
  --pricing-bg: #eaf2ef;
  --footer-bg: #172126;
}

html[data-theme="dark"] {
  --ink: #edf4f1;
  --muted: #aebbb6;
  --paper: #111819;
  --white: #ffffff;
  --surface: #1a2425;
  --heading-muted: #d8e2de;
  --placeholder: #c4cfca;
  --line: #334244;
  --teal: #28a89d;
  --teal-dark: #72d6cb;
  --coral: #ff9a78;
  --amber: #f4c96a;
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.34);
  --header-bg: rgba(17, 24, 25, 0.9);
  --hero-fallback: #0e1517;
  --field-bg: #111819;
  --example-bg: #0e1517;
  --pricing-bg: #162827;
  --footer-bg: #0d1213;
}

@media (prefers-color-scheme: dark) {
  html:not([data-theme]) {
    --ink: #edf4f1;
    --muted: #aebbb6;
    --paper: #111819;
    --white: #ffffff;
    --surface: #1a2425;
    --heading-muted: #d8e2de;
    --placeholder: #c4cfca;
    --line: #334244;
    --teal: #28a89d;
    --teal-dark: #72d6cb;
    --coral: #ff9a78;
    --amber: #f4c96a;
    --shadow: 0 22px 60px rgba(0, 0, 0, 0.34);
    --header-bg: rgba(17, 24, 25, 0.9);
    --hero-fallback: #0e1517;
    --field-bg: #111819;
    --example-bg: #0e1517;
    --pricing-bg: #162827;
    --footer-bg: #0d1213;
  }
}

* {
  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);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: var(--header-bg);
  border-bottom: 1px solid rgba(217, 213, 202, 0.8);
  backdrop-filter: blur(14px);
}

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

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--white);
  background: var(--teal);
  border-radius: 8px;
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 18px;
  color: var(--heading-muted);
  font-size: 0.95rem;
}

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

.theme-toggle {
  display: grid;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(23, 33, 38, 0.08);
}

.theme-toggle:hover {
  border-color: var(--teal);
}

.theme-icon {
  font-size: 1.25rem;
  line-height: 1;
}

.hero {
  position: relative;
  min-height: min(760px, calc(100vh - 58px));
  display: grid;
  align-items: center;
  overflow: hidden;
  background: var(--hero-fallback);
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 16, 18, 0.82), rgba(10, 16, 18, 0.46) 46%, rgba(10, 16, 18, 0.12)),
    linear-gradient(0deg, rgba(10, 16, 18, 0.38), rgba(10, 16, 18, 0));
}

.hero-content {
  position: relative;
  max-width: 720px;
  padding: clamp(68px, 9vw, 130px) clamp(20px, 5vw, 72px);
  color: var(--white);
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.34);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

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

h1 {
  max-width: 680px;
  margin-bottom: 20px;
  font-size: clamp(2.5rem, 7vw, 5.9rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.16rem;
}

.hero-content p:not(.eyebrow) {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1rem, 2vw, 1.22rem);
  line-height: 1.65;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 0;
  border-radius: 8px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

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

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

.button.secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.34);
}

.intro-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.intro-band div {
  padding: 26px clamp(20px, 4vw, 48px);
  background: var(--surface);
}

.intro-band strong,
.intro-band span {
  display: block;
}

.intro-band strong {
  margin-bottom: 5px;
}

.intro-band span,
p,
li,
label {
  color: var(--muted);
  line-height: 1.65;
}

.section,
.examples,
.pricing,
.request-section {
  padding: clamp(64px, 9vw, 110px) clamp(20px, 5vw, 72px);
}

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

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

.service-grid article {
  min-height: 220px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.examples {
  color: var(--white);
  background: var(--example-bg);
}

.examples h2 {
  color: var(--white);
}

.example-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.example-list span {
  padding: 10px 14px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(34px, 6vw, 78px);
  align-items: start;
}

.steps {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: steps;
}

.steps li {
  position: relative;
  min-height: 92px;
  padding: 20px 20px 20px 76px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.steps li::before {
  position: absolute;
  top: 20px;
  left: 20px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--white);
  font-weight: 800;
  background: var(--coral);
  border-radius: 8px;
  counter-increment: steps;
  content: counter(steps);
}

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

.pricing {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
  background: var(--pricing-bg);
}

.price-box {
  padding: 28px;
  background: var(--surface);
  border: 1px solid #c7d8d1;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.price-box span {
  display: block;
  margin-bottom: 12px;
  font-weight: 800;
}

.price-box ul {
  margin: 0;
  padding-left: 20px;
}

.request-section {
  background: var(--surface);
}

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

.request-form label {
  display: grid;
  gap: 7px;
  font-weight: 750;
  color: var(--heading-muted);
}

.request-form label:nth-child(3) {
  grid-column: 1 / -1;
}

input,
textarea,
select {
  width: 100%;
  padding: 13px 14px;
  color: var(--ink);
  background: var(--field-bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
}

input::placeholder,
textarea::placeholder {
  color: var(--placeholder);
  opacity: 1;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
  outline: 3px solid rgba(15, 118, 110, 0.2);
  border-color: var(--teal);
}

.request-form button {
  justify-self: start;
}

.form-note {
  align-self: center;
  margin: 0;
  font-size: 0.9rem;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 26px clamp(20px, 5vw, 72px);
  color: rgba(255, 255, 255, 0.76);
  background: var(--footer-bg);
}

footer span:first-child {
  color: var(--white);
  font-weight: 800;
}

@media (max-width: 920px) {
  .site-header {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  .intro-band,
  .service-grid,
  .split,
  .pricing {
    grid-template-columns: 1fr;
  }

  .service-grid article {
    min-height: auto;
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: 720px;
  }

  .hero-overlay {
    background:
      linear-gradient(0deg, rgba(10, 16, 18, 0.9), rgba(10, 16, 18, 0.52) 58%, rgba(10, 16, 18, 0.2)),
      linear-gradient(90deg, rgba(10, 16, 18, 0.34), rgba(10, 16, 18, 0));
  }

  .hero-content {
    align-self: end;
  }

  .request-form {
    grid-template-columns: 1fr;
  }

  .request-form label:nth-child(3) {
    grid-column: auto;
  }

  footer {
    flex-direction: column;
  }
}
