:root {
  --ink: #14221f;
  --muted: #60706b;
  --paper: #f4efe6;
  --cream: #fffaf1;
  --white: #ffffff;
  --pine: #113f3a;
  --pine-2: #1c5a52;
  --moss: #6f8670;
  --clay: #b96444;
  --gold: #d9b35f;
  --blueprint: #e8eee8;
  --line: rgba(20, 34, 31, 0.14);
  --shadow: 0 28px 80px rgba(17, 63, 58, 0.18);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.55;
}

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

a {
  color: inherit;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.wrap,
.nav,
.firm-nav {
  width: min(1140px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: rgba(244, 239, 230, 0.92);
  backdrop-filter: blur(16px);
}

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

.brand,
.firm-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 850;
  letter-spacing: -0.02em;
}

.brand-mark {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 2.4rem;
  font-weight: 900;
  line-height: 0.85;
}

.nav-links,
.firm-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 0.92rem;
}

.nav-links a,
.firm-links a {
  text-decoration: none;
}

.button,
.firm-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--pine);
  border-radius: 4px;
  background: var(--pine);
  color: var(--white);
  text-decoration: none;
  font-weight: 800;
  box-shadow: 0 16px 34px rgba(17, 63, 58, 0.18);
}

.button.secondary,
.firm-button.ghost {
  background: transparent;
  color: var(--pine);
  box-shadow: none;
}

.button.light {
  background: var(--cream);
  border-color: var(--cream);
  color: var(--pine);
}

.button.secondary.light {
  background: transparent;
  color: var(--cream);
  border-color: rgba(255, 250, 241, 0.72);
}

.eyebrow,
.firm-eyebrow {
  margin: 0 0 16px;
  color: var(--clay);
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.offer-hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(115deg, rgba(17, 63, 58, 0.96), rgba(17, 63, 58, 0.78) 43%, rgba(185, 100, 68, 0.1)),
    url("/assets/templates/accountants-hero.jpg") center / cover;
  color: var(--cream);
}

.offer-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 34%;
  background: linear-gradient(0deg, var(--paper), rgba(244, 239, 230, 0));
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(1140px, calc(100% - 32px));
  min-height: calc(100vh - 74px);
  margin: 0 auto;
  padding: 92px 0 136px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.72fr);
  gap: 54px;
  align-items: end;
}

.hero-copy-block h1 {
  max-width: 810px;
  margin-bottom: 22px;
  font-family: var(--serif);
  font-size: clamp(3.15rem, 7.5vw, 6.8rem);
  line-height: 0.94;
  letter-spacing: -0.02em;
}

.hero-copy {
  max-width: 690px;
  color: rgba(255, 250, 241, 0.86);
  font-size: clamp(1.05rem, 1.8vw, 1.26rem);
}

.hero-actions,
.firm-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.audit-ledger {
  transform: rotate(-1.5deg);
  padding: 24px;
  background: rgba(255, 250, 241, 0.94);
  color: var(--ink);
  border: 1px solid rgba(255, 250, 241, 0.72);
  box-shadow: var(--shadow);
}

.ledger-head,
.sheet-top,
.board-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
  color: var(--muted);
  font-size: 0.84rem;
}

.ledger-head strong,
.sheet-top b,
.board-head b {
  color: var(--clay);
}

.ledger-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 20px;
  background: var(--line);
  border: 1px solid var(--line);
}

.ledger-grid div {
  min-height: 120px;
  padding: 18px;
  background: var(--cream);
}

.ledger-grid span,
.ledger-note span {
  display: block;
  color: var(--muted);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ledger-grid b {
  display: block;
  margin-top: 20px;
  color: var(--pine);
  font-family: var(--serif);
  font-size: 3rem;
  line-height: 1;
}

.ledger-note {
  margin-top: 20px;
  padding: 18px;
  background: var(--pine);
  color: var(--cream);
}

.ledger-note p {
  margin: 8px 0 0;
  color: rgba(255, 250, 241, 0.84);
}

.insight-strip {
  border-block: 1px solid var(--line);
  background: var(--cream);
}

.insight-strip .wrap {
  display: grid;
  grid-template-columns: 0.8fr 1.1fr 0.7fr;
  gap: 1px;
  background: var(--line);
}

.insight-strip span {
  min-height: 104px;
  display: grid;
  align-items: center;
  padding: 22px;
  background: var(--cream);
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2vw, 1.7rem);
  line-height: 1.12;
}

.section {
  padding: 92px 0;
}

.section-head {
  max-width: 760px;
}

.section-head h2,
.section-head h1,
.offer-layout h2,
.demo-copy-panel h2,
.process-section h2,
.cta-band h2 {
  margin-bottom: 16px;
  font-family: var(--serif);
  font-size: clamp(2.25rem, 5vw, 4.4rem);
  line-height: 1;
  letter-spacing: -0.02em;
}

