:root {
  --bg: #0d0e10;
  --panel: #16181d;
  --panel-2: #1d2027;
  --text: #f4f1e8;
  --muted: #b8b2a5;
  --gold: #d8a64d;
  --amber: #ffbd5a;
  --red: #e85a4f;
  --line: rgba(255, 255, 255, 0.12);
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.45);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 20% 5%, rgba(216, 166, 77, 0.18), transparent 30%),
    radial-gradient(circle at 90% 25%, rgba(232, 90, 79, 0.12), transparent 24%),
    linear-gradient(145deg, #090a0c 0%, var(--bg) 45%, #111318 100%);
  min-height: 100vh;
}

a { color: inherit; }

.nav {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand small {
  display: block;
  color: var(--muted);
  margin-top: 2px;
}

.mark {
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-weight: 800;
  letter-spacing: -1px;
  background: linear-gradient(135deg, #20232a, #0c0d10);
  box-shadow: inset 0 0 0 1px rgba(216,166,77,.18);
  color: var(--gold);
}

nav {
  display: flex;
  gap: 18px;
  color: var(--muted);
  font-size: 15px;
}

nav a {
  text-decoration: none;
}

nav a:hover {
  color: var(--text);
}

main {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  padding: 74px 0 78px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr);
  gap: 56px;
  align-items: center;
}

.eyebrow {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: 13px;
  font-weight: 700;
}

h1 {
  font-size: clamp(48px, 8vw, 88px);
  line-height: .92;
  letter-spacing: -0.075em;
  margin: 16px 0 24px;
}

h2 {
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: -0.045em;
  margin: 0 0 14px;
}

h3 {
  margin: 0 0 10px;
  font-size: 21px;
}

.lead {
  color: var(--muted);
  max-width: 650px;
  font-size: clamp(18px, 2.2vw, 22px);
  line-height: 1.55;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  padding: 14px 19px;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid var(--line);
  font-weight: 700;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.primary {
  background: linear-gradient(135deg, var(--gold), var(--amber));
  color: #191207;
  border-color: transparent;
}

.ghost {
  color: var(--text);
  background: rgba(255,255,255,.04);
}

.meter-card {
  border: 1px solid var(--line);
  border-radius: 34px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.08), rgba(255,255,255,.02)),
    linear-gradient(145deg, #20232a, #101216);
  box-shadow: var(--shadow);
  padding: 30px;
  min-height: 390px;
  position: relative;
  overflow: hidden;
}

.meter-card::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: conic-gradient(from 170deg, transparent 0 48%, rgba(216,166,77,.12), transparent 56%);
  animation: sweep 7s linear infinite;
}

@keyframes sweep {
  to { transform: rotate(360deg); }
}

.meter-top, .dial, .meter-label {
  position: relative;
  z-index: 1;
}

.meter-top {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-bottom: 44px;
}

.led {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #343841;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
}

.led.on {
  background: var(--amber);
  box-shadow: 0 0 18px rgba(255,189,90,.9);
}

.dial {
  height: 220px;
  border-radius: 220px 220px 28px 28px;
  background:
    radial-gradient(circle at 50% 95%, rgba(216,166,77,.32), transparent 32%),
    linear-gradient(180deg, #f3ead6 0%, #c9b991 100%);
  color: #2b2116;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 54px;
  box-shadow: inset 0 2px 18px rgba(0,0,0,.25);
  overflow: hidden;
}

.scale {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 17px;
  font-weight: 800;
  opacity: .78;
}

.needle {
  position: absolute;
  width: 4px;
  height: 155px;
  background: linear-gradient(180deg, var(--red), #5f1110);
  bottom: 18px;
  left: 50%;
  transform-origin: bottom center;
  transform: rotate(24deg);
  border-radius: 999px;
  box-shadow: 0 0 18px rgba(232,90,79,.38);
}

.pivot {
  position: absolute;
  bottom: 5px;
  left: calc(50% - 18px);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #171410;
  border: 5px solid #4d3d25;
}

.meter-label {
  text-align: center;
  margin-top: 26px;
  color: var(--gold);
  font-weight: 900;
  letter-spacing: .28em;
}

.panel, .grid article {
  border: 1px solid var(--line);
  background: rgba(255,255,255,.045);
  backdrop-filter: blur(18px);
  border-radius: 28px;
  padding: 30px;
}

.panel {
  display: grid;
  grid-template-columns: .7fr 1fr;
  gap: 36px;
  margin-bottom: 18px;
}

.panel p, .grid p {
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}

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

.subtle {
  display: block;
  background: linear-gradient(135deg, rgba(216,166,77,.10), rgba(255,255,255,.035));
}

footer {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 42px 0 56px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  margin-top: 56px;
}

footer a {
  color: var(--text);
  text-decoration: none;
}

@media (max-width: 840px) {
  .nav, footer {
    flex-direction: column;
    align-items: flex-start;
  }

  nav {
    flex-wrap: wrap;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 34px;
  }

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

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