/* ===================================================================
   Best Decision Bookkeeping — Brand CSS
   Locked to the 7 brand hex values. No other colors.
   =================================================================== */

@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Brand — the only 7 hexes */
  --indigo: #2E2A6A;
  --green:  #1C7F36;
  --orange: #FB5B11;
  --navy:   #1E1A4F;
  --cloud:  #F8F9FA;
  --white:  #FFFFFF;
  --text:   #2D3748;

  /* Derived */
  --card-bg:       rgba(46, 42, 106, 0.03);
  --card-border:   rgba(46, 42, 106, 0.15);
  --card-hover:    rgba(46, 42, 106, 0.4);
  --orange-hover:  #e04f0e;
  --orange-glow:   rgba(251, 91, 17, 0.3);
  --green-glow:    rgba(28, 127, 54, 0.12);
  --shadow-sm:     0 4px 16px rgba(46, 42, 106, 0.06);
  --shadow-md:     0 12px 32px rgba(46, 42, 106, 0.10);
  --shadow-lg:     0 24px 64px rgba(46, 42, 106, 0.14);

  /* Layout */
  --container: 1200px;
  --gutter: 24px;
  --radius: 16px;
  --radius-btn: 10px;
  --radius-sm: 8px;

  /* Type scale */
  --f-h1-m: 40px;
  --f-h1-t: 56px;
  --f-h1-d: 68px;
  --f-h2-m: 32px;
  --f-h2-t: 40px;
  --f-h2-d: 48px;
  --f-h3:   24px;
  --f-body: 17px;
  --f-label: 22px;
  --f-btn:  16px;
}

/* ========== Reset ========== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Outfit', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: var(--f-body);
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; display: block; height: auto; }
a { color: var(--orange); text-decoration: none; transition: color .2s; }
a:hover { color: var(--orange-hover); }
button { font: inherit; cursor: pointer; }
ul { padding-left: 1.2em; }

/* ========== Skip link ========== */
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--orange); color: #fff; padding: 12px 20px;
  border-radius: var(--radius-btn); font-weight: 600; z-index: 9999;
}
.skip-link:focus { left: 16px; top: 16px; }

/* ========== Focus ========== */
:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ========== Typography ========== */
h1, h2, h3, h4, h5 {
  color: var(--indigo);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin: 0 0 .5em;
}
h1 { font-size: var(--f-h1-m); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: var(--f-h2-m); }
h3 { font-size: var(--f-h3); font-weight: 600; }
p  { margin: 0 0 1em; max-width: 68ch; }
.dark h1, .dark h2, .dark h3, .dark h4, .dark p, .dark li,
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4,
.hero--dark h1, .hero--dark h2, .hero--dark h3, .hero--dark h4 { color: var(--white); }
.dark p,
.section--dark p,
.hero--dark p { color: rgba(255,255,255,.88); }
.section--dark .card__title, .hero--dark .card__title { color: var(--white); }
.section--dark .card__body,  .hero--dark .card__body  { color: rgba(255,255,255,.85); }
.section--dark a:not(.btn),
.hero--dark a:not(.btn) { color: #ffb38a; }

.mono, .eyebrow, .badge, .stat__num, .price__num, code, .data {
  font-family: 'DM Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
}

/* Eyebrow labels: DM Mono 500, 22px, green on light, bright green on dark.
   Indigo and green lead the brand; orange is reserved for highlights
   (CTAs, badges, accent icons). */
.eyebrow {
  display: inline-block;
  font-family: 'DM Mono', ui-monospace, monospace;
  font-weight: 500;
  font-size: var(--f-label);
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 18px;
}
.dark .eyebrow,
.section--dark .eyebrow,
.hero--dark .eyebrow { color: #56c47a; }

/* ========== Layout ========== */
.container {
  width: 100%; max-width: var(--container);
  margin: 0 auto; padding: 0 var(--gutter);
}

section {
  padding: 72px 0;
}
section.compact { padding: 48px 0; }

.section--cloud { background: var(--cloud); }
.section--dark {
  position: relative;
  background: var(--navy);
  color: var(--white);
  overflow: hidden;
}
.section--dark::before,
.section--dark::after {
  content: "";
  position: absolute; pointer-events: none;
  background: radial-gradient(circle, rgba(46,42,106,0.6), transparent 60%);
}
.section--dark::before {
  top: -30%; left: 50%; transform: translateX(-50%);
  width: 900px; height: 900px;
  background: radial-gradient(circle, rgba(46,42,106,0.6), transparent 60%);
}
.section--dark::after {
  bottom: -20%; right: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(251,91,17,0.10), transparent 70%);
}
.section--dark > .container { position: relative; z-index: 1; }

/* ========== Grid helpers ========== */
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
.grid--4 { grid-template-columns: 1fr; }

@media (min-width: 720px) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}

