/* Meridian: charcoal / teal / copper (dark, less white) */
:root {
  /* mapped so existing class names keep working */
  --indigo-50: #16353a;
  --indigo-100: #1f4a50;
  --indigo-200: #2a6b72;
  --indigo-400: #5eead4;
  --indigo-500: #2dd4bf;
  --indigo-600: #14b8a6;
  --indigo-700: #0d9488;
  --indigo-800: #0f766e;
  --indigo-900: #115e59;
  --slate-50: #1a2332;
  --slate-100: #243044;
  --slate-200: #334155;
  --slate-300: #475569;
  --slate-400: #94a3b8;
  --slate-500: #a8b4c4;
  --slate-600: #c5ced9;
  --slate-700: #dbe3ee;
  --slate-800: #e8eef7;
  --slate-900: #f4f7fb;
  --white: #121820;
  --surface: #1a2332;
  --page: #0c1118;
  --accent: #2dd4bf;
  --accent-2: #e8a87c;
  --success: #34d399;
  --warning: #fbbf24;
  --danger: #f87171;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --max: 1120px;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.35), 0 12px 32px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.45);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--slate-700);
  background: var(--page);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--indigo-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--indigo-900); }
h1, h2, h3, h4 {
  color: var(--slate-900);
  line-height: 1.25;
  font-weight: 650;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
}
h1 { font-size: clamp(2rem, 4vw, 2.75rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-top: 2.5rem; }
h3 { font-size: 1.2rem; margin-top: 1.75rem; }
p { margin: 0 0 1rem; }
ul, ol { margin: 0 0 1.25rem; padding-left: 1.25rem; }
li { margin-bottom: 0.4rem; }
code, .mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.9em;
  background: var(--slate-100);
  padding: 0.1em 0.35em;
  border-radius: 4px;
}
.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;
}

