/* Public site (#15): the design of site-original/index.html. Tokens and fonts come from app.css (loaded first). */

:root { --paper: #FAFAF7; --rule: #e4e6dc; --rule-nav: #e0e2d8; --dot: #1b2418; --dim: #6f7a63; }

html { scroll-behavior: smooth; }
.site { background: var(--light); color: var(--dark); font-size: 16px; line-height: normal; }
.site ::selection { background: var(--lime); color: var(--dark); }
.wrap { max-width: 1180px; margin: 0 auto; padding-left: 40px; padding-right: 40px; }
.mono-label { font-family: var(--font-mono); text-transform: uppercase; }

/* ----- header ----- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(244, 246, 238, 0.82); backdrop-filter: blur(12px); border-bottom: 1px solid var(--rule-nav); }
.nav-inner { padding-top: 18px; padding-bottom: 18px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 34px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--dark); }
.wordmark { font-family: var(--font-display); font-weight: 800; font-size: 24px; letter-spacing: -0.04em; }
.wordmark span { color: var(--lime); }
.nav-links, .nav-actions { display: flex; align-items: center; gap: 34px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; }
.nav-links { margin-left: auto; }
.nav-links a { text-decoration: none; color: var(--ink-soft); }
.nav-links a:hover, .nav-links a[aria-current=page] { color: var(--dark); }
.menu-toggle { display: none; font: inherit; letter-spacing: inherit; text-transform: inherit; background: none; border: 1px solid var(--dark); color: var(--dark);
  border-radius: 100px; padding: 10px 16px; cursor: pointer; }

/* ----- buttons ----- */
.pill { font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; background: var(--dark); color: var(--light);
  padding: 17px 28px; border: none; border-radius: 100px; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 10px; cursor: pointer; }
.pill:hover { background: var(--green); }
.pill .arrow { color: var(--lime); }
.nav-actions .pill { font-size: 12px; padding: 11px 18px; }
.pill-lg { font-size: 14px; padding: 19px 32px; }
.link-mono { font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dark); padding: 17px 8px; text-decoration: none; }
.link-mono:hover { color: var(--green); }

/* ----- type ----- */
.eyebrow-dot { display: flex; align-items: center; gap: 12px; margin-bottom: 30px; }
.eyebrow-dot::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.eyebrow-dot span, .kicker { font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.kicker { margin-bottom: 18px; }
.display { font-family: var(--font-display); font-weight: 800; font-size: clamp(48px, 8vw, 104px); line-height: 0.96; letter-spacing: -0.035em; margin: 0 0 30px; max-width: 14ch; }
.display-sm { font-size: clamp(44px, 6.5vw, 84px); max-width: 18ch; }
.display .accent { color: var(--lime); }
.hero-sub { font-size: clamp(19px, 2.4vw, 26px); line-height: 1.5; max-width: 56ch; color: var(--ink-soft); margin: 0 0 40px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(34px, 4.5vw, 56px); letter-spacing: -0.03em; line-height: 1.02; margin: 0 0 16px; max-width: 20ch; }
.intro { font-size: 19px; line-height: 1.55; max-width: 54ch; color: var(--ink-soft); margin: 0 0 56px; }
.more { display: inline-block; margin-top: 18px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--green); text-decoration: none; }
.more:hover { color: var(--dark); }

/* ----- sections ----- */
.hero { padding-top: 100px; padding-bottom: 88px; }
.section { padding-top: 110px; padding-bottom: 90px; }
.section-tight { padding-top: 110px; padding-bottom: 110px; }
.band { background: var(--paper); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.band > .wrap { padding-top: 100px; padding-bottom: 100px; }

.dark { background: var(--dark); position: relative; overflow: hidden; }
.dark::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(var(--dot) 1.2px, transparent 1.2px); background-size: 22px 22px; opacity: 0.5; }
.stat-grid { position: relative; padding-top: 64px; padding-bottom: 64px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.stat-num { font-family: var(--font-display); font-weight: 800; font-size: clamp(40px, 5vw, 64px); letter-spacing: -0.04em; line-height: 0.92; color: var(--light); }
.stat-grid > div:first-child .stat-num { color: var(--lime); }
.stat-num small { font-size: 0.5em; }
.stat-label { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); margin-top: 12px; }

