:root {
  --font-main: "Space Grotesk", "Inter", "Segoe UI", -apple-system, BlinkMacSystemFont, sans-serif;
  --bg: #f7f4ee;
  --surface: #ffffff;
  --surface-soft: #f3efe6;
  --text: #16202b;
  --text-muted: #4f5d6c;
  --line: #ddd5c5;
  --primary: #111111;
  --primary-strong: #000000;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 4px 16px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 12px 32px rgba(15, 23, 42, 0.08);
  --max-width: 1160px;
  --text-body: 17px;
  --text-body-mobile: 16px;
  --text-nav: 15px;
  --text-button: 15.5px;
  --h1: clamp(3rem, 4.5vw, 4.25rem);
  --h2: clamp(2.25rem, 3.2vw, 2.875rem);
  --h3: clamp(1.25rem, 1.6vw, 1.5rem);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-main);
  color: var(--text);
  background: var(--bg);
  font-size: var(--text-body);
  line-height: 1.65;
}

a { color: inherit; text-decoration: none; }

.container {
  width: min(var(--max-width), 92vw);
  margin-inline: auto;
}

.section { padding-block: 96px; }
.section-soft {
  background: var(--surface-soft);
  border-top: 1px solid rgba(221, 213, 197, 0.6);
  border-bottom: 1px solid rgba(221, 213, 197, 0.6);
}

.section-title {
  margin: 0 0 1.25rem;
  font-size: var(--h2);
  line-height: 1.05;
  letter-spacing: -0.035em;
  font-weight: 700;
}

.section-lead {
  margin: 0;
  color: var(--text-muted);
  max-width: 62ch;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.45rem;
  box-shadow: var(--shadow-sm);
  height: 100%;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  border: 1px solid transparent;
  padding: 0.82rem 1.18rem;
  font-size: var(--text-button);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1;
}

.btn-primary {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.btn-primary:hover { background: var(--primary-strong); }

.btn-secondary {
  background: var(--surface);
  border-color: #1f2937;
  color: #1f2937;
}

.center { text-align: center; }
.muted { color: var(--text-muted); }

.site-header {
  min-height: 72px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line);
  background: rgba(247, 244, 238, 0.92);
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(6px);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
  padding-inline: clamp(1.5rem, 3vw, 3rem);
}

.brand {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 2.2vw, 2rem);
}

.nav-links a {
  color: var(--text-muted);
  font-size: var(--text-nav);
  font-weight: 500;
}

.nav-links a:hover,
.nav-links a:focus-visible { color: var(--text); }

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius-sm);
  padding: 0.45rem 0.7rem;
  font: inherit;
  font-size: 0.85rem;
}

.nav-cta {
  margin-left: 1rem;
  border-radius: 9px;
  padding: 0.62rem 1rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 1.5rem;
  align-items: stretch;
}

.hero-title {
  margin: 0 0 1rem;
  font-size: var(--h1);
  line-height: 0.98;
  letter-spacing: -0.045em;
  font-weight: 700;
}

.hero-subtitle {
  margin: 0 0 1.4rem;
  color: var(--text-muted);
  max-width: 60ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.hero-trust {
  margin: 0.7rem 0 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.hero-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  padding: 1.2rem;
  box-shadow: var(--shadow-md);
}

.panel-kicker {
  margin: 0 0 0.9rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.roadmap-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.65rem;
}

.roadmap-list li {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.7rem 0.8rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
}

.roadmap-list span {
  color: var(--text-muted);
  font-size: 0.83rem;
  font-weight: 600;
}

.roadmap-list strong {
  font-size: 0.92rem;
}

.problem-grid,
.outcome-grid { margin-top: 1.2rem; }

.problem-card .card-index {
  display: inline-flex;
  margin-bottom: 0.75rem;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.03em;
}

.problem-card h3,
.capability-card h3,
.step-card h3,
.trust-block h3 {
  margin: 0 0 0.4rem;
  font-size: var(--h3);
  line-height: 1.25;
}

.problem-card p,
.capability-card p,
.step-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 16.5px;
}

