/* ==========================================================================
   pvuv.ai — homepage styles
   Restrained, trust-first design. Light/dark aware. Self-contained.
   ========================================================================== */

:root {
  --indigo: #46407d;
  --indigo-600: #3a356a;
  --violet: #6b61b8;
  --clean: #10b981;
  --suspect: #f59e0b;
  --bot: #ef4444;
  --crawler: #64748b;

  --bg: #ffffff;
  --bg-alt: #f6f7fb;
  --surface: #ffffff;
  --ink: #0f172a;
  --ink-2: #475569;
  --ink-3: #64748b;
  --border: #e6e8f0;
  --border-2: #eef0f6;
  --code-bg: #0f1629;
  --code-ink: #e2e8f0;

  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06), 0 1px 3px rgba(15, 23, 42, .05);
  --shadow-md: 0 4px 16px rgba(15, 23, 42, .08), 0 2px 6px rgba(15, 23, 42, .05);
  --shadow-lg: 0 20px 45px rgba(30, 41, 99, .16);

  --radius: 14px;
  --radius-sm: 10px;
  --maxw: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
          "Hiragino Sans GB", "Microsoft YaHei", Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
}

@media (prefers-color-scheme: dark) {
  :root {
    --indigo: #9b93d9;
    --violet: #b7b0e6;
    --indigo-600: #8b83d0;
    --bg: #0b1020;
    --bg-alt: #0e1428;
    --surface: #121a30;
    --ink: #eef1f8;
    --ink-2: #b3bdd6;
    --ink-3: #8a97b8;
    --border: #1e2942;
    --border-2: #1a2338;
    --code-bg: #0a0f1f;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .3);
    --shadow-md: 0 6px 20px rgba(0, 0, 0, .35);
    --shadow-lg: 0 24px 55px rgba(0, 0, 0, .5);
  }
}

