:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #171717;
  background: #f7f7f5;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 10% 0%, rgba(124, 60, 255, 0.12), transparent 32rem),
    #f7f7f5;
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

button,
.button,
.return-link {
  min-height: 44px;
}

:focus-visible {
  outline: 3px solid #7c3cff;
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 20;
  padding: 10px 14px;
  border-radius: 10px;
  background: #171717;
  color: #fff;
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 24px 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: center;
}

.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  text-decoration: none;
}

.brand__mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: #7c3cff;
  color: #fff;
  font-weight: 850;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  margin-top: 2px;
  color: #6a6670;
  font-size: 12px;
}

nav {
  display: flex;
  justify-content: center;
  gap: 6px;
}

nav a {
  padding: 10px 12px;
  border-radius: 999px;
  color: #5c5861;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

nav a:hover,
nav a[aria-current="page"] {
  color: #4f16d1;
  background: #eee7ff;
}

.return-link,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
  border: 1px solid #d9d5de;
  border-radius: 999px;
  background: #fff;
  color: #29252f;
  font-weight: 780;
  text-decoration: none;
  cursor: pointer;
}

.button--primary {
  border-color: #171717;
  background: #171717;
  color: #fff;
}

.button:hover,
.return-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(23, 23, 23, 0.09);
}

main {
  width: min(1180px, calc(100% - 40px));
  margin: 22px auto 72px;
}

.hero,
.policy-shell {
  border: 1px solid #e4e0e8;
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 30px 90px rgba(43, 29, 69, 0.08);
}

.hero {
  padding: clamp(32px, 6vw, 74px);
}

.eyebrow {
  margin: 0 0 14px;
  color: #6b2cff;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 860px;
  margin-bottom: 20px;
  font-size: clamp(42px, 7vw, 76px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.lede {
  max-width: 760px;
  color: #5c5861;
  font-size: clamp(18px, 2.1vw, 24px);
  line-height: 1.5;
}

.status-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 30px 0 44px;
}

.status-chip {
  padding: 9px 13px;
  border-radius: 999px;
  background: #e8f7ee;
  color: #126b36;
  font-size: 13px;
  font-weight: 800;
}

.status-chip--neutral {
  background: #f0edf4;
  color: #4f4a56;
}

.demo-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: 20px;
}

.card {
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid #e9e6ec;
  border-radius: 24px;
  background: #fbfafc;
}

.card__kicker {
  margin-bottom: 8px;
  color: #77717d;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.fixture {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 18px;
  align-items: center;
  margin: 26px 0;
}

.team:last-child {
  text-align: right;
}

.team strong,
.team span {
  display: block;
}

.team strong {
  font-size: clamp(20px, 3vw, 30px);
}

.team span {
  margin-top: 6px;
  color: #6a6670;
  font-size: 14px;
}

.versus {
  color: #8a8490;
  font-size: 12px;
  font-weight: 850;
}

.meter-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 8px;
  color: #4f4a56;
  font-size: 14px;
  font-weight: 700;
}

progress {
  width: 100%;
  height: 16px;
  overflow: hidden;
  border: 0;
  border-radius: 999px;
  background: #e8e4ed;
}

progress::-webkit-progress-bar {
  background: #e8e4ed;
}

progress::-webkit-progress-value {
  border-radius: 999px;
  background: linear-gradient(90deg, #7c3cff, #4f16d1);
}

progress::-moz-progress-bar {
  border-radius: 999px;
  background: linear-gradient(90deg, #7c3cff, #4f16d1);
}

.controls {
  margin-top: 28px;
}

.controls label {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
  font-weight: 730;
}

input[type="range"] {
  width: 100%;
  accent-color: #6b2cff;
}

.signal {
  min-height: 124px;
  margin-top: 24px;
  padding: 18px;
  border-left: 4px solid #7c3cff;
  border-radius: 0 16px 16px 0;
  background: #f0eaff;
}

.signal strong {
  display: block;
  margin-bottom: 8px;
}

.signal p {
  margin-bottom: 0;
  color: #51495c;
  line-height: 1.55;
}

.boundary-list,
.policy-list {
  padding: 0;
  list-style: none;
}

.boundary-list li,
.policy-list li {
  position: relative;
  padding: 16px 0 16px 30px;
  border-bottom: 1px solid #ebe8ee;
  color: #514d55;
  line-height: 1.5;
}

.boundary-list li::before,
.policy-list li::before {
  position: absolute;
  top: 19px;
  left: 2px;
  content: "✓";
  color: #159a50;
  font-weight: 900;
}

.boundary-list li:last-child,
.policy-list li:last-child {
  border-bottom: 0;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.fine-print {
  margin: 18px 0 0;
  color: #77717d;
  font-size: 12px;
  line-height: 1.5;
}

.policy-shell {
  max-width: 900px;
  padding: clamp(32px, 6vw, 72px);
  margin: 0 auto;
}

.policy-shell h1 {
  font-size: clamp(38px, 6vw, 64px);
}

.policy-shell h2 {
  margin-top: 36px;
  font-size: 22px;
}

.policy-shell p {
  color: #5c5861;
  font-size: 17px;
  line-height: 1.7;
}

.policy-shell a:not(.button) {
  color: #5b20de;
  font-weight: 700;
}

footer {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 0 0 42px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #77717d;
  font-size: 12px;
}

footer p {
  margin: 0;
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .demo-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .site-header,
  main,
  footer {
    width: min(100% - 24px, 1180px);
  }

  .site-header {
    gap: 16px;
    padding-top: 16px;
  }

  .brand strong {
    font-size: 14px;
  }

  .return-link {
    padding: 0 12px;
    font-size: 12px;
  }

  .hero,
  .policy-shell {
    border-radius: 24px;
  }

  .fixture {
    grid-template-columns: 1fr;
  }

  .team:last-child {
    text-align: left;
  }

  .versus {
    display: none;
  }

  footer {
    display: block;
  }

  footer p + p {
    margin-top: 8px;
  }
}
