/* SlickBooks — marketing site */
:root {
  --navy: #1e3a5f;
  --navy-dark: #152a45;
  --teal: #0d9488;
  --teal-light: #14b8a6;
  --teal-pale: #ecfdf5;
  --sage: #f0fdf4;
  --slate: #334155;
  --slate-light: #64748b;
  --muted: #94a3b8;
  --border: #e2e8f0;
  --bg: #fafbfc;
  --white: #ffffff;
  --shadow: 0 4px 24px rgba(30, 58, 95, 0.08);
  --shadow-lg: 0 20px 60px rgba(30, 58, 95, 0.12);
  --radius: 12px;
  --radius-lg: 20px;
  --font-sans: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-serif: "Source Serif 4", Georgia, "Times New Roman", serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  color: var(--slate);
  line-height: 1.65;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Typography */
h1, h2, h3 { color: var(--navy); line-height: 1.2; }
.text-teal { color: var(--teal); }
.text-serif { font-family: var(--font-serif); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.75rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  font-family: inherit;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--teal);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(13, 148, 136, 0.35);
}
.btn-primary:hover { background: #0f766e; }
.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--border);
}
.btn-outline:hover { background: var(--bg); border-color: var(--muted); }
.btn-white {
  background: var(--white);
  color: var(--teal);
}
.btn-white:hover { box-shadow: var(--shadow-lg); }
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.5);
}
.btn-outline-white:hover { background: rgba(255,255,255,0.1); }

/* Header */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: background 0.3s, box-shadow 0.3s;
}
.header.scrolled {
  background: rgba(255,255,255,0.97);
  box-shadow: 0 1px 0 var(--border);
  backdrop-filter: blur(12px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.25rem;
}
.logo img { height: 2rem; width: auto; display: block; }
.logo .logo-dark { display: none; }
.header.scrolled .logo .logo-light { display: none; }
.header.scrolled .logo .logo-dark { display: block; }
.nav-desktop { display: none; gap: 2rem; align-items: center; }
.nav-link {
  background: none; border: none; cursor: pointer;
  font-family: inherit; font-size: 0.9375rem; font-weight: 500;
  color: rgba(255,255,255,0.85); text-decoration: none;
  transition: color 0.2s;
}
.nav-link:hover { color: var(--teal-light); }
.header.scrolled .nav-desktop .nav-link { color: var(--slate); }
.header.scrolled .nav-desktop .nav-link:hover { color: var(--teal); }
.nav-mobile .nav-link { color: var(--slate); text-align: left; padding: 0.4rem 0; }
.header.scrolled .mobile-toggle span { background: var(--navy); }
.header-cta { display: none; }
.mobile-toggle {
  display: flex; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.mobile-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--white); transition: 0.3s;
}
.mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
.nav-mobile {
  display: none; flex-direction: column; gap: 0.5rem;
  padding: 1rem 1.5rem 1.5rem;
  background: var(--white);
  border-top: 1px solid var(--border);
}
.nav-mobile.active { display: flex; }

@media (min-width: 768px) {
  .nav-desktop { display: flex; }
  .header-cta { display: inline-flex; }
  .mobile-toggle { display: none; }
}

