/* Attune site layer — loaded after each page's own <style> so it wins at equal
   specificity. Remaps the old template's variables to the homepage palette and
   type, and restyles the shared template components. */
@font-face {
  font-family: 'Familjen Grotesk';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/fonts/familjen-grotesk-latin.woff2) format('woff2');
}
@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url(/fonts/newsreader-latin.woff2) format('woff2');
}

:root {
  --paper: #F3F1F6;
  --paper-2: #E9E6EF;
  --ink: #1C1A2B;
  --slate: #585570;
  --line: rgba(28,26,43,0.12);
  --you: #C92A63;
  --you-deep: #A81F51;
  --them: #0B7368;
  --grotesk: 'Familjen Grotesk', 'Helvetica Neue', Arial, sans-serif;

  /* old template variables, remapped */
  --bg: #F3F1F6;
  --bg2: #E9E6EF;
  --bg3: #E2DEEA;
  --card: #FFFFFF;
  --border: rgba(28,26,43,0.12);
  --gold: #A81F51;
  --gold-lt: #C92A63;
  --cream: #1C1A2B;
  --warm: #A81F51;
  --text: #1C1A2B;
  --muted: #585570;
  --green: #0B7368;
  --red: #B3261E;
  --serif: 'Familjen Grotesk', 'Helvetica Neue', Arial, sans-serif;
  --sans: 'Newsreader', Georgia, serif;
}

body { background: var(--paper); color: var(--ink); font-family: 'Newsreader', Georgia, serif; font-weight: 400; }
p, li, td { font-weight: 400; }
:focus-visible { outline: 2px solid var(--you); outline-offset: 3px; border-radius: 4px; }
.noise-overlay { display: none !important; }

h1, h2, h3, h4, h5, h6 { font-family: var(--grotesk); font-weight: 600; color: var(--ink); }
h1 { letter-spacing: -0.035em; line-height: 1.02; }
h2 { letter-spacing: -0.025em; line-height: 1.1; }
h3, h4 { letter-spacing: -0.01em; color: var(--ink); font-family: var(--grotesk); }
em { font-style: italic; color: inherit; }
h1 em, h2 em, h3 em { font-style: normal; color: var(--slate); font-weight: 500; }
strong { color: var(--ink); font-weight: 500; }

