@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --ink: #17211d;
  --muted: #77817c;
  --green: #267a58;
  --green-dark: #195d41;
  --mint: #eaf5ee;
  --line: #e4e9e5;
  --bg: #f7f9f7;
  --red: #b93838;
  --red-bg: #fff0ef;
  --amber: #9a680e;
  --amber-bg: #fff6df;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
}

.topbar {
  min-height: 72px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 0 24px;
}

.topbar-inner {
  max-width: 1080px;
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  font: 800 18px Manrope, sans-serif;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -.7px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--green);
  color: #fff;
  font-size: 22px;
}

.topbar-note {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 1px;
  font-weight: 700;
}

.shell {
  max-width: 1000px;
  margin: 0 auto;
  padding: 54px 24px 30px;
}

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 42px;
  margin-bottom: 42px;
}

.hero-copy {
  padding: 8px 0;
}

.eyebrow,
.step-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.45px;
  color: var(--green);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  background: var(--mint);
  padding: 8px 12px;
  border-radius: 99px;
}

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

h1 {
  font: 800 clamp(34px, 4.5vw, 47px)/1.12 Manrope, sans-serif;
  letter-spacing: -1.8px;
  margin: 20px 0 16px;
}

.hero-copy > p {
  font-size: 15px;
  line-height: 1.8;
  color: #69746e;
  max-width: 450px;
  margin-bottom: 0;
}

.upload-card,
.issue-section,
.health-score-card,
.stat-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 8px 28px #183b250a;
}

.upload-card {
  padding: 25px;
}

.upload-card-heading {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 23px;
}

.upload-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--mint);
  color: var(--green);
  font-size: 25px;
}

.upload-card-heading h2 {
  font: 700 21px Manrope, sans-serif;
  letter-spacing: -.6px;
  margin-bottom: 5px;
}

.upload-card-heading p {
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 0;
}

.field-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 9px;
}

input[type="file"] {
  display: block;
  width: 100%;
  padding: 13px;
  background: #fbfdfb;
  border: 1px dashed #cbd8ce;
  border-radius: 10px;
  color: var(--muted);
  font: 12px 'DM Sans', sans-serif;
}

input[type="file"]::file-selector-button {
  border: 0;
  border-radius: 6px;
  padding: 9px 12px;
  margin-right: 12px;
  background: var(--mint);
  color: var(--green-dark);
  font: 700 12px 'DM Sans', sans-serif;
  cursor: pointer;
}

input[type="file"]::file-selector-button:hover {
  background: #dcefe2;
}

.form-hint {
  margin: 9px 0 14px;
  color: var(--muted);
  font-size: 11px;
}

.primary-btn,
.secondary-btn {
  min-height: 44px;
  border-radius: 9px;
  padding: 13px 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font: 700 13px 'DM Sans', sans-serif;
  text-decoration: none;
  cursor: pointer;
  transition: background .15s, border-color .15s;
}

.primary-btn {
  width: 100%;
  border: 0;
  background: var(--green);
  color: #fff;
}

.primary-btn:hover {
  background: var(--green-dark);
}

.primary-btn span {
  font-size: 18px;
}

.secondary-btn {
  background: #fff;
  border: 1px solid #d5ded7;
  color: var(--ink);
}

.secondary-btn:hover {
  background: var(--mint);
}

.privacy-note {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 7px;
  margin-top: 16px;
  font-size: 10px;
  line-height: 1.6;
  color: var(--muted);
}

.privacy-note span {
  color: var(--green);
  font-weight: 700;
}

.error-message {
  margin-bottom: 16px;
  padding: 12px 14px;
  background: var(--red-bg);
  border: 1px solid #f1c6c3;
  border-radius: 9px;
  color: var(--red);
  font-size: 12px;
  line-height: 1.5;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 38px 0 48px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.feature-icon {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 10px;
  background: var(--mint);
  color: var(--green);
  display: grid;
  place-items: center;
  font-size: 18px;
}

.feature-item strong {
  display: block;
  font: 700 13px Manrope, sans-serif;
  margin: 3px 0 6px;
}

.feature-item p {
  font-size: 12px;
  line-height: 1.65;
  color: var(--muted);
  margin-bottom: 0;
}

.results {
  margin: 40px 0;
}

.results-heading,
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.results-heading {
  margin-bottom: 20px;
}

.step-label {
  margin-bottom: 8px;
}

.results-heading h2,
.section-heading h3 {
  font: 700 22px Manrope, sans-serif;
  letter-spacing: -.6px;
  margin-bottom: 8px;
}

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

.results-heading p,
.section-heading p {
  font-size: 12px;
  line-height: 1.6;
  margin-bottom: 0;
  overflow-wrap: anywhere;
}

.status-chip {
  background: var(--mint);
  color: var(--green);
  border-radius: 99px;
  padding: 8px 11px;
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
}

.health-score-card {
  padding: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 16px;
}

.health-score-info {
  flex: 1;
}

.stat-label {
  display: block;
  font-size: 9px;
  letter-spacing: 1px;
  font-weight: 700;
  color: var(--muted);
}

.health-score-info h3 {
  font: 800 32px Manrope, sans-serif;
  letter-spacing: -1px;
  margin: 8px 0 4px;
}

.health-score-info p {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 0;
}

.health-score-track {
  height: 10px;
  width: 42%;
  min-width: 120px;
  overflow: hidden;
  border-radius: 99px;
  background: #edf1ed;
}

.health-score-fill {
  height: 100%;
  border-radius: inherit;
  background: var(--green);
  transition: width .3s ease;
}

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

.stat-card {
  padding: 18px;
}

.stat-card strong {
  display: block;
  font: 800 27px Manrope, sans-serif;
  margin-top: 9px;
}

.stat-card:nth-child(3) strong {
  color: var(--red);
}

.stat-card:nth-child(4) strong {
  color: var(--amber);
}

.issue-section {
  overflow: hidden;
}

.section-heading {
  padding: 22px;
}

.section-heading h3 {
  margin-bottom: 7px;
}

.issue-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 22px 18px;
}