.container { width: min(100% - 2rem, var(--max)); margin-inline: auto; }
.narrow { width: min(100% - 2rem, 720px); margin-inline: auto; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(12, 17, 24, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--slate-200);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 0.85rem 0; width: min(100% - 2rem, var(--max)); margin-inline: auto;
}
.brand {
  display: flex; align-items: center; gap: 0.65rem;
  text-decoration: none; color: var(--slate-900); font-weight: 700; font-size: 1.15rem;
}
.brand-mark {
  width: 32px; height: 32px; flex-shrink: 0;
}
.nav { display: flex; align-items: center; gap: 0.25rem 1.25rem; flex-wrap: wrap; }
.nav a {
  text-decoration: none; color: var(--slate-600); font-size: 0.95rem; font-weight: 500;
}
.nav a:hover { color: var(--indigo-700); }
.nav-cta {
  background: var(--indigo-700) !important; color: var(--white) !important;
  padding: 0.45rem 0.9rem; border-radius: 8px; text-decoration: none !important;
}
.nav-cta:hover { background: var(--indigo-800) !important; color: var(--white) !important; }
.menu-toggle {
  display: none; background: none; border: 1px solid var(--slate-300);
  border-radius: 8px; padding: 0.4rem 0.65rem; cursor: pointer; color: var(--slate-800);
}
/* Inline nav needs about 1024px once Customer growth and Bookkeeping are included. */
@media (max-width: 1040px) {
  .menu-toggle { display: block; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--page); border-bottom: 1px solid var(--slate-200);
    padding: 0.5rem 1rem 1rem; box-shadow: var(--shadow);
  }
  .nav.open { display: flex; }
  .nav a { padding: 0.65rem 0.5rem; border-bottom: 1px solid var(--slate-100); }
  .nav-cta { text-align: center; margin-top: 0.5rem; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  padding: 0.7rem 1.25rem; border-radius: 10px; font-weight: 600; font-size: 1rem;
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.btn-primary { background: var(--indigo-700); color: var(--white); }
.btn-primary:hover { background: var(--indigo-800); color: var(--white); }
.btn-secondary {
  background: var(--surface); color: var(--slate-800); border-color: var(--slate-300);
}
.btn-secondary:hover { border-color: var(--indigo-500); color: var(--accent); }
.btn-ghost { background: transparent; color: var(--indigo-700); }
.btn-lg { padding: 0.9rem 1.5rem; font-size: 1.05rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1.5rem 0; }

/* Hero */
.hero {
  padding: 3.5rem 0 3rem;
  background:
    radial-gradient(ellipse 70% 55% at 85% -10%, rgba(45, 212, 191, 0.18), transparent 55%),
    radial-gradient(ellipse 50% 40% at 10% 20%, rgba(232, 168, 124, 0.12), transparent 50%),
    linear-gradient(180deg, #101820, var(--page));
  border-bottom: 1px solid var(--slate-200);
}
.hero-kicker {
  display: inline-block; font-size: 0.8rem; font-weight: 650; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--indigo-700); margin-bottom: 0.75rem;
}
.answer-first {
  font-size: 1.15rem; color: var(--slate-700); max-width: 48rem;
  padding: 1rem 1.15rem; background: var(--indigo-50); border-left: 3px solid var(--indigo-600);
  border-radius: 0 8px 8px 0; margin: 1.25rem 0 1.5rem;
}
.meta-line {
  font-size: 0.875rem; color: var(--slate-500); margin: 0.5rem 0 0;
}
.breadcrumbs {
  font-size: 0.875rem; color: var(--slate-500); margin-bottom: 1.25rem;
}
.breadcrumbs a { color: var(--slate-600); text-decoration: none; }
.breadcrumbs a:hover { color: var(--indigo-700); text-decoration: underline; }
.breadcrumbs span { margin: 0 0.35rem; color: var(--slate-400); }

/* Sections */
.section { padding: 3.5rem 0; }
.section-alt { background: var(--slate-50); border-block: 1px solid var(--slate-100); }
.section-title { margin-top: 0; }
.lede { font-size: 1.125rem; color: var(--slate-600); max-width: 40rem; }

/* Cards / grids */
.grid-2 { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-3 { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid-4 { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.card {
  background: var(--white); border: 1px solid var(--slate-200); border-radius: var(--radius);
  padding: 1.35rem; box-shadow: var(--shadow); height: 100%;
  display: flex; flex-direction: column;
}
.card h3 { margin-top: 0; font-size: 1.1rem; }
.card p:last-child { margin-bottom: 0; }
.card a.card-link {
  margin-top: auto; padding-top: 0.75rem; font-weight: 600; text-decoration: none;
  color: var(--indigo-700);
}
.card a.card-link:hover { text-decoration: underline; }
.card-icon {
  width: 40px; height: 40px; border-radius: 10px; background: var(--indigo-50);
  color: var(--indigo-700); display: grid; place-items: center; margin-bottom: 0.85rem;
  font-weight: 700; font-size: 0.85rem;
}
.pill {
  display: inline-block; font-size: 0.75rem; font-weight: 650; letter-spacing: 0.04em;
  text-transform: uppercase; padding: 0.2rem 0.55rem; border-radius: 999px;
  background: var(--indigo-50); color: var(--indigo-800);
}
.pill-warn { background: #3b2a12; color: #fbbf24; }
.pill-ok { background: #12352c; color: #6ee7b7; }
.pill-muted { background: var(--slate-100); color: var(--slate-600); }

/* Process steps */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 1.5rem 0; }
.steps li {
  position: relative; padding: 1.25rem 1.25rem 1.25rem 4rem;
  border: 1px solid var(--slate-200); border-radius: var(--radius);
  margin-bottom: 0.85rem; background: var(--white);
}
.steps li::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 1rem; top: 1.25rem;
  width: 2rem; height: 2rem; border-radius: 50%;
  background: var(--indigo-700); color: white; font-weight: 700; font-size: 0.9rem;
  display: grid; place-items: center;
}
.steps strong { display: block; color: var(--slate-900); margin-bottom: 0.25rem; }

/* Pricing */
.price-card {
  border: 1px solid var(--slate-200); border-radius: var(--radius); padding: 1.5rem;
  background: var(--white); display: flex; flex-direction: column; height: 100%;
}
.price-card.featured {
  border-color: var(--indigo-500); box-shadow: var(--shadow-lg);
  position: relative;
}
.price-card .amount {
  font-size: 1.75rem; font-weight: 750; color: var(--slate-900); letter-spacing: -0.02em;
  margin: 0.5rem 0;
}
.price-card .amount span { font-size: 0.95rem; font-weight: 500; color: var(--slate-500); }
.price-card ul { flex: 1; }
.not-for-you {
  background: var(--slate-900); color: var(--slate-200); border-radius: var(--radius);
  padding: 1.5rem 1.75rem; margin-top: 2rem;
}
.not-for-you h3 { color: var(--white); margin-top: 0; }
.not-for-you a { color: var(--indigo-200); }

/* FAQ */
.faq-list { margin: 1.5rem 0; }
.faq-item {
  border: 1px solid var(--slate-200); border-radius: var(--radius);
  margin-bottom: 0.75rem; background: var(--white); overflow: hidden;
}
.faq-item summary {
  padding: 1rem 1.15rem; font-weight: 600; cursor: pointer; color: var(--slate-900);
  list-style: none; display: flex; justify-content: space-between; gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--indigo-600); font-weight: 700; }
.faq-item[open] summary::after { content: "−"; }
.faq-item .faq-answer { padding: 0 1.15rem 1.15rem; color: var(--slate-700); }
.faq-item .faq-answer p:last-child { margin-bottom: 0; }

/* Forms */
.form-card {
  background: var(--white); border: 1px solid var(--slate-200); border-radius: var(--radius);
  padding: 1.75rem; box-shadow: var(--shadow);
}
.form-group { margin-bottom: 1.15rem; }
.form-group label {
  display: block; font-weight: 600; font-size: 0.925rem; margin-bottom: 0.35rem; color: var(--slate-800);
}
.form-group .hint { font-weight: 400; color: var(--slate-500); font-size: 0.85rem; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 0.7rem 0.85rem; border: 1px solid var(--slate-300);
  border-radius: 8px; font: inherit; color: var(--slate-900); background: var(--white);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: 2px solid rgba(45, 212, 191, 0.35); border-color: var(--indigo-500);
}
.form-group textarea { min-height: 140px; resize: vertical; }
.form-warning {
  background: #3b2a12; border: 1px solid #a16207; color: #fde68a;
  padding: 0.85rem 1rem; border-radius: 8px; font-size: 0.925rem; margin-bottom: 1.25rem;
}
.form-success {
  display: none; background: #12352c; border: 1px solid #059669; color: #a7f3d0;
  padding: 1.25rem; border-radius: 8px; margin-bottom: 1rem;
}
.form-success.show { display: block; }
.checkbox-row { display: flex; gap: 0.5rem; align-items: flex-start; }
.checkbox-row input { width: auto; margin-top: 0.3rem; }

/* Tables */
.table-wrap { overflow-x: auto; margin: 1.5rem 0; }
table {
  width: 100%; border-collapse: collapse; font-size: 0.95rem;
}
th, td {
  text-align: left; padding: 0.75rem 0.85rem; border-bottom: 1px solid var(--slate-200);
}
th { background: var(--slate-50); font-weight: 650; color: var(--slate-800); }
tr:hover td { background: var(--slate-50); }

/* Tool / tag chips */
.chip-row { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1rem 0; }
.chip {
  display: inline-block; padding: 0.35rem 0.75rem; border-radius: 999px;
  background: var(--white); border: 1px solid var(--slate-200);
  font-size: 0.875rem; font-weight: 500; color: var(--slate-700); text-decoration: none;
}
.chip:hover { border-color: var(--indigo-400); color: var(--indigo-800); }

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, #0a3d3a, #134e4a 45%, #1a2f3a);
  color: #99f6e4; padding: 3rem 0; text-align: center;
}
.cta-band h2 { color: var(--white); margin-top: 0; }
.cta-band p { max-width: 36rem; margin-inline: auto; }
.cta-band .btn-primary { background: var(--accent); color: #042f2e; }
.cta-band .btn-primary:hover { background: #5eead4; color: #042f2e; }
.cta-band .btn-secondary {
  background: transparent; color: var(--white); border-color: rgba(255,255,255,0.4);
}
.cta-band .btn-secondary:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }

/* Footer */
.site-footer {
  background: var(--slate-900); color: var(--slate-400); padding: 3rem 0 2rem; font-size: 0.925rem;
}
.footer-grid {
  display: grid; gap: 2rem; grid-template-columns: 1.4fr repeat(3, 1fr);
  margin-bottom: 2.5rem;
}
@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.site-footer h4 { color: var(--slate-200); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; margin: 0 0 0.85rem; }
.site-footer a { color: var(--slate-400); text-decoration: none; }
.site-footer a:hover { color: var(--white); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 0.45rem; }
.footer-brand { display: flex; align-items: center; gap: 0.6rem; color: var(--white); font-weight: 700; margin-bottom: 0.75rem; }
.footer-bottom {
  border-top: 1px solid var(--slate-700); padding-top: 1.25rem;
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between;
}

/* Prose pages */
.prose h2:first-child { margin-top: 0; }
.prose blockquote {
  margin: 1.5rem 0; padding: 1rem 1.25rem; border-left: 3px solid var(--indigo-500);
  background: var(--slate-50); color: var(--slate-700); border-radius: 0 8px 8px 0;
}
.callout {
  border: 1px solid var(--indigo-200); background: var(--indigo-50);
  border-radius: var(--radius); padding: 1.15rem 1.25rem; margin: 1.5rem 0;
}
.callout strong { color: var(--indigo-900); }

.page-hero { padding: 2.5rem 0 1.5rem; background: var(--slate-50); border-bottom: 1px solid var(--slate-100); }
.page-hero .answer-first { margin-bottom: 0.5rem; }

.logo-row {
  display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; align-items: center;
  margin: 1.5rem 0; color: var(--slate-500); font-size: 0.9rem; font-weight: 600;
}
.logo-row span {
  padding: 0.4rem 0.75rem; border: 1px dashed var(--slate-300); border-radius: 8px;
}

.stat-row {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem; margin: 2rem 0;
}
.stat {
  text-align: center; padding: 1.25rem; background: var(--white);
  border: 1px solid var(--slate-200); border-radius: var(--radius);
}
.stat .num { font-size: 1.75rem; font-weight: 750; color: var(--indigo-700); letter-spacing: -0.02em; }
.stat .label { font-size: 0.875rem; color: var(--slate-500); margin-top: 0.25rem; }

.trust-bar {
  display: flex; flex-wrap: wrap; gap: 0.65rem 1.35rem;
  margin: 0.25rem 0 0.5rem; padding: 0; list-style: none;
  font-size: 0.92rem; font-weight: 600; color: var(--slate-600);
}
.trust-bar li {
  display: flex; align-items: center; gap: 0.45rem; margin: 0;
}
.trust-bar li::before {
  content: ""; width: 0.45rem; height: 0.45rem; border-radius: 50%;
  background: var(--accent); flex-shrink: 0;
}
.niche-line {
  font-size: 1.125rem; font-weight: 650; color: var(--slate-800); margin-top: 0;
}
.page-hero .lede { max-width: 46rem; color: var(--slate-600); }

.price-card .btn { margin-top: auto; align-self: flex-start; }
.price-note { font-size: 0.875rem; color: var(--slate-500); margin: 0.35rem 0 0.75rem; }
.form-section-title { margin: 1.75rem 0 0.85rem; font-size: 1.05rem; }
fieldset.form-group { border: 0; padding: 0; margin: 0 0 1.15rem; min-width: 0; }
fieldset.form-group legend {
  font-weight: 600; font-size: 0.925rem; color: var(--slate-800); padding: 0; margin-bottom: 0.35rem;
}
.check-list { display: flex; flex-direction: column; gap: 0.45rem; }
.check-list label {
  display: flex; gap: 0.55rem; align-items: flex-start; font-weight: 500; margin: 0;
}
.check-list input { width: auto; margin-top: 0.28rem; }
.btn:disabled { opacity: 0.65; cursor: not-allowed; }

.field-error {
  color: var(--danger); font-size: 0.85rem; font-weight: 550; margin: 0;
}
.field-error:not(:empty) { margin-top: 0.35rem; }
.form-group input.invalid, .form-group select.invalid, .form-group textarea.invalid {
  border-color: var(--danger);
}
.form-errors {
  display: none; background: #3f1d24; border: 1px solid var(--danger); color: #fecdd3;
  padding: 0.85rem 1rem; border-radius: 8px; font-size: 0.925rem; margin-bottom: 1.25rem;
}
.form-errors.show { display: block; }
.form-errors ul { margin: 0.35rem 0 0; }
.form-endpoint-note {
  font-size: 0.85rem; color: var(--slate-500); margin: 1.25rem 0 0;
}
.form-success .form-delivery-note {
  color: #d1fae5; font-size: 0.9rem; margin: 0.75rem 0 0;
}
.footer-note {
  font-size: 0.85rem; color: var(--slate-500); margin: 0 0 1.25rem; max-width: 40rem;
}

/* Bookkeeping proof, comparison, sample month, catch-up examples */
.proof-line {
  margin: 0.85rem 0 0;
  font-size: 0.98rem;
  font-weight: 650;
  color: var(--slate-800);
  max-width: 46rem;
}
.trust-strip {
  margin: 0.35rem 0 0.15rem;
  font-size: 0.95rem;
  font-weight: 650;
  color: var(--accent);
}
.trust-strip-secondary {
  margin: 0.15rem 0 0.75rem;
  font-size: 0.95rem;
  color: var(--slate-600);
}
.trust-strip-micro { color: var(--slate-500); font-size: 0.9rem; margin-top: 0; }
.cta-band .trust-strip,
.cta-band .trust-strip-secondary {
  text-align: center;
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
}
.cta-band .trust-strip { color: var(--accent); margin-bottom: 0.85rem; }
.stack-3 {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}
@media (max-width: 900px) {
  .stack-3 { grid-template-columns: 1fr; }
}
.compare-card dl { margin: 0.15rem 0 0; }
.compare-card dt {
  margin-top: 0.9rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent-2);
}
.compare-card dd { margin: 0.15rem 0 0; }
.compare-card .compare-peers {
  margin-top: auto;
  padding-top: 1rem;
  font-size: 0.92rem;
  color: var(--slate-600);
}
.card-highlight {
  border-color: var(--accent-2);
  box-shadow: var(--shadow-lg);
}
.sample-month-block { margin-top: 2.25rem; }
.sample-month-block h2 { margin-top: 0; }
.boundary-line { margin: 0.35rem 0 0; color: var(--slate-600); }
.compare-footer { margin-top: 1.35rem; max-width: 46rem; }
.hour-card ul { margin-bottom: 0; }
.form-group .trust-strip-secondary { margin: 0.35rem 0 0.5rem; }
