/* ============================================
   FINANCE CRAFTERS — STYLESHEET v5 (cobalt + mustard)
   Palette: Cobalt #0047BB · Mustard #E5A823 · Cobalt-light #4D83D8
   Base: Pure White · Ink #17212B
   Fonts: Lora (headings) / Nunito Sans (body)
   ============================================ */

:root {
  --cobalt: #0047BB;
  --cobalt-deep: #0A2540;
  --cobalt-light: #4D83D8;
  --cobalt-soft: #E6EEF8;
  --cobalt-tint: #F5F8FC;
  --mustard: #F5C542;
  --mustard-deep: #E5A823;
  --mustard-soft: #FBEFD3;
  /* semantic aliases used throughout the stylesheet */
  --teal: #0047BB;
  --teal-deep: #0A2540;
  --teal-soft: #E6EEF8;
  --teal-tint: #F5F8FC;
  --teal-light: #4D83D8;
  --teal-border: #0047BB;
  --coral: #F5C542;
  --coral-deep: #E5A823;
  --coral-soft: #FBEFD3;
  --amber: #F5C542;
  --amber-soft: #FBEFD3;
  --violet: #0047BB;
  --violet-soft: #E6EEF8;
  --cream: #FFFFFF;
  --sand: #F5F8FC;
  --ink: #17212B;
  --ink-body: #333333;
  --grey: #5F6D7E;
  --border: #E2E8F0;
  --white: #FFFFFF;
  --shadow: 0 4px 20px rgba(10, 37, 64, 0.06);
  --shadow-lg: 0 14px 40px rgba(10, 37, 64, 0.12);
  --radius: 14px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Nunito Sans', sans-serif;
  color: var(--ink-body);
  background: var(--white);
  line-height: 1.65;
  font-size: 17.5px;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Lora', serif;
  color: var(--ink);
  line-height: 1.18;
  font-weight: 600;
}
h1 { font-size: 47px; letter-spacing: -0.5px; }
h2 { font-size: 34px; letter-spacing: -0.3px; }
h3 { font-size: 23px; }
p { margin-bottom: 16px; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 32px; }
.section { padding: 50px 0; }
.bg-cream { background: var(--cream); }
.bg-teal-deep { background: var(--teal-deep); color: var(--cream); }
.bg-teal-deep h1, .bg-teal-deep h2, .bg-teal-deep h3 { color: var(--white); }

.eyebrow {
  font-family: 'Nunito Sans', sans-serif;
  font-size: 13.5px; font-weight: 800;
  letter-spacing: 3px; text-transform: uppercase;
  color: var(--coral); margin-bottom: 14px; display: block;
}
.center { text-align: center; }
.section-head { max-width: 700px; margin: 0 auto 52px; text-align: center; }

