/* Heritas marketing site — same design tokens as the portal, light variant.
   D14: no native app — boomers and their adult children land here from an
   emailed link on a phone first. Prioritize legibility and tap targets. */
:root {
  --ink: #16211f; --ink-soft: #47524f; --paper: #f7f6f2; --card: #fff;
  --line: #e4e2da; --brand: #0e5a4a; --brand-ink: #0a4237; --gold: #b08d3f;
  font-family: "Avenir Next", "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 16px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
@media (max-width: 640px) { :root { font-size: 18px; } }
body { margin: 0; background: var(--paper); color: var(--ink); line-height: 1.65; overflow-x: hidden; }
a { color: var(--brand); }
img, svg { max-width: 100%; }
h1 { font-size: clamp(1.9rem, 6vw, 3rem); letter-spacing: -0.02em; margin: 0 0 0.6rem; }
h2 { font-size: clamp(1.4rem, 4vw, 1.6rem); letter-spacing: -0.015em; }
h3 { font-size: 1.1rem; margin: 0 0 0.3rem; }
main { max-width: 1060px; margin: 0 auto; padding: 0 1.2rem; }

.nav { display: flex; justify-content: space-between; align-items: center;
  padding: 1rem 1.4rem; max-width: 1120px; margin: 0 auto; flex-wrap: wrap; gap: 0.6rem; }
.logo { font-size: 1.3rem; font-weight: 700; color: var(--ink); text-decoration: none; }
.logo span { color: var(--brand); }
.nav nav { display: flex; gap: 0.2rem; align-items: center; flex-wrap: wrap; }
.nav nav a { color: var(--ink-soft); text-decoration: none; font-size: 1rem;
  padding: 0.6rem 0.6rem; min-height: 44px; display: inline-flex; align-items: center; }
.nav nav a:hover { color: var(--ink); }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px;
  background: var(--brand); color: #fff !important;
  padding: 0.7rem 1.3rem; border-radius: 10px; font-weight: 650; font-size: 1rem; text-decoration: none; }
.btn:hover { background: var(--brand-ink); }
.btn.ghost { background: transparent; color: var(--brand-ink) !important; border: 1px solid var(--line); }
.btn.big { padding: 0.9rem 1.7rem; font-size: 1.1rem; }
@media (max-width: 480px) { .ctas { flex-direction: column; align-items: stretch; } .ctas .btn { width: 100%; } }

.hero { text-align: center; padding: 3.5rem 0 2.5rem; }
.hero.small { padding: 2.4rem 0 1rem; }
.hero .sub { font-size: 1.15rem; color: var(--ink-soft); max-width: 46rem; margin: 0 auto 1.6rem; }
.ctas { display: flex; gap: 0.8rem; justify-content: center; flex-wrap: wrap; }
.proof { list-style: none; display: flex; gap: 1.4rem; justify-content: center;
  flex-wrap: wrap; padding: 0; margin-top: 2.4rem; color: var(--ink-soft); font-size: 0.95rem; }
.proof li::before { content: "✓ "; color: var(--brand); font-weight: 700; }
@media (max-width: 480px) { .hero { padding: 2.4rem 0 2rem; } }

section { padding: 2.2rem 0; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.grid.two { grid-template-columns: 1fr 1fr; }
@media (max-width: 860px) { .grid, .grid.two { grid-template-columns: 1fr; } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  padding: 1.3rem 1.5rem; box-shadow: 0 1px 2px rgba(22,33,31,.05), 0 8px 24px rgba(22,33,31,.06); }
.card p { color: var(--ink-soft); font-size: 1rem; margin: 0; }

.steps ol { list-style: none; counter-reset: step; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
@media (max-width: 860px) { .steps ol { grid-template-columns: 1fr; } }
.steps li { counter-increment: step; background: var(--card); border: 1px solid var(--line);
  border-radius: 14px; padding: 1.2rem 1.3rem; }
.steps li::before { content: counter(step); display: inline-flex; width: 1.9rem; height: 1.9rem;
  border-radius: 50%; background: var(--brand); color: #fff; align-items: center;
  justify-content: center; font-weight: 700; margin-bottom: 0.6rem; }
.steps p { color: var(--ink-soft); font-size: 0.97rem; margin: 0; }

.tiers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
@media (max-width: 860px) { .tiers { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .tiers { grid-template-columns: 1fr; } }
.tier { background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  padding: 1.3rem; display: flex; flex-direction: column; gap: 0.5rem; }
.tier.featured { border-color: var(--brand); box-shadow: 0 8px 24px rgba(14,90,74,.14); }
.tier .price { font-size: 1.6rem; font-weight: 700; margin: 0; }
.tier .price small { font-size: 0.85rem; color: var(--ink-soft); font-weight: 500; }
.tier p { color: var(--ink-soft); font-size: 0.97rem; flex: 1; }
.tier .btn { width: 100%; }
.note { color: var(--ink-soft); font-size: 0.95rem; text-align: center; padding-bottom: 2rem; }

footer { border-top: 1px solid var(--line); margin-top: 3rem; padding: 2rem 1.4rem;
  max-width: 1060px; margin-left: auto; margin-right: auto; }
.langs { font-size: 0.95rem; }
.langs a { text-decoration: none; display: inline-block; padding: 0.3rem 0.35rem; }
.disclaimer { color: var(--ink-soft); font-size: 0.85rem; max-width: 56rem; }
.fine { color: var(--ink-soft); font-size: 0.85rem; }
