:root {
  --bg: #121212;
  --panel-bg: rgba(12, 12, 12, 0.64);
  --panel-border: rgba(255, 255, 255, 0.12);
  --text: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.62);
  --text-faint: rgba(255, 255, 255, 0.32);
  --accent: #ffd900;
  --button-bg: #918d71;
  --button-bg-hover: #aba26d;
  --max-width: 72rem;
  --section-min-height: clamp(34rem, 76vh, 48rem);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-width: 320px;
  min-height: 100dvh;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", sans-serif;
  line-height: 1.9;
  letter-spacing: 0.015em;
}

.site-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  background: linear-gradient(rgba(18, 18, 18, 0.65), rgba(18, 18, 18, 0.78)),
    url("assets/images/bg.jpg") center / cover no-repeat;
}

.site-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 25% 15%, rgba(255, 217, 0, 0.1), transparent 45%),
    radial-gradient(circle at 75% 80%, rgba(31, 150, 237, 0.12), transparent 50%);
}

.panel {
  position: relative;
  width: 100%;
  margin: 0;
  isolation: isolate;
}

.panel::before {
  content: "";
  position: absolute;
  inset: 0;
  border-top: 1px solid var(--panel-border);
  border-bottom: 1px solid var(--panel-border);
  background: rgba(8, 8, 8, 0.58);
  z-index: -1;
}

.panel:nth-of-type(even)::before {
  background: rgba(8, 8, 8, 0.42);
}

.panel-inner {
  width: min(var(--max-width), calc(100% - 3rem));
  margin: 0 auto;
  padding: clamp(3rem, 8vw, 6.25rem) 0;
  min-height: var(--section-min-height);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.15rem;
  text-align: center;
}

.hero {
  min-height: 100dvh;
}

.hero .panel-inner {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero::before {
  background: linear-gradient(rgba(8, 8, 8, 0.42), rgba(8, 8, 8, 0.62));
}

.logo {
  width: clamp(5.5rem, 9vw, 7.9rem);
  margin-inline: auto;
}

.eyebrow {
  margin: 0;
  color: var(--accent);
  text-transform: uppercase;
  font-size: 0.76rem;
  letter-spacing: 0.28rem;
  font-weight: 300;
}

h1,
h2 {
  margin: 0;
  font-family: "Sora", sans-serif;
  line-height: 1.1;
}

h1 {
  font-size: clamp(2.3rem, 9vw, 3.7rem);
}

h2 {
  font-size: clamp(1.75rem, 6.5vw, 2.35rem);
}

.lead,
.panel p {
  color: var(--text-muted);
  margin: 0 auto;
  max-width: 54ch;
}

.section-number {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-size: clamp(2.2rem, 8vw, 3.1rem);
  line-height: 1;
  color: var(--text);
}

.section-number span {
  color: rgba(255, 255, 255, 0.1);
}

.primary-button {
  margin-top: 0;
  margin-inline: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3.4rem;
  min-width: 0;
  width: fit-content;
  padding: 0 1.25rem;
  border: 0;
  border-radius: 999px;
  background: var(--button-bg);
  color: #000;
  text-transform: uppercase;
  letter-spacing: 0.14rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 180ms ease, background-color 180ms ease;
}

.contact-button {
  margin-top: 0.8rem;
}

.primary-button:hover,
.primary-button:focus-visible {
  transform: translateY(-1px) scale(1.02);
  background: var(--button-bg-hover);
}

.hex-arrow {
  margin: 0 auto;
  display: inline-grid;
  place-content: center;
  width: 2.8rem;
  aspect-ratio: 1;
  font-size: 1.15rem;
  color: var(--text);
  text-decoration: none;
  clip-path: polygon(25% 8%, 75% 8%, 92% 50%, 75% 92%, 25% 92%, 8% 50%);
  border: 1px solid var(--accent);
  transition: transform 180ms ease, color 180ms ease, border-color 180ms ease;
}

.hex-arrow:hover,
.hex-arrow:focus-visible {
  transform: scale(1.06);
  color: #ffe552;
  border-color: #ffe552;
}

.benefits {
  margin: 0 auto;
  padding: 0;
  list-style: none;
  max-width: 38rem;
  color: var(--text-muted);
  text-align: left;
}

.benefits li {
  position: relative;
  padding-left: 2.25rem;
}

.benefits li + li {
  margin-top: 0.9rem;
}

.benefits li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.15rem;
  width: 1.35rem;
  height: 1.35rem;
  border: 1px solid var(--accent);
  border-radius: 999px;
  color: var(--accent);
  display: inline-grid;
  place-items: center;
  line-height: 1;
  font-size: 0.8rem;
}

.site-footer {
  width: min(var(--max-width), calc(100% - 3rem));
  margin: 0 auto;
  padding: 2rem 0 3rem;
  text-align: center;
  color: var(--text-faint);
  font-size: 0.875rem;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 650ms ease, transform 650ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 736px) {
  .panel-inner {
    width: calc(100% - 1.6rem);
    padding: 3rem 0;
    min-height: auto;
    gap: 1rem;
  }

  .hero .panel-inner {
    min-height: calc(100dvh - 0.5rem);
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .eyebrow {
    letter-spacing: 0.24rem;
  }

  .primary-button {
    min-width: 0;
    width: fit-content;
    max-width: none;
  }

  .benefits {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }
}
