/* ProFund Liberty Group LLC — site styles */

:root {
  --navy: #0B1638;
  --navy-900: #070F28;
  --navy-700: #14214A;
  --navy-600: #1C2B5C;
  --gold: #C9963B;
  --gold-600: #B3832E;
  --gold-100: #F6EBD6;
  --cream: #F3E6D0;
  --cream-50: #FBF7F0;
  --ink: #1B2340;
  --muted: #5A6180;
  --line: #E4DCCB;
  --white: #FFFFFF;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow: 0 10px 30px rgba(11, 22, 56, 0.08);
  --shadow-lg: 0 20px 50px rgba(11, 22, 56, 0.16);
  --max: 1160px;
  --font-head: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
}

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

a { color: var(--navy-600); text-decoration-color: var(--gold); text-underline-offset: 3px; }
a:hover { color: var(--gold-600); }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy);
  line-height: 1.2;
  margin: 0 0 0.6em;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2rem, 4.6vw, 3.25rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1em; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--gold); color: var(--navy); padding: 10px 16px; z-index: 1000; font-weight: 600;
}
.skip-link:focus { left: 16px; top: 16px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 820px; }

/* Placeholder highlight — remove the class once real details are filled in */
.ph {
  background: rgba(201, 150, 59, 0.18);
  border: 1px dashed var(--gold);
  border-radius: 4px;
  padding: 0 4px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.92em;
  white-space: nowrap;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-head); font-weight: 600; font-size: 1rem;
  padding: 14px 26px; border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; line-height: 1.2;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: var(--navy); box-shadow: 0 6px 18px rgba(201, 150, 59, 0.35); }
.btn-gold:hover { background: #D6A54B; color: var(--navy); }
.btn-outline { border-color: var(--cream); color: var(--cream); background: transparent; }
.btn-outline:hover { background: var(--cream); color: var(--navy); }
.btn-navy { background: var(--navy); color: var(--cream); }
.btn-navy:hover { background: var(--navy-600); color: var(--cream); }
.btn-sm { padding: 10px 18px; font-size: 0.92rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--navy);
  border-bottom: 1px solid rgba(201, 150, 59, 0.25);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--cream); }
.brand img { width: 34px; height: auto; }
.brand-text { font-family: var(--font-head); line-height: 1.05; }
.brand-text strong { display: block; font-size: 1.12rem; letter-spacing: 0.12em; color: var(--cream); font-weight: 700; }
.brand-text span { display: block; font-size: 0.68rem; letter-spacing: 0.32em; color: var(--gold); font-weight: 600; margin-top: 3px; }

.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.main-nav a {
  display: block; padding: 8px 11px; border-radius: 6px;
  color: var(--cream); text-decoration: none; font-family: var(--font-head);
  font-size: 0.9rem; font-weight: 500;
}
.main-nav a:hover { color: var(--gold); }
.main-nav a[aria-current="page"] { color: var(--gold); }
.main-nav .nav-cta { margin-left: 8px; }
.main-nav .nav-cta a { color: var(--navy); padding: 10px 18px; }
.main-nav .nav-cta a:hover { color: var(--navy); }

.nav-toggle {
  display: none; background: none; border: 1px solid rgba(243, 230, 208, 0.4); border-radius: 8px;
  width: 44px; height: 44px; cursor: pointer; padding: 0; color: var(--cream);
}
.nav-toggle svg { width: 24px; height: 24px; margin: auto; }

@media (max-width: 1060px) {
  .nav-toggle { display: grid; place-items: center; }
  .main-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--navy); border-bottom: 1px solid rgba(201, 150, 59, 0.25);
    display: none; padding: 8px 20px 20px;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav a { padding: 13px 4px; font-size: 1rem; border-bottom: 1px solid rgba(243, 230, 208, 0.08); border-radius: 0; }
  .main-nav .nav-cta { margin: 14px 0 0; }
  .main-nav .nav-cta a { text-align: center; border-radius: 999px; border-bottom: 0; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1000px 500px at 85% 20%, rgba(201, 150, 59, 0.14), transparent 60%),
    radial-gradient(800px 600px at 0% 100%, rgba(28, 43, 92, 0.9), transparent 60%),
    var(--navy);
  color: var(--cream);
  padding: 88px 0 96px;
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(243, 230, 208, 0.035) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(243, 230, 208, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 85%);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 85%);
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.35fr 1fr; gap: 48px; align-items: center; }
.hero h1 { color: var(--white); }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero .lead { font-size: 1.2rem; color: var(--cream); opacity: 0.92; max-width: 40em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 26px; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: 0.95rem; }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points svg { width: 18px; height: 18px; color: var(--gold); flex: none; }
.hero-logo { justify-self: center; width: min(100%, 360px); filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.35)); }

