/* ===== Reset & Base ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background-color: #161618;
  color: #ffffff;
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
}

a {
  color: #ffffff;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

a:hover {
  opacity: 0.7;
}

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

/* ===== Layout Container ===== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Header ===== */
.site-header {
  padding: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-logo img {
  width: 360px;
  height: auto;
}

/* ===== Main Content ===== */
.site-main {
  flex: 1;
  padding: 64px 0;
}

.site-main .container {
  position: relative;
  aspect-ratio: 1875 / 1282;
}

.site-main .container::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../assets/s2-background-1500.png");
  background-size: 80% auto;
  background-position: top right;
  background-repeat: no-repeat;
  opacity: 0.2;
  pointer-events: none;
}

/* ===== Hero (Home) ===== */
.hero {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
#  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
}

.hero-title {
  font-size: 42px;
  font-weight: 700;
  color: #ffffff;
  text-align: center;
  line-height: 1.2;
  padding-bottom: 24px;
}

.hero-subtitle {
  font-size: 24px;
  font-weight: 400;
  color: #ffffff;
  text-align: center;
  line-height: 1.5;
  padding-bottom:12px;
}

/* ===== Secondary Pages (Legal/Policy) ===== */
.site-main h1 {
  margin-top: 16px;
  margin-bottom: 8px;
}

.site-main h2 {
  margin-top: 32px;
  margin-bottom: 8px;
}

.site-main p,
.site-main ul,
.site-main ol {
  margin-top: 12px;
}

.site-main ul,
.site-main ol {
  list-style-position: outside;
  padding-left: 1.5em;
}

/* ===== Brevo Form ===== */
.site-main .container > .sib-form {
  position: relative;
  z-index: 1;
  margin-top: 32px;
  background-color: transparent !important;
}

/* ===== Footer ===== */
.site-footer {
  padding: 32px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-content {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.footer-logo img {
  width: 140px;
  height: auto;
}

.footer-social {
  display: flex;
  align-items: center;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-social svg {
  width: 20px;
  height: 20px;
  fill: #ffffff;
  transition: opacity 0.2s ease;
}

.footer-social a:hover svg {
  opacity: 0.7;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.2s ease, opacity 0.2s ease;
}

.footer-links a:hover {
  color: #ffffff;
  opacity: 1;
}

.footer-links a.active {
  color: #ffffff;
  opacity: 1;
}

/* ===== Responsive ===== */

/* --- Tablet: ≤1024px --- */
@media (max-width: 1024px) {
  .container {
    padding: 0 20px;
  }

  .site-header .container {
    justify-content: center;
  }

  .header-logo img {
    width: 320px;
  }

  .site-main {
    padding: 48px 0;
  }

  .site-main .container {
    aspect-ratio: 1500 / 1282;
  }

  .site-main .container::before {
    background-size: 100% auto;
    background-position: top;
  }

  .hero {
    max-width: 80%;
  }

  .hero-title {
    font-size: 34px;
  }

  .hero-subtitle {
    font-size: 20px;
  }

  .footer-content {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    text-align: left;
  }

  .footer-logo,
  .footer-social,
  .footer-social a {
    justify-content: flex-start;
  }

  .footer-logo img {
    width: 120px;
  }

  .footer-links {
    margin-left: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .footer-links a {
    text-align: left;
  }
}

/* --- Mobile: ≤768px --- */
@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }

  .header-logo img {
    width: 280px;
  }

  .site-main {
    padding: 32px 0;
  }

  .hero-title {
    font-size: 28px;
  }

  .hero-subtitle {
    font-size: 18px;
  }

  .site-footer {
    padding: 24px 0;
  }

  .footer-logo img {
    width: 110px;
  }
}
