:root {
  --ink: #171717;
  --muted: #5f646b;
  --line: #d9dce0;
  --paper: #fbfaf7;
  --white: #ffffff;
  --green: #2f8a57;
  --green-dark: #1f6040;
  --blue: #285f9f;
  --amber: #d88a1d;
  --rose: #bd4f62;
  --shadow: 0 24px 70px rgba(23, 23, 23, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 16px clamp(18px, 4vw, 56px);
  background: rgba(251, 250, 247, 0.92);
  border-bottom: 1px solid rgba(217, 220, 224, 0.8);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.98rem;
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: var(--white);
  background: var(--ink);
  border-radius: 8px;
  font-size: 0.82rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 26px);
  color: var(--muted);
  font-size: 0.93rem;
}

.nav a {
  text-decoration: none;
}

.nav a:hover {
  color: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.78fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: center;
  min-height: calc(100vh - 72px);
  padding: clamp(56px, 9vw, 118px) clamp(18px, 5vw, 72px) clamp(44px, 7vw, 88px);
}

.hero-copy,
.section {
  max-width: 1180px;
}

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

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

h1 {
  max-width: 780px;
  margin-bottom: 22px;
  font-size: clamp(3rem, 7vw, 6.8rem);
  line-height: 0.96;
  letter-spacing: 0;
}

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

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