.eyebrow {
  display: inline-block; font-family: var(--font-head); font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px;
}

.page-hero {
  background:
    radial-gradient(800px 380px at 90% 0%, rgba(201, 150, 59, 0.14), transparent 60%),
    var(--navy);
  color: var(--cream); padding: 64px 0 60px;
}
.page-hero h1 { color: var(--white); margin-bottom: 0.35em; }
.page-hero p { max-width: 46em; font-size: 1.12rem; opacity: 0.92; margin: 0; }

@media (max-width: 860px) {
  .hero { padding: 56px 0 64px; }
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-logo { order: -1; width: 170px; }
  .hero-actions .btn { flex: 1 1 100%; }
}

/* ---------- Sections ---------- */
.section { padding: 84px 0; }
.section-alt { background: var(--cream-50); }
.section-navy { background: var(--navy); color: var(--cream); }
.section-navy h2, .section-navy h3 { color: var(--white); }
.section-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.1rem; }
.section-navy .section-head p { color: var(--cream); opacity: 0.85; }
@media (max-width: 700px) { .section { padding: 60px 0; } }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px 28px; box-shadow: var(--shadow);
}
.card p:last-child { margin-bottom: 0; }
.card p { color: var(--muted); }
.icon {
  width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center;
  background: var(--navy); color: var(--gold); margin-bottom: 18px;
}
.icon svg { width: 26px; height: 26px; }

/* Steps */
.steps { counter-reset: step; }
.step { position: relative; padding-top: 34px; }
.step-num {
  position: absolute; top: -22px; left: 28px;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--gold); color: var(--navy);
  font-family: var(--font-head); font-weight: 700; font-size: 1.2rem;
  display: grid; place-items: center; box-shadow: 0 6px 16px rgba(201, 150, 59, 0.4);
}
.steps.grid { row-gap: 46px; margin-top: 22px; }

.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 23px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.timeline li { position: relative; padding: 0 0 36px 76px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline .step-num { top: 0; left: 0; }
.timeline h3 { margin-bottom: 0.35em; padding-top: 10px; }
.timeline p { color: var(--muted); margin: 0; }

/* Feature list */
.check-list { list-style: none; padding: 0; margin: 0 0 1em; }
.check-list li { position: relative; padding-left: 32px; margin-bottom: 12px; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 0.3em; width: 20px; height: 20px; border-radius: 50%;
  background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B1638' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 13px no-repeat;
}

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split-top { align-items: start; }
.split-contact { grid-template-columns: 1fr 1.6fr; }
@media (max-width: 860px) { .split, .split-contact { grid-template-columns: 1fr; gap: 32px; } }

.callout {
  border-left: 4px solid var(--gold); background: var(--gold-100);
  padding: 20px 24px; border-radius: 0 var(--radius) var(--radius) 0; margin: 28px 0;
}
.callout p:last-child { margin: 0; }
.callout-navy { background: var(--navy); color: var(--cream); }
.callout-navy strong { color: var(--white); }

.stat-panel {
  background: var(--navy); color: var(--cream); border-radius: var(--radius-lg); padding: 36px;
  box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.stat-panel h3 { color: var(--white); }
.stat-panel::after {
  content: ""; position: absolute; right: -60px; bottom: -60px; width: 220px; height: 220px;
  border: 2px solid rgba(201, 150, 59, 0.25); border-radius: 50%;
}

/* FAQ */
.faq { max-width: 860px; margin: 0 auto; }
.faq details {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  margin-bottom: 14px; box-shadow: 0 2px 10px rgba(11, 22, 56, 0.04);
}
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 56px 20px 24px; position: relative;
  font-family: var(--font-head); font-weight: 600; color: var(--navy); font-size: 1.05rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; border-radius: 50%; background: var(--navy); color: var(--gold);
  display: grid; place-items: center; font-size: 1.2rem; line-height: 1; font-weight: 600;
}
.faq details[open] summary::after { content: "\2212"; }
.faq .answer { padding: 0 24px 22px; color: var(--muted); }
.faq .answer p:last-child { margin: 0; }

/* Audience cards */
.audience-card { border-top: 4px solid var(--gold); }

/* States */
.state-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.state-list li {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px;
  box-shadow: var(--shadow);
}
.state-list strong { display: block; font-family: var(--font-head); color: var(--navy); margin-bottom: 4px; }
.state-list span { color: var(--muted); font-size: 0.95rem; }
@media (max-width: 860px) { .state-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .state-list { grid-template-columns: 1fr; } }

/* Team */
.team-card { text-align: center; }
.avatar {
  width: 96px; height: 96px; border-radius: 50%; margin: 0 auto 16px;
  background: var(--navy); display: grid; place-items: center; border: 3px solid var(--gold);
}
.avatar img { width: 38px; }
.team-card .role { color: var(--gold-600); font-weight: 600; font-size: 0.95rem; margin-bottom: 10px; }

/* Coming soon */
.coming-soon {
  text-align: center; border: 2px dashed var(--line); border-radius: var(--radius-lg);
  padding: 56px 28px; background: var(--white);
}
.coming-soon .icon { margin: 0 auto 18px; }

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-600) 100%);
  color: var(--cream); border-radius: var(--radius-lg); padding: 48px;
  display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap;
  box-shadow: var(--shadow-lg);
}
.cta-band h2 { color: var(--white); margin-bottom: 0.3em; }
.cta-band p { margin: 0; opacity: 0.9; }
.cta-band .actions { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 640px) { .cta-band { padding: 32px 24px; } .cta-band .actions, .cta-band .btn { width: 100%; } }

