/* FairWell.AI — Shared Stylesheet v3 */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --forest:    #2D6A4F; --forest-d:  #1B4332; --forest-l:  #40916C;
  --mint:      #52B788; --mint-l:    #74C69D; --pale:      #D8F3DC;
  --faint:     #F0FAF3; --white:     #FFFFFF; --off-white: #F7FAF8;
  --ink:       #0D1F15; --ink-mid:   #2E4A38; --ink-soft:  #5C7464;
  --ink-mute:  #8BA893; --ink-faint: #EEF5F0;
  --amber:     #D4681E; --amber-pale:#FFF3E8;
  --line:      rgba(44,106,79,0.1); --line-mid: rgba(44,106,79,0.18);
  --r: 10px; --r-lg: 16px; --r-xl: 24px;
  --shadow-sm: 0 1px 4px rgba(13,31,21,0.07);
  --shadow:    0 4px 20px rgba(13,31,21,0.08), 0 2px 6px rgba(13,31,21,0.04);
  --shadow-lg: 0 16px 48px rgba(13,31,21,0.12), 0 4px 14px rgba(13,31,21,0.06);
}
html { font-size: 16px; scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; background: var(--white); color: var(--ink); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
.shell { max-width: 1160px; margin: 0 auto; padding: 0 40px; }
.shell-sm { max-width: 800px; margin: 0 auto; padding: 0 40px; }
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }

