/*
  Component: report-card
  The Digital Presence Report Card as a featured product on the homepage:
  copy on the left, a rendered sample card on the right. The card markup is
  also what the live /scorecard result reuses for its graded rows.
*/

.report-feature .container {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}

.report-feature .section-eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 12px;
}

.report-feature h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  line-height: 1.1;
}

.report-feature .section-sub {
  margin-top: 16px;
  max-width: 48ch;
}

.report-checks {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: grid;
  gap: 14px;
}

.report-checks li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  color: var(--text-2);
  font-size: 0.98rem;
  line-height: 1.5;
}

.report-checks li strong {
  color: var(--text-1);
  font-weight: 600;
}

.report-checks .mark {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--accent-dim);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  margin-top: 1px;
}

.report-feature .hero-ctas {
  margin-top: 32px;
}

.report-fine {
  margin-top: 14px;
  font-size: 0.85rem;
  color: var(--text-2);
}

/* The card */
.report-card {
  position: relative;
  background: var(--surface-0);
  border: 1px solid var(--edge);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-2);
  padding: 28px 30px 26px;
  max-width: 520px;
  margin-left: auto;
}

.report-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 6px;
  border-radius: var(--radius-m) var(--radius-m) 0 0;
  background: linear-gradient(90deg, var(--accent) 0 62%, var(--accent-2-line) 62% 100%);
}

.report-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--edge);
}

.report-card-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}

.report-card-firm {
  color: var(--text-2);
  font-size: 0.9rem;
  margin-top: 4px;
}

.report-card-sample {
  flex: none;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-2);
  border: 1px solid var(--accent-2-line);
  border-radius: var(--radius-pill);
  padding: 4px 10px;
  background: var(--surface-0);
}

.report-card-score {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 18px 0 6px;
}

.report-card-score .num {
  flex: none;
  white-space: nowrap;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 4rem;
  line-height: 1;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}

.report-card-score .num span {
  font-size: 0.32em;
  color: var(--text-2);
  font-family: var(--font-text);
  font-weight: 500;
  margin-left: 4px;
}

.report-card-score .verdict {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
}

.report-card-score .verdict small {
  display: block;
  font-family: var(--font-text);
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--text-2);
  margin-top: 2px;
}

.report-rows {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
  border-top: 1px solid var(--edge);
}

.report-rows li {
  display: grid;
  grid-template-columns: 1fr auto 44px;
  align-items: center;
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px solid var(--edge-soft);
  font-size: 0.95rem;
}

.report-rows .area {
  font-weight: 600;
}

.report-rows .area small {
  display: block;
  font-weight: 400;
  color: var(--text-2);
  font-size: 0.82rem;
  margin-top: 1px;
}

.report-rows .pts {
  color: var(--text-2);
  font-variant-numeric: tabular-nums;
  font-size: 0.88rem;
}

.report-rows .grade {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.5rem;
  text-align: right;
  line-height: 1;
}

.report-rows .grade-a { color: var(--accent); }
.report-rows .grade-b { color: var(--accent-strong); }
.report-rows .grade-c { color: var(--accent-2); }
.report-rows .grade-d,
.report-rows .grade-f { color: var(--tint-strong); }

.report-card-compare {
  margin-top: 16px;
  padding: 12px 14px;
  background: var(--tint-bg);
  border: 1px solid var(--tint-edge);
  border-radius: var(--radius-s);
  font-size: 0.92rem;
  line-height: 1.45;
}

.report-card-compare strong {
  color: var(--tint-strong);
}

@media (max-width: 900px) {
  .report-feature .container {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .report-card {
    margin-left: 0;
    max-width: none;
    padding: 22px 20px 20px;
  }

  .report-card-score .num {
    font-size: 3.2rem;
  }
}

/* Home: the report card section sits in the green ink band. The copy turns
   light; the sample card keeps its own ink so it reads like paper on green. */
.band-ink.report-feature .section-eyebrow {
  color: var(--brass-on-ink);
}

.band-ink.report-feature .report-checks li,
.band-ink.report-feature .report-fine {
  color: var(--band-muted);
}

.band-ink.report-feature .report-checks li strong {
  color: var(--band-text);
}

.band-ink.report-feature .report-checks .mark {
  background: var(--band-edge);
  color: var(--band-text);
}

.band-ink.report-feature .btn-primary {
  background: var(--band-text);
  color: var(--band-bg);
}

.band-ink.report-feature .btn-primary:hover {
  background: var(--surface-1);
}

.band-ink.report-feature :focus-visible {
  outline-color: var(--band-text);
}

.band-ink .report-card {
  color: var(--text-1);
}
