/* ============================================================
   VAULTFORD — brand stylesheet
   Palette: vault green, engraved brass, warm paper, ink
   Type: Fraunces (display) + Public Sans (body)
   ============================================================ */

:root {
  --ink: #16211b;
  --vault: #1c4634;
  --vault-deep: #143326;
  --brass: #a98b4f;
  --brass-soft: #c2a76f;
  --paper: #f6f4ee;
  --paper-deep: #efece2;
  --slate: #46524b;
  --rule: #d9d4c7;
  --white: #ffffff;
  --max: 1080px;
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  font-family: "Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--slate);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .display {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 550;
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

a { color: var(--vault); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
}

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

/* ---------- ledger rules (structural signature) ---------- */
.ledger {
  border: none;
  border-top: 1px solid var(--rule);
  position: relative;
  margin: 0;
}
.ledger::after {
  content: "";
  position: absolute;
  top: 3px; left: 0; right: 0;
  border-top: 3px solid var(--rule);
}

/* ---------- header ---------- */
.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  max-width: var(--max);
  margin: 0 auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none !important;
}
.brand-mark { width: 40px; height: 40px; flex-shrink: 0; }
.brand-name {
  font-family: "Fraunces", Georgia, serif;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--ink);
  text-transform: uppercase;
}
.brand-tag {
  display: block;
  font-family: "Public Sans", sans-serif;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass);
  margin-top: 1px;
}
.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav a {
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink);
}
.site-nav a.active { color: var(--vault); border-bottom: 2px solid var(--brass); padding-bottom: 3px; }
.site-nav a:hover { text-decoration: none; color: var(--vault); }
.nav-toggle { display: none; background: none; border: 1px solid var(--rule); border-radius: 4px; padding: 8px 12px; font-size: 14px; color: var(--ink); cursor: pointer; }

@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .site-nav {
    display: none;
    position: absolute;
    top: 81px; left: 0; right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--rule);
    flex-direction: column;
    gap: 0;
    padding: 8px 0;
    z-index: 50;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 14px 24px; width: 100%; }
  .site-header { position: relative; }
}

/* ---------- hero ---------- */
.hero {
  padding: 84px 0 72px;
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(28, 70, 52, 0.06), transparent 60%),
    var(--paper);
}
.eyebrow {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(38px, 5.4vw, 58px);
  max-width: 760px;
  margin-bottom: 22px;
}
.hero .lede {
  font-size: 19.5px;
  max-width: 620px;
  margin-bottom: 34px;
}
.cta-row { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.btn {
  display: inline-block;
  font-family: "Public Sans", sans-serif;
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 15px 30px;
  border-radius: 4px;
  border: 1px solid var(--vault);
  cursor: pointer;
  text-decoration: none !important;
}
.btn-primary { background: var(--vault); color: var(--white); }
.btn-primary:hover { background: #173a2b; }
.btn-secondary { background: transparent; color: var(--vault); }
.btn-secondary:hover { background: rgba(28, 70, 52, 0.06); }
.hero-note { font-size: 13.5px; color: var(--slate); margin-top: 18px; max-width: 560px; }

/* ---------- trust bar ---------- */
.trust-bar {
  background: var(--vault);
  color: rgba(255, 255, 255, 0.92);
  padding: 18px 0;
}
.trust-bar .wrap {
  display: flex;
  gap: 12px 48px;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.03em;
}
.trust-bar span::before {
  content: "";
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--brass-soft);
  margin-right: 10px;
  vertical-align: 2px;
}

/* ---------- sections ---------- */
.section { padding: 76px 0; }
.section-alt { background: var(--paper-deep); }
.section h2 {
  font-size: clamp(28px, 3.6vw, 38px);
  margin-bottom: 16px;
  max-width: 640px;
}
.section .sub {
  font-size: 18px;
  max-width: 640px;
  margin-bottom: 44px;
}

/* ---------- cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
@media (max-width: 860px) { .grid-3 { grid-template-columns: 1fr; } .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 6px;
  padding: 34px 30px;
}
.card h3 { font-size: 22px; margin: 18px 0 10px; }
.card p { font-size: 15.5px; }
.card .card-icon { width: 44px; height: 44px; }

/* ---------- steps ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
.step {
  position: relative;
  padding: 30px 28px 30px 28px;
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 6px;
}
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: "Fraunces", Georgia, serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--brass);
  letter-spacing: 0.14em;
  display: block;
  margin-bottom: 12px;
}
.step h3 { font-size: 20px; margin-bottom: 10px; }
.step p { font-size: 15.5px; }

/* ---------- standard (seal) block ---------- */
.standard {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.88);
}
.standard h2 { color: var(--white); }
.standard .sub { color: rgba(255, 255, 255, 0.75); }
.standard-list { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 40px; max-width: 860px; }
@media (max-width: 760px) { .standard-list { grid-template-columns: 1fr; } }
.standard-list li {
  padding-left: 34px;
  position: relative;
  font-size: 16px;
  line-height: 1.55;
}
.standard-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 5px;
  width: 18px; height: 18px;
  border: 1.5px solid var(--brass-soft);
  border-radius: 50%;
  background:
    radial-gradient(circle at center, var(--brass-soft) 0 3px, transparent 3.5px);
}

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid var(--rule); padding: 26px 0; max-width: 800px; }
.faq-item h3 { font-size: 20px; margin-bottom: 10px; }
.faq-item p { font-size: 16px; }

/* ---------- prose (legal + about) ---------- */
.prose { max-width: 780px; }
.prose h1 { font-size: clamp(32px, 4.4vw, 44px); margin-bottom: 14px; }
.prose h2 { font-size: 24px; margin: 42px 0 14px; }
.prose h3 { font-size: 19px; margin: 30px 0 10px; }
.prose p { margin-bottom: 16px; }
.prose ul, .prose ol { margin: 0 0 16px 24px; }
.prose li { margin-bottom: 8px; }
.prose .meta { font-size: 14px; color: var(--brass); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 34px; }
.callout {
  background: var(--paper-deep);
  border-left: 3px solid var(--brass);
  padding: 20px 24px;
  margin: 24px 0;
  font-size: 15.5px;
}

/* ---------- contact ---------- */
.contact-block {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 6px;
  padding: 34px;
  margin-bottom: 26px;
}
.contact-block h3 { font-size: 20px; margin-bottom: 8px; }
.contact-block p { font-size: 16px; }

/* ---------- footer ---------- */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.78);
  padding: 56px 0 40px;
  font-size: 14px;
  line-height: 1.7;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 {
  font-family: "Public Sans", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brass-soft);
  margin-bottom: 14px;
}
.site-footer a { color: rgba(255, 255, 255, 0.85); }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 9px; }
.footer-brand {
  font-family: "Fraunces", Georgia, serif;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 12px;
}
.disclosure {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 28px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.75;
}
.disclosure p { margin-bottom: 12px; }
.copyright { margin-top: 22px; font-size: 12.5px; color: rgba(255, 255, 255, 0.5); }