/* ---------- Forms ---------- */
.form-wrap {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 36px; box-shadow: var(--shadow-lg);
}
@media (max-width: 640px) { .form-wrap { padding: 24px 18px; } }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field label, .field legend { display: block; font-weight: 600; font-size: 0.95rem; color: var(--navy); margin-bottom: 6px; }
.field .req { color: #A6402F; }
.field .hint { font-weight: 400; color: var(--muted); font-size: 0.85rem; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  padding: 12px 14px; border: 1px solid #CFC6B3; border-radius: 8px; background: var(--white);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201, 150, 59, 0.25);
}
fieldset.field { border: 0; padding: 0; margin: 0; min-width: 0; }
.radio-row { display: flex; flex-wrap: wrap; gap: 10px; }
.radio-row label {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 500; margin: 0;
  border: 1px solid #CFC6B3; border-radius: 999px; padding: 8px 16px; cursor: pointer; color: var(--ink);
}
.radio-row input { accent-color: var(--navy); }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 0.9rem; color: var(--muted); }
.consent input { margin-top: 4px; width: 18px; height: 18px; flex: none; accent-color: var(--navy); }
.form-note { font-size: 0.85rem; color: var(--muted); margin: 16px 0 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 16px; padding: 14px 18px; border-radius: 8px; display: none; font-weight: 500; }
.form-status.show { display: block; }
.form-status.ok { background: #E7F3EA; color: #1E5B2E; border: 1px solid #B9DCC2; }
.form-status.err { background: #FBEAE7; color: #8A2E1F; border: 1px solid #EDC1B8; }

.contact-aside .item { display: flex; gap: 14px; margin-bottom: 22px; }
.contact-aside .icon { width: 44px; height: 44px; margin: 0; flex: none; }
.contact-aside .icon svg { width: 22px; height: 22px; }
.contact-aside h3 { margin-bottom: 2px; font-size: 1rem; }
.contact-aside p { margin: 0; color: var(--muted); }

/* ---------- Legal / prose ---------- */
.prose { max-width: 820px; }
.prose h2 { font-size: 1.4rem; margin-top: 2em; }
.prose h3 { margin-top: 1.5em; }
.prose ul { padding-left: 1.3em; }
.prose li { margin-bottom: 0.4em; }
.legal-meta { color: var(--muted); font-size: 0.95rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: var(--cream); padding: 64px 0 28px; font-size: 0.95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; }
.site-footer h4 { color: var(--gold); font-size: 0.8rem; letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: var(--cream); text-decoration: none; opacity: 0.85; }
.site-footer a:hover { color: var(--gold); opacity: 1; }
.site-footer p { opacity: 0.85; }
.footer-logo { width: 150px; margin-bottom: 14px; }
.footer-bottom {
  border-top: 1px solid rgba(243, 230, 208, 0.12); margin-top: 44px; padding-top: 22px;
  font-size: 0.82rem; opacity: 0.8;
}
.footer-bottom p { margin: 0 0 8px; }
.footer-bottom .legal-links { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 10px; }
.site-footer .ph { color: var(--cream); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* Utilities */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-lg { margin-top: 40px; }
.muted { color: var(--muted); }
.small { font-size: 0.88rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
  .btn:hover { transform: none; }
}
