body {
  margin: 0;
  font-family: "Space Grotesk", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: #05090d;
  color: #f3f4f6;
}
.wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.25rem;
}
.decency-nav {
  background: #020407;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.decency-nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.nav-brand {
  display: flex;
  gap: .6rem;
  align-items: center;
}
.nav-brand .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 16px rgba(20,184,166,.8);
}
.decency-nav nav a {
  margin-left: 1rem;
  color: rgba(243,244,246,.85);
  text-decoration: none;
  font-weight: 500;
}
.decency-nav nav a:hover {
  color: #fff;
}
.decency-footer {
  margin-top: 3rem;
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 1.5rem 0 3rem;
  background: #020407;
}
.decency-footer .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.decency-footer a {
  color: #14b8a6;
  text-decoration: none;
}
.decency-hero {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(280px,1fr));
  gap: 2rem;
  padding: 2rem 1.4rem;
  background: var(--brand-muted);
  border-radius: 20px;
  color: #f8fafc;
}
.decency-hero .kicker {
  text-transform: uppercase;
  letter-spacing: .2em;
  font-size: .8rem;
  color: rgba(248,250,252,.8);
}
.decency-hero h1 {
  margin: .2rem 0 1rem;
  font-size: clamp(2rem,4vw,3rem);
}
.decency-hero .lead {
  font-size: 1rem;
  max-width: 32ch;
  color: rgba(248,250,252,.85);
}
.hero-actions {
  margin-top: 1.4rem;
  display: flex;
  gap: .8rem;
  flex-wrap: wrap;
}
.hero-meter {
  justify-self: center;
  text-align: center;
}
.meter-arc {
  width: 220px;
  height: 110px;
  border-radius: 110px 110px 0 0;
  background: #031d1f;
  position: relative;
  overflow: hidden;
}
.meter-needle {
  --needle: 50;
  position: absolute;
  width: 6px;
  height: 110px;
  background: #f97316;
  left: calc(var(--needle) * 1.9px);
  bottom: 0;
  transform-origin: bottom center;
  transform: rotate(calc(-90deg + (var(--needle) * 1.8deg)));
  transition: transform .8s ease;
}
.meter-label {
  margin-top: .6rem;
  font-size: .9rem;
}
.decency-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
  grid-template-columns: repeat(auto-fit,minmax(260px,1fr));
}
.card {
  background: #0b1c24;
  border-radius: 18px;
  padding: 1.4rem;
  border: 1px solid rgba(255,255,255,0.03);
}
.card.highlight {
  background: #04161b;
  border-color: rgba(255,255,255,.06);
}
.decency-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.decency-grid li {
  margin-bottom: .5rem;
}
.muted {
  color: rgba(243,244,246,.65);
}
.muted.small {
  font-size: .85rem;
}
.decency-form .field {
  display:flex;
  flex-direction:column;
  gap:.35rem;
  margin-bottom:1rem;
}
.decency-form select,
.decency-form input[type="number"],
.decency-form input[type="text"] {
  padding:.65rem;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.15);
  background:#030a0e;
  color:#f3f4f6;
}
.results-card {
  text-align:center;
}
.score-display {
  font-size:4rem;
  margin:1rem 0;
}
.band-label {
  font-size:1.4rem;
  text-transform:uppercase;
  letter-spacing:.2em;
  color:var(--brand);
}
.results-card .actions {
  margin-top:1.5rem;
  display:flex;
  justify-content:center;
  gap:1rem;
  flex-wrap:wrap;
}
.stack {
  display:flex;
  flex-direction:column;
  gap:1rem;
}
.btn.accent {
  background: var(--brand);
  border-color: transparent;
  color: #04161b;
}
.btn.ghost {
  background: transparent;
  border-color: rgba(255,255,255,.4);
  color: #f8fafc;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .65rem 1.2rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.2);
  color: inherit;
  text-decoration: none;
  font-weight: 600;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(0,0,0,.25);
}
.quote {
  font-style: italic;
}
