/* ==========================================================================
   Levy marketing site — shared styles
   Brand: navy #16233A · cream #F4F1EA · sage #8FB7A6
   Dependency-free, hand-authored. Critical above-the-fold CSS is inlined in
   each page <head>; this file carries the rest. Mobile-first, fast.
   ========================================================================== */

:root {
  --navy: #16233A;
  --navy-2: #1f3150;
  --cream: #F4F1EA;
  --cream-2: #fbfaf6;
  --sage: #8FB7A6;
  --sage-dark: #5e9381;
  --ink: #16233A;
  --muted: #5a6577;
  --line: #e4e0d5;
  --white: #ffffff;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgba(22,35,58,.06), 0 12px 30px rgba(22,35,58,.08);
  --shadow-lg: 0 20px 60px rgba(22,35,58,.18);
  --maxw: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }

a { color: var(--sage-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }

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

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(244,241,234,.82);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--navy); }
.brand:hover { text-decoration: none; }
.brand .mark { width: 30px; height: 30px; border-radius: 8px; }
.brand .name { font-family: var(--serif); font-size: 1.45rem; letter-spacing: .5px; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { color: var(--navy); font-weight: 500; font-size: .96rem; }
@media (max-width: 720px) { .nav-links .hide-sm { display: none; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; font-weight: 600; font-size: 1rem;
  padding: 13px 24px; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; transition: transform .08s ease, box-shadow .2s ease, background .2s ease;
  text-align: center;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--navy); color: var(--cream); box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--navy-2); color: var(--cream); }
.btn-sage { background: var(--sage); color: var(--navy); }
.btn-sage:hover { background: var(--sage-dark); color: var(--white); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: var(--cream); }
.btn-lg { padding: 16px 32px; font-size: 1.08rem; }

/* ---------- Hero ---------- */
.hero { padding: 64px 0 40px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--sage-dark);
  background: rgba(143,183,166,.18); padding: 6px 12px; border-radius: 999px; margin-bottom: 18px;
}
.hero h1 { color: var(--navy); }
.hero .lede { font-size: clamp(1.05rem, 2vw, 1.25rem); color: var(--muted); max-width: 36ch; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin: 26px 0 16px; }
.hero-note { font-size: .9rem; color: var(--muted); }
.hero-note strong { color: var(--navy); }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero .lede { max-width: none; }
}

/* product mock card */
.mock {
  background: var(--white); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 22px; border: 1px solid var(--line);
}
.mock-bar { display: flex; gap: 6px; margin-bottom: 16px; }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); display: block; }
.mock-row { display: flex; justify-content: space-between; align-items: center; padding: 11px 0; border-bottom: 1px dashed var(--line); }
.mock-row:last-child { border-bottom: 0; }
.mock-row .lbl { color: var(--muted); font-size: .92rem; }
.mock-row .val { font-weight: 600; }
.mock-tag { display: inline-block; font-size: .72rem; font-weight: 700; color: var(--sage-dark); background: rgba(143,183,166,.2); padding: 3px 9px; border-radius: 6px; }
.mock-total { display: flex; justify-content: space-between; margin-top: 14px; padding-top: 14px; border-top: 2px solid var(--navy); font-size: 1.15rem; font-weight: 800; color: var(--navy); }

/* ---------- Sections ---------- */
section { padding: 56px 0; }
.section-head { text-align: center; max-width: 56ch; margin: 0 auto 40px; }
.section-head h2 { color: var(--navy); }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.alt { background: var(--cream-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.navy-band { background: var(--navy); color: var(--cream); }
.navy-band h2 { color: var(--cream); }
.navy-band p { color: rgba(244,241,234,.78); }

/* ---------- Feature grid ---------- */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 860px) { .grid-3 { grid-template-columns: 1fr; } .grid-2 { grid-template-columns: 1fr; } }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow);
}
.card .ic {
  width: 44px; height: 44px; border-radius: 11px; display: grid; place-items: center;
  background: rgba(143,183,166,.18); color: var(--sage-dark); margin-bottom: 14px;
}
.card h3 { color: var(--navy); }
.card p { color: var(--muted); margin: 0; font-size: .98rem; }

/* ---------- How it works ---------- */
.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-left: 56px; }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 0; top: 0; width: 40px; height: 40px; border-radius: 50%;
  background: var(--navy); color: var(--cream); font-weight: 800; display: grid; place-items: center;
}
.step h3 { color: var(--navy); margin-bottom: 4px; }
.step p { color: var(--muted); margin: 0; }

