:root {
  --m-bg: #0b1220;
  --m-surface: #121a2e;
  --m-card: #182038;
  --m-ink: #eef2ff;
  --m-muted: #94a3b8;
  --m-line: rgba(148, 163, 184, 0.18);
  --m-accent: #3b82f6;
  --m-accent-2: #22c55e;
  --m-radius: 14px;
}

* { box-sizing: border-box; }

body.marketing {
  margin: 0;
  background: var(--m-bg);
  color: var(--m-ink);
  font: 16px/1.55 system-ui, -apple-system, "Segoe UI", sans-serif;
}

.marketing a { color: #93c5fd; text-decoration: none; }
.marketing a:hover { text-decoration: underline; }

.mkt-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem clamp(1rem, 4vw, 2.5rem);
  border-bottom: 1px solid var(--m-line);
  background: rgba(11, 18, 32, 0.92);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 20;
}

.mkt-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--m-ink);
  font-weight: 700;
  text-decoration: none;
}

.mkt-brand img {
  border-radius: 8px;
  filter: brightness(0) invert(1);
}

.mkt-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.mkt-nav a {
  color: var(--m-muted);
  text-decoration: none;
  font-size: 0.95rem;
}

.mkt-nav a:hover { color: var(--m-ink); }

.mkt-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.mkt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--m-line);
  background: transparent;
  color: var(--m-ink);
  font: inherit;
  cursor: pointer;
  text-decoration: none;
}

.mkt-btn:hover { border-color: #64748b; text-decoration: none; }

.mkt-btn-primary {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  border-color: transparent;
  color: #fff;
  font-weight: 600;
}

.mkt-btn-primary:hover { filter: brightness(1.06); color: #fff; }

.mkt-main { padding: 0 0 4rem; }

.mkt-hero {
  padding: 4rem clamp(1rem, 4vw, 2.5rem) 3rem;
  max-width: 1100px;
  margin: 0 auto;
}

.mkt-hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.1;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}

.mkt-hero p {
  color: var(--m-muted);
  font-size: 1.1rem;
  max-width: 640px;
  margin: 0 0 1.5rem;
}

.mkt-hero-cta { display: flex; gap: 0.75rem; flex-wrap: wrap; }

.mkt-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem clamp(1rem, 4vw, 2.5rem);
}

.mkt-section h2 {
  margin: 0 0 0.5rem;
  font-size: 1.75rem;
}

.mkt-section > p.meta {
  color: var(--m-muted);
  margin: 0 0 1.5rem;
}

.mkt-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.mkt-card {
  background: var(--m-card);
  border: 1px solid var(--m-line);
  border-radius: var(--m-radius);
  padding: 1.25rem;
}

.mkt-card h3 { margin: 0 0 0.5rem; font-size: 1.05rem; }
.mkt-card p { margin: 0; color: var(--m-muted); font-size: 0.95rem; }

.mkt-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.mkt-pill {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--m-line);
  background: var(--m-card);
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  font-size: 0.88rem;
  color: var(--m-muted);
}

.mkt-pricing {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  align-items: stretch;
}

.mkt-plan {
  background: var(--m-card);
  border: 1px solid var(--m-line);
  border-radius: var(--m-radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  position: relative;
}

.mkt-plan-badge {
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #93c5fd;
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.35);
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
}

.mkt-plan-blurb {
  margin: 0;
  color: var(--m-muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.mkt-plan.featured {
  border-color: #3b82f6;
  box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.35);
}

.mkt-plan h3 { margin: 0; font-size: 1.25rem; }
.mkt-price { font-size: 1.75rem; font-weight: 700; }
.mkt-plan ul {
  list-style: none;
  padding: 0;
  margin: 0;
  color: var(--m-muted);
  font-size: 0.92rem;
  flex: 1;
}

.mkt-plan li { padding: 0.25rem 0; }
.mkt-plan li::before { content: "✓ "; color: var(--m-accent-2); }
.mkt-plan li.mkt-plan-diff::before { content: "★ "; color: #fbbf24; }

.mkt-compare-section { padding-top: 0; }

.mkt-compare-wrap {
  overflow-x: auto;
  border: 1px solid var(--m-line);
  border-radius: var(--m-radius);
  background: var(--m-card);
}

.mkt-compare-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.mkt-compare-table th,
.mkt-compare-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--m-line);
  vertical-align: top;
  text-align: center;
}

.mkt-compare-table th[scope="row"],
.mkt-compare-table th:first-child {
  text-align: left;
  font-weight: 600;
  color: var(--m-ink);
  min-width: 220px;
  position: sticky;
  left: 0;
  background: var(--m-card);
  z-index: 1;
}

