:root {
  --blue-700: #1d4ed8;
  --blue-600: #2563eb;
  --indigo-700: #4338ca;
  --indigo-600: #4f46e5;
  --indigo-100: #e0e7ff;
  --indigo-50: #eef2ff;
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
  --font: Arial, "Helvetica Neue", Helvetica, sans-serif;
  --mono: "Cascadia Mono", Consolas, "SFMono-Regular", Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 1rem; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--slate-800);
  background: var(--slate-50);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
a { color: var(--indigo-600); }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
code {
  font-family: var(--mono);
  font-size: .88em;
  padding: .1em .45em;
  border-radius: 6px;
  background: var(--indigo-50);
  color: var(--indigo-700);
}

:focus-visible { outline: 3px solid #fbbf24; outline-offset: 2px; }

.ic {
  width: 1.15em; height: 1.15em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}
.ic-fill { fill: currentColor; stroke: none; }

.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 24px; }
.wrap-narrow { max-width: 860px; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: #fff; color: var(--slate-900); padding: 8px 14px; border-radius: 8px;
}
.skip:focus { top: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .55rem 1rem; border-radius: 8px; font-weight: 600; font-size: .95rem;
  text-decoration: none; transition: transform .18s, box-shadow .18s, background .18s;
}
.btn:hover { transform: translateY(-1px); }
.btn-lg { padding: .8rem 1.4rem; font-size: 1.02rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--indigo-600); color: #fff; box-shadow: 0 6px 16px -6px rgba(79,70,229,.7); }
.btn-primary:hover { background: var(--indigo-700); }
.btn-light { background: #fff; color: var(--blue-700); box-shadow: 0 6px 18px -8px rgba(15,23,42,.5); }
.btn-ghost { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.55); }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-outline { color: var(--slate-800); box-shadow: inset 0 0 0 1.5px var(--slate-300); background: #fff; }
.btn-outline:hover { box-shadow: inset 0 0 0 1.5px var(--slate-500); }

/* ---------- Hero ---------- */
.hero-wrap {
  position: relative; isolation: isolate; overflow: hidden; color: #fff;
  background: linear-gradient(160deg, var(--blue-700) 0%, var(--blue-600) 100%);
}
.hero-wrap::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    radial-gradient(rgba(255,255,255,.2) 1.2px, transparent 1.4px),
    repeating-linear-gradient(135deg, rgba(255,255,255,.05) 0 1px, transparent 1px 56px);
  background-size: 28px 28px, auto;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 60%, transparent 100%);
          mask-image: linear-gradient(to bottom, #000 0%, #000 60%, transparent 100%);
}
.hero-wrap::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(620px circle at 88% 20%, rgba(129,140,248,.5), transparent 60%),
    radial-gradient(520px circle at 6% 0%, rgba(255,255,255,.16), transparent 60%);
}

