:root {
  color-scheme: light;
  --ink: #18332f;
  --text: #1a1a1a;
  --muted: #666666;
  --line: #e8e8e8;
  --paper: #f5f5f5;
  --white: #ffffff;
  --teal: #14a39f;
  --darkTeal: #0f5f5a;
  --pale: #d4f2f0;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--paper);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

button,
input {
  font: inherit;
}

a {
  color: var(--darkTeal);
  font-weight: 700;
  text-decoration: none;
}

.siteHeader {
  align-items: center;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  left: 0;
  min-height: 72px;
  padding: 0 clamp(20px, 6vw, 92px);
  position: sticky;
  right: 0;
  top: 0;
  z-index: 10;
}

.logo {
  color: var(--text);
  display: inline-grid;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  min-width: 116px;
}

.logo i {
  background: var(--teal);
  border-radius: 999px;
  display: block;
  height: 2px;
  margin-top: 8px;
  width: 100%;
}

nav {
  display: flex;
  gap: 24px;
}

nav a {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.hero {
  align-items: center;
  background: var(--white);
  color: var(--text);
  display: grid;
  min-height: calc(72vh - 72px);
  padding: 56px clamp(20px, 6vw, 92px) 64px;
}

.heroShell {
  align-items: center;
  display: grid;
  gap: clamp(32px, 6vw, 88px);
  grid-template-columns: minmax(0, 1fr) minmax(340px, 480px);
  max-width: 1200px;
  width: 100%;
}

.heroContent {
  max-width: 720px;
  width: 100%;
}

.brand,
.eyebrow {
  color: var(--darkTeal);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0 0 12px;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  line-height: 1.04;
  margin: 0 0 18px;
  max-width: 820px;
}

.heroText {
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  line-height: 1.65;
  margin-bottom: 32px;
  max-width: 620px;
}

.heroNote {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
  margin: 18px 0 0;
}

.search {
  align-items: end;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(160px, 220px) minmax(120px, 160px) auto;
  max-width: 720px;
  padding: 12px;
}

label {
  display: grid;
  gap: 8px;
  font-size: 0.86rem;
  font-weight: 800;
}

input {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--text);
  min-height: 48px;
  padding: 0 14px;
}

input:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(20, 163, 159, 0.12);
  outline: none;
}

button {
  background: var(--teal);
  border: 0;
  border-radius: 6px;
  color: var(--white);
  cursor: pointer;
  font-weight: 900;
  min-height: 48px;
  padding: 0 18px;
}

button:disabled {
  cursor: progress;
  opacity: 0.72;
}

button:hover:not(:disabled) {
  background: var(--darkTeal);
}

.error {
  color: #ffe4df;
  font-weight: 700;
}

.content {
  padding: 56px clamp(20px, 6vw, 92px) 80px;
}

.intro {
  align-items: end;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 520px);
  margin-bottom: 30px;
  padding-bottom: 26px;
}

h2,
h3,
h4,
h5,
p {
  margin-top: 0;
}

h2 {
  font-size: clamp(1.7rem, 3vw, 2.7rem);
  line-height: 1.05;
  margin-bottom: 0;
}

.intro p:last-child,
.placeholder p,
.empty {
  color: var(--muted);
  line-height: 1.6;
}

.report {
  align-items: start;
  display: grid;
  gap: 24px;
  grid-template-columns: 280px minmax(0, 1fr);
  max-width: 1200px;
}

