/* LastingLegacyLife.com — Adcentral, LLC */

:root {
  --ink: #10231c;
  --ink-2: #35514a;
  --muted: #6b7f79;
  --line: #dfe6e3;
  --bg: #ffffff;
  --bg-soft: #f5f8f7;
  --bg-deep: #0f2620;
  --accent: #16624c;
  --accent-soft: #e6f0ec;
  --gold: #b8863b;
  --radius: 10px;
  --wrap: 1120px;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

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

/* keep anchor targets clear of the sticky header */
section[id], h2[id], h3[id] { scroll-margin-top: 92px; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--bg);
}

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

h1, h2, h3, h4 { font-family: var(--serif); color: var(--ink); line-height: 1.2; margin: 0 0 .5em; font-weight: 600; }
h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1.1em; }
a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
a:hover { color: var(--ink); }
strong { color: var(--ink); font-weight: 600; }
ul, ol { padding-left: 1.25em; margin: 0 0 1.1em; }
li { margin-bottom: .5em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }

/* ---------- Header ---------- */

.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .96);
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(180%) blur(8px);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }

.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.brand-mark {
  width: 34px; height: 34px; flex: none; border-radius: 8px;
  background: var(--accent); color: #fff;
  display: grid; place-items: center;
  font-family: var(--serif); font-size: 17px; letter-spacing: -.02em;
}
.brand-name { font-family: var(--serif); font-size: 1.22rem; color: var(--ink); font-weight: 600; letter-spacing: -.01em; }
.brand-sub { display: block; font-family: var(--sans); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav a {
  text-decoration: none; color: var(--ink-2); font-size: .93rem; font-weight: 500;
  padding: 4px 0; border-bottom: 2px solid transparent;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--accent); }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--line);
  border-radius: 8px; padding: 8px 12px; font: inherit; font-size: .85rem;
  color: var(--ink); cursor: pointer;
}

/* ---------- Hero ---------- */

.hero { background: var(--bg-soft); border-bottom: 1px solid var(--line); padding: 76px 0 68px; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-block; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  font-weight: 700; color: var(--accent); background: var(--accent-soft);
  padding: 6px 12px; border-radius: 999px; margin-bottom: 20px;
}
.hero p.lead { font-size: 1.12rem; max-width: 38em; }

.lead { font-size: 1.08rem; color: var(--ink-2); }

.card-note {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 28px; box-shadow: 0 1px 2px rgba(16, 35, 28, .04);
}
.card-note h3 { font-family: var(--sans); font-size: .74rem; letter-spacing: .13em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.card-note p:last-child { margin-bottom: 0; }
.card-note p { font-size: .95rem; }

/* ---------- Sections ---------- */

.section { padding: 72px 0; }
.section-soft { background: var(--bg-soft); }
.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head p { margin-bottom: 0; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: 0 1px 2px rgba(16, 35, 28, .04);
}
.card p:last-child { margin-bottom: 0; }
.card p { font-size: .96rem; }
.card .num {
  font-family: var(--serif); font-size: .95rem; color: var(--gold);
  border: 1px solid var(--gold); width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; margin-bottom: 16px;
}

/* ---------- Callout ---------- */

.callout {
  border-left: 3px solid var(--gold); background: #fdfaf5;
  padding: 22px 26px; border-radius: 0 var(--radius) var(--radius) 0; margin: 32px 0;
}
.callout p:last-child { margin-bottom: 0; }
.callout p { font-size: .95rem; }

.band { background: var(--bg-deep); color: #c9d8d2; padding: 62px 0; }
.band h2 { color: #fff; }
.band a { color: #e7c98f; }

/* ---------- Legal pages ---------- */

.page-head { border-bottom: 1px solid var(--line); padding: 56px 0 40px; background: var(--bg-soft); }
.page-head p { margin-bottom: 0; color: var(--muted); font-size: .93rem; }
.legal { padding: 56px 0 72px; }
.legal h2 { font-size: 1.35rem; margin-top: 2.4rem; padding-top: .4rem; }
.legal h2:first-of-type { margin-top: 0; }
.legal h3 { font-size: 1.03rem; font-family: var(--sans); font-weight: 700; margin-top: 1.8rem; }
.legal p, .legal li { font-size: .97rem; }

.toc { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 26px; margin-bottom: 40px; }
.toc h3 { margin-top: 0; font-size: .74rem; letter-spacing: .13em; text-transform: uppercase; color: var(--muted); }
.toc ol { margin-bottom: 0; font-size: .93rem; }

/* ---------- Footer ---------- */

.site-footer { background: var(--bg-deep); color: #9db3ab; font-size: .89rem; padding: 60px 0 34px; }
.site-footer a { color: #c9d8d2; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer h4 {
  color: #fff; font-family: var(--sans); font-size: .71rem; letter-spacing: .13em;
  text-transform: uppercase; margin-bottom: 14px; font-weight: 700;
}
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 44px; padding-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.footer-top ul { list-style: none; padding: 0; margin: 0; }
.footer-top li { margin-bottom: 9px; }
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-sub { color: #7d968e; }
.footer-brand p { margin: 16px 0 0; max-width: 34em; line-height: 1.6; }

.disclosure { padding: 34px 0 30px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.disclosure h4 { margin-bottom: 16px; }
.disclosure p { font-size: .82rem; line-height: 1.72; margin-bottom: 1em; color: #92a9a1; }
.disclosure p:last-child { margin-bottom: 0; }
.disclosure strong { color: #dce8e3; font-weight: 600; }

.footer-bottom { padding-top: 26px; display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: space-between; font-size: .82rem; color: #7d968e; }

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 36px; }
  .grid-3, .grid-2, .footer-top { grid-template-columns: 1fr; }
  .footer-top { gap: 32px; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .nav-toggle { display: block; }
  .nav {
    display: none; position: absolute; top: 76px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 8px 24px 18px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav a:last-child { border-bottom: 0; }
  .hero { padding: 52px 0 48px; }
  .section { padding: 52px 0; }
}
