/* LocalLift AI — site styles */
:root {
  --navy-900: #0c1f3f;
  --navy-800: #13305e;
  --navy-700: #1b3f78;
  --navy-100: #e8eef8;
  --navy-50: #f4f7fc;
  --orange-600: #e8650f;
  --orange-500: #f7861b;
  --orange-400: #fba83f;
  --orange-50: #fff4e8;
  --ink: #16233a;
  --ink-soft: #4a5872;
  --line: #dde4ef;
  --white: #ffffff;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(12, 31, 63, .06), 0 2px 8px rgba(12, 31, 63, .05);
  --shadow-md: 0 10px 30px rgba(12, 31, 63, .10);
  --max: 1160px;
  --font-head: "Orbitron", "Oxanium", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Oxanium", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-700); text-underline-offset: 3px; }
a:hover { color: var(--orange-600); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy-900); line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(1.9rem, 4.6vw, 3.2rem); font-weight: 700; letter-spacing: 0; }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 700; letter-spacing: 0; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .container { padding: 0 16px; } }

.skip-link {
  position: absolute; left: -999px; top: 8px; z-index: 100;
  background: var(--navy-900); color: var(--white); padding: 8px 14px; border-radius: 8px;
}
.skip-link:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--orange-500); outline-offset: 2px; border-radius: 4px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { height: 44px; width: auto; }
.brand-name { font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; color: var(--navy-800); letter-spacing: 0; }
.brand-name span { color: var(--orange-500); }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: block; padding: 8px 14px; border-radius: 999px;
  text-decoration: none; color: var(--ink); font-family: var(--font-head); font-weight: 600; font-size: .82rem; letter-spacing: .02em;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { background: var(--navy-50); color: var(--navy-800); }
.nav-links .btn { margin-left: 8px; }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--line); border-radius: 10px;
  width: 44px; height: 44px; cursor: pointer; color: var(--navy-800);
}
.nav-toggle svg { width: 22px; height: 22px; }

@media (max-width: 1120px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav-links {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); border-bottom: 1px solid var(--line);
    padding: 8px 16px 16px; box-shadow: var(--shadow-md);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 8px; border-radius: 8px; }
  .nav-links .btn { margin: 8px 0 0; text-align: center; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px; border: 2px solid transparent;
  font-family: var(--font-head); font-weight: 600; font-size: .98rem;
  text-decoration: none; cursor: pointer; transition: transform .15s, background .15s, color .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--orange-500); color: var(--white) !important; }
.btn-primary:hover { background: var(--orange-600); }
.btn-outline { border-color: var(--navy-800); color: var(--navy-800); background: transparent; }
.btn-outline:hover { background: var(--navy-800); color: var(--white); }
.nav-links a.btn-primary:hover { background: var(--orange-600); color: var(--white); }

