:root {
  --bg-dark: #08111c;
  --bg-dark-soft: #0f1f33;
  --text-main: #f2f6fb;
  --text-soft: #d4deea;
  --accent: #e2242f;
  --border: rgba(255, 255, 255, 0.14);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  color: var(--text-main);
  font-family: "Segoe UI", Arial, sans-serif;
  scroll-behavior: smooth;
}

a {
  color: #ffffff;
}

.hero-bg {
  position: fixed;
  inset: 0;
  z-index: -3;
  background-image: url("./assets/c__Users_nicoh_AppData_Roaming_Cursor_User_workspaceStorage_empty-window_images_HLF-49103fc8-f464-4f48-be6d-91b1d89e6309.png");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: fixed;
  inset: 0;
  z-index: -2;
  background: linear-gradient(95deg, rgba(8, 17, 28, 0.92) 0%, rgba(8, 17, 28, 0.82) 42%, rgba(8, 17, 28, 0.56) 100%);
}

.container {
  width: min(1100px, calc(100% - 3rem));
  margin: 0 auto;
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 5rem 0 4rem;
}

.brand-logo {
  display: inline-block;
  width: clamp(64px, 9vw, 104px);
  height: auto;
}

.accent-line {
  width: 90px;
  height: 3px;
  background: var(--accent);
  margin: 0.9rem 0 1.8rem;
}

h1 {
  margin: 0;
  max-width: 8.5ch;
  line-height: 0.95;
  font-size: clamp(2.4rem, 8vw, 5.4rem);
  text-transform: uppercase;
}

.lead {
  margin-top: 1.6rem;
  max-width: 38rem;
  color: var(--text-soft);
  font-size: clamp(1rem, 2.2vw, 1.8rem);
}

.thanks {
  margin-top: 2rem;
  font-size: 1.1rem;
  color: #c9d5e3;
}

.partner-link {
  display: inline-block;
  margin-top: 2.4rem;
  padding: 0.9rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  text-decoration: none;
  background: rgba(7, 15, 27, 0.56);
}

.partner-link:hover,
.partner-link:focus-visible {
  border-color: var(--accent);
}

.features {
  padding: 4rem 0;
  background: rgba(7, 15, 27, 0.78);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(2px);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.6rem;
}

.feature-grid article {
  border: 1px solid var(--border);
  padding: 1.2rem;
  background: rgba(7, 15, 27, 0.52);
}

.feature-grid h2 {
  margin-top: 0.2rem;
  margin-bottom: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: 1.1rem;
}

.feature-grid p {
  margin: 0;
  color: var(--text-soft);
}

.legal {
  padding: 3rem 0;
  background: rgba(8, 17, 28, 0.9);
}

.legal-alt {
  background: rgba(15, 31, 51, 0.9);
}

.legal h2 {
  margin-top: 0;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.legal p {
  max-width: 78ch;
  color: #e7eef7;
}

.small-note {
  font-size: 0.95rem;
  color: #cad5e4;
}

.footer {
  background: rgba(7, 15, 27, 0.96);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem 1.3rem;
  padding: 1.2rem 0 1.8rem;
}

.footer nav {
  display: flex;
  gap: 1.2rem;
}

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 20;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: 0.65rem;
  background: rgba(7, 15, 27, 0.96);
  backdrop-filter: blur(6px);
}

.cookie-banner p {
  margin: 0;
  color: #e8eff8;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 0.85rem;
}

.cookie-actions button {
  border: 1px solid var(--accent);
  color: #ffffff;
  background: var(--accent);
  border-radius: 0.45rem;
  padding: 0.5rem 0.9rem;
  cursor: pointer;
}

.cookie-actions .secondary {
  background: transparent;
  border-color: var(--border);
}

.cookie-hidden {
  display: none;
}

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

  .hero {
    padding-top: 4rem;
  }
}