.lead {
  max-width: 620px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: clamp(1.1rem, 2vw, 1.32rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.payment-note {
  max-width: 660px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.payment-note span {
  display: inline-block;
  overflow-wrap: anywhere;
  color: var(--ink);
  font-weight: 800;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

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

.button.primary {
  color: var(--white);
  background: var(--ink);
  box-shadow: 0 12px 28px rgba(23, 23, 23, 0.18);
}

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

.button.secondary.copied {
  border-color: var(--green);
  color: var(--green-dark);
  background: rgba(47, 138, 87, 0.1);
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 620px;
  margin: 34px 0 0;
}

.trust-row div {
  padding: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.trust-row dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.trust-row dd {
  margin: 4px 0 0;
  font-size: 1.35rem;
  font-weight: 900;
}

.audit-preview {
  overflow: hidden;
  align-self: stretch;
  min-height: 530px;
  background: #f2efe8;
  border: 1px solid #cfc7b8;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.preview-toolbar {
  display: flex;
  gap: 8px;
  padding: 16px;
  border-bottom: 1px solid #d7d0c4;
}

.preview-toolbar span {
  width: 10px;
  height: 10px;
  background: var(--rose);
  border-radius: 50%;
}

.preview-toolbar span:nth-child(2) {
  background: var(--amber);
}

.preview-toolbar span:nth-child(3) {
  background: var(--green);
}

.preview-content {
  display: grid;
  gap: 16px;
  padding: clamp(18px, 4vw, 32px);
}

.score-panel {
  padding: 22px;
  color: var(--white);
  background: var(--ink);
  border-radius: 8px;
}

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

.score-panel strong {
  display: block;
  margin: 8px 0;
  font-size: clamp(3rem, 6vw, 5.4rem);
  line-height: 0.9;
}

.fix-list {
  display: grid;
  gap: 10px;
}

.fix-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  background: var(--white);
  border: 1px solid #d9d2c5;
  border-radius: 8px;
}

.fix-item p {
  margin: 0;
  font-weight: 700;
}

.status {
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  border-radius: 50%;
}

.status.done {
  background: var(--green);
}

.status.next {
  background: var(--amber);
}

.mock-page {
  display: grid;
  gap: 12px;
  padding: 20px;
  background: var(--white);
  border: 1px solid #d9d2c5;
  border-radius: 8px;
}

.mock-line,
.mock-button {
  height: 14px;
  background: #c8d6e8;
  border-radius: 8px;
}

.mock-line.wide {
  width: 86%;
  height: 22px;
  background: #6f8fb4;
}

.mock-line {
  width: 72%;
}

.mock-line.short {
  width: 46%;
}

.mock-button {
  width: 128px;
  height: 38px;
  margin-top: 8px;
  background: var(--green);
}

.mock-table {
  display: grid;
  gap: 8px;
  padding: 16px;
  background: var(--white);
  border: 1px solid #d9d2c5;
  border-radius: 8px;
  font-size: 0.92rem;
}

.mock-table div {
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.7fr;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid #e7e1d6;
}

.mock-table div:last-child {
  border-bottom: 0;
}

.mock-table div:first-child {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.mock-table span {
  overflow-wrap: anywhere;
}

.section {
  margin: 0 auto;
  padding: clamp(58px, 8vw, 104px) clamp(18px, 5vw, 72px);
}

.band {
  max-width: none;
  background: var(--white);
  border-block: 1px solid var(--line);
}

.section-heading {
  max-width: 740px;
  margin: 0 auto 34px;
  text-align: center;
}

.section-heading h2 {
  margin-bottom: 0;
}

.deliverables {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 1180px;
  margin: 0 auto;
}

.card {
  padding: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.card p,
.split p,
.final-cta p {
  color: var(--muted);
}

.icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 20px;
  color: var(--white);
  background: var(--blue);
  border-radius: 8px;
  font-weight: 900;
}

.card:nth-child(2) .icon {
  background: var(--green);
}

.card:nth-child(3) .icon {
  background: var(--rose);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1fr);
  gap: clamp(28px, 6vw, 82px);
  align-items: start;
}

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

.steps li {
  position: relative;
  padding: 20px 20px 20px 72px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  counter-increment: step;
}

.steps li::before {
  position: absolute;
  left: 18px;
  top: 20px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: var(--white);
  background: var(--ink);
  border-radius: 8px;
  content: counter(step);
  font-weight: 900;
}

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

.steps span {
  margin-top: 4px;
  color: var(--muted);
}

.proof-band {
  max-width: none;
  background: #e9efe8;
  border-block: 1px solid #c8d6c5;
}

.proof-strip {
  padding-block: clamp(34px, 5vw, 64px);
  background: var(--white);
  border-block: 1px solid var(--line);
}

.proof-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  max-width: 960px;
  margin: 0 auto;
}

.proof-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 12px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
}

.proof-links a:hover {
  border-color: var(--ink);
}

.proof-copy,
.fit-grid {
  max-width: 1180px;
  margin-inline: auto;
}

.proof-copy {
  max-width: 820px;
  margin-bottom: 28px;
  text-align: center;
}

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

.fit-grid p {
  min-height: 112px;
  margin: 0;
  padding: 18px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid #c8d6c5;
  border-radius: 8px;
  font-weight: 800;
}

.final-cta {
  text-align: center;
}

.final-cta .hero-actions {
  justify-content: center;
}

.request-section {
  max-width: 900px;
}

.request-form {
  display: grid;
  gap: 16px;
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(22px, 4vw, 34px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(23, 23, 23, 0.08);
  text-align: left;
}

.request-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 800;
}

.request-form input,
.request-form textarea {
  width: 100%;
  padding: 13px 14px;
  color: var(--ink);
  background: #fffdf8;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
}

.request-form textarea {
  resize: vertical;
}

.form-hidden {
  display: none;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.sample-page {
  min-height: calc(100vh - 72px);
}

.sample-page h1 {
  margin-inline: auto;
  text-align: center;
}

.sample-page .lead {
  margin-inline: auto;
  text-align: center;
}

.sample-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 1120px;
  margin: 0 auto;
}

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

.sample-link-card {
  display: grid;
  gap: 12px;
  min-height: 230px;
  padding: 24px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  text-decoration: none;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease;
}

.sample-link-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(23, 23, 23, 0.1);
}

.sample-link-card span {
  color: var(--green-dark);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.sample-link-card strong {
  font-size: 1.25rem;
  line-height: 1.18;
}

.sample-link-card small {
  color: var(--muted);
  font-size: 0.94rem;
}

.sample-actions {
  justify-content: center;
  margin-top: 28px;
}

.tool-page {
  min-height: auto;
}

.tool-shell {
  display: grid;
  gap: 18px;
  max-width: 1080px;
  margin: 0 auto;
  padding: clamp(18px, 3vw, 28px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(23, 23, 23, 0.08);
}

.tool-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.file-picker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 16px;
  color: var(--ink);
  background: #fffdf8;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
}

.file-picker input {
  display: none;
}

.csv-input-label {
  display: grid;
  gap: 8px;
  font-weight: 800;
  text-align: left;
}

.csv-input-label textarea {
  width: 100%;
  min-height: 260px;
  padding: 14px;
  color: var(--ink);
  background: #fffdf8;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: 0.95rem ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  resize: vertical;
}

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

.stats-grid div {
  padding: 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.stats-grid span,
.report-panel li {
  color: var(--muted);
}

.stats-grid span {
  display: block;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.stats-grid strong {
  display: block;
  margin-top: 4px;
  font-size: 1.7rem;
}

.report-panel {
  padding: 18px;
  background: #eef4f1;
  border: 1px solid #c9d8d0;
  border-radius: 8px;
  text-align: left;
}

.report-panel h2 {
  margin-bottom: 10px;
  font-size: 1.25rem;
}

.report-panel ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding-left: 20px;
}

.table-wrap {
  overflow: auto;
  max-height: 420px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.table-wrap table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
  font-size: 0.9rem;
}

.table-wrap th,
.table-wrap td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.table-wrap th {
  position: sticky;
  top: 0;
  background: var(--ink);
  color: var(--white);
  font-weight: 900;
}

.table-wrap td {
  background: var(--white);
  color: var(--muted);
}

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

.site-footer p {
  margin: 0;
}

@media (max-width: 900px) {
  .site-header {
    position: static;
  }

  .hero,
  .split {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .audit-preview {
    min-height: auto;
  }

  .deliverables,
  .fit-grid,
  .proof-links,
  .sample-list,
  .service-grid {
    grid-template-columns: 1fr 1fr;
  }
}

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

  .nav {
    width: 100%;
    justify-content: space-between;
    gap: 8px;
    font-size: 0.86rem;
  }

  h1 {
    font-size: clamp(2.55rem, 14vw, 4rem);
  }

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

  .trust-row,
  .deliverables,
  .fit-grid,
  .proof-links,
  .sample-list,
  .service-grid,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .fit-grid p {
    min-height: auto;
  }

  .steps li {
    padding-right: 16px;
  }
}
