:root {
  --ink: #16201d;
  --muted: #5f6d66;
  --line: #d9e2dd;
  --paper: #f7faf8;
  --panel: #ffffff;
  --teal: #04756f;
  --teal-dark: #035b55;
  --blue: #295aa8;
  --amber: #b76f00;
  --red: #b23a30;
  --shadow: 0 18px 50px rgba(22, 32, 29, 0.12);
}

* {
  box-sizing: border-box;
}

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

a {
  color: inherit;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
  background: rgba(247, 250, 248, 0.96);
  position: sticky;
  top: 0;
  z-index: 10;
}

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

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--teal);
  color: #fff;
  font-size: 13px;
  letter-spacing: 0;
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
  color: var(--muted);
  font-size: 14px;
}

nav a,
.site-footer a,
.secondary-link {
  text-decoration: none;
}

nav a:hover,
.site-footer a:hover,
.secondary-link:hover {
  color: var(--teal-dark);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 28px;
  padding: clamp(28px, 6vw, 72px) clamp(18px, 4vw, 56px) 28px;
  align-items: stretch;
}

.request-panel,
.report-preview,
.report-card,
.support-form {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.request-panel {
  padding: clamp(22px, 4vw, 40px);
}

.report-preview {
  padding: clamp(20px, 3vw, 32px);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  margin: 0;
  max-width: 780px;
  font-size: clamp(38px, 5vw, 66px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.lede {
  margin: 18px 0 0;
  max-width: 760px;
  color: var(--muted);
  font-size: 18px;
}

.offer-hero .request-panel {
  align-self: start;
}

.offer-price {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-top: 22px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdfc;
}

.offer-price span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 720;
}

.offer-price strong {
  color: var(--blue);
  font-size: 30px;
}

.muted,
.form-note {
  color: var(--muted);
}

.form-stack {
  display: grid;
  gap: 16px;
  margin-top: 26px;
}

label,
legend {
  display: grid;
  gap: 7px;
  font-size: 14px;
  font-weight: 720;
}

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

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(4, 117, 111, 0.18);
  border-color: var(--teal);
}

fieldset {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.choice {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 560;
}

.choice input {
  width: auto;
}

.hidden-field {
  display: none;
}

button,
.primary-button,
.secondary-button,
.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 11px 16px;
  font: inherit;
  font-weight: 760;
  text-decoration: none;
  cursor: pointer;
}

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

.primary-button:hover {
  background: var(--teal-dark);
}

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

.ghost-button {
  background: #fff;
  border-color: var(--line);
  color: var(--teal-dark);
}

.form-note {
  margin: 0;
  font-size: 13px;
}

.preview-topline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 13px;
}

.status-pill {
  display: inline-flex;
  border-radius: 999px;
  padding: 5px 10px;
  background: #dff2ee;
  color: var(--teal-dark);
  font-weight: 760;
}

.score-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: center;
  margin: 26px 0;
}

.preview-image {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.score-number {
  display: inline-grid;
  place-items: center;
  width: 104px;
  height: 104px;
  border-radius: 8px;
  background: #eaf2ff;
  color: var(--blue);
  font-size: 44px;
  font-weight: 820;
}

.score-row div {
  display: grid;
  gap: 4px;
}

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

.signal-grid div,
.check-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: #fbfdfc;
}

.signal-grid strong {
  display: block;
  font-size: 25px;
}

.signal-grid span,
.check-grid p {
  color: var(--muted);
}

.offer-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 24px 0;
}

.secondary-link {
  display: inline-block;
  margin-top: 22px;
  color: var(--teal-dark);
  font-weight: 760;
}

.content-band {
  margin: 28px clamp(18px, 4vw, 56px);
  padding: clamp(22px, 4vw, 38px);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.section-heading {
  display: grid;
  gap: 8px;
  margin-bottom: 22px;
}

.split-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.7fr);
  gap: 26px;
  align-items: start;
}

.compact-form {
  margin-top: 0;
}

.sample-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.inline-form {
  margin: 0;
}

.narrow-page {
  width: min(980px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(32px, 6vw, 72px) 0;
}

.page-heading {
  margin-bottom: 26px;
}

.report-card {
  padding: clamp(20px, 4vw, 36px);
  margin-bottom: 28px;
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  font-size: 14px;
}

th,
td {
  padding: 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  white-space: nowrap;
}

th {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.evidence-list {
  display: grid;
  gap: 10px;
  padding-left: 20px;
  color: var(--muted);
}

.inline-button {
  margin-top: 16px;
}

.legal-copy {
  color: var(--muted);
  font-size: 17px;
}

.legal-copy h1 {
  color: var(--ink);
  margin-bottom: 18px;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  margin-top: 38px;
  padding: 26px clamp(18px, 4vw, 56px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

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

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

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

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

  nav {
    justify-content: flex-start;
  }

  .signal-grid,
  .check-grid {
    grid-template-columns: 1fr;
  }

  .score-row {
    grid-template-columns: 1fr;
  }

  .score-number {
    width: 100%;
  }
}