/* ----- services ----- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.svc { background: var(--paper); border: 1px solid var(--rule); border-radius: 20px; padding: 34px; display: flex; flex-direction: column; color: var(--dark); text-decoration: none; }
a.svc:hover { border-color: var(--green); }
.svc h3, .svc-title { font-family: var(--font-display); font-weight: 700; font-size: 26px; letter-spacing: -0.02em; line-height: 1.1; margin: 0 0 14px; }
.svc p, .step p { font-size: 16px; line-height: 1.6; color: var(--ink-soft); margin: 0; }
.svc .more { margin-top: auto; padding-top: 18px; }
.svc-tag { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; color: var(--green); margin-bottom: 14px; }
.bars { display: flex; align-items: flex-end; gap: 5px; height: 44px; margin-bottom: 26px; }
.bars i { width: 11px; border-radius: 4px 4px 0 0; background: var(--lime); height: 100%; }
.bars i:nth-child(1) { background: var(--green); height: 42%; }
.bars i:nth-child(2) { background: #5FBF6E; height: 68%; }
.bars-2 i:nth-child(1) { height: 38%; }
.bars-2 i:nth-child(2) { height: 60%; }
.bars-3 i:nth-child(1) { height: 34%; }
.bars-3 i:nth-child(2) { height: 56%; }

/* ----- approach ----- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.steps-title { margin-bottom: 64px; max-width: 18ch; }
.step { border-top: 2px solid var(--dark); padding-top: 24px; }
.step:last-child { border-top-color: var(--lime); }
.step-num { font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.1em; color: var(--muted); margin-bottom: 20px; }
.step:last-child .step-num { color: var(--green); }
.step h3 { font-family: var(--font-display); font-weight: 700; font-size: 30px; letter-spacing: -0.025em; margin: 0 0 14px; }

/* ----- proof ----- */
.proof-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.proof-title { font-family: var(--font-display); font-weight: 800; font-size: clamp(40px, 5vw, 68px); letter-spacing: -0.035em; line-height: 0.98; margin: 0 0 22px; }
.proof-text { font-size: 19px; line-height: 1.55; color: var(--ink-soft); margin: 0 0 32px; max-width: 42ch; }
.proof-text strong { color: var(--dark); font-weight: 700; }
.proof-nums { display: flex; gap: 40px; }
.proof-num { font-family: var(--font-display); font-weight: 800; font-size: 44px; letter-spacing: -0.03em; line-height: 1; color: var(--green); }
.proof-label { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-top: 8px; }
.chart { border-radius: 24px; padding: 40px; }
.chart > * { position: relative; }
.chart-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 28px; font-family: var(--font-mono); font-size: 12px; }
.chart-head span:first-child { letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); }
.chart-head span:last-child { color: var(--lime); }
.chart-bars { display: flex; align-items: flex-end; gap: 12px; height: 220px; }
.chart-bars div { flex: 1; border-radius: 6px 6px 0 0; position: relative; }
.chart-bars div:nth-child(1) { background: #1f3322; height: 3%; }
.chart-bars div:nth-child(2) { background: var(--green); height: 7%; }
.chart-bars div:nth-child(3) { background: #5FBF6E; height: 20%; }
.chart-bars div:nth-child(4) { background: var(--lime); height: 100%; }
.chart-bars span { position: absolute; top: -22px; left: 50%; transform: translateX(-50%); font-family: var(--font-mono); font-size: 11px; color: var(--dim); white-space: nowrap; }
.chart-bars div:nth-child(4) span { color: var(--lime); }
.chart-months { display: flex; justify-content: space-between; margin-top: 14px; font-family: var(--font-mono); font-size: 11px; color: #4f5a45; }
.quote { margin: 80px 0 0; border-top: 1px solid var(--rule-nav); padding-top: 56px; max-width: 60ch; }
.quote blockquote { margin: 0 0 24px; font-family: var(--font-display); font-weight: 600; font-size: clamp(24px, 3vw, 34px); line-height: 1.25; letter-spacing: -0.02em; }
.quote blockquote span { color: var(--green); }
.quote-by { font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.06em; color: var(--muted); }

/* ----- call to action ----- */
.cta { background: var(--lime); }
.cta > .wrap { padding-top: 110px; padding-bottom: 110px; }
.cta .kicker { color: #52662b; margin-bottom: 24px; }
.cta-title { font-family: var(--font-display); font-weight: 800; font-size: clamp(44px, 7vw, 92px); letter-spacing: -0.035em; line-height: 0.96; margin: 0 0 32px; color: var(--dark); max-width: 16ch; }
.cta-text { font-size: clamp(19px, 2.2vw, 24px); line-height: 1.5; color: var(--dark); opacity: 0.78; max-width: 50ch; margin: 0 0 44px; }

/* ----- plain text pages (about, privacy) ----- */
.prose { max-width: 64ch; font-size: 18px; line-height: 1.6; color: var(--ink-soft); }
.prose p, .prose ul { margin: 0 0 18px; }
.prose h2 { font-family: var(--font-display); font-weight: 700; font-size: 26px; letter-spacing: -0.02em; color: var(--dark); margin: 40px 0 12px; }

/* ----- the audit form ----- */
.form-card { background: var(--paper); border-radius: 24px; border: 1px solid var(--rule); max-width: 564px; padding: 38px 40px 40px; }
.form-card h2 { font-family: var(--font-display); font-weight: 800; font-size: 32px; letter-spacing: -0.03em; line-height: 1.02; margin: 0 0 10px; }
.form-card .eyebrow-dot { margin-bottom: 16px; }
.form-card .eyebrow-dot span { font-size: 12px; }
.form-note { font-size: 15px; line-height: 1.5; color: var(--ink-soft); margin: 0 0 28px; }
.form-fields { display: flex; flex-direction: column; gap: 16px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-fields label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 7px; display: block; }
.form-fields input, .form-fields select, .form-fields textarea { width: 100%; padding: 13px 15px; border: 1px solid #d9dccf; border-radius: 11px; background: #fff;
  font-family: var(--font-body); font-size: 15px; color: var(--dark); outline: none; }
.form-fields select { appearance: none; }
.form-fields textarea { resize: vertical; }
.form-fields input:focus, .form-fields select:focus, .form-fields textarea:focus { border-color: var(--green); }
.form-fields .invalid { color: var(--danger); font-size: 14px; margin-top: 6px; display: block; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-card .pill { width: 100%; margin-top: 26px; }
.form-small { font-size: 13px; line-height: 1.5; color: #8a857a; margin: 16px 0 0; text-align: center; }
.thanks { text-align: center; padding: 56px 44px 52px; }
.thanks-mark { width: 66px; height: 66px; border-radius: 50%; background: var(--lime); display: flex; align-items: center; justify-content: center; margin: 0 auto 26px; }
.thanks p { font-size: 17px; line-height: 1.55; color: var(--ink-soft); margin: 0 auto 30px; max-width: 38ch; }

/* ----- footer ----- */
.site-footer { background: var(--dark); }
.site-footer .wrap { padding-top: 56px; padding-bottom: 56px; display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: center; }
.site-footer .wordmark { font-size: 20px; color: var(--light); }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.footer-links a, .footer-note { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; color: var(--dim); text-decoration: none; text-transform: uppercase; }
.footer-links a:hover { color: var(--lime); }

/* ----- responsive / mobile ----- */
@media (max-width: 860px) {
  .wrap { padding-left: 22px; padding-right: 22px; }
  .hero, .section, .section-tight, .band > .wrap, .cta > .wrap { padding-top: 60px; padding-bottom: 60px; }
  .nav-inner { padding-top: 14px; padding-bottom: 14px; }
  .nav-actions { gap: 10px; }
  .menu-toggle { display: inline-block; }
  .nav-links { display: none; order: 3; width: 100%; flex-direction: column; align-items: flex-start; gap: 16px; padding: 18px 0 6px; }
  .site-header.open .nav-links { display: flex; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); gap: 26px 18px; }
  .svc-grid, .steps, .proof-grid, .form-grid { grid-template-columns: 1fr; }
  .steps { gap: 30px; }
  .proof-grid { gap: 38px; }
  .form-card { padding: 30px 22px; }
}
@media (max-width: 420px) {
  .wrap { padding-left: 16px; padding-right: 16px; }
}