/* squiggle accent under headings */
.squiggle { position: relative; display: inline-block; }
.squiggle svg { position: absolute; left: 0; right: 0; bottom: -12px; width: 100%; height: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; font-family: 'Nunito Sans', sans-serif;
  font-weight: 800; font-size: 16px; padding: 15px 32px;
  border-radius: 50px; cursor: pointer; transition: all 0.2s ease;
  border: 2px solid transparent; text-align: center; text-decoration: none;
}
.btn-teal { background: var(--cobalt); color: var(--white); }
.btn-teal:hover { background: var(--cobalt-deep); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-coral { background: var(--mustard); color: #17212B; }
.btn-coral:hover { background: var(--mustard-deep); color: #17212B; transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-outline { background: var(--mustard); border-color: var(--mustard); color: #17212B; }
.btn-outline:hover { background: var(--mustard-deep); border-color: var(--mustard-deep); color: #17212B; }
.btn-outline-light { background: transparent; border-color: rgba(255,255,255,0.6); color: var(--white); }
.btn-outline-light:hover { background: rgba(255,255,255,0.12); border-color: var(--white); }
.btn-outline-teal { background: transparent; border-color: var(--cobalt); color: var(--cobalt); }
.btn-outline-teal:hover { background: var(--teal); color: var(--white); }
.btn-block { display: block; width: 100%; }
.btn-row { margin-top: 30px; }
.btn-row .btn { margin-right: 14px; margin-bottom: 12px; }

/* ---------- Top trial bar ---------- */
.trial-banner { background: var(--cobalt-deep); text-align: center; padding: 11px 20px; }
.trial-banner p { margin: 0; color: var(--white); font-size: 14.5px; font-weight: 700; }
.trial-banner a { text-decoration: underline; font-weight: 800; color: var(--mustard); }
.trial-banner a:hover { color: #fff; }

/* ---------- Header ---------- */
header.site-header {
  position: sticky; top: 0; z-index: 500;
  background: rgba(255,255,255,0.97);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: 1180px; margin: 0 auto; padding: 0 32px; height: 86px;
  display: flex; align-items: center; justify-content: space-between;
}
.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo svg { width: 46px; height: 46px; margin-right: 12px; }
.logo-text { line-height: 1.12; }
.logo-text .wordmark { font-family: 'Lora', serif; font-weight: 600; font-size: 22px; color: var(--ink); display: block; }
.logo-text .tagline { font-family: 'Nunito Sans', sans-serif; font-size: 9.5px; letter-spacing: 2px; color: var(--teal); font-weight: 800; }

nav.main-nav { display: flex; align-items: center; }
nav.main-nav > ul { display: flex; list-style: none; }
nav.main-nav > ul > li { margin-left: 26px; }
nav.main-nav > ul > li:first-child { margin-left: 0; }
nav.main-nav a.nav-link {
  font-size: 15px; font-weight: 700; color: var(--ink);
  padding: 8px 0; white-space: nowrap;
}
nav.main-nav a.nav-link:hover { color: var(--coral); }
nav.main-nav a.nav-link.trial-link { color: var(--coral); }

.has-dropdown { position: relative; }
.dropdown {
  position: absolute; top: 100%; left: -18px;
  background: var(--white); box-shadow: var(--shadow-lg);
  border-radius: 12px; padding: 10px; min-width: 280px;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: all 0.2s ease; list-style: none;
}
.has-dropdown:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown li a { display: block; padding: 10px 14px; font-size: 14.5px; border-radius: 8px; color: var(--ink); font-weight: 600; }
.dropdown li a:hover { background: var(--cream); color: var(--teal); }

.header-cta { flex-shrink: 0; }
.header-cta .btn { padding: 12px 24px; font-size: 14px; }
.header-cta-mobile { display: none; }

.mobile-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.mobile-toggle span { display: block; width: 26px; height: 2.5px; border-radius: 2px; background: var(--ink); margin: 5px 0; transition: 0.25s; }
.mobile-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-toggle.open span:nth-child(2) { opacity: 0; }
.mobile-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { padding: 56px 0 48px; }
.hero-grid { overflow: hidden; }
.hero-grid > *:first-child { float: left; width: 53%; margin-right: 4%; padding-top: 14px; }
.hero-grid > *:last-child { float: left; width: 43%; }
.hero h1 { margin-bottom: 22px; }
.hero h1 .hl { color: var(--teal); font-style: italic; }
.hero p.lead { font-size: 19px; color: var(--grey); max-width: 560px; }
.hero-visual {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 22px; box-shadow: var(--shadow-lg);
  padding: 40px; text-align: center; position: relative;
}
.hero-visual svg.chart { width: 200px; height: 160px; display: inline-block; }
.hero-chip {
  position: absolute; background: var(--white); border: 1px solid var(--border);
  border-radius: 40px; box-shadow: var(--shadow); padding: 8px 16px;
  font-size: 13px; font-weight: 800;
}
.hero-chip.c1 { top: -16px; right: 24px; color: var(--teal); }
.hero-chip.c2 { bottom: -14px; left: 20px; color: var(--coral); }
.hero.hero-simple { padding: 66px 0 56px; text-align: center; }
.hero.hero-simple .lead { max-width: 660px; margin: 0 auto; }

/* ---------- Membership logo strip ---------- */
.logo-strip { padding: 44px 0 40px; border-bottom: 1px solid var(--border); }
.logo-strip .label { text-align: center; font-size: 13px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--mustard); font-weight: 800; }
.logo-row { text-align: center; margin-top: 26px; }
.logo-row img { display: inline-block; vertical-align: middle; height: 54px; width: auto; margin: 10px 26px; }
.logo-row img.taller { height: 74px; }

/* ---------- Software marquee ---------- */
.software-marquee { padding: 56px 0 46px; background: var(--teal-tint); overflow: hidden; }
.marquee-track-wrap { overflow: hidden; white-space: nowrap; margin-top: 30px; }
.marquee-track { display: inline-block; white-space: nowrap; animation: scrollx 50s linear infinite; }
.marquee-track-wrap:hover .marquee-track { animation-play-state: paused; }
@keyframes scrollx { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee-item {
  display: inline-flex; align-items: center; justify-content: center;
  vertical-align: middle;
  background: var(--white); border: 1px solid var(--border); border-radius: 12px;
  height: 84px; min-width: 150px; padding: 0 28px; margin: 0 10px;
  box-shadow: var(--shadow);
}
.marquee-item img { display: block; height: 46px; width: auto; max-width: 180px; object-fit: contain; }
.marquee-note { text-align: center; margin-top: 26px; font-size: 12.5px; color: var(--grey); }

/* ---------- Card grids (float system, proven) ---------- */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; align-items: stretch; grid-auto-rows: 1fr; }
.grid-4 > * { width: auto; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; align-items: stretch; grid-auto-rows: 1fr; }
.grid-3 > * { width: auto; }

.card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 30px 24px;
  box-shadow: var(--shadow); transition: 0.25s;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.card .icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.card .icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: 10px; font-size: 19.5px; }
.card p { color: var(--grey); font-size: 14.8px; margin-bottom: 14px; flex: 1; }
.card .learn-more { color: var(--teal); font-weight: 800; font-size: 14.5px; margin-top: auto; }
.card .learn-more:hover { color: var(--teal-deep); }
.card .learn-more::after { content: " →"; }

/* colour tints — teal family variety */
.t1 { background: var(--teal-soft); } .t1 svg { color: var(--teal); stroke: var(--teal); }
.t2 { background: #E6EEF8; } .t2 svg { color: var(--teal-deep); stroke: var(--teal-deep); }
.t3 { background: #E6EEF8; } .t3 svg { color: var(--teal); stroke: var(--teal); }
.t4 { background: #E6EEF8; } .t4 svg { color: var(--teal-deep); stroke: var(--teal-deep); }

/* equal-height who-for cards (Item 21) */
.who-grid .card { min-height: 178px; }

/* ---------- Why us ---------- */
.diff-item { overflow: hidden; margin-bottom: 8px; }
.diff-item .num {
  float: left; width: 46px; font-family: 'Lora', serif;
  font-size: 28px; font-weight: 600; color: var(--coral);
}
.diff-item .diff-body { margin-left: 60px; }
.diff-item h3 { font-size: 18.5px; margin-bottom: 6px; }
.diff-item p { color: var(--grey); font-size: 14.8px; margin-bottom: 0; }

/* ---------- Steps ---------- */
.steps-row { overflow: hidden; }
.steps-row > * { float: left; width: 30%; margin-right: 5%; text-align: center; }
.steps-row > *:nth-child(3n) { margin-right: 0; }
.step-num {
  width: 74px; height: 74px; border-radius: 50%; margin: 0 auto 16px;
  font-family: 'Lora', serif; font-size: 32px; font-weight: 600;
  display: flex; align-items: center; justify-content: center;
}
.step-item:nth-child(1) .step-num { background: var(--coral-soft); color: var(--coral); }
.step-item:nth-child(2) .step-num { background: var(--teal-soft); color: var(--teal); }
.step-item:nth-child(3) .step-num { background: var(--amber-soft); color: var(--amber); }
.step-item h3 { margin-bottom: 10px; }
.step-item p { color: var(--grey); font-size: 15px; }

/* ---------- Testimonials ---------- */
.testi-wrap { max-width: 780px; margin: 0 auto; position: relative; }
.testi-slide { display: none; text-align: center; }
.testi-slide.active { display: block; animation: fadeIn 0.4s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px);} to {opacity:1; transform: translateY(0);} }
.testi-slide .quote { font-size: 22px; font-family: 'Lora', serif; font-weight: 500; color: var(--ink); line-height: 1.5; margin-bottom: 22px; }
.testi-slide .quote::before { content: "“"; color: var(--coral); font-size: 30px; }
.testi-slide .quote::after { content: "”"; color: var(--coral); font-size: 30px; }
.testi-slide .name { font-weight: 800; font-size: 15px; color: var(--ink); }
.testi-slide .role { font-size: 13.5px; color: var(--grey); }
.testi-controls { text-align: center; margin-top: 32px; }
.testi-controls > * { display: inline-block; vertical-align: middle; }
.testi-arrow {
  width: 42px; height: 42px; border-radius: 50%;
  border: 2px solid var(--border); background: var(--white);
  cursor: pointer; font-size: 18px; color: var(--ink);
  transition: 0.2s; margin: 0 10px; line-height: 38px; text-align: center;
}
.testi-arrow:hover { background: var(--coral); color: var(--white); border-color: var(--coral); }
.testi-dots { margin: 0 6px; }
.testi-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--border); cursor: pointer; transition: 0.2s; margin: 0 4px; }
.testi-dot.active { background: var(--coral); width: 24px; border-radius: 5px; }

/* ---------- Stats band + flags ---------- */
.stats-band { padding: 58px 0; background: var(--teal-deep); }
.stats-inline { display: flex; flex-direction: column; align-items: center; gap: 34px; }
.stats-grid {
  display: flex; align-items: flex-start; justify-content: center;
  flex-wrap: nowrap; gap: 16px; width: 100%;
}
.stat { text-align: center; flex: 1; min-width: 0; }
.stat-num { font-family: 'Lora', serif; font-weight: 600; font-size: 40px; color: var(--white); line-height: 1.1; }
.stat-label { font-size: 10px; letter-spacing: 1px; text-transform: uppercase; color: var(--mustard); margin-top: 6px; font-weight: 800; line-height: 1.4; }
.stats-flags {
  display: flex; align-items: center; justify-content: center; gap: 16px;
  flex-wrap: wrap; padding-top: 8px;
}
.flag { width: 66px; height: 45px; border-radius: 6px; overflow: hidden; box-shadow: 0 3px 14px rgba(0,0,0,0.32); flex-shrink: 0; }
.flag svg { display: block; width: 100%; height: 100%; }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; }
.cta-band h2 { margin-bottom: 12px; }
.cta-band p { color: var(--grey); max-width: 720px; margin: 0 auto 26px; }
.cta-band .btn { margin: 0 8px 12px; }

/* ---------- Checklist (flexbox — no overlap) ---------- */
.checklist { list-style: none; margin: 0; padding: 0; }
.checklist li {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 8px 0; font-size: 15.3px; line-height: 1.55;
}
.checklist li .check {
  flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%;
  background: var(--teal); color: var(--white);
  font-size: 12px; font-weight: 800; text-align: center; line-height: 22px;
  margin-top: 1px;
}
.checklist li .check-body { flex: 1; min-width: 0; }
/* Two-column via CSS grid so rows align on both sides */
.checklist.two-col {
  display: grid; grid-template-columns: 1fr 1fr;
  column-gap: 44px; row-gap: 0;
}

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%; text-align: left; background: none; border: none;
  padding: 20px 0; font-family: 'Nunito Sans', sans-serif;
  font-size: 16.5px; font-weight: 800; color: var(--ink);
  cursor: pointer; position: relative; padding-right: 40px;
}
.faq-q .plus { position: absolute; right: 4px; top: 18px; font-size: 22px; color: var(--coral); transition: transform 0.25s; }
.faq-item.open .faq-q .plus { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-a p { padding-bottom: 20px; color: var(--grey); font-size: 15.3px; margin-bottom: 0; }
.faq-item.open .faq-a { max-height: 500px; }

/* ---------- Pricing (Items 27, 29) ---------- */
.pricing-row { display: flex; gap: 26px; align-items: stretch; }
.pricing-row > * { flex: 1; min-width: 0; }
.price-card {
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: var(--radius); padding: 34px 28px 28px;
  box-shadow: var(--shadow);
  display: flex; flex-direction: column;
}
.price-card.popular {
  border-color: var(--teal); border-top: 6px solid var(--teal);
  box-shadow: var(--shadow-lg);
}
.price-badge {
  display: inline-block; align-self: flex-start;
  background: var(--teal); color: var(--white);
  font-size: 11px; font-weight: 800; letter-spacing: 1px;
  padding: 5px 16px; border-radius: 20px; white-space: nowrap;
  margin-bottom: 16px;
}
.price-card h3 {
  font-family: 'Lora', serif; font-size: 27px; letter-spacing: 0;
  text-transform: none; font-weight: 600; color: var(--teal-deep);
  margin-bottom: 10px;
}
.price-amount { font-family: 'Lora', serif; font-weight: 600; font-size: 42px; color: var(--ink); }
.price-amount span { font-family: 'Nunito Sans', sans-serif; font-size: 15px; color: var(--grey); font-weight: 600; }
.price-desc { color: var(--grey); font-size: 14.5px; margin: 0 0 22px; line-height: 1.5; }
.price-card .checklist { flex: 1; margin-bottom: 24px; }
.price-card .checklist li { font-size: 14.3px; padding: 6px 0; }
.price-card > .btn { display: block; width: 100%; box-sizing: border-box; margin-top: auto; }

.standalone-box {
  background: var(--teal-tint); border: 1.5px solid var(--teal-soft);
  border-radius: var(--radius); padding: 40px 40px; margin-top: 44px;
}
.standalone-box h3 { margin-bottom: 8px; }
.standalone-box > p { color: var(--grey); font-size: 15px; margin-bottom: 26px; }
.standalone-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 18px; align-items: stretch; grid-auto-rows: 1fr;
}
.standalone-grid > * {
  background: var(--white); border-radius: 12px; padding: 22px 20px;
  border: 1px solid var(--border);
  display: flex; flex-direction: column;
}
.standalone-grid h4 { font-family: 'Nunito Sans', sans-serif; font-size: 15.5px; font-weight: 800; margin-bottom: 8px; color: var(--teal-deep); line-height: 1.3; }
.standalone-grid p.sa-note { color: var(--grey); font-size: 12.8px; margin: 0; line-height: 1.5; }
.standalone-cta { text-align: center; margin-top: 30px; }

