:root {
  color-scheme: dark;
  --ink: #eef2e8;
  --muted: #929a8f;
  --faint: #555d55;
  --panel: rgba(18, 23, 19, 0.82);
  --line: rgba(195, 207, 188, 0.16);
  --green: #b7d238;
  --green-hot: #d3eb59;
  --amber: #e3a341;
  --black: #090c0a;
  --progress: 28.25%;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--black);
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 72% 18%, rgba(112, 132, 64, 0.13), transparent 29rem),
    radial-gradient(circle at 13% 75%, rgba(70, 87, 54, 0.09), transparent 25rem),
    linear-gradient(145deg, #0b0e0c 0%, #111611 49%, #080b09 100%);
  font-family: "Arial Narrow", "Roboto Condensed", "Segoe UI", sans-serif;
  letter-spacing: 0.025em;
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  background-image:
    linear-gradient(rgba(181, 201, 173, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(181, 201, 173, 0.028) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, black, transparent 88%);
}

.noise {
  position: fixed;
  inset: 0;
  z-index: 10;
  pointer-events: none;
  opacity: 0.16;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.18'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

.scanline {
  position: fixed;
  inset: 0;
  z-index: 9;
  pointer-events: none;
  opacity: 0.055;
  background: repeating-linear-gradient(0deg, transparent 0 3px, #fff 4px);
}

.shell {
  display: grid;
  grid-template-rows: auto 1fr auto;
  width: min(1180px, calc(100% - 48px));
  min-height: 100vh;
  min-height: 100svh;
  margin: 0 auto;
}

.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  color: inherit;
  text-decoration: none;
}

.brand-mark,
.brand-number {
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: 2.1rem;
  line-height: 1;
  letter-spacing: -0.06em;
}

.brand-number {
  margin-left: 0.05em;
  color: var(--green);
}

.brand-divider {
  width: 1px;
  height: 32px;
  margin: 0 14px 0 17px;
  background: var(--line);
}

.brand-copy {
  color: var(--muted);
  font-family: Consolas, "Courier New", monospace;
  font-size: 0.64rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.16em;
}

.header-label {
  color: #bfc8ba;
  font-family: Consolas, "Courier New", monospace;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: clamp(48px, 8vw, 112px);
  align-items: center;
  min-height: 0;
  padding: clamp(30px, 5vh, 58px) 0;
}

.eyebrow {
  margin: 0 0 24px;
  color: var(--green);
  font-family: Consolas, "Courier New", monospace;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
}

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

h1 {
  max-width: 680px;
  margin-bottom: 24px;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(3.6rem, 6.5vw, 6.2rem);
  font-weight: 900;
  line-height: 0.89;
  letter-spacing: -0.025em;
  text-transform: uppercase;
}

h1 em {
  color: transparent;
  font-style: normal;
  -webkit-text-stroke: 1.5px var(--green);
  text-shadow: 0 0 25px rgba(183, 210, 56, 0.11);
}

.intro {
  max-width: 600px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

.progress-panel {
  position: relative;
  min-width: 0;
  overflow: hidden;
  padding: 46px clamp(28px, 4vw, 52px) 36px;
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.025), transparent 40%),
    var(--panel);
  box-shadow: 0 34px 70px rgba(0, 0, 0, 0.32);
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 22px 100%, 0 calc(100% - 22px));
}

.corner {
  position: absolute;
  width: 34px;
  height: 34px;
  pointer-events: none;
}

.corner-top {
  top: 10px;
  right: 10px;
  border-top: 1px solid var(--green);
  border-right: 1px solid var(--green);
}

.corner-bottom {
  bottom: 10px;
  left: 10px;
  border-bottom: 1px solid var(--green);
  border-left: 1px solid var(--green);
}

.dial {
  position: relative;
  display: grid;
  width: min(250px, 70vw);
  aspect-ratio: 1;
  margin: 0 auto 32px;
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, #111611 0 58%, transparent 58.5%),
    conic-gradient(var(--green) 0 var(--progress), rgba(226, 236, 220, 0.09) var(--progress) 100%);
  box-shadow: inset 0 0 0 1px rgba(220, 232, 214, 0.05), 0 0 45px rgba(183, 210, 56, 0.06);
}

