/* ============================================================
   taxifi.ai — shared stylesheet
   Brand kit: FLM taxifi Logo Package v2
   Palette (strict): #000000 #3A3A3A #5C5C5C #BFBFBF #E5E5E5 #FFFFFF
   Soft section background: #F7F7F7
   Semantic colour system (founder-approved, June 2026):
     done/ours/affirmative  #15803D (wash #EAF4EC)
     pending/draft          #B45309 (wash #FBF3E4)
     Colour only ever means something; never decorative backgrounds.
   Type: Poppins 600 (headings), Work Sans 400/500 (body),
         Nunito Sans 600/700 (buttons, nav, small UI labels)
   ============================================================ */

:root {
  color-scheme: light only;
  --black: #000000;
  --body: #3A3A3A;
  --secondary: #5C5C5C;
  --muted: #BFBFBF;
  --border: #E5E5E5;
  --white: #FFFFFF;
  --soft: #F7F7F7;
  --done: #15803D;
  --done-soft: #EAF4EC;
  --pend: #B45309;
  --pend-soft: #FBF3E4;
  --font-heading: "Poppins", "Segoe UI", Arial, sans-serif;
  --font-body: "Work Sans", "Segoe UI", Arial, sans-serif;
  --font-ui: "Nunito Sans", "Segoe UI", Arial, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--body);
  background-color: var(--white);
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--black);
  line-height: 1.2;
}

h1 { font-size: clamp(32px, 4.6vw, 52px); letter-spacing: -0.01em; }
h2 { font-size: clamp(24px, 3vw, 34px); letter-spacing: -0.01em; }
h3 { font-size: 20px; }
h4 { font-size: 17px; }

p { max-width: 62ch; }

a {
  color: var(--black);
  text-decoration: underline;
  text-underline-offset: 2px;
}

a:hover { color: var(--secondary); }

:focus-visible {
  outline: 2px solid var(--black);
  outline-offset: 2px;
  border-radius: 2px;
}

img { max-width: 100%; display: block; }

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background-color: var(--black);
  color: var(--white);
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 14px;
  padding: 10px 18px;
  border-radius: 0 0 8px 0;
  text-decoration: none;
}

.skip-link:focus {
  left: 0;
}

/* Long-form text pages (About, Privacy, Terms) */

.prose {
  max-width: 720px;
}

.prose h2 {
  margin: 36px 0 10px;
  font-size: 22px;
}

.prose p,
.prose ul {
  margin-bottom: 14px;
}

.prose ul {
  padding-left: 22px;
}

.prose li {
  margin-bottom: 6px;
}

.page-meta {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 13px;
  color: var(--secondary);
  margin-bottom: 28px;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 15px;
  line-height: 1.2;
  padding: 13px 24px;
  border-radius: 8px;
  border: 1px solid var(--black);
  text-decoration: none;
  text-align: center;
  cursor: pointer;
}

.btn-primary {
  background-color: var(--black);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--body);
  border-color: var(--body);
  color: var(--white);
}

.btn-secondary {
  background-color: var(--white);
  color: var(--black);
  border: 1px solid var(--muted);
}

.btn-secondary:hover {
  border-color: var(--black);
  color: var(--black);
}

/* ---------- Header / nav ---------- */

.site-header {
  background-color: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  gap: 24px;
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo img {
  height: 26px;
  width: auto;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 10px;
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  background-color: var(--black);
  margin: 4px 0;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
}

.nav-menu a:not(.btn) {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 14px;
  color: var(--body);
  text-decoration: none;
  padding: 4px 0;
}

.nav-menu a:not(.btn):hover { color: var(--black); }

.nav-menu a[aria-current="page"]:not(.btn) {
  color: var(--black);
  border-bottom: 2px solid var(--black);
}

.nav-menu .btn { font-size: 14px; padding: 10px 18px; }

@media (max-width: 919px) {
  .nav-toggle { display: block; }

  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background-color: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 8px 20px 20px;
  }

  .nav-menu.is-open { display: flex; }

  .nav-menu li { border-top: 1px solid var(--border); }
  .nav-menu li:first-child { border-top: none; }

  .nav-menu a:not(.btn) {
    display: block;
    padding: 14px 0;
    font-size: 15px;
  }

  .nav-menu a[aria-current="page"]:not(.btn) {
    border-bottom: none;
    font-weight: 700;
  }

  .nav-menu .btn {
    display: block;
    margin-top: 14px;
  }
}

