/* Marketing site */
body.site { font-size: 16px; line-height: 1.6; }
.wrap { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 560px) { .wrap { padding: 0 16px; } }

/* header */
.s-header { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; }
.s-header.scrolled { border-bottom-color: var(--border); }
.s-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 24px; }
.s-nav { display: flex; gap: 4px; }
.s-nav a { padding: 6px 10px; border-radius: var(--r-sm); font-size: 14px; color: var(--text-2); font-weight: 500; }
.s-nav a:hover { color: var(--text); background: var(--surface-2); }
.s-actions { display: flex; align-items: center; gap: 8px; }
.lang-link { font-size: 13px; font-weight: 550; color: var(--text-3); padding: 6px 8px; border-radius: var(--r-sm); text-transform: uppercase; letter-spacing: .02em; }
.lang-link:hover { color: var(--text); background: var(--surface-2); }
.s-menu { display: none; }
@media (max-width: 860px) {
  .s-nav, .s-actions .hide-m { display: none; }
  .s-menu { display: block; position: relative; }
  .s-menu summary { list-style: none; }
  .s-menu summary::-webkit-details-marker { display: none; }
  .s-menu-panel { position: absolute; right: 0; top: 44px; width: min(280px, calc(100vw - 32px)); padding: 8px; background: var(--surface); border: 1px solid var(--border-strong); border-radius: var(--r-lg); box-shadow: var(--shadow-pop); display: grid; gap: 2px; }
  .s-menu-panel a { padding: 10px 12px; border-radius: var(--r-sm); font-size: 15px; color: var(--text); }
  .s-menu-panel a:hover { background: var(--surface-2); }
  .s-menu-panel hr { border: 0; height: 1px; background: var(--border); margin: 6px 0; }
}

/* hero */
.hero { padding: 88px 0 72px; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 550; color: var(--text-2); padding: 4px 10px 4px 8px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); }
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); }
.hero h1 { margin-top: 22px; font-size: clamp(36px, 5.4vw, 60px); line-height: 1.04; letter-spacing: -.035em; font-weight: 650; text-wrap: balance; }
.hero h1 .soft { color: var(--text-3); }
.hero .lede { margin-top: 22px; max-width: 520px; font-size: 18px; line-height: 1.6; color: var(--text-2); text-wrap: pretty; }
.hero .cta { margin-top: 32px; display: flex; gap: 10px; flex-wrap: wrap; }
.hero .fine { margin-top: 16px; font-size: 13px; color: var(--text-3); }
@media (max-width: 960px) {
  .hero { padding: 48px 0 56px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; }
}

/* product shot: built from the same components as the panel */
.shot { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; box-shadow: 0 1px 0 var(--border), 0 24px 48px -24px rgba(0, 0, 0, .12); overflow: hidden; font-size: 13.5px; }
.shot-top { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid var(--border); }
.shot-top .t { font-weight: 600; font-size: 13.5px; }
.shot-body { padding: 16px; display: grid; gap: 14px; }
.shot-row { display: grid; grid-template-columns: 96px 1fr; align-items: center; gap: 12px; }
.shot-row .k { color: var(--text-3); font-size: 12.5px; }
.pill-row { display: flex; gap: 6px; flex-wrap: wrap; }
.pill { height: 28px; padding: 0 10px; display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--border-strong); border-radius: var(--r-sm); font-size: 12.5px; color: var(--text-2); background: var(--surface); }
.pill.on { border-color: var(--text); color: var(--text); box-shadow: inset 0 0 0 1px var(--text); background: var(--surface-2); }
.flag { font-family: var(--mono); font-size: 11px; color: var(--text-3); }
.shot-out { margin: 0 16px 16px; border-radius: var(--r); background: var(--surface-2); border: 1px solid var(--border); padding: 12px 14px; font-family: var(--mono); font-size: 12px; line-height: 1.7; color: var(--text); overflow: hidden; }
.shot-out .c { color: var(--text-3); }
.shot-out .line { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.shot-out .hl { color: var(--accent-text); }
@media (max-width: 520px) { .shot-row { grid-template-columns: 1fr; gap: 6px; } }

/* facts strip */
.facts { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--surface); }
.facts .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.fact { padding: 28px 24px; border-left: 1px solid var(--border); }
.fact:first-child { border-left: 0; padding-left: 0; }
.fact b { display: block; font-size: 26px; font-weight: 640; letter-spacing: -.025em; font-variant-numeric: tabular-nums; }
.fact span { display: block; margin-top: 4px; font-size: 13.5px; color: var(--text-3); line-height: 1.45; }
@media (max-width: 860px) {
  .facts .wrap { grid-template-columns: 1fr 1fr; }
  .fact { padding: 20px 16px; border-left: 0; border-top: 1px solid var(--border); }
  .fact:nth-child(-n+2) { border-top: 0; }
  .fact:nth-child(odd) { padding-left: 0; }
  .fact:nth-child(even) { border-left: 1px solid var(--border); }
}

/* sections */
.section { padding: 96px 0; }
.section + .section { border-top: 1px solid var(--border); }
.section-h { max-width: 640px; margin-bottom: 48px; }
.section-h .kicker { font-size: 13px; font-weight: 600; color: var(--accent-text); letter-spacing: .01em; }
.section-h h2 { margin-top: 10px; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.12; letter-spacing: -.028em; font-weight: 640; text-wrap: balance; }
.section-h p { margin-top: 14px; font-size: 17px; color: var(--text-2); line-height: 1.6; text-wrap: pretty; }
@media (max-width: 720px) { .section { padding: 64px 0; } .section-h { margin-bottom: 32px; } }

