:root {
  --bg: #040806;
  --bg-deep: #010302;
  --surface: #0b1110;
  --surface-strong: #101918;
  --line: rgba(255, 255, 255, 0.12);
  --line-soft: rgba(255, 255, 255, 0.07);
  --text: #ffffff;
  --muted: #aab7b2;
  --muted-strong: #d9e2dd;
  --green: #76ff03;
  --green-deep: #39d400;
  --green-soft: rgba(118, 255, 3, 0.16);
  --blue: #39a8ff;
  --blue-soft: rgba(57, 168, 255, 0.18);
  --danger: #ff6b6b;
  --success: #86ff6a;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
  --container: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background:
    linear-gradient(rgba(118, 255, 3, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(118, 255, 3, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, #050907 0%, #020403 48%, #050809 100%);
  background-size: 68px 68px, 68px 68px, 100% 100%;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.1) 52%, rgba(0, 0, 0, 0.82) 100%),
    radial-gradient(ellipse at 82% 18%, rgba(118, 255, 3, 0.11) 0%, transparent 36%),
    radial-gradient(ellipse at 50% 62%, rgba(57, 168, 255, 0.08) 0%, transparent 44%);
  pointer-events: none;
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  background-image: radial-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 18px 18px;
  opacity: 0.12;
  mask-image: linear-gradient(90deg, transparent, black 28%, black 72%, transparent);
  pointer-events: none;
}

img {
  max-width: 100%;
  display: block;
}

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  transform: translateY(-140%);
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--green);
  color: #061006;
  font-weight: 800;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--line-soft);
  background: rgba(4, 8, 6, 0.82);
  backdrop-filter: blur(18px);
}

.nav-shell {
  display: flex;
  align-items: center;
  gap: 24px;
  width: min(var(--container), calc(100% - 40px));
  min-height: 74px;
  margin: 0 auto;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  font-weight: 900;
}

.brand-icon {
  width: 100px;
  /* height: 40px; */
  object-fit: contain;
  /* border: 1px solid rgba(118, 255, 3, 0.3); */
  /* border-radius: 8px; */
  /* background: #010302; */
  /* box-shadow: 0 0 22px rgba(118, 255, 3, 0.18); */
}

.brand-name {
  color: var(--text);
  font-size: 1.18rem;
  line-height: 1;
}

.brand-name strong {
  color: var(--green);
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex: 1;
}

.nav-links a {
  min-height: 38px;
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--muted-strong);
  font-size: 0.92rem;
  font-weight: 700;
}

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

.hero-section {
  position: relative;
  overflow: hidden;
  padding: 72px 20px 64px;
  border-bottom: 1px solid var(--line-soft);
  background:
    radial-gradient(ellipse at 86% 32%, rgba(118, 255, 3, 0.14), transparent 36%),
    radial-gradient(ellipse at 60% 70%, rgba(57, 168, 255, 0.08), transparent 42%),
    linear-gradient(180deg, rgba(5, 12, 9, 0.96) 0%, rgba(2, 5, 4, 0.98) 100%);
}

.hero-section::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(90deg, rgba(4, 8, 6, 0.42) 0%, rgba(4, 8, 6, 0.08) 52%, rgba(4, 8, 6, 0.42) 100%),
    linear-gradient(rgba(118, 255, 3, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(118, 255, 3, 0.035) 1px, transparent 1px);
  background-size: 100% 100%, 68px 68px, 68px 68px;
}

