:root {
  --bg: #FFFFFF;
  --surface: #F9FAFB;
  --border: #E5E7EB;
  --text: #111827;
  --text-secondary: #6B7280;
  --text-muted: #9CA3AF;
  --accent: #0F6E56;
  --accent-light: #E1F5EE;
  --accent-hover: #085041;
  --red-bg: #FEF2F2;
  --red-text: #B91C1C;
  --red-border: #FECACA;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--text-secondary);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.serif {
  font-family: 'DM Serif Display', Georgia, serif;
  font-weight: 400;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

section {
  padding-top: 100px;
  padding-bottom: 100px;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ---------- Section heading shared ---------- */
.label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.section-head {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 56px;
}

.section-head h2 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 36px;
  line-height: 1.2;
  color: var(--text);
  margin-top: 14px;
}

.section-head p {
  margin-top: 16px;
  font-size: 16px;
  color: var(--text-secondary);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  padding: 13px 22px;
  border-radius: 6px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-hover);
}

.btn-secondary {
  background: #fff;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: var(--surface);
  border-color: #D1D5DB;
}

.btn-white {
  background: #fff;
  color: var(--accent);
}

.btn-white:hover {
  background: var(--accent-light);
}

/* ---------- Navigation ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.wordmark {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 22px;
  color: var(--text);
  letter-spacing: -0.01em;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  font-size: 14px;
  color: var(--text-secondary);
  transition: color 0.15s ease;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-cta {
  padding: 10px 20px;
}

/* ---------- Hero ---------- */
.hero {
  padding-top: 96px;
  padding-bottom: 96px;
  text-align: center;
}

.hero h1 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 56px;
  line-height: 1.15;
  color: var(--text);
  margin: 18px auto 0;
  max-width: 720px;
  letter-spacing: -0.01em;
}

.hero .subhead {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 22px auto 0;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-top: 32px;
}

.trust-line {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 20px;
}

/* ---------- Hero mockup ---------- */
.mockup {
  margin: 64px auto 0;
  max-width: 920px;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  background: #fff;
  overflow: hidden;
  text-align: left;
}

.mockup-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  background: #fff;
}

.mockup-logo {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 17px;
  color: var(--text);
}

.mockup-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--accent-light);
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mockup-body {
  display: grid;
  grid-template-columns: 200px 1fr;
}

.mockup-sidebar {
  border-right: 1px solid var(--border);
  padding: 18px 14px;
  background: var(--surface);
}

.mockup-navitem {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 4px;
}

.mockup-navitem.active {
  background: var(--accent-light);
  color: var(--accent);
}

.mockup-navitem .dot {
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: currentColor;
  opacity: 0.7;
}

.mockup-main {
  padding: 22px 24px;
  background: #fff;
}

.mockup-main-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.mockup-main-head h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
}

.mockup-pill {
  font-size: 12px;
  font-weight: 500;
  color: var(--accent);
  background: var(--accent-light);
  padding: 5px 12px;
  border-radius: 6px;
}

.mockup-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}

.mockup-table th {
  text-align: left;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  padding: 0 12px 10px;
  border-bottom: 1px solid var(--border);
}

.mockup-table td {
  padding: 13px 12px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}

.mockup-table tr:last-child td {
  border-bottom: none;
}

.mockup-name {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}

.mockup-name .ava {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 11px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}

.badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
}

.badge-paid {
  background: var(--accent-light);
  color: var(--accent);
}

.badge-overdue {
  background: var(--red-bg);
  color: var(--red-text);
}

.td-muted {
  color: var(--text-secondary);
}

.td-amount {
  font-weight: 600;
}

/* ---------- Social proof ---------- */
.social {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding-top: 44px;
  padding-bottom: 44px;
  text-align: center;
}

