/* ---------------------------------------------------------------
   Soar Financial Operations — holding page
   Brand palette: Midnight Blue / Champagne Gold / Ice White
   Typeface: Manrope (SIL OFL 1.1)
----------------------------------------------------------------- */

@font-face {
  font-family: 'Manrope';
  src: url('fonts/Manrope-VariableFont_wght.ttf') format('truetype');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Brand core */
  --midnight: #0a2342;
  --midnight-deep: #061529;
  --navy-raised: #112240;
  --gold: #cb8129;
  --gold-light: #dda05c;
  --ice: #f7f9fc;
  --accent-blue: #3b82f6;

  /* Derived */
  --card: rgba(17, 34, 64, 0.82);
  --border: rgba(203, 129, 41, 0.22);
  --text: var(--ice);
  --muted: #a3b8d0;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: 'Manrope', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  font-weight: 400;
  background:
    radial-gradient(ellipse 90% 60% at 50% -10%, rgba(203, 129, 41, 0.20), transparent 60%),
    radial-gradient(ellipse 70% 50% at 50% 110%, rgba(59, 130, 246, 0.14), transparent 65%),
    linear-gradient(180deg, var(--midnight-deep) 0%, var(--midnight) 45%, #081b33 100%);
  background-attachment: fixed;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.background-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(163, 184, 208, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(163, 184, 208, 0.07) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(circle at center, black 45%, transparent 88%);
  mask-image: radial-gradient(circle at center, black 45%, transparent 88%);
}

/* Soft champagne halo behind the card */
.background-glow {
  position: fixed;
  top: 50%;
  left: 50%;
  width: min(1100px, 120vw);
  height: min(1100px, 120vw);
  transform: translate(-50%, -50%);
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(circle, rgba(203, 129, 41, 0.13) 0%, transparent 62%);
  filter: blur(20px);
}

.hero {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 900px;
  padding: 48px 24px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.content-card {
  width: 100%;
  background: var(--card);
  border: 1px solid var(--border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 28px;
  padding: 46px 52px 40px;
  box-shadow:
    0 24px 70px rgba(3, 10, 22, 0.55),
    inset 0 1px 0 rgba(247, 249, 252, 0.06);
  text-align: center;
}

/* Logo already carries the "Financial Operations" lockup */
.logo {
  width: 470px;
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 30px;
  object-fit: contain;
  filter: drop-shadow(0 10px 26px rgba(3, 10, 22, 0.45));
}

.eyebrow {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.76rem;
  font-weight: 700;
  margin: 0 0 20px;
}

h1 {
  font-size: clamp(2.1rem, 4.4vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.08;
  margin: 0 0 22px;
  color: var(--ice);
}

.lead {
  color: var(--muted);
  font-size: 1.1rem;
  font-weight: 400;
  line-height: 1.7;
  max-width: 640px;
  margin: 0 auto 30px;
}

.service-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin: 0 0 32px;
}

.service-list li {
  border: 1px solid rgba(203, 129, 41, 0.38);
  background: rgba(203, 129, 41, 0.10);
  color: var(--gold-light);
  padding: 11px 18px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.divider {
  width: 90px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(203, 129, 41, 0.55), transparent);
  margin: 0 auto 24px;
}

.footer-copy {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.8;
  margin: 0;
}

.footer-copy a {
  color: var(--gold-light);
  text-decoration: none;
}

.footer-copy a:hover {
  text-decoration: underline;
}

/* Gentle entrance — CSS-only, so the card is never hidden if JS fails */
@keyframes card-rise {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: none; }
}

.content-card {
  animation: card-rise 0.7s ease both;
}

@media (prefers-reduced-motion: reduce) {
  .content-card {
    animation: none;
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 32px 16px;
  }

  .content-card {
    padding: 40px 24px 36px;
    border-radius: 22px;
  }

  .logo {
    width: 100%;
    margin-bottom: 28px;
  }

  h1 {
    font-size: 2.1rem;
  }

  .lead {
    font-size: 1rem;
  }

  .service-list li {
    font-size: 0.84rem;
    padding: 9px 14px;
  }
}