/* ========== Buttons ========== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  border: 0; cursor: pointer;
  border-radius: var(--radius-btn);
  padding: 16px 32px;
  font: 600 var(--f-btn)/1 'Outfit', sans-serif;
  text-decoration: none;
  transition: all .2s ease;
  white-space: nowrap;
}
/* Primary CTA: indigo on light backgrounds, green on dark sections.
   Orange is reserved for hover accents and highlight badges — not button base. */
.btn--primary {
  background: var(--indigo);
  color: #fff;
}
.btn--primary:hover {
  background: #3a3686;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(46, 42, 106, 0.35);
}
.section--dark .btn--primary,
.hero--dark .btn--primary,
.dark .btn--primary {
  background: var(--green);
  color: #fff;
}
.section--dark .btn--primary:hover,
.hero--dark .btn--primary:hover,
.dark .btn--primary:hover {
  background: #239945;
  box-shadow: 0 8px 24px rgba(28, 127, 54, 0.4);
}
.btn--ghost {
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.95);
  border: 1.5px solid rgba(255,255,255,0.22);
}
.btn--ghost:hover {
  background: rgba(255,255,255,0.12);
  color: #fff;
  border-color: rgba(255,255,255,0.4);
}
.btn--outline {
  background: transparent;
  color: var(--indigo);
  border: 1.5px solid var(--card-border);
}
.btn--outline:hover {
  border-color: var(--indigo);
  color: var(--indigo);
  background: var(--card-bg);
}
.btn--sm { padding: 12px 22px; font-size: 14px; }
.btn--lg { padding: 20px 40px; font-size: 18px; }

.btn-group {
  display: flex; flex-wrap: wrap; gap: 14px;
  margin-top: 28px;
}

/* ========== Cards ========== */
.card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: all .3s ease;
}
.card:hover {
  border-color: var(--card-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.card--link { display: block; color: inherit; }
.card__icon {
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--green-glow);
  border-radius: 10px;
  color: var(--green);
  margin-bottom: 16px;
}
.card__icon svg { width: 24px; height: 24px; }
.card__title { color: var(--indigo); margin-bottom: 8px; }
.card__body { color: var(--text); margin: 0; }
.card__arrow {
  display: inline-block;
  margin-top: 16px;
  color: var(--indigo);
  font-weight: 600;
}
.card--link:hover .card__arrow { color: var(--orange); }

.dark .card {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.12);
}
.dark .card:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.25);
}
.dark .card__title,
.dark .card__body { color: rgba(255,255,255,0.95); }
.dark .card__icon {
  background: rgba(28,127,54,0.15);
  color: #56c47a;
}

