:root {
  color-scheme: dark;
  --ink: #f5f1e8;
  --muted: #c3c8bb;
  --subtle: #879181;
  --field: #101613;
  --field-2: #17221c;
  --line: rgba(245, 241, 232, 0.16);
  --ember: #d58a3a;
  --green: #4f7560;
  --white: #fffaf0;
  --shadow: rgba(0, 0, 0, 0.38);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--field);
  color: var(--ink);
}

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

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 22px clamp(20px, 4vw, 56px);
  color: var(--white);
}

.brand,
.header-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  font-size: 0.92rem;
  font-weight: 700;
}

.brand {
  gap: 12px;
  letter-spacing: 0;
}

.brand-mark {
  width: 34px;
  height: 34px;
}

.header-link {
  border-bottom: 1px solid rgba(255, 250, 240, 0.36);
  color: rgba(255, 250, 240, 0.84);
}

.hero {
  position: relative;
  display: grid;
  min-height: min(92vh, 880px);
  overflow: hidden;
  align-items: end;
  padding: 150px clamp(20px, 4vw, 56px) 72px;
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center;
  filter: saturate(0.92) contrast(1.04);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(7, 10, 9, 0.92) 0%, rgba(8, 12, 10, 0.72) 38%, rgba(8, 12, 10, 0.18) 72%),
    linear-gradient(0deg, rgba(16, 22, 19, 0.98) 0%, rgba(16, 22, 19, 0.18) 42%, rgba(16, 22, 19, 0.36) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
}

.kicker {
  margin: 0 0 18px;
  color: var(--ember);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 11ch;
  margin-bottom: 20px;
  color: var(--white);
  font-size: clamp(4.3rem, 9vw, 9.2rem);
  line-height: 0.88;
  letter-spacing: 0;
}

.lede {
  max-width: 640px;
  margin-bottom: 34px;
  color: rgba(255, 250, 240, 0.82);
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  line-height: 1.55;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 8px;
  padding: 0 18px;
  font-weight: 800;
  line-height: 1;
  transition:
    transform 160ms ease,
    background-color 160ms ease,
    border-color 160ms ease;
}

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

.button-primary {
  background: var(--white);
  color: #111712;
}

.button-secondary {
  border: 1px solid rgba(255, 250, 240, 0.34);
  background: rgba(16, 22, 19, 0.36);
  color: var(--white);
}

.signal {
  background:
    linear-gradient(180deg, var(--field) 0%, var(--field-2) 100%);
  border-top: 1px solid rgba(245, 241, 232, 0.08);
}

.section-inner {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 72px 0 84px;
}

h2 {
  max-width: 780px;
  margin-bottom: 36px;
  color: var(--white);
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.signal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
  box-shadow: 0 24px 64px var(--shadow);
}

.signal-item {
  min-height: 250px;
  padding: 28px;
  background: rgba(16, 22, 19, 0.88);
}

.signal-index {
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 900;
}

.signal-item h3 {
  margin: 46px 0 14px;
  color: var(--white);
  font-size: 1.28rem;
}

.signal-item p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(20px, 4vw, 56px);
  border-top: 1px solid var(--line);
  background: #0b0f0d;
  color: var(--subtle);
  font-size: 0.92rem;
}

.site-footer a {
  color: var(--ink);
}

@media (max-width: 760px) {
  .site-header {
    padding: 16px 20px;
  }

  .header-link {
    display: none;
  }

  .hero {
    min-height: 88vh;
    padding: 120px 20px 54px;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(7, 10, 9, 0.92), rgba(8, 12, 10, 0.48)),
      linear-gradient(0deg, rgba(16, 22, 19, 0.98) 0%, rgba(16, 22, 19, 0.22) 54%, rgba(16, 22, 19, 0.48) 100%);
  }

  h1 {
    font-size: clamp(3.4rem, 18vw, 5.8rem);
  }

  .button {
    width: 100%;
  }

  .section-inner {
    width: calc(100% - 32px);
    padding: 54px 0 64px;
  }

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

  .signal-item {
    min-height: 210px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    padding: 24px 20px;
  }
}