/* ---------- Pricing strip ---------- */
.price-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 34px; max-width: 520px; margin: 0 auto; text-align: center; box-shadow: var(--shadow);
}
.price-card .amt { font-size: 2.6rem; font-weight: 800; color: var(--navy); }
.price-card .amt span { font-size: 1rem; font-weight: 500; color: var(--muted); }
.price-list { list-style: none; padding: 0; margin: 18px 0 24px; text-align: left; display: inline-block; }
.price-list li { padding: 7px 0 7px 30px; position: relative; color: var(--ink); }
.price-list li::before { content: "✓"; position: absolute; left: 0; color: var(--sage-dark); font-weight: 800; }

/* ---------- Social proof ---------- */
.proof { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 860px) { .proof { grid-template-columns: 1fr; } }
.quote { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.quote p { font-style: italic; color: var(--ink); }
.quote .who { display: flex; align-items: center; gap: 12px; margin-top: 14px; }
.quote .who b { color: var(--navy); }
.quote .who span { color: var(--muted); font-size: .88rem; }
.avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--sage); color: var(--navy); display: grid; place-items: center; font-weight: 800; flex-shrink: 0; }
.stars { color: #e0a800; letter-spacing: 2px; margin-bottom: 8px; }
.placeholder-note { text-align: center; font-size: .82rem; color: var(--muted); margin-top: 18px; font-style: italic; }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin: 0 auto; }
.faq details {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 0; margin-bottom: 12px; overflow: hidden;
}
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 22px; font-weight: 600; color: var(--navy);
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; color: var(--sage-dark); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 22px 18px; color: var(--muted); }

/* ---------- Final CTA ---------- */
.cta-band { text-align: center; }
.cta-band .btn { margin-top: 8px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: rgba(244,241,234,.7); padding: 48px 0 30px; }
.footer-grid { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 28px; }
.site-footer a { color: rgba(244,241,234,.8); }
.site-footer a:hover { color: var(--cream); }
.footer-brand { display: flex; align-items: center; gap: 10px; color: var(--cream); font-family: var(--serif); font-size: 1.3rem; }
.footer-brand .mark { width: 28px; height: 28px; border-radius: 7px; }
.footer-links { display: flex; gap: 40px; flex-wrap: wrap; }
.footer-col h4 { color: var(--cream); font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; margin: 0 0 12px; }
.footer-col a { display: block; margin-bottom: 8px; font-size: .94rem; }
.footer-bottom { margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(244,241,234,.14); font-size: .85rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* ---------- Comparison table ---------- */
.cmp-wrap { overflow-x: auto; max-width: 880px; margin: 0 auto; }
.cmp {
  width: 100%; border-collapse: collapse; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); font-size: .97rem; min-width: 520px;
}
.cmp th, .cmp td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); }
.cmp thead th { background: var(--cream-2); color: var(--navy); font-weight: 700; }
.cmp thead th.lev { background: rgba(143,183,166,.18); }
.cmp tbody tr:last-child td { border-bottom: 0; }
.cmp td:first-child { color: var(--muted); font-weight: 600; }
.cmp td.lev { background: rgba(143,183,166,.08); }
.cmp .yes { color: var(--sage-dark); font-weight: 700; }
.cmp .no { color: #b04b4b; }
@media (max-width: 640px) { .cmp th, .cmp td { padding: 11px 10px; font-size: .9rem; } }

/* ---------- Prose (templates / guides) ---------- */
.prose { max-width: 740px; margin: 0 auto; }
.prose h2 { color: var(--navy); margin-top: 1.4em; }
.prose h3 { color: var(--navy); margin-top: 1.2em; }
.prose ul { padding-left: 0; list-style: none; }
.prose ul li { padding: 7px 0 7px 30px; position: relative; color: var(--ink); }
.prose ul li::before { content: "✓"; position: absolute; left: 0; color: var(--sage-dark); font-weight: 800; }

/* ---------- Utility ---------- */
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.lead { font-size: 1.12rem; color: var(--muted); }
.kbd-list { list-style: none; padding: 0; margin: 24px 0; }
.kbd-list li { padding: 8px 0 8px 32px; position: relative; }
.kbd-list li::before { content: "✓"; position: absolute; left: 0; color: var(--sage-dark); font-weight: 800; font-size: 1.1rem; }