/* products */
.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.product { display: flex; flex-direction: column; padding: 24px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); }
.product .ico { width: 36px; height: 36px; display: grid; place-items: center; border-radius: var(--r); border: 1px solid var(--border); background: var(--surface-2); color: var(--text); }
.product h3 { margin-top: 18px; font-size: 18px; font-weight: 620; letter-spacing: -.015em; }
.product .sub { margin-top: 6px; color: var(--text-2); font-size: 14.5px; line-height: 1.55; }
.product ul { margin-top: 18px; display: grid; gap: 9px; font-size: 14px; color: var(--text-2); }
.product li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.45; }
.product li .i { color: var(--text-3); margin-top: 2px; }
.product .foot { margin-top: auto; padding-top: 22px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid var(--border); margin-top: 24px; }
.product .price { font-size: 13.5px; color: var(--text-3); }
.product.featured { border-color: var(--border-strong); box-shadow: 0 1px 0 var(--border); }
@media (max-width: 960px) { .products { grid-template-columns: 1fr; } }

/* features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; background: var(--surface); }
.feature { padding: 28px; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.feature:nth-child(3n) { border-right: 0; }
.feature:nth-last-child(-n+3) { border-bottom: 0; }
.feature .i { width: 20px; height: 20px; color: var(--text); }
.feature h3 { margin-top: 16px; font-size: 15.5px; font-weight: 600; letter-spacing: -.01em; }
.feature p { margin-top: 6px; font-size: 14.5px; color: var(--text-2); line-height: 1.55; }
@media (max-width: 960px) {
  .features { grid-template-columns: 1fr 1fr; }
  .feature, .feature:nth-child(3n), .feature:nth-last-child(-n+3) { border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); }
  .feature:nth-child(2n) { border-right: 0; }
  .feature:nth-last-child(-n+2) { border-bottom: 0; }
}
@media (max-width: 600px) {
  .features { grid-template-columns: 1fr; }
  .feature, .feature:nth-child(n) { border-right: 0; border-bottom: 1px solid var(--border); padding: 22px; }
  .feature:last-child { border-bottom: 0; }
}

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; counter-reset: step; }
.step { padding-top: 20px; border-top: 1px solid var(--border-strong); }
.step .n { font-family: var(--mono); font-size: 12.5px; color: var(--text-3); }
.step h3 { margin-top: 12px; font-size: 17px; font-weight: 620; letter-spacing: -.012em; }
.step p { margin-top: 8px; color: var(--text-2); font-size: 15px; line-height: 1.6; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; gap: 24px; } }

/* use cases */
.cases { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 48px; }
.case { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--border); }
.case .i { width: 20px; height: 20px; color: var(--text-3); margin-top: 2px; }
.case h3 { font-size: 15.5px; font-weight: 600; }
.case p { margin-top: 4px; color: var(--text-2); font-size: 14.5px; line-height: 1.55; }
@media (max-width: 760px) { .cases { grid-template-columns: 1fr; } }

/* FAQ (native details) */
.faq { max-width: 800px; border-top: 1px solid var(--border); }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; font-size: 16px; font-weight: 560; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i { color: var(--text-3); transition: transform .12s; }
.faq details[open] summary .i { transform: rotate(45deg); }
.faq .a { padding: 0 40px 22px 0; color: var(--text-2); font-size: 15px; line-height: 1.65; }

/* CTA */
.cta-band { padding: 72px 0; }
.cta-box { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding: 40px; border: 1px solid var(--border); border-radius: 16px; background: var(--surface); }
.cta-box h2 { font-size: clamp(24px, 3vw, 32px); letter-spacing: -.025em; line-height: 1.15; font-weight: 640; max-width: 560px; text-wrap: balance; }
.cta-box p { margin-top: 10px; color: var(--text-2); font-size: 15.5px; }
@media (max-width: 560px) { .cta-box { padding: 28px 20px; } }

/* footer */
.s-footer { border-top: 1px solid var(--border); padding: 48px 0 40px; font-size: 14px; color: var(--text-3); }
.s-footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.s-footer h4 { font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 12px; }
.s-footer ul { display: grid; gap: 8px; }
.s-footer a:hover { color: var(--text); }
.s-footer .copy { grid-column: 1 / -1; padding-top: 24px; margin-top: 8px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.theme-switch { display: inline-flex; gap: 2px; padding: 2px; border: 1px solid var(--border); border-radius: var(--r); }
.theme-switch button { border: 0; background: transparent; color: var(--text-3); height: 26px; padding: 0 8px; border-radius: 6px; display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; }
.theme-switch button[aria-pressed="true"] { background: var(--surface-2); color: var(--text); }
@media (max-width: 720px) { .s-footer .wrap { grid-template-columns: 1fr 1fr; } .s-footer .brand-col { grid-column: 1 / -1; } }

/* legal text */
.prose { max-width: 720px; padding: 56px 0 96px; }
.prose h1 { font-size: 34px; letter-spacing: -.028em; line-height: 1.15; font-weight: 640; }
.prose .updated { margin-top: 8px; color: var(--text-3); font-size: 14px; }
.prose h2 { margin-top: 36px; font-size: 19px; font-weight: 620; letter-spacing: -.012em; }
.prose p, .prose li { margin-top: 12px; color: var(--text-2); font-size: 15.5px; line-height: 1.7; }
.prose ul { list-style: disc; padding-left: 22px; }
