:root {
  color-scheme: dark;

  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;

  --bg: #020817;
  --bg-deep: #020611;
  --panel: #07152f;
  --panel-2: #0a2145;
  --text: #f7f8fa;
  --muted: #aeb8ca;
  --line: rgba(255, 255, 255, 0.12);
  --accent: #d7dde8;
  --blue: #5aa7e1;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(
      circle at 82% 2%,
      rgba(47, 131, 202, 0.22),
      transparent 34rem
    ),
    linear-gradient(
      180deg,
      var(--panel) 0%,
      var(--bg-deep) 100%
    );
  color: var(--text);
}

a {
  color: inherit;
}

.site-header,
main,
footer {
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
}

.site-header {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}

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

.brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.brand strong,
.brand small {
  display: block;
}

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

.header-link {
  padding: 10px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--accent);
  text-decoration: none;
}

main {
  padding-block: 72px 84px;
}

.hero {
  max-width: 830px;
  margin-bottom: 38px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 760;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(2.8rem, 7vw, 5.4rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(1.45rem, 3vw, 2rem);
  letter-spacing: -0.025em;
}

.lead {
  max-width: 700px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

.primary-count {
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 6vw, 58px);
  border: 1px solid rgba(90, 167, 225, 0.25);
  border-radius: 30px;
  background:
    linear-gradient(
      135deg,
      rgba(7, 21, 47, 0.98),
      rgba(10, 33, 69, 0.90)
    );
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.30);
}

.primary-count p,
.primary-count span,
.primary-count strong {
  display: block;
}

.primary-count p {
  margin-bottom: 8px;
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 760;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.primary-count strong {
  margin-bottom: 8px;
  font-size: clamp(5.5rem, 17vw, 11rem);
  line-height: 0.82;
  letter-spacing: -0.075em;
  font-variant-numeric: tabular-nums;
}

.primary-count span {
  color: var(--muted);
}

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

.statistics-grid article {
  min-height: 162px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 19px;
  background: rgba(7, 21, 47, 0.78);
}

.statistics-grid span,
.statistics-grid strong,
.statistics-grid small {
  display: block;
}

.statistics-grid span {
  color: var(--muted);
  font-size: 0.77rem;
  font-weight: 740;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.statistics-grid strong {
  margin-block: 15px 5px;
  overflow-wrap: anywhere;
  font-size: clamp(2rem, 5vw, 3.3rem);
  letter-spacing: -0.045em;
}

.statistics-grid small {
  color: #8fa0b8;
}

.progress-panel,
.registry-note {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(7, 21, 47, 0.78);
}

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

.progress-heading > strong {
  color: var(--accent);
  font-size: 1.1rem;
}

.progress-track {
  height: 16px;
  overflow: hidden;
  margin-bottom: 23px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg);
}

.progress-value {
  width: 0;
  height: 100%;
  border-radius: inherit;
  background:
    linear-gradient(
      90deg,
      #2f83ca,
      #91c7ec
    );
  transition: width 500ms ease;
}

.progress-panel > p {
  max-width: 820px;
  color: var(--accent);
  line-height: 1.65;
}

.progress-panel .fineprint {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.registry-note {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 40px;
  margin-top: 18px;
}

.registry-note > p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.7;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.primary-action,
.secondary-action {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  border-radius: 999px;
  font-weight: 740;
  text-decoration: none;
}

.primary-action {
  background: var(--accent);
  color: #07162e;
}

.secondary-action {
  border: 1px solid var(--line);
  color: var(--accent);
}

.update-status {
  margin: 22px 0 0;
  color: #8fa0b8;
  font-size: 0.84rem;
}

footer {
  padding-block: 24px 40px;
  border-top: 1px solid var(--line);
  color: #7f8da3;
  font-size: 0.88rem;
}

footer p {
  margin-bottom: 0;
}

@media (max-width: 760px) {
  .statistics-grid {
    grid-template-columns: 1fr;
  }

  .progress-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .registry-note {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

@media (max-width: 540px) {
  .site-header {
    min-height: 72px;
  }

  .brand small {
    display: none;
  }

  .header-link {
    padding-inline: 11px;
    font-size: 0.84rem;
  }

  main {
    padding-top: 48px;
  }

  .primary-count,
  .progress-panel,
  .registry-note {
    padding: 20px;
    border-radius: 18px;
  }
}


/* =========================================================
   VIRELIA_MOBILE_TOUCH_TARGETS_V1
   ========================================================= */

@media (max-width: 760px) {
  .brand,
  .header-link {
    min-height: 44px;

    box-sizing: border-box;
  }

  .header-link {
    display: inline-flex;

    align-items: center;
    justify-content: center;
  }
}
