/* ============================================================
   Day Accounting — Site header, footer & page sections
   ============================================================ */

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(251, 250, 247, 0.86);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border-hairline);
}
.site-header__inner {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.site-header__logo { display: flex; align-items: center; }
.site-header__logo img { height: 48px; width: auto; }

.site-nav { display: flex; align-items: center; gap: 32px; }
.site-nav__link {
  font-family: var(--font-text);
  font-size: 14.5px;
  letter-spacing: 0.01em;
  font-weight: 500;
  color: var(--text-body);
  text-decoration: none;
}
.site-nav__link:hover { text-decoration: none; color: var(--brand); }
.site-nav__link.is-active { font-weight: 700; color: var(--brand-strong); }

.site-header__actions { display: flex; align-items: center; gap: 12px; }

.site-header__toggle {
  display: none;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1.5px solid var(--border-default);
  border-radius: var(--radius-md);
  color: var(--text-strong);
  cursor: pointer;
}
.site-header__toggle svg { width: 20px; height: 20px; }

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 2px;
  padding: 12px var(--gutter) 20px;
  border-bottom: 1px solid var(--border-hairline);
  background: var(--paper);
}
.mobile-nav__link {
  font-family: var(--font-text);
  font-size: 15px;
  font-weight: 500;
  color: var(--text-body);
  padding: 12px 4px;
  border-bottom: 1px solid var(--border-hairline);
}
.mobile-nav__link.is-active { color: var(--brand-strong); font-weight: 700; }
.mobile-nav .btn { margin-top: 14px; }

@media (max-width: 860px) {
  .site-nav { display: none; }
  .site-header__actions .btn { display: none; }
  .site-header__toggle { display: inline-flex; }
  .site-header.is-open .mobile-nav { display: flex; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--sage-950); color: var(--sage-200); }
.site-footer__inner { padding: clamp(48px, 6vw, 72px) var(--gutter) 32px; }
.site-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
}
.site-footer__brand img { height: 40px; width: auto; margin-bottom: 18px; }
.site-footer__brand p {
  font-family: var(--font-text);
  font-size: 13.5px;
  line-height: 1.6;
  max-width: 30ch;
  margin: 0;
}
.site-footer__heading {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage-300);
  margin-bottom: 16px;
}
.site-footer__links { display: flex; flex-direction: column; gap: 10px; }
.site-footer__links a,
.site-footer__col span {
  font-family: var(--font-text);
  font-size: 13.5px;
  color: var(--sage-200);
  text-decoration: none;
}
.site-footer__links a:hover { text-decoration: underline; }
.site-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 44px;
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.site-footer__bottom span,
.site-footer__bottom a {
  font-family: var(--font-text);
  font-size: 12.5px;
  color: var(--sage-300);
}
.site-footer__bottom a:hover { text-decoration: underline; }

@media (max-width: 760px) {
  .site-footer__grid { grid-template-columns: 1fr 1fr; row-gap: 32px; }
}
@media (max-width: 480px) {
  .site-footer__grid { grid-template-columns: 1fr; }
}

/* ---------- Shared section rhythm ---------- */
.section { padding: clamp(56px, 7vw, 96px) var(--gutter); }
.section-tight { padding: clamp(48px, 6vw, 84px) var(--gutter); }

.section--subtle { background: var(--bg-subtle); border-top: 1px solid var(--border-hairline); border-bottom: 1px solid var(--border-hairline); }
.section--dark { background: var(--surface-inverse); color: #fff; }

.eyebrow-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }

/* CTA banner (framed card used at the foot of several pages) */
.cta-banner-wrap { background: var(--bg-subtle); border-top: 1px solid var(--border-hairline); }
.cta-banner {
  border: 1.5px solid var(--keyline);
  border-radius: var(--radius-xl);
  background: var(--surface-card);
  padding: clamp(36px, 5vw, 64px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.cta-banner__copy { max-width: 34ch; }
.cta-banner h2 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(28px, 3.4vw, 40px);
  letter-spacing: -0.015em;
  color: var(--text-strong);
  margin: 14px 0 12px;
}
.cta-banner p { font-size: 16px; line-height: 1.6; color: var(--text-body); margin: 0; }

/* ============================================================
   HOME
   ============================================================ */
.home-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--paper) 0%, var(--bone) 100%);
}
.hero-frame {
  position: absolute;
  inset: 64px var(--gutter) 40px;
  border: 1.5px solid var(--sage-100);
  border-radius: var(--radius-lg);
  pointer-events: none;
}
.home-hero__inner {
  position: relative;
  padding: clamp(48px, 7vw, 104px) var(--gutter);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.home-hero h1 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(40px, 5.4vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--text-strong);
  margin: 20px 0 0;
}
.home-hero h1 em {
  font-style: normal;
  font-weight: 500;
  color: var(--brand);
}
.home-hero__lede {
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.6;
  color: var(--text-body);
  margin: 24px 0 0;
  max-width: 46ch;
}
.home-hero__actions { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.home-hero__trust { display: flex; align-items: center; gap: 18px; margin-top: 34px; }
.home-hero__trust-sep { width: 1px; height: 16px; background: var(--border-default); }
.home-hero__trust-text { font-size: 13.5px; color: var(--text-muted); }
.home-hero__trust-text b { color: var(--text-body); }

.home-hero__card {
  position: relative;
  background: var(--surface-card);
  border: 1.5px solid var(--keyline);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  box-shadow: var(--shadow-lg);
}
.home-hero__card-flair {
  position: absolute;
  top: -14px; right: -14px;
  width: 32px; height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--brass-100);
  border: 1.5px solid var(--surface-card);
  box-shadow: var(--shadow-sm);
}
.home-hero__card-flair svg { width: 16px; height: 16px; color: var(--brass-600); }
.home-hero__card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}
.home-hero__card-label {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 11px;
  color: var(--text-muted);
}
.home-hero__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.home-hero__ledger { margin-top: 12px; padding: var(--space-4); background: var(--bg-subtle); border-radius: var(--radius-md); }
.home-hero__ledger-row {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-body);
  padding: 4px 0;
}
.home-hero__ledger-row b { color: var(--text-strong); }
.home-hero__ledger-rule { height: 1px; background: var(--border-hairline); margin: 4px 0; }

.home-what {
  background: linear-gradient(180deg, var(--sage-50) 0%, var(--sage-100) 100%);
  border-top: 1px solid var(--border-hairline);
  border-bottom: 1px solid var(--border-hairline);
}
.home-what__lede { max-width: 620px; }
.home-what__lede h2 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(30px, 3.6vw, 44px);
  letter-spacing: -0.015em;
  color: var(--text-strong);
  margin: 16px 0 14px;
}
.home-what__lede p { font-size: 17px; line-height: 1.6; color: var(--text-body); margin: 0; }
.home-what__link { font-family: var(--font-text); font-size: 15px; font-weight: 600; color: var(--brand-strong); white-space: nowrap; }
.home-what__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }

.home-industries__row { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.home-industries__label {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
}
.home-industries__tags { display: flex; flex-wrap: wrap; gap: 8px; }

@media (max-width: 400px) {
  .home-industries__tags .badge { white-space: normal; text-align: left; }
}

.home-how h2 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(30px, 3.6vw, 44px);
  letter-spacing: -0.015em;
  color: #fff;
  margin: 16px 0 0;
}
.home-how__lede { max-width: 560px; }
.home-how__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 56px; }
.home-how__step { padding: 0 22px; border-left: 1.5px solid rgba(255, 255, 255, 0.14); }
.home-how__step:first-child { border-left: none; }
.home-how__num { font-family: var(--font-display); font-weight: 300; font-size: 40px; color: var(--sage-300); letter-spacing: 0.04em; }
.home-how__step h3 { font-family: var(--font-display); font-weight: 500; font-size: 19px; color: #fff; margin: 14px 0 8px; }
.home-how__step p { font-size: 14px; line-height: 1.6; color: var(--sage-200); margin: 0; }

.home-testimonials {
  position: relative;
  overflow: hidden;
  padding: clamp(64px, 8vw, 110px) var(--gutter);
  text-align: center;
}
.home-testimonials__mark {
  position: absolute;
  top: -36px; left: -16px;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 340px;
  line-height: 1;
  color: var(--brass-500);
  opacity: 0.08;
  pointer-events: none;
  z-index: 0;
  user-select: none;
}
.home-testimonials__inner { position: relative; z-index: 1; }
.home-testimonials__quote-mark { font-family: var(--font-display); font-weight: 300; font-size: 72px; line-height: 0.4; color: var(--sage-200); }
.home-testimonials__stage {
  min-height: 216px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.home-testimonials__quote {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(21px, 2.4vw, 30px);
  line-height: 1.38;
  letter-spacing: -0.01em;
  color: var(--text-strong);
  margin: 8px auto 0;
  max-width: 52ch;
  transition: opacity 450ms ease-in-out;
}
.home-testimonials__attribution {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
  transition: opacity 450ms ease-in-out;
}
.home-testimonials__name { font-family: var(--font-text); font-weight: 700; font-size: 15px; color: var(--text-strong); text-align: left; }
.home-testimonials__title { font-family: var(--font-text); font-size: 13.5px; color: var(--text-muted); text-align: left; }
.home-testimonials__dots { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 30px; }
.home-testimonials__dot {
  width: 8px; height: 8px;
  padding: 0; border: none;
  border-radius: 999px;
  background: var(--border-default);
  cursor: pointer;
  transition: all 300ms ease;
}
.home-testimonials__dot.is-active { width: 20px; background: var(--brand); }

@media (max-width: 760px) {
  .home-hero__inner { grid-template-columns: 1fr; }
  .home-hero__stats { grid-template-columns: 1fr; }
  .home-what__grid { grid-template-columns: 1fr; }
  .home-how__grid { grid-template-columns: 1fr; gap: 32px; margin-top: 36px; }
  .home-how__step { border-left: none; border-top: 1.5px solid rgba(255, 255, 255, 0.14); padding: 24px 0 0; }
  .home-how__step:first-child { border-top: none; padding-top: 0; }
}

/* ============================================================
   ABOUT
   ============================================================ */
.about-hero {
  padding: clamp(48px, 7vw, 96px) var(--gutter) clamp(48px, 6vw, 80px);
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.about-hero h1 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(34px, 4.4vw, 54px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--text-strong);
  margin: 18px 0 0;
}
.about-hero h1 em { font-style: normal; font-weight: 500; color: var(--brand); }
.about-hero p { font-size: 17px; line-height: 1.7; color: var(--text-body); margin: 24px 0 0; max-width: 52ch; }
.about-hero p + p { margin-top: 16px; }
.about-hero__badge { margin-top: 30px; }

.about-hero__portrait { position: relative; }
.about-hero__portrait-shape {
  position: absolute;
  top: -24px; left: -24px;
  width: 60%; height: 60%;
  background: var(--sage-100);
  border-radius: 20px;
  z-index: 0;
}
.about-hero__portrait img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: clamp(320px, 40vw, 400px);
  object-fit: cover;
  object-position: 50% 50%;
  display: block;
  border-radius: 20px;
}

.about-creds { background: var(--bg-subtle); border-top: 1px solid var(--border-hairline); border-bottom: 1px solid var(--border-hairline); }
.about-creds__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.about-creds h3 { font-family: var(--font-display); font-weight: 500; font-size: 18px; color: var(--text-strong); margin: 0 0 6px; }
.about-creds p { font-size: 14px; line-height: 1.55; color: var(--text-body); margin: 0; }

.about-how { margin-top: 36px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.about-how p { font-size: 16.5px; line-height: 1.75; color: var(--text-body); margin: 0; }

.about-quote { background: var(--sage-800); }
.about-quote__inner { text-align: center; }
.about-quote blockquote {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: #fff;
  margin: 0 auto;
  max-width: 26ch;
}
.about-quote blockquote em { font-style: normal; color: var(--sage-300); font-weight: 500; }
.about-quote__cite { font-family: var(--font-text); font-size: 14px; color: var(--sage-200); margin-top: 20px; }

@media (max-width: 760px) {
  .about-hero { grid-template-columns: 1fr; }
  .about-hero__portrait { order: -1; }
  .about-creds__grid { grid-template-columns: 1fr; }
  .about-how { grid-template-columns: 1fr; gap: 24px; }
}

/* ============================================================
   SERVICES
   ============================================================ */
.services-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--paper) 0%, var(--bone) 100%);
}
.services-hero__inner { position: relative; padding: clamp(56px, 7vw, 96px) var(--gutter) clamp(32px, 5vw, 56px); }
.services-hero h1 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(36px, 4.6vw, 58px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--text-strong);
  margin: 18px 0 0;
  max-width: 18ch;
}
.services-hero p { font-size: 18px; line-height: 1.6; color: var(--text-body); margin: 22px 0 0; max-width: 56ch; }

.services-grid-wrap { background: var(--sage-50); padding-top: clamp(32px, 4vw, 48px); }
.services-grid-wrap__inner { padding: 0 var(--gutter) clamp(56px, 7vw, 96px); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }

.services-tracks__lede { max-width: 620px; margin-bottom: 36px; }
.services-tracks__lede h2 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(28px, 3.4vw, 40px);
  letter-spacing: -0.015em;
  color: var(--text-strong);
  margin: 16px 0 0;
}
.services-tracks__panel {
  margin-top: 36px;
  background: var(--surface-card);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: clamp(28px, 4vw, 44px);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
}
.services-tracks__panel h3 { font-family: var(--font-display); font-weight: 500; font-size: 24px; color: var(--text-strong); margin: 0 0 12px; }
.services-tracks__panel > div > p { font-size: 15.5px; line-height: 1.65; color: var(--text-body); margin: 0; }
.services-tracks__list { border-left: 1.5px solid var(--border-hairline); padding-left: 36px; }
.services-tracks__list-items { display: flex; flex-direction: column; gap: 12px; }
.services-tracks__list-items[hidden] { display: none; }
.services-tracks__list-item { display: flex; align-items: flex-start; gap: 10px; }
.services-tracks__list-item svg { width: 18px; height: 18px; color: var(--brand); margin-top: 2px; flex-shrink: 0; }
.services-tracks__list-item span { font-size: 14.5px; color: var(--text-body); }
.services-tracks__best { font-size: 13.5px; color: var(--text-muted); margin: 8px 0 0; }
.services-tracks__best b { color: var(--text-body); }