/* Hero */
.hero {
  position: relative;
  padding: 7rem 0 4rem;
  background: linear-gradient(165deg, var(--navy) 0%, var(--navy-dark) 55%, #0f4c5c 100%);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(13,148,136,0.18) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(20,184,166,0.1) 0%, transparent 50%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
@media (min-width: 960px) {
  .hero { padding: 8rem 0 5rem; }
  .hero-grid { grid-template-columns: 1fr 1.1fr; gap: 4rem; }
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 999px;
  color: rgba(255,255,255,0.9);
  font-size: 0.8125rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}
.hero-badge-dot {
  width: 7px; height: 7px;
  background: var(--teal-light);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  font-weight: 600;
  color: var(--white);
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}
.hero-accent { color: var(--teal-light); }
.hero-lead {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.82);
  max-width: 32rem;
  margin-bottom: 2rem;
  line-height: 1.7;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2.5rem; }
.hero-trust {
  display: flex; flex-wrap: wrap; gap: 1.5rem;
  color: rgba(255,255,255,0.65);
  font-size: 0.875rem;
}
.hero-trust span { display: flex; align-items: center; gap: 0.4rem; }
.hero-trust svg { color: var(--teal-light); flex-shrink: 0; }

/* App mockup */
.app-mockup {
  background: #f1f5f9;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,0.2);
  overflow: hidden;
}
.mockup-chrome {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: #e2e8f0;
  border-bottom: 1px solid var(--border);
}
.mockup-dot { width: 10px; height: 10px; border-radius: 50%; }
.mockup-dot.red { background: #f87171; }
.mockup-dot.yellow { background: #fbbf24; }
.mockup-dot.green { background: #34d399; }
.mockup-title {
  flex: 1; text-align: center;
  font-size: 0.75rem; font-weight: 600; color: var(--slate-light);
}
.mockup-body { display: flex; min-height: 320px; }
.mockup-sidebar {
  width: 56px; background: var(--navy);
  padding: 1rem 0.5rem;
  display: flex; flex-direction: column; gap: 0.75rem; align-items: center;
}
.mockup-nav-item {
  width: 32px; height: 32px; border-radius: 8px;
  background: rgba(255,255,255,0.08);
}
.mockup-nav-item.active { background: var(--teal); }
.mockup-main { flex: 1; padding: 1.25rem; background: var(--white); }
.mockup-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 1rem;
}
.mockup-header h4 { font-size: 0.875rem; font-weight: 600; color: var(--navy); }
.mockup-pill {
  font-size: 0.6875rem; font-weight: 600;
  padding: 0.25rem 0.6rem; border-radius: 999px;
  background: var(--teal-pale); color: var(--teal);
}
.mockup-table { width: 100%; border-collapse: collapse; font-size: 0.75rem; }
.mockup-table th {
  text-align: left; padding: 0.5rem 0.6rem;
  color: var(--muted); font-weight: 500;
  border-bottom: 1px solid var(--border);
}
.mockup-table td {
  padding: 0.55rem 0.6rem;
  border-bottom: 1px solid #f1f5f9;
  color: var(--slate);
}
.mockup-table .amount { text-align: right; font-variant-numeric: tabular-nums; }
.mockup-table .matched { color: var(--teal); font-weight: 600; }
.mockup-table tr.highlight { background: var(--teal-pale); }

/* Trust bar */
.trust-bar {
  padding: 2.5rem 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.trust-bar-inner {
  display: flex; flex-wrap: wrap;
  justify-content: center; gap: 2rem 3rem;
  text-align: center;
}
.trust-stat strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.75rem;
  color: var(--navy);
  font-weight: 600;
}
.trust-stat span { font-size: 0.875rem; color: var(--slate-light); }

/* Sections */
section { padding: 5rem 0; }
.section-header { text-align: center; max-width: 640px; margin: 0 auto 3.5rem; }
.section-label {
  display: inline-block;
  font-size: 0.8125rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--teal); margin-bottom: 0.75rem;
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 600;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}
.section-desc { color: var(--slate-light); font-size: 1.0625rem; }

/* Feature cards */
.features-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .features-grid { grid-template-columns: repeat(3, 1fr); } }

.feature-card {
  padding: 2rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: box-shadow 0.3s, transform 0.3s, border-color 0.3s;
}
.feature-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
  border-color: transparent;
}
.feature-icon {
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  background: var(--teal-pale);
  border-radius: 12px;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}
.feature-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
}
.feature-card p { font-size: 0.9375rem; color: var(--slate-light); }

/* Workflow cards (back office section) */
.workflow-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 960px) { .workflow-grid { grid-template-columns: repeat(3, 1fr); } }
.workflow-card {
  padding: 2rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.3s, transform 0.3s;
}
.workflow-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.workflow-card h3 { font-size: 1.25rem; font-weight: 600; margin-bottom: 0.6rem; }
.workflow-card > p { font-size: 0.9375rem; color: var(--slate-light); margin-bottom: 1.25rem; }
.workflow-card .check-list { margin-top: auto; gap: 0.75rem; }
.workflow-card .check-list li { font-size: 0.875rem; }

/* Split sections */
.split-section { background: var(--bg); }
.split-grid {
  display: grid; gap: 3rem; align-items: center;
}
@media (min-width: 900px) { .split-grid { grid-template-columns: 1fr 1fr; } }
.split-content h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2.125rem);
  margin-bottom: 1rem;
}
.split-content > p { color: var(--slate-light); margin-bottom: 1.5rem; }
.check-list { list-style: none; display: flex; flex-direction: column; gap: 0.85rem; }
.check-list li {
  display: flex; gap: 0.75rem; align-items: flex-start;
  font-size: 0.9375rem;
}
.check-list .check {
  flex-shrink: 0;
  width: 22px; height: 22px;
  background: var(--teal-pale);
  color: var(--teal);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; font-weight: 700;
  margin-top: 2px;
}