.addon-strip { background: var(--teal-soft); border-radius: var(--radius); padding: 28px 34px; margin-top: 34px; }
.addon-strip p { font-size: 15px; margin-bottom: 10px; }
.addon-strip p:last-child { margin-bottom: 0; }
.addon-strip strong { color: var(--teal-deep); }
.addon-strip a { color: var(--coral); font-weight: 800; }

/* ---------- Industries ---------- */
.industry-row { overflow: hidden; padding: 26px 0; border-bottom: 1px solid var(--border); }
.industry-row > *:first-child { float: left; width: 64px; margin-right: 26px; }
.industry-icon { width: 60px; height: 60px; border-radius: 16px; display: flex; align-items: center; justify-content: center; background: #FBEFD3; flex-shrink: 0; }
.industry-icon svg { width: 30px; height: 30px; }
.industry-row h3 { margin-bottom: 6px; font-size: 20px; }
.industry-row p { color: var(--grey); margin-bottom: 0; font-size: 15.2px; }

/* ---------- About ---------- */
.about-hero-grid { overflow: hidden; }
.about-hero-grid > *:first-child { float: left; width: 55%; margin-right: 4%; }
.about-hero-grid > *:last-child { float: left; width: 41%; }
.photo-placeholder {
  width: 260px; height: 260px; border-radius: 50%;
  overflow: hidden; margin: 0 auto; box-shadow: 0 8px 30px rgba(0,71,187,0.1);
  border: 6px solid var(--white);
}
.photo-placeholder img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; display: block; }
.badge-row { text-align: center; margin-top: 40px; }
.badge-row img { display: inline-block; vertical-align: middle; height: 128px; width: auto; margin: 10px 14px; }
.timeline { border-left: 3px solid var(--sand); padding-left: 32px; margin-left: 6px; }
.timeline-item { position: relative; padding-bottom: 32px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: ""; position: absolute; left: -41px; top: 4px;
  width: 13px; height: 13px; border-radius: 50%; background: var(--coral);
  border: 3px solid var(--white); box-shadow: 0 0 0 2px var(--coral);
}
.timeline-item h3 { font-size: 18.5px; margin-bottom: 4px; }
.timeline-item p { color: var(--grey); font-size: 14.6px; margin-bottom: 0; }