.section-head p,
.offer-layout p,
.demo-copy-panel p {
  color: var(--muted);
  font-size: 1.08rem;
}

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

.diagnosis-list {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.diagnosis-list article {
  display: grid;
  grid-template-columns: 72px 0.75fr 1fr;
  gap: 20px;
  align-items: baseline;
  padding: 24px;
  background: var(--cream);
}

.diagnosis-list span,
.step span {
  color: var(--clay);
  font-weight: 900;
}

.diagnosis-list strong {
  font-family: var(--serif);
  font-size: 1.65rem;
  line-height: 1;
}

.diagnosis-list p,
.step p,
.check-list,
.fine-print {
  margin-bottom: 0;
  color: var(--muted);
}

.offer-section {
  background: var(--blueprint);
  border-block: 1px solid var(--line);
}

.offer-layout,
.demo-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1fr);
  gap: 54px;
  align-items: center;
}

.price-card {
  padding: 32px;
  background: var(--pine);
  color: var(--cream);
  box-shadow: var(--shadow);
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 16px;
}

.price-row span {
  font-family: var(--serif);
  font-size: clamp(4rem, 9vw, 7rem);
  line-height: 0.9;
}

.price-row s {
  color: rgba(255, 250, 241, 0.55);
  font-weight: 850;
}

.price-card p,
.price-card li {
  color: rgba(255, 250, 241, 0.84);
}

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

.check-list li {
  position: relative;
  padding-left: 25px;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.64em;
  width: 10px;
  height: 10px;
  background: var(--gold);
}

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

.demo-copy-panel {
  max-width: 540px;
}

.demo-copy-panel .button {
  margin-top: 20px;
}

.demo-sheet {
  display: block;
  min-height: 430px;
  padding: 26px;
  color: var(--ink);
  text-decoration: none;
  background:
    linear-gradient(rgba(255, 250, 241, 0.92), rgba(255, 250, 241, 0.92)),
    repeating-linear-gradient(0deg, transparent 0 47px, rgba(20, 34, 31, 0.08) 48px),
    repeating-linear-gradient(90deg, transparent 0 95px, rgba(20, 34, 31, 0.08) 96px);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transform: rotate(1deg);
}

.sheet-columns {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: 26px;
  margin-top: 44px;
}

.sheet-columns small {
  color: var(--clay);
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.sheet-columns strong {
  display: block;
  margin-top: 12px;
  font-family: var(--serif);
  font-size: clamp(2.2rem, 5vw, 4.6rem);
  line-height: 0.95;
}

.sheet-stack {
  display: grid;
  gap: 12px;
  align-content: start;
}

.sheet-stack span,
.sheet-footer span {
  padding: 14px;
  background: var(--white);
  border-left: 4px solid var(--moss);
}

.sheet-footer {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 40px;
  font-size: 0.86rem;
  color: var(--muted);
}

.process-section {
  background: var(--cream);
  border-top: 1px solid var(--line);
}

.process {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.step {
  min-height: 240px;
  padding: 24px;
  background: var(--cream);
}

.step h3 {
  margin: 38px 0 10px;
  font-family: var(--serif);
  font-size: 1.8rem;
  line-height: 1;
}

.cta-band {
  padding: 64px 0;
  background: var(--clay);
  color: var(--cream);
}

.cta-band .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

.cta-band p {
  max-width: 680px;
  margin-bottom: 0;
  color: rgba(255, 250, 241, 0.84);
}

.site-footer,
.firm-footer {
  padding: 32px 112px 32px 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer .wrap,
.firm-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.site-footer a,
.firm-footer a {
  margin-right: auto;
}

/* Oak & Ledger demo */

.oak-page {
  --oak-ink: #18211e;
  --oak-muted: #62716b;
  --oak-paper: #f6f3ea;
  --oak-cream: #fffdf6;
  --oak-green: #173f35;
  --oak-green-2: #285c4e;
  --oak-brass: #b98d3f;
  --oak-line: rgba(24, 33, 30, 0.14);
  background: var(--oak-paper);
  color: var(--oak-ink);
}

.demo-disclosure {
  padding: 9px 16px;
  background: var(--oak-green);
  color: rgba(255, 253, 246, 0.82);
  font-size: 0.82rem;
  text-align: center;
}

.firm-header {
  position: sticky;
  top: 0;
  z-index: 9;
  border-bottom: 1px solid var(--oak-line);
  background: rgba(246, 243, 234, 0.94);
  backdrop-filter: blur(16px);
}

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

.firm-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--oak-green);
  color: var(--oak-green);
  font-family: var(--serif);
  font-weight: 900;
}

.firm-button {
  border-color: var(--oak-green);
  background: var(--oak-green);
  color: var(--oak-cream);
  box-shadow: none;
}

.firm-button.ghost {
  color: var(--oak-green);
  border-color: var(--oak-line);
}

.firm-hero {
  width: min(1180px, calc(100% - 32px));
  min-height: calc(100vh - 112px);
  margin: 0 auto;
  padding: 86px 0 64px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.86fr);
  gap: 52px;
  align-items: center;
}

