@font-face {
  font-family: "TheSans";
  src: url("assets/fonts/theSans-350.woff2") format("woff2");
  font-weight: 350;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "TheSans";
  src: url("assets/fonts/theSans-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "TheSans";
  src: url("assets/fonts/theSans-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "TheSans";
  src: url("assets/fonts/theSans-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ── Base ─────────────────────────────────── */

html {
  font-size: 16px;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: "TheSans", sans-serif;
  background-color: #0B152B;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: white;
  overflow-x: hidden;
}

/* ── Layout ───────────────────────────────── */

.container {
  display: flex;
  flex-direction: row;
  flex: 1;
  min-height: 80vh;
  box-sizing: border-box;
}

.column {
  flex: 1 1 0;
  padding: 2vw;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  box-sizing: border-box;
}

/* ── Typography ───────────────────────────── */

.title {
  font-weight: 350;
  font-size: clamp(1.4rem, 2.5vmax, 2.5rem);
}

.title .strong {
  font-size: clamp(2rem, 2.5vmax, 3rem);
}

.subtitle {
  font-size: clamp(1rem, 1.5vmax, 1.5rem);
  margin: 0;
}

.content {
  font-size: clamp(1rem, 1.5vmax, 1.5rem);
  font-weight: 400;
  padding: 3vw 5vw 0 0;
  line-height: 1.6;
}

.strong {
  font-weight: 700;
}

/* ── CTA ──────────────────────────────────── */

.cta-container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin: 10vw 0 0;
  width: 100%;
}

.button {
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 6px;
  width: 70%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75vw;
  color: #002266;
  background-color: #fff;
  box-shadow: 0 0 2px 0 #fff;
}

/* ── Visuals ──────────────────────────────── */

.ard-logos-container {
  padding: 15vw 0;
}

.ard-logos {
  max-width: 50vw;
  height: auto;
}

.circle-background-color {
  background: radial-gradient(circle at 60% 50%, rgba(33, 97, 214, 0.9) 0%, rgba(19, 69, 171, 0.6) 10%, rgba(0, 0, 0, 0) 50%);
  backdrop-filter: blur(250px);
}

/* ── Footer ───────────────────────────────── */

footer {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 24px;
  padding: 2vw 3vw;
  color: #fff;
}

.footer-links {
  display: flex;
  gap: 4vw;
  align-items: center;
  text-align: center;
}

.footer-links a,
#tracking-opt-link {
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  transition: opacity 0.3s ease;
}

.footer-links a:hover,
#tracking-opt-link:hover {
  opacity: 0.8;
}

#tracking-opt-link {
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
}

/* ── Visibility helpers ───────────────────── */

.hide-on-desktop { display: none; }
.hide-on-phone   { display: flex; }

/* ── Narrow screens (tablet portrait + phone) */

@media (max-width: 768px) {
  .container {
    flex-direction: column;
    gap: 0;
    min-height: 85vh;
  }

  .column {
    padding: 2vw 8vw;
    flex: 1;
  }

  .column:first-child {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  footer {
    align-items: center;
  }

  .hide-on-desktop { display: flex; }
  .hide-on-phone   { display: none; }
}

/* ── Tablet portrait only ─────────────────── */

@media (min-width: 601px) and (max-width: 768px) {
  .content,
  .cta-container {
    width: 50%;
  }

  .button {
    width: 100%;
  }
}

/* ── Phone only ───────────────────────────── */

@media (max-width: 600px) {
  .title {
    text-align: center;
    margin: 2.5rem 0;
  }

  .content {
    padding: 5vw 0 0;
    text-align: left;
    flex: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
  }

  .button {
    width: 100%;
    border-radius: 4px;
    padding: 0.75rem;
    margin-top: auto;
    font-size: 0.875rem;
  }

  .circle-background-color {
    background: radial-gradient(circle at 60% 50%, rgba(33, 97, 214, 0.7) 0%, rgba(19, 69, 171, 0.4) 30%, rgba(0, 0, 0, 0) 60%);
    backdrop-filter: blur(100px);
    padding: 10vw 2rem 10vw 10vw;
    display: flex;
    justify-content: flex-end;
    align-items: center;
  }

  .ard-logos {
    max-width: 75vw;
  }

  footer {
    padding: 1.5rem;
    gap: 12px;
  }

  /* Re-declare after .circle-background-color to win the cascade */
  .hide-on-phone { display: none; }
}
