:root {
  color-scheme: light;
  --ink: #14213d;
  --muted: #5c667a;
  --line: #d9e2ec;
  --paper: #f7f9fc;
  --surface: #ffffff;
  --teal: #08a88a;
  --blue: #2557a7;
  --coral: #e76f51;
  --gold: #f4b942;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, "Segoe UI", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 5vw, 72px);
  background: rgba(247, 249, 252, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand,
.nav-links,
.actions {
  display: flex;
  align-items: center;
}

.download-note {
  max-width: 42rem;
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

.brand {
  gap: 14px;
  font-weight: 800;
  font-size: 1.28rem;
}

.brand img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.nav-links {
  gap: 22px;
  color: var(--muted);
  font-size: 0.95rem;
}

.nav-links a:hover {
  color: var(--blue);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.72fr);
  align-items: center;
  gap: clamp(32px, 6vw, 88px);
  min-height: calc(100vh - 72px);
  padding: clamp(44px, 8vw, 96px) clamp(18px, 5vw, 72px) 56px;
  border-bottom: 1px solid var(--line);
}

.hero-copy {
  max-width: 720px;
}

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

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(3.8rem, 11vw, 8rem);
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.15rem;
}

.lead {
  max-width: 640px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: clamp(1.06rem, 2vw, 1.28rem);
  line-height: 1.8;
}

.actions {
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 8px;
  border: 1px solid var(--line);
  font-weight: 800;
}

.button.primary {
  color: #ffffff;
  background: var(--blue);
  border-color: var(--blue);
}

.button.secondary {
  color: var(--ink);
  background: var(--surface);
}

.button.download {
  color: #ffffff;
  background: var(--coral);
  border-color: var(--coral);
}

.product-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(8, 168, 138, 0.12), rgba(255, 255, 255, 0) 42%),
    var(--surface);
  box-shadow: 0 24px 80px rgba(20, 33, 61, 0.12);
}

.panel-header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 6px rgba(8, 168, 138, 0.12);
}

.panel-header strong {
  color: var(--teal);
}

.score-ring {
  display: grid;
  place-items: center;
  width: min(62vw, 260px);
  aspect-ratio: 1;
  margin: 36px auto;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, #ffffff 0 56%, transparent 57%),
    conic-gradient(var(--teal) 0 42%, var(--gold) 42% 64%, #e9eef5 64% 100%);
}

.score-ring span {
  font-size: 4.4rem;
  font-weight: 900;
  line-height: 1;
}

.score-ring small {
  color: var(--muted);
  font-weight: 700;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}

.metric-grid div {
  min-width: 0;
  padding: 18px;
  border-inline-start: 1px solid var(--line);
}

.metric-grid div:first-child {
  border-inline-start: 0;
}

.metric-grid span,
dt {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
}

.metric-grid strong {
  display: block;
  margin-top: 8px;
  font-size: 1.1rem;
}

.band,
.signals {
  padding: clamp(54px, 8vw, 96px) clamp(18px, 5vw, 72px);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 28px;
}

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

.steps article {
  min-height: 220px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.steps article span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 28px;
  border-radius: 50%;
  color: #ffffff;
  background: var(--coral);
  font-weight: 900;
}

.steps p,
.signals p {
  color: var(--muted);
  line-height: 1.75;
}

.signals {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.7fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: start;
  background: #ffffff;
  border-top: 1px solid var(--line);
}

.signals dl {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--paper);
}

.signals dl div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 16px;
  padding: 18px;
  border-bottom: 1px solid var(--line);
}

.signals dl div:last-child {
  border-bottom: 0;
}

dd {
  margin: 0;
  direction: ltr;
  text-align: left;
  font-family: Consolas, "Courier New", monospace;
  color: var(--blue);
  overflow-wrap: anywhere;
}

@media (max-width: 820px) {
  .topbar {
    position: static;
  }

  .nav-links {
    display: none;
  }

  .hero,
  .signals {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .steps,
  .metric-grid {
    grid-template-columns: 1fr;
  }

  .metric-grid div,
  .metric-grid div:first-child {
    border-top: 1px solid var(--line);
    border-inline-start: 0;
  }

  .signals dl div {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}