.site-header {
  position: relative; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  padding-block: 22px;
}
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; }
.brand-logo { display: block; width: 40px; height: 40px; flex-shrink: 0; object-fit: cover; border-radius: 50%; box-shadow: 0 2px 6px rgba(0,0,0,.25); }
.brand-logo-sm { width: 32px; height: 32px; box-shadow: none; }
.brand-text { display: flex; flex-direction: column; gap: 4px; line-height: 1.2; }
.brand-text strong { font-size: 20px; font-weight: 700; }
.brand-text small { font-size: 12px; font-weight: 400; color: #dbeafe; }

.nav { display: flex; align-items: center; gap: 1.5rem; font-size: .93rem; }
.nav > a:not(.btn) { color: rgba(255,255,255,.88); text-decoration: none; }
.nav > a:not(.btn):hover { color: #fff; }
.lang { display: flex; align-items: center; gap: .35rem; color: rgba(255,255,255,.4); }
.lang a { padding: .15rem .2rem; color: rgba(255,255,255,.65); font-weight: 500; text-decoration: none; }
.lang a:hover { color: #fff; }
.lang a[aria-current="page"] { color: #fff; font-weight: 700; }
.menu-btn { display: none; color: #fff; padding: 8px; }
.menu-btn .ic { width: 26px; height: 26px; }

.hero {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  align-items: center; gap: 56px;
  padding-block: 56px 96px;
}
.hero-copy h1 {
  font-size: clamp(1.9rem, 3.5vw, 2.65rem); line-height: 1.15;
  font-weight: 700; letter-spacing: -.02em; max-width: 22ch;
}
.hero-copy > p:not(.hero-oss) {
  margin-top: 1.2rem; font-size: 1.15rem; color: #e0ecff; max-width: 34rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.hero-oss { margin-top: 1.4rem; font-size: .93rem; color: #cfe0ff; }
.hero-oss a { color: #fff; }

/* ---------- Client screenshots ---------- */
.hero-visual { margin: 0; }
.shots { position: relative; padding-bottom: 56px; }
.shots a { display: block; line-height: 0; }
.shots img { display: block; width: 100%; height: auto; }
.shot-main {
  border-radius: 10px; overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(15,23,42,.6), 0 0 0 1px rgba(255,255,255,.45);
}
.shot-dialog {
  position: absolute; right: -14px; bottom: 0; width: 38%;
  border-radius: 8px; overflow: hidden;
  box-shadow: 0 24px 44px -14px rgba(15,23,42,.65), 0 0 0 1px rgba(255,255,255,.55);
}
.hero-visual figcaption { margin-top: 14px; font-size: .88rem; color: #cfe0ff; text-align: center; }

/* ---------- Sections ---------- */
.section { padding-block: 96px; background: #fff; }
.section-alt { background: var(--slate-50); }
.section-head { max-width: 46rem; margin: 0 auto 3rem; text-align: center; }
h2 { font-size: clamp(1.7rem, 3vw, 2.15rem); line-height: 1.2; font-weight: 800; letter-spacing: -.015em; color: var(--slate-800); }
.section-head p { margin-top: .9rem; color: var(--slate-600); font-size: 1.05rem; }

.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card {
  background: #fff; border: 1px solid var(--slate-200); border-radius: 14px; padding: 26px;
}
.card h3 { font-size: 1.08rem; margin: 1rem 0 .4rem; }
.card p { color: var(--slate-600); font-size: .96rem; }
.tile {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 11px;
  background: var(--indigo-50); color: var(--indigo-600);
}
.tile .ic { width: 22px; height: 22px; }
.more-note { margin-top: 2rem; text-align: center; color: var(--slate-500); font-size: .95rem; }

/* ---------- Rollout ---------- */
.rollout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 64px; align-items: start; }
.lead { margin-top: 1rem; color: var(--slate-600); font-size: 1.05rem; max-width: 38rem; }
.steps { margin-top: 2.2rem; display: grid; gap: 1.6rem; }
.steps li { display: grid; grid-template-columns: 40px 1fr; gap: 16px; }
.step-no {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--indigo-600); color: #fff; font-weight: 700;
}
.steps h3 { font-size: 1.08rem; margin-bottom: .25rem; }
.steps p { color: var(--slate-600); }

.params {
  background: var(--slate-800); color: #e2e8f0; border-radius: 14px; padding: 28px;
  position: sticky; top: 24px;
}
.params h3 { font-size: 1rem; color: #fff; margin-bottom: 1.2rem; }
.params dl { display: grid; gap: 1.2rem; }
.params dd { margin-top: .45rem; color: var(--slate-300); font-size: .95rem; }
.params code { background: rgba(129,140,248,.2); color: #c7d2fe; font-size: 1rem; padding: .2em .6em; }

/* ---------- Editions ---------- */
.editions {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px;
  max-width: 960px; margin-inline: auto; align-items: start;
}
.plan {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--slate-200); border-radius: 18px; padding: 34px;
}
.plan-pro { border: 2px solid var(--indigo-600); box-shadow: 0 24px 48px -24px rgba(79,70,229,.45); }
.plan-badge {
  position: absolute; top: -14px; left: 34px; padding: 3px 14px; border-radius: 999px;
  background: var(--indigo-600); color: #fff; font-size: .8rem; font-weight: 600;
}
.plan h3 { font-size: 1.3rem; }
.price { margin-top: .6rem; display: flex; align-items: baseline; gap: .5rem; color: var(--slate-500); }
.price strong { font-size: 2.5rem; line-height: 1.1; font-weight: 800; color: var(--slate-800); letter-spacing: -.02em; }
.plan-d { margin-top: .5rem; color: var(--slate-600); }
.checks { margin: 1.6rem 0; display: grid; gap: .75rem; align-content: start; }
.checks li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; font-size: .95rem; color: var(--slate-700); }
.checks .ic { color: #16a34a; margin-top: .22em; stroke-width: 2.6; }
.license {
  margin-bottom: 1.6rem; padding: 4px 18px; border-radius: 12px; background: var(--indigo-50);
}
.license div { display: flex; justify-content: space-between; gap: 1rem; padding: 10px 0; font-size: .92rem; }
.license div + div { border-top: 1px solid var(--indigo-100); }
.license dt { color: var(--slate-600); }
.license dd { font-weight: 600; color: var(--slate-800); text-align: right; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 14px; }
.faq details {
  background: var(--slate-50); border: 1px solid var(--slate-200); border-radius: 12px; padding: 20px 24px;
}
.faq details[open] { background: #fff; }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  font-weight: 600; font-size: 1.05rem; cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { font-style: normal; font-size: 1.6rem; line-height: 1; color: var(--indigo-600); transition: transform .25s; }
.faq details[open] summary i { transform: rotate(45deg); }
.faq details p { margin-top: .9rem; color: var(--slate-600); }
.help {
  margin-top: 2.5rem; padding: 24px; text-align: center; border-radius: 12px;
  border: 1px solid var(--slate-200); background: var(--slate-50);
}
.help p { color: var(--slate-600); margin-bottom: .4rem; }
.help a { font-weight: 600; text-decoration: none; }
.help a:hover { text-decoration: underline; }

/* ---------- CTA ---------- */
.cta { background: linear-gradient(160deg, var(--blue-700), var(--indigo-600)); color: #fff; padding-block: 64px; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.cta h2 { color: #fff; font-size: clamp(1.5rem, 2.6vw, 1.9rem); }
.cta p { margin-top: .6rem; color: #dbeafe; max-width: 36rem; }
.cta-actions { display: flex; gap: .8rem; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer { background: var(--slate-800); color: #fff; padding-block: 56px 28px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand { display: flex; align-items: center; gap: .6rem; margin-bottom: .8rem; font-size: 1.05rem; }
.site-footer p { color: var(--slate-400); font-size: .92rem; max-width: 26rem; }
.site-footer h3 { font-size: 1rem; margin-bottom: .8rem; }
.site-footer ul { display: grid; gap: .5rem; }
.site-footer li a { color: var(--slate-400); text-decoration: none; font-size: .92rem; }
.site-footer li a:hover { color: #fff; }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  padding-top: 24px; border-top: 1px solid var(--slate-700); font-size: .88rem; color: var(--slate-400);
}
.footer-bottom a { color: #a5b4fc; text-decoration: none; font-weight: 600; }
.footer-bottom a:hover { color: #c7d2fe; }

/* ---------- Responsive ---------- */
@media (max-width: 1023px) {
  .hero { grid-template-columns: minmax(0, 1fr); gap: 48px; padding-block: 32px 72px; }
  .hero-copy h1 { max-width: 22ch; }
  .rollout { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .params { position: static; }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .menu-btn { display: block; }
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--slate-800); padding: 16px 24px 24px; box-shadow: 0 20px 30px -10px rgba(0,0,0,.4);
  }
  .nav.is-open { display: flex; }
  .nav > a:not(.btn) { padding: 12px 0; color: #fff; }
  .lang { padding: 12px 0; }
  .nav-cta { margin-top: 8px; }
}
@media (max-width: 720px) {
  .section { padding-block: 64px; }
  .grid-3, .editions, .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .plan { padding: 26px; }
  .plan-badge { left: 26px; }
  .shot-dialog { right: -6px; width: 42%; }
  .brand-text small { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

