/* American Capital Edge — shared chrome for standalone pages
   (privacy.html, sms-consent.html, etc.). Mirrors the variables,
   base, nav, footer, and typography from index.html so standalone
   pages render with identical chrome to the homepage. Page-specific
   content styles still go in each page's <style> block. */

:root {
  --navy: #16305F;
  --navy-mid: #102545;
  --navy-dark: #0A1A36;
  --navy-deep: #050C1F;
  --crimson: #A42B45;
  --crimson-deep: #7F1F34;
  --white: #FFFFFF;
  --off: #F6F4EE;
  --off-2: #EBE8DE;
  --ink: #0B1321;
  --ink-80: rgba(11, 19, 33, 0.82);
  --ink-60: rgba(11, 19, 33, 0.58);
  --ink-40: rgba(11, 19, 33, 0.38);
  --ink-20: rgba(11, 19, 33, 0.14);
  --ink-10: rgba(11, 19, 33, 0.07);
  --line: #DCD9D0;

  --serif: 'Newsreader', 'Times New Roman', Georgia, serif;
  --sans: 'DM Sans', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --mono: 'DM Mono', 'SF Mono', Menlo, monospace;

  --max: 1400px;
  --pad: clamp(24px, 5vw, 88px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  background: var(--off);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 19px;
  font-weight: 400;
  line-height: 1.55;
  overflow-x: hidden;
  font-feature-settings: "kern", "liga";
}

::selection { background: var(--navy); color: var(--white); }

:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--crimson);
  outline-offset: 3px;
  border-radius: 1px;
}
input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline-offset: 0;
  outline-width: 2px;
}

a { color: inherit; text-decoration: none; }
img, video, svg { max-width: 100%; display: block; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); position: relative; }

/* Logo */
.logo-nav { width: 96px; height: 62px; display: block; flex-shrink: 0; }
.logo-footer { width: 116px; height: 74px; display: block; flex-shrink: 0; }

/* Typography */
h1, h2, h3, h4 { font-weight: 400; letter-spacing: -0.02em; }

.eyebrow {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.eyebrow::before { content: ""; width: 36px; height: 1px; background: var(--navy); }
.eyebrow.on-dark { color: var(--white); }
.eyebrow.on-dark::before { background: rgba(255, 255, 255, 0.55); }
.eyebrow.crimson { color: var(--crimson); }
.eyebrow.crimson::before { background: var(--crimson); }

.label {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--ink-60);
}
.label.on-dark { color: rgba(255, 255, 255, 0.65); }

p { color: var(--ink-80); max-width: 62ch; }
p.muted { color: var(--ink-60); }

.skip-link {
  position: absolute;
  top: -48px;
  left: 16px;
  z-index: 999;
  padding: 12px 20px;
  background: var(--navy);
  color: var(--white);
  font-family: var(--mono);
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: top 0.2s ease;
}
.skip-link:focus-visible {
  top: 12px;
  outline: 2px solid var(--crimson);
  outline-offset: 2px;
}

/* NAV */
nav.top {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: transparent;
  transition: background 0.35s ease, border-color 0.35s ease, backdrop-filter 0.35s ease;
  border-bottom: 1px solid transparent;
}
nav.top.scrolled {
  background: rgba(246, 244, 238, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--ink-10);
}
nav.top .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
}

.brand { display: flex; align-items: center; gap: 18px; }
.brand-text {
  font-family: var(--serif);
  font-variation-settings: "opsz" 36;
  font-weight: 400;
  font-size: 19px;
  letter-spacing: -0.01em;
  color: var(--white);
  white-space: nowrap;
  border-left: 1px solid rgba(255, 255, 255, 0.25);
  padding-left: 18px;
  transition: color 0.35s ease, border-color 0.35s ease;
}
nav.top.scrolled .brand-text { color: var(--ink); border-left-color: var(--ink-20); }

.nav-links { display: flex; align-items: center; gap: 42px; font-size: 15px; }
.nav-links a {
  color: rgba(255, 255, 255, 0.82);
  transition: color 0.2s;
  font-weight: 450;
  letter-spacing: 0.005em;
  position: relative;
}
nav.top.scrolled .nav-links a { color: var(--ink-60); }
.nav-links a:hover { color: var(--white); }
nav.top.scrolled .nav-links a:hover { color: var(--ink); }

