:root {
  --bg: #111111;
  --surface: #f7f4ee;
  --surface-2: #ebe7dd;
  --ink: #1c1b19;
  --muted: #665f54;
  --line: #d8d0c1;
  --charcoal: #242424;
  --charcoal-2: #343434;
  --white: #ffffff;
  --green: #244c3a;
  --green-2: #d9eadf;
  --gold: #b58438;
  --red: #8d3f34;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.22);
  --radius: 8px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  line-height: 1.55;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 4vw, 56px);
  background: rgba(247, 244, 238, 0.97);
  border-bottom: 1px solid rgba(216, 208, 193, 0.72);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  color: var(--ink);
}

.brand img {
  border-radius: 8px;
  background: #000000;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.28);
}

.nav-links,
.nav-actions,
.hero-actions,
.footer-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-links a,
.text-link,
.footer-links a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.nav-links a:hover,
.text-link:hover,
.footer-links a:hover {
  color: var(--ink);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--charcoal);
  border-radius: var(--radius);
  background: var(--charcoal);
  color: var(--white);
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16);
}

.button:hover {
  background: #000000;
}

.button.secondary {
  background: transparent;
  color: var(--ink);
  box-shadow: none;
}

.button.secondary:hover {
  background: var(--surface-2);
}

.button.small {
  min-height: 40px;
  padding: 0 16px;
  font-size: 14px;
}

.hero {
  min-height: calc(100vh - 76px);
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
  align-items: center;
  gap: clamp(36px, 5vw, 76px);
  padding: clamp(48px, 7vw, 92px) clamp(20px, 4vw, 56px) 64px;
  background:
    radial-gradient(circle at 82% 14%, rgba(36, 76, 58, 0.16), transparent 28%),
    linear-gradient(112deg, #f8f5ee 0%, #f1ece1 54%, #e4ddd0 100%);
}

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

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 700px;
  font-size: clamp(40px, 6.4vw, 78px);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 660px;
  margin: 26px 0 0;
  color: #473f35;
  font-size: clamp(18px, 2vw, 22px);
}

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

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 740px;
  margin: 42px 0 0;
}

.hero-stats div {
  min-height: 112px;
  padding: 18px;
  border: 1px solid rgba(36, 36, 36, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.5);
}

.hero-stats dt {
  font-weight: 900;
}

.hero-stats dd {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.hero-visual {
  width: 100%;
}

.browser-frame {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: var(--charcoal);
  color: var(--white);
  box-shadow: var(--shadow);
}

.browser-top {
  display: flex;
  align-items: center;
  gap: 9px;
  height: 48px;
  padding: 0 18px;
  background: #1b1b1b;
}

.browser-top span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #706d68;
}

.browser-top strong {
  margin-left: auto;
  color: #bcb8b0;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.report-preview {
  padding: clamp(18px, 3vw, 32px);
  background:
    radial-gradient(circle at top right, rgba(181, 132, 56, 0.18), transparent 35%),
    #252525;
}

.report-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.report-header p,
.report-header h2 {
  margin: 0;
}

.report-header p {
  color: #aba59a;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.report-header h2 {
  margin-top: 6px;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.06;
}

.total-pill {
  flex: 0 0 auto;
  padding: 10px 12px;
  border-radius: var(--radius);
  background: var(--green-2);
  color: var(--green);
  font-weight: 900;
}

.preview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.issue-card,
.provider-card {
  min-height: 178px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  background: #303030;
}

.issue-card.high {
  border-color: rgba(141, 63, 52, 0.58);
}

.issue-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #d7d1c7;
  font-size: 13px;
  font-weight: 800;
}

.issue-top b {
  color: #f2d2cc;
}

.issue-card h3 {
  margin: 18px 0 8px;
  font-size: 19px;
  line-height: 1.16;
}

.issue-card p,
.provider-card p {
  margin: 0;
  color: #c7c0b6;
  font-size: 14px;
}

.issue-card strong {
  display: block;
  margin-top: 16px;
  color: #f4e8d4;
}

.provider-card {
  grid-column: 1 / -1;
  min-height: 134px;
  background: #f2eee5;
  color: var(--ink);
}

.provider-card span {
  font-weight: 900;
}

.provider-card p {
  margin-top: 6px;
  color: var(--muted);
}

.provider-row {
  height: 10px;
  width: 74%;
  margin-top: 18px;
  border-radius: 999px;
  background: var(--line);
}

.provider-row.short {
  width: 52%;
  margin-top: 10px;
}

.logos-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--line);
}

.logos-band span {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: #fbf9f4;
  color: var(--muted);
  font-weight: 900;
  text-align: center;
}

.section {
  padding: clamp(72px, 9vw, 118px) clamp(20px, 4vw, 56px);
}

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

.section h2,
.cta-section h2 {
  margin: 0;
  max-width: 780px;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1;
  letter-spacing: 0;
}

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

.steps-grid article,
.faq details,
.report-sheet {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbf9f4;
  box-shadow: 0 14px 42px rgba(61, 50, 35, 0.06);
}

.steps-grid article,
.provider-engine {
  min-height: 260px;
  padding: clamp(24px, 4vw, 34px);
}

.step-number {
  display: inline-flex;
  margin-bottom: 38px;
  color: var(--gold);
  font-weight: 900;
}

.steps-grid h3 {
  margin: 0;
  font-size: 23px;
}

