:root {
  --bg: #050505;
  --bg-soft: #0d0d0d;
  --panel: rgba(255, 255, 255, 0.035);
  --panel-strong: rgba(255, 255, 255, 0.06);
  --text: #f4f4f4;
  --muted: #b7b7b7;
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.28);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at top center, rgba(255, 255, 255, 0.08), transparent 28%),
    linear-gradient(180deg, #0b0b0b 0%, var(--bg) 100%);
  font-family: "Inter", Arial, sans-serif;
  overflow-x: hidden;
}

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

p,
h1,
h2,
ul {
  margin: 0;
}

ul {
  padding-left: 1.2rem;
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 24px 24px;
}

.page-shell {
  position: relative;
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.25rem 0 2.5rem;
}

.topbar,
.footer,
.grid-section,
.hero {
  position: relative;
  z-index: 1;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0 1.5rem;
  border-bottom: 1px solid var(--line);
  animation: fade-up 0.8s ease both;
}

.eyebrow,
.section-label,
.card-label,
.contact-link,
.footer,
.button,
.inline-link {
  font-family: "IBM Plex Mono", "Courier New", monospace;
}

.eyebrow,
.contact-link,
.section-label,
.card-label {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-link,
.inline-link {
  transition: opacity 160ms ease, transform 160ms ease;
}

.footer-link {
  color: var(--text);
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 0.08rem;
}

.contact-link:hover,
.inline-link:hover,
.button:hover {
  opacity: 0.72;
}

.hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  padding: 4.2rem 0 2.2rem;
  text-align: center;
  justify-items: center;
}

.hero-copy {
  display: grid;
  gap: 1.25rem;
  justify-items: center;
}

.hero h1 {
  width: min(100%, 12.8ch);
  max-width: 12.8ch;
  font-family: "Times New Roman", Times, serif;
  font-size: clamp(2.25rem, 4.4vw, 4.2rem);
  line-height: 1;
  letter-spacing: -0.05em;
  margin-inline: auto;
}

.hero-title {
  display: grid;
  gap: 0.12em;
}

.title-line {
  display: block;
  text-wrap: balance;
}

.emphasis-word {
  position: relative;
  display: inline-block;
  padding-inline: 0.02em;
}

.emphasis-word::after {
  content: "";
  position: absolute;
  inset: -0.16em -0.24em -0.12em -0.24em;
  border: 2px solid rgba(255, 255, 255, 0.82);
  border-radius: 999px;
  transform: scale(0.82) rotate(-4deg);
  transform-origin: center;
  animation: marker-loop 0.95s ease-out 0.08s both;
}

.emphasis-word::before {
  content: "";
  position: absolute;
  inset: -0.22em -0.14em -0.2em -0.18em;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  transform: scale(0.88) rotate(3deg);
  transform-origin: center;
  animation: marker-loop-secondary 1.05s ease-out 0.14s both;
}

.lead {
  max-width: 52ch;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  padding-top: 0.35rem;
  width: min(100%, 34rem);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.8rem 1.2rem;
  max-width: 100%;
  border: 1px solid var(--line-strong);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
  transition: opacity 160ms ease, background-color 160ms ease, color 160ms ease;
}

.button-primary {
  background: var(--text);
  color: var(--bg);
}

.button-secondary {
  background: transparent;
}

.hero-card,
.panel {
  backdrop-filter: blur(10px);
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero-card {
  display: grid;
  align-content: start;
  gap: 1.4rem;
  width: min(100%, 540px);
  padding: 1.6rem;
  background: var(--panel-strong);
  animation: fade-up 1.3s ease both;
}

.card-value {
  margin-top: 0.4rem;
  font-size: 1rem;
  line-height: 1.55;
}

.grid-section {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  padding: 1rem 0 3rem;
  text-align: center;
}

.panel {
  display: grid;
  gap: 0.9rem;
  padding: 1.35rem;
  justify-items: center;
  animation: fade-up 1.4s ease both;
}

.panel-wide h2 {
  font-family: "Times New Roman", Times, serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.panel p,
.panel li {
  color: var(--muted);
  line-height: 1.7;
}

.panel ul {
  text-align: left;
}

.inline-link {
  width: fit-content;
  padding-bottom: 0.12rem;
  border-bottom: 1px solid var(--line-strong);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer {
  display: flex;
  justify-content: center;
  gap: 1rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.74rem;
  letter-spacing: 0.05em;
  animation: fade-up 1.5s ease both;
  text-align: center;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(26px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes marker-loop {
  from {
    opacity: 0;
    transform: scale(0.72) rotate(-8deg);
  }

  60% {
    opacity: 1;
    transform: scale(1.04) rotate(-2deg);
  }

  to {
    opacity: 1;
    transform: scale(1) rotate(-4deg);
  }
}

@keyframes marker-loop-secondary {
  from {
    opacity: 0;
    transform: scale(0.78) rotate(8deg);
  }

  55% {
    opacity: 0.7;
    transform: scale(1.03) rotate(1deg);
  }

  to {
    opacity: 0.72;
    transform: scale(1) rotate(3deg);
  }
}

@media (max-width: 900px) {
  .grid-section,
  .footer {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 3.25rem;
  }

  .footer {
    display: grid;
    text-align: center;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(100% - 1.2rem, 1120px);
    padding-top: 0.8rem;
  }

  .topbar {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .hero h1 {
    width: min(100%, 11.6ch);
    max-width: 11.6ch;
    font-size: clamp(2.35rem, 11vw, 3.8rem);
  }

  .lead,
  .card-value,
  .panel p,
  .panel li {
    font-size: 0.98rem;
  }

  .button {
    width: 100%;
  }
}