.firm-hero h1 {
  max-width: 760px;
  margin-bottom: 20px;
  font-family: var(--serif);
  font-size: clamp(3.5rem, 9vw, 8rem);
  line-height: 0.88;
  letter-spacing: -0.04em;
}

.firm-hero p {
  max-width: 640px;
  color: var(--oak-muted);
  font-size: clamp(1.06rem, 2vw, 1.25rem);
}

.firm-eyebrow {
  color: var(--oak-brass);
}

.finance-board {
  padding: 28px;
  background: var(--oak-cream);
  border: 1px solid var(--oak-line);
  box-shadow: 24px 24px 0 rgba(23, 63, 53, 0.08);
}

.board-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 24px;
  background: var(--oak-line);
  border: 1px solid var(--oak-line);
}

.board-kpis div {
  min-height: 132px;
  padding: 18px;
  background: var(--oak-cream);
}

.board-kpis span,
.board-table span {
  display: block;
  color: var(--oak-muted);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.board-kpis strong {
  display: block;
  margin-top: 28px;
  color: var(--oak-green);
  font-family: var(--serif);
  font-size: 2.7rem;
  line-height: 1;
}

.board-table {
  margin-top: 20px;
  border-top: 1px solid var(--oak-line);
}

.board-table div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 15px 0;
  border-bottom: 1px solid var(--oak-line);
}

.firm-trust-bar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 36px;
  border: 1px solid var(--oak-line);
  background: var(--oak-line);
  gap: 1px;
}

.firm-trust-bar span {
  padding: 20px;
  background: var(--oak-cream);
  color: var(--oak-green);
  font-weight: 800;
}

.firm-section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 82px 0;
}

.firm-section-head {
  max-width: 780px;
  margin-bottom: 34px;
}

.firm-section-head h2,
.firm-cta h2 {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
}

.service-ledger {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--oak-line);
}

.service-ledger article {
  min-height: 330px;
  padding: 28px;
  border-right: 1px solid var(--oak-line);
  background: linear-gradient(180deg, var(--oak-cream), rgba(255, 253, 246, 0.5));
}

.service-ledger article:last-child {
  border-right: 0;
}

.service-ledger span {
  color: var(--oak-brass);
  font-weight: 900;
}

.service-ledger h3 {
  margin: 90px 0 12px;
  font-family: var(--serif);
  font-size: 2rem;
  line-height: 1;
}

.service-ledger p,
.proof-grid p,
.process-ledger p,
.firm-cta p {
  color: var(--oak-muted);
}

.proof-section {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: start;
  border-block: 1px solid var(--oak-line);
}

.proof-quote blockquote {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1.1;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--oak-line);
  border: 1px solid var(--oak-line);
}

.proof-grid article {
  min-height: 180px;
  padding: 22px;
  background: var(--oak-cream);
}

.proof-grid strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.06rem;
}

.process-ledger ol {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  background: var(--oak-line);
  border: 1px solid var(--oak-line);
}

.process-ledger li {
  min-height: 220px;
  padding: 24px;
  background: var(--oak-cream);
}

.process-ledger span {
  display: block;
  margin-bottom: 46px;
  color: var(--oak-green);
  font-family: var(--serif);
  font-size: 1.75rem;
}

.firm-cta {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 72px;
  padding: 46px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
  background: var(--oak-green);
  color: var(--oak-cream);
}

.firm-cta p {
  max-width: 690px;
  color: rgba(255, 253, 246, 0.8);
}

.firm-cta .firm-button {
  background: var(--oak-cream);
  border-color: var(--oak-cream);
  color: var(--oak-green);
}

.firm-footer {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

@media (max-width: 900px) {
  .nav,
  .firm-nav {
    min-height: auto;
    padding: 14px 0;
    align-items: flex-start;
  }

  .nav-links,
  .firm-links {
    display: none;
  }

  .hero-inner,
  .asym,
  .offer-layout,
  .demo-layout,
  .firm-hero,
  .proof-section,
  .firm-cta {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    min-height: auto;
    padding: 66px 0 96px;
  }

  .audit-ledger,
  .demo-sheet {
    transform: none;
  }

  .insight-strip .wrap,
  .process,
  .firm-trust-bar,
  .service-ledger,
  .proof-grid,
  .process-ledger ol,
  .sheet-columns,
  .sheet-footer {
    grid-template-columns: 1fr;
  }

  .diagnosis-list article {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .process {
    gap: 0;
  }

  .button,
  .firm-button {
    width: 100%;
  }

  .cta-band .wrap {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer,
  .firm-footer {
    padding: 28px 92px 96px 0;
  }

  .service-ledger article {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--oak-line);
  }

  .service-ledger h3 {
    margin-top: 42px;
  }
}
