/* White Mountain Billing LLC: site styles */
:root {
  --sage: #83947E;
  --sage-dark: #5F6F5A;   /* darker sage for text/AA contrast */
  --sage-light: #EEF1EC;
  --blush: #E2B7A6;
  --blush-light: #F7E9E3;
  --navy: #333D4E;
  --navy-soft: #4A5568;
  --cream: #FBF8F4;
  --white: #FFFFFF;
  --line: #E6E1DA;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(51, 61, 78, .07);
  --serif: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  --sans: "Inter", "Lato", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --maxw: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--navy);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--sage-dark); }
a:focus-visible, .btn:focus-visible { outline: 3px solid var(--blush); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; color: var(--navy); line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(2.5rem, 5.5vw, 4rem); font-weight: 500; letter-spacing: -.01em; }
h1 em { font-style: italic; color: var(--sage-dark); }
h2 { font-size: clamp(2rem, 3.6vw, 2.75rem); font-weight: 500; }
h3 { font-size: 1.45rem; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 16px; }

/* Buttons */
.btn {
  display: inline-block; text-decoration: none; font-weight: 600; font-size: 1rem;
  padding: 14px 26px; border-radius: 999px; border: 2px solid transparent;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: #262E3B; }
.btn-ghost { border-color: var(--navy); color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: #fff; }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--blush-light); }
.btn-small { padding: 8px 18px; font-size: .95rem; background: var(--navy); color: #fff !important; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 84px; }
.brand img { width: 220px; height: auto; }
.nav-links { list-style: none; display: flex; align-items: center; gap: 22px; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; color: var(--navy); font-weight: 500; font-size: .98rem; }
.nav-links a:not(.btn):hover { color: var(--sage-dark); }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse 60% 70% at 85% 10%, rgba(226, 183, 166, .45), transparent 65%),
    linear-gradient(180deg, var(--cream) 0%, #F6F1EA 100%);
  padding: 96px 0 200px;
}
.hero-inner { position: relative; z-index: 1; max-width: 820px; text-align: center; }
.eyebrow {
  font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .16em;
  color: var(--sage-dark); margin-bottom: 1rem;
}
.lead { font-size: 1.2rem; color: var(--navy-soft); max-width: 640px; margin-left: auto; margin-right: auto; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin: 2rem 0 1.25rem; }
.hero-note { font-size: .95rem; color: var(--navy-soft); }
.hero-mountains { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 200px; }

/* Sections */
.section { padding: 96px 0; }
.section-tint { background: var(--cream); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.section-intro { color: var(--navy-soft); }

/* Services */
.card-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card-grid .card:last-child:nth-child(3n+1) { grid-column: 1 / -1; display: grid; grid-template-columns: 52px 1fr; column-gap: 22px; align-items: start; }
.card-grid .card:last-child:nth-child(3n+1) .icon { grid-row: span 2; margin-bottom: 0; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 28px; box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(51, 61, 78, .1); }
.card p { color: var(--navy-soft); margin: 0; font-size: 1rem; }
.icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 50%; background: var(--sage-light); margin-bottom: 18px;
}
.icon svg { width: 26px; height: 26px; fill: none; stroke: var(--sage-dark); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* Why */
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.why-item {
  background: #fff; border-radius: var(--radius); padding: 32px 32px 26px;
  border-left: 4px solid var(--blush); box-shadow: var(--shadow);
}
.why-item p { color: var(--navy-soft); margin: 0; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; counter-reset: none; }
.step { text-align: center; padding: 0 12px; position: relative; }
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 64px; height: 64px; border-radius: 50%;
  font-family: var(--serif); font-size: 2rem; font-weight: 600;
  background: var(--blush-light); color: var(--navy); border: 2px solid var(--blush);
  margin-bottom: 20px;
}
.step p { color: var(--navy-soft); }

/* About */
.about-inner { display: grid; grid-template-columns: 280px 1fr; gap: 64px; align-items: center; max-width: 960px; }
.about-photo {
  width: 280px; height: 280px; border-radius: 50%; padding: 8px;
  background: #fff; box-shadow: 0 0 0 3px var(--sage), 0 14px 36px rgba(51, 61, 78, .14);
}
.about-photo picture, .about-photo img { display: block; width: 100%; height: 100%; }
.about-photo img { object-fit: cover; border-radius: 50%; }
.about-copy p { color: var(--navy-soft); }
.signature { font-family: var(--serif); font-style: italic; font-size: 1.4rem; color: var(--sage-dark) !important; margin-top: 1.25rem; }

/* Contact */
.contact { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.contact::before {
  content: ""; position: absolute; inset: auto 0 0 0; height: 120px; opacity: .12;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath d='M0 120 L0 80 L200 20 L340 70 L520 0 L700 75 L860 35 L1040 90 L1200 30 L1340 70 L1440 50 L1440 120Z' fill='%2383947E'/%3E%3C/svg%3E") bottom / 100% 100% no-repeat;
}
.contact-inner { position: relative; text-align: center; max-width: 720px; }
.contact h2 { color: #fff; }
.contact .lead { color: #D9DDE3; margin-bottom: 2rem; }
.contact .btn-light { word-break: break-word; }
.contact-phone a { color: #fff; }
.privacy-note {
  margin: 2.25rem auto 0; max-width: 600px; font-size: .92rem; color: #D9DDE3;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(226, 183, 166, .45);
  border-radius: 12px; padding: 16px 20px;
}
.privacy-note strong { color: var(--blush); }

/* Footer */
.site-footer { background: #283040; color: #C9CED6; padding: 48px 0; font-size: .95rem; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.footer-inner img { width: 200px; }
.footer-text { text-align: right; }
.footer-text p { margin: 0 0 .5em; }
.site-footer a { color: #fff; }
.copyright { color: #9AA3B0; font-size: .85rem; }

/* Responsive */
@media (max-width: 900px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-links li:not(:last-child) { display: none; }
  .steps { grid-template-columns: 1fr; gap: 40px; max-width: 520px; margin: 0 auto; }
  .about-inner { grid-template-columns: 1fr; gap: 32px; text-align: center; }
  .about-photo { margin: 0 auto; width: 220px; height: 220px; }
}
@media (max-width: 700px) {
  .why-grid { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: 1fr; }
  .card-grid .card:last-child:nth-child(3n+1) { display: block; }
  .card-grid .card:last-child:nth-child(3n+1) .icon { margin-bottom: 18px; }
}
@media (max-width: 560px) {
  body { font-size: 1rem; }
  .header-inner { min-height: 68px; }
  .brand img { width: 170px; }
  .hero { padding: 64px 0 150px; }
  .hero-mountains { height: 130px; }
  .hero-actions .btn { width: 100%; text-align: center; }
  .section { padding: 72px 0; }
  .section-head { margin-bottom: 40px; }
  .card { padding: 26px 22px; }
  .why-item { padding: 26px 22px 20px; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-text { text-align: center; }
  .contact .btn-light { padding: 14px 18px; font-size: .92rem; }
}

/* Polish */
h1, h2, h3 { text-wrap: balance; }
.contact { padding-bottom: 140px; }

/* ---------- v2 additions ---------- */
.btn-blush { background: var(--blush); color: var(--navy); }
.btn-blush:hover { background: #EBC8BA; }
.nav-links .btn-small { white-space: nowrap; }
@media (max-width: 1080px) {
  .nav-links li:not(:last-child) { display: none; }
}

/* Pricing */
.pricing-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.price-card {
  background: #fff; border-radius: var(--radius); padding: 32px 28px; box-shadow: var(--shadow);
  border-top: 4px solid var(--sage);
}
.price-card p { color: var(--navy-soft); margin: 0; }
.pricing-cta { text-align: center; max-width: 640px; margin: 48px auto 0; }
.pricing-cta p { color: var(--navy-soft); font-size: 1.1rem; margin: 0; }
.pricing-cta strong { color: var(--navy); }
.pricing-cta .hero-actions { margin: 1.5rem 0 0; }

/* Systems strip */
.systems { background: var(--sage-light); padding: 56px 0; text-align: center; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.systems-title { font-size: clamp(1.6rem, 2.6vw, 2rem); margin-bottom: 1.25rem; }
.system-badges { list-style: none; margin: 0 auto; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; max-width: 1040px; }
.system-badges li {
  background: #fff; color: var(--navy); font-weight: 500; font-size: .98rem;
  border: 1px solid rgba(131, 148, 126, .55); border-radius: 999px; padding: 9px 20px;
}
.systems-note { margin: 1.25rem 0 0; color: var(--sage-dark); font-style: italic; font-family: var(--serif); font-size: 1.3rem; }

/* Credentials */
.cred-grid { list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 24px; max-width: 920px; }
.cred-item {
  display: flex; align-items: center; gap: 16px; background: #fff; border-radius: var(--radius);
  padding: 20px 24px; box-shadow: var(--shadow);
}
.cred-item strong { font-weight: 600; color: var(--navy); }
.cred-check {
  flex: 0 0 34px; width: 34px; height: 34px; border-radius: 50%; background: var(--sage);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E");
  background-size: 20px; background-position: center; background-repeat: no-repeat;
}
.cred-check.pending {
  background-color: var(--blush);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23333D4E' stroke-width='2.4' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='8'/%3E%3Cpath d='M12 8v4.5l3 2'/%3E%3C/svg%3E");
}
.cred-status {
  display: inline-block; margin-left: 10px; font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  padding: 3px 10px; border-radius: 999px; vertical-align: middle;
}
.cred-status.done { background: var(--sage-light); color: var(--sage-dark); }
.cred-status.pending { background: var(--blush-light); color: #8A5A47; }

/* FAQ */
.faq-inner { max-width: 820px; }
.faq-list { display: grid; gap: 14px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.faq-item summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 20px 60px 20px 24px; font-weight: 600; font-size: 1.05rem; color: var(--navy);
  border-radius: var(--radius);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 24px; height: 24px; margin-top: -12px;
  border-radius: 50%; background: var(--sage-light);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235F6F5A' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M12 7v10M7 12h10'/%3E%3C/svg%3E");
  background-size: 18px; background-position: center; background-repeat: no-repeat;
  transition: transform .2s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover { color: var(--sage-dark); }
.faq-item summary:focus-visible { outline: 3px solid var(--blush); outline-offset: 2px; }
.faq-answer { padding: 0 24px 20px; }
.faq-answer p { margin: 0; color: var(--navy-soft); }

/* Contact actions */
.contact-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

@media (max-width: 900px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .cred-grid { grid-template-columns: 1fr; max-width: 560px; }
}
@media (max-width: 560px) {
  .nav-links .btn-small { padding: 7px 14px; font-size: .88rem; }
  .brand img { width: 150px; }
  .pricing-cta .btn, .contact-actions .btn { width: 100%; text-align: center; }
  .price-card { padding: 26px 22px; }
  .cred-item { padding: 16px 18px; align-items: flex-start; }
  .cred-status { margin: 6px 0 0; display: table; }
  .faq-item summary { padding: 18px 54px 18px 18px; font-size: 1rem; }
  .faq-answer { padding: 0 18px 18px; }
  .systems { padding: 48px 0; }
  .system-badges li { font-size: .92rem; padding: 8px 16px; }
}
