﻿:root {
  --paper: #fff9e6;
  --ink: #152338;
  --lime: #22b573;
  --amber: #ffaf2f;
}

* { box-sizing: border-box; }

html,
body {
  min-height: 100%;
  margin: 0;
}

body {
  font-family: "IBM Plex Mono", monospace;
  color: var(--ink);
  background: linear-gradient(140deg, #fff6d2 0%, #e9ffd9 55%, #d8fff6 100%);
  padding: clamp(14px, 4vw, 32px);
  overflow: hidden;
}

.sunburst {
  position: fixed;
  width: 130vmax;
  height: 130vmax;
  left: 50%;
  top: 55%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: repeating-conic-gradient(
    from 0deg,
    rgba(255, 196, 48, 0.22) 0deg 10deg,
    rgba(255, 196, 48, 0.04) 10deg 20deg
  );
  animation: spin 36s linear infinite;
}

.rings {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at center, transparent 0 22%, rgba(34, 181, 115, 0.14) 22% 24%, transparent 24% 40%, rgba(21, 35, 56, 0.08) 40% 41%, transparent 41%);
}

.layout {
  min-height: calc(100vh - 64px);
  display: grid;
  place-items: center;
  position: relative;
  z-index: 1;
}

.hero {
  width: min(920px, 100%);
  border: 2px solid rgba(21, 35, 56, 0.16);
  border-radius: 28px;
  padding: clamp(20px, 5vw, 42px);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 20px 60px rgba(21, 35, 56, 0.18);
  backdrop-filter: blur(6px);
}

.chip {
  margin: 0;
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  font-weight: 600;
}

h1 {
  margin: 10px 0;
  font-family: "Syne", sans-serif;
  font-size: clamp(2.4rem, 10vw, 6.6rem);
  line-height: 0.9;
  text-transform: uppercase;
}

.lead {
  margin: 0;
  font-size: clamp(1rem, 2.1vw, 1.26rem);
  max-width: 50ch;
}

.meter {
  margin-top: 20px;
  display: grid;
  gap: 8px;
}

.meter span {
  display: block;
  position: relative;
  font-weight: 600;
  padding: 8px 12px;
  border: 1px solid rgba(21, 35, 56, 0.16);
  border-radius: 999px;
  overflow: hidden;
}

.meter span::before {
  content: "";
  position: absolute;
  inset: 0;
  width: var(--w);
  background: linear-gradient(90deg, var(--lime), var(--amber));
  opacity: 0.35;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

nav a {
  text-decoration: none;
  color: var(--ink);
  border: 1px solid rgba(21, 35, 56, 0.25);
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.72);
}

nav a:hover {
  background: rgba(34, 181, 115, 0.18);
}

@keyframes spin {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@media (max-width: 680px) {
  body {
    overflow-y: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
