:root {
  --bg: #090909;
  --panel: #111111;
  --panel-soft: #151515;
  --line: rgba(255, 255, 255, 0.1);
  --text: #f4f4f2;
  --muted: rgba(244, 244, 242, 0.68);
  --accent: #ffffff;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.32);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.07), transparent 28rem),
    linear-gradient(180deg, #0b0b0c 0%, #070707 100%);
  color: var(--text);
  font-family: "SF Pro Display", "Avenir Next", "Helvetica Neue", sans-serif;
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.page {
  width: min(100% - 40px, 1240px);
  margin: 0 auto;
  padding: 48px 0 72px;
}

.hero {
  padding: 40px 0 56px;
  border-bottom: 1px solid var(--line);
}

.kicker,
.eyebrow {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero h1 {
  margin-bottom: 18px;
  font-size: clamp(52px, 11vw, 108px);
  line-height: 0.94;
  font-weight: 560;
}

.lead {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(19px, 2.3vw, 30px);
  line-height: 1.3;
}

.visitor-stat {
  display: inline-grid;
  grid-template-columns: auto auto;
  gap: 4px 12px;
  align-items: baseline;
  min-width: 184px;
  margin-top: 28px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
}

.visitor-stat__label,
.visitor-stat__meta {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.2;
}

.visitor-stat__label {
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.visitor-stat__value {
  grid-row: span 2;
  justify-self: end;
  color: var(--accent);
  font-size: 28px;
  line-height: 0.95;
  font-weight: 560;
  font-variant-numeric: tabular-nums;
}

.layout {
  display: grid;
  gap: 36px;
  padding-top: 36px;
}

.section {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015));
  box-shadow: var(--shadow);
}

.section.compact {
  background: rgba(255, 255, 255, 0.02);
}

.section-head {
  margin-bottom: 22px;
}

.section-head h2 {
  margin-bottom: 0;
  font-size: clamp(24px, 3vw, 42px);
  line-height: 1.05;
  font-weight: 520;
}

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

.card {
  min-height: 220px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.card:hover,
.card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.28);
  background: var(--panel-soft);
  outline: none;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  margin-bottom: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.card h3 {
  margin-bottom: 12px;
  font-size: 26px;
  line-height: 1.05;
  font-weight: 520;
}

.card p,
.note {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

@media (max-width: 980px) {
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .page {
    width: min(100% - 24px, 1240px);
    padding: 24px 0 40px;
  }

  .hero {
    padding: 20px 0 34px;
  }

  .visitor-stat {
    width: 100%;
    min-width: 0;
  }

  .section {
    padding: 20px;
  }

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

  .card {
    min-height: 0;
  }
}