.mkt-compare-table thead th {
  background: var(--m-surface);
  font-weight: 700;
  vertical-align: bottom;
}

.mkt-compare-table thead th:first-child {
  z-index: 2;
}

.mkt-compare-plan-name {
  display: block;
  font-size: 1rem;
}

.mkt-compare-plan-price {
  display: block;
  color: var(--m-muted);
  font-size: 0.85rem;
  font-weight: 500;
  margin-top: 0.25rem;
}

.mkt-compare-featured {
  background: rgba(59, 130, 246, 0.08);
  box-shadow: inset 0 -2px 0 #3b82f6;
}

.mkt-compare-group th {
  background: rgba(148, 163, 184, 0.08);
  text-align: left !important;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--m-muted);
  position: static;
}

.mkt-compare-yes { color: #86efac; font-weight: 600; }
.mkt-compare-no { color: #64748b; }
.mkt-compare-partial { color: #fde68a; }

.mkt-compare-cta-row td,
.mkt-compare-cta-row th[scope="row"] {
  background: var(--m-surface);
}

.mkt-compare-cta {
  font-size: 0.85rem;
  padding: 0.45rem 0.85rem;
  white-space: nowrap;
}

.mkt-form {
  max-width: 520px;
  margin: 0 auto;
  background: var(--m-card);
  border: 1px solid var(--m-line);
  border-radius: var(--m-radius);
  padding: 1.5rem;
}

.mkt-form label {
  display: block;
  margin-bottom: 0.85rem;
  font-size: 0.92rem;
}

.mkt-enterprise-section {
  padding-top: 0;
}

.mkt-enterprise-banner {
  width: 100%;
  border: 1px solid var(--m-line);
  border-radius: var(--m-radius);
  background: var(--m-card);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.mkt-enterprise-banner-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(220px, 0.8fr);
  gap: 1.75rem 2rem;
  align-items: center;
  padding: 1.5rem;
}

.mkt-enterprise-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.85rem;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(147, 197, 253, 0.35);
  background: rgba(59, 130, 246, 0.14);
  color: #bfdbfe;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.mkt-enterprise-banner-copy h3 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.mkt-enterprise-lead {
  margin: 0 0 1rem;
  max-width: 52ch;
  color: #cbd5e1;
  font-size: 1.02rem;
  line-height: 1.55;
}

.mkt-enterprise-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.mkt-enterprise-points li {
  position: relative;
  padding-left: 1.35rem;
  color: var(--m-muted);
  font-size: 0.95rem;
  line-height: 1.45;
}

.mkt-enterprise-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #60a5fa, #22c55e);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.18);
}

.mkt-enterprise-banner-action {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.75rem;
  padding: 1.1rem 1.1rem 1rem;
  border-radius: calc(var(--m-radius) - 2px);
  border: 1px solid var(--m-line);
  background: var(--m-surface);
}

.mkt-enterprise-banner-action .mkt-btn-lg {
  width: 100%;
  padding: 0.8rem 1.15rem;
  font-size: 1rem;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.28);
}

.mkt-enterprise-note {
  margin: 0;
  text-align: center;
  color: var(--m-muted);
  font-size: 0.86rem;
  line-height: 1.45;
}

@media (max-width: 820px) {
  .mkt-enterprise-banner-inner {
    grid-template-columns: 1fr;
  }

  .mkt-enterprise-banner-action {
    align-items: stretch;
  }
}

.mkt-form input,
.mkt-form select,
.mkt-form textarea {
  width: 100%;
  margin-top: 0.35rem;
  padding: 0.65rem 0.75rem;
  border-radius: 8px;
  border: 1px solid var(--m-line);
  background: var(--m-surface);
  color: var(--m-ink);
  font: inherit;
}

.mkt-form .cf-turnstile { margin: 0.5rem 0 0.25rem; min-height: 65px; }
.mkt-form .actions { margin-top: 1rem; display: flex; gap: 0.75rem; flex-wrap: wrap; }
.mkt-legal-accept { display: flex; align-items: flex-start; gap: 0.6rem; font-weight: 400; line-height: 1.45; }
.mkt-legal-accept input { width: auto; margin-top: 0.25rem; flex: none; }
.mkt-legal-accept a { color: inherit; text-decoration: underline; }

.mkt-flash {
  max-width: 1100px;
  margin: 1rem auto 0;
  padding: 0  clamp(1rem, 4vw, 2.5rem);
}

.mkt-flash > div {
  padding: 0.75rem 1rem;
  border-radius: 8px;
  border: 1px solid var(--m-line);
}

