@font-face {
  font-family: "Golos Text";
  src: url("./fonts/GolosText.ttf") format("truetype");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}
:root {
  --font: "Golos Text", system-ui, sans-serif;
  font-family: var(--font);
  color: #ededeb;
  background: #080808;
  color-scheme: dark;
  font-synthesis: none;
  --line: #292929;
  --muted: #a2a2a0;
  --accent: #c5e66b;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}
button:disabled {
  cursor: wait;
  opacity: 0.65;
}
a {
  color: inherit;
}
button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}
[hidden] {
  display: none !important;
}
.shell {
  width: min(1160px, calc(100% - 72px));
  margin: auto;
}
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  text-decoration: none;
  font-weight: 650;
  font-size: 22px;
  letter-spacing: -0.7px;
}
.brand small {
  display: block;
  font: 400 10px var(--font);
  color: var(--muted);
  letter-spacing: 0;
  margin-top: 6px;
}
.logo {
  background: var(--accent);
  color: #111;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  font-size: 32px;
  border-radius: 9px;
}
.quiet {
  padding: 8px 0;
  border: 0;
  background: transparent;
  font-size: 13px;
}
.quiet:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.quiet span {
  margin-left: 12px;
}
.intro {
  padding: 57px 0 37px;
  position: relative;
}
.kicker {
  font: 500 11px var(--font);
  letter-spacing: 0.2px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
}
.dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}
h1 {
  font-size: clamp(35px, 4.2vw, 54px);
  letter-spacing: -1.8px;
  line-height: 1.16;
  font-weight: 500;
  margin: 22px 0 18px;
}
h1 span {
  color: #898989;
}
.intro-copy {
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
}
.instrument {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #111111;
  overflow: hidden;
  box-shadow: none;
}
.instrument-top {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  padding: 17px 25px;
  font: 400 11px var(--font);
  color: var(--muted);
  letter-spacing: 0;
}
.instrument-top .dot {
  margin-right: 7px;
}
.separator {
  color: #666;
  margin: 0 10px;
}
.instrument-body {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
}
.readout {
  padding: 34px 36px 28px;
  border-right: 1px solid var(--line);
}
.reading-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font: 500 12px var(--font);
  letter-spacing: 0;
}
.unit {
  color: var(--muted);
  font-size: 11px;
}
.digits {
  font-family: var(--font);
  font-size: clamp(80px, 9vw, 126px);
  line-height: 1.15;
  letter-spacing: -7px;
  margin: 13px 0 12px;
  font-weight: 450;
  font-variant-numeric: tabular-nums;
}
.decimal {
  color: #777;
  font-size: 0.55em;
  letter-spacing: -3px;
}
.verdict {
  display: flex;
  gap: 9px;
  align-items: center;
}
.status-square {
  width: 7px;
  height: 7px;
  background: var(--accent);
  flex-shrink: 0;
}
.verdict h2 {
  font: 500 13px var(--font);
  letter-spacing: 0;
  margin: 0;
}
.readout > p:not(.measurement-note) {
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 350px;
  min-height: 44px;
  margin: 12px 0 22px;
}
.actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.primary {
  background: var(--accent);
  border: 1px solid var(--accent);
  color: #111;
  border-radius: 5px;
  padding: 17px 19px;
  font: 550 12px var(--font);
  letter-spacing: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  min-height: 48px;
}
.primary:hover:not(:disabled) {
  background: #d6ee99;
}
.primary:active:not(:disabled) {
  transform: translateY(1px);
}
.reset {
  border: 0;
  background: transparent;
  text-decoration: underline;
  font-size: 11px;
  padding: 10px 0;
}
.measurement-note {
  font-size: 11px;
  line-height: 1.6;
  color: var(--muted);
  margin: 13px 0 0;
}
.dial-side {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 16px 30px 25px;
  background: #111;
}
.dial {
  width: 100%;
  max-height: 280px;
  overflow: visible;
}
.dial-base {
  fill: none;
  stroke: #2c2c2c;
  stroke-width: 18;
}
.dial-progress {
  fill: none;
  stroke: var(--accent);
  stroke-width: 18;
  stroke-dasharray: 0 100;
  transition: stroke-dasharray 0.8s ease;
}
.dial-ticks {
  stroke: #646464;
  stroke-width: 1;
}
.dial text {
  font: 11px var(--font);
  fill: #a2a2a0;
}
.dial .dial-caption {
  font-size: 9px;
  letter-spacing: 0;
}
.needle {
  transform-origin: 200px 210px;
  transform: rotate(0deg);
  transition: transform 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.needle path {
  stroke: #e9e9e5;
  stroke-width: 3;
  stroke-linecap: round;
}
.needle circle {
  fill: #e9e9e5;
  stroke: #111;
  stroke-width: 4;
}
.dial-footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font: 11px var(--font);
  padding: 10px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
}
.dial-footer strong {
  font-weight: 400;
  color: #d4d4cf;
}
.ticker {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 16px 25px;
  border-top: 1px solid var(--line);
  background: #171717;
  font-size: 12px;
}
.ticker-label {
  font: 10px var(--font);
  letter-spacing: 0;
  color: var(--muted);
  white-space: nowrap;
}
.cross {
  margin-left: auto;
  font-size: 21px;
  color: var(--accent);
}
.forecast-section {
  margin-top: 39px;
}
.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 18px;
}
.section-title h2 {
  font-weight: 500;
  font-size: 18px;
  letter-spacing: -0.5px;
  margin: 0;
}
.section-title > span {
  font: 10px var(--font);
  letter-spacing: 0;
  color: var(--muted);
}
.forecast {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: 9px;
  overflow: hidden;
}
.day {
  padding: 18px 16px;
  border-right: 1px solid var(--line);
  min-width: 0;
}
.day:last-child {
  border: 0;
}
.day.today {
  background: #1b2113;
}
.day-name {
  font: 11px var(--font);
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 5px;
}
.day-date {
  font-size: 10px;
  opacity: 0.75;
}
.day-value {
  font: 450 30px var(--font);
  font-variant-numeric: tabular-nums;
  letter-spacing: -1px;
  margin: 21px 0 12px;
}
.day-bar {
  height: 3px;
  background: #292929;
  margin-bottom: 13px;
}
.day-bar span {
  display: block;
  height: 100%;
  background: var(--accent);
  transform-origin: left;
  transform: scaleX(var(--level, 0));
}
.day-caption {
  font-size: 11px;
  line-height: 1.6;
  min-height: 30px;
  color: var(--muted);
}
.bottom-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  margin: 44px 0;
}
.field-note {
  padding: 26px 0;
}
.field-note > .kicker {
  font-size: 11px;
  color: var(--muted);
}
.field-note h2 {
  font-size: 27px;
  font-weight: 500;
  letter-spacing: -1px;
  line-height: 1.2;
  margin: 18px 0 14px;
}
.field-note p {
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
  max-width: 310px;
}
.history-panel {
  padding: 26px 0;
  border-top: 1px solid var(--line);
}
.history-panel ol {
  list-style: none;
  margin: 0;
  padding: 0;
}
.history-row {
  display: flex;
  gap: 15px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font: 11px var(--font);
}
.history-row strong {
  font-size: 18px;
  font-weight: 400;
  margin-left: auto;
}
.history-row time {
  color: var(--muted);
}
.empty {
  font-size: 12px;
  color: var(--muted);
  padding: 18px 0;
  line-height: 1.8;
}
.small {
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
}
footer {
  border-top: 1px solid var(--line);
  padding: 25px 0 32px;
  display: flex;
  align-items: center;
  gap: 40px;
}
.footer-brand {
  font: 600 12px var(--font);
}
footer p {
  font-size: 11px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0;
}
.footer-end {
  margin-left: auto;
  font: 10px var(--font);
  color: var(--muted);
}
dialog {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #141414;
  color: #ededeb;
  padding: 28px;
  max-width: 560px;
  width: calc(100% - 32px);
  max-height: 85svh;
}
dialog::backdrop {
  background: #000b;
  backdrop-filter: blur(3px);
}
.dialog-top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}
.dialog-top .kicker {
  font-size: 10px;
}
dialog h2 {
  font-size: 29px;
  font-weight: 500;
  letter-spacing: -1px;
}
dialog p {
  font-size: 13px;
  line-height: 1.8;
}
dialog .small {
  font-size: 11px;
}
.skip {
  position: absolute;
  top: -100px;
  background: var(--accent);
  color: #111;
  padding: 14px;
  z-index: 5;
}
.skip:focus {
  top: 5px;
}
.noscript {
  padding: 20px;
  background: var(--accent);
  color: #111;
  font-size: 14px;
}
body.measuring .status-square {
  background: #d5a747;
}
@media (min-width: 1250px) {
  .intro-copy {
    position: absolute;
    right: 0;
    bottom: 43px;
    max-width: 300px;
    font-size: 12px;
  }
}
@media (max-width: 760px) {
  .shell {
    width: calc(100% - 32px);
  }
  .header {
    padding: 20px 0;
  }
  .brand {
    font-size: 19px;
  }
  .brand small {
    display: none;
  }
  .logo {
    width: 35px;
    height: 35px;
    font-size: 26px;
  }
  .header > .quiet {
    font-size: 10px;
    max-width: 95px;
    text-align: right;
  }
  .intro {
    padding: 35px 0 22px;
  }
  h1 {
    letter-spacing: -1.5px;
  }
  .kicker {
    font-size: 10px;
    letter-spacing: 0;
  }
  .instrument-top {
    padding: 14px 16px;
    font-size: 9px;
    letter-spacing: 0;
    gap: 10px;
  }
  .separator {
    margin: 0 4px;
  }
  .instrument-body {
    grid-template-columns: 1fr;
  }
  .readout {
    padding: 26px 22px 22px;
    border-right: 0;
  }
  .digits {
    font-size: 108px;
  }
  .dial-side {
    border-top: 1px solid var(--line);
    padding: 15px 24px 20px;
  }
  .dial {
    max-height: 230px;
  }
  .ticker {
    gap: 10px;
    padding: 14px 16px;
    font-size: 12px;
  }
  .ticker-label {
    display: none;
  }
  .forecast {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .day {
    padding: 15px 10px;
    border-bottom: 1px solid var(--line);
  }
  .day:nth-child(4) {
    border-right: 0;
  }
  .day:nth-child(n + 5) {
    border-bottom: 0;
  }
  .day:last-child {
    border-right: 1px solid var(--line);
  }
  .day-date {
    display: none;
  }
  .day-value {
    font-size: 25px;
    margin-top: 17px;
  }
  .section-title h2 {
    font-size: 17px;
  }
  .section-title > span {
    font-size: 9px;
  }
  .bottom-grid {
    grid-template-columns: 1fr;
    gap: 10px;
    margin: 26px 0;
  }
  .field-note {
    padding: 18px 0;
  }
  .history-panel {
    padding-top: 24px;
  }
  footer {
    gap: 16px;
    flex-wrap: wrap;
  }
  .footer-end {
    margin-left: 0;
    width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
