/* ============================================
   Buchholz Ledger Co. — Design System
   Shared styles for all pages except landing
   ============================================ */

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

:root {
  --forest: #1a3a2a;
  --sage: #4a7c5c;
  --wheat: #e8dcc8;
  --cream: #f5f0e8;
  --warm-white: #faf8f4;
  --bark: #3d2e1f;
  --gold: #c49a3c;
  --text: #2c2418;
  --text-light: #6b5d4d;
  --error: #c44a3c;
  --success: #3c7c4a;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: var(--warm-white);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'DM Serif Display', serif;
  letter-spacing: -0.01em;
}

a { color: var(--sage); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--forest); }

/* ---- NAV ---- */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  padding: 1.25rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(250, 248, 244, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(26, 58, 42, 0.08);
}

.nav-brand {
  font-family: 'DM Serif Display', serif;
  font-size: 1.25rem;
  color: var(--forest);
  text-decoration: none;
  letter-spacing: -0.01em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-light);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--forest);
}

.nav-cta {
  background: var(--forest) !important;
  color: var(--cream) !important;
  padding: 0.6rem 1.25rem !important;
  border-radius: 3px;
  font-weight: 600 !important;
  font-size: 0.85rem !important;
  transition: background 0.2s !important;
}

.nav-cta:hover {
  background: var(--sage) !important;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--forest);
  margin: 5px 0;
  transition: 0.3s;
}

/* ---- PAGE HERO ---- */
.page-hero {
  padding: 10rem 2rem 5rem;
  background: linear-gradient(165deg, var(--warm-white) 0%, var(--cream) 40%, var(--wheat) 100%);
  position: relative;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: radial-gradient(ellipse at 80% 30%, rgba(74, 124, 92, 0.06) 0%, transparent 60%);
  pointer-events: none;
}

.page-hero-inner {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.page-hero-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 1.5rem;
  padding: 0.5rem 1rem;
  border: 1px solid rgba(74, 124, 92, 0.25);
  border-radius: 2px;
}

.page-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  line-height: 1.15;
  color: var(--forest);
  margin-bottom: 1.25rem;
}

.page-hero h1 em {
  font-style: italic;
  color: var(--sage);
}

.page-hero p {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 600px;
  line-height: 1.7;
}

/* ---- DIVIDER ---- */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(26, 58, 42, 0.12), transparent);
}

/* ---- SECTIONS ---- */
.section {
  padding: 5rem 2rem;
}

.section--cream { background: var(--cream); }
.section--white { background: var(--warm-white); }
.section--dark { background: var(--forest); color: var(--cream); }

.section-inner {
  max-width: 900px;
  margin: 0 auto;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.section h2 {
  font-size: 2rem;
  color: var(--forest);
  line-height: 1.2;
  margin-bottom: 2rem;
}

.section--dark h2 {
  color: var(--wheat);
}

.section-text {
  font-size: 1.02rem;
  color: var(--text-light);
  line-height: 1.8;
  max-width: 700px;
  margin-bottom: 2rem;
}

/* ---- FEATURE CARDS ---- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.feature-card {
  padding: 2rem;
  background: var(--cream);
  border-radius: 3px;
  border: 1px solid rgba(26, 58, 42, 0.06);
  transition: border-color 0.2s;
}

.feature-card:hover {
  border-color: rgba(74, 124, 92, 0.2);
}

.feature-card h3 {
  font-size: 1.1rem;
  color: var(--forest);
  margin-bottom: 0.75rem;
}

.feature-card p {
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* ---- CHECKLIST ---- */
.checklist {
  list-style: none;
  padding: 0;
  columns: 2;
  column-gap: 3rem;
}

.checklist li {
  padding: 0.6rem 0;
  padding-left: 1.75rem;
  position: relative;
  font-size: 0.95rem;
  color: var(--text);
  break-inside: avoid;
}

.checklist li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--sage);
  font-weight: 700;
}

/* ---- AUDIENCE ---- */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.audience-item {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--warm-white);
  border: 1px solid rgba(26, 58, 42, 0.08);
  border-radius: 3px;
}