.hero-grid,
.section,
.site-footer {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

.hero-grid {
  display: block;
}

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

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

.eyebrow.blue {
  color: var(--blue);
}

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

h1,
h2,
h3 {
  line-height: 1.05;
  letter-spacing: 0;
}

h1 {
  margin-bottom: 14px;
  font-size: 5.25rem;
  font-style: italic;
  font-weight: 950;
}

h2 {
  margin-bottom: 18px;
  font-size: 3rem;
  font-weight: 900;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.16rem;
  font-weight: 850;
}

.hero-statement {
  max-width: 640px;
  margin-bottom: 18px;
  color: var(--text);
  font-size: 2rem;
  font-weight: 850;
  line-height: 1.12;
}

.hero-subcopy,
.section-heading p,
.section-copy p {
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-subcopy {
  max-width: 620px;
  margin-bottom: 28px;
}

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

.button-primary,
.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 850;
  transition: transform 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

.button-primary {
  background: linear-gradient(180deg, var(--green) 0%, #54e100 100%);
  color: #061006;
  box-shadow: 0 12px 32px rgba(118, 255, 3, 0.2);
}

.button-secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
}

.button-primary:hover,
.button-secondary:hover {
  transform: translateY(-1px);
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 620px;
}

.hero-proof span {
  padding: 8px 10px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted-strong);
  font-size: 0.88rem;
  font-weight: 750;
}

.stat-callouts {
  display: grid;
  gap: 8px;
}

.stat-callouts div {
  min-width: 0;
  padding: 10px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
}

.stat-callouts span {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
}

.stat-callouts strong {
  display: block;
  color: var(--text);
  font-size: 1.35rem;
  font-weight: 950;
  line-height: 1;
}

.feature-mark {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--green-soft);
}

.feature-mark::before {
  display: block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--green);
  content: "";
}

main > section {
  scroll-margin-top: 92px;
}

.section {
  padding: 82px 0;
}

.overview-section {
  padding-top: 28px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 36px;
}

.section-heading h2 {
  max-width: 720px;
}

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

.feature-card {
  min-height: 250px;
  padding: 22px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: rgba(12, 20, 17, 0.88);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
}

.feature-card-blue {
  border-color: rgba(57, 168, 255, 0.2);
}

.feature-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.feature-mark {
  width: 42px;
  height: 42px;
  margin-bottom: 20px;
}

.feature-card-blue .feature-mark {
  background: var(--blue-soft);
}

.feature-card-blue .feature-mark::before {
  background: var(--blue);
}

.split-section {
  display: block;
}

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

.check-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 26px 0 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 34px;
  color: var(--muted-strong);
  font-weight: 700;
}

.check-list li::before {
  position: absolute;
  top: 2px;
  left: 0;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--green);
  color: #061006;
  content: "";
}

.check-list li::after {
  position: absolute;
  top: 8px;
  left: 7px;
  width: 8px;
  height: 5px;
  transform: rotate(-45deg);
  border-bottom: 3px solid #061006;
  border-left: 3px solid #061006;
  content: "";
}

.blue-list li::before {
  background: var(--blue);
  color: #021523;
}

.feed-section {
  width: 100%;
  max-width: none;
  padding-right: max(20px, calc((100% - var(--container)) / 2));
  padding-left: max(20px, calc((100% - var(--container)) / 2));
  background: linear-gradient(90deg, rgba(118, 255, 3, 0.04), rgba(57, 168, 255, 0.04));
  border-block: 1px solid var(--line-soft);
}

.feed-layout {
  max-width: 680px;
}

.stat-callouts {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 26px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0 38px;
  border-top: 1px solid var(--line-soft);
  color: var(--muted);
}

.site-footer p {
  max-width: 540px;
  margin: 0;
  text-align: right;
}

@media (max-width: 1040px) {
  .hero-copy {
    max-width: 760px;
  }

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

@media (max-width: 760px) {
  body {
    font-size: 15px;
  }

  .nav-shell,
  .hero-grid,
  .section,
  .site-footer {
    width: min(100% - 28px, var(--container));
  }

  .site-header {
    position: static;
  }

  .nav-shell {
    min-height: auto;
    padding: 14px 0;
    flex-wrap: wrap;
    gap: 12px;
  }

  .nav-links {
    order: 3;
    justify-content: flex-start;
    overflow-x: auto;
    width: 100%;
    padding-bottom: 2px;
  }

  .hero-section {
    padding: 42px 0 44px;
  }

  h1 {
    font-size: 3.7rem;
  }

  h2 {
    font-size: 2.35rem;
  }

  .hero-statement {
    font-size: 1.55rem;
  }

  .section {
    padding: 58px 0;
  }

  .feature-grid,
  .stat-callouts {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: auto;
  }

  .feed-section {
    padding-right: 14px;
    padding-left: 14px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer p {
    text-align: left;
  }
}

@media (max-width: 460px) {
  .brand-name {
    font-size: 1.06rem;
  }

  .nav-links a {
    font-size: 0.86rem;
  }

  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 2rem;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-proof span {
    width: calc(50% - 4px);
    text-align: center;
  }

}

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