:root {
  --ink: #102326;
  --ink-soft: #34494c;
  --muted: #667879;
  --paper: #ffffff;
  --cream: #f7f5ef;
  --line: #dde7e4;
  --teal: #39c6b6;
  --teal-dark: #168f82;
  --coral: #ff6b4a;
  --blue: #4f6dff;
  --amber: #ffb84d;
  --shadow: 0 18px 50px rgba(16, 35, 38, 0.12);
  --radius: 8px;
  --max: 1180px;
}

* {
  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", Arial, sans-serif;
  line-height: 1.5;
}

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

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

p,
h1,
h2,
h3,
h4 {
  margin: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(221, 231, 228, 0.84);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 16px 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand img {
  width: 136px;
  height: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--ink-soft);
  font-size: 15px;
  font-weight: 700;
}

.nav-links a {
  border-radius: var(--radius);
  padding: 9px 12px;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--ink);
  background: var(--cream);
}

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

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  padding: 10px 16px;
  background: var(--ink);
  color: var(--paper);
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
}

.button:hover {
  border-color: #1e4146;
  background: #1e4146;
}

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

.button.secondary:hover {
  border-color: var(--teal);
  background: #e9f8f5;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 680px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 84% 8%, rgba(79, 109, 255, 0.18), transparent 32%),
    radial-gradient(circle at 18% 18%, rgba(57, 198, 182, 0.18), transparent 32%),
    linear-gradient(135deg, #ffffff 0%, #f7f5ef 70%);
}

.hero::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -120px;
  width: 660px;
  height: 430px;
  background: var(--coral);
  opacity: 0.08;
  transform: rotate(-12deg);
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  padding: 104px 24px 82px;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--teal);
}

h1 {
  max-width: 760px;
  font-size: 64px;
  line-height: 1.02;
  letter-spacing: 0;
}

.lead {
  max-width: 640px;
  margin-top: 24px;
  color: var(--ink-soft);
  font-size: 20px;
}

.hero-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-art {
  position: absolute;
  right: -80px;
  bottom: -30px;
  width: 670px;
  transform: rotate(-2deg);
  filter: drop-shadow(0 28px 45px rgba(16, 35, 38, 0.18));
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: var(--max);
  margin: -36px auto 0;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

.stat {
  min-height: 132px;
  padding: 24px;
  border: 1px solid var(--line);
  background: var(--paper);
}

.stat strong {
  display: block;
  font-size: 30px;
  line-height: 1;
}

.stat span {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  font-size: 15px;
}

.section {
  padding: 92px 24px;
}

.section.alt {
  background: var(--cream);
}

.section.dark {
  background: var(--ink);
  color: var(--paper);
}

.container {
  max-width: var(--max);
  margin: 0 auto;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 36px;
  margin-bottom: 34px;
}

.section-head .copy {
  max-width: 650px;
}

h2 {
  font-size: 42px;
  line-height: 1.1;
  letter-spacing: 0;
}

.section-head p,
.wide-copy {
  margin-top: 16px;
  color: var(--muted);
  font-size: 18px;
}

.dark .section-head p,
.dark .wide-copy {
  color: #b7c9c7;
}

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

.product-card,
.feature-card,
.resource-card,
.value-card,
.contact-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
}

.product-card {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
}

.product-card figure {
  margin: 0;
  background: var(--cream);
}

.product-card img {
  width: 100%;
  height: auto;
}

.product-body {
  padding: 28px;
}

.product-body h3 {
  font-size: 28px;
}

.product-body p {
  margin-top: 12px;
  color: var(--muted);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.tag {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 10px;
  background: #fbfcfb;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 800;
}

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

.feature-card,
.value-card,
.resource-card,
.contact-card {
  padding: 24px;
}

.feature-card .icon,
.value-card .icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: var(--radius);
  background: #e9f8f5;
  color: var(--teal-dark);
  font-weight: 900;
}

.feature-card h3,
.value-card h3,
.resource-card h3,
.contact-card h3 {
  font-size: 20px;
}

.feature-card p,
.value-card p,
.resource-card p,
.contact-card p {
  margin-top: 10px;
  color: var(--muted);
}

.contact-card + .contact-card {
  margin-top: 18px;
}

.demo {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 38px;
  align-items: center;
}

.demo-copy h2 {
  max-width: 560px;
}

.demo-list {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.demo-item {
  display: grid;
  grid-template-columns: 12px 1fr;
  gap: 14px;
}

.demo-item::before {
  content: "";
  width: 12px;
  height: 12px;
  margin-top: 7px;
  border-radius: 50%;
  background: var(--coral);
}

.demo-item strong {
  display: block;
}

.demo-item span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
}

.demo-frame {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.dark .demo-frame {
  border-color: #214245;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 44px;
  align-items: center;
}

.split-media {
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.timeline {
  display: grid;
  gap: 16px;
  margin-top: 30px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 18px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.timeline-item strong {
  color: var(--teal-dark);
}

.timeline-item p {
  color: var(--muted);
}

.page-hero {
  border-bottom: 1px solid var(--line);
  background: linear-gradient(135deg, #ffffff 0%, #f7f5ef 100%);
}

.page-hero .container {
  padding: 84px 24px 72px;
}

.page-hero h1 {
  max-width: 860px;
}

.page-hero .lead {
  max-width: 760px;
}

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

.module-list {
  display: grid;
  gap: 10px;
  margin-top: 22px;
  padding: 0;
  list-style: none;
}

.module-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-soft);
}

.module-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
}

.contact-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  background: var(--paper);
}

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

.field {
  display: grid;
  gap: 8px;
}

.field label {
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 800;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 13px;
  color: var(--ink);
  background: var(--paper);
  font: inherit;
}

.field textarea {
  min-height: 140px;
  resize: vertical;
}

.footer {
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 30px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 44px 24px;
}

.footer p {
  max-width: 330px;
  margin-top: 14px;
  color: var(--muted);
}

.footer h4 {
  margin-bottom: 12px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer a {
  display: block;
  margin-top: 8px;
  color: var(--muted);
}

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

.footer-bottom {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 24px;
}

@media (max-width: 1100px) {
  .hero-art {
    opacity: 0.26;
  }
}

@media (max-width: 880px) {
  .nav {
    flex-wrap: wrap;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    order: 3;
    width: 100%;
    align-items: stretch;
    flex-direction: column;
    padding-top: 10px;
  }

  .nav.open .nav-links {
    display: flex;
  }

  .nav-actions {
    display: none;
  }

  h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 32px;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    padding-top: 72px;
  }

  .hero-art {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    margin-top: 34px;
    opacity: 1;
    transform: none;
  }

  .hero-stats,
  .product-grid,
  .feature-grid,
  .demo,
  .split,
  .comparison,
  .contact-layout,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .section-head {
    display: block;
  }

  .section-head .button {
    margin-top: 20px;
  }

  .section {
    padding: 70px 24px;
  }
}

@media (max-width: 560px) {
  .nav {
    padding: 13px 16px;
  }

  .brand img {
    width: 118px;
  }

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

  h1 {
    font-size: 34px;
  }

  h2 {
    font-size: 28px;
  }

  .lead {
    font-size: 17px;
  }

  .hero-inner,
  .section,
  .page-hero .container,
  .footer-inner,
  .footer-bottom .container {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero-stats {
    padding-left: 18px;
    padding-right: 18px;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .footer-bottom .container {
    display: block;
  }
}