.filter-btn {
  border: 1px solid var(--line);
  background: #fff;
  color: #59665e;
  border-radius: 8px;
  padding: 9px 12px;
  font: 600 11px 'DM Sans', sans-serif;
  cursor: pointer;
}

.filter-btn:hover {
  background: #f6f9f6;
}

.filter-btn.active {
  background: var(--mint);
  border-color: #c6dfce;
  color: var(--green-dark);
}

.table-scroll {
  width: 100%;
  overflow-x: auto;
}

.issues-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 11px;
}

.issues-table th {
  background: #fafbfa;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: .8px;
  padding: 13px 14px;
  font-weight: 700;
  white-space: nowrap;
}

.issues-table td {
  border-top: 1px solid #edf0ed;
  padding: 14px;
  vertical-align: top;
  line-height: 1.55;
}

.issues-table td strong {
  font-weight: 600;
}

.issues-table td code {
  font: 10px 'DM Sans', sans-serif;
  background: #f1f4f1;
  padding: 4px 6px;
  border-radius: 4px;
}

.severity {
  display: inline-block;
  padding: 4px 7px;
  border-radius: 5px;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
}

.severity.error {
  background: var(--red-bg);
  color: var(--red);
}

.severity.warning {
  background: var(--amber-bg);
  color: var(--amber);
}

.value-text {
  color: var(--muted);
  font-size: 10px;
  margin-top: 5px;
  overflow-wrap: anywhere;
}

.fix-cell {
  color: #58655d;
  min-width: 170px;
}

.filter-empty {
  padding: 28px 22px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.filter-empty strong {
  display: block;
  color: var(--green);
  font: 700 15px Manrope, sans-serif;
}

.filter-empty p {
  margin: 7px 0 0;
}

.report-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 20px 22px;
  border-top: 1px solid var(--line);
}

.report-actions form {
  flex: 1;
}

.report-actions .primary-btn {
  width: 100%;
}

.report-actions .secondary-btn {
  white-space: nowrap;
}

.footer {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: #59665e;
  font-size: 11px;
}

.footer p {
  line-height: 1.6;
  margin-bottom: 0;
}

@media (max-width: 760px) {
  .shell {
    padding: 36px 18px 24px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .hero-copy {
    text-align: center;
  }

  .hero-copy > p {
    margin: 0 auto;
  }

  .features {
    gap: 18px;
  }

  .feature-item {
    gap: 9px;
  }

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

  .health-score-card {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .health-score-track {
    width: 100%;
  }
}

@media (max-width: 540px) {
  .topbar,
  .topbar-inner {
    min-height: 60px;
  }

  .topbar {
    padding: 0 15px;
  }

  .brand {
    font-size: 15px;
  }

  .topbar-note {
    max-width: 110px;
    text-align: right;
    font-size: 9px;
  }

  .shell {
    padding: 30px 15px 22px;
  }

  h1 {
    font-size: 34px;
    letter-spacing: -1.3px;
  }

  .upload-card {
    padding: 18px;
  }

  .features {
    grid-template-columns: 1fr;
    gap: 20px;
    margin: 30px 0 38px;
  }

  .feature-item {
    gap: 12px;
  }

  .results-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .section-heading {
    padding: 18px;
  }

  .issue-filters {
    padding: 0 18px 16px;
  }

  .issues-table {
    min-width: 700px;
  }

  .report-actions {
    align-items: stretch;
    flex-direction: column;
    padding: 18px;
  }

  .footer {
    flex-direction: column;
    gap: 8px;
  }
}
```
