:root {
  --dc-bg1: #f6f1e9;
  --dc-bg2: #e4f1ee;
  --dc-ink: #1f2a2e;
  --dc-muted: #526067;
  --dc-accent: #0f766e;
  --dc-accent-dark: #0a4f4a;
  --dc-warn: #d97706;
  --dc-danger: #b91c1c;
  --dc-card: #ffffff;
  --dc-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
}

body {
  font-family: "Avenir Next", "Avenir", "Trebuchet MS", "Verdana", sans-serif;
  color: var(--dc-ink);
  background: radial-gradient(circle at top left, var(--dc-bg2), var(--dc-bg1) 60%);
  min-height: 100vh;
}

.dc-hero {
  padding: 70px 0 40px;
}

.dc-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.75rem;
  color: var(--dc-accent);
  font-weight: 700;
}

.dc-lead {
  font-size: 1.1rem;
  color: var(--dc-muted);
}

.dc-panel {
  background: var(--dc-card);
  padding: 28px;
  border-radius: 20px;
  box-shadow: var(--dc-shadow);
}

.dc-form .btn-primary {
  background: var(--dc-accent);
  border-color: var(--dc-accent);
}

.dc-form .btn-primary:hover {
  background: var(--dc-accent-dark);
  border-color: var(--dc-accent-dark);
}

.dc-main {
  padding-bottom: 80px;
}

.dc-results {
  margin-top: 20px;
}

.dc-score-card {
  background: var(--dc-card);
  padding: 24px;
  border-radius: 24px;
  box-shadow: var(--dc-shadow);
  position: sticky;
  top: 20px;
}

.score-ring {
  position: relative;
  width: 160px;
  height: 160px;
  margin: 0 auto 12px;
}

.score-ring svg {
  width: 160px;
  height: 160px;
}

.score-ring .track {
  fill: none;
  stroke: #e5e7eb;
  stroke-width: 12;
}

.score-ring .progress {
  fill: none;
  stroke: var(--dc-accent);
  stroke-width: 12;
  stroke-linecap: round;
  transform: rotate(-90deg);
  transform-origin: 50% 50%;
  transition: stroke-dashoffset 0.8s ease, stroke 0.4s ease;
}

.score-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.score-value {
  font-size: 2.5rem;
  font-weight: 700;
}

.score-label {
  color: var(--dc-muted);
  font-size: 0.9rem;
}

.score-meta {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 16px;
}

.dc-top-actions h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.dc-top-actions ol {
  margin: 0;
  padding-left: 20px;
  color: var(--dc-muted);
}

.dc-tile {
  background: var(--dc-card);
  padding: 18px;
  border-radius: 18px;
  box-shadow: var(--dc-shadow);
}

.dc-tile-title {
  font-weight: 700;
  font-size: 1rem;
}

.dc-tile-status {
  margin: 10px 0;
}

.dc-tile-meta {
  color: var(--dc-muted);
  font-size: 0.9rem;
}

.dc-findings {
  margin-top: 24px;
  background: var(--dc-card);
  padding: 24px;
  border-radius: 24px;
  box-shadow: var(--dc-shadow);
}

.dc-findings h2 {
  margin: 0 0 16px;
}

.dc-domain {
  font-size: 0.9rem;
  color: var(--dc-muted);
}

.accordion-button {
  font-weight: 600;
}

.finding-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.finding-section {
  margin: 20px 0 8px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  color: var(--dc-muted);
}

.finding-details {
  color: var(--dc-muted);
  font-size: 0.9rem;
}

.finding-details-title {
  margin-top: 12px;
  font-weight: 600;
  font-size: 0.9rem;
}

.finding-copy {
  margin-top: 12px;
  background: #f8fafc;
  border-radius: 12px;
  padding: 12px;
  font-family: "Courier New", monospace;
  font-size: 0.85rem;
  white-space: pre-wrap;
}

.copy-btn {
  margin-top: 8px;
}

.dc-lead {
  background: linear-gradient(120deg, #fff, #f8fafc);
  padding: 24px;
  border-radius: 24px;
  box-shadow: var(--dc-shadow);
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
}

.dc-lead-body h3 {
  margin: 0 0 8px;
}

@media (max-width: 992px) {
  .dc-score-card {
    position: static;
  }
}
