/* Mountainview Accounting & Finance Solutions */
:root {
  --forest-900: #143326;
  --forest-800: #1A3D2D;
  --forest-700: #1F4A36;
  --forest-600: #20493A;
  --forest-100: #E8EEE9;
  --brass: #E3B866;
  --brass-ink: #8A5A1C;
  --ivory: #F6F4EE;
  --paper: #FFFFFF;
  --ink: #16241D;
  --muted: #5A6360;
  --mist: #C9D3CC;
  --line: #E4E0D5;
  --field: #CFCABD;
  --serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --sans: 'Public Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --gutter: max(24px, calc((100% - 1200px) / 2));
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--ivory); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: var(--forest-700); }
a:hover { color: var(--forest-900); }
h1, h2, h3 { margin: 0; text-wrap: balance; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--brass); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -48px; z-index: 100; padding: 10px 16px; background: var(--paper); color: var(--ink); border-radius: 8px; font-weight: 600; }
.skip-link:focus { top: 12px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 26px; border-radius: 8px; font: 600 16px/1 var(--sans); text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s; }
.btn-brass { background: var(--brass); color: var(--forest-900); }
.btn-brass:hover { background: #EDC77E; color: var(--forest-900); }
.btn-forest { background: var(--forest-700); color: #fff; }
.btn-forest:hover { background: var(--forest-900); color: #fff; }
.btn-outline { border-color: var(--forest-700); color: var(--forest-700); background: transparent; }
.btn-outline:hover { background: var(--forest-100); color: var(--forest-900); }
.btn-ghost-light { border-color: rgba(246,244,238,.45); color: var(--ivory); background: transparent; }
.btn-ghost-light:hover { background: rgba(246,244,238,.08); color: #fff; }
.btn-lg { min-height: 56px; padding: 0 28px; }
.btn-block { width: 100%; }

/* Utility bar */
.utility { background: var(--forest-900); color: var(--mist); font-size: 13px; }
.utility .inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 24px; min-height: 36px; padding: 6px var(--gutter); }
.utility a { display: inline-flex; align-items: center; gap: 6px; color: var(--ivory); text-decoration: none; font-weight: 600; min-height: 32px; }
.utility a:hover { color: #fff; text-decoration: underline; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--paper); border-bottom: 1px solid var(--line); }
.site-header .inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; padding: 12px var(--gutter); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.brand .icon { height: 50px; width: auto; }
.brand .word { height: 34px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 500; padding: 8px 0; }
.nav a:hover { color: var(--forest-700); text-decoration: underline; text-underline-offset: 4px; }
.header-actions { display: flex; align-items: center; gap: 20px; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; white-space: nowrap; }
.header-actions .btn { min-height: 44px; padding: 0 20px; font-size: 15px; }
.menu-toggle { display: none; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 8px; background: transparent; color: var(--ink); cursor: pointer; }
.menu-toggle:hover { background: var(--forest-100); }
.mobile-nav { display: none; }

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--forest-900); color: var(--ivory); padding: 76px var(--gutter) 230px; }
.hero .inner { position: relative; z-index: 1; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 56px 80px; }
.hero-copy { flex: 1 1 480px; max-width: 660px; display: flex; flex-direction: column; gap: 26px; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--brass-ink); }
.hero .eyebrow { color: var(--brass); }
.hero h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(44px, 5.4vw, 74px); line-height: 1.02; letter-spacing: -0.02em; }
.hero-lede { max-width: 580px; font-size: 20px; line-height: 1.55; color: var(--mist); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 6px; }
.hero-card { flex: 0 1 460px; min-width: 280px; padding: 36px; background: var(--paper); color: var(--ink); border-radius: 16px; box-shadow: 0 30px 60px rgba(5,20,13,.35); display: flex; flex-direction: column; gap: 22px; }
.hero-card h2 { font-family: var(--serif); font-size: 27px; font-weight: 500; line-height: 1.15; }
.rule { height: 1px; background: var(--line); border: 0; margin: 0; }
.check-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.check-list li { display: flex; gap: 14px; align-items: flex-start; }
.check-dot { display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; flex-shrink: 0; border-radius: 50%; background: var(--forest-100); color: var(--forest-700); }
.check-list strong { display: block; font-size: 16px; font-weight: 600; line-height: 1.4; }
.check-list span.sub { display: block; font-size: 14px; color: var(--muted); line-height: 1.45; }
.card-link { display: flex; align-items: center; justify-content: space-between; font-size: 15px; font-weight: 600; color: var(--forest-700); text-decoration: none; min-height: 32px; }
.card-link:hover { text-decoration: underline; }
.ridges { position: absolute; left: 0; bottom: 0; width: 100%; height: 220px; z-index: 0; }