/* ---------- Sections ---------- */

.section {
  padding: 88px 0;
  background-color: var(--white);
}

.section-alt {
  background-color: var(--soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-intro {
  max-width: 640px;
  margin-bottom: 40px;
}

.section-intro p {
  margin-top: 12px;
  color: var(--secondary);
}

@media (max-width: 767px) {
  .section { padding: 52px 0; }
}

/* ---------- Hero ---------- */

.hero {
  padding: 96px 0;
  background-color: var(--white);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

@media (min-width: 920px) {
  .hero-grid { grid-template-columns: 1.1fr 0.9fr; }
}

.hero h1 { margin-bottom: 18px; }

.hero-sub {
  font-size: 18px;
  color: var(--secondary);
  margin-bottom: 28px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
}

.trust-line {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 13px;
  color: var(--secondary);
}

@media (max-width: 767px) {
  .hero { padding: 52px 0; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .hero-grid { gap: 32px; }
}

/* ---------- Monthly Close report card ---------- */

.close-card {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.07), 0 2px 6px rgba(0, 0, 0, 0.04);
  max-width: 420px;
  width: 100%;
  justify-self: center;
}

.close-card-header {
  padding: 16px 22px;
  border-bottom: 1px solid var(--border);
}

.close-card-header .doc-label {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 12px;
  /* #5C5C5C, not #BFBFBF: small text needs WCAG AA contrast on white */
  color: var(--secondary);
}

.close-card-header .doc-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 17px;
  color: var(--black);
}

.close-card-rows {
  list-style: none;
  padding: 6px 22px;
}

.close-card-rows li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
}

.close-card-rows li:last-child { border-bottom: none; }

.close-card-rows .value {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 14px;
  color: var(--black);
  white-space: nowrap;
}

.close-card-footer {
  padding: 14px 22px;
  background-color: var(--soft);
  border-top: 1px solid var(--border);
  border-radius: 0 0 10px 10px;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 14px;
  color: var(--black);
}

/* ---------- Step / card grids ---------- */

.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

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

.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

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

.card {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  padding: 28px;
}

.card h3 { margin-bottom: 10px; }

.card p { color: var(--secondary); font-size: 15px; }

.card .card-link {
  display: inline-block;
  margin-top: 14px;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 14px;
}

p.step-number {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 13px;
  color: var(--secondary);
  margin-bottom: 8px;
}

/* ---------- Comparison table ---------- */

.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--border);
  border-radius: 10px;
  background-color: var(--white);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.compare-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  font-size: 15px;
}

.compare-table th,
.compare-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.compare-table thead th {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 14px;
  color: var(--black);
  background-color: var(--soft);
}

.compare-table tbody th {
  font-weight: 500;
  color: var(--black);
  width: 26%;
}

.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td {
  border-bottom: none;
}

.compare-table td { color: var(--secondary); }

.compare-table .col-taxifi {
  color: var(--black);
  font-weight: 500;
}

/* ---------- Testimonials ---------- */

.quote-card footer {
  margin-top: 14px;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 13px;
  color: var(--secondary);
}

/* ---------- Checklist (what's included) ---------- */

.check-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.check-list li {
  padding: 15px 22px;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
}

.check-list li:last-child { border-bottom: none; }

.check-list li::before {
  content: "\2713";
  font-weight: 700;
  color: var(--done);
  margin-right: 12px;
}

