:root {
  color-scheme: dark;
  --bg: #07151c;
  --ink: #fffaf0;
  --muted: rgba(255, 250, 240, 0.74);
  --line: rgba(255, 183, 43, 0.28);
  --panel: rgba(6, 23, 31, 0.86);
  --panel-soft: rgba(10, 53, 58, 0.74);
  --gold: #ffbf35;
  --teal: #22d5ca;
  --green: #4adea4;
  --shadow: rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100%;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--ink);
  letter-spacing: 0;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(3, 12, 18, 0.94), rgba(5, 22, 30, 0.56) 52%, rgba(3, 12, 18, 0.88)),
    linear-gradient(180deg, rgba(7, 21, 28, 0.2), rgba(7, 21, 28, 0.96)),
    url("/assets/home_background.png");
  background-position: center;
  background-size: cover;
}

a {
  color: inherit;
}

.topbar {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px clamp(18px, 4vw, 52px);
  background: rgba(4, 15, 20, 0.82);
  border-bottom: 1px solid rgba(255, 183, 43, 0.18);
  backdrop-filter: blur(12px);
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 900;
}

.brand-link img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  filter: drop-shadow(0 10px 16px var(--shadow));
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 18px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

nav a,
footer a {
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 191, 53, 0.42);
}

.hero {
  min-height: 86vh;
  display: flex;
  align-items: center;
  padding: 118px clamp(20px, 5vw, 76px) 70px;
}

.hero-inner {
  width: min(820px, 100%);
}

.hero-logo {
  width: 138px;
  height: 138px;
  object-fit: contain;
  margin-bottom: 18px;
  filter: drop-shadow(0 18px 26px var(--shadow));
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.4;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 780px;
  margin-bottom: 18px;
  color: var(--ink);
  font-size: 82px;
  line-height: 0.95;
  font-weight: 900;
  text-shadow: 0 18px 34px var(--shadow);
}

h2 {
  margin-bottom: 0;
  font-size: 46px;
  line-height: 1.05;
}

.lead {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 250, 240, 0.84);
  font-size: 22px;
  line-height: 1.5;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(5, 24, 31, 0.68);
  color: var(--ink);
  text-decoration: none;
  font-weight: 900;
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.22);
}

.button.primary {
  border-color: transparent;
  background: var(--green);
  color: #061812;
}

.section,
.band {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.section {
  padding: 58px 0;
}

.compact {
  padding-top: 22px;
}

.section-heading {
  max-width: 730px;
  margin-bottom: 24px;
}

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

.feature {
  min-height: 245px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.feature img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  margin-bottom: 14px;
  filter: drop-shadow(0 12px 18px var(--shadow));
}

.feature strong {
  display: block;
  margin-bottom: 9px;
  color: var(--gold);
  font-size: 18px;
}

.feature p,
.band p {
  color: var(--muted);
  line-height: 1.58;
}

.band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 28px;
  align-items: center;
  padding: 28px;
  border: 1px solid rgba(34, 213, 202, 0.32);
  border-radius: 8px;
  background: var(--panel-soft);
}

.band p {
  margin-bottom: 0;
}

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

.link-grid a {
  min-height: 68px;
  display: flex;
  align-items: center;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(5, 24, 31, 0.74);
  color: var(--ink);
  text-decoration: none;
  font-weight: 900;
}

footer {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0 34px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: rgba(255, 250, 240, 0.7);
  font-size: 13px;
}

footer span:last-child {
  display: flex;
  gap: 16px;
}

@media (max-width: 900px) {
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 640px) {
  .topbar {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    justify-content: flex-start;
  }

  .hero {
    min-height: 78vh;
    padding: 34px 20px 46px;
  }

  .hero-logo {
    width: 92px;
    height: 92px;
  }

  h1 {
    font-size: 45px;
  }

  h2 {
    font-size: 30px;
  }

  .lead {
    font-size: 18px;
  }

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

  footer {
    flex-direction: column;
  }

  footer span:last-child {
    flex-direction: column;
    gap: 8px;
  }
}
