:root {
  --ink: #172033;
  --muted: #5c667a;
  --line: #dbe2ea;
  --surface: #ffffff;
  --soft: #f4f7fb;
  --blue: #0c6fd8;
  --blue-dark: #074c98;
  --orange: #f47b20;
  --green: #168a63;
  --teal: #0b7f8c;
  --shadow: 0 18px 45px rgba(23, 32, 51, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fbfcfe;
  font-family: 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;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 14px clamp(20px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: max-content;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--orange));
  border-radius: 8px;
  font-weight: 800;
}

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

.brand strong {
  font-size: 15px;
  letter-spacing: 0;
}

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

.main-nav,
.footer-links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.nav-menu {
  position: relative;
}

.nav-menu-trigger {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.nav-menu-trigger::after {
  content: "";
  width: 7px;
  height: 7px;
  margin-left: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}

.nav-menu-panel {
  position: absolute;
  top: 100%;
  left: 0;
  display: grid;
  min-width: 190px;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.nav-menu:hover .nav-menu-panel,
.nav-menu:focus-within .nav-menu-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-menu-panel a {
  padding: 10px 12px;
  border-radius: 6px;
  color: var(--ink);
  white-space: nowrap;
}

.nav-menu-panel a:hover {
  background: var(--soft);
}

.main-nav a:hover,
.footer-links a:hover {
  color: var(--blue);
}

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

.header-cta,
.primary-action,
.demo-form button {
  color: #fff;
  background: var(--blue);
  box-shadow: 0 12px 24px rgba(12, 111, 216, 0.18);
}

.header-cta {
  padding: 0 18px;
}

.primary-action,
.secondary-action {
  padding: 0 22px;
}

.secondary-action {
  color: var(--blue-dark);
  background: #fff;
  border: 1px solid var(--line);
}

.hero-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.82fr);
  gap: clamp(34px, 6vw, 78px);
  align-items: center;
  min-height: calc(100vh - 76px);
  padding: clamp(52px, 7vw, 86px) clamp(20px, 5vw, 72px) 58px;
  background:
    linear-gradient(110deg, rgba(12, 111, 216, 0.08), rgba(244, 123, 32, 0.08)),
    #f8fbff;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--orange);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-copy h1 {
  max-width: 790px;
  margin: 0;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 680px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 20px);
}

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

.product-preview {
  overflow: hidden;
  min-height: 470px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

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

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

.preview-body {
  display: grid;
  grid-template-columns: 72px 1fr;
  min-height: 422px;
}

.preview-sidebar {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 24px 18px;
  background: #172033;
}

.preview-sidebar span {
  height: 34px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.18);
}

.preview-sidebar .active {
  background: var(--orange);
}

.preview-content {
  padding: 28px;
}

.preview-heading {
  width: 62%;
  height: 24px;
  margin-bottom: 24px;
  border-radius: 8px;
  background: #dce7f6;
}

.preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

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

.metric strong {
  display: block;
  font-size: 30px;
}

.metric span {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.metric.blue {
  background: #ecf5ff;
}

.metric.green {
  background: #edf9f4;
}

.metric.orange {
  background: #fff4ea;
}

.chart-lines {
  display: grid;
  gap: 16px;
  margin-top: 32px;
  padding: 28px;
  background: var(--soft);
  border-radius: 8px;
}

.chart-lines span {
  display: block;
  height: 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue), var(--teal));
}

.lms-line,
.section,
.contact-section {
  margin: 0 auto;
  padding: clamp(58px, 7vw, 92px) clamp(20px, 5vw, 72px);
}

.lms-line {
  display: grid;
  grid-template-columns: 0.55fr 1fr;
  gap: 24px;
  align-items: center;
  max-width: 1180px;
  font-size: 18px;
}

.lms-line strong {
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.1;
}

.lms-line span {
  color: var(--muted);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 32px;
}

.section-heading h2,
.split-section h2,
.about-section h2,
.contact-copy h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: 0;
}