.mkt-flash .success { background: rgba(34, 197, 94, 0.12); border-color: rgba(34, 197, 94, 0.35); }
.mkt-flash .error { background: rgba(239, 68, 68, 0.12); border-color: rgba(239, 68, 68, 0.35); }
.mkt-flash .info { background: rgba(59, 130, 246, 0.12); border-color: rgba(59, 130, 246, 0.35); }

.mkt-callout {
  max-width: 52rem;
  margin: 0 auto 1.25rem;
  padding: 1rem 1.15rem;
  border-radius: var(--m-radius);
  border: 1px solid rgba(59, 130, 246, 0.35);
  background: rgba(59, 130, 246, 0.08);
  color: var(--m-ink);
  font-size: 0.95rem;
}

.mkt-callout strong {
  display: block;
  margin-bottom: 0.35rem;
  color: #bfdbfe;
}

.mkt-callout p {
  margin: 0;
  color: var(--m-muted);
  line-height: 1.5;
}

.mkt-hero .mkt-callout {
  margin: 1rem 0 1.5rem;
  text-align: left;
}

.mkt-footer {
  max-width: 1100px;
  margin: 2rem auto 0;
  padding: 2rem clamp(1rem, 4vw, 2.5rem) 3rem;
  border-top: 1px solid var(--m-line);
  color: var(--m-muted);
  font-size: 0.9rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.mkt-locale {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.mkt-locale form { display: inline; margin: 0; }

.mkt-locale button {
  background: transparent;
  border: 1px solid var(--m-line);
  color: var(--m-muted);
  border-radius: 6px;
  padding: 0.2rem 0.45rem;
  cursor: pointer;
  font: inherit;
  font-size: 0.75rem;
}

.mkt-locale button.is-active {
  border-color: #3b82f6;
  color: #fff;
  background: rgba(59, 130, 246, 0.2);
}

.mkt-legal { max-width: 760px; margin: 0 auto; color: var(--m-muted); }
.mkt-legal h1 { color: var(--m-ink); margin-bottom: 0.5rem; }
.mkt-legal .mkt-legal-meta { font-size: 0.9rem; margin: 0 0 1.5rem; }
.mkt-legal .mkt-legal-note {
  border: 1px solid var(--m-line);
  background: var(--m-card);
  color: var(--m-ink);
  padding: 0.85rem 1rem;
  border-radius: 10px;
  margin-bottom: 1.75rem;
  font-size: 0.92rem;
}
.mkt-legal h2 { color: var(--m-ink); font-size: 1.15rem; margin: 1.75rem 0 0.6rem; }
.mkt-legal p { margin: 0 0 0.85rem; line-height: 1.65; }

@media (max-width: 720px) {
  .mkt-header { flex-wrap: wrap; }
  .mkt-nav { order: 3; width: 100%; }
}

body.brochure {
  margin: 0;
  background: #e8edf4;
  color: #142033;
  font: 15px/1.5 "Segoe UI", system-ui, sans-serif;
}

.brochure-toolbar {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  padding: 0.7rem 1.2rem;
  background: #fff;
  border-bottom: 1px solid #d5dde8;
}

.brochure-toolbar a { color: #1d4ed8; }

.brochure-doc {
  max-width: 900px;
  margin: 1.25rem auto 2.5rem;
  padding: 2rem 2.2rem 2.4rem;
  background: #fff;
  color: #142033;
  border: 1px solid #d5dde8;
}

.brochure-cover { margin-bottom: 1.75rem; }
.brochure-logo { display: block; width: 56px; height: 56px; }
.brochure-kicker {
  margin: 0.7rem 0 0.2rem;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #3b4a63;
}
.brochure-cover h1 {
  margin: 0 0 0.6rem;
  font-size: 2rem;
  line-height: 1.2;
}
.brochure-lead { margin: 0 0 0.5rem; color: #3b4a63; max-width: 38rem; }
.brochure-meta { margin: 0; font-size: 0.85rem; color: #65708a; }

.brochure-section { margin: 1.6rem 0 0; page-break-inside: avoid; }
.brochure-section h2 {
  margin: 0 0 0.4rem;
  font-size: 1.2rem;
  border-bottom: 1px solid #d5dde8;
  padding-bottom: 0.3rem;
}
.brochure-section > p { margin: 0 0 0.75rem; color: #3b4a63; }
.brochure-section h3 { margin: 0 0 0.25rem; font-size: 0.98rem; }
.brochure-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem 1.1rem;
}
.brochure-grid p { margin: 0; color: #3b4a63; font-size: 0.92rem; }
.brochure-note {
  background: #f3f6fb;
  border: 1px solid #d5dde8;
  padding: 0.65rem 0.8rem;
  font-size: 0.9rem;
}
.brochure-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.brochure-pills li {
  border: 1px solid #d5dde8;
  padding: 0.25rem 0.6rem;
  font-size: 0.85rem;
}
.brochure-plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.7rem;
}
.brochure-plan {
  border: 1px solid #d5dde8;
  padding: 0.75rem;
  page-break-inside: avoid;
}
.brochure-plan.is-featured { border-color: #2563eb; }
.brochure-plan h3 { margin: 0; }
.brochure-price { margin: 0.2rem 0 0.45rem; font-weight: 700; }
.brochure-plan ul { margin: 0; padding-left: 1.1rem; font-size: 0.85rem; color: #3b4a63; }
.brochure-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
}
.brochure-table th,
.brochure-table td {
  border: 1px solid #d5dde8;
  padding: 0.4rem 0.5rem;
  text-align: center;
}
.brochure-table th[scope="row"] { text-align: left; }
.brochure-footer {
  margin-top: 1.8rem;
  padding-top: 0.8rem;
  border-top: 1px solid #d5dde8;
  font-size: 0.85rem;
  color: #3b4a63;
}
.brochure-footer p { margin: 0.2rem 0; }

.mkt-blog {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem clamp(1rem, 4vw, 2.5rem) 3rem;
}
.mkt-blog-article { max-width: 52rem; margin: 0 auto; }
.mkt-blog-header h1 { margin: 0 0 0.5rem; font-size: clamp(1.75rem, 4vw, 2.25rem); }
.mkt-blog-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.mkt-blog-card { background: var(--m-card); border: 1px solid var(--m-line); border-radius: var(--m-radius); overflow: hidden; }
.mkt-blog-card-banner img { display: block; width: 100%; height: 160px; object-fit: cover; }
.mkt-blog-card-body { padding: 1rem 1.1rem 1.25rem; }
.mkt-blog-date { color: var(--m-muted); font-size: 0.85rem; }
.mkt-blog-badge { display: inline-block; margin-left: 0.5rem; padding: 0.1rem 0.45rem; border-radius: 999px; font-size: 0.72rem; background: rgba(59, 130, 246, 0.2); color: #93c5fd; }
.mkt-blog-excerpt { color: var(--m-muted); font-size: 0.95rem; }
.mkt-blog-read { font-weight: 600; }
.mkt-blog-article-header h1 { margin: 0.5rem 0 0.75rem; font-size: clamp(1.6rem, 4vw, 2.1rem); }
.mkt-blog-back { font-size: 0.9rem; }
.mkt-blog-abstract { font-size: 1.12rem; line-height: 1.55; color: var(--m-muted); margin: 0.35rem 0 1rem; max-width: 42rem; }
.mkt-blog-abstract-fallback { font-style: italic; opacity: 0.92; }
.mkt-blog-byline { color: var(--m-muted); margin: 0 0 1rem; font-size: 0.9rem; }
.mkt-blog-banner img {
  display: block;
  width: 100%;
  max-height: 360px;
  object-fit: cover;
  border-radius: var(--m-radius);
  margin: 0 0 2.5rem;
}
.mkt-blog-content-with-aside { display: flow-root; margin-top: 0.25rem; }
.mkt-blog-aside {
  float: right;
  width: min(46%, 360px);
  margin: 1.25rem 0 1.25rem 1.75rem;
}
.mkt-blog-aside img {
  display: block;
  width: 100%;
  border-radius: var(--m-radius);
  border: 1px solid var(--m-line);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
}
.mkt-blog-body { text-align: justify; text-justify: inter-word; hyphens: auto; }
.mkt-blog-body p { margin: 0 0 1rem; line-height: 1.65; }
.mkt-blog-body a { color: #93c5fd; text-decoration: underline; }
.mkt-blog-body strong { color: var(--m-ink); }
@media (max-width: 720px) {
  .mkt-blog-aside {
    float: none;
    width: min(100%, 400px);
    margin: 0 auto 1.75rem;
  }
  .mkt-blog-banner img { margin-bottom: 2rem; }
}

@media print {
  @page { size: A4; margin: 12mm; }
  body.brochure { background: #fff; }
  .brochure-toolbar { display: none; }
  .brochure-doc {
    margin: 0;
    padding: 0;
    max-width: none;
    border: 0;
  }
  .brochure-break { break-before: page; }
  a { color: inherit; text-decoration: none; }
}