/* ---------- Contact (Items 15, 16, 36) ---------- */
.contact-grid { overflow: hidden; }
.contact-grid > *:first-child { float: left; width: 40%; margin-right: 4%; }
.contact-grid > *:last-child { float: left; width: 56%; }
.contact-info h1 { margin-bottom: 18px; }
.contact-info p.lead { color: var(--grey); margin-bottom: 30px; }
.contact-detail { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 18px; font-size: 15.3px; line-height: 1.6; }
.contact-detail .cic { flex-shrink: 0; width: 22px; height: 22px; margin-top: 3px; }
.contact-detail .cic svg { width: 22px; height: 22px; color: var(--cobalt); stroke: var(--cobalt); display: block; }
.contact-detail .cdet-body { flex: 1; min-width: 0; }
.connect-row { margin-top: 28px; }
.connect-row > * { display: inline-block; vertical-align: middle; margin-right: 12px; }
.connect-icon {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--teal); color: var(--white);
  text-align: center; line-height: 48px; transition: 0.2s; position: relative;
}
.connect-icon:hover { background: var(--coral); }
.connect-icon svg { width: 20px; height: 20px; fill: currentColor; display: inline-block; vertical-align: middle; }
.call-pop {
  display: none; position: absolute; bottom: 58px; left: 50%; transform: translateX(-50%);
  background: var(--ink); color: var(--white); font-size: 13px; font-weight: 700;
  padding: 8px 14px; border-radius: 8px; white-space: nowrap; z-index: 50;
}
.call-pop.show { display: block; }

