/* --- Base --- */
body {
  overflow-x: hidden;
  margin: 0;
  background: #111111;
  color: #ffffff;
}

.page {
  min-height: 100vh;
  position: relative;
}

/* Background noise (covers page) */
.page::before {
  content: "";
  position: fixed;
  inset: 0;
  background: url("Background Noise.png") repeat;
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
}

.page > * {
  position: relative;
  z-index: 1;
}

/* --- Header (logo only) --- */
.header {
  position: relative;
  padding: 1.5rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  display: inline-block;
  text-decoration: none;
  color: inherit;
}

.logo-img {
  display: block;
  height: 14px;
  width: auto;
  /* Logo.svg is dark (#111); invert so it reads white on dark background */
  filter: brightness(0) invert(1);
}

/* --- Hero --- */
.hero {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem 4rem;
}

.hero-divider {
  height: 1px;
  background: #202020;
  margin: 0 0 2.5rem;
}

.hero-headline {
  font-family: Haffer TRIAL, system-ui, sans-serif;
  font-weight: normal;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin: 0 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.35em;
}

.hero-headline-line {
  display: block;
}

.hero-intro {
  font-family: Haffer TRIAL, system-ui, sans-serif;
  font-size: 1.25rem;
  line-height: 2;
  max-width: 42rem;
  margin: 0;
  color: #ffffff;
}

/* --- Main content --- */
.mainframe {
  position: relative;
  padding: 4rem 2rem 5rem;
}

.mainframe-divider {
  height: 1px;
  background: #313131;
  margin: 0 0 4rem;
}

.mainframe-divider-bottom {
  margin: 4rem 0 0;
}

.background {
  /* Replaced by page-level background noise */
  display: none;
}

/* --- Content blocks --- */
.block {
  position: relative;
  max-width: 924px;
  margin: 0 auto 6rem;
  text-align: center;
}

.block:last-of-type {
  margin-bottom: 0;
}

.block-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 63px;
  height: 45px;
  margin-bottom: 1rem;
  position: relative;
  font-family: "IBM Plex Mono", monospace;
  font-weight: 300;
  font-size: 1.875rem;
  line-height: 1;
  color: #ffffff;
}

.block-badge::before {
  content: "";
  position: absolute;
  inset: -4px -8px;
  border: 1px solid #393939;
  border-radius: 4px;
  opacity: 0.6;
}

.block-title {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  gap: 0.25em 0.5em;
  margin: 0 0 2rem;
  font-family: Haffer TRIAL, system-ui, sans-serif;
  font-weight: normal;
  font-size: clamp(2.5rem, 8vw, 100px);
  line-height: 1.09;
  color: #ffffff;
}

.block-title-line {
  color: #ffffff;
}

.block-title-accent {
  display: inline-block;
  padding: 0.1em 0.25em;
  border-radius: 70px;
  font-family: Haffer TRIAL, system-ui, sans-serif;
  font-size: inherit;
  line-height: inherit;
}

.gradient-01 {
  background: linear-gradient(360deg, #99ff88 -57.92%, rgba(153, 255, 136, 0.2) 100%);
  box-shadow: -20px 30px 100px rgba(0, 0, 0, 0.1);
  color: #000000;
}

.gradient-02 {
  background: linear-gradient(87.88deg, #ee6a6a 0%, #de7032 100%);
  box-shadow: 20px 20px 50px rgba(255, 0, 0, 0.1);
  color: #000000;
}

.gradient-03 {
  background: conic-gradient(from 180.23deg at 44.42% 42.5%, #b9aefb 0deg, #4a32de 199deg, #c2b8ff 336.95deg, #b9aefb 360deg);
  box-shadow: -20px 30px 100px rgba(0, 0, 0, 0.1);
  color: #000000;
}

.gradient-04 {
  background: #000000;
  border: 1px solid #202020;
  box-shadow: inset -40px -40px 100px rgba(255, 255, 255, 0.08);
  color: #383838;
}

.block-text {
  max-width: 600px;
  margin: 0 auto;
  font-family: Haffer TRIAL, system-ui, sans-serif;
  font-size: 0.875rem;
  line-height: 2.15;
  text-align: center;
  color: #ffffff;
}