@media (min-width: 768px) {
  .check-list { grid-template-columns: 1fr 1fr; }
  .check-list li:nth-last-child(2) { border-bottom: none; }
}

/* ---------- Pain sections (alternating rows) ---------- */

.pain-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
}

.pain-row:last-child { border-bottom: none; }

@media (min-width: 768px) {
  .pain-row { grid-template-columns: 0.9fr 1.1fr; gap: 48px; }
}

.pain-row h3 { font-size: 21px; }

.pain-row p { color: var(--secondary); }

/* ---------- FAQ ---------- */

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 760px;
}

.faq-list details {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.faq-list summary {
  font-weight: 500;
  color: var(--black);
  padding: 17px 22px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
}

.faq-list summary::-webkit-details-marker { display: none; }

.faq-list summary::after {
  content: "+";
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 18px;
  color: var(--done);
  flex-shrink: 0;
}

.faq-list details[open] summary::after { content: "\2212"; }

.faq-list details p {
  padding: 0 22px 18px;
  color: var(--secondary);
  font-size: 15px;
}

/* ---------- Closing CTA ---------- */

.cta-block {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}

.cta-block h2 { margin-bottom: 12px; }

.cta-block p {
  color: var(--secondary);
  margin: 0 auto 26px;
}

/* ---------- Booking card (book.html) ---------- */

.booking-card {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  padding: 36px 28px;
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
}

.booking-card h2 { margin-bottom: 10px; }

.booking-card p {
  color: var(--secondary);
  margin: 0 auto 24px;
}

.booking-card .booking-note {
  margin: 18px auto 0;
  font-size: 13px;
  color: var(--secondary);
  font-family: var(--font-ui);
  font-weight: 600;
}

/* ---------- Footer ---------- */

.site-footer {
  background-color: var(--white);
  border-top: 1px solid var(--border);
  padding: 44px 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-logo img {
  height: 22px;
  width: auto;
}

.footer-text {
  font-size: 14px;
  color: var(--secondary);
  max-width: 56ch;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  list-style: none;
}

.footer-nav a {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 13px;
  color: var(--secondary);
  text-decoration: none;
}

.footer-nav a:hover { color: var(--black); }

.footer-legal {
  font-size: 13px;
  color: var(--secondary);
  border-top: 1px solid var(--border);
  padding-top: 18px;
}

.footer-legal a {
  color: var(--secondary);
}

/* ============================================================
   Phase 2/3 components
   ============================================================ */

/* ---------- Nav dropdowns ---------- */

.nav-group { position: relative; }

.nav-drop-btn {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 14px;
  color: var(--body);
  background: none;
  border: none;
  padding: 4px 0;
  cursor: pointer;
}

.nav-drop-btn::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-left: 7px;
  border-right: 1.5px solid var(--secondary);
  border-bottom: 1.5px solid var(--secondary);
  transform: rotate(45deg) translateY(-2px);
}

.nav-drop-btn:hover { color: var(--black); }

.nav-group.open > .nav-drop-btn { color: var(--black); }

.nav-drop {
  list-style: none;
  display: none;
}

.nav-group.open > .nav-drop { display: block; }

@media (min-width: 920px) {
  /* menu items stretch the full header height so panels hang from the
     header's bottom border instead of floating mid-air */
  .nav-menu {
    align-self: stretch;
    align-items: stretch;
  }

  .nav-menu > li {
    display: flex;
    align-items: center;
  }

  .nav-drop {
    position: absolute;
    top: calc(100% + 1px);
    left: 50%;
    transform: translateX(-50%);
    min-width: 230px;
    background-color: var(--white);
    border: 1px solid var(--border);
    border-top: none;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.07);
    padding: 8px 0 10px;
    z-index: 60;
  }

  .nav-drop a {
    display: block;
    padding: 10px 22px;
  }

  .nav-drop a:hover {
    background-color: var(--soft);
    color: var(--black);
  }

  .nav-menu .nav-drop a[aria-current="page"] {
    border-bottom: none;
    font-weight: 700;
  }
}

