/* ==========================================================
   Lighthouse Partners — Design System
   Palette: Deep Navy / Signal Gold / Chalk
   ========================================================== */
:root {
  --navy-950: #060D1A;
  --navy-900: #0A1628;
  --navy-800: #10233F;
  --navy-700: #17325A;
  --blue-600: #0544A4;
  --blue-500: #1A63D4;
  --gold-500: #F5A623;
  --gold-400: #FFB627;
  --gold-300: #FFC95C;
  --chalk: #F7F5F0;
  --chalk-dim: #E9E5DC;
  --ink: #1B2430;
  --grey-500: #64748B;
  --grey-300: #C2CCD9;
  --white: #FFFFFF;
  --radius: 14px;
  --radius-lg: 24px;
  --shadow-1: 0 2px 8px rgba(6, 13, 26, .08);
  --shadow-2: 0 12px 40px rgba(6, 13, 26, .16);
  --shadow-gold: 0 8px 32px rgba(245, 166, 35, .25);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, "Segoe UI", Roboto, sans-serif;
  --maxw: 1180px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { overflow-x: clip; max-width: 100%; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--chalk);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--blue-600); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

h1, h2, h3, .display { font-family: var(--font-display); font-weight: 600; line-height: 1.12; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.4rem, 5.4vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.35rem; }

.eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold-500); margin-bottom: 18px;
}
.eyebrow.on-light { color: var(--blue-600); }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .3s, box-shadow .3s, padding .3s;
  padding: 22px 0;
}
.nav.scrolled { background: rgba(6, 13, 26, .92); backdrop-filter: blur(12px); box-shadow: var(--shadow-1); padding: 12px 0; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none !important; }
.brand-img { height: 48px; width: auto; display: block; }
.brand-mark { width: 38px; height: 38px; flex: none; }
.brand-name { color: var(--white); font-family: var(--font-display); font-size: 1.18rem; font-weight: 600; letter-spacing: .01em; }
.brand-name span { color: var(--gold-400); }
.nav-links { display: flex; align-items: center; gap: 24px; list-style: none; }
.nav-links a { color: rgba(255,255,255,.82); font-size: .93rem; font-weight: 500; text-decoration: none !important; transition: color .2s; white-space: nowrap; }
.nav-links a:hover, .nav-links a.active { color: var(--gold-400); }
.nav-cta {
  background: var(--gold-500); color: var(--navy-950) !important;
  padding: 10px 22px; border-radius: 999px; font-weight: 700 !important;
  transition: transform .2s, box-shadow .2s;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: var(--shadow-gold); }
.hamburger { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--white); margin: 5px 0; transition: .3s; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(1200px 600px at 78% -10%, var(--navy-700) 0%, var(--navy-900) 45%, var(--navy-950) 100%);
  color: var(--white);
  padding: 180px 0 110px;
}
.hero.short { padding: 150px 0 70px; }
.hero::before { /* lighthouse beam */
  content: ""; position: absolute; top: -30%; right: -8%;
  width: 900px; height: 900px; pointer-events: none;
  background: conic-gradient(from 205deg at 70% 30%, transparent 0deg, rgba(255,182,39,.14) 8deg, rgba(255,182,39,.05) 22deg, transparent 34deg);
  animation: sweep 9s ease-in-out infinite alternate;
}
@keyframes sweep { from { transform: rotate(-6deg); } to { transform: rotate(8deg); } }
.hero h1 { max-width: 820px; }
.hero h1 em { font-style: normal; color: var(--gold-400); }
.hero .lede { max-width: 640px; margin-top: 24px; font-size: 1.18rem; color: rgba(255,255,255,.78); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 40px; }
.hero-note { margin-top: 22px; font-size: .88rem; color: rgba(255,255,255,.55); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 32px; border-radius: 999px; font-weight: 700; font-size: 1rem;
  text-decoration: none !important; transition: transform .2s, box-shadow .2s, background .2s;
  cursor: pointer; border: 0;
}
.btn-gold { background: var(--gold-500); color: var(--navy-950); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: var(--shadow-gold); background: var(--gold-400); }
.btn-ghost { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,.35); }
.btn-ghost:hover { border-color: var(--gold-400); color: var(--gold-400); }
.btn-navy { background: var(--navy-900); color: var(--white); }
.btn-navy:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); }
.btn small { display: block; font-weight: 500; font-size: .74rem; opacity: .75; }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section.tight { padding: 72px 0; }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head p { margin-top: 16px; color: var(--grey-500); font-size: 1.08rem; }
.on-dark { background: var(--navy-900); color: var(--white); }
.on-dark .section-head p { color: rgba(255,255,255,.7); }

