:root {
  color-scheme: dark;
  --bg: #020503;
  --bg-soft: #07100a;
  --panel: rgba(6, 18, 10, 0.82);
  --panel-border: rgba(39, 255, 95, 0.18);
  --text: #edf8ef;
  --muted: #9fb3a4;
  --green: #16ff45;
  --green-soft: #66ff83;
  --green-deep: #078824;
  --shadow: rgba(22, 255, 69, 0.2);
  --max-width: 1180px;
  --radius-xl: 36px;
  --radius-lg: 24px;
  --header-height: 88px;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 70% 10%, rgba(22, 255, 69, 0.07), transparent 28rem),
    radial-gradient(circle at 12% 78%, rgba(22, 255, 69, 0.05), transparent 22rem),
    linear-gradient(135deg, #020503 0%, #030803 45%, #000 100%);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  background-image:
    linear-gradient(rgba(30, 255, 79, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 255, 79, 0.035) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.22));
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(to bottom, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.72)),
    radial-gradient(circle at 50% 50%, transparent 0, rgba(0, 0, 0, 0.52) 74%);
}

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

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 5px;
}

.site-shell {
  width: min(100% - 40px, var(--max-width));
  margin: 0 auto;
  padding: 20px 0 32px;
}

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

.brand,
.nav-links {
  display: inline-flex;
  align-items: center;
}

.brand {
  gap: 12px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand-mark {
  width: 15px;
  height: 15px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 10px rgba(22, 255, 69, 0.72), 0 0 22px var(--shadow);
  animation: beat-dot 1.6s ease-in-out infinite;
}

.nav-links {
  gap: 8px;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.22);
  color: var(--muted);
  font-size: 0.92rem;
}

.nav-links a {
  padding: 10px 14px;
  border-radius: 999px;
  transition: color 180ms ease, background 180ms ease;
}

.nav-links a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(440px, 0.88fr);
  align-items: center;
  gap: clamp(24px, 4.5vw, 56px);
  padding: clamp(28px, 4vw, 56px) 0 36px;
}

.hero-copy {
  max-width: 680px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  color: var(--green-soft);
  font-size: clamp(0.78rem, 1.2vw, 0.9rem);
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 32px;
  height: 2px;
  content: "";
  background: var(--green);
  box-shadow: 0 0 14px var(--green);
}

h1 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(3.1rem, 6vw, 5.2rem);
  line-height: 0.9;
  letter-spacing: -0.08em;
}

.hero-text {
  max-width: 620px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.5vw, 1.22rem);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  gap: 10px;
  padding: 0 26px;
  color: #001f08;
  background: var(--green);
  box-shadow: 0 0 14px rgba(22, 255, 69, 0.28), 0 18px 48px rgba(22, 255, 69, 0.12);
}

.button-primary:hover {
  box-shadow: 0 0 22px rgba(22, 255, 69, 0.38), 0 22px 56px rgba(22, 255, 69, 0.16);
}

.button-icon {
  width: 21px;
  height: 21px;
  fill: currentColor;
}

.pulse-card {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(135deg, rgba(4, 14, 8, 0.96), rgba(0, 0, 0, 0.84)),
    var(--panel);
  box-shadow:
    inset 0 0 42px rgba(22, 255, 69, 0.04),
    0 28px 80px rgba(0, 0, 0, 0.42),
    0 0 48px rgba(22, 255, 69, 0.045);
}

.pulse-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(37, 255, 89, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 255, 89, 0.055) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: 0.46;
}

.pulse-grid::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(to bottom, rgba(0, 0, 0, 0.38), transparent 38%, rgba(0, 0, 0, 0.52)),
    linear-gradient(90deg, rgba(0, 0, 0, 0.72), transparent 22%, transparent 78%, rgba(0, 0, 0, 0.72));
}

.pulse-svg {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 118%;
  min-width: 620px;
  transform: translate(-50%, -52%);
  overflow: visible;
}