.form-card { background: var(--cream); border-radius: var(--radius); padding: 38px; border: 1px solid var(--border); }
.form-row { margin-bottom: 18px; }
.form-row label { display: block; font-size: 13.5px; font-weight: 800; color: var(--ink); margin-bottom: 7px; }
.form-row input, .form-row select, .form-row textarea {
  width: 100%; padding: 13px 16px; border: 1.5px solid var(--border); border-radius: 10px;
  font-family: 'Nunito Sans', sans-serif; font-size: 15px; background: var(--white);
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus { outline: none; border-color: var(--teal); }
.form-grid-2 { display: flex; gap: 18px; }
.form-grid-2 > * { flex: 1; min-width: 0; }
#formSuccess, .form-success { display: none; background: var(--teal-soft); border: 1.5px solid var(--teal); color: var(--teal-deep); padding: 15px 20px; border-radius: 10px; margin-bottom: 18px; font-size: 14.5px; font-weight: 700; }
#formSuccess.show, .form-success.show { display: block; }

/* ---------- Free trial page ---------- */
.trial-points { overflow: hidden; margin: 40px 0; }
.trial-points > * { float: left; width: 23.5%; margin-right: 2%; text-align: center; }
.trial-points > *:nth-child(4n) { margin-right: 0; }
.trial-point-icon { width: 62px; height: 62px; border-radius: 50%; margin: 0 auto 12px; display: flex; align-items: center; justify-content: center; }
.trial-point-icon svg { width: 26px; height: 26px; }
.trial-points > *:nth-child(1) .trial-point-icon { background: var(--coral-soft); } .trial-points > *:nth-child(1) svg { color: var(--coral); stroke: var(--coral); }
.trial-points > *:nth-child(2) .trial-point-icon { background: var(--teal-soft); } .trial-points > *:nth-child(2) svg { color: var(--teal); stroke: var(--teal); }
.trial-points > *:nth-child(3) .trial-point-icon { background: var(--amber-soft); } .trial-points > *:nth-child(3) svg { color: var(--amber); stroke: var(--amber); }
.trial-points > *:nth-child(4) .trial-point-icon { background: var(--violet-soft); } .trial-points > *:nth-child(4) svg { color: var(--violet); stroke: var(--violet); }
.trial-points h3 { font-size: 16px; font-family: 'Nunito Sans', sans-serif; font-weight: 800; }

/* ---------- Blog ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; align-items: stretch; grid-auto-rows: 1fr; }
.blog-grid > * { width: auto; }
.blog-card {
  border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; background: var(--white); box-shadow: var(--shadow);
  transition: 0.25s; display: flex; flex-direction: column;
  border-top: 4px solid var(--teal);
}
.blog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.blog-card-body { padding: 26px 24px; display: flex; flex-direction: column; flex: 1; }
.blog-card-body span.tag { font-size: 11px; color: var(--teal); font-weight: 800; letter-spacing: 1.4px; text-transform: uppercase; }
.blog-card-body h3 { font-size: 18px; margin: 10px 0 10px; line-height: 1.35; color: var(--teal-deep); }
.blog-card-body p { font-size: 13.8px; color: var(--grey); margin-bottom: 16px; line-height: 1.55; flex: 1; }
.blog-card-body .learn-more { color: var(--teal); font-weight: 800; font-size: 14px; margin-top: auto; }
.blog-card-body .learn-more::after { content: " →"; }

/* ---------- Article page ---------- */
.post-hero { padding: 60px 0 40px; background: var(--cream); }
.post-hero h1 { font-size: 38px; max-width: 820px; }
.post-meta { color: var(--grey); font-size: 14px; margin-top: 16px; font-weight: 700; }
.post-body { max-width: 780px; margin: 0 auto; padding: 56px 32px 20px; }
.post-body h2 { font-size: 26px; margin: 38px 0 14px; padding-left: 16px; border-left: 5px solid var(--coral); }
.post-body h3 { font-size: 20px; margin: 28px 0 10px; }
.post-body p { color: #4A443B; font-size: 16.5px; }
.post-body ul, .post-body ol { margin: 0 0 18px 24px; color: #4A443B; font-size: 16px; }
.post-body li { margin-bottom: 8px; }
.post-body strong { color: var(--ink); }
.post-cta {
  background: var(--teal-deep); border-radius: var(--radius);
  padding: 36px; margin: 46px 0 20px; text-align: center; color: var(--cream);
}
.post-cta h3 { color: var(--white); margin-bottom: 10px; }
.post-cta p { color: rgba(255,255,255,0.85); font-size: 15px; max-width: 520px; margin: 0 auto 20px; }
.related { max-width: 780px; margin: 0 auto; padding: 0 32px 70px; }
.related h3 { margin-bottom: 14px; }
.related a { display: block; color: var(--teal); font-weight: 800; font-size: 15.5px; padding: 8px 0; }
.related a:hover { color: var(--coral); }

/* ---------- Footer ---------- */
footer.site-footer { background: var(--teal-deep); color: rgba(255,255,255,0.85); padding: 68px 0 0; }
.footer-grid { overflow: hidden; padding-bottom: 48px; }
.footer-grid > * { float: left; width: 22%; margin-right: 2%; margin-bottom: 24px; }
.footer-grid > *:first-child { width: 28%; }
.footer-grid > *:last-child { margin-right: 0; }
.footer-grid h4 { color: var(--amber); font-family: 'Nunito Sans', sans-serif; font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 18px; font-weight: 800; }
.footer-grid ul { list-style: none; }
.footer-grid ul li { margin-bottom: 11px; }
.footer-grid ul li a { font-size: 14.3px; color: rgba(255,255,255,0.8); }
.footer-grid ul li a:hover { color: var(--amber); }
.footer-about p { color: rgba(255,255,255,0.75); font-size: 14.3px; margin: 16px 0 20px; }
.footer-logos img { display: inline-block; vertical-align: middle; height: 34px; width: auto; margin: 6px 14px 6px 0; opacity: 0.95; }
.footer-contact p { font-size: 14.3px; color: rgba(255,255,255,0.85); margin-bottom: 8px; }
.footer-connect { margin-top: 16px; }
.footer-connect > * { display: inline-block; vertical-align: middle; margin-right: 10px; }
.footer-connect .connect-icon { width: 42px; height: 42px; line-height: 42px; background: rgba(255,255,255,0.12); }
.footer-connect .connect-icon:hover { background: var(--coral); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.15); padding: 20px 0; text-align: center; font-size: 13px; color: rgba(255,255,255,0.6); }

/* ---------- Cookie banner ---------- */
#cookieBanner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 999;
  background: var(--ink); color: var(--white);
  padding: 16px 32px; display: none; text-align: center;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
}
#cookieBanner.show { display: block; }
#cookieBanner p { display: inline-block; vertical-align: middle; margin: 6px 18px 6px 0; font-size: 13.5px; color: rgba(255,255,255,0.85); max-width: 620px; }
#cookieBanner a { color: var(--teal-light); font-weight: 800; }
#cookieBanner .btn { padding: 9px 22px; font-size: 13px; vertical-align: middle; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 980px) {
  h1 { font-size: 36px; }
  h2 { font-size: 28px; }
  .hero-grid > *, .about-hero-grid > *, .contact-grid > * { float: none !important; width: 100% !important; margin-right: 0 !important; margin-bottom: 32px; }
  .hero-visual { display: none; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .pricing-row { flex-direction: column; }
  .pricing-row > * { width: 100%; margin-bottom: 24px; }
  .price-card { padding-bottom: 28px; }
  .standalone-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-row > * { float: none; width: 100%; margin-right: 0; margin-bottom: 34px; }
  .trial-points > * { width: 47%; margin-right: 6%; margin-bottom: 22px; }
  .trial-points > *:nth-child(2n) { margin-right: 0; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid > * { width: 47% !important; margin-right: 6% !important; }
  .footer-grid > *:nth-child(2n) { margin-right: 0 !important; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  h1 { font-size: 30px; }
  h2 { font-size: 25px; }
  .container { padding: 0 22px; }
  .section { padding: 40px 0; }
  nav.main-nav > ul, .header-cta { display: none; }
  .mobile-toggle { display: block; }
  nav.main-nav.mobile-open {
    position: fixed; top: 86px; left: 0; right: 0; bottom: 0;
    background: var(--white); z-index: 400; display: block;
    padding: 24px; overflow-y: auto;
  }
  nav.main-nav.mobile-open > ul { display: block; }
  nav.main-nav.mobile-open > ul > li { margin-left: 0; }
  nav.main-nav.mobile-open .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; display: none; padding-left: 14px; min-width: 0; }
  nav.main-nav.mobile-open .has-dropdown.mobile-expanded .dropdown { display: block; }
  nav.main-nav.mobile-open a.nav-link { display: block; padding: 15px 6px; border-bottom: 1px solid var(--border); font-size: 16px; }
  nav.main-nav.mobile-open .header-cta-mobile { display: block; margin-top: 20px; }
  .grid-4, .grid-3, .blog-grid { grid-template-columns: 1fr; }
  .standalone-grid > *, .trial-points > *, .footer-grid > * {
    float: none !important; width: 100% !important; margin-right: 0 !important;
  }
  .who-grid .card { min-height: 0; }
  .btn-row .btn { display: block; width: 100%; margin-right: 0; }
  .stats-grid { flex-wrap: wrap; gap: 24px 12px; }
  .stat { flex: 0 0 calc(50% - 12px); margin: 0; min-width: 0; }
  .stat:last-child { flex: 0 0 100%; }
  .stat-num { font-size: 34px; }
  .logo-row img { height: 44px; margin: 8px 14px; }
  .logo-row img.taller { height: 60px; }
  .badge-row img { height: 100px; margin: 8px 8px; }
  .post-hero h1 { font-size: 28px; }
  .post-body { padding: 40px 22px 10px; }
  .photo-placeholder { width: 220px; height: 220px; }
  #cookieBanner { padding: 14px 18px; }
}

/* ---------- Heading ligature control ---------- */
h1, h2, h3, h4, .price-amount, .stat-num, .wordmark, .price-card h3 {
  font-variant-ligatures: none;
  font-feature-settings: 'liga' 0, 'dlig' 0, 'swsh' 0, 'salt' 0;
}

/* ---------- Two-col checklist mobile ---------- */
@media (max-width: 720px) {
  .checklist.two-col { grid-template-columns: 1fr; }
  .standalone-grid { grid-template-columns: 1fr; }
  .stats-flags { justify-content: center; }
}


/* ---------- Booking card (Contact page) ---------- */
.booking-card {
  background: var(--teal-tint); border: 1px solid var(--teal-soft);
  border-radius: var(--radius); padding: 44px; max-width: 920px; margin: 0 auto;
}
.booking-head { text-align: center; margin-bottom: 28px; }
.booking-head h2 { margin: 8px 0 10px; }
.booking-head p { color: var(--grey); max-width: 560px; margin: 0 auto; font-size: 15px; }
.booking-embed {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); min-height: 260px;
  display: flex; align-items: center; justify-content: center; padding: 40px;
}
.booking-fallback { text-align: center; max-width: 440px; }
.booking-fallback svg { margin-bottom: 16px; }
.booking-fallback p { margin: 6px 0; }
.booking-fallback strong { font-size: 18px; color: var(--teal-deep); font-family: 'Lora', serif; }
.booking-note { font-size: 13.5px; color: var(--grey); line-height: 1.6; margin-bottom: 20px !important; }

/* ---------- Book a Meeting page ---------- */
.book-badges {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 12px;
  margin-top: 24px;
}
.book-badges span {
  font-size: 13px; font-weight: 700; color: var(--teal-deep);
  background: var(--teal-tint); border: 1px solid var(--teal-soft);
  border-radius: 999px; padding: 8px 16px;
}
.calendly-inline-widget {
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border); box-shadow: var(--shadow);
  background: var(--white);
}
.book-fallback {
  background: var(--teal-tint); border: 1px solid var(--teal-soft);
  border-radius: var(--radius); padding: 32px; text-align: center;
}
.book-fallback a { color: var(--teal); font-weight: 800; }
/* Book a Meeting nav link — subtle emphasis */
.nav-link.book-link { color: var(--teal); font-weight: 800; }
.nav-link.book-link:hover { color: var(--teal-deep); }