/* Credentials */
.credentials { background: var(--paper); border-bottom: 1px solid var(--line); padding: 28px var(--gutter) 40px; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.cred { display: flex; align-items: center; gap: 14px; }
.cred-icon { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; flex-shrink: 0; border-radius: 50%; background: var(--forest-100); color: var(--forest-700); }
.cred strong { display: block; font-size: 16px; font-weight: 600; line-height: 1.35; }
.cred span.sub { display: block; font-size: 14px; color: var(--muted); line-height: 1.4; }

/* Sections */
.section { padding: clamp(64px, 8vw, 112px) var(--gutter); }
.section-white { background: var(--paper); }
.section-forest { background: var(--forest-700); color: var(--ivory); }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px 80px; margin-bottom: 56px; }
.section-head .titles { display: flex; flex-direction: column; gap: 16px; max-width: 640px; }
.section-head.center { flex-direction: column; align-items: center; text-align: center; gap: 16px; }
.section-head.center .lede { max-width: 620px; }
.h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(36px, 4.2vw, 52px); line-height: 1.08; letter-spacing: -0.015em; }
.lede { max-width: 440px; font-size: 18px; line-height: 1.6; color: var(--muted); }
.section-forest .eyebrow { color: var(--brass); }
.section-forest .lede { color: var(--mist); }

/* Services */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.service { padding: 32px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; display: flex; flex-direction: column; gap: 14px; }
.service-icon { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 12px; background: var(--forest-100); color: var(--forest-700); }
.service h3 { margin-top: 8px; font-family: var(--serif); font-size: 26px; font-weight: 500; line-height: 1.2; }
.service p { font-size: 16px; line-height: 1.6; color: var(--muted); }

/* Pricing */
.plans { align-items: stretch; }
.plan { padding: 40px 36px; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; display: flex; flex-direction: column; gap: 24px; }
.plan-top { display: flex; flex-direction: column; gap: 8px; }
.plan h3 { font-family: var(--serif); font-size: 30px; font-weight: 500; }
.plan-desc { font-size: 15px; line-height: 1.55; color: var(--muted); }
.price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price .amount { font-family: var(--serif); font-size: 56px; font-weight: 500; line-height: 1; }
.price .per { font-size: 16px; color: var(--muted); }
.feature-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; font-size: 15.5px; line-height: 1.5; }
.feature-list li { display: flex; gap: 12px; }
.feature-list svg { flex-shrink: 0; margin-top: 2px; color: var(--forest-700); }
.plan-featured { background: var(--forest-900); color: var(--ivory); border-color: var(--forest-900); }
.plan-featured .plan-desc, .plan-featured .price .per { color: var(--mist); }
.plan-featured .rule { background: rgba(246,244,238,.18); }
.plan-featured .feature-list svg { color: var(--brass); }
.plan-title-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.badge { padding: 5px 12px; border-radius: 999px; background: var(--brass); color: var(--forest-900); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.addons { margin-top: 56px; display: flex; flex-direction: column; gap: 20px; }
.addons > h3 { font-family: var(--serif); font-size: 28px; font-weight: 500; }
.addon { padding: 28px; background: var(--ivory); border-radius: 14px; display: flex; flex-direction: column; gap: 10px; }
.addon-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.addon-head h4 { margin: 0; font-size: 17px; font-weight: 600; }
.addon-price { font-family: var(--serif); font-size: 24px; font-weight: 500; white-space: nowrap; }
.addon-price small { font-family: var(--sans); font-size: 14px; color: var(--muted); }
.addon-quote { font-size: 15px; font-weight: 600; color: var(--forest-700); white-space: nowrap; }
.addon p { font-size: 15px; line-height: 1.6; color: var(--muted); }
.pricing-note { margin-top: 28px; text-align: center; font-size: 15px; color: var(--muted); }

/* Process */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px; list-style: none; margin: 0; padding: 0; }
.step { padding-top: 28px; border-top: 1px solid rgba(246,244,238,.28); display: flex; flex-direction: column; gap: 14px; }
.step-num { font-family: var(--serif); font-size: 44px; line-height: 1; color: var(--brass); }
.step h3 { margin-top: 6px; font-family: var(--serif); font-size: 25px; font-weight: 500; line-height: 1.2; }
.step p { font-size: 16px; line-height: 1.6; color: var(--mist); }

/* About */
.about { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 48px clamp(40px, 6vw, 96px); align-items: center; }
.about-photo { width: 100%; height: 560px; object-fit: cover; object-position: center 25%; border-radius: 18px; }
.about-copy { display: flex; flex-direction: column; gap: 22px; }
.about-name { font-size: 16px; font-weight: 600; color: var(--muted); margin-top: -14px; }
.about-copy p.body { font-size: 18px; line-height: 1.65; }
.about-copy p.body.muted { color: var(--muted); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }

/* FAQ */
.faq { display: flex; flex-wrap: wrap; gap: 40px 96px; }
.faq-intro { flex: 1 1 300px; max-width: 400px; display: flex; flex-direction: column; gap: 16px; }
.faq-intro p:not(.eyebrow) { font-size: 17px; line-height: 1.6; color: var(--muted); }
.faq-intro a { font-weight: 600; }
.faq-list { flex: 2 1 480px; border-bottom: 1px solid var(--line); }
.faq-item { padding: 28px 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.faq-item h3 { font-family: var(--sans); font-size: 19px; font-weight: 600; line-height: 1.4; }
.faq-item p { font-size: 16px; line-height: 1.65; color: var(--muted); }

/* Contact */
.contact { display: flex; flex-wrap: wrap; gap: 48px 96px; align-items: flex-start; }
.contact-info { flex: 1 1 360px; display: flex; flex-direction: column; gap: 22px; }
.contact-lines { display: flex; flex-direction: column; gap: 20px; margin-top: 12px; }
.contact-line { display: flex; align-items: center; gap: 16px; min-width: 0; }
.contact-line .cred-icon { width: 48px; height: 48px; }
.contact-line .label { display: block; font-size: 14px; color: var(--muted); }
.contact-line .value { display: block; font-size: 18px; font-weight: 600; color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
.contact-line a.value:hover { color: var(--forest-700); text-decoration: underline; }
.form-card { flex: 1 1 440px; max-width: 600px; padding: clamp(24px, 3vw, 40px); background: var(--paper); border: 1px solid var(--line); border-radius: 16px; display: flex; flex-direction: column; gap: 20px; }
.form-card h3 { font-family: var(--serif); font-size: 30px; font-weight: 500; margin-bottom: 4px; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 14px; font-weight: 600; }
.field .req { color: var(--brass-ink); }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 0 14px; border: 1px solid var(--field); border-radius: 8px; background: var(--paper); font: 16px var(--sans); color: var(--ink); }
.field textarea { min-height: 130px; padding: 12px 14px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(31,74,54,.25); border-color: var(--forest-700); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 13px; color: var(--muted); }

/* Newsletter */
.newsletter { background: var(--forest-700); color: var(--ivory); padding: 56px var(--gutter); }
.newsletter .inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; }
.newsletter h2 { font-family: var(--serif); font-size: 32px; font-weight: 500; line-height: 1.15; }
.newsletter p { color: var(--mist); margin-top: 6px; }
.newsletter form { display: flex; flex-wrap: wrap; gap: 12px; flex: 0 1 520px; }
.newsletter input[type=email] { flex: 1 1 260px; min-height: 52px; padding: 0 16px; border-radius: 8px; border: 1px solid rgba(246,244,238,.45); background: rgba(255,255,255,.08); color: #fff; font: 16px var(--sans); }
.newsletter input[type=email]::placeholder { color: var(--mist); }

/* Footer */
.site-footer { background: var(--forest-900); color: var(--mist); padding: 64px var(--gutter) 32px; display: flex; flex-direction: column; gap: 48px; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px 64px; }
.footer-brand { display: flex; flex-direction: column; gap: 18px; max-width: 400px; }
.footer-brand p { font-size: 15px; line-height: 1.6; }
.footer-cols { display: flex; flex-wrap: wrap; gap: 32px 80px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.footer-col h2 { font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--brass); margin-bottom: 6px; }
.footer-col a { color: var(--ivory); text-decoration: none; padding: 2px 0; }
.footer-col a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { padding-top: 24px; border-top: 1px solid rgba(246,244,238,.14); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; font-size: 14px; }
.footer-bottom a { display: inline-flex; align-items: center; gap: 6px; color: var(--ivory); text-decoration: none; font-weight: 600; }
.footer-bottom a:hover { text-decoration: underline; }

/* Simple pages (thank you / 404) */
.simple-page { min-height: 70vh; display: flex; align-items: center; justify-content: center; padding: 80px 24px; text-align: center; }
.simple-page .box { max-width: 560px; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.simple-page p:not(.eyebrow) { font-size: 18px; color: var(--muted); }

/* Responsive */
@media (max-width: 1100px) {
  .nav, .header-phone { display: none; }
  .menu-toggle { display: inline-flex; }
  .mobile-nav { display: none; padding: 8px var(--gutter) 20px; border-top: 1px solid var(--line); background: var(--paper); }
  .mobile-nav.open { display: flex; flex-direction: column; }
  .mobile-nav a { padding: 12px 0; color: var(--ink); text-decoration: none; font-weight: 500; border-bottom: 1px solid var(--line); }
  .mobile-nav a:last-child { border-bottom: 0; }
}
@media (max-width: 640px) {
  .site-header .inner { min-height: 68px; gap: 12px; }
  .brand .icon { height: 38px; }
  .brand .word { height: 26px; }
  .header-actions .btn { display: none; }
  .hero { padding-top: 44px; padding-bottom: 160px; }
  .hero-lede { font-size: 17px; }
  .hero-ctas .btn { width: 100%; }
  .hero-card { padding: 28px 24px; }
  .ridges { height: 140px; }
  .credentials { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 16px; }
  .cred { flex-direction: column; align-items: flex-start; gap: 10px; }
  .section-head { margin-bottom: 36px; }
  .service, .plan { padding: 28px 24px; }
  .price .amount { font-size: 48px; }
  .about-photo { height: 420px; }
  .addon-head { flex-direction: column; gap: 4px; }
  .newsletter form .btn { width: 100%; }
}
@media (max-width: 420px) {
  .brand { gap: 8px; }
  .brand .icon { height: 34px; }
  .brand .word { height: 21px; }
}
