:root {
  --bg-base: #111214;
  --bg-elevated: rgba(255, 255, 255, 0.06);
  --bg-elevated-hover: rgba(255, 255, 255, 0.12);
  --border-soft: rgba(255, 255, 255, 0.12);
  --text-main: #f2f4f8;
  --text-muted: #b8bcc8;
  --accent: #ff5f2e;
  --accent-soft: rgba(255, 95, 46, 0.18);
  --shadow-card: 0 24px 60px rgba(0, 0, 0, 0.35);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text-main);
  background:
    radial-gradient(circle at 18% 0%, rgba(62, 66, 80, 0.35), transparent 32%),
    radial-gradient(circle at 85% 16%, rgba(62, 66, 80, 0.2), transparent 30%),
    var(--bg-base);
  font-family: "Manrope", sans-serif;
  line-height: 1.65;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: url("images/General/bg-waveform.png") center / cover no-repeat;
  opacity: 0.08;
  z-index: -1;
}

a {
  color: inherit;
  text-underline-offset: 3px;
}

img {
  max-width: 100%;
  display: block;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -100px;
  background: #fff;
  color: #000;
  padding: 0.55rem 0.9rem;
  border-radius: 10px;
  z-index: 999;
}

.skip-link:focus {
  top: 12px;
}

.container {
  width: min(1120px, 92vw);
  margin-inline: auto;
}

.section {
  padding: 88px 0;
  scroll-margin-top: 110px;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.1rem, 5vw, 4rem);
  line-height: 1.1;
  max-width: 20ch;
}

h2 {
  font-size: clamp(1.75rem, 3.8vw, 2.5rem);
  margin-bottom: 28px;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

p {
  margin: 0;
}

main a {
  color: var(--text-main);
}

main a:hover {
  color: #ffffff;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(12px);
  background: rgba(17, 18, 20, 0.86);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.brand img {
  border-radius: 0;
  background: transparent;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a {
  text-decoration: none;
  color: var(--text-muted);
  padding: 0.5rem 0.8rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.94rem;
}

.site-nav a:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.08);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: transparent;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  border-radius: 4px;
  background: var(--text-main);
}

.hero {
  padding-top: 96px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero h1,
.hero .lead-copy {
  margin-inline: auto;
}

.section-eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 700;
}

.lead-copy {
  margin-top: 20px;
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: var(--text-muted);
  max-width: 72ch;
}

.section:not(.hero):not(.supporters) h2 {
  text-align: center;
  margin-bottom: 0;
}

.section:not(.hero):not(.supporters) h2::after {
  content: "";
  display: block;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.35) 20%,
    rgba(255, 255, 255, 0.35) 80%,
    transparent 100%
  );
  margin: 16px auto 30px;
}

#products .cards-grid,
#team .cards-grid {
  margin-inline: auto;
}

#products .cards-grid {
  grid-template-columns: 1fr;
  max-width: 980px;
  width: 100%;
  gap: 18px;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.feature-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow-card);
  transition: transform 180ms ease, background-color 180ms ease;
}

.feature-card:hover {
  transform: translateY(-3px);
  background: var(--bg-elevated-hover);
}

.product-logo-shell {
  width: 110px;
  height: 110px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: radial-gradient(circle at 35% 20%, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.02));
  display: grid;
  place-items: center;
  margin-bottom: 20px;
}

.product-logo-shell img {
  width: 72px;
  height: 72px;
  object-fit: contain;
}

#products .product-card {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 30px 34px;
}

#products .product-logo-shell {
  width: 128px;
  height: 128px;
  margin-bottom: 0;
  flex-shrink: 0;
}

#products .product-logo-shell img {
  width: 88px;
  height: 88px;
}

.product-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.product-content p {
  color: var(--text-muted);
}

.product-title-link {
  text-decoration: none;
  color: var(--text-main);
}

.product-title-link:hover {
  color: var(--accent);
}

.product-logo-shell {
  text-decoration: none;
}

.person-card {
  text-align: center;
}

.person-portrait-link {
  display: inline-block;
  text-decoration: none;
}

.portrait {
  width: 148px;
  height: 148px;
  border-radius: 999px;
  object-fit: cover;
  margin: 0 auto 16px;
  border: 2px solid rgba(255, 255, 255, 0.25);
}

.person-name-link {
  text-decoration: none;
  color: var(--text-main);
}

.person-name-link:hover {
  color: var(--accent);
}

.person-title {
  color: var(--text-muted);
  margin-bottom: 16px;
  font-weight: 600;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  display: inline-grid;
  place-items: center;
  text-decoration: none;
  color: var(--text-muted);
  transition: background-color 150ms ease, color 150ms ease;
}

.social-links a:hover {
  background: var(--accent-soft);
  color: #ffd4c7;
}

.supporters {
  text-align: center;
}

.supporters-divider {
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.35) 20%,
    rgba(255, 255, 255, 0.35) 80%,
    transparent 100%
  );
  margin: 0 auto 30px;
}

.supporters-row {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.supporter-link {
  width: 112px;
  height: 112px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.04);
  display: grid;
  place-items: center;
  padding: 10px;
  transition: transform 160ms ease, background-color 160ms ease;
}

.supporter-link:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.1);
}

.supporter-link img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.contact p {
  font-size: clamp(1.1rem, 1.7vw, 1.3rem);
  color: var(--text-muted);
  margin-inline: auto;
}

.contact {
  text-align: center;
}

.contact a {
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
}

.site-footer {
  margin-top: 34px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01)),
    url("images/General/bg-waveform.png") center / cover no-repeat;
}

.footer-inner {
  padding: 42px 0 52px;
  text-align: center;
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.footer-nav a {
  text-decoration: none;
  color: var(--text-muted);
  padding: 0.25rem 0.65rem;
  border-radius: 8px;
  font-weight: 600;
}

.footer-nav a:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.08);
}

.site-footer p {
  color: var(--text-muted);
  margin: 0;
  font-size: 0.92rem;
}

.reveal-card {
  animation: rise-in 560ms ease both;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 960px) {
  .menu-toggle {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 4vw;
    width: min(310px, 92vw);
    display: none;
    flex-direction: column;
    align-items: stretch;
    background: rgba(17, 18, 20, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 18px;
    padding: 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
  }

  .site-nav.is-open {
    display: flex;
  }

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

  .section {
    padding: 72px 0;
  }

  #products .product-card {
    gap: 18px;
    padding: 24px;
  }

  #products .product-logo-shell {
    width: 104px;
    height: 104px;
  }

  #products .product-logo-shell img {
    width: 72px;
    height: 72px;
  }
}

@media (max-width: 560px) {
  .header-inner {
    min-height: 70px;
  }

  .feature-card {
    padding: 22px;
  }

  .supporter-link {
    width: 96px;
    height: 96px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal-card {
    animation: none;
  }

  .feature-card,
  .supporter-link,
  .social-links a {
    transition: none;
  }
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}
