:root {
  --bg: #f6f8fb;
  --surface: #fff;
  --surface-alt: #eff4f9;
  --text: #253347;
  --heading: #3f4862;
  --muted: #687283;
  --accent: #2a7db7;
  --accent-strong: #226893;
  --line: rgba(63, 72, 98, 0.12);
  --line-strong: rgba(63, 72, 98, 0.18);
  --shadow: 0 28px 56px rgba(44, 54, 80, 0.08);
  --max: 1100px;
  --radius: 20px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(42, 125, 183, 0.06), transparent 18rem),
    linear-gradient(180deg, #fbfcfe 0%, var(--bg) 100%);
  line-height: 1.65;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  color: var(--accent-strong);
}

img {
  height: auto;
  display: block;
  max-width: 100%;
}

.container {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(18px);
  background: rgba(248, 250, 252, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.7);
  transition: background 0.18s ease, box-shadow 0.18s ease;
}

.site-header.is-compact {
  background: rgba(248, 250, 252, 0.96);
  box-shadow: 0 10px 30px rgba(44, 54, 80, 0.08);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  padding: 0.08rem 0;
  transition: padding 0.18s ease, gap 0.18s ease;
}

.site-header.is-compact .header-row {
  padding: 0.03rem 0;
}

.brand img {
  width: clamp(58px, 8vw, 86px);
  transition: width 0.18s ease;
}

.site-header.is-compact .brand img {
  width: clamp(52px, 7vw, 76px);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--heading);
  padding: 0.42rem 0.65rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  transition: gap 0.18s ease;
}

.site-header.is-compact .site-nav {
  gap: 0.62rem;
}

.site-nav a {
  color: var(--heading);
  font-weight: 600;
  font-size: 1rem;
}

.site-nav a[aria-current="page"] {
  color: var(--accent);
}

.header-row > .site-nav {
  margin-left: auto;
}

.header-row > .lang-switcher {
  color: var(--heading);
  font-weight: 600;
  font-size: 1rem;
}

.nav-cta {
  background: var(--accent);
  color: #fff !important;
  padding: 0.28rem 0.72rem;
  border-radius: 999px;
  box-shadow: 0 10px 20px rgba(42, 125, 183, 0.18);
  font-size: 0.95rem;
  transition: padding 0.18s ease;
}

.site-header.is-compact .nav-cta {
  padding: 0.22rem 0.6rem;
}

.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  padding: 0.12rem 0.44rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  font-size: 0.92rem;
  transition: padding 0.18s ease;
}

.site-header.is-compact .lang-switcher {
  padding: 0.08rem 0.28rem;
}

.lang-switcher strong {
  color: var(--heading);
}

.hero {
  padding: 6rem 0 2rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 1.6rem;
  align-items: stretch;
}

.hero-copy,
.hero-panel,
.card,
.faq-item,
.table-card,
.form-card,
.screenshot,
.step-card,
.callout {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-copy,
.card,
.faq-item,
.step-card,
.form-card,
.callout {
  padding: 1.5rem;
}

.hero-panel {
  padding: 1.4rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(42, 125, 183, 0.1);
  color: var(--accent-strong);
  font-size: 0.88rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

h1,
h2,
h3 {
  color: var(--heading);
  line-height: 1.12;
  letter-spacing: -0.03em;
}

h1 {
  font-size: clamp(2rem, 3.3vw, 3.7rem);
  margin: 1rem 0;
}

h2 {
  font-size: clamp(1.75rem, 3.1vw, 2.8rem);
  margin: 0 0 1rem;
}

h3 {
  font-size: 1.15rem;
  margin: 0 0 0.55rem;
}

.lede,
.section-intro,
.faq-item p,
.card p,
.step-card p,
.table-card,
.price-note,
.form-help,
.prose p {
  color: var(--muted);
}

.hero-actions,
.button-row,
.pricing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.45rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: none;
  border-radius: 999px;
  padding: 0.95rem 1.35rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 120ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 18px 38px rgba(42, 125, 183, 0.25);
}

.button-secondary {
  background: var(--surface);
  color: var(--heading);
  border: 1px solid var(--line);
}

.stack {
  display: grid;
  gap: 1rem;
}

.metric {
  padding: 1rem 1.1rem;
  border-radius: 16px;
  background: var(--surface-alt);
}

.metric strong {
  display: block;
  color: var(--heading);
  margin-bottom: 0.25rem;
}

.section {
  padding: 2rem 0 4rem;
}

.section-header {
  max-width: 760px;
  margin-bottom: 1.5rem;
}

.grid-2,
.grid-3,
.faq-grid,
.screens-grid,
.steps,
.guide-links,
.pricing-grid,
.buy-grid {
  display: grid;
  gap: 1.2rem;
}

.grid-2,
.faq-grid,
.buy-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}


.faq-section-title {
  grid-column: 1 / -1;
  margin: 1.1rem 0 0.1rem;
  font-size: 1.25rem;
}