.pulse-line,
.pulse-glow,
.pulse-tail {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pulse-line {
  stroke: var(--green);
  stroke-width: 8;
  filter: drop-shadow(0 0 5px rgba(22, 255, 69, 0.75)) drop-shadow(0 0 14px rgba(22, 255, 69, 0.4));
  stroke-dasharray: 860 220;
  stroke-dashoffset: 1080;
  animation: pulse-flow 3.6s linear infinite;
}

.pulse-glow {
  stroke: rgba(22, 255, 69, 0.14);
  stroke-width: 22;
  filter: blur(8px);
  stroke-dasharray: 860 220;
  stroke-dashoffset: 1080;
  animation: pulse-flow 3.6s linear infinite;
}

.pulse-tail {
  stroke: rgba(22, 255, 69, 0.9);
  stroke-width: 5;
  filter: drop-shadow(0 0 5px rgba(22, 255, 69, 0.62)) drop-shadow(0 0 13px rgba(22, 255, 69, 0.38));
  opacity: 0.8;
}

.pulse-tail-left {
  animation: tail-breathe 3.6s ease-in-out infinite;
}

.pulse-tail-right {
  animation: tail-breathe 3.6s ease-in-out infinite reverse;
}

.pulse-meta {
  position: absolute;
  right: 28px;
  bottom: 28px;
  left: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(12px);
}

.pulse-meta span {
  color: var(--muted);
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.pulse-meta strong {
  color: var(--green-soft);
  font-size: clamp(1rem, 1.8vw, 1.18rem);
}

.proof {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding-bottom: 16px;
}

.proof article {
  min-height: 0;
  padding: 20px 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  background: rgba(0, 0, 0, 0.34);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.proof span {
  color: var(--green-soft);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.proof p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.focus {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(20px, 4vw, 44px);
  align-items: start;
  padding: clamp(24px, 4vw, 52px) 0 16px;
}

.section-heading {
  position: sticky;
  top: 24px;
}

.section-heading h2 {
  max-width: 11ch;
  margin: 0;
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  line-height: 0.92;
  letter-spacing: -0.075em;
}

.focus-grid {
  display: grid;
  gap: 12px;
}

.focus-grid article {
  padding: clamp(18px, 2.2vw, 24px);
  border: 1px solid rgba(39, 255, 95, 0.13);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(8, 24, 12, 0.72), rgba(0, 0, 0, 0.46)),
    rgba(0, 0, 0, 0.28);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.focus-grid span {
  color: var(--green-soft);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.focus-grid h3 {
  margin: 10px 0 0;
  font-size: clamp(1.2rem, 1.6vw, 1.5rem);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.focus-grid p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

@keyframes pulse-flow {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes tail-breathe {
  0%,
  100% {
    opacity: 0.72;
  }

  50% {
    opacity: 0.45;
  }
}

@keyframes beat-dot {
  0%,
  100% {
    transform: scale(1);
  }

  12% {
    transform: scale(1.35);
  }

  24% {
    transform: scale(0.94);
  }

  38% {
    transform: scale(1.18);
  }
}

@media (max-width: 1080px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 56px;
  }

  .hero-copy {
    max-width: 850px;
  }

  h1 {
    max-width: 14ch;
  }

  .pulse-card {
    min-height: 340px;
  }

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

  .focus {
    grid-template-columns: 1fr;
  }

  .section-heading {
    position: static;
  }

  .section-heading h2 {
    max-width: 14ch;
  }

}

@media (max-width: 720px) {
  :root {
    --header-height: auto;
    --radius-xl: 28px;
  }

  .site-shell {
    width: min(100% - 28px, var(--max-width));
    padding-top: 16px;
  }

  .site-header {
    align-items: flex-start;
  }

  .nav-links {
    font-size: 0.84rem;
  }

  .nav-links a {
    padding: 9px 10px;
  }

  .hero {
    gap: 28px;
    padding: 42px 0 32px;
  }

  h1 {
    max-width: 11ch;
    font-size: clamp(2.8rem, 16vw, 4.4rem);
    letter-spacing: -0.08em;
  }

  .hero-text {
    margin-top: 22px;
    line-height: 1.65;
  }

  .hero-actions {
    align-items: stretch;
    margin-top: 28px;
  }

  .button-primary {
    width: 100%;
  }

  .pulse-card {
    min-height: 280px;
  }

  .pulse-svg {
    width: 136%;
    min-width: 520px;
  }

  .pulse-grid {
    background-size: 46px 46px;
  }

  .pulse-meta {
    right: 16px;
    bottom: 16px;
    left: 16px;
    flex-direction: column;
    align-items: flex-start;
  }

  .proof {
    grid-template-columns: 1fr;
  }

  .proof article {
    min-height: auto;
  }

  .focus {
    padding-top: 36px;
  }
}

@media (max-width: 460px) {
  .site-header {
    flex-direction: column;
    gap: 18px;
  }

  .nav-links {
    width: 100%;
    justify-content: space-between;
  }

  h1 {
    max-width: 10ch;
  }

  .pulse-card {
    min-height: 280px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .pulse-line,
  .pulse-glow {
    stroke-dashoffset: 0;
    opacity: 1;
  }

  .pulse-tail {
    opacity: 0.8;
  }
}
