:root {
  --paper: #fbfaf6;
  --paper-strong: #ffffff;
  --ink: #172322;
  --muted: #596965;
  --deep: #123936;
  --teal: #2f6f67;
  --teal-soft: #dfeee9;
  --sage: #eef5ef;
  --copper: #b86d3d;
  --line: #d9e0dc;
  --shadow: 0 20px 60px rgba(18, 57, 54, 0.14);
  --nav-height: 76px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  letter-spacing: 0;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

:focus-visible {
  outline: 3px solid rgba(184, 109, 61, 0.75);
  outline-offset: 3px;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 20;
  background: var(--paper-strong);
  color: var(--ink);
  padding: 10px 14px;
  border-radius: 6px;
  border: 1px solid var(--line);
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  min-height: var(--nav-height);
  background: rgba(251, 250, 246, 0.94);
  border-bottom: 1px solid rgba(23, 35, 34, 0.1);
  backdrop-filter: blur(18px);
}

.header-inner {
  min-height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: var(--deep);
  color: #f6eee6;
  font-weight: 800;
  font-size: 15px;
}

.brand-name,
.brand-line {
  display: block;
}

.brand-name {
  font-weight: 800;
  font-size: 18px;
}

.brand-line {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.25;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #30403d;
  font-size: 15px;
  font-weight: 700;
}

.site-nav a {
  padding: 8px 0;
}

.site-nav a:hover {
  color: var(--teal);
}

.site-nav .nav-cta {
  padding: 10px 16px;
  border-radius: 6px;
  color: #fff;
  background: var(--deep);
}

.site-nav .nav-cta:hover {
  background: var(--teal);
  color: #fff;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper-strong);
  padding: 10px;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: var(--deep);
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: calc(88vh - var(--nav-height));
  background-image:
    linear-gradient(90deg, rgba(18, 57, 54, 0.91) 0%, rgba(18, 57, 54, 0.78) 38%, rgba(18, 57, 54, 0.18) 70%, rgba(18, 57, 54, 0.04) 100%),
    url("assets/bookkeeping-hero.jpg");
  background-image:
    linear-gradient(90deg, rgba(18, 57, 54, 0.91) 0%, rgba(18, 57, 54, 0.78) 38%, rgba(18, 57, 54, 0.18) 70%, rgba(18, 57, 54, 0.04) 100%),
    image-set(
      url("assets/bookkeeping-hero.webp") type("image/webp"),
      url("assets/bookkeeping-hero.jpg") type("image/jpeg")
    );
  background-position: center;
  background-size: cover;
}

.hero-copy {
  padding: 86px 0 76px;
  color: #fff;
}

.eyebrow {
  margin: 0 0 16px;
  color: #f2c9aa;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

.hero h1 {
  max-width: 660px;
  margin: 0;
  font-size: 72px;
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 650px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 22px;
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 850;
  line-height: 1.2;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

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

.button-primary {
  background: var(--copper);
  color: #fff;
}

.button-primary:hover {
  background: #98562e;
}

.button-secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.08);
}

.button-secondary:hover {
  background: rgba(255, 255, 255, 0.16);
}

.proof-strip {
  background: var(--sage);
  border-top: 1px solid rgba(23, 35, 34, 0.08);
  border-bottom: 1px solid rgba(23, 35, 34, 0.08);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 22px 0;
}

.proof-grid div {
  min-width: 0;
}

.proof-grid strong,
.proof-grid span {
  display: block;
}

.proof-grid strong {
  color: var(--deep);
  font-size: 16px;
}

.proof-grid span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.section {
  padding: 86px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 36px;
}

.section-heading.compact {
  margin-bottom: 0;
}

h2,
h3,
p {
  overflow-wrap: anywhere;
}

h2 {
  margin: 0;
  color: var(--deep);
  font-size: 44px;
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  color: var(--ink);
  font-size: 21px;
  line-height: 1.25;
  letter-spacing: 0;
}

.section-heading p,
.about-copy p,
.pricing-copy p,
.contact-layout p {
  color: var(--muted);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service-card {
  min-height: 245px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper-strong);
  box-shadow: 0 12px 28px rgba(18, 57, 54, 0.07);
}

.service-kicker {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.service-card p {
  margin: 14px 0 0;
  color: var(--muted);
}

.band {
  background: var(--teal-soft);
}

.split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 52px;
  align-items: start;
}

.process-list {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-list li {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 18px;
  padding: 20px;
  border-radius: 8px;
  border: 1px solid rgba(18, 57, 54, 0.12);
  background: rgba(255, 255, 255, 0.64);
}

.process-list span {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 8px;
  background: var(--deep);
  color: #fff;
  font-weight: 900;
}

.process-list p {
  margin: 8px 0 0;
  color: var(--muted);
}

.about-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 58px;
  align-items: start;
}

.about-copy p:first-child {
  margin-top: 0;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  color: #2d3d39;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--copper);
  box-shadow: inset 0 0 0 4px #f6dac7;
}

.pricing-band {
  background: var(--deep);
  color: #fff;
}

.pricing-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: center;
}