@media (max-width: 919px) {
  .nav-drop {
    padding-left: 16px;
    border-left: 2px solid var(--border);
    margin-bottom: 10px;
  }

  .nav-drop-btn {
    display: block;
    width: 100%;
    text-align: left;
    padding: 14px 0;
    font-size: 15px;
  }

  .nav-menu .nav-drop a[aria-current="page"] {
    border-bottom: none;
    font-weight: 700;
  }
}

/* ---------- Sticky mobile booking bar ---------- */

.sticky-cta {
  display: none;
}

@media (max-width: 919px) {
  .sticky-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 70;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background-color: var(--white);
    border-top: 1px solid var(--border);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.06);
    transform: translateY(110%);
    transition: transform 0.25s ease;
  }

  .sticky-cta.visible { transform: translateY(0); }

  .sticky-cta .sticky-cta-text {
    flex: 1;
    font-family: var(--font-ui);
    font-weight: 600;
    font-size: 13px;
    color: var(--secondary);
    line-height: 1.3;
  }

  .sticky-cta .btn {
    padding: 11px 18px;
    font-size: 14px;
    white-space: nowrap;
  }

  .sticky-cta-close {
    background: none;
    border: none;
    font-size: 20px;
    line-height: 1;
    color: var(--secondary);
    cursor: pointer;
    padding: 6px;
  }
}

  body.has-sticky .site-footer { padding-bottom: 96px; }
}

@media (prefers-reduced-motion: reduce) {
  .sticky-cta { transition: none; }
}

/* ---------- Proof bar ---------- */

.proof-bar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background-color: var(--white);
  padding: 18px 0;
}

.proof-bar .container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 40px;
  justify-content: center;
}

.proof-bar .proof-item {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 14px;
  color: var(--secondary);
}

.proof-face {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border);
}

.proof-bar .proof-item strong {
  color: var(--black);
  font-weight: 700;
}

/* ---------- Objection block ---------- */

.objection-block {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.objection-block h2 { margin-bottom: 14px; }

.objection-block p {
  margin: 0 auto 10px;
  color: var(--secondary);
  font-size: 17px;
}

.objection-block .text-link {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 15px;
}

/* ---------- Month timeline (how it works) ---------- */

.timeline {
  list-style: none;
  border-left: 2px solid var(--border);
  margin-left: 8px;
  max-width: 720px;
}

.timeline li {
  position: relative;
  padding: 0 0 28px 28px;
}

.timeline li:last-child { padding-bottom: 0; }

.timeline li::before {
  content: "";
  position: absolute;
  left: -6px;
  top: 7px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--done);
}

.timeline .timeline-when {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 13px;
  color: var(--secondary);
  display: block;
  margin-bottom: 3px;
}

.timeline h3 { font-size: 18px; margin-bottom: 4px; }

.timeline p { color: var(--secondary); font-size: 15px; }

/* ---------- Two-column do / don't ---------- */

.split-cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 768px) {
  .split-cols { grid-template-columns: 1fr 1fr; }
}

.split-cols .card ul {
  list-style: none;
  margin-top: 8px;
}

.split-cols .card li {
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
  color: var(--secondary);
}

.split-cols .card li:last-child { border-bottom: none; }

/* ---------- Magnet offer ---------- */

.magnet-banner {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  padding: 32px 28px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: center;
}

@media (min-width: 768px) {
  .magnet-banner { grid-template-columns: 1fr auto; }
}

.magnet-banner h2 { font-size: 22px; margin-bottom: 6px; }

.magnet-banner p { color: var(--secondary); font-size: 15px; }

/* ---------- Articles ---------- */

.article {
  max-width: 720px;
}

.article .article-meta {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 13px;
  color: var(--secondary);
  margin-bottom: 26px;
}