.services-info { max-width: var(--container-lg); margin: 0 auto; padding: clamp(56px, 7vw, 88px) var(--gutter) 0; }

@media (max-width: 760px) {
  .services-grid { grid-template-columns: 1fr; }
  .services-tracks__panel { grid-template-columns: 1fr; }
  .services-tracks__list { border-left: none; padding-left: 0; border-top: 1.5px solid var(--border-hairline); padding-top: 24px; }
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-hero { background: var(--surface-inverse); }
.contact-hero__inner { padding: clamp(48px, 7vw, 88px) var(--gutter) clamp(40px, 6vw, 64px); }
.contact-hero h1 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(34px, 4.4vw, 54px);
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 18px 0 0;
}
.contact-hero p { font-size: 17px; line-height: 1.6; color: var(--sage-200); margin: 20px 0 0; max-width: 56ch; }

.contact-book {
  max-width: var(--container-lg);
  margin: 0 auto;
  padding: clamp(56px, 7vw, 96px) var(--gutter) clamp(56px, 7vw, 88px);
  scroll-margin-top: 96px;
}
.contact-book__grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 20px; align-items: stretch; }
.contact-book__primary {
  border: 1.5px solid var(--keyline);
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, var(--sage-50) 0%, var(--surface-card) 65%);
  padding: clamp(32px, 4vw, 48px);
  box-shadow: var(--shadow-md);
}
.contact-book__primary h2 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(26px, 3vw, 34px);
  letter-spacing: -0.015em;
  color: var(--text-strong);
  margin: 14px 0 12px;
}
.contact-book__primary p { font-size: 15.5px; line-height: 1.65; color: var(--text-body); margin: 0 0 26px; max-width: 44ch; }
.contact-book__fine { font-size: 13px; color: var(--text-muted); margin: 14px 0 0; }

.contact-book__secondary {
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  background: var(--surface-card);
  box-shadow: var(--shadow-xs);
  padding: clamp(28px, 3.4vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 22px;
  justify-content: center;
}
.contact-book__secondary-label {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.contact-book__row { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.contact-book__row-icon {
  width: 38px; height: 38px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--radius-md);
  background: var(--sage-50);
  border: 1.5px solid var(--sage-100);
}
.contact-book__row-icon svg { width: 17px; height: 17px; color: var(--brand); }
.contact-book__row-text { font-size: 15px; color: var(--text-strong); font-weight: 600; }

.contact-form-wrap { background: var(--bg-subtle); border-top: 1px solid var(--border-hairline); border-bottom: 1px solid var(--border-hairline); }
.contact-form-panel {
  margin-top: 36px;
  background: var(--surface-card);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: clamp(28px, 4vw, 44px);
}
.contact-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.contact-form__row + .contact-form__row { margin-top: 20px; }
.contact-form__field-block { margin-top: 20px; }
.contact-form__footer { display: flex; align-items: center; gap: 16px; margin-top: 24px; flex-wrap: wrap; }
.contact-form__footer span { font-size: 13px; color: var(--text-muted); }

@media (max-width: 760px) {
  .contact-book__grid { grid-template-columns: 1fr; }
  .contact-form__row { grid-template-columns: 1fr; }
}

/* ============================================================
   LEGAL (Privacy / Terms)
   ============================================================ */
.legal-section { max-width: var(--container-md); margin: 0 auto; padding: clamp(56px, 7vw, 96px) var(--gutter) clamp(64px, 8vw, 100px); }
.legal-section h1 { font-family: var(--font-display); font-weight: 300; font-size: clamp(34px, 4.4vw, 48px); letter-spacing: -0.02em; color: var(--text-strong); margin: 0; }
.legal-section__updated { font-size: 14px; color: var(--text-muted); margin: 14px 0 0; }
.legal-section p { font-size: 16.5px; line-height: 1.75; color: var(--text-body); margin: 0; }
.legal-section p.legal-lede { margin-top: 36px; }
.legal-section h2 { font-family: var(--font-display); font-weight: 500; font-size: 22px; color: var(--text-strong); margin: 36px 0 12px; }
.legal-section h2:first-of-type { margin-top: 44px; }
.legal-section a { color: var(--text-link); }
