.seo-report-hero { padding: clamp(40px, 7vw, 88px) 0; }
.seo-report-hero h1 { font-size: clamp(3rem, 6.2vw, 5.5rem); }
.seo-report-hero .hero__lead { margin-top: 22px; }
.seo-report-demo.rd {
  /* The shared report stylesheet uses the app's impact colors. */
  --amber: #8a5a00;
  --amber-bg: #fbefd5;
  --red: #8c1d18;
  --red-bg: #fbe7e5;
  container: report-preview / inline-size;
  gap: 12px;
  min-width: 0;
  padding: clamp(14px, 2vw, 24px);
  border-radius: var(--radius);
  background: var(--card);
  color: var(--ink);
  box-shadow: 0 32px 64px -36px var(--ink);
}
.seo-report-demo__header { display: grid; gap: 6px; }
.seo-report-demo__tag {
  color: var(--ivy);
  font: 600 0.72rem/1.4 var(--mono);
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.seo-report-demo .seo-report-demo__header h2 {
  color: var(--ivy-deep);
  font-size: clamp(1.55rem, 2.6vw, 2.25rem);
  letter-spacing: -0.035em;
  text-wrap: initial;
}
.seo-report-demo__meta, .seo-report-demo__hint { color: var(--ink-soft); font-size: 0.83rem; }
.seo-report-demo__kpis {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
}
.seo-report-demo__kpis div { padding: 8px 12px; }
.seo-report-demo__kpis div + div { border-left: 1px solid var(--line); }
.seo-report-demo__kpis dt { color: var(--ink-soft); font-size: 0.73rem; line-height: 1.35; }
.seo-report-demo__kpis dd { margin: 2px 0 0; font-size: 1.22rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.seo-report-demo .rd-panel__head { padding: 10px 12px; }
.seo-report-demo .rd-table :is(th, td) { padding-inline: 10px; }
.seo-report-demo .rd-table td { padding-block: 4px; }
.seo-report-demo .rd-table td:not(:has(> .rd-detail)) { padding-top: 13px; }
.seo-report-demo .rd-detail summary { min-height: 40px; padding-block: 9px; line-height: 1.4; overflow-wrap: anywhere; }
.seo-report-demo .rd-detail__body { margin-top: 4px; overflow-wrap: anywhere; }
.seo-report-demo .rd-impact + .rd-muted { display: block; font-size: 0.72rem; }
.seo-report-demo .rd-prompt { max-height: none; }
.seo-report-demo .btn--small { min-height: 40px; padding: 0 1rem; font-size: 0.86rem; }
.seo-report-demo .btn--line { color: var(--ivy-deep); box-shadow: inset 0 0 0 1.5px var(--line); }
.seo-report-demo .btn--line:hover { box-shadow: inset 0 0 0 1.5px var(--ivy); }

@container report-preview (max-width: 410px) {
  .seo-report-demo__kpis div { padding-inline: 8px; }
  .seo-report-demo .rd-table :is(th, td) { padding-inline: 8px; }
  .seo-report-demo .rd-actions .rd-col-pages { display: none; }
  .seo-report-demo .rd-action__meta { display: block; margin: 2px 0 0 1em; font: 500 0.72rem/1.5 var(--mono); color: var(--muted); }
}

@media (min-width: 901px) {
  .seo-report-hero .hero__copy { padding-top: clamp(24px, 4vw, 56px); }
}

.seo-report-order { padding-top: clamp(48px, 7vw, 88px); }
.seo-report-checkout { display: grid; align-items: start; gap: clamp(16px, 3.5vw, 40px); }
.seo-report-checkout .section__lead { margin-top: 12px; }
.seo-report-form { min-width: 0; padding: clamp(16px, 2.5vw, 28px); }
.seo-report-fields { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.seo-report-fields .field { min-width: 0; margin: 0; }
.seo-report-fields :is(input, select) { min-height: 48px; padding-block: 10px; }
.seo-report-select { position: relative; min-width: 0; }
.seo-report-select select {
  appearance: none;
  width: 100%;
  padding-inline: 14px 40px;
  border: 0;
  border-radius: 12px;
  background-color: var(--card);
  box-shadow: inset 0 0 0 1.5px var(--line);
  font: 400 1rem/1.4 var(--display);
  color: var(--ink);
}
.seo-report-select select:focus { outline: none; box-shadow: inset 0 0 0 2px var(--ivy), 0 0 0 4px var(--sprout); }
.seo-report-select svg {
  position: absolute;
  inset-inline-end: 14px;
  inset-block-start: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--ivy);
  pointer-events: none;
}

@media (forced-colors: active) {
  .seo-report-select select { appearance: auto; padding-inline-end: 14px; border: 1px solid ButtonText; }
  .seo-report-select select:focus { outline: 2px solid Highlight; outline-offset: 2px; }
  .seo-report-select svg { display: none; }
}

.seo-report-form .btn { margin-top: 16px; }
.seo-report-comparison { margin-top: clamp(32px, 5vw, 56px); }
.seo-report-comparison > h3 { color: var(--ivy-deep); font-size: clamp(1.45rem, 2.4vw, 2rem); }
.seo-report-comparison > p { margin-top: 6px; color: var(--ink-soft); }
.seo-report-order .tiers { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.seo-report-order .tier__facts dt { white-space: normal; }
.seo-report-order .tier__facts dd { white-space: nowrap; }
.seo-report-price { color: var(--ink-soft); }
.seo-report-price strong { color: var(--ivy-deep); font-size: 1.9rem; font-variant-numeric: tabular-nums; }
.seo-report-fine { margin-top: 12px; color: var(--ink-soft); font-size: 0.88rem; }
.seo-audit-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  margin-top: clamp(22px, 4vw, 36px);
}
.seo-audit-card {
  padding: clamp(16px, 2.5vw, 24px);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: inset 0 0 0 1px var(--line);
}
.seo-audit-card h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ivy-deep);
  font-size: clamp(1.15rem, 2vw, 1.42rem);
  line-height: 1.25;
}
.seo-audit-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--sprout);
  color: var(--ivy-deep);
}
.seo-audit-icon svg { width: 21px; height: 21px; }
.seo-audit-list {
  display: grid;
  gap: 8px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.45;
}
.seo-audit-list li { display: grid; grid-template-columns: 14px minmax(0, 1fr); gap: 8px; }
.seo-audit-list li::before {
  content: "";
  justify-self: center;
  width: 6px;
  height: 10px;
  margin-top: 3px;
  border: solid var(--ivy);
  border-width: 0 1.75px 1.75px 0;
  transform: rotate(45deg);
}
.seo-audit-next { margin-top: 24px; }

@media (min-width: 720px) {
  .seo-audit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 840px) {
  .seo-report-hero .wrap, .seo-report-order .tiers { grid-template-columns: minmax(0, 1fr); }
}

@media (min-width: 670px) {
  .seo-report-fields { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .seo-report-form .btn { width: auto; }
}

@media (min-width: 1080px) {
  .seo-report-checkout { grid-template-columns: minmax(0, 1fr) minmax(0, 2.3fr); }
}