.article h2 { margin: 34px 0 10px; font-size: 24px; }

.article h3 { margin: 24px 0 8px; font-size: 19px; }

.article p, .article ul, .article ol { margin-bottom: 14px; }

.article ul, .article ol { padding-left: 22px; }

.article li { margin-bottom: 6px; }

.draft-notice {
  background-color: var(--pend-soft);
  border: 1px solid var(--pend-soft);
  color: var(--pend);
  border-radius: 10px;
  padding: 14px 18px;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 13px;
  color: var(--secondary);
  margin-bottom: 28px;
}

.resource-card .resource-tag,
.resource-tag {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 12px;
  color: var(--done);
  margin-bottom: 8px;
}

/* ---------- Footer columns ---------- */

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 32px;
}

@media (min-width: 600px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 920px) {
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1.3fr; gap: 24px; }
}

.footer-col .footer-col-label {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 13px;
  color: var(--black);
  margin-bottom: 12px;
}

.footer-col ul { list-style: none; }

.footer-col li { margin-bottom: 8px; }

.footer-col a {
  font-size: 14px;
  color: var(--secondary);
  text-decoration: none;
}

.footer-col a:hover { color: var(--black); }

.footer-grid .footer-text { margin-top: 14px; }

.footer-grid .footer-news { margin-top: 18px; }

.footer-news p {
  font-size: 14px;
  color: var(--secondary);
  margin: 0 0 14px;
}

.footer-news .btn { font-size: 14px; padding: 10px 18px; }

/* ---------- Deadline list (tax calendar guides) ---------- */

.deadline-list {
  list-style: none;
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  max-width: 760px;
}

.deadline-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 18px;
  padding: 14px 22px;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
}

.deadline-list li:last-child { border-bottom: none; }

.deadline-list .deadline-date {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 14px;
  color: var(--black);
  white-space: nowrap;
  text-align: right;
}

/* Quiet emphasis: black border instead of color */
.card-emph { border-color: var(--black); }

.section-foot {
  margin-top: 30px;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 15px;
}


.check-list + .magnet-banner { margin-top: 28px; }

.check-list + .table-scroll { margin-top: 28px; }

.section-note {
  margin-top: 28px;
  margin-bottom: 0;
}

.stack-gap { margin-bottom: 14px; }

/* ---------- Print (tax-calendar guides are print bait) ---------- */

@media print {
  .site-header,
  .site-footer,
  .sticky-cta,
  .skip-link,
  .hero-ctas,
  .cta-block,
  .magnet-banner {
    display: none !important;
  }

  body { color: #000000; }

  .section,
  .section-alt {
    padding: 20px 0;
    background-color: #FFFFFF;
    border: none;
  }

  .card,
  .deadline-list,
  .close-card,
  .table-scroll,
  .faq-list details {
    box-shadow: none;
  }

  .deadline-list li,
  .faq-list details,
  .card {
    page-break-inside: avoid;
  }

  a {
    color: #000000;
    text-decoration: none;
  }
}

/* ---------- Document-card status chips (the only colour on the site) ---------- */

.close-card-rows .value.ok,
.close-card-rows .value.pend {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 6px;
  font-size: 13px;
}

.close-card-rows .value.ok {
  background-color: var(--done-soft);
  color: var(--done);
}

.close-card-rows .value.pend {
  background-color: var(--pend-soft);
  color: var(--pend);
}

/* ---------- Founder card (About) ---------- */

.founder-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  padding: 18px 22px;
  max-width: 460px;
  margin-top: 30px;
}

.founder-card img {
  width: 96px;
  height: 96px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}

.founder-card .founder-name {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 16px;
  color: var(--black);
}

.founder-card .founder-role {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 13px;
  color: var(--secondary);
}

/* ---------- Testimonial attribution ---------- */

.quote-card footer .quote-name {
  display: block;
  color: var(--black);
  font-size: 14px;
}