/* ========== Nav ========== */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.nav.scrolled {
  border-bottom-color: var(--card-border);
  box-shadow: var(--shadow-sm);
}
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  height: 84px;
}
.nav__logo img { height: 52px; width: auto; max-width: 240px; }
@media (min-width: 720px) { .nav__logo img { height: 58px; max-width: 280px; } }
.nav__links {
  display: none;
  align-items: center; gap: 28px;
  list-style: none; margin: 0; padding: 0;
}
.nav__links a {
  color: var(--indigo);
  font-weight: 500;
  font-size: 15px;
  padding: 8px 0;
  position: relative;
}
.nav__links a:hover { color: var(--orange); }
.nav__links li { position: relative; }
.nav__dropdown {
  display: none;
  position: absolute; top: 100%; left: -16px;
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  padding: 12px;
  min-width: 240px;
  z-index: 10;
}
.nav__dropdown a {
  display: block;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 15px;
}
.nav__dropdown a:hover { background: var(--cloud); color: var(--orange); }
.nav__links li:hover > .nav__dropdown,
.nav__links li:focus-within > .nav__dropdown { display: block; }

.nav__right {
  display: none;
  align-items: center; gap: 16px;
}
.nav__phone {
  font-family: 'DM Mono', monospace;
  font-size: 14px;
  color: var(--indigo);
  font-weight: 500;
}
.nav__phone:hover { color: var(--orange); }

.nav__toggle {
  display: inline-flex;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  background: transparent; border: 0;
  color: var(--indigo);
}
.nav__toggle svg { width: 26px; height: 26px; }

.nav__drawer {
  position: fixed; inset: 0;
  background: #fff;
  z-index: 200;
  padding: 24px;
  transform: translateX(100%);
  transition: transform .3s ease;
  overflow-y: auto;
}
.nav__drawer.open { transform: translateX(0); }
.nav__drawer-top {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 32px;
}
.nav__drawer-close {
  width: 44px; height: 44px;
  background: transparent; border: 0; color: var(--indigo);
}
.nav__drawer-links {
  list-style: none; padding: 0; margin: 0 0 32px;
}
.nav__drawer-links > li > a,
.nav__drawer-links > li > span {
  display: block;
  padding: 14px 0;
  color: var(--indigo);
  font-size: 18px;
  font-weight: 600;
  border-bottom: 1px solid var(--card-border);
}
.nav__drawer-links .nav__drawer-sub {
  list-style: none; padding: 8px 0 12px 14px;
  margin: 0;
}
.nav__drawer-links .nav__drawer-sub a {
  display: block;
  padding: 8px 0;
  color: var(--text);
  font-size: 15px;
  font-weight: 400;
  border: 0;
}
.nav__drawer-cta { margin-top: 16px; }

@media (min-width: 1024px) {
  .nav__links, .nav__right { display: flex; }
  .nav__toggle { display: none; }
}

/* ========== Hero ========== */
.hero {
  position: relative;
  padding: 96px 0 80px;
}
.hero--dark { color: #fff; }
.hero__inner { max-width: 880px; }
.hero h1 {
  font-size: var(--f-h1-m);
}
.hero p.lead {
  font-size: 19px;
  max-width: 640px;
  margin-bottom: 28px;
}
.hero--dark h1,
.hero--dark p.lead { color: #fff; }
.hero--dark p.lead { color: rgba(255,255,255,0.86); }

.trust-strip {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.15);
  display: flex; flex-wrap: wrap; gap: 28px 36px;
  font-family: 'DM Mono', monospace;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.75);
  text-transform: uppercase;
}
.trust-strip--light {
  border-top-color: var(--card-border);
  color: var(--indigo);
}
.trust-strip span::before {
  content: "·";
  margin-right: 28px;
  color: #56c47a;
}
.trust-strip span:first-child::before { content: ""; margin: 0; }

@media (min-width: 720px) {
  .hero h1 { font-size: var(--f-h1-t); }
}
@media (min-width: 1024px) {
  .hero { padding: 128px 0 112px; }
  .hero h1 { font-size: var(--f-h1-d); }
  h2 { font-size: var(--f-h2-d); }
}
@media (min-width: 720px) {
  h2 { font-size: var(--f-h2-t); }
}

