:root {
  --ink: #171416;
  --ink-soft: #393434;
  --muted: #756d69;
  --canvas: #f7f3ee;
  --panel: #fffaf4;
  --line: #e7ddd2;
  --sage: #7b9b82;
  --terra: #c46d57;
  --cobalt: #1f6f8b;
  --gold: #c4a257;
  --shadow: 0 28px 80px rgba(45, 38, 31, 0.12);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--canvas);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--canvas);
}

body {
  margin: 0;
  background: var(--canvas);
}

body,
button,
input {
  font: inherit;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(231, 221, 210, 0.82);
  background: rgba(247, 243, 238, 0.86);
  backdrop-filter: blur(18px);
}

.nav-wrap,
.section-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 74px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-link img {
  width: 156px;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 760;
}

.site-nav a {
  text-decoration: none;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.button,
.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0 18px;
  font-weight: 850;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button {
  color: #fffaf4;
  background: linear-gradient(135deg, var(--ink), var(--cobalt));
  box-shadow: 0 18px 42px rgba(23, 20, 22, 0.18);
}

.button-secondary {
  color: var(--ink);
  border-color: var(--line);
  background: #fffaf4;
}

.button:hover,
.button-secondary:hover {
  transform: translateY(-1px);
}

.hero {
  padding: 42px 0 0;
}

.hero-frame {
  min-height: calc(100vh - 102px);
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  align-items: stretch;
  gap: 28px;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 42px 0 84px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--terra);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  letter-spacing: 0;
  line-height: 1.02;
}

h1 {
  max-width: 790px;
  margin-bottom: 20px;
  font-size: clamp(3rem, 7vw, 6.6rem);
}

.hero-copy > p {
  max-width: 660px;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 1.6vw, 1.24rem);
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 22px 0 28px;
}

.proof-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 760px;
}

.proof-row div,
.metric-tile,
.feature-item,
.step,
.pricing-card,
.faq-item,
.calculator,
.comparison-row {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 244, 0.9);
}

.proof-row div {
  padding: 14px;
}

.proof-row strong,
.metric-tile strong,
.pricing-card strong {
  display: block;
  font-size: 1.6rem;
}

.proof-row span,
.metric-tile span,
.feature-item p,
.step p,
.faq-item p,
.pricing-card p,
.comparison-row p {
  color: var(--muted);
  line-height: 1.6;
}

.hero-visual {
  min-height: 620px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section {
  padding: 92px 0;
}

.section.alt {
  background: #fffaf4;
}

.section-heading {
  display: grid;
  gap: 10px;
  max-width: 820px;
  margin-bottom: 34px;
}

.section-heading.center {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-heading h2 {
  margin-bottom: 0;
  font-size: clamp(2.1rem, 4.4vw, 4.2rem);
}

.section-heading p {
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.7;
}

.metric-grid,
.feature-grid,
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.metric-tile,
.feature-item,
.step,
.pricing-card,
.faq-item {
  padding: 22px;
}

.feature-item h3,
.step h3,
.pricing-card h3 {
  margin-bottom: 10px;
  font-size: 1.28rem;
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  border-radius: 8px;
  color: white;
  background: var(--ink);
}

.workflow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.step-number {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 24px;
  border-radius: 50%;
  color: white;
  background: var(--cobalt);
  font-weight: 900;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: 24px;
  align-items: stretch;
}

.comparison {
  display: grid;
  gap: 10px;
}

.comparison-row {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 16px;
  padding: 18px;
}

.comparison-row strong {
  color: var(--ink);
}

.calculator {
  padding: 24px;
  background: #171416;
  color: #fffaf4;
}

.calculator p,
.calculator label,
.calculator small {
  color: rgba(255, 250, 244, 0.72);
}

.calculator input {
  width: 100%;
  accent-color: var(--sage);
}

.calc-result {
  margin: 24px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 20px;
}

.calc-result strong {
  display: block;
  margin-top: 4px;
  color: #fffaf4;
  font-size: 2.5rem;
}

.pricing-card.highlight {
  color: #fffaf4;
  background: linear-gradient(135deg, var(--ink), #255d6d);
}

.pricing-card.highlight p,
.pricing-card.highlight li {
  color: rgba(255, 250, 244, 0.78);
}

.pricing-card ul {
  display: grid;
  gap: 9px;
  margin: 18px 0;
  padding: 0;
  list-style: none;
}

.pricing-card li {
  color: var(--muted);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.cta-band {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 44px;
  color: #fffaf4;
  background:
    linear-gradient(135deg, rgba(23, 20, 22, 0.95), rgba(31, 111, 139, 0.9)),
    url("./assets/modelier-hero.png") center/cover;
}

.cta-band p {
  max-width: 680px;
  color: rgba(255, 250, 244, 0.78);
  line-height: 1.7;
}

.site-footer {
  padding: 38px 0;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-links a {
  text-decoration: none;
}

.mobile-menu {
  display: none;
}

@media (max-width: 960px) {
  .site-nav {
    display: none;
  }

  .site-nav.is-open {
    position: absolute;
    top: 74px;
    right: 16px;
    left: 16px;
    display: grid;
    gap: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 16px;
    background: #fffaf4;
    box-shadow: var(--shadow);
  }

  .mobile-menu {
    display: inline-flex;
  }

  .hero-frame,
  .split {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 460px;
  }

  .metric-grid,
  .feature-grid,
  .pricing-grid,
  .workflow,
  .faq-grid,
  .proof-row {
    grid-template-columns: 1fr;
  }

  .comparison-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .nav-wrap,
  .section-inner {
    width: min(100% - 24px, 1180px);
  }

  .nav-actions .button-secondary {
    display: none;
  }

  .brand-link img {
    width: 132px;
  }

  .section {
    padding: 64px 0;
  }

  .hero {
    padding-top: 22px;
  }

  .hero-frame {
    min-height: auto;
  }

  .hero-copy {
    padding-bottom: 36px;
  }

  .cta-band {
    padding: 26px;
  }
}