/* ---------- Sections ---------- */
section { padding: 96px 0; }
@media (max-width: 700px) { section { padding: 64px 0; } }
.eyebrow {
  display: inline-block; font-family: var(--font-head); font-weight: 600; font-size: .82rem;
  letter-spacing: .12em; text-transform: uppercase; color: var(--orange-600); margin-bottom: 12px;
}
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.lead { font-size: 1.15rem; color: var(--ink-soft); }
.bg-soft { background: var(--navy-50); }
.bg-navy { background: var(--navy-900); color: #d9e2f2; }
.bg-navy h2, .bg-navy h3 { color: var(--white); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; padding: 88px 0 96px;
  background:
    radial-gradient(900px 420px at 92% 10%, rgba(247, 134, 27, .14), transparent 60%),
    radial-gradient(800px 500px at -10% 110%, rgba(27, 63, 120, .12), transparent 60%),
    var(--white);
}
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero h1 .accent { color: var(--orange-500); }
.hero .lead { max-width: 560px; margin-bottom: 32px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-art {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md); padding: 36px 28px;
}
.hero-art img { margin: 0 auto; width: 100%; max-width: 420px; }
@media (max-width: 880px) {
  .hero { padding: 56px 0 64px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-art { order: -1; max-width: 420px; margin: 0 auto; padding: 24px; }
}

/* ---------- Gap / stats ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; gap: 32px; } }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.checklist li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; }
.checklist .tick {
  width: 28px; height: 28px; border-radius: 50%; background: var(--orange-50); color: var(--orange-600);
  display: grid; place-items: center; font-weight: 700; font-size: .9rem; margin-top: 1px;
}

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 960px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .cards { grid-template-columns: 1fr; } }
.card {
  position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px 28px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
}
.card p { color: var(--ink-soft); margin-bottom: 0; }
.card ul { color: var(--ink-soft); padding-left: 1.1em; margin: 12px 0 0; }
.card ul li { margin-bottom: 4px; }
.icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 20px;
  background: var(--navy-100); color: var(--navy-800);
}
.icon.orange { background: var(--orange-50); color: var(--orange-600); }
.icon svg { width: 26px; height: 26px; }
.tag {
  position: absolute; top: 22px; right: 22px; font-size: .74rem; font-weight: 600; letter-spacing: .04em;
  text-transform: uppercase; padding: 4px 10px; border-radius: 999px;
  background: var(--orange-50); color: var(--orange-600);
}

/* ---------- Principles ---------- */
.principles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 960px) { .principles { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .principles { grid-template-columns: 1fr; } }
.principle {
  border-radius: var(--radius); padding: 26px 24px; background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .12);
}
.principle .num { font-family: var(--font-head); font-weight: 700; color: var(--orange-400); font-size: .95rem; margin-bottom: 8px; }
.principle p { margin: 0; color: #c3cee3; font-size: .97rem; }

/* ---------- Story ---------- */
.story-quote {
  position: relative; background: var(--white); border-radius: var(--radius-lg); border: 1px solid var(--line);
  padding: 40px 36px 36px; box-shadow: var(--shadow-sm);
}
.story-quote::before {
  content: "\201C"; position: absolute; top: -18px; left: 28px; font-family: Georgia, serif; font-size: 5rem; line-height: 1;
  color: var(--orange-500);
}
.story-quote blockquote { margin: 0; font-family: var(--font-body); font-size: 1.35rem; font-weight: 600; color: var(--navy-900); line-height: 1.45; }
.story-quote figcaption { margin-top: 18px; color: var(--ink-soft); font-size: .95rem; }

/* ---------- Get involved ---------- */
.involve .card h3 { margin-top: 0; }
.card .btn { margin-top: 22px; align-self: flex-start; }

.contact-panel {
  margin-top: 56px; border-radius: var(--radius-lg); padding: 40px;
  background: linear-gradient(120deg, var(--navy-800), var(--navy-700));
  color: #dbe4f4; display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: center;
}
.contact-panel h2 { color: var(--white); margin-bottom: 8px; }
.contact-panel p { margin: 0; }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.contact-list li { display: flex; gap: 12px; align-items: center; }
.contact-list svg { width: 20px; height: 20px; color: var(--orange-400); flex: none; }
.contact-list a { color: var(--white); }
@media (max-width: 760px) { .contact-panel { grid-template-columns: 1fr; padding: 28px 22px; } }

/* Values to fill in before launch */
.fill { background: #fff3c4; color: #6b4b00; padding: 0 4px; border-radius: 4px; font-weight: 600; }
.contact-panel .fill { background: rgba(255, 243, 196, .18); color: #ffe9a8; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: #aebbd3; padding: 56px 0 28px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }
.footer-brand img { height: 52px; width: auto; margin-bottom: 14px; background: var(--white); border-radius: 12px; padding: 6px; }
.site-footer h4 { color: var(--white); font-size: .95rem; margin-bottom: 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: #d3dcec; text-decoration: none; }
.site-footer a:hover { color: var(--orange-400); }
.footer-legal { margin: 32px 0 0; font-size: .85rem; color: #8e9cb6; max-width: 760px; }
.footer-bottom {
  margin-top: 24px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .1);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .85rem;
}

/* ---------- Policies page ---------- */
.page-hero { padding: 64px 0 40px; background: var(--navy-50); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.page-hero .meta { color: var(--ink-soft); font-size: .95rem; margin: 0; }
.policy-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.policy-tabs a {
  text-decoration: none; padding: 10px 18px; border-radius: 999px; background: var(--white);
  border: 1px solid var(--line); color: var(--navy-800); font-weight: 600; font-size: .95rem;
}
.policy-tabs a:hover { border-color: var(--orange-500); color: var(--orange-600); }

.policy-layout { display: grid; grid-template-columns: 260px 1fr; gap: 56px; padding: 56px 0 96px; }
@media (max-width: 960px) { .policy-layout { grid-template-columns: 1fr; gap: 0; } .toc { display: none; } }
.toc { position: sticky; top: 96px; align-self: start; max-height: calc(100vh - 120px); overflow: auto; font-size: .92rem; }
.toc h2 { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-soft); margin: 0 0 8px; }
.toc ol { list-style: none; padding: 0; margin: 0 0 22px; }
.toc a { display: block; padding: 5px 10px; border-left: 2px solid var(--line); text-decoration: none; color: var(--ink-soft); }
.toc a:hover, .toc a.active { color: var(--navy-800); border-left-color: var(--orange-500); background: var(--navy-50); }
.toc .toc-group > a { font-weight: 600; color: var(--navy-800); }

.policy { max-width: 780px; min-width: 0; }
.policy > article { padding-bottom: 48px; margin-bottom: 48px; border-bottom: 1px solid var(--line); }
.policy > article:last-child { border-bottom: 0; }
.policy h2 { font-size: 1.9rem; display: flex; align-items: center; gap: 12px; }
.policy h2 .icon { margin: 0; width: 44px; height: 44px; flex: none; }
.policy h3 { margin-top: 2em; font-size: 1.15rem; }
.policy h4 { margin-top: 1.4em; font-size: 1rem; }
.policy p, .policy li { color: #2b3954; }
.policy ul, .policy ol { padding-left: 1.3em; }
.policy li { margin-bottom: 6px; }
.policy .summary {
  background: var(--navy-50); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 24px; margin: 20px 0 8px;
}
.policy .summary p:last-child, .policy .summary ul:last-child { margin-bottom: 0; }
.callout {
  border-left: 4px solid var(--orange-500); background: var(--orange-50); padding: 16px 20px; border-radius: 0 var(--radius) var(--radius) 0; margin: 20px 0;
}
.callout p:last-child { margin-bottom: 0; }
.keyword-table { width: 100%; border-collapse: collapse; margin: 16px 0 8px; font-size: .95rem; }
.keyword-table th, .keyword-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.keyword-table th { background: var(--navy-50); font-family: var(--font-head); font-weight: 600; color: var(--navy-900); }
.table-wrap { overflow-x: auto; }
code, kbd {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .88em; background: var(--navy-100);
  color: var(--navy-900); padding: 1px 6px; border-radius: 5px;
}
.sample {
  border: 1px dashed #b9c6db; border-radius: var(--radius); padding: 18px 20px; background: var(--white); font-size: .95rem; margin: 16px 0;
}
.sample .label { display: block; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); font-weight: 600; margin-bottom: 6px; }
.back-top { display: inline-block; margin-top: 8px; font-size: .9rem; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ---------- Contact page ---------- */
.involve-note { margin: 40px 0 0; text-align: center; color: var(--ink-soft); }
.involve-note a { font-weight: 600; }
.contact-page { padding: 56px 0 96px; }
.contact-page .contact-panel { margin-top: 0; }
.contact-list address { font-style: normal; line-height: 1.5; }
.contact-list li:has(address) { align-items: flex-start; }
.contact-cards { margin-top: 40px; }
.contact-cards .card h3 { margin-top: 0; }
.contact-cards .card p { flex: 1; }
