:root {
  --ink: #17212b;
  --muted: #5e6b78;
  --line: #d9e0e6;
  --paper: #ffffff;
  --soft: #f5f7f8;
  --teal: #0f8b8d;
  --blue: #2864b4;
  --coral: #d8644a;
  --green: #3b7d4a;
  --shadow: 0 18px 60px rgba(23, 33, 43, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.nav,
.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 190px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 14px 30px rgba(23, 33, 43, 0.18);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  display: block;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
}

.nav-links a:hover {
  color: var(--ink);
}

.nav-action,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  font-weight: 750;
  font-size: 14px;
}

.button.primary,
.nav-action {
  color: #fff;
  background: var(--ink);
}

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

.section-band {
  padding: 88px 0;
}

.surface {
  background: var(--soft);
}

.hero {
  min-height: 820px;
  padding-top: 64px;
  padding-bottom: 56px;
  display: flex;
  align-items: center;
}

.hero-grid,
.split,
.contrast-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
  gap: 64px;
  align-items: center;
}

.hero-copy h1,
.section-heading h2,
.contrast h2,
.cta h2 {
  margin: 0;
  letter-spacing: 0;
  line-height: 1.04;
}

.hero-copy h1 {
  max-width: 720px;
  font-size: clamp(42px, 5vw, 68px);
}

.hero-copy p {
  max-width: 650px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 19px;
}

.hero-actions,
.proof-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
}

.proof-row {
  color: var(--muted);
  font-size: 14px;
}

.proof-row span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.product-visual {
  background: #fdfefe;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.visual-toolbar {
  min-height: 52px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
  background: #eef3f3;
}

.visual-toolbar span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--coral);
}

.visual-toolbar span:nth-child(2) {
  background: #e0b84f;
}

.visual-toolbar span:nth-child(3) {
  background: var(--green);
}

.visual-toolbar strong {
  margin-left: auto;
  font-size: 13px;
}

.visual-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding: 18px;
}

.metric-panel,
.timeline-panel,
.invoice-panel,
.module-card,
.price-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.metric-panel {
  min-height: 128px;
  padding: 18px;
  color: #fff;
}

.metric-panel small,
.metric-panel span,
.invoice-panel small {
  display: block;
  opacity: 0.78;
}

.metric-panel strong {
  display: block;
  margin: 8px 0 6px;
  font-size: 32px;
  line-height: 1;
}

.metric-panel.teal {
  background: var(--teal);
}

.metric-panel.blue {
  background: var(--blue);
}

.timeline-panel,
.invoice-panel {
  grid-column: span 2;
  padding: 16px;
}

.timeline-row {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.timeline-row:last-child {
  border-bottom: 0;
}

.timeline-row span {
  color: var(--muted);
  font-size: 13px;
}

.timeline-row strong,
.timeline-row em {
  display: block;
}

.timeline-row em {
  grid-column: 2;
  color: var(--muted);
  font-style: normal;
  font-size: 13px;
}

.timeline-row.active {
  color: var(--teal);
}

.invoice-panel {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.invoice-panel strong {
  display: block;
  font-size: 24px;
}

.invoice-bars {
  height: 92px;
  min-width: 150px;
  display: flex;
  align-items: end;
  gap: 10px;
}

.invoice-bars span {
  width: 26px;
  background: var(--coral);
  border-radius: 6px 6px 0 0;
}

.section-heading {
  max-width: 720px;
  margin: 0 auto 36px;
  text-align: center;
}

.section-heading.align-left {
  margin: 0;
  text-align: left;
}

.section-heading h2,
.contrast h2,
.cta h2 {
  font-size: clamp(30px, 4vw, 48px);
}

.section-heading p,
.contrast p,
.cta p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.module-grid,
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.module-card,
.price-card {
  padding: 24px;
}

.module-card.accent {
  border-color: rgba(15, 139, 141, 0.45);
  box-shadow: 0 18px 44px rgba(15, 139, 141, 0.12);
}

.module-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #fff;
  background: var(--teal);
  border-radius: 8px;
  font-weight: 800;
  font-size: 13px;
}

.module-card h3,
.price-card h3,
.flow-list h3 {
  margin: 18px 0 8px;
  font-size: 22px;
}

.module-card p,
.price-card span,
.flow-list p,
.comparison span {
  color: var(--muted);
}

.module-card ul,
.price-card ul {
  margin: 20px 0 0;
  padding-left: 18px;
  color: var(--ink);
}

.module-card li,
.price-card li {
  margin-top: 8px;
}

.flow-list {
  display: grid;
  gap: 14px;
}

.flow-list article {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 16px;
  align-items: start;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.flow-list span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--blue);
  border-radius: 8px;
  font-weight: 800;
}

.flow-list h3,
.flow-list p {
  margin: 0;
}

.flow-list p {
  margin-top: 6px;
}

.contrast {
  color: #fff;
  background: var(--ink);
}

.contrast p {
  color: rgba(255, 255, 255, 0.72);
}

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

.comparison article {
  padding: 22px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
}

.comparison strong,
.comparison span {
  display: block;
}

.comparison span {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.72);
}

.price-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.price-card.highlight {
  border-color: rgba(216, 100, 74, 0.55);
  box-shadow: 0 18px 44px rgba(216, 100, 74, 0.13);
}

.price {
  margin: 10px 0 0;
  font-size: 38px;
  line-height: 1;
  font-weight: 850;
}

.cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.cta p {
  max-width: 760px;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.7fr);
  gap: 34px;
  align-items: start;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.contact-copy h2 {
  margin: 0;
  max-width: 720px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.04;
}

.contact-copy p {
  max-width: 720px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.contact-points {
  margin: 24px 0 0;
  padding-left: 18px;
  color: var(--ink);
}

.contact-points li {
  margin-top: 8px;
}

.lead-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.lead-form label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
}

.lead-form textarea {
  resize: vertical;
}

.lead-form .full,
.form-note {
  grid-column: 1 / -1;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 28px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
}

@media (max-width: 920px) {
  .nav {
    flex-wrap: wrap;
    padding: 14px 0;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero-grid,
  .split,
  .contrast-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .hero {
    min-height: auto;
  }

  .module-grid,
  .price-grid {
    grid-template-columns: 1fr 1fr;
  }

  .contact-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .nav,
  .container {
    width: min(100% - 24px, 1120px);
  }

  .nav-action {
    width: 100%;
  }

  .section-band {
    padding: 58px 0;
  }

  .hero-copy h1 {
    font-size: 40px;
  }

  .hero-copy p,
  .section-heading p,
  .contrast p,
  .cta p {
    font-size: 16px;
  }

  .visual-grid,
  .module-grid,
  .price-grid {
    grid-template-columns: 1fr;
  }

  .timeline-panel,
  .invoice-panel {
    grid-column: span 1;
  }

  .invoice-panel,
  .cta,
  .contact-panel,
  .footer-inner {
    align-items: stretch;
    flex-direction: column;
  }

  .contact-panel {
    display: flex;
  }

  .lead-form {
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }
}