/* ---------- Centered hero (Option 4) ---------- */
.hero-centered {
  max-width: 820px; margin: 0 auto; text-align: center;
  padding-top: 10px; padding-bottom: 10px;
}
.hero-centered .eyebrow { display: block; margin-bottom: 16px; color: var(--cobalt); }
.hero-centered h1 { margin-bottom: 18px; }
.hero-centered .lead { margin: 0 auto 28px; max-width: 660px; }
.hero-centered .btn-row { justify-content: center; display: flex; gap: 16px; flex-wrap: wrap; }
.hero-centered .btn-row .btn { padding: 18px 36px; font-size: 16.5px; }
.hero-centered .squiggle svg { left: 0; right: 0; }
.hero-trust {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 24px;
  margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--border);
}
.hero-trust span {
  font-size: 13.5px; font-weight: 700; color: var(--teal-deep);
}

/* ---------- Calendly embed — suppress footer privacy link (Item 17) ---------- */
.calendly-wrap { position: relative; border-radius: var(--radius); overflow: hidden; }
/* Calendly renders its own footer/privacy link inside the iframe; hide_gdpr_banner + 
   hide_landing_page_details params suppress most of it. This masks any residual footer strip. */
.calendly-wrap .calendly-inline-widget { position: relative; }

/* ---------- Legal pages (Privacy / Terms) ---------- */
.section h2 { font-family: 'Lora', serif; font-size: 22px; font-weight: 600; color: var(--cobalt-deep); margin: 32px 0 10px; }
.section .container > p { margin-bottom: 14px; line-height: 1.7; }

