/* AILabelFix — design system v2. No web fonts, no frameworks: fast by default. */
:root {
  --bg: #f7f6fc;
  --bg-2: #f0eef9;
  --panel: #ffffff;
  --panel-2: #fbfaff;
  --ink: #100e1c;
  --ink-2: #363349;
  --muted: #696680;
  --line: #e8e5f3;
  --line-2: #d8d4e8;
  --brand: #6a4cff;
  --brand-ink: #5233ee;
  --brand-tint: #efebff;
  --grad: linear-gradient(135deg, #6a4cff 0%, #a43cff 55%, #e0479e 100%);
  --red: #e5484d; --red-tint: #fdeced;
  --amber: #c27503; --amber-tint: #fdf2df;
  --green: #0e9f6e; --green-tint: #e3f7ee;
  --gray-dot: #a5a3b5;
  --r: 20px;
  --sh-1: 0 1px 2px rgb(16 14 28 / 5%), 0 4px 14px -6px rgb(16 14 28 / 10%);
  --sh-2: 0 2px 4px rgb(16 14 28 / 4%), 0 18px 48px -18px rgb(60 40 160 / 28%);
  --sh-btn: 0 1px 0 rgb(255 255 255 / 35%) inset, 0 10px 22px -8px rgb(106 76 255 / 60%);
  --font: ui-sans-serif, -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI Variable Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0c0b14; --bg-2: #12101d; --panel: #16141f; --panel-2: #1b1926;
    --ink: #f4f3f8; --ink-2: #cfcde0; --muted: #9a97ad; --line: #26232f; --line-2: #35313f;
    --brand: #8a72ff; --brand-ink: #a896ff; --brand-tint: #221d3d;
    --red: #ff6b6f; --red-tint: #3a1a1d; --amber: #f2a83c; --amber-tint: #382912; --green: #3ccb8f; --green-tint: #11301f;
    --gray-dot: #5f5c6e;
    --sh-1: 0 1px 2px rgb(0 0 0 / 35%), 0 4px 14px -6px rgb(0 0 0 / 50%);
    --sh-2: 0 2px 4px rgb(0 0 0 / 35%), 0 18px 48px -18px rgb(0 0 0 / 70%);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 16.5px; line-height: 1.6; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.1; letter-spacing: -0.028em; text-wrap: balance; }
p { margin: 0; }
button { font: inherit; color: inherit; }
code { font-family: var(--mono); font-size: 0.88em; padding: 0.1em 0.4em; border-radius: 6px; background: var(--bg-2); border: 1px solid var(--line); }
kbd { font-family: var(--font); font-size: 0.82em; padding: 1px 6px; border: 1px solid var(--line-2); border-bottom-width: 2px; border-radius: 6px; background: var(--panel); }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 40px); margin-inline: auto; }
.center { text-align: center; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 24px; border: 1px solid transparent; border-radius: 14px; font-weight: 650; font-size: 15.5px; text-decoration: none; cursor: pointer; transition: transform .12s, box-shadow .15s, background .15s, border-color .15s, opacity .15s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn-sm { height: 38px; padding: 0 16px; font-size: 14px; border-radius: 11px; }
.btn-primary { background: var(--grad); color: #fff; box-shadow: var(--sh-btn); }
.btn-primary:hover:not(:disabled) { box-shadow: 0 1px 0 rgb(255 255 255 / 35%) inset, 0 14px 28px -8px rgb(106 76 255 / 70%); transform: translateY(-1px); }
.btn-dark { background: var(--ink); color: var(--bg); }
.btn-light { background: #fff; color: #120f24; }
.btn-ghost { background: transparent; border-color: var(--line-2); }
.btn-ghost:hover { background: var(--bg-2); }
.btn-outline { background: var(--panel); border-color: var(--line-2); }
.btn-outline:hover { border-color: var(--brand); color: var(--brand-ink); }
.link-btn { background: none; border: 0; padding: 4px 0; color: var(--brand-ink); font-weight: 650; font-size: 14px; cursor: pointer; }
.link-btn:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- 3D icon tiles ---------- */
.i3d { --c1: #8b6cff; --c2: #5a3bf0; position: relative; display: inline-grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 15px; background: linear-gradient(150deg, var(--c1), var(--c2)); box-shadow: 0 1px 0 rgb(255 255 255 / 45%) inset, 0 -3px 0 rgb(0 0 0 / 14%) inset, 0 10px 18px -8px color-mix(in srgb, var(--c2) 75%, transparent); }
.i3d::before { content: ""; position: absolute; inset: 2px 2px 45% 2px; border-radius: 13px 13px 40% 40%; background: linear-gradient(180deg, rgb(255 255 255 / 42%), rgb(255 255 255 / 0)); pointer-events: none; }
.i3d svg { position: relative; width: 54%; height: 54%; fill: none; stroke: #fff; stroke-width: 2.1; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 1.5px 1px rgb(0 0 0 / 22%)); }
.i3d.sm { width: 38px; height: 38px; border-radius: 12px; }
.i3d.lg { width: 64px; height: 64px; border-radius: 20px; }
.i3d.xl { width: 84px; height: 84px; border-radius: 26px; }
.c-violet { --c1: #8f73ff; --c2: #5532f0; }
.c-pink { --c1: #ff7ac0; --c2: #e0349a; }
.c-amber { --c1: #ffc94d; --c2: #f08a0c; }
.c-green { --c1: #4ee0a6; --c2: #0e9f6e; }
.c-blue { --c1: #6cc4ff; --c2: #2f74f0; }
.c-red { --c1: #ff8a7a; --c2: #e2414b; }
.c-teal { --c1: #5ee6e0; --c2: #0f9aa8; }
.c-ink { --c1: #5b5873; --c2: #23212f; }

/* ---------- header ---------- */
.hdr { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--bg) 80%, transparent); backdrop-filter: saturate(1.5) blur(16px); -webkit-backdrop-filter: saturate(1.5) blur(16px); border-bottom: 1px solid color-mix(in srgb, var(--line) 75%, transparent); }
.hdr-in { display: flex; align-items: center; gap: 22px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 20px; letter-spacing: -0.03em; flex: none; }
.brand img, .brand svg { width: 34px; height: 34px; border-radius: 10px; }
.brand b { font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mnav { display: flex; align-items: center; gap: 4px; margin-left: 10px; }
.mnav > a, .mn-btn { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 12px; border: 0; border-radius: 10px; background: none; color: var(--ink-2); font-size: 14.5px; font-weight: 600; text-decoration: none; cursor: pointer; }
.mnav > a:hover, .mn-btn:hover, .mn-item.open .mn-btn { background: var(--bg-2); color: var(--ink); }
.mn-btn::after { content: ""; width: 7px; height: 7px; border-right: 1.8px solid currentColor; border-bottom: 1.8px solid currentColor; transform: rotate(45deg) translateY(-2px); opacity: .6; }
.mn-item { position: relative; }
.mega { position: absolute; top: calc(100% + 10px); left: -12px; width: min(720px, 92vw); padding: 14px; border: 1px solid var(--line); border-radius: 22px; background: var(--panel); box-shadow: var(--sh-2); display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s, transform .15s, visibility .15s; }
.mega.cols-3 { grid-template-columns: repeat(3, 1fr); width: min(820px, 94vw); }
.mn-item.open .mega { opacity: 1; visibility: visible; transform: none; }
@media (hover: hover) and (min-width: 961px) { .mn-item:hover .mega { opacity: 1; visibility: visible; transform: none; } .mn-item:hover .mn-btn { background: var(--bg-2); color: var(--ink); } }
.mega a { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 14px; text-decoration: none; }
.mega a:hover { background: var(--bg-2); }
.mega a b { display: block; font-size: 14.5px; font-weight: 650; }
.mega a small { display: block; color: var(--muted); font-size: 12.8px; line-height: 1.35; margin-top: 1px; }
.mega .mega-all { grid-column: 1 / -1; justify-content: center; color: var(--brand-ink); font-weight: 650; font-size: 14px; border-top: 1px solid var(--line); border-radius: 0 0 12px 12px; margin-top: 6px; padding-top: 12px; }
.hdr-cta { margin-left: auto; }
.burger { display: none; width: 42px; height: 42px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--panel); cursor: pointer; place-items: center; }
.burger span, .burger span::before, .burger span::after { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--ink); position: relative; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; }
.burger span::before { top: -6px; } .burger span::after { top: 6px; }
@media (max-width: 960px) {
  .burger { display: grid; }
  .mnav { position: fixed; inset: 68px 0 auto 0; max-height: calc(100vh - 68px); overflow: auto; flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding: 10px 16px 24px; background: var(--panel); border-bottom: 1px solid var(--line); box-shadow: var(--sh-2); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .15s, transform .15s, visibility .15s; }
  .hdr.nav-open .mnav { opacity: 1; visibility: visible; transform: none; }
  .mnav > a, .mn-btn { height: 48px; width: 100%; justify-content: space-between; font-size: 16px; }
  .mega { position: static; width: 100%; opacity: 1; visibility: visible; transform: none; display: none; box-shadow: none; border: 0; padding: 0 0 8px; grid-template-columns: 1fr; }
  .mega.cols-3 { grid-template-columns: 1fr; width: 100%; }
  .mn-item.open .mega { display: grid; }
}
@media (max-width: 520px) { .hdr-cta { display: none; } .burger { margin-left: auto; } }

/* ---------- hero ---------- */
.hero { position: relative; padding: 64px 0 26px; overflow: clip; }
.hero::before { content: ""; position: absolute; inset: -180px -10% auto; height: 640px; background: radial-gradient(40% 50% at 30% 40%, rgb(106 76 255 / 22%), transparent 70%), radial-gradient(35% 45% at 72% 30%, rgb(224 71 158 / 16%), transparent 70%), radial-gradient(30% 40% at 52% 70%, rgb(47 116 240 / 12%), transparent 70%); filter: blur(10px); pointer-events: none; z-index: 0; }
.hero-in { position: relative; z-index: 1; text-align: center; max-width: 900px; margin: 0 auto; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 8px; border: 1px solid var(--line-2); border-radius: 999px; background: color-mix(in srgb, var(--panel) 85%, transparent); color: var(--ink-2); font-size: 13.5px; font-weight: 600; box-shadow: var(--sh-1); text-decoration: none; }
.chip .dot { width: 22px; height: 22px; border-radius: 999px; display: grid; place-items: center; background: var(--green-tint); box-shadow: none; }
.chip .dot svg { width: 13px; height: 13px; stroke: var(--green); fill: none; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.hero h1 { margin-top: 20px; font-size: clamp(40px, 6.4vw, 72px); font-weight: 820; letter-spacing: -0.045em; }
.lede { margin: 18px auto 0; max-width: 680px; font-size: clamp(17px, 2vw, 19.5px); color: var(--muted); text-wrap: pretty; }
.floaty { position: absolute; z-index: 0; opacity: .95; animation: floaty 7s ease-in-out infinite; }
.floaty.f1 { top: 120px; left: max(2%, calc(50% - 620px)); rotate: -12deg; }
.floaty.f2 { top: 70px; right: max(2%, calc(50% - 610px)); animation-delay: -2s; rotate: 10deg; }
.floaty.f3 { top: 300px; left: max(4%, calc(50% - 560px)); animation-delay: -4s; rotate: 8deg; }
.floaty.f4 { top: 280px; right: max(4%, calc(50% - 570px)); animation-delay: -1s; rotate: -8deg; }
@keyframes floaty { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@media (max-width: 1100px) { .floaty { display: none; } }

/* ---------- tool ---------- */
.toolbox { position: relative; z-index: 2; margin: 34px auto 0; max-width: 920px; scroll-margin-top: 86px; }
.tb-card { position: relative; border: 1px solid var(--line); border-radius: 28px; padding: 14px; background: color-mix(in srgb, var(--panel) 92%, transparent); box-shadow: var(--sh-2); backdrop-filter: blur(12px); }
.tb-top { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; justify-content: space-between; padding: 4px 6px 12px; }
.seg { display: inline-flex; padding: 4px; border-radius: 14px; background: var(--bg-2); border: 1px solid var(--line); }
.seg button { height: 36px; padding: 0 16px; border: 0; border-radius: 10px; background: none; font-size: 14px; font-weight: 650; color: var(--muted); cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--panel); color: var(--ink); box-shadow: var(--sh-1); }
.opts { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.toggle { display: inline-flex; align-items: center; gap: 9px; cursor: pointer; font-size: 14px; font-weight: 600; user-select: none; }
.toggle input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.toggle .track { position: relative; flex: none; width: 36px; height: 21px; border-radius: 999px; background: var(--line-2); transition: background .15s; }
.toggle .track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 15px; height: 15px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgb(0 0 0 / 25%); transition: transform .18s; }
.toggle input:checked + .track { background: var(--brand); }
.toggle input:checked + .track::after { transform: translateX(15px); }
.toggle input:focus-visible + .track { outline: 2px solid var(--brand); outline-offset: 2px; }
.mode-check .opts { visibility: hidden; }
.drop { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 38px 22px 34px; border: 2px dashed var(--line-2); border-radius: 20px; background: linear-gradient(180deg, var(--panel-2), var(--bg)); text-align: center; cursor: pointer; transition: border-color .15s, background .15s; }
.drop input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.drop:hover, .drop.is-over { border-color: var(--brand); background: var(--brand-tint); }
.drop:has(input:focus-visible) { outline: 2px solid var(--brand); outline-offset: 3px; }
.drop-art { display: flex; align-items: flex-end; margin-bottom: 8px; }
.drop-art .i3d:nth-child(1) { rotate: -10deg; translate: 10px 4px; }
.drop-art .i3d:nth-child(2) { z-index: 1; }
.drop-art .i3d:nth-child(3) { rotate: 10deg; translate: -10px 4px; }
.drop-title { font-size: 20px; font-weight: 760; letter-spacing: -0.015em; }
.drop-title u { text-decoration-thickness: 2px; text-underline-offset: 4px; text-decoration-color: color-mix(in srgb, var(--brand) 55%, transparent); color: var(--brand-ink); }
.drop-sub { color: var(--muted); font-size: 14px; }
.fmt { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 6px; }
.fmt span { font-size: 12px; font-weight: 700; letter-spacing: .02em; padding: 3px 9px; border-radius: 8px; background: var(--panel); border: 1px solid var(--line); color: var(--ink-2); }
.tb-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; padding: 12px 8px 4px; font-size: 13.5px; color: var(--muted); }
.tb-foot .lock { display: inline-flex; align-items: center; gap: 7px; }
.tb-foot .lock svg { width: 15px; height: 15px; stroke: var(--green); fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
@media (pointer: coarse) { .paste-hint { display: none; } }

/* results */
.results { margin-top: 12px; border-top: 1px solid var(--line); padding: 14px 4px 2px; scroll-margin-top: 80px; }
.results-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 0 6px 12px; }
.summary { font-size: 14.5px; color: var(--ink-2); }
.summary strong { color: var(--ink); }
.results-actions { display: flex; gap: 8px; }
.mode-check .dl-only { display: none !important; }
.file-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.card { position: relative; border: 1px solid var(--line); border-radius: 18px; background: var(--panel); overflow: hidden; text-align: left; }
.card::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 4px; background: var(--gray-dot); }
.card[data-verdict="ai"]::before { background: var(--red); }
.card[data-verdict="privacy"]::before { background: var(--amber); }
.card[data-verdict="none"]::before, .card[data-verdict="info"]::before { background: var(--green); }
.card[data-state="error"]::before { background: var(--red); }
.card-main { display: flex; align-items: center; gap: 14px; padding: 12px 14px 12px 18px; }
.thumb { flex: none; width: 58px; height: 58px; border-radius: 12px; object-fit: cover; background: var(--bg-2); border: 1px solid var(--line); }
.thumb-video { display: grid; place-items: center; color: var(--muted); font-size: 18px; }
.card-meta { min-width: 0; flex: 1; }
.card-name { font-weight: 680; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-sub { margin-top: 2px; font-size: 13px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; }
.card-sub .verdict { font-weight: 650; }
.verdict-ai { color: var(--red); } .verdict-privacy { color: var(--amber); } .verdict-ok { color: var(--green); }
.card-actions { display: flex; align-items: center; gap: 8px; flex: none; }
.badge { display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 10px; border-radius: 999px; font-size: 12.5px; font-weight: 700; white-space: nowrap; }
.badge svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.badge-ok { background: var(--green-tint); color: var(--green); }
.badge-err { background: var(--red-tint); color: var(--red); }
.badge-warn { background: var(--amber-tint); color: var(--amber); }
.badge-busy { background: var(--bg-2); color: var(--muted); }
.spinner { width: 14px; height: 14px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.findings { border-top: 1px solid var(--line); }
.findings > summary { list-style: none; display: flex; align-items: center; gap: 8px; padding: 10px 18px; font-size: 13.5px; font-weight: 650; color: var(--ink-2); cursor: pointer; }
.findings > summary::-webkit-details-marker { display: none; }
.findings > summary::after { content: ""; width: 8px; height: 8px; margin-left: auto; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg) translateY(-2px); transition: transform .15s; }
.findings[open] > summary::after { transform: rotate(-135deg) translateY(-2px); }
.findings > summary:hover { background: var(--bg); }
.finding-list { list-style: none; margin: 0; padding: 4px 18px 14px; display: grid; gap: 2px; }
.finding { display: grid; grid-template-columns: 10px 1fr auto; gap: 12px; align-items: start; padding: 8px 0; border-bottom: 1px dashed var(--line); }
.finding:last-child { border-bottom: 0; }
.finding .dot { margin-top: 7px; }
.finding-title { font-size: 14px; font-weight: 650; }
.finding-detail { font-size: 13px; color: var(--muted); word-break: break-word; }
.status { font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 6px; white-space: nowrap; margin-top: 1px; }
.status-removed { color: var(--green); background: var(--green-tint); }
.status-kept { color: var(--muted); background: var(--bg-2); }
.status-label { color: var(--red); background: var(--red-tint); }
.status-privacy { color: var(--amber); background: var(--amber-tint); }
.status-info { color: var(--muted); background: var(--bg-2); }
.error-text { padding: 0 18px 14px; color: var(--red); font-size: 13.5px; }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--gray-dot); flex: none; }
.dot-label { background: var(--red); box-shadow: 0 0 0 4px var(--red-tint); }
.dot-privacy { background: var(--amber); box-shadow: 0 0 0 4px var(--amber-tint); }
.dot-info { background: var(--gray-dot); box-shadow: 0 0 0 4px var(--bg-2); }
@media (max-width: 600px) {
  .card-main { flex-wrap: wrap; }
  .card-meta { flex-basis: calc(100% - 72px); }
  .card-actions { width: 100%; justify-content: space-between; }
  .drop { padding: 28px 16px 26px; }
  .tb-top { flex-direction: column; align-items: stretch; }
  .seg button { flex: 1; }
}

.trust { list-style: none; margin: 22px auto 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; color: var(--muted); font-size: 14px; font-weight: 600; }
.trust li { display: flex; align-items: center; gap: 8px; }
.trust svg { width: 18px; height: 18px; fill: none; stroke: var(--brand); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- sections ---------- */
.section { padding: 92px 0; scroll-margin-top: 70px; }
.section-alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.eyebrow { display: inline-block; font-size: 12.5px; font-weight: 750; letter-spacing: .09em; text-transform: uppercase; color: var(--brand-ink); margin-bottom: 12px; }
.section h2.h2, .h2 { font-size: clamp(30px, 4.2vw, 46px); font-weight: 800; letter-spacing: -0.038em; }
.section-lede { margin: 14px auto 0; max-width: 640px; color: var(--muted); font-size: 17.5px; }
.split { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 28px; } }
.prose p { font-size: 17.5px; color: var(--ink-2); }
.prose p + p { margin-top: 14px; }
.prose .btn { margin-top: 22px; }

.platforms { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 30px; }
.platforms a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; background: var(--panel); border: 1px solid var(--line); font-weight: 650; font-size: 14.5px; text-decoration: none; box-shadow: var(--sh-1); transition: border-color .15s, transform .15s; }
.platforms a:hover { border-color: var(--brand); transform: translateY(-1px); }
.platforms i { width: 8px; height: 8px; border-radius: 50%; background: var(--grad); }

.bento { margin-top: 44px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.bento .tile { padding: 24px; border-radius: var(--r); background: var(--panel); border: 1px solid var(--line); box-shadow: var(--sh-1); }
.bento .tile.wide { grid-column: span 2; }
.bento h3 { margin-top: 18px; font-size: 18px; font-weight: 720; letter-spacing: -0.02em; }
.bento p { margin-top: 8px; color: var(--muted); font-size: 14.8px; }
.risk { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 12.5px; font-weight: 700; color: var(--muted); }
@media (max-width: 980px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .bento { grid-template-columns: 1fr; } .bento .tile.wide { grid-column: auto; } }

.demo { border-radius: 26px; padding: 14px; background: var(--panel); border: 1px solid var(--line); box-shadow: var(--sh-2); rotate: -1deg; }
.demo-photo { height: 150px; border-radius: 14px; background: linear-gradient(160deg, #2b2760 0%, #c7577d 55%, #f8b77c 100%); position: relative; overflow: hidden; margin-bottom: 12px; }
.demo-photo::after { content: ""; position: absolute; inset: auto -10% -30% -10%; height: 70%; background: linear-gradient(180deg, #2a2350, #141127); clip-path: polygon(0 40%, 18% 20%, 34% 38%, 52% 10%, 70% 34%, 86% 18%, 100% 30%, 100% 100%, 0 100%); }
.demo-badge { position: absolute; top: 12px; left: 12px; z-index: 1; display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 10px; background: rgb(0 0 0 / 55%); color: #fff; font-size: 12.5px; font-weight: 700; backdrop-filter: blur(6px); }
.demo-badge s { opacity: .8; }

.table-wrap { margin-top: 36px; border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); overflow-x: auto; box-shadow: var(--sh-1); }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
tr:last-child th, tr:last-child td { border-bottom: 0; }
thead th { font-size: 12.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 750; background: var(--panel-2); }
.compare td { white-space: nowrap; font-weight: 650; }
.compare td.yes { color: var(--green); } .compare td.no { color: var(--muted); font-weight: 500; }
.compare td.yes::before { content: "✓ "; }
.compare td:nth-child(2) { background: color-mix(in srgb, var(--brand-tint) 55%, transparent); }
.compare tbody th { font-weight: 600; }

.steps { list-style: none; margin: 46px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.steps li { padding: 26px; border-radius: var(--r); background: var(--panel); border: 1px solid var(--line); box-shadow: var(--sh-1); }
.steps h3 { margin-top: 18px; font-size: 19px; font-weight: 720; }
.steps p { margin-top: 8px; color: var(--muted); font-size: 15px; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }

.cards { margin-top: 40px; display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 14px; }
.lcard { display: flex; flex-direction: column; gap: 10px; padding: 20px; border-radius: var(--r); background: var(--panel); border: 1px solid var(--line); text-decoration: none; box-shadow: var(--sh-1); transition: border-color .15s, transform .15s, box-shadow .15s; }
.lcard:hover { border-color: color-mix(in srgb, var(--brand) 60%, var(--line)); transform: translateY(-2px); box-shadow: var(--sh-2); }
.lcard h3 { font-size: 17px; font-weight: 700; letter-spacing: -0.015em; line-height: 1.3; }
.lcard p { color: var(--muted); font-size: 14.5px; }
.lcard .more { margin-top: auto; color: var(--brand-ink); font-size: 14px; font-weight: 650; }
.pcard { padding: 0; overflow: hidden; gap: 0; }
.pcard img { width: 100%; aspect-ratio: 1200 / 630; object-fit: cover; background: var(--bg-2); border-bottom: 1px solid var(--line); }
.pcard .pc-body { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px 20px; flex: 1; }
.pc-meta { font-size: 12px; font-weight: 750; color: var(--brand-ink); text-transform: uppercase; letter-spacing: .07em; }

.limits { display: grid; gap: 12px; }
.limits > div { border: 1px solid var(--line); border-radius: var(--r); padding: 20px 22px; background: var(--panel); }
.limits h3 { font-size: 16.5px; font-weight: 700; }
.limits p { margin-top: 6px; color: var(--muted); font-size: 15px; }
.faq { margin-top: 36px; display: grid; gap: 10px; }
.faq details { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; }
.faq summary { list-style: none; position: relative; padding: 18px 54px 18px 22px; font-weight: 680; font-size: 16px; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 22px; font-weight: 400; color: var(--muted); transition: transform .15s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 22px 20px; color: var(--ink-2); font-size: 15.5px; }

.cta { padding: 84px 0; }
.cta-in { position: relative; overflow: hidden; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding: 52px 56px; border-radius: 32px; background: #120f24; color: #fff; }
.cta-in::before { content: ""; position: absolute; inset: -40% -10% auto 40%; height: 160%; background: radial-gradient(closest-side, rgb(164 60 255 / 55%), transparent); filter: blur(20px); }
.cta-in > * { position: relative; }
.cta h2 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 800; letter-spacing: -0.035em; }
.cta p { margin-top: 8px; color: rgb(255 255 255 / 72%); }

/* ---------- article pages ---------- */
.page { padding: 34px 0 80px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 13.5px; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink-2); }
.page-hero h1 { font-size: clamp(34px, 5vw, 54px); font-weight: 820; letter-spacing: -0.042em; }
.page-hero .lede { margin-left: 0; }
.page-hero.center { text-align: center; }
.page-hero.center .lede { margin-inline: auto; }
.meta { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; margin-top: 14px; color: var(--muted); font-size: 14px; }
.meta .cat { padding: 3px 10px; border-radius: 999px; background: var(--brand-tint); color: var(--brand-ink); font-weight: 700; font-size: 12.5px; text-decoration: none; }
.cover { margin-top: 26px; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--sh-2); aspect-ratio: 1200 / 630; background: var(--bg-2); }
.cover img { width: 100%; height: 100%; object-fit: cover; }
.answer { margin-top: 26px; padding: 20px 22px; border: 1px solid color-mix(in srgb, var(--brand) 28%, var(--line)); border-left: 4px solid var(--brand); border-radius: 16px; background: color-mix(in srgb, var(--brand-tint) 55%, var(--panel)); }
.answer-label { font-size: 12.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-ink); margin-bottom: 6px; }
.answer p:last-child { font-size: 17.2px; color: var(--ink); line-height: 1.6; }
.toc { margin-top: 26px; padding: 18px 22px; border-radius: 16px; border: 1px solid var(--line); background: var(--panel); }
.toc b { font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.toc ol { margin: 8px 0 0; padding-left: 20px; }
.toc li { margin-top: 4px; font-size: 15px; }
.toc a { color: var(--ink-2); text-decoration: none; }
.toc a:hover { color: var(--brand-ink); text-decoration: underline; }
.article h2 { margin-top: 48px; font-size: clamp(24px, 3vw, 30px); font-weight: 780; letter-spacing: -0.03em; scroll-margin-top: 84px; }
.article h3 { margin-top: 28px; font-size: 20px; font-weight: 720; letter-spacing: -0.02em; scroll-margin-top: 84px; }
.article p, .article li { font-size: 17.5px; color: var(--ink-2); line-height: 1.75; }
.article p { margin-top: 16px; }
.article ul, .article ol { margin: 16px 0 0; padding-left: 24px; }
.article li + li { margin-top: 8px; }
.article li::marker { color: var(--brand); font-weight: 700; }
.article a { color: var(--brand-ink); text-underline-offset: 3px; text-decoration-thickness: 1px; }
.article strong { color: var(--ink); }
.article .table-wrap { margin-top: 22px; }
.callout { margin-top: 22px; padding: 16px 20px; border-radius: 14px; background: var(--amber-tint); border: 1px solid color-mix(in srgb, var(--amber) 25%, var(--line)); }
.callout p { margin: 0 !important; font-size: 16px !important; color: var(--ink) !important; }
.callout p + p { margin-top: 8px !important; }
.yt { margin: 28px 0 0; }
.yt-btn { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: #000; cursor: pointer; box-shadow: var(--sh-2); }
.yt-btn img { width: 100%; height: 100%; object-fit: cover; opacity: .9; transition: opacity .2s; }
.yt-btn:hover img { opacity: 1; }
.yt-btn .play { position: absolute; inset: 0; margin: auto; width: 74px; height: 52px; border-radius: 16px; background: rgb(18 15 36 / 82%); display: grid; place-items: center; transition: background .2s; }
.yt-btn:hover .play { background: #e0263c; }
.yt-btn .play::after { content: ""; border-left: 18px solid #fff; border-top: 11px solid transparent; border-bottom: 11px solid transparent; margin-left: 4px; }
.yt iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 18px; display: block; }
.yt figcaption { margin-top: 8px; font-size: 13.5px; color: var(--muted); }
.sources { margin-top: 44px; padding-top: 18px; border-top: 1px solid var(--line); }
.sources h2 { font-size: 13px !important; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-top: 0 !important; }
.sources ol { margin: 10px 0 0; padding-left: 20px; }
.sources li { font-size: 14.5px !important; line-height: 1.5 !important; }
.inline-tool { margin-top: 30px; }
.inline-tool .toolbox { margin-top: 0; }
.mid-cta { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; padding: 22px 24px; border-radius: 20px; background: #120f24; color: #fff; }
.mid-cta h2 { margin: 0 !important; font-size: 20px !important; color: #fff; }
.mid-cta p { margin: 4px 0 0 !important; font-size: 15px !important; color: rgb(255 255 255 / 70%) !important; }
.related { margin-top: 56px; }
.related > h2 { font-size: 24px; font-weight: 780; }
.related .cards { margin-top: 18px; }
.page-faq { margin-top: 48px; }
.page-faq > h2 { font-size: 24px; font-weight: 780; }
.page-faq .faq { margin-top: 16px; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 56px 0 30px; color: var(--muted); font-size: 14.2px; background: var(--bg); }
.ft-grid { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 28px; }
@media (max-width: 900px) { .ft-grid { grid-template-columns: 1fr 1fr; } .ft-about { grid-column: 1 / -1; } }
.ft-about p { margin-top: 12px; max-width: 330px; }
.ft-grid nav { display: flex; flex-direction: column; gap: 9px; }
.ft-grid h2 { font-size: 12.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 4px; }
.ft-grid a, .ft-bottom a, .ft-bottom button { color: var(--muted); text-decoration: none; background: none; border: 0; padding: 0; font-size: inherit; cursor: pointer; }
.ft-grid a:hover, .ft-bottom a:hover, .ft-bottom button:hover { color: var(--ink); }
.ft-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); }
.ft-bottom nav { display: flex; flex-wrap: wrap; gap: 18px; }

/* ---------- consent ---------- */
.consent { position: fixed; z-index: 60; left: 16px; right: 16px; bottom: 16px; max-width: 460px; margin-left: auto; padding: 18px 18px 16px; border-radius: 20px; background: var(--panel); border: 1px solid var(--line); box-shadow: 0 24px 60px -20px rgb(16 14 28 / 45%); }
.consent h2 { font-size: 16px; font-weight: 750; letter-spacing: -0.01em; }
.consent p { margin-top: 6px; font-size: 14px; color: var(--muted); }
.consent a { color: var(--brand-ink); }
.consent-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.consent-actions .btn { flex: 1; }

.drop-overlay { position: fixed; inset: 0; z-index: 70; display: grid; place-items: center; background: color-mix(in srgb, var(--brand) 18%, transparent); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); opacity: 0; pointer-events: none; transition: opacity .15s; }
.drop-overlay div { padding: 22px 34px; border-radius: 20px; background: var(--panel); border: 2px dashed var(--brand); font-size: 20px; font-weight: 750; box-shadow: var(--sh-2); }
.drop-overlay.is-on { opacity: 1; }

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