:root {
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #101820;
  color: #f3f7f3;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(140deg, rgba(16, 24, 32, 0.92), rgba(22, 44, 43, 0.88)),
    url("https://images.unsplash.com/photo-1642790106117-e829e14a795f?auto=format&fit=crop&w=1200&q=75") center/cover fixed;
}

button {
  border: 0;
  border-radius: 8px;
  background: #6fd08c;
  color: #07100b;
  font-weight: 750;
  min-height: 44px;
  padding: 0 16px;
}

.shell {
  width: min(100%, 720px);
  margin: 0 auto;
  padding: max(20px, env(safe-area-inset-top)) 16px 28px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 112px;
}

.eyebrow {
  color: #9fd9b2;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0 0 6px;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(2.2rem, 16vw, 4.8rem);
  line-height: 0.92;
}

h2 {
  font-size: 1.05rem;
}

.pill {
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 8px 12px;
  min-width: 92px;
  text-align: center;
  background: rgba(16, 24, 32, 0.72);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

article,
.panel {
  background: rgba(9, 16, 18, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  backdrop-filter: blur(12px);
}

article {
  padding: 14px;
  min-height: 86px;
}

span {
  color: #b5c8c2;
  display: block;
  font-size: 0.78rem;
  margin-bottom: 8px;
}

strong {
  font-size: 1.45rem;
  overflow-wrap: anywhere;
}

.panel {
  margin-top: 12px;
  padding: 16px;
}

.panel-head,
.actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.ticker {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 18px;
}

.ticker > div {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 12px;
}

.actions {
  margin-top: 12px;
}

.actions button {
  flex: 1;
  background: #d9b44a;
}

@media (min-width: 620px) {
  .metrics {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .ticker {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