/* ========== Section heads ========== */
.section-head {
  max-width: 740px;
  margin: 0 auto 48px;
  text-align: center;
}
.section-head--left {
  margin: 0 0 48px;
  text-align: left;
}

/* ========== Stats ========== */
.stats {
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(2, 1fr);
  text-align: center;
}
@media (min-width: 720px) {
  .stats { grid-template-columns: repeat(4, 1fr); }
}
/* Stats: indigo on light, green on dark. Orange is reserved for highlights. */
.stat__num {
  display: block;
  font-size: 44px;
  font-weight: 500;
  color: var(--indigo);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 8px;
}
.dark .stat__num, .section--dark .stat__num { color: #56c47a; }
.stat__label {
  font-size: 14px;
  color: var(--text);
  letter-spacing: 0.02em;
}
.dark .stat__label { color: rgba(255,255,255,0.85); }

/* ========== Pill / Badge ========== */
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.pill--green { background: var(--green-glow); color: var(--green); }
.pill--orange { background: rgba(251,91,17,0.10); color: var(--orange); }
.pill--white { background: rgba(255,255,255,0.12); color: #fff; }

/* ========== Process steps ========== */
.steps {
  counter-reset: step;
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step {
  position: relative;
  padding: 32px 28px;
  background: var(--white);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
}
.step__num {
  font-family: 'DM Mono', monospace;
  font-size: 13px;
  color: var(--orange);
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 12px;
}
.step h3 { margin-bottom: 8px; }

/* ========== Feature list ========== */
.feat-list {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 14px;
}
.feat-list li {
  display: flex; gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--card-border);
  align-items: flex-start;
}
.feat-list li::before {
  content: "";
  flex: none;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--green);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='5 12 10 17 19 7'/></svg>");
  background-size: 14px 14px;
  background-position: center;
  background-repeat: no-repeat;
  margin-top: 2px;
}
.feat-list--dark li { border-bottom-color: rgba(255,255,255,0.1); color: rgba(255,255,255,0.9); }

/* ========== Comparison table ========== */
.cmp-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 15px;
}
.cmp-table thead th {
  text-align: left;
  padding: 18px 16px;
  background: var(--cloud);
  border-bottom: 2px solid var(--card-border);
  font-weight: 600;
  color: var(--indigo);
}
.cmp-table thead th.highlight {
  background: var(--indigo);
  color: #fff;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}
.cmp-table td, .cmp-table th {
  padding: 14px 16px;
  border-bottom: 1px solid var(--card-border);
  vertical-align: top;
}
.cmp-table td.highlight {
  background: rgba(46,42,106,0.04);
  font-weight: 500;
}
.cmp-table .yes { color: var(--green); font-weight: 600; }
.cmp-table .no  { color: #c0392b; font-weight: 600; }
.cmp-table .partial { color: var(--orange); font-weight: 600; }
.cmp-table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--card-border); }

/* ========== Pricing block ========== */
.price-anchor {
  text-align: center;
  padding: 48px 24px;
  background: var(--white);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
}
.price-anchor__num {
  font-family: 'DM Mono', monospace;
  font-size: 72px;
  color: var(--indigo);
  line-height: 1;
  letter-spacing: -0.04em;
  font-weight: 500;
  display: block;
  margin-bottom: 8px;
}
.price-anchor__num small { font-size: 20px; color: var(--text); }
.price-anchor__label {
  color: var(--text);
  max-width: 440px;
  margin: 0 auto 20px;
}

/* ========== FAQ ========== */
.faq {
  max-width: 820px;
  margin: 0 auto;
}
.faq details {
  border-bottom: 1px solid var(--card-border);
  padding: 20px 0;
}
.faq summary {
  list-style: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 18px;
  color: var(--indigo);
  display: flex; justify-content: space-between; gap: 16px;
  padding-right: 8px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: 'DM Mono', monospace;
  color: var(--orange);
  font-weight: 400;
  font-size: 24px;
  transition: transform .2s;
}
.faq details[open] summary::after { content: "–"; }
.faq details p {
  margin: 12px 0 0;
  color: var(--text);
}