.faq-section-title:first-child {
  margin-top: 0;
}
.grid-3,
.pricing-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pricing-grid {
  align-items: stretch;
  padding-top: 1rem;
}

.steps,
.guide-links {
  grid-template-columns: minmax(0, 1fr);
}

.screens-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  justify-content: stretch;
  align-items: stretch;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(42, 125, 183, 0.12);
  color: var(--accent-strong);
  font-weight: 800;
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  min-height: 2rem;
}

.bullets,
.meta-list {
  padding-left: 1rem;
  margin: 0.85rem 0 0;
}

.bullets li + li,
.meta-list li + li {
  margin-top: 0.45rem;
}

.screenshot {
  width: 100%;
  max-width: 540px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-self: center;
  align-self: start;
  overflow: hidden;
}

.screenshot img {
  order: 2;
  width: auto;
  max-width: min(100%, 100%);
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  align-self: center;
  cursor: zoom-in;
}

.screenshot figcaption {
  order: 1;
  padding: 1rem 1.1rem 1.2rem;
  color: var(--muted);
  margin-top: 0;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 2rem;
  background: rgba(20, 28, 44, 0.82);
  backdrop-filter: blur(6px);
  cursor: zoom-out;
}

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  display: block;
  max-width: min(96vw, 1400px);
  max-height: 92vh;
  width: auto;
  height: auto;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 28px 56px rgba(0, 0, 0, 0.28);
}

.pricing-card {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 1.6rem;
}

.pricing-card.popular {
  position: relative;
  padding-top: 3rem;
  background:
    linear-gradient(180deg, rgba(42, 125, 183, 0.12), rgba(42, 125, 183, 0.04)),
    var(--surface);
  border-color: rgba(42, 125, 183, 0.4);
  box-shadow: 0 32px 64px rgba(42, 125, 183, 0.16);
}

.pricing-card.popular .badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  min-height: 0;
  max-width: calc(100% - 2rem);
  padding: 0.38rem 0.82rem;
  background: linear-gradient(180deg, rgba(42, 125, 183, 0.18), rgba(42, 125, 183, 0.1));
  border: 1px solid rgba(42, 125, 183, 0.18);
  box-shadow: 0 12px 24px rgba(42, 125, 183, 0.14);
  white-space: nowrap;
}

.pricing-card:not(.popular) .badge {
  display: none;
}

.pricing-card > p {
  margin: 0;
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin: 0.2rem 0 0;
}

.old-price {
  color: #a0a7b4;
  text-decoration: line-through;
  font-size: 1rem;
}