/* ---------- Stats band ---------- */
.stats { background: var(--navy-950); color: var(--white); padding: 54px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; text-align: center; }
.stat b { font-family: var(--font-display); font-size: 2.6rem; color: var(--gold-400); display: block; line-height: 1; }
.stat span { font-size: .88rem; color: rgba(255,255,255,.65); margin-top: 8px; display: block; }

/* ---------- Cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.card {
  background: var(--white); border-radius: var(--radius-lg); padding: 40px 34px;
  box-shadow: var(--shadow-1); transition: transform .25s, box-shadow .25s;
  display: flex; flex-direction: column;
  border-top: 4px solid transparent;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-2); border-top-color: var(--gold-500); }
.card .icon { width: 52px; height: 52px; margin-bottom: 22px; }
.card h3 { margin-bottom: 12px; }
.card p { color: var(--grey-500); font-size: .98rem; flex: 1; }
.card .card-link { margin-top: 22px; font-weight: 700; color: var(--blue-600); font-size: .95rem; }
.card .card-link:after { content: " →"; }
.card ul { margin: 14px 0 0 18px; color: var(--grey-500); font-size: .95rem; }
.card ul li { margin-bottom: 8px; }

/* ---------- Split feature ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split .kicker-list { list-style: none; margin-top: 28px; }
.split .kicker-list li { padding: 14px 0 14px 40px; position: relative; border-bottom: 1px solid var(--chalk-dim); }
.on-dark .split .kicker-list li { border-bottom-color: rgba(255,255,255,.1); }
.split .kicker-list li::before {
  content: "✓"; position: absolute; left: 0; top: 12px;
  width: 26px; height: 26px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: var(--gold-500); color: var(--navy-950); font-size: .8rem; font-weight: 800;
}

/* ---------- Process steps ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.step { background: var(--white); border-radius: var(--radius-lg); padding: 36px 30px; box-shadow: var(--shadow-1); position: relative; }
.step::before {
  counter-increment: step; content: "0" counter(step);
  font-family: var(--font-display); font-size: 3rem; color: var(--chalk-dim); font-weight: 700;
  display: block; margin-bottom: 8px; line-height: 1;
}
.step h3 { font-size: 1.15rem; margin-bottom: 8px; }
.step p { color: var(--grey-500); font-size: .95rem; }

/* ---------- Quote / testimonial ---------- */
.quote {
  background: var(--white); border-radius: var(--radius-lg); padding: 44px;
  box-shadow: var(--shadow-1); border-left: 5px solid var(--gold-500);
}
.quote p { font-family: var(--font-display); font-size: 1.25rem; line-height: 1.5; color: var(--ink); }
.quote footer { margin-top: 20px; font-size: .9rem; color: var(--grey-500); font-weight: 600; }

/* ---------- FAQ accordion ---------- */
.faq-item { border-bottom: 1px solid var(--chalk-dim); }
.faq-item button {
  width: 100%; background: none; border: 0; text-align: left; cursor: pointer;
  padding: 24px 44px 24px 0; font-family: var(--font-body); font-size: 1.08rem; font-weight: 600; color: var(--ink);
  position: relative;
}
.faq-item button::after { content: "+"; position: absolute; right: 4px; top: 20px; font-size: 1.6rem; color: var(--gold-500); transition: transform .25s; }
.faq-item.open button::after { transform: rotate(45deg); }
.faq-body { max-height: 0; overflow: hidden; transition: max-height .35s ease; color: var(--grey-500); }
.faq-item.open .faq-body { max-height: 400px; }
.faq-body p { padding: 0 0 24px; max-width: 800px; }

/* ---------- Banner CTA ---------- */
.cta-banner {
  background: linear-gradient(120deg, var(--navy-900) 0%, var(--navy-700) 60%, var(--blue-600) 130%);
  border-radius: var(--radius-lg); padding: 72px 64px; color: var(--white);
  position: relative; overflow: hidden;
}
.cta-banner::after {
  content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px;
  border-radius: 50%; background: radial-gradient(circle, rgba(255,182,39,.35), transparent 65%);
}
.cta-banner h2 { max-width: 560px; }
.cta-banner p { margin: 18px 0 32px; color: rgba(255,255,255,.75); max-width: 520px; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
label { font-size: .85rem; font-weight: 600; display: block; margin-bottom: 6px; }
input, select, textarea {
  width: 100%; padding: 14px 16px; border: 1.5px solid var(--grey-300); border-radius: var(--radius);
  font-family: var(--font-body); font-size: 1rem; background: var(--white); transition: border-color .2s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--gold-500); }

