:root {
  --bg: #eef3f8;
  --surface: #ffffff;
  --surface-soft: #f7f9fc;
  --line: #d6e0ea;
  --line-strong: #b8c7d8;
  --text: #122033;
  --muted: #53657a;
  --accent: #0f5aa6;
  --accent-strong: #093d72;
  --accent-soft: #eaf3ff;
  --success: #0d7d61;
  --shadow: 0 18px 48px rgba(17, 35, 58, 0.08);
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 12px;
  --content: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", system-ui, sans-serif;
  color: var(--text);
  background:
    linear-gradient(180deg, #f5f8fc 0%, #eef3f8 100%);
}

section[id],
main [id] {
  scroll-margin-top: 112px;
}

a {
  color: var(--accent);
  text-decoration: none;
}

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

code {
  padding: 2px 6px;
  border-radius: 6px;
  background: #eef3f8;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.92em;
}

.site-shell {
  width: min(calc(100% - 32px), var(--content));
  margin: 0 auto;
  padding: 0 0 40px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-left: calc(50% - 50vw);
  margin-bottom: 20px;
  padding: 15px max(18px, calc((100vw - var(--content)) / 2 + 16px));
  border-bottom: 1px solid #dde6f0;
  background: rgba(255, 255, 255, 0.985);
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 24px rgba(17, 35, 58, 0.05);
}

.topbar-docs {
  border-bottom-color: #d8e5f3;
  background:
    linear-gradient(180deg, rgba(244, 249, 255, 0.98) 0%, rgba(255, 255, 255, 0.985) 100%);
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 15px;
  background: linear-gradient(135deg, #0f5aa6, #2f8cff);
  color: #fff;
  font-weight: 800;
  letter-spacing: -0.03em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.brand-copy {
  display: grid;
  gap: 2px;
  min-width: max-content;
}

.brand-copy strong {
  display: block;
  color: var(--text);
  font-size: 1.08rem;
  line-height: 1.1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand-copy small {
  display: block;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

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

.nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 4px;
  color: var(--muted);
  font-weight: 600;
  transition: color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.nav a::after {
  content: "";
  position: absolute;
  right: 4px;
  bottom: 6px;
  left: 4px;
  height: 2px;
  border-radius: 999px;
  background: transparent;
  transition: background 0.18s ease, transform 0.18s ease;
  transform: scaleX(0.4);
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--accent);
}

.nav a:hover::after,
.nav a:focus-visible::after,
.nav a.is-current::after {
  background: #0f5aa6;
  transform: scaleX(1);
}

.nav a.is-current,
.wiki-nav a.is-current {
  color: var(--accent-strong);
}

.topbar-docs .nav a.is-current::after,
.topbar-docs .nav a:hover::after,
.topbar-docs .nav a:focus-visible::after {
  background: #0b7d61;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--text);
}

main {
  display: grid;
  gap: 20px;
}

.docs-context-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  padding: 16px 20px;
  border: 1px solid #d9e6f3;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #f5faff 0%, #eef5fc 100%);
  box-shadow: 0 12px 24px rgba(17, 35, 58, 0.04);
}

.docs-context-copy {
  display: grid;
  gap: 4px;
}

.docs-context-kicker {
  color: #0f5aa6;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.docs-context-copy p {
  margin: 0;
  color: var(--muted);
  font-weight: 600;
}

.docs-context-button {
  flex-shrink: 0;
}

.hero,
.section,
.thank-you-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 520px);
  gap: 28px;
  padding: 34px;
}

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

.hero-copy h1,
.section-heading h2,
.price-panel h3,
.fact-card h3,
.feature-card h3,
.screen-copy h3,
.technical-card h3 {
  margin: 0;
  letter-spacing: -0.04em;
}

.hero-copy h1 {
  font-size: clamp(2.8rem, 5.5vw, 4.9rem);
  line-height: 0.96;
}

.lede,
.fact-card p,
.feature-card li,
.screen-copy p,
.technical-card p,
.contact-copy p,
.price-copy {
  color: var(--muted);
  line-height: 1.7;
}

.hero-list,
.price-list,
.contact-points,
.feature-card ul {
  padding-left: 18px;
  margin: 18px 0 0;
}

.hero-list li,
.price-list li,
.contact-points li {
  margin-bottom: 10px;
  color: var(--muted);
}

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

.version-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 2px;
}

