/* ============================================================================
   TallyAI — shared styling for the per-vertical SEO landing pages.
   One system, themed per page via a body class (v-hair / v-spa / v-barber /
   v-nail) that overrides --accent. Matches the main site's tokens + fonts.
   ============================================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #FFFFFF;
  --surface: #F0F4F8;
  --surface2: #E4EBF2;
  --accent: #E8785A;          /* overridden per vertical below */
  --accent2: #F4A088;
  --accent-soft: #FBECE7;     /* tint for soft backgrounds */
  --ink-dark: #16202C;        /* dark CTA band */
  --text: #1A2A3A;
  --muted: #5A6E80;
  --border: rgba(0,0,0,0.08);
}
body.v-hair   { --accent: #E8785A; --accent2: #F4A088; --accent-soft: #FBECE7; --ink-dark: #1A2A3A; }
body.v-spa    { --accent: #2E9C8E; --accent2: #7FC9BD; --accent-soft: #E4F3F0; --ink-dark: #11342F; }
body.v-barber { --accent: #2B4163; --accent2: #E0A33E; --accent-soft: #E9EDF3; --ink-dark: #16202C; }
body.v-nail   { --accent: #D4537E; --accent2: #F0A0BE; --accent-soft: #FBE9F0; --ink-dark: #3A1424; }

html { scroll-behavior: smooth; }
body {
  font-family: 'Lato', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text); background: var(--bg); line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
.em { font-style: italic; font-weight: 300; }
a { color: inherit; }

.lp-wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* ── Header ── */
.lp-nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,0.9); backdrop-filter: saturate(180%) blur(10px); border-bottom: 1px solid var(--border); }
.lp-nav-in { max-width: 1080px; margin: 0 auto; padding: 14px 24px; display: flex; align-items: center; justify-content: space-between; }
.lp-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.lp-logo-tally { font-family: 'Outfit', sans-serif; font-weight: 200; font-size: 22px; letter-spacing: 0.10em; margin-right: -0.10em; color: #2B4163; }
.lp-logo-ai { font-family: 'Outfit', sans-serif; font-weight: 300; font-size: 22px; letter-spacing: 0.06em; color: var(--accent); }

/* ── Buttons ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: 'Outfit'; font-weight: 600; font-size: 15px; padding: 13px 26px; border-radius: 999px; border: none; cursor: pointer; text-decoration: none; transition: transform .12s, box-shadow .12s, background .12s; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 8px 26px rgba(0,0,0,0.14); }
.btn-primary:hover { transform: translateY(-1px); }
.btn-ghost { background: #fff; color: var(--text); border: 1px solid var(--border); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* ── Hero ── */
.lp-hero { text-align: center; padding: 72px 0 56px; background:
  radial-gradient(1100px 380px at 50% -120px, var(--accent-soft), transparent 70%); }
.lp-eyebrow { font-family: 'Outfit'; font-weight: 600; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.lp-hero h1 { font-family: 'Lato'; font-weight: 300; font-size: clamp(34px, 5.2vw, 56px); line-height: 1.1; letter-spacing: -0.01em; margin: 14px 0 0; color: var(--text); }
.lp-hero p { font-size: 17px; color: var(--muted); max-width: 540px; margin: 18px auto 0; }
.lp-hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }
.lp-trust { font-size: 13px; color: var(--muted); margin-top: 16px; }

/* ── Stat band ── */
.lp-stat { background: var(--ink-dark); color: #fff; text-align: center; padding: 30px 0; }
.lp-stat .big { font-family: 'Lato'; font-weight: 300; font-size: clamp(26px, 4vw, 38px); }
.lp-stat .big b { font-weight: 700; color: var(--accent2); }
.lp-stat .sub { font-size: 14px; color: rgba(255,255,255,0.7); margin-top: 6px; }

/* ── Sections ── */
.lp-section { padding: 66px 0; }
.lp-section.alt { background: var(--surface); }
.lp-h2 { font-family: 'Lato'; font-weight: 300; font-size: clamp(26px, 3.6vw, 38px); text-align: center; line-height: 1.2; }
.lp-sub { text-align: center; color: var(--muted); font-size: 16px; max-width: 560px; margin: 12px auto 0; }

/* ── Feature cards ── */
.lp-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-top: 44px; }
.lp-card { background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 28px 24px; }
.lp-card .ic { width: 48px; height: 48px; border-radius: 13px; background: var(--accent-soft); color: var(--accent); display: inline-flex; align-items: center; justify-content: center; font-size: 23px; }
.lp-card h3 { font-family: 'Outfit'; font-weight: 600; font-size: 18px; margin: 16px 0 6px; color: var(--text); }
.lp-card p { font-size: 14.5px; color: var(--muted); }

/* ── Steps ── */
.lp-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 22px; margin-top: 44px; }
.lp-step { text-align: center; }
.lp-step .n { width: 40px; height: 40px; margin: 0 auto 12px; border-radius: 50%; background: var(--accent); color: #fff; font-family: 'Outfit'; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.lp-step h4 { font-family: 'Outfit'; font-weight: 600; font-size: 16px; margin-bottom: 4px; }
.lp-step p { font-size: 14px; color: var(--muted); }

/* ── Quote ── */
.lp-quote { text-align: center; max-width: 640px; margin: 0 auto; }
.lp-quote blockquote { font-family: 'Lato'; font-weight: 300; font-style: italic; font-size: clamp(20px, 2.8vw, 27px); line-height: 1.45; color: var(--text); }
.lp-quote .who { font-size: 14px; color: var(--muted); margin-top: 14px; }

/* ── FAQ ── */
.lp-faq { max-width: 760px; margin: 40px auto 0; }
.lp-faq details { border-bottom: 1px solid var(--border); padding: 18px 4px; }
.lp-faq summary { font-family: 'Outfit'; font-weight: 600; font-size: 16px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 12px; color: var(--text); }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after { content: '+'; color: var(--accent); font-size: 22px; line-height: 1; }
.lp-faq details[open] summary::after { content: '–'; }
.lp-faq p { color: var(--muted); font-size: 15px; margin-top: 12px; }

/* ── Final CTA ── */
.lp-final { background: var(--ink-dark); color: #fff; text-align: center; padding: 64px 0; }
.lp-final h2 { font-family: 'Lato'; font-weight: 300; font-size: clamp(26px, 3.6vw, 38px); }
.lp-final p { color: rgba(255,255,255,0.72); margin: 12px 0 24px; }

/* ── Footer ── */
.lp-footer { border-top: 1px solid var(--border); padding: 30px 0; }
.lp-footer-in { max-width: 1080px; margin: 0 auto; padding: 0 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.lp-footer a { color: var(--muted); text-decoration: none; font-size: 14px; margin-left: 18px; }
.lp-footer a:hover { color: var(--accent); }
.lp-copy { font-size: 13px; color: var(--muted); }

@media (max-width: 600px) {
  .lp-nav-in { padding: 12px 18px; }
  .lp-hero { padding: 52px 0 40px; }
  .lp-section { padding: 48px 0; }
  .lp-footer-in { flex-direction: column; text-align: center; }
  .lp-footer a { margin: 0 9px; }
}