/* ---------- Footer ---------- */
footer.site {
  background: var(--navy-950); color: rgba(255,255,255,.7); padding: 72px 0 36px; font-size: .92rem;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 56px; }
footer.site h4 { color: var(--white); font-size: .85rem; text-transform: uppercase; letter-spacing: .14em; margin-bottom: 18px; }
footer.site ul { list-style: none; }
footer.site li { margin-bottom: 10px; }
footer.site a { color: rgba(255,255,255,.7); text-decoration: none; }
footer.site a:hover { color: var(--gold-400); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 28px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .82rem; color: rgba(255,255,255,.45); }

/* ---------- Reveal animation (JS-gated: no JS = fully visible) ---------- */
html.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
html.js .reveal.visible { opacity: 1; transform: none; }

/* ---------- Breadcrumb ---------- */
.crumbs { font-size: .84rem; color: rgba(255,255,255,.55); margin-bottom: 22px; }
.crumbs a { color: rgba(255,255,255,.75); }

/* ---------- Signup band (end of page conversion) ---------- */
.signup-band { background: linear-gradient(160deg, var(--navy-900), var(--navy-950)); color: var(--white); padding: 88px 0; }
.signup-band .split { align-items: start; }
.signup-card { background: var(--navy-800); border-radius: var(--radius-lg); padding: 40px 36px; box-shadow: var(--shadow-2); }
.signup-card h3 { color: var(--white); font-size: 1.5rem; margin-bottom: 6px; }
.signup-card .sub { color: rgba(255,255,255,.65); font-size: .95rem; margin-bottom: 24px; }
.signup-card input, .signup-card select { background: var(--navy-900); border-color: rgba(255,255,255,.18); color: var(--white); }
.signup-card input::placeholder { color: rgba(255,255,255,.35); }
.signup-card input:focus, .signup-card select:focus { border-color: var(--gold-400); }
.checkline { display: flex; align-items: flex-start; gap: 10px; font-size: .88rem; color: rgba(255,255,255,.75); margin-top: 4px; }
.checkline input { width: auto; margin-top: 4px; accent-color: var(--gold-500); }
.afterthought { margin-top: 18px; font-size: .92rem; color: rgba(255,255,255,.6); text-align: center; }
.afterthought a { color: var(--gold-400); font-weight: 600; }
.dl-card { background: var(--navy-800); border-radius: var(--radius); padding: 22px 24px; display: flex; gap: 16px; align-items: flex-start; margin-bottom: 14px; }
.dl-card .dl-ico { flex: none; width: 42px; height: 42px; border-radius: 10px; background: rgba(245,166,35,.15); display: flex; align-items: center; justify-content: center; color: var(--gold-400); font-weight: 800; font-size: .8rem; }
.dl-card h4 { color: var(--white); font-size: 1.02rem; margin-bottom: 4px; }
.dl-card p { color: rgba(255,255,255,.6); font-size: .87rem; }
.social-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.badge-btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; border: 1.5px solid rgba(255,255,255,.25); color: var(--white); font-size: .88rem; font-weight: 600; text-decoration: none !important; transition: border-color .2s, color .2s; }
.badge-btn:hover { border-color: var(--gold-400); color: var(--gold-400); }

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .grid-3, .steps { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 1150px) {
  .nav-links {
    position: fixed; inset: 0; background: var(--navy-950);
    flex-direction: column; justify-content: center; gap: 26px;
    transform: translateX(100%); visibility: hidden;
    transition: transform .3s ease, visibility 0s linear .3s;
  }
  .nav-links.open { transform: none; visibility: visible; transition: transform .3s ease; }
  .nav-links a { font-size: 1.05rem; }
  .hamburger { display: block; position: relative; z-index: 110; }
}
/* Touch & small-screen performance */
@media (hover: none), (max-width: 940px) {
  html.js .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .hero::before { animation: none; }
  .nav.scrolled { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .card:hover, .btn:hover, .nav-cta:hover { transform: none; }
}
@media (max-width: 700px) {
  .grid-3, .grid-2, .steps, .form-grid { grid-template-columns: 1fr; }
  .hero { padding: 120px 0 70px; }
  .hero h1 { font-size: 2.1rem; overflow-wrap: break-word; }
  .hero .lede { font-size: 1.05rem; }
  .cta-banner { padding: 48px 24px; }
  .section { padding: 56px 0; }
  .container { padding: 0 18px; }
  .brand-img { height: 36px; }
  .stats-grid { gap: 24px; }
  .stat b { font-size: 2rem; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .signup-card { padding: 30px 22px; }
  .quote { padding: 28px 22px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .split { gap: 32px; }
}
