:root {
  --ink: #16221f;
  --muted: #5d6964;
  --paper: #f8f5ef;
  --soft: #ece6dc;
  --green: #4e7a61;
  --green-dark: #315741;
  --blue: #243c5a;
  --gold: #b78b42;
  --white: #ffffff;
  --border: rgba(22, 34, 31, 0.14);
  --shadow: 0 18px 50px rgba(22, 34, 31, 0.12);
}

* {
  letter-spacing: 0;
}

body {
  color: var(--ink);
  background: var(--paper);
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
}

a {
  color: var(--green-dark);
}

.site-nav {
  background: rgba(248, 245, 239, 0.94);
  border-bottom: 1px solid rgba(22, 34, 31, 0.08);
  backdrop-filter: blur(12px);
}

.navbar-brand {
  color: var(--ink);
  font-weight: 800;
  font-size: 1.35rem;
}

.navbar-brand:hover,
.nav-link:hover,
.nav-link:focus {
  color: var(--green-dark);
}

.nav-link {
  color: var(--ink);
  font-weight: 600;
}

.navbar-toggler {
  border-color: var(--border);
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.15rem rgba(78, 122, 97, 0.25);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2822, 34, 31, 0.86%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.contact-link {
  border: 1px solid var(--green);
  border-radius: 999px;
  padding: 0.48rem 1rem !important;
  margin-left: 0.5rem;
}

.hero {
  position: relative;
  min-height: 86vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #1a2724;
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media {
  background-image: url("../assets/accounting-desk-hero.png");
  background-position: center;
  background-size: cover;
}

.hero-shade {
  background: linear-gradient(90deg, rgba(12, 24, 20, 0.86) 0%, rgba(12, 24, 20, 0.72) 38%, rgba(12, 24, 20, 0.2) 75%, rgba(12, 24, 20, 0.08) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-top: 6.5rem;
  padding-bottom: 5rem;
  color: var(--white);
}

.eyebrow {
  color: #d6bb80;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.eyebrow.dark {
  color: var(--green-dark);
}

h1,
h2,
h3 {
  font-weight: 800;
  line-height: 1.08;
}

h1 {
  max-width: 720px;
  font-size: clamp(2.45rem, 6vw, 4.6rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.1rem);
}

h3 {
  font-size: 1.2rem;
}

.lead {
  color: rgba(255, 255, 255, 0.86);
  max-width: 660px;
  font-size: 1.22rem;
  margin-top: 1.3rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.btn {
  border-radius: 6px;
  font-weight: 750;
}

.btn-primary {
  background: var(--green);
  border-color: var(--green);
}

.btn-primary:hover,
.btn-primary:focus {
  background: var(--green-dark);
  border-color: var(--green-dark);
}

.section {
  padding: 5.5rem 0;
}

.section-lead {
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.75;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.feature-card,
.education-card,
.info-panel,
.contact-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.feature-card {
  min-height: 230px;
  padding: 1.45rem;
}

.feature-card p,
.education-card p,
.info-panel p,
.timeline-item p {
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 0;
}

.feature-number {
  display: block;
  color: var(--gold);
  font-weight: 800;
  margin-bottom: 1.4rem;
}

.muted-section {
  background: var(--soft);
}

.info-panel {
  height: 100%;
  padding: 2rem;
}

.accent-panel {
  border-top: 5px solid var(--green);
}

.calendar-section {
  background: var(--paper);
}

.source-link {
  display: inline-block;
  border-bottom: 1px solid currentColor;
  margin-left: 1rem;
  padding-bottom: 0.15rem;
  font-weight: 700;
  text-decoration: none;
}

.timeline {
  display: grid;
  gap: 1rem;
}

.timeline-item {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 1.25rem;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.25rem;
}

.date-badge {
  display: grid;
  place-items: center;
  min-height: 74px;
  border-radius: 6px;
  color: var(--white);
  background: var(--blue);
  font-size: 1.35rem;
  font-weight: 850;
}

.contact-section {
  background: #fffdf8;
}

.contact-card {
  display: grid;
  gap: 0.4rem;
  padding: 2rem;
  font-style: normal;
}

.contact-card strong {
  font-size: 1.45rem;
}

.site-footer {
  padding: 1.6rem 0;
  color: rgba(255, 255, 255, 0.76);
  background: var(--ink);
}

.site-footer a {
  color: var(--white);
  font-weight: 700;
}

.subpage-header {
  padding: 9rem 0 5rem;
  color: var(--white);
  background: linear-gradient(120deg, #182521 0%, #315741 58%, #b78b42 130%);
}

.subpage-header h1 {
  max-width: 880px;
}

.education-card {
  min-height: 250px;
  padding: 1.8rem;
}

.check-list {
  display: grid;
  gap: 0.9rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 2rem;
  color: var(--muted);
  line-height: 1.65;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42rem;
  width: 0.78rem;
  height: 0.78rem;
  border-radius: 2px;
  background: var(--green);
}

.faq-accordion .accordion-item {
  border-color: var(--border);
  border-radius: 8px;
  margin-bottom: 0.8rem;
  overflow: hidden;
}

.faq-accordion .accordion-button {
  color: var(--ink);
  font-weight: 800;
  background: var(--white);
}

.faq-accordion .accordion-button:not(.collapsed) {
  color: var(--green-dark);
  background: #f4f0e8;
}

.accordion-body {
  color: var(--muted);
  line-height: 1.7;
}

@media (max-width: 991.98px) {
  .contact-link {
    display: inline-block;
    margin: 0.5rem 0 0;
  }

  .hero {
    min-height: auto;
  }

  .hero-shade {
    background: rgba(12, 24, 20, 0.76);
  }
}

@media (max-width: 767.98px) {
  .section {
    padding: 4rem 0;
  }

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

  .timeline-item {
    grid-template-columns: 1fr;
  }

  .date-badge {
    width: 92px;
  }

  .source-link {
    margin: 0.4rem 0.8rem 0 0;
  }
}