.problem-card {
  padding: 1.7rem;
}

.problem-card h3 {
  color: #0f1722;
}

.problem-card p {
  color: #647183;
}

.outcome-kicker {
  margin: 0 0 0.8rem;
  color: #5b6877;
  font-size: 0.93rem;
  font-weight: 500;
}

.outcome-features {
  margin-top: 1.2rem;
  display: grid;
  gap: 0.9rem;
}

.outcome-feature {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: flex-start;
  gap: 0.85rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
  padding: 1rem 1.05rem;
}

.outcome-check {
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.82rem;
  background: #1d7a4f;
  color: #fff;
  margin-top: 0.15rem;
}

.outcome-feature h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
}

.outcome-feature p {
  margin: 0;
  color: #5c6978;
  font-size: 0.95rem;
}

.capability-grid {
  margin-top: 1.2rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.capability-card {
  padding: 1.6rem;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
}

.process-stepper {
  margin: 1.2rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  position: relative;
}

.process-stepper::before {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  top: 22px;
  border-top: 1px dashed #c8beac;
  z-index: 0;
}

.step-card {
  position: relative;
  z-index: 1;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1rem;
  box-shadow: var(--shadow-sm);
}

.step-number {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: #1f2937;
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  margin-bottom: 0.7rem;
  font-size: 0.9rem;
}

.trust-grid {
  margin-top: 1.2rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.trust-block {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.2rem;
}

.trust-block ul {
  margin: 0;
  padding-left: 1rem;
  display: grid;
  gap: 0.45rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.final-cta-band {
  background: #f6f3ec;
  padding-top: 96px;
  padding-bottom: 96px;
}

.final-cta-panel {
  width: 100%;
  max-width: 1100px;
  margin-inline: auto;
  border: 1px solid #e4ddd0;
  border-radius: 24px;
  background: #fff;
  padding: clamp(3.5rem, 6vw, 4.5rem);
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.08);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.8rem;
  align-items: center;
}

.final-cta-copy .section-title {
  margin-bottom: 0.7rem;
}

.final-cta-actions-wrap {
  display: grid;
  gap: 0.85rem;
  justify-items: start;
}

.cta-actions {
  justify-content: flex-start;
  margin-top: 0;
}

.final-cta-note {
  margin: 0;
  font-size: 0.82rem;
  color: #697586;
}

.site-footer {
  margin-top: 24px;
  border-top: 1px solid var(--line);
  background: #f5f1e8;
}

.footer-grid {
  padding-block: 2rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: 2fr 1fr 1fr;
}

.footer-links {
  display: grid;
  gap: 0.45rem;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-block: 0.9rem;
  color: var(--text-muted);
  font-size: 0.86rem;
}

@media (max-width: 1024px) {
  .section { padding-block: 64px; }
  .hero-grid,
  .grid-3,
  .process-stepper,
  .trust-grid { grid-template-columns: 1fr; }
  .capability-grid { grid-template-columns: 1fr 1fr; }
  .hero-title { font-size: clamp(2.5rem, 6vw, 2.75rem); }
  .process-stepper::before { display: none; }
  .final-cta-panel {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
}

@media (max-width: 760px) {
  body { font-size: var(--text-body-mobile); }
  .section { padding-block: 48px; }
  .capability-grid,
  .trust-grid,
  .footer-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: clamp(2rem, 9vw, 2.25rem); }
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 72px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 0.9rem 4vw 1rem;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
  }
  .nav.is-open { display: flex; }
  .nav-links {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.65rem;
  }
  .nav-cta {
    width: 100%;
    margin-left: 0;
  }
  .final-cta-band {
    padding-top: 64px;
    padding-bottom: 64px;
  }
  .final-cta-panel {
    padding: 32px 20px;
  }
  .final-cta-actions-wrap {
    justify-items: stretch;
  }
  .final-cta-actions-wrap .cta-actions {
    flex-direction: column;
    width: 100%;
  }
  .final-cta-actions-wrap .btn {
    width: 100%;
  }
}

/* Services Page */
body.services-page .section {
  padding-block: 96px;
}

body.services-page .section.alt {
  background: #f6f5f2;
}

body.services-page .services-hero .hero-title {
  max-width: 16ch;
}

body.services-page .hero-sub {
  margin: 0;
  max-width: 68ch;
  color: var(--text-muted);
}

body.services-page .micro-note {
  margin: 0.8rem 0 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

body.services-page .cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 20px;
}

body.services-page .section-title {
  margin-bottom: 40px;
}

body.services-page .category-grid,
body.services-page .service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

body.services-page .category-card,
body.services-page .service-card {
  padding: 24px;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.05);
}