.section-heading p:not(.eyebrow),
.split-section p,
.about-section p,
.contact-copy p {
  color: var(--muted);
  font-size: 17px;
}

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

.feature-card,
.benefit-card,
.page-plan-grid article {
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.feature-card h3,
.benefit-card h3,
.page-plan-grid h3 {
  margin: 14px 0 8px;
  font-size: 18px;
}

.feature-card p,
.benefit-card p,
.page-plan-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 32px;
  color: #fff;
  background: var(--ink);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 800;
}

.benefits-section {
  background: var(--soft);
}

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

.benefit-card {
  border-top: 4px solid var(--blue);
}

.benefit-card:nth-child(2n) {
  border-top-color: var(--green);
}

.benefit-card:nth-child(3n) {
  border-top-color: var(--orange);
}

.split-section,
.about-section,
.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(360px, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
  max-width: 1280px;
}

.structured-list,
.resource-list {
  display: grid;
  gap: 12px;
}

.structured-list div,
.resource-list a {
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.structured-list strong,
.structured-list span {
  display: block;
}

.structured-list span {
  margin-top: 5px;
  color: var(--muted);
}

.resource-list a {
  color: var(--blue-dark);
  font-weight: 700;
}

.page-plan-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.about-section {
  align-items: center;
  border-top: 1px solid var(--line);
}

.faq-section {
  background: var(--soft);
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 900px;
}

.faq-list details {
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 800;
}

.faq-list p {
  margin: 12px 0 0;
  color: var(--muted);
}

.contact-section {
  max-width: none;
  background: #172033;
  color: #fff;
}

.contact-copy p:not(.eyebrow) {
  color: #c7d0de;
}

.demo-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 24px;
  color: var(--ink);
  background: #fff;
  border-radius: 8px;
}

.demo-form label {
  display: grid;
  gap: 8px;
  color: #344055;
  font-size: 13px;
  font-weight: 700;
}

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

.demo-form textarea {
  resize: vertical;
}

.full-span,
.demo-form button,
.form-note {
  grid-column: 1 / -1;
}

.demo-form button {
  border: 0;
  cursor: pointer;
  font: inherit;
}

.form-note {
  min-height: 20px;
  margin: 0;
  color: var(--green);
  font-size: 14px;
  font-weight: 700;
}

.site-footer {
  background: #0f1726;
  color: #fff;
}

.footer-main {
  display: grid;
  grid-template-columns: 0.55fr 1fr;
  gap: 32px;
  align-items: start;
  padding: 36px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-brand {
  display: grid;
  gap: 18px;
}

.footer-logo small,
.footer-links {
  color: #b4bfd0;
}

.social-links {
  display: flex;
  gap: 10px;
}

.social-links a {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
}

.social-links svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.footer-links {
  justify-content: flex-end;
}

.copyright {
  padding: 18px clamp(20px, 5vw, 72px);
  color: #b4bfd0;
  font-size: 13px;
}

@media (max-width: 1000px) {
  .hero-section,
  .split-section,
  .about-section,
  .contact-section,
  .lms-line {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .benefit-grid,
  .page-plan-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-preview {
    min-height: 390px;
  }

  .site-header {
    align-items: flex-start;
    flex-wrap: wrap;
  }
}

@media (max-width: 700px) {
  .main-nav {
    order: 3;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .header-cta {
    min-height: 40px;
  }

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

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

  .product-preview {
    min-height: auto;
  }

  .preview-body {
    grid-template-columns: 54px 1fr;
  }

  .preview-content {
    padding: 18px;
  }

  .preview-grid,
  .feature-grid,
  .benefit-grid,
  .page-plan-grid,
  .demo-form,
  .footer-main {
    grid-template-columns: 1fr;
  }

  .metric {
    min-height: 92px;
  }

  .footer-links {
    justify-content: flex-start;
    flex-wrap: wrap;
  }
}