/* Links inside running text are underlined; UI links are styled below */
p a, li a, td a, dd a, .faq-a a, .faq-answer a { color: var(--you-deep); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
p a:hover, li a:hover, td a:hover { color: var(--ink); }

/* Labels: sentence case, grotesk, no tracking */
.eyebrow, .page-eyebrow, .section-eyebrow, .stat-label, .label, .tag, .badge, .kicker, .meta,
.compare-table th, table th, .faq-category, .cat-label, .card-label, .chip {
  text-transform: none !important;
  letter-spacing: 0 !important;
  font-family: var(--grotesk);
}
.eyebrow, .page-eyebrow, .section-eyebrow { font-size: 1rem !important; font-weight: 500; color: var(--slate) !important; }
.section-eyebrow::before, .section-eyebrow::after, .hero-eyebrow::before { display: none !important; }

/* Page hero */
.page-hero { background: var(--paper); border-bottom: 1px solid var(--line); }
.lead { color: var(--slate); }

/* Template components */
.pull-quote { background: #fff; border-left: 3px solid var(--you); border-radius: 0 12px 12px 0; }
.pull-quote p { font-family: var(--grotesk); font-style: normal; font-weight: 500; font-size: 1.3rem; line-height: 1.35; letter-spacing: -0.01em; color: var(--ink); }
.stat-strip { border-radius: 16px; }
.stat-num { font-family: var(--grotesk); font-weight: 700; letter-spacing: -0.04em; color: var(--you-deep); }
.stat-label { font-size: 0.9rem !important; color: var(--slate); }
.compare-table th { font-size: 0.9rem !important; color: var(--slate); }
.compare-table th.ours { color: var(--you-deep); }
.compare-table td { font-family: var(--grotesk); }
.compare-table .ours-col { background: rgba(201,42,99,0.05); }
.compare-table .tick { color: var(--them); }
.pain-card, .card { border-radius: 16px; }
.cta-box { background: #fff; border: 0; border-radius: 20px; }

/* Buttons */
.btn-primary, .btn-ghost, .btn-secondary, .btn {
  font-family: var(--grotesk) !important; font-weight: 600; border-radius: 999px !important; letter-spacing: 0 !important; text-transform: none !important; text-decoration: none !important;
}
.btn-primary { background: var(--you-deep) !important; color: #fff !important; border: 1px solid var(--you-deep); }
.btn-primary:hover { background: var(--ink) !important; border-color: var(--ink); color: #fff !important; }
.btn-ghost, .btn-secondary { background: transparent; color: var(--ink) !important; border: 1px solid rgba(28,26,43,0.3) !important; }
.btn-ghost:hover, .btn-secondary:hover { border-color: var(--ink) !important; }

/* Forms */
input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  font-family: var(--grotesk); border-radius: 10px;
}

/* Navigation (shared markup across pages) */
nav[role="navigation"] {
  height: 64px; background: rgba(243,241,246,0.92) !important;
  border-bottom: 1px solid var(--line) !important;
  font-family: var(--grotesk);
}
nav[role="navigation"] .nav-logo, .nav-logo {
  font-family: var(--grotesk) !important; font-size: 1.45rem; font-weight: 700;
  letter-spacing: -0.04em !important; color: var(--ink) !important; text-decoration: none !important;
}
.nav-logo span { color: var(--you) !important; font-style: normal !important; }
nav[role="navigation"] .nav-links > li > a {
  font-family: var(--grotesk); font-size: 0.95rem !important; text-transform: none !important;
  letter-spacing: 0 !important; color: var(--slate) !important; text-decoration: none !important;
}
nav[role="navigation"] .nav-links > li > a:hover,
nav[role="navigation"] .nav-links > li:hover > a,
nav[role="navigation"] .nav-links > li:focus-within > a { color: var(--ink) !important; }
nav[role="navigation"] .nav-links > li > a.nav-cta, nav[role="navigation"] .nav-cta, .nav-cta {
  background: var(--ink) !important; color: #fff !important; border-radius: 999px !important;
  padding: 0.55rem 1.1rem !important; font-weight: 600 !important; font-family: var(--grotesk) !important;
  text-transform: none !important; letter-spacing: 0 !important; text-decoration: none !important;
}
nav[role="navigation"] .nav-cta:hover, .nav-cta:hover { background: var(--you-deep) !important; color: #fff !important; }
nav[role="navigation"] .has-dropdown:focus-within > .dropdown { display: block; }
nav[role="navigation"] .has-dropdown > .dropdown {
  background: #fff !important; border: 1px solid var(--line) !important; border-top: 1px solid var(--line) !important;
  border-radius: 0 0 12px 12px !important; box-shadow: 0 18px 40px rgba(28,26,43,0.12) !important;
}
nav[role="navigation"] .dropdown a {
  font-family: var(--grotesk); font-size: 0.92rem !important; letter-spacing: 0 !important;
  color: var(--slate) !important; text-decoration: none !important;
}
nav[role="navigation"] .dropdown a:hover { background: var(--paper) !important; color: var(--ink) !important; }
nav[role="navigation"] .hamburger span { background: var(--ink) !important; height: 2px !important; }
.nav-back { font-family: var(--grotesk); text-transform: none !important; letter-spacing: 0 !important; }

/* Footer */
footer { font-family: var(--grotesk); }
footer p { font-family: var(--grotesk); }
footer a { text-decoration: none; }
footer h5, .footer-col h5 { font-family: var(--grotesk) !important; text-transform: none !important; letter-spacing: 0 !important; font-weight: 600; color: var(--ink); }
.powered, .footer-brand .powered { text-transform: none !important; letter-spacing: 0 !important; }
.google-fav-btn { border-radius: 999px !important; background: transparent !important; font-family: var(--grotesk); text-decoration: none !important; }

/* FAQ blocks used on content pages */
.faq-q, .faq-question { font-family: var(--grotesk); font-weight: 600; color: var(--ink); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fade-in { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* Components used on some pages but never styled in their own CSS */
.footer-logo { font-family: var(--grotesk); font-size: 1.45rem; font-weight: 700; letter-spacing: -0.04em; color: var(--ink); text-decoration: none; }
.footer-logo span { color: var(--you); }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; list-style: none; }
.footer-links a { color: var(--slate); text-decoration: none; font-size: 0.95rem; }
.footer-links a:hover { color: var(--ink); }
.footer-copy { font-size: 0.88rem; color: var(--slate); }
.insights-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; margin: 2rem 0; }
.insight-card { display: block; background: #fff; border-radius: 16px; padding: 1.5rem; text-decoration: none; color: var(--ink); }
.insight-card h3 { margin: 0.5rem 0; font-size: 1.15rem; }
.insight-card p { font-size: 0.98rem; color: var(--slate); margin-bottom: 0.75rem; }
.insight-card .tag, .tag { display: inline-block; font-size: 0.88rem; color: var(--them); font-family: var(--grotesk); }
.read-more { font-family: var(--grotesk); font-weight: 600; color: var(--you-deep); font-size: 0.95rem; }
.cross { color: var(--slate); }
.cta-box .btn-ghost { margin-left: 0.75rem; }