/* ========== Footer ========== */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,0.78);
  padding: 72px 0 32px;
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: "";
  position: absolute;
  top: -20%; left: 50%; transform: translateX(-50%);
  width: 800px; height: 600px;
  background: radial-gradient(circle, rgba(46,42,106,0.5), transparent 70%);
  pointer-events: none;
}
.footer > .container { position: relative; z-index: 1; }
.footer__top {
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr;
  margin-bottom: 48px;
}
@media (min-width: 720px) { .footer__top { grid-template-columns: 1.3fr 1fr 1fr 1fr; } }
.footer h4 {
  color: #fff;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-family: 'DM Mono', monospace;
  font-weight: 500;
  margin-bottom: 16px;
}
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer a {
  color: rgba(255,255,255,0.78);
  font-size: 15px;
}
.footer a:hover { color: var(--orange); }
.footer__logo img { height: 64px; width: auto; max-width: 280px; margin-bottom: 16px; background: #fff; border-radius: 10px; padding: 8px 12px; }
.footer__tag { color: rgba(255,255,255,0.7); font-size: 14px; max-width: 320px; }
.footer__contact p { color: rgba(255,255,255,0.78); margin-bottom: 8px; font-size: 15px; }
.footer__socials { display: flex; gap: 12px; margin-top: 16px; }
.footer__socials a {
  width: 36px; height: 36px; display: inline-flex;
  align-items: center; justify-content: center;
  border-radius: 10px;
  background: rgba(255,255,255,0.08);
  color: #fff;
  transition: background .2s;
}
.footer__socials a:hover { background: var(--orange); color: #fff; }
.footer__socials svg { width: 18px; height: 18px; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex; flex-wrap: wrap; justify-content: space-between;
  gap: 14px;
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  font-family: 'DM Mono', monospace;
  letter-spacing: 0.04em;
}
.footer__pillars {
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.footer__legal a {
  color: rgba(255,255,255,0.6);
  margin-left: 20px;
  font-size: 13px;
}

/* ========== Floating mobile CTA ========== */
.floating-cta {
  position: fixed; bottom: 0; left: 0; right: 0;
  z-index: 90;
  background: #fff;
  border-top: 1px solid var(--card-border);
  padding: 10px 14px;
  display: flex; gap: 10px;
  box-shadow: 0 -8px 24px rgba(46,42,106,0.08);
}
.floating-cta .btn { flex: 1; padding: 13px 16px; font-size: 14px; }
.floating-cta__call {
  flex: none; width: 48px;
  background: var(--green); color: #fff;
  border-radius: var(--radius-btn);
  display: inline-flex; align-items: center; justify-content: center;
}
.floating-cta__call svg { width: 20px; height: 20px; }
@media (min-width: 1024px) { .floating-cta { display: none; } }
body { padding-bottom: 72px; }
@media (min-width: 1024px) { body { padding-bottom: 0; } }

/* ========== Forms ========== */
.form {
  display: grid; gap: 16px;
  max-width: 560px;
}
.form--inset {
  background: #fff;
  padding: 32px;
  border-radius: var(--radius);
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow-sm);
}
.form label {
  display: block;
  font-weight: 500;
  color: var(--indigo);
  font-size: 14px;
  margin-bottom: 6px;
}
.form input, .form select, .form textarea {
  width: 100%;
  padding: 14px 16px;
  font: 400 16px 'Outfit', sans-serif;
  border: 1.5px solid var(--card-border);
  border-radius: var(--radius-btn);
  background: #fff;
  color: var(--text);
  transition: border-color .2s;
}
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px var(--orange-glow);
}
.form textarea { min-height: 120px; font-family: 'Outfit', sans-serif; resize: vertical; }
.form .form__consent {
  font-size: 13px; color: var(--text); line-height: 1.5;
}
.form .form__consent input { width: auto; margin-right: 8px; }
.form button { justify-self: start; }

.hidden { display: none !important; }

/* ========== Reveal animation ========== */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .7s cubic-bezier(0.16, 1, 0.3, 1), transform .7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ========== Blog prose ========== */
.prose { max-width: 720px; margin: 0 auto; font-size: 18px; line-height: 1.75; }
.prose h2 { font-size: 30px; margin-top: 2em; }
.prose h3 { font-size: 22px; margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.4em; margin-bottom: 1em; }
.prose li { margin-bottom: .4em; }
.prose blockquote {
  border-left: 4px solid var(--orange);
  padding: 8px 20px;
  margin: 1.6em 0;
  color: var(--indigo);
  font-style: italic;
  background: var(--cloud);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.prose img { border-radius: var(--radius-sm); margin: 1.2em 0; }
.prose a { text-decoration: underline; }

/* ========== Resource cards ========== */
.resource-card {
  display: flex; flex-direction: column;
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all .3s;
  height: 100%;
}
.resource-card:hover {
  border-color: var(--indigo);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.resource-card__body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.resource-card__type {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  color: var(--orange);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.resource-card__title {
  color: var(--indigo);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}
.resource-card__desc { font-size: 15px; color: var(--text); flex: 1; margin-bottom: 16px; }
.resource-card__cta { color: var(--indigo); font-weight: 600; font-size: 15px; }
.resource-card:hover .resource-card__cta { color: var(--orange); }

/* ========== Quiz ========== */
.quiz {
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}
.quiz__progress {
  height: 6px;
  background: var(--cloud);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 24px;
}
.quiz__bar {
  height: 100%;
  background: var(--orange);
  width: 0;
  transition: width .4s ease;
}
.quiz__count {
  font-family: 'DM Mono', monospace;
  font-size: 13px;
  color: var(--orange);
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}
.quiz__q { color: var(--indigo); font-size: 22px; margin-bottom: 20px; line-height: 1.3; }
.quiz__answers { display: grid; gap: 10px; margin-bottom: 24px; }
.quiz__answer {
  text-align: left;
  padding: 14px 18px;
  background: var(--cloud);
  border: 1.5px solid transparent;
  border-radius: var(--radius-btn);
  color: var(--text);
  font-size: 16px;
  font-weight: 500;
  transition: all .2s;
}
.quiz__answer:hover {
  border-color: var(--orange);
  background: #fff;
  color: var(--indigo);
}
.quiz__result {
  text-align: center;
  padding: 16px 0;
}
.quiz__result h3 { font-size: 28px; }
.quiz__score {
  font-family: 'DM Mono', monospace;
  font-size: 56px;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 8px;
  font-weight: 500;
}

/* ========== Location specific ========== */
.map-embed {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--card-border);
  aspect-ratio: 16 / 9;
  background: var(--cloud);
}
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ========== Logo strip ========== */
.testimonial-card {
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 28px;
  height: 100%;
}
.testimonial-card__stars { color: #f5b50a; letter-spacing: 2px; margin-bottom: 12px; font-size: 18px; }
.testimonial-card__body { color: var(--text); font-size: 16px; margin-bottom: 16px; }
.testimonial-card__author {
  display: flex; align-items: center; gap: 12px;
}
.testimonial-card__name { font-weight: 600; color: var(--indigo); font-size: 15px; }
.testimonial-card__meta { font-size: 13px; color: var(--text); opacity: 0.75; }

/* =========================================================
   PREMIUM POLISH LAYER
   Micro-interactions ported from bestdecisionbusiness.com.
   Honors the bookkeeping-site color hierarchy
   (indigo/green primary, orange = highlight only).
   ========================================================= */

/* ---- Animations ---- */
@keyframes pulseDot {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(28, 127, 54, 0.45); }
  50%      { opacity: 0.85; box-shadow: 0 0 0 8px rgba(28, 127, 54, 0); }
}
@keyframes shimmerSweep {
  0%   { transform: translateX(-120%) skewX(-20deg); }
  100% { transform: translateX(240%) skewX(-20deg); }
}
@keyframes softFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-4px); }
}