/* Steps */
.steps { display: flex; flex-direction: column; gap: 1.25rem; }
.step {
  display: flex; gap: 1.25rem; align-items: flex-start;
  padding: 1.25rem;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.step-num {
  flex-shrink: 0;
  width: 36px; height: 36px;
  background: var(--navy);
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.875rem;
}
.step h4 { font-size: 1rem; font-weight: 600; margin-bottom: 0.25rem; color: var(--navy); }
.step p { font-size: 0.875rem; color: var(--slate-light); }

/* Report cards */
.reports-showcase {
  display: grid; gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .reports-showcase { grid-template-columns: repeat(2, 1fr); } }
.report-card {
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--white);
}
.report-card.featured {
  background: linear-gradient(135deg, var(--navy) 0%, #0f4c5c 100%);
  border: none;
  color: var(--white);
}
.report-card.featured h3,
.report-card.featured p { color: var(--white); }
.report-card.featured p { opacity: 0.85; }
.report-card h3 { font-size: 1.125rem; font-weight: 600; margin-bottom: 0.5rem; }
.report-card p { font-size: 0.9375rem; color: var(--slate-light); }
.report-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; }
.report-tag {
  font-size: 0.75rem; font-weight: 500;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background: var(--teal-pale);
  color: var(--teal);
}
.report-card.featured .report-tag {
  background: rgba(255,255,255,0.15);
  color: var(--white);
}

/* Comparison table */
.compare-section { background: var(--bg); }
.compare-wrap { overflow-x: auto; }
.compare-table {
  width: 100%; min-width: 600px;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.compare-table th,
.compare-table td {
  padding: 1rem 1.25rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
  font-size: 0.9375rem;
}
.compare-table th { background: var(--navy); color: var(--white); font-weight: 600; }
.compare-table th.highlight-col { background: var(--teal); color: var(--white); }
.compare-table th:first-child { text-align: left; }
.compare-table td:first-child { text-align: left; font-weight: 500; color: var(--navy); }
.compare-table tr:last-child td { border-bottom: none; }
.compare-table .highlight-col { background: var(--teal-pale); font-weight: 600; }
.check-yes { color: var(--teal); font-weight: 700; }
.check-no { color: var(--muted); }
.check-partial { color: #d97706; font-size: 0.8125rem; }
.compare-note {
  max-width: 760px;
  margin: 1.5rem auto 0;
  text-align: center;
  font-size: 0.8125rem;
  color: var(--muted);
  line-height: 1.6;
}

/* Audience cards */
.audience-grid {
  display: grid; gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .audience-grid { grid-template-columns: repeat(3, 1fr); } }
.audience-card {
  text-align: center;
  padding: 2.5rem 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--white);
}
.audience-card .emoji { font-size: 2.5rem; margin-bottom: 1rem; }
.audience-card h3 { font-size: 1.125rem; margin-bottom: 0.5rem; }
.audience-card p { font-size: 0.9375rem; color: var(--slate-light); }

/* CTA */
.cta-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--navy) 0%, #0f4c5c 100%);
  text-align: center;
}
.cta-section h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: var(--white);
  margin-bottom: 1rem;
}
.cta-section p {
  color: rgba(255,255,255,0.8);
  font-size: 1.0625rem;
  max-width: 520px;
  margin: 0 auto 2rem;
}
.cta-actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }

/* Footer */
.footer {
  padding: 3rem 0 2rem;
  background: var(--navy-dark);
  color: rgba(255,255,255,0.65);
  font-size: 0.875rem;
}
.footer-grid {
  display: grid; gap: 2rem;
  grid-template-columns: 1fr;
  margin-bottom: 2.5rem;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.footer-brand img { height: 1.75rem; margin-bottom: 1rem; filter: brightness(0) invert(1); opacity: 0.9; }
.footer-brand p { max-width: 280px; line-height: 1.6; }
.footer h4 { color: var(--white); font-size: 0.8125rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 1rem; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-links a { color: rgba(255,255,255,0.65); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--teal-light); }
.footer-disclaimer {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}
.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex; flex-wrap: wrap; gap: 1rem;
  justify-content: space-between; align-items: center;
}
.footer-powered { font-size: 0.8125rem; }
.footer-powered a { color: var(--teal-light); text-decoration: none; }

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