.scorePanel,
.eventCard,
.placeholder {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.scorePanel {
  padding: 22px;
  position: sticky;
  top: 96px;
}

.scorePanel strong {
  display: inline-block;
  font-size: 4.8rem;
  line-height: 0.9;
}

.scorePanel span {
  color: var(--muted);
  font-weight: 800;
}

.events {
  display: grid;
  gap: 18px;
}

.band {
  display: grid;
  gap: 12px;
}

.bandHeader {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.bandHeader h3 {
  font-size: 1.25rem;
  margin: 0;
}

.bandHeader span,
.eventTop span {
  align-items: center;
  background: var(--pale);
  border-radius: 999px;
  color: var(--darkTeal);
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 900;
  min-height: 28px;
  padding: 0 10px;
}

.eventCard {
  display: grid;
  gap: 14px;
  padding: 24px;
}

.eventTop {
  display: flex;
  gap: 10px;
  justify-content: space-between;
}

.eventCard h4 {
  font-size: 1.3rem;
  line-height: 1.25;
  margin-bottom: 0;
}

.eventCard p {
  color: var(--muted);
  line-height: 1.58;
  margin-bottom: 0;
}

dl {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
}

dl div {
  border-top: 1px solid var(--line);
  padding-top: 10px;
}

dt {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

dd {
  font-weight: 800;
  margin: 4px 0 0;
}

.effects {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

h5 {
  font-size: 0.9rem;
  margin-bottom: 8px;
}

ul {
  color: var(--muted);
  margin: 0;
  padding-left: 18px;
}

.sourceRow {
  align-items: center;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 16px;
  justify-content: space-between;
  padding-top: 14px;
}

.sourceRow span {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.4;
}

.sourceRow a {
  white-space: nowrap;
}

li + li {
  margin-top: 4px;
}

.placeholder {
  min-height: 180px;
  padding: 34px;
}

.sourceBand {
  align-items: start;
  background: var(--white);
  border-top: 1px solid var(--line);
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 520px);
  padding: 64px clamp(20px, 6vw, 92px);
}

.radarVisual {
  background: #fbfdfd;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(15, 95, 90, 0.08);
  padding: 24px;
}

.visualTop {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 18px;
}

.visualTop span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.visualTop strong {
  color: var(--darkTeal);
  font-size: 2.1rem;
  line-height: 1;
}

.rings {
  aspect-ratio: 1;
  background: linear-gradient(180deg, #ffffff, #f8fbfb);
  border: 1px solid var(--line);
  border-radius: 8px;
  position: relative;
  overflow: hidden;
}

.ring {
  border: 1px solid rgba(20, 163, 159, 0.28);
  border-radius: 50%;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
}

.ring1 { height: 22%; width: 22%; }
.ring2 { height: 42%; width: 42%; }
.ring3 { height: 66%; width: 66%; }
.ring4 { height: 88%; width: 88%; }

.rings::after {
  background: var(--darkTeal);
  border: 4px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(15, 95, 90, 0.18);
  content: "";
  height: 14px;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 14px;
}

.pin {
  background: var(--teal);
  border: 3px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 4px 14px rgba(15, 95, 90, 0.2);
  height: 16px;
  position: absolute;
  width: 16px;
}

.pinA { left: 39%; top: 24%; }
.pinB { left: 64%; top: 38%; }
.pinC { left: 48%; top: 72%; }

.visualRows {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.visualRows div {
  align-items: center;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 14px;
  padding-top: 10px;
}

.visualRows span {
  color: var(--darkTeal);
  font-weight: 900;
  min-width: 52px;
}

.visualRows p {
  color: var(--muted);
  margin: 0;
}

.methodBand {
  background: var(--paper);
  border-top: 1px solid var(--line);
  display: grid;
  gap: 32px;
  padding: 64px clamp(20px, 6vw, 92px);
}

.methodSteps {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 1200px;
}

.methodSteps article {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
}

.methodSteps span {
  align-items: center;
  background: var(--pale);
  border-radius: 50%;
  color: var(--darkTeal);
  display: inline-flex;
  font-weight: 900;
  height: 32px;
  justify-content: center;
  margin-bottom: 18px;
  width: 32px;
}

.methodSteps h3 {
  margin-bottom: 8px;
}

.methodSteps p {
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

.sourceBand ul {
  list-style: none;
  padding: 0;
}

.sourceBand li {
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-weight: 700;
  padding: 14px 0;
}

@media (max-width: 820px) {
  .hero {
    min-height: auto;
    padding-top: 84px;
  }

  .heroShell,
  .search,
  .intro,
  .report,
  .effects,
  .sourceBand,
  .methodSteps {
    grid-template-columns: 1fr;
  }

  .radarVisual {
    order: -1;
  }

  .sourceRow {
    align-items: start;
    flex-direction: column;
  }

  .scorePanel {
    position: static;
  }

  dl {
    grid-template-columns: 1fr;
  }
}