/* ---- Buttons: shimmer sweep on hover ---- */
.btn {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: background .25s ease, color .25s ease,
              transform .25s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow .3s ease, border-color .25s ease;
}
.btn::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 40%; height: 100%;
  background: linear-gradient(
    100deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0.25) 50%,
    rgba(255,255,255,0) 100%
  );
  transform: translateX(-120%) skewX(-20deg);
  pointer-events: none;
  z-index: -1;
}
.btn--primary:hover::after,
.btn--ghost:hover::after {
  animation: shimmerSweep .9s cubic-bezier(0.4, 0, 0.2, 1);
}
.btn--primary:active { transform: translateY(0); transition: transform 0.05s; }

/* ---- Cards: richer shadow + border progression ---- */
.card {
  transition:
    transform .4s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow .4s ease,
    border-color .3s ease,
    background .3s ease;
  will-change: transform;
}
.card:hover {
  border-color: var(--indigo);
  box-shadow: 0 14px 36px rgba(46, 42, 106, 0.10), 0 2px 8px rgba(46, 42, 106, 0.06);
  transform: translateY(-4px);
}
.card--link:hover { background: rgba(46, 42, 106, 0.045); }
.section--dark .card:hover,
.hero--dark .card:hover {
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.35);
}

/* ---- Card icon gets a subtle lift + scale ---- */
.card__icon { transition: transform .4s cubic-bezier(0.16, 1, 0.3, 1); }
.card:hover .card__icon { transform: translateY(-2px) scale(1.05); }