.audience-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
  display: block;
}

.audience-item h4 {
  font-size: 0.95rem;
  color: var(--forest);
  margin-bottom: 0.4rem;
}

.audience-item p {
  font-size: 0.82rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* ---- OTHER SERVICES NAV ---- */
.other-services {
  padding: 4rem 2rem;
  background: var(--forest);
  position: relative;
}

.other-services::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 20% 80%, rgba(74, 124, 92, 0.25) 0%, transparent 50%);
  pointer-events: none;
}

.other-services-inner {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.other-services h2 {
  font-family: 'DM Serif Display', serif;
  color: var(--wheat);
  font-size: 1.5rem;
  margin-bottom: 2rem;
}

.other-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.other-service-card {
  display: block;
  padding: 1.75rem;
  border: 1px solid rgba(232, 220, 200, 0.12);
  border-radius: 3px;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
  background: rgba(232, 220, 200, 0.03);
}

.other-service-card:hover {
  border-color: rgba(232, 220, 200, 0.3);
  background: rgba(232, 220, 200, 0.06);
}

.other-service-card h3 {
  font-size: 1.05rem;
  color: var(--wheat);
  margin-bottom: 0.5rem;
}

.other-service-card p {
  font-size: 0.82rem;
  color: rgba(232, 220, 200, 0.6);
  line-height: 1.6;
}

/* ---- PRICING ---- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.pricing-card {
  padding: 2.5rem 2rem;
  background: var(--warm-white);
  border: 1px solid rgba(26, 58, 42, 0.1);
  border-radius: 3px;
  display: flex;
  flex-direction: column;
}

.pricing-card.featured {
  border: 2px solid var(--sage);
  position: relative;
}

.pricing-card.featured::before {
  content: 'Most Popular';
  position: absolute;
  top: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--sage);
  color: white;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 1rem;
  border-radius: 2px;
  white-space: nowrap;
}

.pricing-tier {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.pricing-card h3 {
  font-size: 1.25rem;
  color: var(--forest);
  margin-bottom: 0.75rem;
}

.pricing-price {
  font-family: 'DM Serif Display', serif;
  font-size: 2.5rem;
  color: var(--forest);
  line-height: 1.1;
  margin-bottom: 0.25rem;
}

.pricing-price span {
  font-size: 1rem;
  color: var(--text-light);
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.pricing-desc {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(26, 58, 42, 0.08);
}

.pricing-card ul {
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.pricing-card li {
  padding: 0.45rem 0;
  padding-left: 1.5rem;
  position: relative;
  font-size: 0.88rem;
  color: var(--text);
}

.pricing-card li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--sage);
  font-weight: 700;
}

/* ---- PRICING TABLE ---- */
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1.5rem;
}

.pricing-table th {
  text-align: left;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-light);
  padding: 0.75rem 1rem;
  border-bottom: 2px solid rgba(26, 58, 42, 0.12);
}

.pricing-table td {
  padding: 0.85rem 1rem;
  font-size: 0.92rem;
  border-bottom: 1px solid rgba(26, 58, 42, 0.06);
  color: var(--text);
}

.pricing-table td:last-child {
  font-weight: 600;
  color: var(--forest);
  text-align: right;
}

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

/* ---- FAQ ---- */
.faq-list {
  max-width: 700px;
}