.social .eyebrow {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.social-row {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 22px;
  font-size: 14px;
  color: var(--text-secondary);
}

.social-row .sep {
  color: var(--border);
}

/* ---------- Problem ---------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.problem-card {
  background: var(--red-bg);
  border: 1px solid var(--red-border);
  border-radius: 8px;
  padding: 28px;
}

.problem-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--red-border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--red-text);
}

.problem-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
}

.problem-card p {
  font-size: 15px;
  color: var(--text-secondary);
  margin-top: 10px;
  line-height: 1.65;
}

.transition {
  text-align: center;
  margin-top: 48px;
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 24px;
  color: var(--text);
}

/* ---------- Features ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
}

.feature-card {
  grid-column: span 2;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 28px;
}

.feature-card.bottom {
  grid-column: span 3;
}

.feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--accent-light);
  color: var(--accent);
  font-size: 19px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
}

.feature-card p {
  font-size: 15px;
  color: var(--text-secondary);
  margin-top: 10px;
  line-height: 1.65;
}

/* ---------- How it works ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
}

.steps::before {
  content: "";
  position: absolute;
  top: 30px;
  left: 16.66%;
  right: 16.66%;
  height: 1px;
  background: var(--border);
  z-index: 0;
}

.step {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 12px;
}

.step-num {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 48px;
  line-height: 1;
  color: var(--border);
  background: #fff;
  display: inline-block;
  padding: 0 14px;
}

.step h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  margin-top: 18px;
}

.step p {
  font-size: 15px;
  color: var(--text-secondary);
  margin-top: 8px;
  line-height: 1.6;
}

/* ---------- Pricing ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.price-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 32px 28px;
  position: relative;
}

.price-card.featured {
  border: 2px solid var(--accent);
  padding: 31px 27px;
}

.price-badge {
  position: absolute;
  top: -12px;
  left: 28px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--accent);
  background: var(--accent-light);
  padding: 5px 12px;
  border-radius: 999px;
}

.price-name {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
}

.price-amount {
  margin-top: 14px;
  color: var(--text);
}

.price-amount .num {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 40px;
  line-height: 1;
}

.price-amount .per {
  font-size: 15px;
  color: var(--text-muted);
}

.price-features {
  list-style: none;
  margin: 24px 0;
  padding: 24px 0 0;
  border-top: 1px solid var(--border);
}

.price-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.price-features .check {
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
  line-height: 1.6;
}

.price-card .btn {
  width: 100%;
  text-align: center;
}

/* ---------- Testimonials ---------- */
.testi-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 28px;
  display: flex;
  flex-direction: column;
}

.testi-quote {
  font-family: 'DM Serif Display', Georgia, serif;
  font-style: italic;
  font-size: 18px;
  line-height: 1.5;
  color: var(--text);
  flex: 1;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.testi-author .ava {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--accent-light);
  color: var(--accent);
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testi-author .name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.testi-author .org {
  font-size: 13px;
  color: var(--text-muted);
}

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  padding: 24px 4px;
  border-bottom: 1px solid var(--border);
}

.faq-item:first-child {
  padding-top: 0;
}

.faq-item h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
}

.faq-item p {
  font-size: 15px;
  color: var(--text-secondary);
  margin-top: 8px;
  line-height: 1.6;
}

/* ---------- Final CTA ---------- */
.final-cta {
  background: var(--accent);
  text-align: center;
}

.final-cta h2 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 42px;
  line-height: 1.2;
  color: #fff;
  max-width: 640px;
  margin: 0 auto;
}

.final-cta p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 16px;
}

.final-cta .btn {
  margin-top: 32px;
}

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--border);
  padding-top: 40px;
  padding-bottom: 40px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-left .wordmark {
  font-size: 18px;
}

.footer-copy {
  font-size: 13px;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 13px;
  color: var(--text-muted);
  transition: color 0.15s ease;
}

.footer-links a:hover {
  color: var(--text-secondary);
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .mockup-body {
    grid-template-columns: 160px 1fr;
  }
}

@media (max-width: 768px) {
  section {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .nav-links {
    display: none;
  }

  .hero h1 {
    font-size: 38px;
  }

  .section-head h2,
  .final-cta h2 {
    font-size: 30px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons .btn {
    text-align: center;
  }

  .grid-3,
  .pricing-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .steps::before {
    display: none;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .feature-card,
  .feature-card.bottom {
    grid-column: span 1;
  }

  .mockup-body {
    grid-template-columns: 1fr;
  }

  .mockup-sidebar {
    display: none;
  }

  .mockup-table th:nth-child(3),
  .mockup-table td:nth-child(3) {
    display: none;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 460px) {
  .hero h1 {
    font-size: 32px;
  }

  .mockup-main {
    padding: 16px;
  }
}
