/* Mia's Smart Choices — warm editorial theme: plum ink + coral, gold data accents */
:root {
  --ink: #241b30;
  --ink-2: #362747;
  --slate: #56505f;
  --coral: #e0674c;
  --coral-dark: #b8442a;
  --gold: #d99b2b;
  --paper: #faf7f3;
  --paper-2: #f1eae2;
  --line: #e6ddd3;
  --white: #ffffff;
  --radius: 16px;
  --shadow: 0 18px 44px rgba(36, 27, 48, 0.11);
  --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: "Sora", "Inter", sans-serif; letter-spacing: -0.015em; }
h1 { font-size: clamp(2rem, 5vw, 3.1rem); line-height: 1.08; margin: 0 0 0.5em; font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3vw, 2.05rem); line-height: 1.18; margin: 0 0 0.5em; font-weight: 700; }
h3 { font-size: 1.2rem; margin: 0 0 0.4em; font-weight: 600; }
p { margin: 0 0 1.05em; }
a { color: var(--coral-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: 800; font-size: 1.22rem; display: inline-flex; align-items: center; gap: 10px; }
.brand-mark:hover { text-decoration: none; }
.brand-mark .pulse-dot {
  width: 12px; height: 12px; border-radius: 4px; background: var(--coral); transform: rotate(45deg);
  box-shadow: 0 0 0 0 rgba(224,103,76,0.6); animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(224,103,76,0.55); }
  70% { box-shadow: 0 0 0 9px rgba(224,103,76,0); }
  100% { box-shadow: 0 0 0 0 rgba(224,103,76,0); }
}
.site-nav { display: flex; gap: 24px; }
.site-nav a { color: #cdbfd6; 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(165deg, 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(--coral); font-weight: 700; font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 14px; }
.hero h1 { color: var(--white); }
.hero p.lede { color: #d8cfe0; font-size: 1.12rem; max-width: 36ch; }
.hero-card { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.13); border-radius: var(--radius); padding: 26px; backdrop-filter: blur(4px); }
.hero-card .big { font-family: "Sora", sans-serif; font-size: 2.7rem; font-weight: 800; color: var(--gold); line-height: 1; }
.hero-card .sub { color: #c6bad0; font-size: 0.9rem; margin: 6px 0 0; }
.hero-card hr { border: none; border-top: 1px solid rgba(255,255,255,0.13); 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(--coral); color: #2e1006; 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: "Sora", sans-serif;
}
.btn:hover { background: #ea7a60; text-decoration: none; transform: translateY(-1px); }
.btn-micro { display: block; margin-top: 11px; color: #b3a6bd; font-size: 0.82rem; }
.hero .btn-micro { color: #b3a6bd; }

/* 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: "Sora", sans-serif; font-size: 2rem; font-weight: 800; 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(--coral-dark); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.13em; 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: 44px; height: 44px; border-radius: 12px; background: #fbeee8; display: grid; place-items: center; color: var(--coral-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: "Sora", sans-serif; font-weight: 800; color: var(--coral); 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: #d0c6da; 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: "Sora", sans-serif; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--coral-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; }

/* Compare-offers form (hero card) */
.quote-card { background: var(--white); border: 1px solid rgba(255,255,255,0.16); color: var(--ink); box-shadow: 0 26px 60px rgba(20, 12, 28, 0.42); backdrop-filter: none; }
.qf-title { font-family: "Sora", sans-serif; font-size: 1.2rem; font-weight: 700; color: var(--ink); margin: 0 0 4px; letter-spacing: -0.01em; }
.qf-sub { color: var(--slate); font-size: 0.86rem; margin: 0 0 16px; }
.quote-form { display: flex; flex-direction: column; gap: 12px; }
.qf-field { display: flex; flex-direction: column; gap: 5px; }
.qf-field > span { font-size: 0.72rem; font-weight: 700; color: var(--slate); text-transform: uppercase; letter-spacing: 0.05em; }
.qf-field input, .qf-field select {
  width: 100%; padding: 11px 12px; border: 1px solid var(--line); border-radius: 10px;
  font-family: inherit; font-size: 0.95rem; color: var(--ink); background: var(--white); appearance: none; -webkit-appearance: none;
}
.qf-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23b8442a' d='M6 8 0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 13px center; padding-right: 34px;
}
.qf-field input:focus, .qf-field select:focus { outline: none; border-color: var(--coral); box-shadow: 0 0 0 3px rgba(224,103,76,0.16); }
.qf-btn { width: 100%; text-align: center; margin-top: 4px; }
.qf-btn:hover { text-decoration: none; }
.qf-micro { text-align: center; font-size: 0.75rem; color: var(--slate); margin: 10px 0 0; line-height: 1.45; }

/* Footer */
.footer { background: var(--ink); color: #b6a8c0; 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: #d6cadf; font-size: 0.92rem; }
.footer-nav a:hover { color: var(--white); }
.disclaimer { font-size: 0.8rem; color: #9689a1; max-width: 92ch; margin-bottom: 12px; line-height: 1.55; }
.copyright { font-size: 0.82rem; color: #7d7188; margin-top: 18px; }