.faq-item {
  border-bottom: 1px solid rgba(26, 58, 42, 0.08);
  padding: 1.5rem 0;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-item h3 {
  font-size: 1.05rem;
  color: var(--forest);
  margin-bottom: 0.5rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
}

.faq-item p {
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 3px;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  font-family: 'Plus Jakarta Sans', sans-serif;
  text-align: center;
}

.btn-primary {
  background: var(--forest);
  color: var(--cream);
}

.btn-primary:hover {
  background: var(--sage);
  color: var(--cream);
}

.btn-outline {
  background: transparent;
  color: var(--forest);
  border: 1.5px solid var(--forest);
}

.btn-outline:hover {
  background: var(--forest);
  color: var(--cream);
}

.btn-light {
  background: var(--wheat);
  color: var(--forest);
}

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

.btn-block {
  display: block;
  width: 100%;
}

/* ---- CTA SECTION ---- */
.cta-section {
  padding: 5rem 2rem;
  background: linear-gradient(175deg, var(--warm-white) 0%, var(--wheat) 100%);
  text-align: center;
}

.cta-inner {
  max-width: 600px;
  margin: 0 auto;
}

.cta-section h2 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: var(--forest);
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.cta-section p {
  font-size: 1.05rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  line-height: 1.7;
}

/* ---- FORM ---- */
.form-section {
  padding: 5rem 2rem;
  background: var(--cream);
}

.form-layout {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: start;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  font-size: 0.95rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  border: 1px solid rgba(26, 58, 42, 0.15);
  border-radius: 3px;
  background: var(--warm-white);
  color: var(--text);
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(74, 124, 92, 0.08);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b5d4d' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-sidebar {
  padding: 2.5rem;
  background: var(--forest);
  border-radius: 3px;
  color: var(--cream);
}

.form-sidebar h3 {
  font-family: 'DM Serif Display', serif;
  color: var(--wheat);
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

.form-sidebar p {
  font-size: 0.9rem;
  color: rgba(232, 220, 200, 0.7);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.sidebar-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.sidebar-icon {
  font-size: 1.1rem;
  margin-top: 0.15rem;
  flex-shrink: 0;
}

.sidebar-detail strong {
  display: block;
  font-size: 0.88rem;
  color: var(--wheat);
  margin-bottom: 0.15rem;
}

.sidebar-detail span {
  font-size: 0.78rem;
  color: rgba(232, 220, 200, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ---- ALERTS ---- */
.alert {
  padding: 1rem 1.5rem;
  border-radius: 3px;
  margin-bottom: 1.5rem;
  font-size: 0.92rem;
  display: none;
}

.alert.show { display: block; }

.alert-success {
  background: rgba(60, 124, 74, 0.1);
  border: 1px solid rgba(60, 124, 74, 0.2);
  color: #1a5c2a;
}

.alert-error {
  background: rgba(196, 74, 60, 0.1);
  border: 1px solid rgba(196, 74, 60, 0.2);
  color: var(--error);
}

/* ---- FOOTER ---- */
footer {
  padding: 2.5rem 2rem;
  background: var(--bark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-brand {
  font-family: 'DM Serif Display', serif;
  color: var(--wheat);
  font-size: 1rem;
  text-decoration: none;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 0.82rem;
  color: rgba(232, 220, 200, 0.6);
  text-decoration: none;
  transition: color 0.2s;
}

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

.footer-info {
  font-size: 0.8rem;
  color: rgba(232, 220, 200, 0.5);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  nav { padding: 1rem 1.25rem; }

  .nav-links {
    display: none;
  }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(250, 248, 244, 0.98);
    backdrop-filter: blur(12px);
    padding: 1.25rem;
    border-bottom: 1px solid rgba(26, 58, 42, 0.08);
    gap: 0.75rem;
  }

  .nav-toggle { display: block; }

  .page-hero { padding: 7rem 1.25rem 3rem; }

  .feature-grid { grid-template-columns: 1fr; }
  .audience-grid { grid-template-columns: 1fr; }
  .other-services-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .form-layout { grid-template-columns: 1fr; gap: 2rem; }
  .form-row { grid-template-columns: 1fr; }
  .checklist { columns: 1; }

  .section { padding: 3rem 1.25rem; }
  .cta-section { padding: 3.5rem 1.25rem; }
  .form-section { padding: 3rem 1.25rem; }
  .other-services { padding: 3rem 1.25rem; }

  footer {
    flex-direction: column;
    text-align: center;
    padding: 2rem 1.25rem;
  }

  .footer-links { justify-content: center; }

  .pricing-table { font-size: 0.85rem; }
  .pricing-table th, .pricing-table td { padding: 0.65rem 0.5rem; }
}

@media (max-width: 480px) {
  .page-hero h1 { font-size: 2rem; }
  .pricing-price { font-size: 2rem; }
}