.steps-grid p,
.provider-engine p,
.provider-copy p,
.faq p {
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(360px, 0.7fr);
  align-items: center;
  gap: clamp(36px, 7vw, 88px);
  background: #1f1f1f;
  color: var(--white);
}

.section-copy p {
  max-width: 640px;
  color: #c9c4bb;
  font-size: 18px;
}

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

.feature-list li {
  position: relative;
  padding-left: 28px;
  color: #f7f2e9;
  font-weight: 750;
}

.feature-list li::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--gold);
}

.report-sheet {
  padding: clamp(22px, 4vw, 34px);
  color: var(--ink);
}

.sheet-top {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.sheet-top span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.sheet-top strong,
.sheet-top b {
  display: block;
  margin-top: 5px;
  font-size: 22px;
}

.category-row {
  display: grid;
  grid-template-columns: 92px 1fr 68px;
  align-items: center;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 800;
}

.category-row:last-child {
  border-bottom: 0;
}

.category-row div {
  overflow: hidden;
  height: 10px;
  border-radius: 999px;
  background: var(--surface-2);
}

.category-row i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--green);
}

.category-row b {
  color: var(--muted);
  font-size: 13px;
  text-align: right;
}

.provider-section {
  overflow: hidden;
  position: relative;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(235, 231, 221, 0.62)),
    #fbf9f4;
}

.provider-section::after {
  content: "";
  position: absolute;
  right: -18%;
  bottom: -36%;
  width: 52vw;
  height: 52vw;
  max-width: 720px;
  max-height: 720px;
  border-radius: 50%;
  background: rgba(181, 132, 56, 0.08);
  pointer-events: none;
}

.provider-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: start;
}

.provider-copy h2 {
  margin: 0 0 44px;
  max-width: 680px;
  font-size: clamp(38px, 4.6vw, 68px);
  line-height: 1;
  letter-spacing: 0;
}

.provider-copy p {
  max-width: 620px;
  margin: 0 0 18px;
  font-size: 19px;
}

.provider-engine {
  border: 1px solid rgba(216, 208, 193, 0.86);
  border-radius: var(--radius);
  margin-top: clamp(54px, 6vw, 92px);
  background:
    radial-gradient(circle at 85% 8%, rgba(255, 255, 255, 0.18), transparent 28%),
    linear-gradient(145deg, #202020 0%, #2d2d2d 46%, #181818 100%);
  box-shadow: 0 24px 70px rgba(61, 50, 35, 0.13);
  color: var(--white);
}

.engine-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}

.engine-header span {
  color: #d2c8b7;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.engine-header strong {
  max-width: 300px;
  color: #ffffff;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1;
  text-align: right;
}

.engine-stack {
  display: grid;
  gap: 12px;
}

.engine-panel {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  align-items: start;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.055);
}

.engine-icon {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #f0ece4;
  color: #171717;
}

.engine-icon svg {
  width: 18px;
  height: 18px;
}

.engine-panel p {
  margin: 0;
  color: #ebe5dc;
  font-size: 16px;
  line-height: 1.5;
}

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

.faq details {
  padding: 22px 24px;
}

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

.faq p {
  margin-bottom: 0;
}

.cta-section {
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: clamp(72px, 10vw, 128px) 20px;
  background:
    linear-gradient(135deg, #0d0d0d 0%, #2a2d31 34%, #5f666e 52%, #24272b 70%, #0b0b0b 100%);
  color: var(--white);
  text-align: center;
}

.cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.08) 38%, transparent 54%);
  pointer-events: none;
}

.cta-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.22);
  pointer-events: none;
}

.cta-section > * {
  position: relative;
  z-index: 1;
}

.cta-section .eyebrow {
  color: #f5f5f5;
  text-shadow: 0 1px 18px rgba(255, 255, 255, 0.28);
}

.cta-section h2 {
  margin-bottom: 28px;
  text-shadow: 0 18px 46px rgba(0, 0, 0, 0.46);
}

.cta-section .button {
  background: rgba(255, 255, 255, 0.92);
  color: #151515;
  border-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.36);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px clamp(20px, 4vw, 56px);
  background: #111111;
  color: var(--white);
}

.footer-brand {
  color: var(--white);
}

.footer-links a {
  color: #c9c2b7;
}

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

  .hero {
    min-height: auto;
  }

  .hero-visual {
    max-width: 760px;
  }

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

@media (max-width: 760px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links,
  .nav-actions {
    width: 100%;
    justify-content: space-between;
  }

  .nav-links {
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero {
    padding-top: 42px;
  }

  .hero-stats,
  .logos-band,
  .steps-grid,
  .provider-layout,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .engine-header {
    flex-direction: column;
  }

  .engine-header strong {
    max-width: none;
    text-align: left;
  }

  .engine-panel {
    grid-template-columns: 1fr;
  }

  .preview-grid {
    grid-template-columns: 1fr;
  }

  .provider-card {
    grid-column: auto;
  }

  .report-header,
  .sheet-top,
  .site-footer {
    flex-direction: column;
  }

  .total-pill {
    width: 100%;
    text-align: center;
  }

  .category-row {
    grid-template-columns: 86px 1fr;
  }

  .category-row b {
    grid-column: 1 / -1;
    text-align: left;
  }
}

@media (max-width: 480px) {
  .nav-actions {
    flex-wrap: wrap;
  }

  .button,
  .button.small {
    width: 100%;
  }

  .text-link {
    width: 100%;
    text-align: center;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }
}