.dial::before,
.dial::after {
  position: absolute;
  content: "";
  border-radius: 50%;
}

.dial::before {
  inset: 17px;
  border: 1px dashed rgba(209, 220, 202, 0.16);
}

.dial::after {
  inset: -9px;
  border: 1px solid rgba(209, 220, 202, 0.07);
}

.dial-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 1;
}

.dial-value {
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: 4rem;
  line-height: 0.95;
  letter-spacing: -0.02em;
}

.dial-value::after {
  margin-left: 2px;
  color: var(--green);
  content: "%";
  font-size: 1.25rem;
  vertical-align: top;
}

.dial-unit,
.label,
.metric-label {
  font-family: Consolas, "Courier New", monospace;
  text-transform: uppercase;
}

.dial-unit {
  margin-top: 9px;
  color: var(--faint);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.25em;
}

.progress-copy {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 14px;
}

.label {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 0.6rem;
  letter-spacing: 0.15em;
}

.fraction {
  margin: 0;
  white-space: nowrap;
}

.fraction strong {
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: 1.55rem;
  letter-spacing: 0.03em;
}

.fraction span {
  margin-left: 7px;
  color: var(--faint);
  font-family: Consolas, monospace;
  font-size: 0.72rem;
}

.fraction b {
  font-weight: inherit;
}

.bar {
  position: relative;
  height: 8px;
  overflow: visible;
  background: rgba(223, 232, 216, 0.09);
}

.bar-fill {
  display: block;
  width: var(--progress);
  height: 100%;
  background: linear-gradient(90deg, #8ea82c, var(--green-hot));
  box-shadow: 0 0 14px rgba(183, 210, 56, 0.22);
}

.tick {
  position: absolute;
  top: -3px;
  width: 1px;
  height: 14px;
  background: #343b34;
}

.tick-25 { left: 25%; }
.tick-50 { left: 50%; }
.tick-75 { left: 75%; }

.bar-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 9px;
  color: #4f574f;
  font-family: Consolas, monospace;
  font-size: 0.52rem;
}

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

.metric {
  position: relative;
  min-height: 140px;
  padding: 29px 36px 25px;
  border-right: 1px solid var(--line);
}

.metric:last-child {
  border-right: 0;
}

.metric::before {
  position: absolute;
  top: -1px;
  left: 36px;
  width: 42px;
  height: 2px;
  content: "";
  background: var(--faint);
}

.metric-primary::before {
  background: var(--green);
}

.metric-label {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.63rem;
  letter-spacing: 0.14em;
}

.metric-value {
  margin-bottom: 5px;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(2.35rem, 4vw, 3.4rem);
  line-height: 1;
  letter-spacing: 0.025em;
}

.metric-primary .metric-value {
  color: var(--green-hot);
}

@media (max-width: 880px) {
  .shell {
    display: block;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 55px;
    padding: 60px 0;
  }

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

  .progress-panel {
    width: min(100%, 520px);
  }

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

  .metric {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .metric:last-child {
    border-bottom: 0;
  }

}

@media (max-width: 540px) {
  .shell {
    width: min(100% - 28px, 1180px);
  }

  .brand-copy,
  .brand-divider {
    display: none;
  }

  .header-label {
    font-size: 0.58rem;
  }

  .hero {
    min-height: 0;
    padding: 50px 0 56px;
  }

  h1 {
    font-size: clamp(2.3rem, 12vw, 4rem);
  }

  .progress-panel {
    padding: 32px 18px 26px;
  }

  .dial {
    width: min(205px, 62vw);
    margin-bottom: 25px;
  }

  .dial-value {
    font-size: 2.8rem;
  }

  .dial-value::after {
    font-size: 1rem;
  }

  .progress-copy {
    gap: 10px;
  }

  .fraction strong {
    font-size: 1.35rem;
  }

  .fraction span {
    margin-left: 4px;
    font-size: 0.62rem;
  }

  .metric {
    padding-inline: 24px;
  }

  .metric::before {
    left: 24px;
  }

}
