html {
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  min-width: 320px;
  color: var(--color-text);
  font-family: var(--body-font);
  background:
    radial-gradient(circle at 86% 8%, rgba(9, 204, 126, 0.12), transparent 24rem),
    radial-gradient(circle at 8% 18%, rgba(1, 51, 52, 0.14), transparent 22rem),
    linear-gradient(180deg, rgba(35, 35, 35, 0.98), rgba(25, 25, 25, 0.99)),
    var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body,
input,
textarea,
select,
button {
  font-family: var(--body-font);
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--color-brand);
  outline-offset: 3px;
}

.page-shell {
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
}

.page-shell::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(9, 204, 126, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, rgba(9, 204, 126, 0.035) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 72%);
  pointer-events: none;
}

.page-shell::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(circle at 12% 16%, rgba(9, 204, 126, 0.22), transparent 38%),
    radial-gradient(circle at 88% 12%, rgba(1, 51, 52, 0.26), transparent 34%),
    linear-gradient(180deg, rgba(9, 204, 126, 0.12) 0%, rgba(9, 204, 126, 0.03) 42%, transparent 78%),
    linear-gradient(135deg, rgba(6, 102, 71, 0.3) 0%, rgba(12, 12, 12, 0.96) 44%, #151515 100%);
  pointer-events: none;
}

.background-glow {
  position: absolute;
  inset: -140px auto auto -180px;
  z-index: -1;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(9, 204, 126, 0.1), transparent 40%),
    radial-gradient(circle, rgba(1, 51, 52, 0.08), transparent 72%);
  pointer-events: none;
}

.site-main {
  position: relative;
  z-index: 1;
  width: min(var(--container-max), calc(100% - (var(--container-gutter) * 2)));
  margin: 0 auto;
  padding: 30px 0 96px;
}

.section-block {
  margin-top: clamp(46px, 7vw, 84px);
  scroll-margin-top: 112px;
}

.section-heading {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 24px;
  margin-bottom: 24px;
  padding-top: 4px;
  border-top: 1px solid var(--color-divider);
}

.section-heading--spaced {
  justify-content: space-between;
  align-items: end;
}

.section-kicker {
  display: inline-block;
  margin: 18px 0 10px;
  color: var(--color-brand);
  font-family: var(--font-ui);
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section-title,
.display-title {
  margin: 0;
  color: var(--color-text);
  font-family: var(--title-font);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.section-title {
  max-width: 900px;
  font-size: clamp(2rem, 3.2vw, 3.7rem);
}

.display-title {
  font-size: clamp(2.2rem, 4.5vw, 4.8rem);
  line-height: 0.9;
  letter-spacing: -0.07em;
}

.section-copy {
  max-width: 440px;
  margin: 0;
  color: var(--color-text-soft);
  line-height: 1.6;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-ui);
  font-size: 0.94rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

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

.button--primary {
  border-color: var(--color-brand-border);
  background: var(--color-brand);
  color: #03130c;
}

.button--ghost {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.04);
}

.button--ghost:hover {
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.08);
}

.eyebrow-pill {
  display: inline-flex;
  padding: 8px 12px;
  border: 1px solid rgba(9, 204, 126, 0.26);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(9, 204, 126, 0.18), rgba(1, 51, 52, 0.28));
  color: var(--color-text);
  font-family: var(--font-ui);
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.is-hidden {
  display: none !important;
}

@media (max-width: 860px) {
  .site-main {
    width: min(
      calc(100% - (var(--container-gutter-mobile) * 2)),
      var(--container-max)
    );
    padding-top: 18px;
  }

  .section-heading,
  .section-heading--spaced {
    flex-direction: column;
    align-items: flex-start;
  }

  .section-copy {
    max-width: none;
  }
}
