:root {
  --bg: #0f1115;
  --ink: #111318;
  --paper: #f6f3ee;
  --muted: #666c76;
  --line: rgba(17, 19, 24, 0.13);
  --white-line: rgba(255, 255, 255, 0.18);
  --teal: #2db7a3;
  --blue: #2d6cdf;
  --coral: #ef6b55;
  --gold: #d8a33d;
  --green: #4a8f5b;
  --panel: #ffffff;
  --shadow: 0 24px 60px rgba(15, 17, 21, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

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

.site-header.scrolled {
  background: rgba(246, 243, 238, 0.94);
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand,
.site-nav {
  display: flex;
  align-items: center;
}

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

.brand-mark {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background:
    linear-gradient(135deg, var(--teal), transparent 58%),
    linear-gradient(315deg, var(--coral), var(--gold));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}

.site-nav {
  gap: 22px;
  color: inherit;
  font-size: 14px;
  font-weight: 700;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--bg);
  color: white;
}

#agentCanvas,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(15, 17, 21, 0.96) 0%, rgba(15, 17, 21, 0.76) 42%, rgba(15, 17, 21, 0.28) 100%),
    linear-gradient(0deg, rgba(15, 17, 21, 0.96) 0%, rgba(15, 17, 21, 0) 42%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(920px, calc(100% - 40px));
  margin: 0 auto;
  padding: 148px 0 72px;
}

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

.hero h1,
.section h2 {
  margin: 0;
  max-width: 900px;
  letter-spacing: 0;
  line-height: 0.98;
}

.hero h1 {
  font-size: clamp(48px, 8vw, 108px);
}

.hero-copy {
  max-width: 680px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(18px, 2.2vw, 24px);
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 13px 18px;
  font-weight: 800;
  line-height: 1.1;
  cursor: pointer;
}

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

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

.proof-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 48px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 700;
}

.proof-strip span {
  border: 1px solid var(--white-line);
  border-radius: 999px;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.06);
}

.section {
  padding: 92px clamp(20px, 5vw, 72px);
}

.split,
.section-heading,
.roi-panel,
.contact-section,
.solution-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  gap: clamp(28px, 6vw, 76px);
  max-width: 1180px;
  margin: 0 auto;
}

.section h2 {
  font-size: clamp(36px, 5vw, 68px);
}

.section-heading {
  align-items: end;
  margin-bottom: 34px;
}

.section-heading p,
.copy-stack,
.roi-panel > div p,
.contact-copy p {
  color: var(--muted);
  font-size: 17px;
}

.copy-stack p {
  margin: 0 0 18px;
}

.services-section,
.method-section,
.credibility-section,
.real-problems-section,
.promises-section {
  background: #ffffff;
}

.service-grid,
.case-list,
.credibility-grid,
.problem-grid,
.promise-grid,
.industry-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  max-width: 1180px;
  margin: 0 auto;
}

.service-card,
.case-list article,
.credibility-grid div,
.problem-grid article,
.promise-grid article,
.industry-grid article,
.lead-form,
.roi-calculator {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.service-card {
  min-height: 330px;
  padding: 22px;
  display: flex;
  flex-direction: column;
}

.service-number {
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
}

.service-card h3,
.case-list h3,
.credibility-grid h3,
.problem-grid h3,
.promise-grid h3,
.industry-grid h3 {
  margin: 28px 0 12px;
  font-size: 22px;
  line-height: 1.08;
  letter-spacing: 0;
}

.service-card p,
.case-list p,
.credibility-grid p,
.problem-grid p,
.promise-grid p,
.industry-grid p,
.method-list p {
  color: var(--muted);
}

.service-card strong {
  margin-top: auto;
  color: var(--green);
}

.use-cases {
  background: #e9ece8;
}

.solution-section {
  background: #15181d;
  color: white;
}

.solution-shell {
  align-items: center;
}

.solution-shell p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 17px;
}

.solution-stack {
  display: grid;
  gap: 10px;
}

.solution-stack div {
  display: grid;
  gap: 4px;
  border: 1px solid var(--white-line);
  border-radius: 8px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.07);
}

.solution-stack strong {
  color: white;
}

.solution-stack span {
  color: rgba(255, 255, 255, 0.68);
}

.section-heading.compact {
  grid-template-columns: 1fr;
}

.case-list article,
.credibility-grid div,
.problem-grid article,
.promise-grid article,
.industry-grid article {
  padding: 22px;
  min-height: 190px;
}

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

.industry-hero .hero-overlay {
  background:
    linear-gradient(90deg, rgba(15, 17, 21, 0.97) 0%, rgba(15, 17, 21, 0.78) 46%, rgba(15, 17, 21, 0.2) 100%),
    linear-gradient(0deg, rgba(15, 17, 21, 0.95) 0%, rgba(15, 17, 21, 0) 45%);
}

.problem-grid span {
  color: var(--coral);
  font-size: 13px;
  font-weight: 800;
}

.method-list {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.method-list li {
  display: grid;
  grid-template-columns: 0.38fr 1fr;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.method-list span {
  font-size: 22px;
  font-weight: 800;
}

.method-list p {
  margin: 0;
  max-width: 680px;
}

.roi-section {
  background: #1a1c21;
  color: white;
}

.roi-panel {
  align-items: center;
}

.roi-panel p {
  color: rgba(255, 255, 255, 0.72);
}

.roi-calculator {
  padding: 22px;
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--white-line);
}

label {
  display: grid;
  gap: 7px;
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 800;
}

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

textarea {
  resize: vertical;
}

.roi-output {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 18px;
  border-top: 1px solid var(--white-line);
  padding-top: 18px;
}

.roi-output span {
  color: rgba(255, 255, 255, 0.7);
  font-weight: 800;
}

.roi-output strong {
  font-size: clamp(28px, 4vw, 42px);
  color: var(--teal);
}

.contact-section {
  align-items: start;
}

.lead-form {
  padding: 22px;
  box-shadow: var(--shadow);
}

.form-trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

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

.form-status {
  min-height: 22px;
  margin: 12px 0 0;
  color: var(--green);
  font-weight: 700;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 28px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

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

  .hero {
    min-height: 88vh;
  }

  .split,
  .section-heading,
  .roi-panel,
  .contact-section,
  .solution-shell,
  .method-list li {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .case-list,
  .credibility-grid,
  .problem-grid,
  .promise-grid,
  .industry-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .site-header {
    padding: 14px 18px;
  }

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

  .section {
    padding: 68px 16px;
  }

  .service-grid,
  .case-list,
  .credibility-grid,
  .problem-grid,
  .promise-grid,
  .industry-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 0;
  }

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

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