/* Home Equity Pulse — distinct editorial/data theme: ink + electric teal */
:root {
  --ink: #0e1b22;
  --ink-2: #16323d;
  --slate: #43525a;
  --teal: #0b9e8e;
  --teal-dark: #07786c;
  --paper: #f6f8f8;
  --paper-2: #eef3f2;
  --line: #d7e0df;
  --white: #ffffff;
  --amber: #e8a13a;
  --radius: 14px;
  --shadow: 0 18px 44px rgba(14, 27, 34, 0.10);
  --maxw: 1080px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.62;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, .brand-mark { font-family: "Space Grotesk", "Inter", sans-serif; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 5vw, 3.1rem); line-height: 1.08; margin: 0 0 0.5em; font-weight: 700; }
h2 { font-size: clamp(1.5rem, 3vw, 2.05rem); line-height: 1.18; margin: 0 0 0.5em; font-weight: 600; }
h3 { font-size: 1.2rem; margin: 0 0 0.4em; font-weight: 600; }
p { margin: 0 0 1.05em; }
a { color: var(--teal-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

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

/* Header */
.site-header { background: var(--ink); position: sticky; top: 0; z-index: 50; }
.header-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 16px 22px;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
}
.brand-mark { color: var(--white); font-weight: 700; font-size: 1.22rem; display: inline-flex; align-items: center; gap: 9px; }
.brand-mark:hover { text-decoration: none; }
.brand-mark .pulse-dot {
  width: 11px; height: 11px; border-radius: 50%; background: var(--teal);
  box-shadow: 0 0 0 0 rgba(11,158,142,0.6); animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(11,158,142,0.55); }
  70% { box-shadow: 0 0 0 9px rgba(11,158,142,0); }
  100% { box-shadow: 0 0 0 0 rgba(11,158,142,0); }
}
.site-nav { display: flex; gap: 24px; }
.site-nav a { color: #c7d6d4; font-size: 0.95rem; font-weight: 500; }
.site-nav a:hover { color: var(--white); text-decoration: none; }
@media (max-width: 620px) { .site-nav { gap: 16px; font-size: 0.85rem; } .site-nav a { font-size: 0.85rem; } }

/* Hero */
.hero { background: linear-gradient(168deg, var(--ink) 0%, var(--ink-2) 100%); color: var(--white); }
.hero-inner { max-width: var(--maxw); margin: 0 auto; padding: 74px 22px 84px; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 50px; align-items: center; }
.hero .eyebrow { color: var(--teal); font-weight: 600; font-size: 0.82rem; letter-spacing: 0.13em; text-transform: uppercase; margin-bottom: 14px; }
.hero h1 { color: var(--white); }
.hero p.lede { color: #cddad8; font-size: 1.12rem; max-width: 36ch; }
.hero-card { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius); padding: 26px; backdrop-filter: blur(4px); }
.hero-card .big { font-family: "Space Grotesk", sans-serif; font-size: 2.7rem; font-weight: 700; color: var(--teal); line-height: 1; }
.hero-card .sub { color: #b8c7c5; font-size: 0.9rem; margin: 6px 0 0; }
.hero-card hr { border: none; border-top: 1px solid rgba(255,255,255,0.12); margin: 18px 0; }
@media (max-width: 820px) { .hero-inner { grid-template-columns: 1fr; gap: 30px; padding: 54px 22px 60px; } .hero p.lede { max-width: none; } }

/* Buttons */
.btn {
  display: inline-block; background: var(--teal); color: #04201c; font-weight: 700;
  padding: 15px 30px; border-radius: 999px; font-size: 1.02rem; border: none; cursor: pointer;
  transition: transform 0.12s ease, background 0.15s ease; font-family: "Space Grotesk", sans-serif;
}
.btn:hover { background: #0bb3a1; text-decoration: none; transform: translateY(-1px); }
.btn-micro { display: block; margin-top: 11px; color: #9fb2b0; font-size: 0.82rem; }
.hero .btn-micro { color: #9fb2b0; }

/* Stat strip */
.stats { background: var(--white); border-bottom: 1px solid var(--line); }
.stats-inner { max-width: var(--maxw); margin: 0 auto; padding: 34px 22px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; text-align: center; }
.stat .n { font-family: "Space Grotesk", sans-serif; font-size: 2rem; font-weight: 700; color: var(--ink); }
.stat .l { color: var(--slate); font-size: 0.9rem; }
@media (max-width: 620px) { .stats-inner { grid-template-columns: 1fr; gap: 18px; } }

/* Sections */
.section { padding: 66px 0; }
.section.alt { background: var(--paper-2); }
.section-head { max-width: 60ch; margin-bottom: 36px; }
.section-head .eyebrow { color: var(--teal-dark); font-weight: 600; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; }
.lead { font-size: 1.1rem; color: var(--slate); }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.card .ico { width: 42px; height: 42px; border-radius: 11px; background: var(--paper-2); display: grid; place-items: center; color: var(--teal-dark); font-size: 1.15rem; margin-bottom: 14px; }
.card p { color: var(--slate); margin-bottom: 0; font-size: 0.98rem; }
@media (max-width: 820px) { .cards { grid-template-columns: 1fr; } }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.step { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; position: relative; }
.step::before { counter-increment: step; content: counter(step); font-family: "Space Grotesk", sans-serif; font-weight: 700; color: var(--teal); font-size: 1.4rem; display: block; margin-bottom: 8px; }
.step p { color: var(--slate); margin-bottom: 0; font-size: 0.96rem; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }

/* CTA band */
.cta-band { background: var(--ink); color: var(--white); text-align: center; padding: 60px 22px; }
.cta-band h2 { color: var(--white); }
.cta-band p { color: #c2d1cf; max-width: 52ch; margin: 0 auto 26px; }

/* FAQ */
.faq { max-width: 760px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 4px 20px; margin-bottom: 12px; }
.faq summary { cursor: pointer; font-weight: 600; padding: 16px 0; list-style: none; font-family: "Space Grotesk", sans-serif; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--teal-dark); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { color: var(--slate); padding-bottom: 14px; margin: 0; font-size: 0.97rem; }

/* Generic content / legal */
.main-content { padding: 50px 0 20px; }
.content-wrap { max-width: 820px; margin: 0 auto; padding: 0 22px; }
.legal-body h1 { margin-bottom: 0.6em; }
.legal-body h2 { font-size: 1.3rem; margin-top: 1.5em; }
.legal-body p { color: var(--ink-2); }
.prose p { color: var(--ink-2); }
.prose ul { color: var(--ink-2); padding-left: 1.2em; }
.prose li { margin-bottom: 0.5em; }

/* Footer */
.footer { background: var(--ink); color: #aebebc; padding: 46px 22px; }
.footer-content { max-width: var(--maxw); margin: 0 auto; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 20px; margin-bottom: 22px; }
.footer-nav a { color: #cdd9d7; font-size: 0.92rem; }
.footer-nav a:hover { color: var(--white); }
.disclaimer { font-size: 0.8rem; color: #8aa09d; max-width: 92ch; margin-bottom: 12px; line-height: 1.55; }
.copyright { font-size: 0.82rem; color: #6f8784; margin-top: 18px; }