.version-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid #d8e3ef;
  border-radius: 999px;
  background: #f4f8fc;
  color: #36516f;
  font-size: 0.88rem;
  font-weight: 700;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.96rem;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

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

.button.is-pressed,
.nav a.is-pressed,
.wiki-nav a.is-pressed {
  transform: translateY(1px);
}

.button-primary {
  background: var(--accent);
  color: #fff;
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--accent-strong);
}

.button-secondary {
  background: var(--surface-soft);
  border-color: var(--line);
  color: var(--text);
}

.hero-media {
  display: grid;
  gap: 16px;
  align-content: start;
}

.shot-card,
.screen-panel {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface-soft);
}

.shot-card figcaption,
.screen-copy {
  padding: 14px 16px 16px;
}

.product-image {
  width: 100%;
  height: auto;
  object-fit: contain;
  background: #ffffff;
}

.product-image-window {
  max-height: 820px;
}

.product-image-toolbar {
  max-height: 112px;
}

.shot-card figcaption {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.6;
}

.section {
  padding: 30px;
}

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

.section-heading h2 {
  font-size: clamp(2rem, 3.4vw, 3.2rem);
  line-height: 1.04;
}

.intro-grid,
.feature-grid,
.technical-grid,
.screen-layout,
.contact-layout {
  display: grid;
  gap: 16px;
}

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

.fact-card,
.feature-card,
.technical-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface-soft);
}

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

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

.feature-card-active {
  background: linear-gradient(180deg, #f5faff 0%, #edf5ff 100%);
}

.feature-card-future {
  background: linear-gradient(180deg, #fbfcfe 0%, #f4f7fb 100%);
}

.product-card {
  display: grid;
  gap: 14px;
}

.product-card-meta {
  margin: -2px 0 0;
  color: #36516f;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.functionality-card,
.doc-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface-soft);
}

.functionality-card h3,
.doc-card h3,
.workflow-card h3 {
  margin: 0 0 10px;
  font-size: 1.3rem;
}

.functionality-card p,
.doc-card p,
.workflow-heading p,
.workflow-steps li {
  color: var(--muted);
  line-height: 1.7;
}

.docs-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 20px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #f3f7fb;
}

.docs-cta p {
  margin: 0;
  font-weight: 600;
}

.feature-card ul {
  margin-top: 14px;
}

.feature-card li {
  margin-bottom: 10px;
}

.screen-layout {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hero-docs {
  grid-template-columns: minmax(0, 1fr) minmax(360px, 480px);
}

.hero-docs-compact {
  padding: 28px 30px;
}

.screen-panel img {
  width: 100%;
  border-bottom: 1px solid var(--line);
  background: #eaf0f7;
}

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

.section-pricing {
  background: linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
}

.price-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 24px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #f7fbff 0%, #eef5fc 100%);
}

.price-label {
  display: inline-block;
  margin: 0 0 12px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.84rem;
  font-weight: 700;
}

.price-panel h3 {
  font-size: clamp(2.5rem, 5vw, 4rem);
}

.section-contact {
  background: linear-gradient(180deg, #ffffff 0%, #f9fbfd 100%);
}

.section-docs {
  background: linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
}

.wiki-shell {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.wiki-sidebar {
  position: sticky;
  top: 104px;
}

.wiki-sidebar-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface-soft);
}

.wiki-sidebar-label {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.wiki-nav {
  display: grid;
  gap: 6px;
}

.wiki-nav a {
  display: block;
  padding: 10px 12px;
  border-radius: 12px;
  color: var(--text);
  font-weight: 600;
  transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.wiki-nav a:hover,
.wiki-nav a:focus-visible {
  background: #edf4fb;
}

.wiki-nav a.is-current {
  background: #eef5fc;
  box-shadow: inset 0 0 0 1px #d7e6f7;
}

.wiki-content {
  display: grid;
  gap: 28px;
}

.wiki-section {
  display: grid;
  gap: 18px;
}

.wiki-heading h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  letter-spacing: -0.04em;
  line-height: 1.05;
}

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

.wiki-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface-soft);
}