/* ---------- Section spacing control (Items 10, 12) ---------- */
.section.pt-tight { padding-top: 40px; }
.section.pb-tight { padding-bottom: 40px; }
.section.pt-none { padding-top: 0; }
.section.pb-none { padding-bottom: 0; }
/* When a plain section is immediately followed by a CTA band, tighten the gap */
.section + .section.cta-band { padding-top: 56px; }

/* ---------- Hero dark (gradient or photo) ---------- */
/* TO USE A PHOTO: save your image as assets/hero-bg.jpg and uncomment the background-image line below */
.hero-dark {
  /* background: linear-gradient(135deg, #0A2540 0%, #0047BB 100%); */
  background: linear-gradient(rgba(10,37,64,0.84), rgba(0,71,187,0.78)), url('../assets/hero-b.jpg') center/cover no-repeat;
  border-bottom: none;
  position: relative;
}
.hero-dark .eyebrow { color: var(--mustard) !important; }
.hero-dark h1 { color: #fff; text-shadow: 0 2px 12px rgba(0,0,0,0.5); }
.hero-dark p.lead { color: #fff !important; font-weight: 700; font-size: 18.5px; text-shadow: 0 2px 12px rgba(0,0,0,0.5); }
.hero-dark .squiggle svg path { stroke: var(--mustard); }
.hero-dark .btn-coral { background: var(--mustard); color: #17212B; }
.hero-dark .btn-outline {
  background: #fff; border-color: #fff;
  color: #0A2540;
}
.hero-dark .btn-outline:hover {
  background: rgba(255,255,255,0.85); border-color: rgba(255,255,255,0.85); color: #0A2540;
}

/* ---------- W4 serif wordmark + mustard underline ---------- */
.logo-text .wordmark {
  font-family: 'Lora', serif;
  font-weight: 700; font-size: 20px; color: var(--cobalt-deep);
  display: inline-block; line-height: 1.1;
  border-bottom: 2.5px solid var(--mustard);
  padding-bottom: 3px;
}
.logo-text .tagline {
  display: block; font-size: 9px; letter-spacing: 1.5px;
  color: var(--grey); font-weight: 700; text-transform: uppercase;
  margin-top: 3px;
}
/* Footer (dark bg) variant */
.site-footer .logo-text .wordmark { color: #fff; border-bottom-color: var(--mustard); }
.site-footer .logo-text .tagline { color: rgba(255,255,255,0.5); }

/* ---------- MOST POPULAR inline badge ---------- */
.price-badge-inline {
  display: inline-block; vertical-align: middle;
  background: var(--mustard); color: #17212B;
  font-family: 'Nunito Sans', sans-serif;
  font-size: 10px; font-weight: 800; letter-spacing: 1px;
  padding: 4px 12px; border-radius: 20px; margin-left: 10px;
}

/* Fix Xero badge white-bg issue */
/* Xero badge - contrast boosted in image file */

/* ---------- Service page dark hero ---------- */
.hero-simple.hero-dark { text-align: center; }
.hero-simple.hero-dark .eyebrow { color: var(--mustard) !important; }
.hero-simple.hero-dark h1 { color: #fff !important; text-shadow: 0 2px 10px rgba(0,0,0,0.4); }
.hero-simple.hero-dark p { color: rgba(255,255,255,0.92) !important; text-shadow: 0 1px 6px rgba(0,0,0,0.3); }
.hero-simple.hero-dark .btn-outline { background: #fff; border-color: #fff; color: #0A2540; }
.hero-simple.hero-dark .btn-outline:hover { background: rgba(255,255,255,0.85); border-color: rgba(255,255,255,0.85); color: #0A2540; }

/* Adjacent section spacing — collapse the double-padding between stacked sections */
.section + .section { padding-top: 24px; }
.section + .section:not(.stats-band):not(.site-footer) { padding-top: 24px; }
/* Also reduce bottom padding when followed by another section */
.section:has(+ .section) { padding-bottom: 30px; }
/* Fallback for browsers without :has() */
@supports not (selector(:has(+ .section))) {
  .section { padding-bottom: 36px; }
}
.section + .section.bg-cream,
.section + .section.bg-teal-deep,
.section + .section.stats-band,
.section + .section.cta-band { padding-top: 50px; }

/* Tighten specific section gaps on service pages */
.hero + .section { padding-top: 34px; }
.section + .section.cta-band { padding-top: 30px; }
.section.cta-band { padding-bottom: 40px; }

/* FAQ section bottom padding */
.faq-item:last-child { border-bottom: none; }

/* Contact form mobile stacking */
@media (max-width: 600px) {
  .form-grid-2 { flex-direction: column; gap: 0; }
  .form-grid-2 > * { width: 100%; }
}

/* Hubdoc marquee logo enlarged */
.marquee-item img[title="Hubdoc"] { height: 56px !important; }
