/* FJU Infinity — one-page landing.
   Palette and typography loosely drawn from funneljunkies.co.za
   (dark ground, gold accent #F0D80B, geometric sans).
   Fully self-contained: no webfonts, no external scripts. */

:root {
  --bg: #0f1318;
  --gold: #f0d80b;
  --gold-deep: #c48b28;
  --text: #ffffff;
  --muted: #c9d8e0;
  --footer: #a8b3c0;
  --focus: #f0d80b;
  --btn-text: #181816;
  --radius: 999px;
  --font: "Poppins", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
  -webkit-text-size-adjust: 100%;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
}

/* Skip-level decorative atmosphere */
.atmosphere {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background:
    radial-gradient(ellipse 90% 55% at 50% -10%, rgba(240, 216, 11, 0.14), transparent 58%),
    radial-gradient(ellipse 45% 40% at 8% 85%, rgba(196, 139, 40, 0.12), transparent 60%),
    radial-gradient(ellipse 50% 45% at 95% 75%, rgba(21, 94, 239, 0.10), transparent 62%),
    var(--bg);
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}

.glow-top {
  width: 42rem;
  height: 18rem;
  left: 50%;
  top: -6rem;
  transform: translateX(-50%);
  background: rgba(240, 216, 11, 0.12);
}

.glow-left {
  width: 18rem;
  height: 18rem;
  left: -6rem;
  bottom: 10%;
  background: rgba(196, 139, 40, 0.10);
}

.glow-right {
  width: 20rem;
  height: 20rem;
  right: -7rem;
  bottom: 18%;
  background: rgba(21, 94, 239, 0.10);
}

.motif {
  position: absolute;
  left: 50%;
  top: 42%;
  width: min(92vw, 52rem);
  height: auto;
  transform: translate(-50%, -50%);
  opacity: 0.9;
}

.page {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  width: min(44rem, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 2rem 0 1.5rem;
}

header.brand {
  display: flex;
  justify-content: center;
  padding-top: 1.5rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
}

.logo-mark {
  width: 3.5rem;
  height: 1.75rem;
  flex: 0 0 auto;
  display: block;
}

.logo-type {
  display: inline-flex;
  align-items: baseline;
  gap: 0.45rem;
  letter-spacing: 0.01em;
  line-height: 1;
}

.logo-fju {
  font-weight: 700;
  font-size: 1.55rem;
  color: var(--gold);
  letter-spacing: 0.06em;
}

.logo-infinity {
  font-weight: 600;
  font-size: 1.55rem;
  color: var(--text);
  letter-spacing: 0.02em;
}

/* When a raster/vector logo file is swapped in */
.logo-img {
  display: block;
  height: 8rem;
  width: auto;
  max-width: 60vw;
  border-radius: 1rem;
}

main {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 3rem 0 2.5rem;
}

h1 {
  margin: 0;
  font-weight: 600;
  font-size: clamp(1.5rem, 4.2vw, 2.25rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
  max-width: 22ch;
  text-wrap: balance;
  text-shadow: 0 2px 22px rgba(15, 19, 24, 0.92);
}

.audience {
  margin: 1.15rem 0 0;
  font-size: clamp(1rem, 2.4vw, 1.2rem);
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0.01em;
}

.links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
  margin-top: 2.25rem;
  width: 100%;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  line-height: 1.2;
  text-align: center;
  border: 2px solid transparent;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.btn-primary {
  background: var(--gold);
  color: var(--btn-text);
  border-color: var(--gold);
}

.btn-primary:hover {
  background: #ffe44a;
  border-color: #ffe44a;
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border-color: rgba(201, 216, 224, 0.7);
}

.btn-secondary:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn:active {
  transform: translateY(1px);
}

.btn:focus-visible,
.logo:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

footer {
  text-align: center;
  padding: 1.25rem 0 0.5rem;
}

footer p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--footer);
}

@media (min-width: 640px) {
  header.brand {
    padding-top: 2.25rem;
  }

  .logo-mark {
    width: 4.25rem;
    height: 2.125rem;
  }

  .logo-fju,
  .logo-infinity {
    font-size: 1.85rem;
  }

  .links {
    gap: 1rem;
  }

  .btn {
    min-width: 15.5rem;
    padding: 0.85rem 1.6rem;
    font-size: 1rem;
  }
}

@media (max-width: 639px) {
  .page {
    width: min(44rem, calc(100% - 2rem));
  }

  .motif {
    top: 22%;
    width: min(160vw, 34rem);
    opacity: 0.4;
  }

  .links {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  header.brand {
    padding-top: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .btn {
    transition: none;
  }

  .btn:active {
    transform: none;
  }
}