.nav-cta {
  padding: 12px 24px;
  background: var(--crimson);
  color: var(--white) !important;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.01em;
  transition: background 0.2s;
}
.nav-cta:hover { background: var(--crimson-deep); color: var(--white) !important; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--white);
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  transition: color 0.35s ease;
}
nav.top.scrolled .nav-toggle { color: var(--ink); }
.nav-toggle svg { width: 22px; height: 22px; }

@media (max-width: 920px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: flex-start;
    padding: 28px var(--pad);
    gap: 22px;
    background: var(--off);
    border-bottom: 1px solid var(--ink-10);
  }
  .nav-links.open { display: flex; }
  .nav-links a { color: var(--ink) !important; font-size: 20px; }
  .nav-toggle { display: inline-flex; }
  .brand-text { display: none; }
}

/* FOOTER */
footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.7);
  padding: 72px 0 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
footer > .wrap:first-of-type {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 56px;
  align-items: start;
}
footer .brand-block { display: flex; flex-direction: column; gap: 22px; }
footer h4 {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 20px;
  font-weight: 500;
}
footer a {
  color: rgba(255, 255, 255, 0.75);
  display: block;
  margin-bottom: 10px;
  font-size: 16px;
  transition: color 0.2s;
}
footer a:hover { color: var(--white); }
footer p { color: rgba(255, 255, 255, 0.62); font-size: 16px; line-height: 1.65; max-width: 38ch; }
footer .brand-tag {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.26em;
  color: rgba(255, 255, 255, 0.42);
  text-transform: uppercase;
}
.footer-recognition {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.75;
}
.footer-recognition .year {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  margin-right: 10px;
}

.footer-legal {
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.42);
  max-width: 92ch;
  letter-spacing: 0;
}
.footer-legal + .footer-bottom {
  margin-top: 28px;
  padding-top: 24px;
}

.footer-bottom {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.38);
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
/* Each chunk should stay on one line; the flex container wraps the
   chunks themselves on narrow viewports rather than breaking text
   mid-phrase. */
.footer-bottom > span { white-space: nowrap; flex-shrink: 0; }
/* Override the footer a { display:block } rule (which applies to the
   stacked Navigate-column links). Inline anchors here need to flow
   inline so "Privacy · Terms" sits on one row. */
.footer-bottom a { display: inline; margin: 0; font-size: inherit; }

@media (max-width: 980px) {
  footer > .wrap:first-of-type { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 620px) {
  footer > .wrap:first-of-type { grid-template-columns: 1fr; }
}

/* Page-content section on navy-deep — for standalone pages.
   Mirrors the treatment of the index.html contact section. */
section.page-section {
  background: var(--navy-deep);
  color: var(--white);
  padding-top: clamp(140px, 14vw, 200px);
  padding-bottom: clamp(64px, 8vw, 120px);
  min-height: 100vh;
}
section.page-section h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(40px, 6vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--white);
  max-width: 16ch;
}
section.page-section h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(24px, 3.2vw, 32px);
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--white);
  margin: 64px 0 16px;
}
section.page-section h3 {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 0;
  color: var(--white);
  margin: 28px 0 8px;
}
section.page-section h1 .accent,
section.page-section h2 .accent {
  color: var(--crimson);
  font-variation-settings: "opsz" 100;
}
section.page-section p {
  color: rgba(255, 255, 255, 0.78);
  margin: 0 0 16px;
  font-size: 17px;
  line-height: 1.7;
  max-width: 62ch;
}
section.page-section ul, section.page-section ol {
  padding-left: 22px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 17px;
  line-height: 1.7;
  max-width: 62ch;
}
section.page-section li { margin-bottom: 10px; }
section.page-section li strong { color: var(--white); font-weight: 500; }
section.page-section a {
  color: var(--white);
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.32);
  transition: text-decoration-color 0.2s, color 0.2s;
}
section.page-section a:hover {
  text-decoration-color: var(--crimson);
  color: var(--white);
}
section.page-section .updated {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 12px;
}

/* Callout block on navy — matches the fund-disclaimer treatment. */
section.page-section .callout {
  border-left: 2px solid var(--crimson);
  padding: 18px 22px;
  margin: 28px 0;
  background: rgba(255, 255, 255, 0.03);
  font-size: 16px;
  max-width: 62ch;
}
section.page-section .callout strong { color: var(--crimson); }