.sale-price {
  color: var(--heading);
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.pricing-card .price-note {
  margin: 0;
}

.pricing-card .pricing-actions {
  margin-top: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  text-align: left;
  padding: 1rem 1.1rem;
  vertical-align: top;
}

thead {
  background: var(--surface-alt);
}

tbody tr + tr td {
  border-top: 1px solid var(--line);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.field {
  display: grid;
  gap: 0.4rem;
}

.field.full {
  grid-column: 1 / -1;
}

label {
  font-weight: 700;
  color: var(--heading);
}

input,
select {
  width: 100%;
  padding: 0.9rem 1rem;
  border-radius: 14px;
  border: 1px solid var(--line-strong);
  background: #fff;
  color: var(--text);
  font: inherit;
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 0.95rem;
  color: var(--muted);
}

.checkbox input {
  width: 1rem;
  height: 1rem;
  margin-top: 0.2rem;
}

.form-status {
  min-height: 1.5rem;
  font-size: 0.95rem;
}

.form-status.error {
  color: #a93333;
}

.form-status.success {
  color: #24643f;
}

.cta-band {
  padding: 2rem;
  background: linear-gradient(135deg, rgba(63, 72, 98, 0.98), rgba(42, 125, 183, 0.94));
  color: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.cta-band h2,
.cta-band p,
.cta-band a {
  color: #fff;
}

.cta-band .button-secondary {
  color: var(--accent-strong) !important;
  border-color: rgba(255, 255, 255, 0.85);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2rem 0 3rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 1.5rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.small {
  font-size: 0.94rem;
}

/* Long-form legal documents */
.legal-document {
  max-width: 920px;
  margin: 0 auto;
}

.legal-document h1 {
  margin-top: 0;
  font-size: clamp(2rem, 3vw, 3rem);
}

.legal-document h2 {
  margin: 2.2rem 0 0.75rem;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  letter-spacing: -0.015em;
}

.legal-document h3 {
  margin-top: 1.35rem;
}

.legal-document p,
.legal-document li {
  color: var(--muted);
}

.legal-document li + li {
  margin-top: 0.45rem;
}

.legal-document .legal-meta {
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--line);
}

.legal-document address {
  font-style: normal;
  line-height: 1.7;
}

details summary {
  list-style: none;
  cursor: pointer;
  font-weight: 700;
  color: var(--heading);
}

details summary::-webkit-details-marker {
  display: none;
}

details p {
  margin-top: 0.8rem;
}

@media (max-width: 960px) {
  .hero-grid,
  .grid-3,
  .grid-2,
  .faq-grid,
  .screens-grid,
  .pricing-grid,
  .buy-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .site-nav {
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: calc(100% + 0.55rem);
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 0.8rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .header-row > .lang-switcher {
    margin-left: auto;
    width: auto;
    flex-shrink: 0;
    min-height: 44px;
    padding: 0.42rem 0.65rem;
    color: var(--heading);
    font-weight: 600;
  }
}

@media (max-width: 680px) {
  .hero {
    padding-top: 4rem;
  }

  .button,
  .lang-switcher {
    width: 100%;
  }

  .button-row,
  .hero-actions,
  .pricing-actions {
    flex-direction: column;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }
}


/* Feature storytelling */
.feature-hero {
  padding-bottom: 1rem;
}

.feature-heading {
  max-width: 850px;
}

.feature-heading h1 {
  margin: 1rem 0 0.8rem;
}

.migration-flow {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.7rem;
  margin-top: 1.4rem;
}

.migration-flow a {
  display: block;
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--heading);
  font-weight: 800;
  text-align: center;
  box-shadow: 0 10px 24px rgba(44, 54, 80, 0.05);
}

.feature-split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  align-items: center;
  gap: 2rem;
}

.feature-split-reverse {
  grid-template-columns: minmax(420px, 1.1fr) minmax(0, 0.9fr);
}

.feature-kicker {
  display: inline-block;
  margin-bottom: 0.4rem;
  color: var(--accent-strong);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.86rem;
}

.feature-list {
  padding-left: 1.25rem;
}

.feature-list li + li {
  margin-top: 0.45rem;
}

.feature-shot {
  margin: 0;
}

.feature-shot img {
  width: 100%;
}

.compact-callout {
  padding: 1rem 1.15rem;
  margin-top: 1.2rem;
}

.compact-callout p {
  margin: 0;
}

.feature-cta {
  margin-top: 2rem;
}

.section-actions {
  margin-top: 1.4rem;
}

@media (max-width: 960px) {
  .migration-flow,
  .feature-split,
  .feature-split-reverse {
    grid-template-columns: 1fr;
  }

  .migration-flow {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-split-reverse .feature-shot {
    order: 2;
  }
}

@media (max-width: 520px) {
  .migration-flow {
    grid-template-columns: 1fr;
  }
}


/* Purchase/activation guidance and download verification */
.activation-flow { margin-top: 1.5rem; }
.activation-flow .step-card h3 { margin-bottom: 0.55rem; }
.activation-flow .step-card ol { margin: 0.8rem 0 0; padding-left: 1.25rem; }
.activation-flow .step-card li + li { margin-top: 0.55rem; }
.download-meta { margin: 1rem 0 0.35rem; }
.checksum { overflow-wrap: anywhere; word-break: break-word; }

/* Sales remain closed without an explicit API confirmation, including without JS. */
[hidden] { display: none !important; }
.sales-opening { padding: 1rem; border: 1px solid var(--border, #cbd5e1); border-radius: .75rem; }
.sales-opening input[type=email] { width: 100%; min-width: 0; box-sizing: border-box; }
.sales-opening label { overflow-wrap: anywhere; }

/* Optional statistics: equal choices, non-modal and fully keyboard accessible. */
.statistics-consent { position: fixed; z-index: 120; inset: auto 1rem 1rem; max-width: 44rem; margin-inline: auto; padding: 1.25rem; background: #fff; color: #182b49; border: 2px solid #287da8; border-radius: 1rem; box-shadow: 0 4px 24px #182b4933; max-height: 85vh; overflow: auto; }
.statistics-consent h2 { font-size: 1.25rem; margin: 0 0 .5rem; }
.statistics-consent p { margin: .5rem 0; }
.statistics-actions { display: flex; gap: .75rem; margin: 1rem 0; }
.statistics-choice { flex: 1; background: #287da8; color: white; border: 2px solid #287da8; cursor: pointer; text-align: center; white-space: normal; }
.statistics-choice:hover { background: #1b5573; color: white; border-color: #1b5573; }
.statistics-choice:focus-visible, [data-cookie-settings]:focus-visible { outline: 3px solid #102a43; outline-offset: 3px; }
@media(max-width: 480px) { .statistics-consent { inset: auto .5rem .5rem; padding: 1rem; } .statistics-actions { flex-direction: column; } .statistics-choice { width: 100%; } }

/* Keep anchor targets visible below the sticky header. */
[id] { scroll-margin-top: 7rem; }
.workflow-links { margin-block: 1rem; }
.migration-flow a { color: inherit; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* Preserve existing visual sizes when correcting document heading levels. */
.seo-page-heading { font-size: clamp(1.75rem, 3.1vw, 2.8rem); margin: 0 0 1rem; }
.seo-section-heading { font-size: 1.15rem; margin: 0 0 0.55rem; }