.wiki-card h3,
.wiki-workflow h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
}

.wiki-card p,
.wiki-workflow-head p,
.wiki-steps li {
  color: var(--muted);
  line-height: 1.7;
}

.wiki-figure {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface-soft);
}

.wiki-figure img {
  width: 100%;
}

.wiki-figure-large {
  background: #eff4fa;
}

.wiki-table {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface-soft);
}

.wiki-row {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 16px;
  padding: 14px 18px;
  border-top: 1px solid var(--line);
}

.wiki-row:first-child {
  border-top: 0;
}

.wiki-row-head {
  background: #edf3f9;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.wiki-workflow {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface-soft);
}

.wiki-workflow + .wiki-workflow {
  margin-top: 14px;
}

.wiki-workflow-head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start;
  margin-bottom: 14px;
}

.wiki-number {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 800;
}

.wiki-workflow-head p {
  margin: 6px 0 0;
}

.wiki-steps {
  margin: 0;
  padding-left: 22px;
}

.wiki-steps li + li {
  margin-top: 10px;
}

.workflow-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface-soft);
}

.workflow-card + .workflow-card {
  margin-top: 16px;
}

.workflow-heading {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start;
  margin-bottom: 14px;
}

.workflow-number {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 800;
}

.workflow-heading p {
  margin: 6px 0 0;
}

.workflow-steps {
  margin: 0;
  padding-left: 22px;
}

.workflow-steps li + li {
  margin-top: 10px;
}

.contact-layout {
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface-soft);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--text);
  font-weight: 600;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: #fff;
  color: var(--text);
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(15, 90, 166, 0.16);
  border-color: var(--accent);
}

.hidden-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 10px 8px;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer p {
  margin: 0;
}

.thank-you-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
}

.thank-you-card {
  max-width: 720px;
  padding: 32px;
}

.thank-you-card h1 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.thank-you-card p {
  color: var(--muted);
  line-height: 1.7;
  margin: 0 0 22px;
}

@media (max-width: 1100px) {
  .hero,
  .price-panel,
  .contact-layout,
  .docs-context-bar,
  .intro-grid,
  .functionality-grid,
  .doc-grid,
  .technical-grid,
  .screen-layout,
  .feature-grid,
  .wiki-shell,
  .wiki-grid {
    grid-template-columns: 1fr;
  }

  .price-panel {
    align-items: start;
  }

  .wiki-sidebar {
    position: static;
  }
}

@media (max-width: 760px) {
  .site-shell {
    width: min(calc(100% - 20px), var(--content));
    padding-top: 0;
  }

  .topbar {
    padding: 14px 16px;
  }

  .brand {
    gap: 12px;
    min-width: 0;
  }

  .brand-copy {
    min-width: 0;
  }

  .brand-copy strong {
    font-size: 1rem;
  }

  .brand-copy small {
    font-size: 0.84rem;
  }

  .nav-toggle {
    display: inline-grid;
    place-items: center;
    margin-left: auto;
  }

  .nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    display: grid;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: rgba(255, 255, 255, 1);
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease;
  }

  .nav.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav a {
    padding: 14px 10px;
    border-radius: 14px;
  }

  .nav a::after {
    right: 10px;
    left: 10px;
    bottom: 10px;
  }

  .hero,
  .section,
  .thank-you-card {
    padding: 22px;
  }

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

  .docs-cta,
  .workflow-heading,
  .wiki-workflow-head,
  .wiki-row {
    grid-template-columns: 1fr;
  }

  .docs-context-bar {
    align-items: start;
  }

  .docs-cta {
    align-items: start;
  }

  .hero-copy h1 {
    font-size: clamp(2.2rem, 10vw, 3.6rem);
  }

  .footer {
    flex-direction: column;
  }
}