body.services-page .category-card h3,
body.services-page .service-card h3 {
  margin: 0 0 10px;
}

body.services-page .category-card p,
body.services-page .service-card p {
  margin: 0;
  color: var(--text-muted);
}

body.services-page .result {
  display: block;
  margin-top: 12px;
  font-weight: 600;
  color: #444;
}

body.services-page .steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

body.services-page .step {
  padding: 24px;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  background: #fff;
}

body.services-page .step h3 {
  margin: 0 0 8px;
}

body.services-page .step p {
  margin: 0;
  color: var(--text-muted);
}

body.services-page .cta-band {
  background: #f6f3ec;
  padding-top: 96px;
  padding-bottom: 96px;
}

body.services-page .cta-panel {
  width: 100%;
  max-width: 1100px;
  margin-inline: auto;
  border: 1px solid #e4ddd0;
  border-radius: 24px;
  background: #fff;
  padding: clamp(3.5rem, 6vw, 4.5rem);
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.08);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.8rem;
  align-items: center;
}

body.services-page .cta-copy h2 {
  margin: 0 0 0.7rem;
  font-size: clamp(2rem, 3.3vw, 2.8rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

body.services-page .cta-copy p {
  margin: 0;
  color: var(--text-muted);
  max-width: 60ch;
}

body.services-page .cta-actions-wrap {
  display: grid;
  gap: 0.85rem;
  justify-items: start;
}

body.services-page .cta-actions-wrap .cta-row {
  margin-top: 0;
}

body.services-page .legal-inline {
  margin-top: 0;
  font-size: 0.82rem;
  color: #697586;
}

body.services-page .cta-actions-wrap .btn-primary {
  background: #111;
  border-color: #111;
  color: #fff;
}

body.services-page .cta-actions-wrap .btn-secondary {
  background: #fff;
  border-color: #c9ced6;
  color: #111827;
}

@media (max-width: 1024px) {
  body.services-page .section {
    padding-block: 64px;
  }

  body.services-page .steps {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  body.services-page .section {
    padding-block: 48px;
  }

  body.services-page .cta-band {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  body.services-page .cta-panel {
    grid-template-columns: 1fr;
    padding: 32px 20px;
    gap: 1.2rem;
  }

  body.services-page .cta-actions-wrap {
    justify-items: stretch;
  }

  body.services-page .cta-actions-wrap .cta-row {
    flex-direction: column;
    width: 100%;
  }

  body.services-page .cta-actions-wrap .btn {
    width: 100%;
  }
}

/* About Page */
body.about-page .section {
  padding-block: 96px;
  background: #fff;
}

body.about-page .section.alt {
  background: #f6f3ec;
}

body.about-page .hero .hero-title {
  max-width: 18ch;
}

body.about-page .hero-sub,
body.about-page .lead,
body.about-page .about-copy {
  margin: 0;
  color: var(--text-muted);
  max-width: 66ch;
}

body.about-page .lead {
  margin-bottom: 1.2rem;
}

body.about-page .problem-grid {
  margin-top: 1.2rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

body.about-page .problem-card,
body.about-page .value-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.6rem;
  box-shadow: var(--shadow-sm);
}

body.about-page .problem-card h3,
body.about-page .value-card h3 {
  margin: 0 0 0.4rem;
  font-size: var(--h3);
}

body.about-page .problem-card p,
body.about-page .value-card p {
  margin: 0;
  color: #647183;
}

body.about-page .value-grid {
  margin-top: 1.2rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

body.about-page .steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

body.about-page .step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.2rem;
  box-shadow: var(--shadow-sm);
}

body.about-page .step h3 {
  margin: 0 0 0.45rem;
}

body.about-page .step p {
  margin: 0;
  color: var(--text-muted);
}

body.about-page .trust-grid {
  margin-top: 1.2rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

body.about-page .trust-grid span {
  border: 1px solid #d8d1c4;
  background: #fff;
  border-radius: 999px;
  padding: 0.55rem 0.9rem;
  font-size: 0.9rem;
  color: #49586a;
}

body.about-page .cta {
  background: #f6f3ec;
  padding-top: 96px;
  padding-bottom: 96px;
}

body.about-page .cta-box {
  max-width: 1100px;
  margin-inline: auto;
  border: 1px solid #e4ddd0;
  border-radius: 24px;
  background: #fff;
  padding: clamp(3rem, 5.5vw, 4.2rem);
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.08);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.8rem;
  align-items: center;
  text-align: left;
}

body.about-page .cta-box h2 {
  margin: 0 0 0.7rem;
}

body.about-page .cta-box p {
  margin: 0;
  color: var(--text-muted);
}

body.about-page .cta-box .cta-row {
  margin-top: 0;
  justify-content: flex-start;
}

@media (max-width: 1024px) {
  body.about-page .section {
    padding-block: 64px;
  }
  body.about-page .problem-grid,
  body.about-page .steps,
  body.about-page .value-grid,
  body.about-page .trust-grid,
  body.about-page .cta-box {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  body.about-page .section {
    padding-block: 48px;
  }
  body.about-page .cta {
    padding-top: 64px;
    padding-bottom: 64px;
  }
  body.about-page .cta-box {
    padding: 32px 20px;
    gap: 1.2rem;
  }
  body.about-page .cta-box .cta-row {
    flex-direction: column;
    width: 100%;
  }
  body.about-page .cta-box .btn {
    width: 100%;
  }
}

/* Contact Page */
body.contact-page .section {
  padding-block: 96px;
}

body.contact-page .section.alt {
  background: #f6f3ec;
}

body.contact-page .hero .hero-title {
  max-width: 14ch;
}

body.contact-page .hero-sub {
  margin: 0;
  color: var(--text-muted);
  max-width: 62ch;
}

body.contact-page .micro-note {
  margin: 0.8rem 0 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

body.contact-page .cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 20px;
}

body.contact-page .contact-form-wrap {
  max-width: 680px;
}

body.contact-page .contact-form {
  display: grid;
  gap: 16px;
}

body.contact-page .contact-form label {
  font-size: 0.95rem;
  font-weight: 600;
}

body.contact-page .contact-form input,
body.contact-page .contact-form textarea,
body.contact-page .contact-form select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--text);
  font: inherit;
  padding: 0.74rem 0.82rem;
}

body.contact-page .contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

body.contact-page .contact-form .btn {
  margin-top: 6px;
}

body.contact-page .form-note {
  margin: 14px 0 0;
  font-size: 0.88rem;
  color: #697586;
}

body.contact-page .book-call-block {
  max-width: 760px;
  margin-inline: auto;
}

body.contact-page .book-call-block p {
  color: var(--text-muted);
}

body.contact-page .faq {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

body.contact-page .faq article {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 1rem;
}

body.contact-page .faq h3 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
}

body.contact-page .faq p {
  margin: 0;
  color: var(--text-muted);
}

@media (max-width: 1024px) {
  body.contact-page .section {
    padding-block: 64px;
  }

  body.contact-page .faq {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  body.contact-page .section {
    padding-block: 48px;
  }

  body.contact-page .cta-row {
    flex-direction: column;
    width: 100%;
  }

  body.contact-page .cta-row .btn,
  body.contact-page .contact-form .btn,
  body.contact-page .book-call-block .btn {
    width: 100%;
  }
}