/* ---------- base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 { line-height: 1.2; letter-spacing: -0.01em; margin: 0; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
code { font-family: var(--mono); font-size: 0.9em; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }
.narrow { max-width: 760px; }
.center { text-align: center; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: var(--indigo); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 2px solid var(--indigo); outline-offset: 2px; border-radius: 4px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 0.95rem;
  padding: 11px 20px; border-radius: 10px;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .12s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: linear-gradient(135deg, var(--indigo), var(--violet));
  color: #fff; box-shadow: var(--shadow-md);
}
.btn-primary:hover { box-shadow: var(--shadow-lg); }
.btn-ghost {
  background: var(--surface); color: var(--ink);
  border-color: var(--border);
}
.btn-ghost:hover { border-color: var(--indigo); color: var(--indigo); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(1.6) blur(12px);
  -webkit-backdrop-filter: saturate(1.6) blur(12px);
  border-bottom: 1px solid var(--border-2);
}
.header-inner { display: flex; align-items: center; gap: 20px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: 1.15rem; }
.brand-dot { color: var(--indigo); }
.nav { display: flex; gap: 24px; margin-left: 12px; }
.nav a { color: var(--ink-2); font-size: 0.93rem; font-weight: 500; transition: color .15s; }
.nav a:hover { color: var(--ink); }
.header-actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }

.lang-toggle {
  background: transparent; border: 1px solid var(--border); color: var(--ink-2);
  border-radius: 8px; padding: 6px 10px; font-size: 0.82rem; font-weight: 600; cursor: pointer;
  transition: border-color .15s, color .15s;
}
.lang-toggle:hover { border-color: var(--indigo); }
.lang-toggle .lang-active { color: var(--ink); }
.lang-toggle .lang-sep { margin: 0 3px; opacity: .5; }
.lang-toggle .lang-inactive { opacity: .55; }

.nav-toggle { display: none; flex-direction: column; gap: 4px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: .2s; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: 84px 0 72px; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 60% at 15% 0%, color-mix(in srgb, var(--indigo) 16%, transparent), transparent 70%),
    radial-gradient(50% 55% at 95% 15%, color-mix(in srgb, var(--violet) 14%, transparent), transparent 70%);
}
.hero-inner { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-block; font-size: 0.82rem; font-weight: 600; letter-spacing: .02em;
  color: var(--indigo); background: color-mix(in srgb, var(--indigo) 12%, transparent);
  padding: 6px 12px; border-radius: 999px; margin-bottom: 18px;
}
.hero-title { font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-weight: 800; letter-spacing: -0.02em; }
.hero-sub { margin-top: 20px; font-size: 1.13rem; color: var(--ink-2); max-width: 33em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-cta.center { justify-content: center; }
.hero-badges { list-style: none; display: flex; flex-wrap: wrap; gap: 20px; padding: 0; margin: 30px 0 0; }
.hero-badges li { display: inline-flex; align-items: center; gap: 8px; font-size: 0.9rem; color: var(--ink-2); }
.dot { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.dot-green { background: var(--clean); }
.dot-indigo { background: var(--indigo); }
.dot-amber { background: var(--suspect); }

/* ---------- hero quality card ---------- */
.hero-visual { display: flex; justify-content: center; }
.quality-card {
  width: 100%; max-width: 340px; background: var(--surface);
  border: 1px solid var(--border); border-radius: 18px; padding: 22px;
  box-shadow: var(--shadow-lg);
}
.quality-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.quality-title { font-weight: 700; font-size: 1rem; }
.quality-live { display: inline-flex; align-items: center; gap: 6px; font-size: 0.78rem; color: var(--ink-3); }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--clean); box-shadow: 0 0 0 0 color-mix(in srgb, var(--clean) 60%, transparent); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--clean) 55%, transparent); } 70% { box-shadow: 0 0 0 7px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
@media (prefers-reduced-motion: reduce) { .pulse { animation: none; } }

.donut { position: relative; display: flex; justify-content: center; margin: 4px 0 18px; }
.donut svg { transform: rotate(-90deg); }
.donut-ring { fill: none; stroke: var(--border); stroke-width: 4; }
.seg { fill: none; stroke-width: 4; stroke-linecap: round; }
.seg-clean { stroke: var(--clean); }
.seg-suspect { stroke: var(--suspect); }
.seg-bot { stroke: var(--bot); }
.seg-crawler { stroke: var(--crawler); }
.donut-center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.donut-center strong { font-size: 1.5rem; font-weight: 800; }
.donut-center small { font-size: 0.72rem; color: var(--ink-3); }

.quality-legend { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; }
.quality-legend li { display: flex; align-items: center; gap: 7px; font-size: 0.82rem; color: var(--ink-2); }
.quality-legend b { margin-left: auto; color: var(--ink); font-variant-numeric: tabular-nums; }
.sw { width: 10px; height: 10px; border-radius: 3px; flex: none; }
.sw-clean { background: var(--clean); }
.sw-suspect { background: var(--suspect); }
.sw-bot { background: var(--bot); }
.sw-crawler { background: var(--crawler); }

/* ---------- sections ---------- */
.section { padding: 76px 0; }
.section-alt { background: var(--bg-alt); border-block: 1px solid var(--border-2); }
.section-title { font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 800; text-align: center; }
.section-lead { margin: 16px auto 0; color: var(--ink-2); font-size: 1.05rem; max-width: 44em; }
.section-lead.center { text-align: center; }
.why .section-lead { font-size: 1.15rem; text-align: center; }

/* ---------- grids & cards ---------- */
.grid { display: grid; gap: 22px; margin-top: 44px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 26px 24px; box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: color-mix(in srgb, var(--indigo) 40%, var(--border)); }
.card-icon {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  margin-bottom: 16px; color: #fff;
}
.card-icon svg { width: 24px; height: 24px; }
.icon-analytics { background: linear-gradient(135deg, var(--indigo), #6b61b8); }
.icon-detect { background: linear-gradient(135deg, #5b54a0, var(--indigo)); }
.icon-shield { background: linear-gradient(135deg, var(--violet), #9b93d9); }
.card h3 { font-size: 1.18rem; margin-bottom: 12px; }
.card-list { list-style: none; margin: 0; padding: 0; }
.card-list li { position: relative; padding-left: 22px; margin-bottom: 10px; color: var(--ink-2); font-size: 0.93rem; }
.card-list li::before {
  content: ""; position: absolute; left: 0; top: 8px; width: 12px; height: 12px;
  background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2310b981' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}

.ai-note {
  margin-top: 26px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  background: var(--surface); border: 1px dashed color-mix(in srgb, var(--violet) 45%, var(--border));
  border-radius: var(--radius); padding: 18px 22px;
}
.ai-badge {
  font-size: 0.8rem; font-weight: 700; color: var(--violet);
  background: color-mix(in srgb, var(--violet) 12%, transparent); padding: 6px 12px; border-radius: 999px; white-space: nowrap;
}
.ai-note p { color: var(--ink-2); }
.ai-note em { color: var(--ink); font-style: normal; font-weight: 600; }

/* ---------- detection layers ---------- */
.layers { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: stretch; gap: 14px; margin-top: 44px; }
.layer {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow-sm);
}
.layer-num { font-size: 0.85rem; font-weight: 800; color: var(--indigo); font-variant-numeric: tabular-nums; }
.layer h3 { font-size: 1.05rem; margin: 8px 0 10px; }
.layer p { color: var(--ink-2); font-size: 0.92rem; }
.layer-arrow { display: grid; place-items: center; color: var(--ink-3); font-size: 1.4rem; font-weight: 700; }
.restraint-note {
  margin: 30px auto 0; max-width: 50em; text-align: center; color: var(--ink-2); font-size: 0.98rem;
  padding: 18px 22px; border-left: 3px solid var(--suspect); background: var(--surface);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0; box-shadow: var(--shadow-sm);
}

/* ---------- architecture ---------- */
.arch-flow {
  display: flex; flex-wrap: wrap; align-items: stretch; justify-content: center;
  gap: 8px; margin-top: 44px;
}
.arch-node {
  flex: 1 1 150px; min-width: 140px; display: flex; flex-direction: column; gap: 4px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
  padding: 14px 16px; box-shadow: var(--shadow-sm);
}
.arch-node-accent { border-color: color-mix(in srgb, var(--indigo) 55%, var(--border)); background: color-mix(in srgb, var(--indigo) 6%, var(--surface)); }
.arch-k { font-family: var(--mono); font-size: 0.82rem; font-weight: 600; color: var(--indigo); }
.arch-v { font-size: 0.82rem; color: var(--ink-3); }
.arch-conn { align-self: center; width: 22px; height: 2px; background: var(--border); position: relative; flex: none; }
.arch-conn::after { content: "▸"; position: absolute; right: -4px; top: -11px; color: var(--ink-3); font-size: 0.8rem; }
.arch-loop::before { content: "⟲"; position: absolute; left: -2px; top: -22px; color: var(--indigo); font-size: 0.9rem; }

.arch-split {
  display: flex; align-items: center; gap: 16px; margin: 30px auto 0; max-width: 60em;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 20px 24px; box-shadow: var(--shadow-sm);
}
.arch-split-icon { flex: none; width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center; color: var(--indigo); background: color-mix(in srgb, var(--indigo) 12%, transparent); }
.arch-split-icon svg { width: 22px; height: 22px; }
.arch-split p { color: var(--ink-2); font-size: 0.95rem; }
.arch-split code { color: var(--indigo); background: color-mix(in srgb, var(--indigo) 10%, transparent); padding: 1px 6px; border-radius: 5px; }

.stack { margin-top: 30px; text-align: center; }
.stack-label { display: block; font-size: 0.82rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 14px; }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.chips li {
  display: inline-flex; align-items: baseline; gap: 6px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 999px;
  padding: 8px 16px; font-weight: 600; font-size: 0.9rem; box-shadow: var(--shadow-sm);
}
.chips small { color: var(--ink-3); font-weight: 400; font-size: 0.78rem; }
.stack-foot { margin-top: 16px; color: var(--ink-3); font-size: 0.92rem; }

/* ---------- privacy ---------- */
.privacy-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); }
.privacy-item h3 { font-size: 1.08rem; margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.privacy-item h3::before {
  content: ""; width: 18px; height: 18px; flex: none;
  background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234f6bed' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='11' width='18' height='11' rx='2'/%3E%3Cpath d='M7 11V7a5 5 0 0 1 10 0v4'/%3E%3C/svg%3E");
}
.privacy-item p { color: var(--ink-2); font-size: 0.93rem; }
.compliance-note {
  margin: 30px auto 0; max-width: 56em; text-align: center; color: var(--ink-2); font-size: 0.95rem;
  padding: 18px 24px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm);
}

/* ---------- code blocks ---------- */
.qs-grid { align-items: start; }
.code-block { background: var(--code-bg); border: 1px solid #1e2942; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); }
.code-head { padding: 12px 18px; border-bottom: 1px solid rgba(255,255,255,.08); color: #94a3b8; font-size: 0.82rem; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.code-head::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: #f59e0b; box-shadow: 16px 0 0 #10b981, 32px 0 0 #ef4444; margin-right: 24px; }
.code-block pre { margin: 0; padding: 18px; overflow-x: auto; }
.code-block code { color: var(--code-ink); font-size: 0.84rem; line-height: 1.7; white-space: pre; }
.c-c { color: #64748b; font-style: italic; }
.c-t { color: #7dd3fc; }
.c-a { color: #c4b5fd; }
.c-s { color: #86efac; }
.code-foot { padding: 14px 18px; border-top: 1px solid rgba(255,255,255,.08); color: #94a3b8; font-size: 0.82rem; }
.code-foot code { color: #c4b5fd; background: rgba(255,255,255,.06); padding: 1px 5px; border-radius: 4px; }
.qs-cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 30px; }

/* ---------- roadmap ---------- */
.roadmap { list-style: none; margin: 44px auto 0; padding: 0; max-width: 720px; position: relative; }
.roadmap::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: var(--border); }
.rm { position: relative; padding: 0 0 26px 40px; }
.rm:last-child { padding-bottom: 0; }
.rm::before { content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--surface); border: 3px solid var(--border); }
.rm-current::before { border-color: var(--indigo); background: var(--indigo); box-shadow: 0 0 0 4px color-mix(in srgb, var(--indigo) 20%, transparent); }
.rm-tag { font-weight: 800; font-size: 1.02rem; display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.rm-chip { font-size: 0.72rem; font-weight: 700; color: var(--indigo); background: color-mix(in srgb, var(--indigo) 12%, transparent); padding: 3px 9px; border-radius: 999px; }
.rm p { color: var(--ink-2); font-size: 0.95rem; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(135deg, color-mix(in srgb, var(--indigo) 10%, var(--bg)), color-mix(in srgb, var(--violet) 10%, var(--bg))); border-block: 1px solid var(--border-2); }
.cta-band h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; }
.cta-band p { margin: 16px auto 26px; max-width: 46em; color: var(--ink-2); }

/* ---------- footer ---------- */
.site-footer { background: var(--bg-alt); border-top: 1px solid var(--border-2); padding: 52px 0 28px; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; }
.footer-brand { max-width: 300px; }
.footer-brand p { margin-top: 12px; color: var(--ink-3); font-size: 0.9rem; }
.footer-nav { display: flex; gap: 56px; flex-wrap: wrap; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-h { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-3); margin-bottom: 2px; }
.footer-col a { color: var(--ink-2); font-size: 0.92rem; transition: color .15s; }
.footer-col a:hover { color: var(--indigo); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--border); color: var(--ink-3); font-size: 0.85rem; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { order: -1; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .layers { grid-template-columns: 1fr; }
  .layer-arrow { transform: rotate(90deg); }
}

@media (max-width: 720px) {
  .nav { display: none; }
  .nav.open {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; top: 64px; left: 0; right: 0; margin: 0;
    background: var(--bg); border-bottom: 1px solid var(--border); box-shadow: var(--shadow-md);
  }
  .nav.open a { padding: 14px 24px; border-top: 1px solid var(--border-2); }
  .nav-toggle { display: flex; }
  .header-actions .btn-ghost span:not(.sr) { display: none; }
  .header-actions .btn-ghost { padding: 9px 11px; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
  .hero { padding: 56px 0 48px; }
  .footer-inner { flex-direction: column; gap: 32px; }
  .footer-nav { gap: 40px; }
}

@media (max-width: 400px) {
  .quality-legend { grid-template-columns: 1fr; }
}

  
.lang-link{display:inline-flex;align-items:center;border:1px solid var(--border);color:var(--ink-2);border-radius:8px;padding:6px 11px;font-size:.82rem;font-weight:600;transition:border-color .15s,color .15s}
.lang-link:hover{border-color:var(--indigo);color:var(--indigo)}
.header-actions .btn-sites{padding:8px 15px;font-size:.9rem}
@media (max-width:720px){.header-actions .btn-ghost{display:none}}

/* brand lockup */
.brand{gap:0}
.brand-logo{height:30px;width:auto;display:block}
.brand-logo-dark{display:none}
@media (prefers-color-scheme:dark){.brand-logo-light{display:none}.brand-logo-dark{display:block}}
.footer-brand .brand-logo{height:24px}

/* ===== brand refresh: orange launch accent ===== */
:root{--orange:#fe8913;--orange-ink:#a8560a}
@media (prefers-color-scheme:dark){:root{--orange:#ff9a33;--orange-ink:#ffb066}}
.eyebrow{background:color-mix(in srgb,var(--orange) 13%,transparent);color:var(--orange-ink)}
.hero::after{content:"";position:absolute;right:-8%;top:-12%;width:540px;height:540px;max-width:70vw;z-index:-1;pointer-events:none;background:radial-gradient(closest-side,color-mix(in srgb,var(--orange) 12%,transparent),transparent 72%)}
.kw{font-weight:700;color:inherit;box-shadow:inset 0 -.5em 0 color-mix(in srgb,var(--orange) 22%,transparent)}
.kw-underline{position:relative;white-space:nowrap;color:var(--indigo)}
.kw-underline::after{content:"";position:absolute;left:0;right:0;bottom:.04em;height:.14em;border-radius:2px;background:linear-gradient(90deg,var(--orange),#ff6f3c)}
.btn-primary:hover{box-shadow:0 12px 30px color-mix(in srgb,var(--indigo) 30%,transparent),0 6px 16px color-mix(in srgb,var(--orange) 24%,transparent)}
/* open-source / self-host trust strip */
.oss-strip{padding:38px 0;border-block:1px solid var(--border-2);background:var(--bg-alt)}
.oss-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.oss-item{background:var(--surface);border:1px solid var(--border);border-radius:14px;padding:20px 22px;box-shadow:var(--shadow-sm)}
.oss-item h3{font-size:1.04rem;margin:0 0 8px;display:flex;align-items:center;gap:10px}
.oss-item p{color:var(--ink-2);font-size:.92rem;margin:0}
.oss-ic{width:32px;height:32px;border-radius:9px;display:grid;place-items:center;flex:none;color:#fff;background:linear-gradient(135deg,var(--indigo),#6b61b8)}
.oss-ic svg{width:18px;height:18px}
.oss-ic.warm{background:linear-gradient(135deg,var(--orange),#ff6f3c)}
@media (max-width:760px){.oss-grid{grid-template-columns:1fr}}

.oss-h2{font-size:clamp(1.35rem,2.6vw,1.8rem);font-weight:800;text-align:center;margin:0 0 24px;letter-spacing:-.01em}
.cmp-wrap{overflow-x:auto;margin-top:36px;border:1px solid var(--border);border-radius:14px;box-shadow:var(--shadow-sm)}
.cmp{width:100%;border-collapse:collapse;min-width:540px;background:var(--surface)}
.cmp th,.cmp td{padding:13px 18px;text-align:left;border-bottom:1px solid var(--border-2);font-size:.93rem}
.cmp tr:last-child td{border-bottom:0}
.cmp thead th{background:var(--bg-alt);font-weight:700}
.cmp thead th:nth-child(2){color:var(--indigo)}
.cmp tbody td:first-child{color:var(--ink-2);font-weight:600}
.cmp tbody td:nth-child(2){background:color-mix(in srgb,var(--indigo) 6%,var(--surface))}
.cmp .yes{color:var(--clean);font-weight:700}
.cmp .no{color:var(--bot);font-weight:700}
.faq{margin-top:30px;display:grid;gap:14px}
.faq-item{background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:20px 22px;box-shadow:var(--shadow-sm)}
.faq-item h3{font-size:1.06rem;margin:0 0 8px}
.faq-item p{margin:0;color:var(--ink-2);font-size:.94rem;line-height:1.65}

.wins{display:flex;flex-wrap:wrap;gap:10px;justify-content:center;margin:24px 0 4px;padding:0}
.wins li{list-style:none;display:inline-flex;align-items:center;gap:7px;background:var(--surface);border:1px solid var(--border);border-radius:999px;padding:8px 15px;font-size:.88rem;font-weight:600;box-shadow:var(--shadow-sm)}
.wins .wc{color:var(--orange);font-weight:800}
.cmp td.mut{color:var(--ink-3)}
.cmp thead th:not(:first-child){text-align:center;white-space:nowrap}
.cmp tbody td:not(:first-child){text-align:center}
.cmp thead th:nth-child(2){color:var(--indigo)}
.cmp-foot{margin-top:20px;text-align:center;color:var(--ink-2);font-size:.95rem;max-width:52em;margin-inline:auto}