/* ---- Card arrow slides on hover ---- */
.card__arrow { transition: color .2s ease, transform .3s cubic-bezier(0.16, 1, 0.3, 1); }
.card--link:hover .card__arrow { transform: translateX(4px); }

/* ---- Resource cards: arrow + lift polish ---- */
.resource-card { transition: transform .4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow .4s ease, border-color .3s ease; }
.resource-card:hover { transform: translateY(-4px); box-shadow: 0 14px 36px rgba(46, 42, 106, 0.10); }
.resource-card__cta { transition: color .2s ease, transform .3s ease; display: inline-flex; align-items: center; gap: 4px; }
.resource-card:hover .resource-card__cta { transform: translateX(4px); }

/* ---- Nav link underline grow ---- */
.nav__links > li > a {
  position: relative;
}
.nav__links > li > a::after {
  content: "";
  position: absolute;
  bottom: 2px; left: 0; right: 0;
  margin: 0 auto;
  height: 2px; width: 0;
  background: var(--orange);
  border-radius: 2px;
  transition: width .25s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav__links > li > a:hover::after { width: 24px; }

/* ---- Nav logo subtle scale on hover ---- */
.nav__logo { transition: transform .3s ease; display: inline-flex; }
.nav__logo:hover { transform: scale(1.02); }

/* ---- Eyebrow pulse dot (add class 'eyebrow--live' to opt in) ---- */
.eyebrow--live { display: inline-flex; align-items: center; gap: 10px; }
.eyebrow--live::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green);
  animation: pulseDot 2.4s infinite cubic-bezier(0.4, 0, 0.2, 1);
}
.section--dark .eyebrow--live::before,
.hero--dark .eyebrow--live::before { background: #56c47a; }

/* ---- Stats: stagger float on entrance (optional — adds to .reveal) ---- */
.stats .stat__num { display: inline-block; transition: transform .5s cubic-bezier(0.16, 1, 0.3, 1); }
.stats:hover .stat__num { transform: translateY(-2px); }

/* ---- Feature list rows: slide highlight on hover ---- */
.feat-list li { transition: background .2s ease, padding-left .3s cubic-bezier(0.16, 1, 0.3, 1); }
.feat-list li:hover { padding-left: 6px; }

/* ---- Image zoom inside bordered containers ---- */
.img-hover-zoom {
  overflow: hidden;
  border-radius: var(--radius);
  display: block;
}
.img-hover-zoom img {
  transition: transform .7s cubic-bezier(0.16, 1, 0.3, 1);
  display: block; width: 100%;
}
.img-hover-zoom:hover img { transform: scale(1.04); }

/* ---- Founder / profile image tilt on hover ---- */
.tilt-hover { transition: transform .5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow .4s ease; will-change: transform; }
.tilt-hover:hover { transform: perspective(900px) rotateY(-3deg) rotateX(2deg) translateY(-4px); box-shadow: 0 24px 56px rgba(46, 42, 106, 0.18); }

/* ---- Links in prose: underline grow ---- */
.prose a {
  position: relative;
  text-decoration: none;
  background-image: linear-gradient(var(--orange), var(--orange));
  background-size: 100% 2px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  transition: background-size .3s cubic-bezier(0.16, 1, 0.3, 1), color .2s ease;
}
.prose a:hover { color: var(--orange); }

/* ---- Testimonial card hover ---- */
.testimonial-card { transition: transform .4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow .4s ease, border-color .3s ease; }
.testimonial-card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(46, 42, 106, 0.10); border-color: rgba(46, 42, 106, 0.3); }

