:root {
  --ink: #14201e;
  --muted: #50605c;
  --line: #d9dfdb;
  --paper: #f7f5ef;
  --white: #ffffff;
  --teal: #00756c;
  --teal-dark: #064743;
  --amber: #b9681d;
  --charcoal: #202524;
}

* {
  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);
  letter-spacing: 0;
}

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

.topbar {
  align-items: center;
  background: rgba(247, 245, 239, 0.9);
  border-bottom: 1px solid rgba(20, 32, 30, 0.12);
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(170px, 1fr) auto auto;
  left: 0;
  padding: 14px clamp(18px, 4vw, 56px);
  position: fixed;
  right: 0;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(12px);
}

.brand,
nav,
.hero-actions,
.hero-stats,
footer {
  align-items: center;
  display: flex;
}

.brand {
  gap: 10px;
  font-weight: 760;
}

.brand-mark {
  align-items: center;
  background: var(--teal-dark);
  border-radius: 6px;
  color: var(--white);
  display: inline-flex;
  height: 30px;
  justify-content: center;
  width: 30px;
}

nav {
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
}

.nav-cta,
.primary,
.secondary {
  border-radius: 7px;
  display: inline-flex;
  font-weight: 740;
  justify-content: center;
  line-height: 1;
  min-height: 42px;
  padding: 14px 18px;
}

.nav-cta,
.primary {
  background: var(--teal);
  color: var(--white);
}

.secondary {
  background: rgba(255, 255, 255, 0.86);
  color: var(--teal-dark);
}

.hero {
  background:
    linear-gradient(90deg, rgba(14, 20, 18, 0.78) 0%, rgba(14, 20, 18, 0.58) 34%, rgba(14, 20, 18, 0.04) 74%),
    url("assets/ai-ops-hero.png") center right / cover;
  color: var(--white);
  min-height: 92vh;
  padding: 132px clamp(22px, 6vw, 80px) 44px;
  display: flex;
  align-items: center;
}

.hero-copy {
  max-width: 720px;
}

.eyebrow {
  color: var(--amber);
  font-size: 13px;
  font-weight: 820;
  letter-spacing: 0;
  margin: 0 0 12px;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f4b15e;
}

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

h1 {
  font-size: clamp(56px, 8vw, 104px);
  line-height: 0.96;
  margin-bottom: 24px;
  max-width: 680px;
}

h2 {
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.04;
  margin-bottom: 16px;
}

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

.hero-lede {
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(20px, 2.3vw, 28px);
  line-height: 1.34;
  max-width: 680px;
}

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

.hero-stats {
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  gap: clamp(20px, 4vw, 54px);
  margin: 38px 0 0;
  padding: 24px 0 0;
}

.hero-stats div {
  min-width: 96px;
}

.hero-stats dt {
  font-size: 28px;
  font-weight: 820;
}

.hero-stats dd {
  color: rgba(255, 255, 255, 0.78);
  margin: 4px 0 0;
}

.section,
.split-section {
  padding: clamp(62px, 8vw, 110px) clamp(20px, 5vw, 72px);
}

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

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.offer-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 34px;
}

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

.offer-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px;
}

.faq-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px;
}

.offer-card p,
.faq-card p:not(.eyebrow),
.process-list p {
  color: var(--muted);
  line-height: 1.58;
  margin-bottom: 0;
}

.sample-link {
  margin: 24px 0 0;
}

.sample-link a {
  color: var(--teal-dark);
  font-weight: 760;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.split-section {
  align-items: start;
  background: var(--charcoal);
  color: var(--white);
  display: grid;
  gap: clamp(30px, 7vw, 88px);
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.65fr);
}

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

.calculator {
  background: var(--white);
  border-radius: 8px;
  color: var(--ink);
  display: grid;
  gap: 18px;
  padding: 26px;
}

label {
  color: var(--muted);
  display: grid;
  font-size: 14px;
  gap: 8px;
}

input,
textarea {
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--ink);
  font: inherit;
  padding: 10px 12px;
  width: 100%;
}

input {
  min-height: 46px;
}

textarea {
  line-height: 1.45;
  resize: vertical;
}

input:focus,
textarea:focus {
  border-color: var(--teal);
  outline: 3px solid rgba(0, 117, 108, 0.16);
}

.result {
  background: #eef5f2;
  border-left: 4px solid var(--teal);
  display: grid;
  gap: 6px;
  margin-top: 4px;
  padding: 18px;
}

.result span {
  color: var(--muted);
}

.result strong {
  color: var(--teal-dark);
  font-size: clamp(30px, 4vw, 46px);
}

.muted {
  background: #ebe8df;
}

.process-list {
  display: grid;
  gap: 16px;
  list-style: none;
  margin: 34px 0 0;
  max-width: 900px;
  padding: 0;
}

.process-list li {
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 20px;
  grid-template-columns: 52px 1fr;
  padding: 22px;
}

.process-list span {
  color: var(--amber);
  font-weight: 820;
}

footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.76);
  justify-content: space-between;
  padding: 24px clamp(20px, 5vw, 72px);
}

footer span {
  color: var(--white);
  font-weight: 760;
}

.seo-page {
  background: var(--paper);
}

.seo-hero {
  padding: 132px clamp(22px, 6vw, 80px) 54px;
  background: #e8efe9;
}

.seo-hero h1 {
  color: var(--ink);
  max-width: 900px;
}

.seo-lede {
  color: var(--muted);
  font-size: clamp(19px, 2vw, 26px);
  line-height: 1.42;
  max-width: 860px;
}

.seo-content strong {
  color: var(--teal-dark);
}

.intake-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 18px;
  margin: 0 auto;
  max-width: 980px;
  padding: clamp(22px, 4vw, 36px);
}

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

.form-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}

.primary-button,
.secondary-button {
  border: 0;
  border-radius: 7px;
  display: inline-flex;
  font: inherit;
  font-weight: 740;
  justify-content: center;
  min-height: 44px;
  padding: 13px 18px;
}

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

.secondary-button {
  background: #eef5f2;
  color: var(--teal-dark);
}

@media (max-width: 780px) {
  .topbar {
    grid-template-columns: 1fr auto;
  }

  nav {
    display: none;
  }

  .nav-cta {
    padding-inline: 12px;
  }

  .hero {
    background:
      linear-gradient(180deg, rgba(14, 20, 18, 0.82) 0%, rgba(14, 20, 18, 0.5) 52%, rgba(14, 20, 18, 0.2) 100%),
      url("assets/ai-ops-hero.png") center / cover;
    min-height: 88vh;
    padding-top: 112px;
  }

  .hero-stats,
  .offer-grid,
  .faq-grid,
  .form-grid,
  .split-section {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    align-items: flex-start;
    display: grid;
  }

  .process-list li {
    grid-template-columns: 1fr;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
}