/* NAV */
.nav { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,0.97); backdrop-filter: blur(20px); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; gap: 32px; height: 66px; max-width: 1160px; margin: 0 auto; padding: 0 40px; }
.nav-logo { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; }
.nav-logo-bird { height: 27px; width: auto; flex-shrink: 0; transition: transform .25s ease; }
.nav-logo-text { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: 20px; color: var(--forest-d); letter-spacing: -0.04em; line-height: 1; }
.nav-logo-text em { font-style: normal; color: var(--mint); }
.nav-logo:hover .nav-logo-bird { transform: translateY(-2px) scale(1.06); }
.nav-links { display: flex; gap: 28px; margin-left: auto; }
.nav-links a { font-size: 14px; font-weight: 500; color: var(--ink-soft); text-decoration: none; transition: color .15s; }
.nav-links a:hover, .nav-links a.active { color: var(--forest); }
.nav-cta { background: var(--forest); color: #fff; padding: 9px 22px; border-radius: 8px; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 14px; font-weight: 700; letter-spacing: -0.02em; text-decoration: none; transition: background .15s; }
.nav-cta:hover { background: var(--forest-d); }
.nav-login { font-size: 14px; font-weight: 500; color: var(--ink-soft); text-decoration: none; transition: color .15s; white-space: nowrap; }
.nav-login:hover { color: var(--ink); }

/* TYPOGRAPHY */
.eyebrow { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 11px; font-weight: 700; color: var(--forest); letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 16px; }
.h1 { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: clamp(40px, 5vw, 64px); line-height: 1.0; letter-spacing: -0.04em; color: var(--ink); margin-bottom: 24px; }
.h2 { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: clamp(30px, 3.2vw, 46px); letter-spacing: -0.04em; color: var(--ink); line-height: 1.05; margin-bottom: 18px; }
.h3 { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: 22px; letter-spacing: -0.03em; color: var(--ink); margin-bottom: 10px; }
.green { color: var(--forest); } .mint-c { color: var(--mint); }
.lead { font-size: 18px; color: var(--ink-soft); line-height: 1.65; max-width: 560px; }

/* BUTTONS */
.btn { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; border-radius: 10px; font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; letter-spacing: -0.02em; transition: all .15s; cursor: pointer; border: none; }
.btn-primary { background: var(--forest); color: #fff; padding: 15px 30px; font-size: 15px; }
.btn-primary:hover { background: var(--forest-d); transform: translateY(-1px); }
.btn-secondary { border: 1.5px solid var(--line-mid); color: var(--forest); padding: 14px 26px; font-size: 15px; background: transparent; }
.btn-secondary:hover { border-color: var(--forest); }
.btn-white { background: #fff; color: var(--forest); padding: 15px 30px; font-size: 15px; }
.btn-white:hover { opacity: 0.9; }
.btn-outline { border: 1.5px solid rgba(255,255,255,0.3); color: #fff; padding: 15px 30px; font-size: 15px; background: transparent; }
.btn-outline:hover { border-color: rgba(255,255,255,0.65); }
.btn-sm { padding: 10px 20px; font-size: 14px; }

/* FOOTER */
footer { background: var(--ink); padding: 64px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-logo { display: inline-flex; align-items: center; gap: 9px; font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: 20px; color: #fff; letter-spacing: -0.04em; margin-bottom: 14px; }
.footer-logo .nav-logo-bird { height: 24px; }
.footer-logo em { font-style: normal; color: var(--mint); }
.footer-desc { font-size: 14px; color: rgba(255,255,255,0.4); line-height: 1.7; max-width: 250px; }
.footer-col h4 { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 11px; font-weight: 700; color: rgba(255,255,255,0.35); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 16px; }
.footer-col a { display: block; font-size: 14px; color: rgba(255,255,255,0.55); text-decoration: none; margin-bottom: 10px; transition: color .15s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.07); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; }
.footer-legal { font-size: 12px; color: rgba(255,255,255,0.28); line-height: 1.6; max-width: 600px; }
.footer-region { font-size: 12px; color: rgba(255,255,255,0.28); text-align: right; }

/* FORM ELEMENTS */
.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-label { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 13px; font-weight: 700; color: var(--ink); letter-spacing: -0.01em; }
.form-input, .form-select, .form-textarea {
  width: 100%; padding: 12px 16px; border: 1.5px solid var(--line-mid);
  border-radius: var(--r); font-size: 15px; font-family: 'Inter', sans-serif;
  color: var(--ink); background: var(--white); transition: border-color .15s;
  outline: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: var(--forest); }
.form-textarea { resize: vertical; min-height: 100px; }
.form-hint { font-size: 12px; color: var(--ink-mute); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* RADIO / OPTION CARDS */
.option-cards { display: flex; flex-direction: column; gap: 10px; }
.option-card { display: flex; align-items: flex-start; gap: 14px; padding: 16px 18px; border: 1.5px solid var(--line-mid); border-radius: var(--r); cursor: pointer; transition: border-color .15s, background .15s; }
.option-card:hover { border-color: var(--mint); }
.option-card.selected { border-color: var(--forest); background: var(--faint); }
.option-card input[type=radio] { display: none; }
.option-radio { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line-mid); flex-shrink: 0; margin-top: 1px; display: flex; align-items: center; justify-content: center; transition: border-color .15s; }
.option-card.selected .option-radio { border-color: var(--forest); background: var(--forest); }
.option-card.selected .option-radio::after { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #fff; }
.option-title { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 14px; font-weight: 700; color: var(--ink); margin-bottom: 2px; }
.option-desc { font-size: 13px; color: var(--ink-soft); }

@media (max-width: 960px) {
  .shell, .shell-sm { padding: 0 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .form-row { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   FAIRWELL ANIMATION SYSTEM v1.0
   Group 1: Core polish  |  Group 2: Scroll/counter  |  Group 3: UX moments
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── GROUP 1: PAGE FADE-IN ────────────────────────────────────────────────── */
html { opacity: 0; transition: opacity 0.22s ease; }
html.js-loaded { opacity: 1; }

/* Fallback: if JS doesn't load within 400ms, show page anyway */
@keyframes fw-page-fallback { to { opacity: 1; } }
html { animation: fw-page-fallback 0s 0.4s forwards; }

/* ── GROUP 1: NAV SCROLL SHADOW ───────────────────────────────────────────── */
.nav { transition: box-shadow 0.25s ease, border-bottom-color 0.25s ease; }
.nav.nav-scrolled {
  box-shadow: 0 2px 24px rgba(13,31,21,0.09), 0 1px 4px rgba(13,31,21,0.05);
  border-bottom-color: rgba(44,106,79,0.08);
}

/* ── GROUP 1: BUTTON MICRO-INTERACTIONS ──────────────────────────────────── */
.btn, .p-cta, .nav-cta, .tier-cta, .btn-next {
  transition: background 0.15s ease, border-color 0.15s ease,
              transform 0.12s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}
.fw-btn-press,
.btn:active,
.p-cta:active,
.nav-cta:active,
.tier-cta:active {
  transform: scale(0.965) !important;
  transition-duration: 0.08s !important;
}
/* Primary hover: stronger lift */
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(45,106,79,0.28); }
.btn-primary:active { transform: scale(0.965) !important; box-shadow: none !important; }

/* ── GROUP 1: FORM INPUT FOCUS ───────────────────────────────────────────── */
.form-input, .form-select, .form-textarea {
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--forest);
  box-shadow: 0 0 0 3px rgba(45,106,79,0.13);
  outline: none;
}

/* ── GROUP 1: CARD HOVER LIFT ────────────────────────────────────────────── */
.dir-card:not(.unclaimed),
.product-card,
.tool-card,
.p-card,
.feature-card {
  transition: transform 0.22s ease, box-shadow 0.22s ease,
              border-color 0.15s ease;
}
.dir-card:not(.unclaimed):hover,
.tool-card:hover,
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
/* product-card already has hover but strengthen it */
.product-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 16px 40px rgba(13,31,21,0.13), 0 4px 12px rgba(13,31,21,0.07) !important;
}

/* ── GROUP 2: SCROLL-TRIGGERED REVEALS ───────────────────────────────────── */
.fw-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.fw-reveal.fw-revealed {
  opacity: 1;
  transform: translateY(0);
}
/* Stagger cards inside grids */
.tools-grid .fw-reveal:nth-child(2) { transition-delay: 0.08s; }
.tools-grid .fw-reveal:nth-child(3) { transition-delay: 0.16s; }
.tools-grid .fw-reveal:nth-child(4) { transition-delay: 0.24s; }
.pricing-grid .fw-reveal:nth-child(2) { transition-delay: 0.08s; }
.pricing-grid .fw-reveal:nth-child(3) { transition-delay: 0.16s; }
.dir-grid .fw-reveal:nth-child(2) { transition-delay: 0.06s; }
.dir-grid .fw-reveal:nth-child(3) { transition-delay: 0.12s; }
.dir-grid .fw-reveal:nth-child(4) { transition-delay: 0.18s; }

/* ── GROUP 2: STAGGER IN (JS-triggered) ──────────────────────────────────── */
.fw-stagger-in {
  animation: fw-stagger-rise 0.5s ease both;
}
@keyframes fw-stagger-rise {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── GROUP 2: HOVER LIFT for community + blog cards ──────────────────────── */
.blog-card, .community-card, .post-card, .what-card, .tier-card, .booking-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.15s ease;
}
.blog-card:hover, .community-card:hover, .post-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(13,31,21,0.10);
}
.what-card:hover {
  transform: translateY(-2px);
}

/* ── GROUP 2: COUNTER ANIMATION ──────────────────────────────────────────── */
.trust-stat-num {
  display: inline-block;
  transition: transform 0.3s ease;
}

/* ── GROUP 2: SKELETON LOADING (directory) ────────────────────────────────── */
.dir-skeleton {
  border-style: solid !important;
  border-color: var(--line) !important;
  background: var(--white) !important;
  opacity: 1 !important;
  pointer-events: none;
  display: flex;
  flex-direction: row !important;
  align-items: flex-start;
  gap: 14px;
}
@keyframes fw-shimmer {
  0%   { background-position: -400px 0; }
  100% { background-position: 400px 0; }
}
.skel-avatar, .skel-line {
  background: linear-gradient(90deg, var(--ink-faint) 25%, #e8f0eb 50%, var(--ink-faint) 75%);
  background-size: 800px 100%;
  animation: fw-shimmer 1.4s infinite linear;
  border-radius: var(--r);
}
.skel-avatar {
  width: 48px; height: 48px; border-radius: 50%; flex-shrink: 0;
}
.skel-lines { flex: 1; display: flex; flex-direction: column; gap: 10px; padding-top: 4px; }
.skel-line { height: 12px; border-radius: 6px; }
.skel-lg  { width: 70%; }
.skel-md  { width: 50%; animation-delay: 0.1s; }
.skel-sm  { width: 35%; animation-delay: 0.2s; }

/* ── GROUP 3: SUBMISSION TOAST ────────────────────────────────────────────── */
.fw-toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: var(--ink);
  color: #fff;
  padding: 14px 28px;
  border-radius: 40px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 32px rgba(13,31,21,0.28);
  z-index: 9999;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.35s ease;
  opacity: 0;
  white-space: nowrap;
}
.fw-toast.fw-toast-show { transform: translateX(-50%) translateY(0); opacity: 1; }
.fw-toast-icon { color: var(--mint); font-size: 17px; }

/* ── GROUP 3: MOBILE NAV SLIDE ────────────────────────────────────────────── */
@media (max-width: 960px) {
  .nav-links {
    position: fixed;
    top: 66px; left: 0; right: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(20px);
    padding: 20px 24px 28px;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    gap: 6px;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.28s cubic-bezier(0.4,0,0.2,1), opacity 0.22s ease;
    z-index: 99;
  }
  .nav-links.nav-links-open {
    display: flex;
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-links a {
    padding: 10px 4px;
    font-size: 16px;
    border-bottom: 1px solid var(--line);
  }
  .nav-links a:last-child { border-bottom: none; }
}

/* ── ASSESSMENT PROGRESS BAR (strengthen existing) ────────────────────────── */
.progress-fill {
  transition: width 0.45s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* ── OPTION CARD SELECTION PULSE ─────────────────────────────────────────── */
@keyframes fw-select-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(45,106,79,0.3); }
  60%  { box-shadow: 0 0 0 6px rgba(45,106,79,0); }
  100% { box-shadow: 0 0 0 0 rgba(45,106,79,0); }
}
.option-card.selected {
  animation: fw-select-pulse 0.45s ease-out;
}

/* ── RESPECT REDUCED MOTION ──────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { opacity: 1 !important; animation: none !important; transition: none !important; }
  .fw-reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .skel-avatar, .skel-line { animation: none !important; }
  .fw-toast { transition: opacity 0.1s ease !important; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   FAIRWELL ENHANCEMENTS v1.0
   dark-mode | progress-bar | transitions | floating-cta | back-to-top
   hamburger | wizard | calc-save | locale-banner
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── DARK MODE: variable overrides ───────────────────────────────────────── */
[data-theme="dark"] {
  --white:      #111b14;
  --off-white:  #141f18;
  --faint:      #162019;
  --ink-faint:  #1c2d22;
  --pale:       #1e3028;
  --line:       rgba(82,183,136,0.10);
  --line-mid:   rgba(82,183,136,0.16);
  --ink:        #d4e8d9;
  --ink-mid:    #a8c4af;
  --ink-soft:   #7fa889;
  --ink-mute:   #5c7a64;
  --shadow-sm:  0 1px 4px rgba(0,0,0,0.25);
  --shadow:     0 4px 20px rgba(0,0,0,0.35), 0 2px 6px rgba(0,0,0,0.2);
  --shadow-lg:  0 16px 48px rgba(0,0,0,0.45), 0 4px 14px rgba(0,0,0,0.25);
  --amber-pale: #2d1e0f;
}
[data-theme="dark"] .nav {
  background: rgba(13,22,16,0.97);
  border-bottom-color: rgba(82,183,136,0.10);
}
[data-theme="dark"] .nav-links { background: rgba(13,22,16,0.98); }
[data-theme="dark"] .nav-links a { color: var(--ink-soft); }
[data-theme="dark"] .nav-links a:hover,
[data-theme="dark"] .nav-links a.nav-link-active { color: var(--mint); }
[data-theme="dark"] .nav-logo-text { color: var(--ink); }
[data-theme="dark"] .form-input,
[data-theme="dark"] .form-select,
[data-theme="dark"] .form-textarea,
[data-theme="dark"] .dir-filter-select,
[data-theme="dark"] .dir-search-input {
  background: var(--faint); color: var(--ink); border-color: var(--line-mid);
}
[data-theme="dark"] .p-card,
[data-theme="dark"] .feature-card,
[data-theme="dark"] .blog-card,
[data-theme="dark"] .community-card,
[data-theme="dark"] .post-card,
[data-theme="dark"] .what-card,
[data-theme="dark"] .tier-card,
[data-theme="dark"] .booking-card,
[data-theme="dark"] .faq-item,
[data-theme="dark"] .dir-card,
[data-theme="dark"] .tool-card {
  background: var(--faint); border-color: var(--line);
}
[data-theme="dark"] .testi-wrap { background: var(--faint); }
[data-theme="dark"] footer { background: #0a1410; }
[data-theme="dark"] .section[style*="background:var(--faint)"],
[data-theme="dark"] section[style*="background:var(--faint)"] { background: var(--faint) !important; }

/* ── DARK MODE TOGGLE BUTTON ─────────────────────────────────────────────── */
.fw-dark-toggle {
  width: 34px; height: 34px;
  border: 1.5px solid var(--line-mid); border-radius: 8px;
  background: transparent; color: var(--ink-soft);
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background .15s, border-color .15s, color .15s;
  flex-shrink: 0; margin-left: 4px;
}
.fw-dark-toggle:hover { background: var(--faint); border-color: var(--forest); color: var(--forest); }
/* dark mode toggle visible on mobile — sits next to hamburger */

/* ── HAMBURGER BUTTON ────────────────────────────────────────────────────── */
.fw-hamburger {
  display: none; flex-direction: column;
  justify-content: center; align-items: center; gap: 5px;
  width: 36px; height: 36px;
  border: 1.5px solid var(--line-mid); border-radius: 8px;
  background: transparent; cursor: pointer; padding: 0; flex-shrink: 0;
}
.fw-hamburger span {
  display: block; width: 18px; height: 1.5px;
  background: var(--ink-soft); border-radius: 2px;
  transition: transform .22s ease, opacity .18s ease;
}
.fw-hamburger.fw-hamburger-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.fw-hamburger.fw-hamburger-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.fw-hamburger.fw-hamburger-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
@media (max-width: 960px) { .fw-hamburger { display: flex; } }

/* ── READING PROGRESS BAR ────────────────────────────────────────────────── */
.fw-read-bar {
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  background: linear-gradient(90deg, var(--forest) 0%, var(--mint) 100%);
  z-index: 9999; border-radius: 0 2px 2px 0;
  box-shadow: 0 0 10px rgba(82,183,136,0.45);
  pointer-events: none;
}

/* ── PAGE TRANSITION OVERLAY ─────────────────────────────────────────────── */
.fw-page-overlay {
  position: fixed; inset: 0; z-index: 9998;
  background: var(--white); opacity: 0; pointer-events: none;
  transition: opacity 0.08s ease;
}
.fw-page-overlay.fw-page-out { opacity: 1; pointer-events: none; }

/* ── FLOATING GUIDE CTA ──────────────────────────────────────────────────── */
.fw-float-cta {
  position: fixed; bottom: 28px; right: 28px; z-index: 400;
  transform: translateY(16px); opacity: 0; pointer-events: none;
  transition: transform .4s cubic-bezier(0.34,1.56,0.64,1), opacity .3s ease;
}
.fw-float-cta.fw-float-cta-show { transform: translateY(0); opacity: 1; pointer-events: all; }
.fw-float-cta-inner {
  display: flex; align-items: center; gap: 12px;
  background: var(--forest-d); color: #fff;
  padding: 14px 16px; border-radius: 16px;
  box-shadow: 0 10px 36px rgba(13,31,21,0.3), 0 2px 8px rgba(13,31,21,0.15);
  max-width: 340px;
}
.fw-float-cta-copy { flex: 1; }
.fw-float-cta-label {
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: 10px;
  font-weight: 700; text-transform: uppercase; letter-spacing: .09em;
  color: var(--mint-l); margin-bottom: 2px;
}
.fw-float-cta-sub {
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: 13px;
  font-weight: 700; color: #fff; line-height: 1.3;
}
.fw-float-cta-btn {
  background: var(--mint); color: var(--forest-d);
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: 13px; font-weight: 800;
  padding: 9px 14px; border-radius: 10px; text-decoration: none;
  white-space: nowrap; flex-shrink: 0; transition: background .15s;
}
.fw-float-cta-btn:hover { background: var(--mint-l); }
.fw-float-cta-close {
  background: none; border: none; color: rgba(255,255,255,0.45);
  font-size: 20px; cursor: pointer; line-height: 1; padding: 0; flex-shrink: 0;
  transition: color .15s;
}
.fw-float-cta-close:hover { color: #fff; }
@media (max-width: 600px) {
  .fw-float-cta { bottom: 16px; right: 12px; left: 12px; }
  .fw-float-cta-inner { max-width: none; }
}

/* ── BACK TO TOP ─────────────────────────────────────────────────────────── */
.fw-back-top {
  position: fixed; bottom: 28px; right: 28px; z-index: 400;
  width: 42px; height: 42px; background: var(--forest); color: #fff;
  border: none; border-radius: 50%; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: translateY(10px); pointer-events: none;
  transition: opacity .25s ease, transform .25s ease, background .15s;
  box-shadow: 0 4px 18px rgba(13,31,21,0.26);
}
.fw-back-top.fw-back-top-show { opacity: 1; transform: translateY(0); pointer-events: all; }
.fw-back-top:hover { background: var(--forest-d); transform: translateY(-2px); }

/* ── CALCULATOR SAVE RESULTS ─────────────────────────────────────────────── */
.fw-save-results {
  display: flex; gap: 10px; flex-wrap: wrap;
  margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line);
}
.fw-save-btn {
  padding: 9px 18px; border: 1.5px solid var(--line-mid); border-radius: 8px;
  background: var(--white); color: var(--ink-soft);
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: 13px; font-weight: 600;
  cursor: pointer; transition: border-color .15s, color .15s, background .15s;
}
.fw-save-btn:hover { border-color: var(--forest); color: var(--forest); background: var(--faint); }

/* ── LOCALE BANNER ───────────────────────────────────────────────────────── */
.fw-locale-banner {
  display: flex; align-items: flex-start; gap: 10px;
  background: var(--pale); border: 1px solid rgba(45,106,79,0.2);
  border-radius: var(--r); padding: 12px 16px; margin-bottom: 28px;
  font-size: 13px; color: var(--ink-soft); line-height: 1.55;
}
.fw-locale-banner svg { flex-shrink: 0; margin-top: 1px; color: var(--forest); }
.fw-locale-banner span { flex: 1; }
.fw-locale-banner strong { color: var(--forest-d); font-weight: 700; }
.fw-locale-banner-close {
  background: none; border: none; font-size: 16px; color: var(--ink-mute);
  cursor: pointer; line-height: 1; padding: 0; flex-shrink: 0; transition: color .15s;
}
.fw-locale-banner-close:hover { color: var(--ink); }

/* ── PRODUCT WIZARD MODAL ────────────────────────────────────────────────── */
.fw-wizard-modal {
  display: none; position: fixed; inset: 0; z-index: 9100;
  align-items: center; justify-content: center; padding: 20px;
}
.fw-wizard-modal.fw-wizard-open { display: flex; }
.fw-wizard-backdrop {
  position: absolute; inset: 0;
  background: rgba(13,31,21,0.62); backdrop-filter: blur(6px);
}
.fw-wizard-box {
  position: relative; background: var(--white); border-radius: 22px;
  padding: 40px 40px 36px; max-width: 500px; width: 100%;
  box-shadow: 0 32px 80px rgba(13,31,21,0.24);
  animation: fw-wiz-in .3s cubic-bezier(0.34,1.56,0.64,1) both;
}
@keyframes fw-wiz-in {
  from { opacity: 0; transform: scale(0.92) translateY(14px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
.fw-wizard-close {
  position: absolute; top: 16px; right: 20px; background: none; border: none;
  font-size: 22px; color: var(--ink-mute); cursor: pointer; line-height: 1;
  transition: color .15s;
}
.fw-wizard-close:hover { color: var(--ink); }
.fw-wizard-bar { height: 3px; background: var(--line-mid); border-radius: 2px; margin-bottom: 22px; overflow: hidden; }
.fw-wizard-bar-fill { height: 100%; border-radius: 2px; background: linear-gradient(90deg, var(--forest) 0%, var(--mint) 100%); transition: width .35s ease; }
.fw-wizard-step-num { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .09em; color: var(--ink-mute); margin-bottom: 10px; }
.fw-wizard-q { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 21px; font-weight: 800; color: var(--ink); letter-spacing: -0.03em; margin-bottom: 7px; line-height: 1.25; }
.fw-wizard-hint { font-size: 14px; color: var(--ink-soft); line-height: 1.6; margin-bottom: 22px; }
.fw-wizard-opts { display: flex; flex-direction: column; gap: 9px; margin-bottom: 18px; }
.fw-wizard-opt {
  padding: 13px 18px; border: 1.5px solid var(--line-mid); border-radius: 10px;
  background: var(--white); color: var(--ink);
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: 14px; font-weight: 600;
  text-align: left; cursor: pointer;
  transition: border-color .15s, background .15s, color .15s, transform .12s;
}
.fw-wizard-opt:hover { border-color: var(--forest); background: var(--pale); color: var(--forest); transform: translateX(4px); }
.fw-wizard-back { background: none; border: none; color: var(--ink-mute); font-family: 'Plus Jakarta Sans', sans-serif; font-size: 13px; font-weight: 600; cursor: pointer; padding: 0; transition: color .15s; }
.fw-wizard-back:hover { color: var(--ink); }
.fw-wizard-result-icon { width: 50px; height: 50px; background: var(--pale); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 14px; }
.fw-wizard-rec { background: var(--faint); border: 1.5px solid rgba(45,106,79,0.18); border-radius: 14px; padding: 22px 24px; margin: 18px 0 14px; }
.fw-wizard-rec-name { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 15px; font-weight: 800; color: var(--forest); margin-bottom: 7px; }
.fw-wizard-rec-desc { font-size: 14px; color: var(--ink-soft); line-height: 1.65; margin-bottom: 14px; }
.fw-wizard-rec-cta { display: inline-flex; align-items: center; background: var(--forest); color: #fff; padding: 11px 22px; border-radius: 9px; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 14px; font-weight: 700; text-decoration: none; transition: background .15s; }
.fw-wizard-rec-cta:hover { background: var(--forest-d); }
.fw-wizard-restart { background: none; border: none; color: var(--ink-mute); font-family: 'Plus Jakarta Sans', sans-serif; font-size: 13px; font-weight: 600; cursor: pointer; padding: 0; display: block; margin-top: 4px; transition: color .15s; }
.fw-wizard-restart:hover { color: var(--ink); }

/* ── WIZARD TRIGGER ──────────────────────────────────────────────────────── */
.fw-wizard-trigger-wrap { text-align: center; padding: 28px 0; }
.fw-wizard-trigger-wrap p { font-size: 14px; color: var(--ink-soft); margin-bottom: 12px; }
.fw-wizard-open-btn {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1.5px solid var(--line-mid); border-radius: 10px;
  background: var(--white); color: var(--ink-soft);
  padding: 11px 22px; font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px; font-weight: 600; cursor: pointer;
  transition: border-color .15s, color .15s, background .15s;
}
.fw-wizard-open-btn:hover { border-color: var(--forest); color: var(--forest); background: var(--pale); }

@media (max-width: 600px) {
  .fw-wizard-box { padding: 28px 22px 24px; }
  .fw-wizard-q { font-size: 18px; }
}

/* ── SKIP TO CONTENT (Accessibility) ──────────────────────────────────────── */
/* .fw-skip-link removed */

/* ── GLOBAL FOCUS STYLES (WCAG AA) ────────────────────────────────────────── */
*:focus-visible {
  outline: 2.5px solid var(--forest);
  outline-offset: 3px;
}
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible {
  outline: 2.5px solid var(--forest);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ── COOKIE CONSENT BANNER ─────────────────────────────────────────────────── */
.fw-cookie-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 9990;
  background: var(--forest-d); color: rgba(255,255,255,0.88);
  padding: 16px 32px; display: flex; align-items: center;
  gap: 24px; flex-wrap: wrap;
  transform: translateY(100%);
  transition: transform .38s cubic-bezier(.4,0,.2,1);
  box-shadow: 0 -4px 24px rgba(0,0,0,.22);
}
.fw-cookie-bar.fw-cookie-show { transform: translateY(0); }
.fw-cookie-bar p { font-size: 13px; line-height: 1.6; flex: 1; min-width: 220px; margin: 0; }
.fw-cookie-bar a { color: var(--mint-l); text-decoration: underline; }
.fw-cookie-btns { display: flex; gap: 10px; flex-shrink: 0; }
.fw-cookie-accept {
  background: var(--mint); color: var(--forest-d);
  border: none; padding: 9px 22px; border-radius: 7px;
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: 13px; font-weight: 700;
  cursor: pointer; transition: opacity .15s;
}
.fw-cookie-accept:hover { opacity: 0.85; }
.fw-cookie-decline {
  background: transparent; color: rgba(255,255,255,0.6);
  border: 1px solid rgba(255,255,255,0.22); padding: 9px 22px;
  border-radius: 7px; font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px; font-weight: 600; cursor: pointer;
  transition: border-color .15s, color .15s;
}
.fw-cookie-decline:hover { border-color: rgba(255,255,255,.5); color: #fff; }

/* ── EMAIL CAPTURE MODAL ───────────────────────────────────────────────────── */
.fw-capture-modal {
  position: fixed; inset: 0; z-index: 9995;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity .3s ease;
}
.fw-capture-modal.fw-capture-open { opacity: 1; pointer-events: all; }
.fw-capture-backdrop {
  position: absolute; inset: 0;
  background: rgba(13,31,21,0.65);
  backdrop-filter: blur(4px);
}
.fw-capture-box {
  position: relative; z-index: 1;
  background: var(--white); border-radius: var(--r-xl);
  padding: 44px 40px; max-width: 480px; width: calc(100% - 40px);
  box-shadow: var(--shadow-lg); text-align: center;
  transform: translateY(20px);
  transition: transform .3s ease;
}
.fw-capture-modal.fw-capture-open .fw-capture-box { transform: translateY(0); }
.fw-capture-icon { font-size: 36px; margin-bottom: 16px; }
.fw-capture-box h3 {
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: 22px; font-weight: 800;
  color: var(--ink); letter-spacing: -0.03em; margin-bottom: 12px; line-height: 1.2;
}
.fw-capture-box p { font-size: 14px; color: var(--ink-soft); line-height: 1.65; margin-bottom: 8px; }
.fw-capture-sub { font-size: 12px !important; color: var(--ink-mute) !important; }
.fw-capture-close {
  position: absolute; top: 16px; right: 20px;
  background: none; border: none; font-size: 22px;
  color: var(--ink-mute); cursor: pointer; line-height: 1;
  padding: 4px 8px; transition: color .15s;
}
.fw-capture-close:hover { color: var(--ink); }
#fw-capture-form { margin-top: 20px; display: flex; flex-direction: column; gap: 10px; }
#fw-capture-email {
  border: 1.5px solid var(--line-mid); border-radius: var(--r);
  padding: 13px 16px; font-size: 15px; font-family: 'Inter', sans-serif;
  color: var(--ink); background: var(--white); outline: none;
  transition: border-color .15s;
}
#fw-capture-email:focus { border-color: var(--forest); }
#fw-capture-email.fw-capture-error { border-color: #C0392B; }
.fw-capture-submit {
  background: var(--forest); color: #fff;
  border: none; padding: 14px; border-radius: var(--r);
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: 15px; font-weight: 800;
  letter-spacing: -0.02em; cursor: pointer; transition: background .15s;
}
.fw-capture-submit:hover { background: var(--forest-d); }
.fw-capture-success {
  padding: 20px; background: var(--faint); border-radius: var(--r);
  margin-top: 16px; font-size: 15px; color: var(--ink-mid); line-height: 1.65;
}
.fw-capture-nothanks {
  background: none; border: none; margin-top: 18px;
  font-size: 12px; color: var(--ink-mute); cursor: pointer;
  text-decoration: underline; font-family: 'Inter', sans-serif;
  transition: color .15s;
}
.fw-capture-nothanks:hover { color: var(--ink-soft); }

@media (max-width: 520px) {
  .fw-capture-box { padding: 32px 24px; }
  .fw-cookie-bar { padding: 16px 20px; }
  .fw-cookie-btns { width: 100%; }
  .fw-cookie-accept, .fw-cookie-decline { flex: 1; text-align: center; }
}


/* ══════════════════════════════════════════════════════════════════════════
   MOBILE OPTIMISATION — v2.0
   All rules below are mobile-only (max-width). Desktop is unaffected.
   ══════════════════════════════════════════════════════════════════════════ */

/* Global overflow fix — prevents any element bleeding off screen */
body { overflow-x: hidden; }

/* ── NAV: hide login link on mobile to reduce nav crowding ─────────────── */
@media (max-width: 960px) {
  .nav-login { display: none !important; }
  .nav-inner { gap: 10px !important; }
}

/* ── HERO: override inline padding-right on hero-left ─────────────────── */
@media (max-width: 960px) {
  .hero-left { padding: 60px 0 48px !important; }
}

/* ── FOOTER: single column on small phones ─────────────────────────────── */
@media (max-width: 540px) {
  .footer-grid { grid-template-columns: 1fr !important; gap: 32px; }
}

/* ── INDEX: inline grid sections (quiz, referral, guides) ──────────────── */
@media (max-width: 760px) {
  #quiz-grid { grid-template-columns: 1fr !important; gap: 32px !important; }
  #referral-grid { grid-template-columns: 1fr !important; gap: 40px !important; }
  #guides-mini-grid { grid-template-columns: 1fr 1fr !important; gap: 14px !important; }
  /* Products grid: 2 cols at tablet */
  .products-grid { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 480px) {
  #guides-mini-grid { grid-template-columns: 1fr !important; }
  .products-grid { grid-template-columns: 1fr !important; }
  /* Hero actions: stack buttons */
  .hero-actions { flex-direction: column; align-items: flex-start; gap: 10px; }
  .hero-actions a { width: 100%; text-align: center; justify-content: center; }
  /* Section headings */
  .section-h2 { font-size: clamp(26px, 7vw, 40px); }
}

/* ── COMPARISON PAGE: table font size + padding on mobile ──────────────── */
@media (max-width: 600px) {
  .comp-table td, .comp-table th { padding: 12px 14px; font-size: 13px; }
  .comp-table .row-label { font-size: 12px; }
  .comp-tabs button { padding: 10px 14px; font-size: 13px; white-space: nowrap; }
  .cost-visual { grid-template-columns: 1fr 1fr !important; }
  .comp-table-wrap { border-radius: 10px; }
}

/* ── CALCULATOR PAGE: PDF tier grid on mobile ──────────────────────────── */
@media (max-width: 600px) {
  .pdf-tier-grid { grid-template-columns: 1fr !important; }
  .pdf-upsell { padding: 32px 20px; }
}

/* ── BLOG GRID: guide cards stack on mobile ────────────────────────────── */
@media (max-width: 680px) {
  .blog-grid { grid-template-columns: 1fr !important; }
  .blog-grid-4 { grid-template-columns: 1fr 1fr !important; }
  .blog-grid-2 { grid-template-columns: 1fr !important; }
}
@media (max-width: 480px) {
  .blog-grid-4 { grid-template-columns: 1fr !important; }
}

/* ── GENERAL: section padding on small screens ─────────────────────────── */
@media (max-width: 480px) {
  .section { padding: 56px 0; }
  .shell { padding: 0 18px; }
  .section-h2 { font-size: clamp(24px, 6.5vw, 40px); }
  h1 { font-size: clamp(32px, 8vw, 60px); }
}

/* ══════════════════════════════════════════════════════════════════════════
   MOBILE POLISH — v2.1
   Targeted fixes for nav overflow, trust bar, hero pills, cost table
   ══════════════════════════════════════════════════════════════════════════ */

/* ── NAV: reduce inner padding + push hamburger to right ───────────────── */
@media (max-width: 960px) {
  .nav-inner { padding: 0 20px !important; }
  /* Hamburger pushes to far right, logo stays left */
  .fw-hamburger { margin-left: auto; }
}

/* ── NAV CTA: shrink on tablets, hide on tiny phones ───────────────────── */
@media (max-width: 680px) {
  .nav-cta { padding: 8px 14px !important; font-size: 13px !important; }
}
@media (max-width: 400px) {
  /* On very small phones, drop the CTA from nav — it's in the hero */
  .nav-cta { display: none !important; }
}

/* ── TRUST BAR: single column on phones + smaller number ───────────────── */
@media (max-width: 540px) {
  .trust-bar-inner { grid-template-columns: 1fr !important; gap: 24px !important; }
  .trust-stat-num { font-size: 30px !important; }
}

/* ── HERO TRUST PILLS: wrap instead of overflow ─────────────────────────── */
@media (max-width: 540px) {
  .hero-trust { flex-wrap: wrap; gap: 8px 10px; }
  /* Hide the dot separators when items wrap — they look wrong mid-line */
  .hero-trust .hero-trust-dot { display: none; }
}

/* ── COST TABLE: tighter on mobile ─────────────────────────────────────── */
@media (max-width: 540px) {
  .cost-table { font-size: 12px; }
  .cost-table td { padding: 11px 8px; }
  .cost-table th { padding: 8px 8px; font-size: 10px; }
}

/* ── PRODUCTS GRID: 2 col at 600-760px, 1 col below 480px ─────────────── */
@media (max-width: 600px) {
  .products-grid { grid-template-columns: repeat(2, 1fr) !important; }
}

/* ── TOOLS GRID: 2 col at tablet, 1 col on phone ───────────────────────── */
@media (max-width: 680px) {
  .tools-grid { grid-template-columns: 1fr 1fr !important; }
}
@media (max-width: 480px) {
  .tools-grid { grid-template-columns: 1fr !important; }
}

/* ── COVERAGE GRID: 1 col below 540px ──────────────────────────────────── */
@media (max-width: 540px) {
  .coverage-grid { grid-template-columns: 1fr !important; }
}

/* ── FOOTER BOTTOM: stack on phone ─────────────────────────────────────── */
@media (max-width: 540px) {
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
  .footer-region { text-align: left; }
}

/* ── HERO H1: tighter on very small phones ──────────────────────────────── */
@media (max-width: 380px) {
  .hero-h1 { font-size: 38px !important; }
  .hero-sub { font-size: 16px !important; }
}

/* ── TESTIMONIAL CAROUSEL: narrower cards on phone ─────────────────────── */
@media (max-width: 480px) {
  .testi { width: 280px !important; padding: 20px !important; }
}

/* ── PROF TYPES GRID: 1 col on phone ────────────────────────────────────── */
@media (max-width: 540px) {
  .prof-types-grid { grid-template-columns: 1fr !important; }
  .prof-grid { gap: 32px !important; }
}

/* ── PRICING: promo/referral inline grid ────────────────────────────────── */
@media (max-width: 680px) {
  #pricing-promo-grid { grid-template-columns: 1fr !important; gap: 24px !important; }
}

/* ── COMPARISON: decision cards inline grid ─────────────────────────────── */
@media (max-width: 540px) {
  #comp-decision-grid { grid-template-columns: 1fr !important; }
}

/* ── GLOBAL: prevent any element from exceeding viewport width ──────────── */
img, video, svg:not(.nav-logo-bird) { max-width: 100%; }
table { max-width: 100%; }

/* ── HERO ACTIONS: stack on all phones ─────────────────────────────────── */
@media (max-width: 540px) {
  .hero-actions {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 10px !important;
  }
  .hero-actions a, .hero-actions button {
    width: 100% !important;
    text-align: center !important;
    justify-content: center !important;
  }
}

/* ── CTA SECTION ACTIONS: wrap on phone ────────────────────────────────── */
@media (max-width: 480px) {
  .cta-actions {
    flex-direction: column !important;
    align-items: stretch !important;
  }
  .cta-actions a {
    text-align: center !important;
    justify-content: center !important;
  }
}

/* ── HOW-IT-WORKS: tighten on phone ─────────────────────────────────────── */
@media (max-width: 480px) {
  .how-num { font-size: 32px !important; width: 40px !important; }
  .how-step { gap: 16px !important; padding: 20px 0 !important; }
}

/* ── SECTION SUB TEXT: allow wrapping ───────────────────────────────────── */
@media (max-width: 540px) {
  .section-sub { max-width: 100% !important; font-size: 15px !important; }
  .hero-sub { max-width: 100% !important; }
}

/* ══════════════════════════════════════════════════════════════════════════
   MOBILE QA FIXES — v3.0
   Guide hero padding | section-header stacking | float-cta/back-top conflicts
   ══════════════════════════════════════════════════════════════════════════ */

/* ── GUIDE HERO: reduce padding on small screens (matches article-hero) ── */
@media (max-width: 640px) {
  .guide-hero { padding: 48px 0 40px !important; }
}

/* ── BLOG LISTING: guide-section-header stacks on mobile ─────────────── */
@media (max-width: 600px) {
  .guide-section-header { flex-direction: column !important; gap: 4px !important; }
  .guide-section-header p { display: none !important; }
  .guide-section { padding: 40px 0 0 !important; }
}

/* ── FLOAT CTA: suppress on mobile — mobile sticky bar handles it ──────── */
@media (max-width: 768px) {
  .fw-float-cta { display: none !important; }
}

/* ── BACK TO TOP: raise above float-cta on desktop, above sticky on mobile */
.fw-back-top { bottom: 100px !important; }
@media (max-width: 768px) {
  .fw-back-top { bottom: 80px !important; }
}

/* ── GUIDE BODY: breathing room on very small phones ───────────────────── */
@media (max-width: 480px) {
  .guide-body { padding: 40px 18px 72px !important; }
  .article-body { padding: 40px 18px 72px !important; }
}

/* ── SHARE STRIP: already responsive in JS-injected styles, ensure         */
/*    the strip doesn't get cut off by mobile sticky bar ─────────────────── */
@media (max-width: 768px) {
  .fw-share-strip { margin-bottom: 80px; }
}

/* ── MOBILE REVEAL FIX: prevent fw-reveal opacity:0 causing blank pages ─── */
/* On narrow viewports IntersectionObserver can miss above-fold elements;    */
/* disable the initial hide so content is always visible on mobile.           */
@media (max-width: 767px) {
  .fw-reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ── MOBILE NAV OVERLAY ────────────────────────────────────────────────────── */
/* All styling lives here in the stylesheet — inline !important is invalid CSS */
#fw-mobile-nav {
  position: fixed;
  top: 0; right: 0; bottom: 0; left: 0;
  background: #0d1f15 !important;
  z-index: 9000;
  flex-direction: column;
  padding: 32px 24px 40px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
#fw-mobile-nav * { box-sizing: border-box; }
#fw-mobile-nav a {
  color: #ffffff !important;
  text-decoration: none !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
}
#fw-mobile-nav nav a {
  font-size: 20px !important;
  font-weight: 700 !important;
  display: block !important;
  padding: 16px 0 !important;
  border-bottom: 1px solid rgba(255,255,255,0.1) !important;
}
#fw-mobile-nav .fw-mob-logo {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 24px; font-weight: 800; color: #ffffff;
  letter-spacing: -0.03em;
}
#fw-mobile-nav .fw-mob-logo em { color: #52B788; font-style: normal; }
#fw-mobile-nav .fw-mob-close {
  background: none; border: none; color: #ffffff;
  font-size: 32px; cursor: pointer; line-height: 1;
  padding: 4px 8px; -webkit-tap-highlight-color: transparent;
}
#fw-mobile-nav .fw-mob-login {
  display: block !important; text-align: center !important;
  font-size: 16px !important; font-weight: 700 !important;
  color: #ffffff !important;
  padding: 15px !important;
  border: 1.5px solid rgba(255,255,255,0.35) !important;
  border-radius: 12px !important;
}
#fw-mobile-nav .fw-mob-cta {
  display: block !important; text-align: center !important;
  font-size: 16px !important; font-weight: 800 !important;
  background: #52B788 !important; color: #ffffff !important;
  padding: 15px !important; border-radius: 12px !important;
}

/* MOBILE OPTIMISATIONS */

/* Hamburger — hide nav links on mobile, .fw-hamburger button is injected by fw-enhancements.js */
@media (max-width: 767px) {
  .nav-links, .nav-login { display: none !important; }
}

/* Shell padding at narrow viewport */
@media (max-width: 480px) {
  .shell { padding: 0 16px; }
}

/* Single column cards/grids at <=640px */
@media (max-width: 640px) {
  .cards-grid, .features-grid, .guide-grid, .blog-grid, .pricing-grid,
  [class*="-grid"], [class*="grid-"] {
    grid-template-columns: 1fr !important;
  }
}

/* Hero headline scaling on mobile */
@media (max-width: 640px) {
  .hero-title, .page-hero h1, h1.hero-headline, .hero h1 {
    font-size: clamp(28px, 8vw, 44px) !important;
    line-height: 1.2;
  }
  .hero-subtitle, .hero p {
    font-size: clamp(15px, 4vw, 18px);
  }
}

/* Full-width CTA buttons at <=480px */
@media (max-width: 480px) {
  .btn, .btn-primary, .nav-cta, .fw-cta-btn,
  [class*="cta-btn"] {
    width: 100%;
    text-align: center;
    box-sizing: border-box;
  }
}

/* Tap targets min 44px */
a, button, [role="button"],
input[type="checkbox"], input[type="radio"],
select {
  min-height: 44px;
}

/* Remove tap highlight on interactive elements */
a, button, [role="button"] {
  -webkit-tap-highlight-color: transparent;
}

/* PREMIUM ANIMATIONS & HOVER EFFECTS */

/* CTA button shimmer */
@keyframes fw-btn-shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}
.nav-cta, .btn-primary, [class*="cta-btn"]:not(.dir-cta-btn-outline), .fw-cta-btn {
  position: relative; overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.15s;
}
.nav-cta:hover, .btn-primary:hover, [class*="cta-btn"]:not(.dir-cta-btn-outline):hover, .fw-cta-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(13, 93, 51, 0.3);
}
.nav-cta::after, .btn-primary::after, .fw-cta-btn::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.35) 50%, transparent 60%);
  background-size: 200% 100%;
  background-position: -200% center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s;
}
.nav-cta:hover::after, .btn-primary:hover::after, .fw-cta-btn:hover::after {
  opacity: 1;
  animation: fw-btn-shimmer 0.6s ease forwards;
}

/* Card hover lift */
.card, .pricing-card, .feature-card, .guide-card, .blog-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s;
}
.card:hover, .pricing-card:hover, .feature-card:hover, .guide-card:hover, .blog-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(13, 31, 21, 0.12);
}

/* Input focus glow */
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--forest) !important;
  box-shadow: 0 0 0 3px rgba(13, 93, 51, 0.12);
  transition: box-shadow 0.2s, border-color 0.2s;
}

/* Nav link underline animation */
.nav-links a {
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 2px;
  background: var(--forest);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.2s ease;
}
.nav-links a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}