/* ---- Steps: progress connector + hover glow ---- */
.step { transition: transform .4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow .4s ease, border-color .3s ease; }
.step:hover { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(46, 42, 106, 0.08); border-color: var(--indigo); }
.step__num { transition: letter-spacing .3s ease, color .2s ease; }
.step:hover .step__num { letter-spacing: 0.12em; color: var(--orange); }

/* ---- FAQ details: smooth height + accent on open ---- */
.faq details { transition: background .2s ease; border-radius: var(--radius-sm); padding-left: 8px; padding-right: 8px; }
.faq details[open] { background: rgba(46, 42, 106, 0.03); }
.faq summary { transition: color .2s ease; }
.faq details:hover summary { color: var(--orange); }

/* ---- Floating CTA: subtle float animation ---- */
.floating-cta { box-shadow: 0 -10px 28px rgba(46, 42, 106, 0.10); }
.floating-cta__call { transition: transform .2s ease, box-shadow .3s ease; }
.floating-cta__call:hover { transform: scale(1.08); box-shadow: 0 8px 20px rgba(28, 127, 54, 0.35); }

/* ---- Footer social hover polish ---- */
.footer__socials a { transition: background .25s ease, transform .25s ease, color .2s ease; }
.footer__socials a:hover { background: var(--orange); transform: translateY(-2px); }

/* ---- Focus visible: premium orange ring ---- */
:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px rgba(251, 91, 17, 0.15);
  border-radius: 6px;
}

/* ---- Comparison table row hover ---- */
.cmp-table tbody tr { transition: background .2s ease; }
.cmp-table tbody tr:hover { background: rgba(46, 42, 106, 0.04); }

/* ---- Reduced motion honors every animation above ---- */
@media (prefers-reduced-motion: reduce) {
  .btn::after, .eyebrow--live::before { animation: none !important; }
  .card, .step, .resource-card, .testimonial-card, .tilt-hover,
  .img-hover-zoom img, .card__icon, .card__arrow,
  .resource-card__cta, .floating-cta__call, .nav__logo {
    transition: none !important;
    transform: none !important;
  }
  .card:hover, .step:hover, .resource-card:hover, .testimonial-card:hover {
    transform: none !important;
  }
}

/* ========== Utility ========== */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-sm { margin-top: 12px; }
.mt-md { margin-top: 24px; }
.mt-lg { margin-top: 40px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
