:root {
  --bg: #FAFAF7;
  --fg: #16191E;
  --fg-muted: #5C6470;
  --accent: #1B8C6F;
  --accent-hover: #167A5F;
  --coral: #E8663C;
  --surface: #FFFFFF;
  --border: #E2E4E0;
  --font-display: 'Bricolage Grotesque', Georgia, serif;
  --font-body: 'Source Serif 4', Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* NAV */
.nav {
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--border);
}
.nav-inner { max-width: 1100px; margin: 0 auto; }
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--fg);
}

/* MANIFESTO */
.manifesto {
  padding: 7rem 2rem 6rem;
  max-width: 1100px;
  margin: 0 auto;
}
.manifesto-eyebrow {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}
.manifesto-headline {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 4.8rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--fg);
  max-width: 820px;
  margin-bottom: 2rem;
}
.manifesto-sub {
  font-size: 1.2rem;
  color: var(--fg-muted);
  max-width: 600px;
  line-height: 1.7;
  margin-bottom: 3.5rem;
}
.manifesto-proof {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.proof-stat { display: flex; flex-direction: column; gap: 0.2rem; }
.proof-number {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--fg);
}
.proof-label {
  font-size: 0.85rem;
  color: var(--fg-muted);
  max-width: 180px;
  line-height: 1.4;
}
.proof-divider {
  width: 1px;
  height: 60px;
  background: var(--border);
}

/* SECTION SHARED */
.section-heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--fg);
  margin-bottom: 0.75rem;
}
.section-sub {
  color: var(--fg-muted);
  font-size: 1.05rem;
  margin-bottom: 3.5rem;
}

/* FEATURES */
.features { padding: 6rem 2rem; background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.features-inner { max-width: 1100px; margin: 0 auto; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.feature-card {
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(22,25,30,0.07);
}
.feature-icon {
  width: 48px;
  height: 48px;
  background: #E8F5F1;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 1.25rem;
}
.feature-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin-bottom: 0.6rem;
}
.feature-desc { font-size: 0.95rem; color: var(--fg-muted); line-height: 1.6; }

/* PRICING */
.pricing { padding: 6rem 2rem; }
.pricing-inner { max-width: 1100px; margin: 0 auto; }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.pricing-card--featured {
  border: 2px solid var(--accent);
  position: relative;
}
.pricing-tier {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}
.pricing-price {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--fg);
  line-height: 1;
}
.pricing-per {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--fg-muted);
}
.pricing-tagline { font-size: 0.9rem; color: var(--fg-muted); margin-bottom: 0.5rem; }
.pricing-features { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.pricing-features li {
  font-size: 0.9rem;
  color: var(--fg);
  padding-left: 1.2rem;
  position: relative;
}
.pricing-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.pricing-note {
  text-align: center;
  margin-top: 2.5rem;
  font-size: 0.95rem;
  color: var(--fg-muted);
  font-style: italic;
}

/* STORY */
.story { padding: 6rem 2rem; background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.story-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.story-headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--fg);
  margin-bottom: 1.5rem;
}
.story-body { font-size: 1rem; color: var(--fg-muted); line-height: 1.8; margin-bottom: 1.2rem; }
.story-body--accent { color: var(--fg); font-weight: 500; }
.story-visual { display: flex; justify-content: center; }
.story-block {
  width: 100%;
  max-width: 300px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.5rem 2rem;
}
.story-block-inner { display: flex; flex-direction: column; gap: 1rem; }
.story-block-line { height: 8px; background: var(--accent); border-radius: 4px; opacity: 0.25; }
.story-block-line--short { width: 60%; opacity: 0.15; }
.story-block-line--medium { width: 80%; opacity: 0.2; }
.story-block-line:nth-child(1) { width: 100%; opacity: 0.35; }
.story-block-line:nth-child(3) { width: 90%; opacity: 0.2; }
.story-block-line:nth-child(5) { width: 55%; opacity: 0.12; }

/* FOOTER */
.footer { padding: 3rem 2rem; }
.footer-inner { max-width: 1100px; margin: 0 auto; }
.footer-brand { margin-bottom: 2rem; }
.footer-logo {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--fg);
  display: block;
  margin-bottom: 0.5rem;
}
.footer-desc { font-size: 0.9rem; color: var(--fg-muted); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 1.5rem; }
.footer-copy { font-size: 0.85rem; color: var(--fg-muted); }

/* QUOTE MODAL */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(22,25,30,0.55);
  backdrop-filter: blur(4px);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.modal-overlay.open { display: flex; }
.modal-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2.5rem;
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
}
.modal-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 0.75rem; }
.modal-title {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--fg);
}
.modal-close {
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--fg-muted);
  cursor: pointer;
  line-height: 1;
  padding: 0;
  margin-top: -0.2rem;
}
.modal-close:hover { color: var(--fg); }
.modal-sub { font-size: 0.95rem; color: var(--fg-muted); margin-bottom: 2rem; line-height: 1.6; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1.25rem; }
.form-group label {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--fg);
}
.form-optional { font-weight: 400; color: var(--fg-muted); }
.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--fg);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(27,140,111,0.12);
}
.form-group textarea { resize: vertical; min-height: 80px; }
.form-error {
  display: none;
  background: #FEF2F2;
  border: 1px solid #FECACA;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  color: #DC2626;
  margin-bottom: 1rem;
}
.form-error.show { display: block; }
.form-success {
  display: none;
  background: #F0FDF4;
  border: 1px solid #BBF7D0;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  color: #15803D;
  margin-bottom: 1rem;
}
.form-success.show { display: block; }
.btn-submit {
  width: 100%;
  padding: 0.9rem 1.5rem;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}
.btn-submit:hover { background: var(--accent-hover); transform: translateY(-1px); }
.btn-submit:active { transform: translateY(0); }
.btn-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

/* PRICING CTA */
.pricing-cta { display: flex; flex-direction: column; align-items: center; gap: 1.25rem; margin-top: 2.5rem; }
.btn-quote {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.75rem;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
  text-decoration: none;
}
.btn-quote:hover { background: var(--accent-hover); transform: translateY(-1px); }

/* RESPONSIVE */
@media (max-width: 768px) {
  .manifesto { padding: 4rem 1.5rem 4rem; }
  .manifesto-headline { font-size: 2.4rem; }
  .manifesto-proof { gap: 1.5rem; }
  .proof-divider { display: none; }
  .features-grid { grid-template-columns: 1fr; }
  .features { padding: 4rem 1.5rem; }
  .pricing-grid { grid-template-columns: 1fr; gap: 1rem; }
  .pricing { padding: 4rem 1.5rem; }
  .story-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .story-visual { order: -1; }
  .story { padding: 4rem 1.5rem; }
  .footer { padding: 3rem 1.5rem; }
}

@media (max-width: 480px) {
  .manifesto-headline { font-size: 2rem; }
  .pricing-card { padding: 2rem 1.5rem; }
}