.pricing-band h2 {
  color: #fff;
}

.pricing-copy p {
  color: rgba(255, 255, 255, 0.82);
}

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

details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper-strong);
}

summary {
  cursor: pointer;
  padding: 20px 22px;
  color: var(--deep);
  font-weight: 850;
}

details p {
  margin: 0;
  padding: 0 22px 22px;
  color: var(--muted);
}

.contact-section {
  background: var(--sage);
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 50px;
  align-items: start;
}

.contact-layout h2 {
  margin-bottom: 18px;
}

.contact-methods {
  display: grid;
  gap: 8px;
  margin-top: 28px;
  color: var(--deep);
  font-weight: 800;
}

.contact-methods span {
  color: var(--muted);
  font-size: 15px;
  font-weight: 650;
}

.consult-form {
  display: grid;
  gap: 16px;
  padding: 26px;
  border-radius: 8px;
  background: var(--paper-strong);
  box-shadow: var(--shadow);
}

.consult-form label {
  display: grid;
  gap: 7px;
  color: var(--deep);
  font-weight: 800;
  font-size: 14px;
}

.consult-form input,
.consult-form select,
.consult-form textarea {
  width: 100%;
  border: 1px solid #c8d4cf;
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  padding: 12px 13px;
}

.consult-form textarea {
  resize: vertical;
}

.form-button {
  width: 100%;
  border: 0;
  cursor: pointer;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.privacy-note {
  padding: 20px 0;
  background: #fff;
  border-top: 1px solid var(--line);
}

.privacy-note p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.site-footer {
  background: #111d1b;
  color: rgba(255, 255, 255, 0.84);
  padding: 34px 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.8fr 1fr;
  gap: 22px;
  align-items: center;
}

.footer-inner div:first-child strong,
.footer-inner div:first-child span {
  display: block;
}

.footer-inner strong {
  color: #fff;
}

.footer-inner span,
.footer-inner p {
  margin: 0;
  font-size: 14px;
}

#year {
  display: inline;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 14px;
  font-weight: 800;
}

.footer-links a:hover {
  color: #f2c9aa;
}

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

  .site-nav {
    position: absolute;
    left: 20px;
    right: 20px;
    top: calc(var(--nav-height) + 8px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--paper-strong);
    box-shadow: var(--shadow);
  }

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

  .site-nav a {
    padding: 12px;
  }

  .site-nav .nav-cta {
    text-align: center;
  }

  .hero {
    min-height: 610px;
    background-image:
      linear-gradient(90deg, rgba(18, 57, 54, 0.92) 0%, rgba(18, 57, 54, 0.8) 55%, rgba(18, 57, 54, 0.2) 100%),
      url("assets/bookkeeping-hero.jpg");
    background-image:
      linear-gradient(90deg, rgba(18, 57, 54, 0.92) 0%, rgba(18, 57, 54, 0.8) 55%, rgba(18, 57, 54, 0.2) 100%),
      image-set(
        url("assets/bookkeeping-hero.webp") type("image/webp"),
        url("assets/bookkeeping-hero.jpg") type("image/jpeg")
      );
  }

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

  .hero-lede {
    font-size: 20px;
  }

  .proof-grid,
  .service-grid,
  .split,
  .about-layout,
  .pricing-layout,
  .contact-layout,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .section-heading.compact {
    margin-bottom: 28px;
  }

  .service-card {
    min-height: auto;
  }
}

@media (max-width: 640px) {
  :root {
    --nav-height: 70px;
  }

  body {
    font-size: 16px;
  }

  .container {
    width: min(100% - 28px, 1120px);
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .brand-name {
    font-size: 16px;
  }

  .brand-line {
    display: none;
  }

  .hero {
    min-height: 575px;
    background-position: 60% center;
  }

  .hero-copy {
    padding: 58px 0 56px;
  }

  .hero h1 {
    font-size: 44px;
    max-width: 330px;
  }

  .hero-lede {
    max-width: 340px;
    font-size: 18px;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .section {
    padding: 64px 0;
  }

  h2 {
    font-size: 34px;
  }

  h3 {
    font-size: 20px;
  }

  .proof-grid {
    gap: 16px;
  }

  .process-list li {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    align-items: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}