/* The taxifi column carries the brand tint in every comparison */
.compare-table thead th:last-child {
  background-color: var(--done-soft);
  color: var(--done);
}

/* Affirmative small links share the done colour */
.card-link,
.section-foot a,
.objection-block .text-link a {
  color: var(--done);
}

.card-link:hover,
.section-foot a:hover,
.objection-block .text-link a:hover {
  color: var(--done);
  text-decoration-thickness: 2px;
}

.draft-notice { font-weight: 600; }

/* ---------- Founder's note (first-person, human) ---------- */

.founder-note {
  max-width: 620px;
  margin: 44px auto 0;
  border-left: 2px solid var(--border);
  padding-left: 22px;
}

.founder-note p {
  font-size: 18px;
  color: var(--body);
}

.founder-note .founder-sig {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 13px;
  color: var(--secondary);
  margin-top: 10px;
}

.founder-note .founder-sig a { color: var(--done); }

/* ---------- Modern interaction layer (reduced-motion safe) ---------- */

@media (prefers-reduced-motion: no-preference) {
  .card,
  .magnet-banner,
  .btn {
    transition: transform 0.18s ease, box-shadow 0.18s ease,
                border-color 0.18s ease, background-color 0.18s ease;
  }

  .card:hover,
  .magnet-banner:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
    border-color: #D8D8D8;
  }

  .btn:hover { transform: translateY(-1px); }

  .btn:active { transform: translateY(0); }

  .btn-primary:hover { box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18); }
}

/* nav links: underline grows in */
.nav-menu a:not(.btn),
.nav-drop-btn {
  position: relative;
}

@media (min-width: 920px) {
  .nav-menu > li > a:not(.btn)::after,
  .nav-drop-btn::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    height: 2px;
    width: 100%;
    background-color: var(--black);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.2s ease;
  }

  .nav-menu > li > a:not(.btn):hover::after,
  .nav-group.open > .nav-drop-btn::before {
    transform: scaleX(1);
  }

  @media (prefers-reduced-motion: reduce) {
    .nav-menu > li > a:not(.btn)::after,
    .nav-drop-btn::before { transition: none; }
  }
}

/* dropdown caret rotates when open */
@media (prefers-reduced-motion: no-preference) {
  .nav-drop-btn::after { transition: transform 0.2s ease; }
}

.nav-group.open > .nav-drop-btn::after {
  transform: rotate(225deg) translateY(-2px);
}

/* ---------- Hero product shot (the real dashboard) ---------- */

.hero-shot {
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.07), 0 2px 6px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  max-width: 520px;
  width: 100%;
  justify-self: center;
  background-color: var(--white);
}

.hero-shot img { width: 100%; height: auto; }

/* ---------- Proof bar marquee (JS adds .proof-marquee and wraps the
     items in a .proof-track with a duplicated set; the track drifts
     left forever. Without JS all facts stay visible and static.) */

.proof-marquee .container {
  display: block;
  overflow: hidden;
  max-width: none; /* full-bleed strip */
  padding-left: 0;
  padding-right: 0;
}

.proof-track {
  display: flex;
  flex-wrap: nowrap;
  width: max-content;
  animation: proof-scroll 40s linear infinite;
}

.proof-marquee .proof-item {
  flex: 0 0 auto;
  max-width: none; /* override the global 62ch paragraph cap */
  margin-right: 72px;
  white-space: nowrap;
  min-height: 32px;
}

.proof-marquee:hover .proof-track { animation-play-state: paused; }

@keyframes proof-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---------- Hero shot caption ---------- */

.hero-shot-wrap {
  justify-self: center;
  max-width: 520px;
  width: 100%;
}

.hero-shot-wrap .hero-shot { max-width: none; }

.hero-shot-caption {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 13px;
  color: var(--secondary);
  text-align: center;
  margin-top: 14px;
  max-width: none;
}
