:root {
  --bg: #fbfaf6;
  --surface: #ffffff;
  --ink: #1f2528;
  --muted: #5f6a70;
  --line: #dfe4e2;
  --brand: #2f6f73;
  --brand-dark: #184c50;
  --coral: #c8664a;
  --gold: #c99a2e;
  --blue: #4d6f9f;
  --green: #3d8b65;
  --shadow: 0 24px 60px rgba(31, 37, 40, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 0 6vw;
  background: rgba(251, 250, 246, 0.88);
  border-bottom: 1px solid rgba(223, 228, 226, 0.9);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 750;
  letter-spacing: 0;
}

.brand.compact {
  margin-bottom: 16px;
}

.brand-mark {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 8px;
  background: var(--brand-dark);
  color: #fff;
  font-weight: 800;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--muted);
  font-size: 0.95rem;
}

.site-nav a:hover,
.site-footer a:hover {
  color: var(--brand-dark);
}

.nav-button,
.primary-button,
.secondary-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-weight: 700;
}

.nav-button {
  padding: 0 16px;
  background: var(--ink);
  color: #fff;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1fr);
  gap: 56px;
  align-items: center;
  min-height: calc(100vh - 72px);
  padding: 72px 6vw 92px;
}

.hero-copy {
  max-width: 660px;
}

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

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

h1 {
  margin-bottom: 20px;
  font-size: clamp(4rem, 8vw, 7.8rem);
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2.1rem, 4vw, 4.25rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.18rem;
  letter-spacing: 0;
}

.hero-text {
  max-width: 610px;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.primary-button {
  padding: 0 22px;
  background: var(--brand-dark);
  color: #fff;
}

.secondary-button {
  padding: 0 20px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
}

.product-preview {
  overflow: hidden;
  border: 1px solid rgba(31, 37, 40, 0.09);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.preview-topbar {
  display: flex;
  gap: 8px;
  height: 44px;
  align-items: center;
  padding: 0 18px;
  background: #eef4f1;
  border-bottom: 1px solid var(--line);
}

.preview-topbar span {
  width: 10px;
  height: 10px;
  border-radius: 99px;
  background: #9fb1ad;
}

.preview-layout {
  display: grid;
  grid-template-columns: 140px 1fr;
  min-height: 440px;
}

.preview-sidebar {
  padding: 26px 18px;
  background: #f6f2ea;
  border-right: 1px solid var(--line);
}

.sidebar-line {
  height: 12px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: #cbd5d1;
}

.sidebar-line.short {
  width: 70%;
}

.sidebar-line.active {
  background: var(--brand);
}

.preview-main {
  padding: 30px;
}

.preview-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}

.preview-heading strong {
  display: block;
  font-size: 1.3rem;
}

.preview-heading small,
.metric span,
.order-item small {
  display: block;
  color: var(--muted);
}

.status-pill,
.order-tag {
  display: inline-flex;
  min-width: 74px;
  min-height: 30px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #e7f0ec;
  color: var(--brand-dark);
  font-size: 0.78rem;
  font-weight: 800;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}

.metric {
  min-height: 100px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.metric strong {
  display: block;
  margin-top: 8px;
  font-size: 2rem;
  line-height: 1;
}

.order-list {
  display: grid;
  gap: 12px;
}

.order-item {
  display: grid;
  grid-template-columns: 12px 1fr auto;
  gap: 14px;
  align-items: center;
  min-height: 74px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.order-dot {
  width: 12px;
  height: 12px;
  border-radius: 99px;
}

.order-dot.green {
  background: var(--green);
}

.order-dot.amber {
  background: var(--gold);
}

.order-dot.blue {
  background: var(--blue);
}

.section,
.split-section,
.legal-page {
  padding: 84px 6vw;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 34px;
}

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

.feature-card,
.compliance-list > div,
.legal-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.feature-card {
  min-height: 260px;
  padding: 28px;
}

.feature-card p,
.split-section p,
.legal-page p,
.legal-page li {
  color: var(--muted);
}

.feature-icon {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  margin-bottom: 38px;
  border-radius: 8px;
  background: #eef4f1;
  color: var(--brand-dark);
  font-weight: 850;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(340px, 1fr);
  gap: 52px;
  align-items: start;
  background: #f1f6f3;
}

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

.compliance-list > div {
  padding: 24px;
}

.compliance-list p {
  margin-bottom: 0;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 44px;
  align-items: start;
  padding: 48px 6vw;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer p {
  max-width: 640px;
  margin-bottom: 0;
}

.site-footer nav {
  display: grid;
  gap: 12px;
}

.legal-page {
  max-width: 980px;
  margin: 0 auto;
}

.legal-page h1 {
  font-size: clamp(2.6rem, 7vw, 5.6rem);
}

.legal-card {
  padding: 34px;
}

.legal-card h2 {
  margin-top: 32px;
  font-size: clamp(1.35rem, 3vw, 2rem);
}

.legal-card h2:first-child {
  margin-top: 0;
}

.legal-card a {
  color: var(--brand-dark);
  font-weight: 750;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.legal-card ul,
.legal-card ol {
  padding-left: 22px;
}

.callback-box {
  display: grid;
  gap: 14px;
  max-width: 680px;
}

.code-box {
  overflow-wrap: anywhere;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f6f2ea;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.92rem;
}

@media (max-width: 980px) {
  .hero,
  .split-section {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 54px;
  }

  .product-preview {
    max-width: 720px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .site-header {
    position: static;
    display: grid;
    gap: 18px;
    min-height: auto;
    padding-top: 20px;
    padding-bottom: 18px;
  }

  .site-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    width: 100%;
  }

  .site-nav a {
    min-height: 40px;
  }

  .nav-button {
    padding: 0 12px;
  }

  .hero {
    min-height: auto;
    padding-bottom: 60px;
  }

  .preview-layout {
    grid-template-columns: 1fr;
  }

  .preview-sidebar {
    display: none;
  }

  .preview-main {
    padding: 22px;
  }

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

  .order-item {
    grid-template-columns: 12px 1fr;
  }

  .order-tag {
    grid-column: 2;
    justify-self: start;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  .hero-actions {
    display: grid;
  }

  .primary-button,
  .secondary-button {
    width: 100%;
  }

  .legal-card {
    padding: 24px;
  }
}
