/* Scrinema — design tokens, base styles, shared components, landing page */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('vendor/fonts/inter-latin-wght-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('vendor/fonts/inter-latin-ext-wght-normal.woff2') format('woff2'); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url('vendor/fonts/jetbrains-mono-latin-500-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url('vendor/fonts/jetbrains-mono-latin-ext-500-normal.woff2') format('woff2'); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --bg: #0a0b10; --bg-2: #10121a; --bg-3: #171a25; --bg-4: #1e2230;
  --panel: rgba(18, 20, 30, 0.72); --glass: rgba(255, 255, 255, 0.035);
  --line: rgba(255, 255, 255, 0.08); --line-2: rgba(255, 255, 255, 0.14);
  --text: #e9ebf3; --text-2: #a5aabb; --text-3: #6f7488;
  --accent: #7c5cff; --accent-2: #19c6e6; --accent-3: #ff5ca8; --ok: #2ad17a; --warn: #ffb020; --danger: #ff4d6d;
  --grad: linear-gradient(135deg, #7c5cff 0%, #19c6e6 100%);
  --grad-text: linear-gradient(90deg, #a78bff, #19c6e6 55%, #ff5ca8);
  --radius: 16px; --radius-s: 10px; --radius-xs: 7px;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; --mono: 'JetBrains Mono', ui-monospace, Menlo, Consolas, monospace;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.5); --shadow-s: 0 8px 24px rgba(0, 0, 0, 0.35);
  --focus: 0 0 0 3px rgba(124, 92, 255, 0.45);
  color-scheme: dark;
}
[data-theme="light"] {
  --bg: #f4f5fa; --bg-2: #ffffff; --bg-3: #eceef6; --bg-4: #e2e5f0;
  --panel: rgba(255, 255, 255, 0.78); --glass: rgba(20, 24, 50, 0.03);
  --line: rgba(15, 18, 40, 0.09); --line-2: rgba(15, 18, 40, 0.16);
  --text: #13151f; --text-2: #4b5068; --text-3: #8a8fa5;
  --shadow: 0 24px 70px rgba(30, 35, 80, 0.16); --shadow-s: 0 8px 24px rgba(30, 35, 80, 0.12);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.55; font-size: 15px; min-height: 100vh; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { margin: 0; letter-spacing: -0.02em; line-height: 1.15; }
p { margin: 0 0 1em; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
.hidden, [hidden] { display: none !important; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.muted { color: var(--text-3); }
.grad { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
:focus-visible { outline: none; box-shadow: var(--focus); }

/* ambient background */
.bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.bg .blob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.55; will-change: transform; }
.bg .b1 { width: 56vw; height: 56vw; left: -14vw; top: -22vw; background: radial-gradient(circle, #7c5cff 0%, rgba(124, 92, 255, 0) 70%); }
.bg .b2 { width: 48vw; height: 48vw; right: -16vw; top: 6vw; background: radial-gradient(circle, #19c6e6 0%, rgba(25, 198, 230, 0) 70%); opacity: 0.4; }
.bg .b3 { width: 40vw; height: 40vw; left: 30vw; bottom: -24vw; background: radial-gradient(circle, #ff5ca8 0%, rgba(255, 92, 168, 0) 70%); opacity: 0.3; }
.bg .grid { position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(ellipse at 50% 0%, #000 10%, transparent 70%); opacity: 0.5; }
[data-theme="light"] .bg .blob { opacity: 0.35; }
@media (prefers-reduced-motion: no-preference) {
  .bg .b1 { animation: drift 26s ease-in-out infinite alternate; }
  .bg .b2 { animation: drift 32s ease-in-out infinite alternate-reverse; }
  @keyframes drift { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(6vw, 4vw, 0) scale(1.08); } }
}

/* buttons */
.btn-primary, .btn-secondary, .btn-ghost, .btn-danger { display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; padding: 11px 20px; font-weight: 600; border: 1px solid transparent; transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s; white-space: nowrap; text-decoration: none; }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 8px 24px rgba(124, 92, 255, 0.35); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 12px 30px rgba(124, 92, 255, 0.45); }
.btn-secondary { background: var(--bg-3); border-color: var(--line-2); }
.btn-secondary:hover { border-color: var(--accent); background: var(--bg-4); }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--text-2); }
.btn-ghost:hover { color: var(--text); border-color: var(--line-2); background: var(--glass); }
.btn-danger { background: rgba(255, 77, 109, 0.12); border-color: rgba(255, 77, 109, 0.35); color: #ff8aa0; }
.btn-danger:hover { background: rgba(255, 77, 109, 0.22); }
.btn-primary.small, .btn-secondary.small, .btn-ghost.small, .btn-danger.small { padding: 7px 14px; font-size: 13.5px; }
.btn-primary.big { padding: 15px 30px; font-size: 17px; }
.btn-primary:disabled, .btn-secondary:disabled, .btn-ghost:disabled { opacity: 0.5; cursor: default; transform: none; }
.btn-icon { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--line); background: var(--glass); color: var(--text-2); transition: 0.15s; padding: 0; }
.btn-icon:hover { color: var(--text); border-color: var(--line-2); }
.btn-icon.on { color: var(--accent); border-color: var(--accent); }
.btn-icon:disabled { opacity: 0.35; cursor: default; }
.btn-link { background: none; border: 0; color: var(--text-2); text-decoration: underline; text-underline-offset: 3px; padding: 6px; }
.btn-link:hover { color: var(--text); }
.btn-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.ico { display: inline-flex; }
.ico-sun { display: none; } [data-theme="light"] .ico-sun { display: block; } [data-theme="light"] .ico-moon { display: none; }

/* cinematic film grain (very subtle) */
.grain { position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: 0.045; mix-blend-mode: overlay; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }
[data-theme="light"] .grain { opacity: 0.03; mix-blend-mode: multiply; }
/* scroll reveal (class added by JS, so nothing is hidden without JS) */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* header */
.top, .sbar { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 18px; padding: 10px clamp(16px, 4vw, 40px); background: color-mix(in srgb, var(--bg) 72%, transparent); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; letter-spacing: -0.02em; font-size: 17px; }
.brand .logo { width: 32px; height: 32px; border-radius: 9px; box-shadow: 0 4px 14px rgba(124, 92, 255, 0.35); }
.brand-sub { color: var(--text-3); font-weight: 500; margin-left: -4px; font-size: 14px; }
.nav { display: flex; gap: 4px; margin-left: 12px; }
.nav a { text-decoration: none; color: var(--text-2); padding: 7px 12px; border-radius: 999px; font-weight: 500; font-size: 14px; }
.nav a:hover { color: var(--text); background: var(--glass); }
.top-actions { margin-left: auto; display: flex; gap: 8px; align-items: center; }
#langLabel { font-size: 12px; font-weight: 700; }

/* generic form bits */
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 14px; }
.field label { font-size: 13px; font-weight: 600; color: var(--text-2); }
.field-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.field-row output { font-family: var(--mono); font-size: 12px; color: var(--text-3); }
.hint { font-size: 12.5px; color: var(--text-3); margin: 0; line-height: 1.45; }
.hint.strong { color: var(--text-2); }
.hint.warn { color: var(--warn); }
.hint a { color: var(--accent-2); }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 22px; background: transparent; margin: 0; }
input[type="range"]::-webkit-slider-runnable-track { height: 4px; border-radius: 2px; background: var(--line-2); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--accent); margin-top: -6px; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35); cursor: grab; }
input[type="range"]::-moz-range-track { height: 4px; border-radius: 2px; background: var(--line-2); }
input[type="range"]::-moz-range-thumb { width: 10px; height: 10px; border-radius: 50%; background: #fff; border: 3px solid var(--accent); }
input[type="text"], select, textarea { background: var(--bg-3); border: 1px solid var(--line-2); border-radius: var(--radius-xs); padding: 8px 10px; color: var(--text); width: 100%; }
select.small { padding: 6px 8px; font-size: 13px; }
input[type="color"] { width: 36px; height: 28px; border: 1px solid var(--line-2); border-radius: 6px; background: var(--bg-3); padding: 2px; }
.color-row { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--text-3); }
.switch { -webkit-appearance: none; appearance: none; width: 40px; height: 22px; border-radius: 999px; background: var(--line-2); position: relative; cursor: pointer; transition: 0.2s; margin: 0; flex: none; }
.switch::after { content: ''; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: 0.2s; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3); }
.switch:checked { background: var(--accent); }
.switch:checked::after { transform: translateX(18px); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--glass); color: var(--text-2); font-size: 13px; font-weight: 500; transition: 0.15s; }
.chip:hover { color: var(--text); border-color: var(--text-3); }
.chip.on { background: rgba(124, 92, 255, 0.18); border-color: var(--accent); color: var(--text); }
.chips.big .chip { padding: 10px 16px; font-size: 14px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: var(--shadow-s); }
.eyebrow { font-size: 12.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-2); margin-bottom: 10px; }
.progress { height: 8px; border-radius: 999px; background: var(--line); overflow: hidden; }
.progress .bar { height: 100%; width: 0; background: var(--grad); border-radius: 999px; transition: width 0.15s linear; }
.spinner { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--line-2); border-top-color: var(--accent); animation: spin 0.8s linear infinite; display: inline-block; flex: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.status-chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: var(--glass); border: 1px solid var(--line); font-size: 13px; color: var(--text-2); }
kbd { font-family: var(--mono); font-size: 12px; background: var(--bg-3); border: 1px solid var(--line-2); border-bottom-width: 2px; border-radius: 6px; padding: 2px 7px; white-space: nowrap; }

/* toasts & modals */
.toasts { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); display: flex; flex-direction: column; gap: 8px; z-index: 100; pointer-events: none; }
.toast { background: var(--bg-3); border: 1px solid var(--line-2); color: var(--text); padding: 10px 16px; border-radius: 12px; box-shadow: var(--shadow-s); font-size: 14px; opacity: 0; transform: translateY(10px); transition: 0.25s; max-width: min(90vw, 560px); }
.toast.in { opacity: 1; transform: none; }
.toast.ok { border-color: rgba(42, 209, 122, 0.5); } .toast.error { border-color: rgba(255, 77, 109, 0.6); } .toast.warn { border-color: rgba(255, 176, 32, 0.6); }
.modal-wrap { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; background: rgba(5, 6, 12, 0.6); backdrop-filter: blur(6px); opacity: 0; transition: 0.2s; padding: 16px; }
.modal-wrap.in { opacity: 1; }
.modal { width: min(560px, 100%); background: var(--bg-2); border: 1px solid var(--line-2); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.modal h3 { font-size: 19px; margin-bottom: 12px; }
.modal-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 18px; flex-wrap: wrap; }
.keys { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; margin: 0; align-items: center; }
.keys dd { margin: 0; color: var(--text-2); font-size: 14px; }
.export-modal .ex-stats { font-size: 13px; color: var(--text-2); margin-top: 10px; }
.coffee-card { display: flex; align-items: center; gap: 14px; margin-top: 16px; padding: 14px 16px; border-radius: 14px; border: 1px solid rgba(255, 176, 32, 0.4); background: linear-gradient(135deg, rgba(255, 176, 32, 0.12), rgba(255, 92, 168, 0.08)); }
.coffee-card .coffee-ico { font-size: 26px; line-height: 1; }
.coffee-card .coffee-text { display: flex; flex-direction: column; gap: 2px; font-size: 13.5px; color: var(--text-2); flex: 1; }
.coffee-card .coffee-text b { color: var(--text); font-size: 14.5px; }
.btn-icon.coffee { color: #ffb020; border-color: rgba(255, 176, 32, 0.35); }
.btn-icon.coffee:hover { background: rgba(255, 176, 32, 0.12); }
.coffee-cta { border-color: rgba(255, 176, 32, 0.45); }
@media (max-width: 600px) { .coffee-card { flex-wrap: wrap; } }
.trust { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--text-2); font-size: 13.5px; }
.trust li { display: flex; align-items: center; gap: 8px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); display: inline-block; }
.dot.ok { background: var(--ok); box-shadow: 0 0 0 4px rgba(42, 209, 122, 0.15); }

/* ============ landing ============ */
.landing main { max-width: 1180px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px); }
.hero { text-align: center; padding: clamp(48px, 9vw, 110px) 0 24px; }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--glass); font-size: 13px; color: var(--text-2); margin-bottom: 22px; }
.badge .dot { animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(124, 92, 255, 0.5); } 50% { box-shadow: 0 0 0 8px rgba(124, 92, 255, 0); } }
.hero h1 { font-size: clamp(36px, 6.2vw, 74px); font-weight: 800; letter-spacing: -0.035em; max-width: 14ch; margin: 0 auto 18px; line-height: 1.04; }
.hero .lead { font-size: clamp(16px, 1.6vw, 19.5px); color: var(--text-2); max-width: 62ch; margin: 0 auto 28px; }
.hero-cta { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.hero-note { margin-top: 14px; font-size: 13px; color: var(--text-3); }
.stats { list-style: none; padding: 0; margin: 34px auto 0; display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; max-width: 900px; }
.stats li { display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 150px; padding: 14px 18px; border-radius: 14px; border: 1px solid var(--line); background: var(--glass); backdrop-filter: blur(10px); }
.stats b { font-size: 26px; font-weight: 800; letter-spacing: -0.03em; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.stats span { font-size: 12.5px; color: var(--text-2); }
.demo { margin: 44px auto 0; max-width: 1040px; position: relative; }
.demo-frame { border-radius: 20px; border: 1px solid var(--line-2); background: #0b0c12; box-shadow: var(--shadow), 0 0 0 1px rgba(124, 92, 255, 0.12), 0 0 120px rgba(124, 92, 255, 0.18); overflow: hidden; position: relative; }
.demo-frame::before, .demo-frame::after { content: ''; position: absolute; top: 0; bottom: 0; width: 14px; z-index: 2; background: repeating-linear-gradient(180deg, transparent 0 8px, rgba(255, 255, 255, 0.12) 8px 20px, transparent 20px 28px); opacity: 0.55; pointer-events: none; }
.demo-frame::before { left: 0; border-right: 1px solid rgba(255, 255, 255, 0.08); } .demo-frame::after { right: 0; border-left: 1px solid rgba(255, 255, 255, 0.08); }
.demo-bar { display: flex; align-items: center; gap: 8px; padding: 10px 28px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); background: #06070c; font-size: 12px; color: #8b90a6; }
.demo-bar i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; display: inline-block; } .demo-bar i:nth-child(2) { background: #febc2e; } .demo-bar i:nth-child(3) { background: #28c840; }
.demo-bar span { margin-left: 10px; font-family: var(--mono); }
.demo-bar .rec { display: inline-flex; align-items: center; gap: 6px; color: #ff5c7a; font-weight: 700; letter-spacing: 0.08em; }
.demo-bar .rec em { width: 8px; height: 8px; border-radius: 50%; background: #ff5c7a; animation: blink 1.2s infinite; }
@keyframes blink { 50% { opacity: 0.25; } }
.demo-bar .demo-brand { margin-left: auto; letter-spacing: 0.22em; font-weight: 700; color: #c7d2ff; opacity: 0.8; }
.demo-body { display: grid; grid-template-columns: 1fr 200px; }
.demo canvas { width: 100%; height: auto; display: block; background: #0f1120; }
.demo-side { border-left: 1px solid var(--line); padding: 14px; font-size: 12px; color: var(--text-2); display: flex; flex-direction: column; gap: 10px; }
.demo-side .ds-title { font-weight: 700; color: var(--text); font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; }
.demo-side .ds-row { display: flex; justify-content: space-between; border-bottom: 1px solid var(--line); padding-bottom: 6px; }
.demo-side .ds-bar { height: 6px; border-radius: 3px; background: var(--line-2); overflow: hidden; } .demo-side .ds-bar i { display: block; height: 100%; width: 60%; background: var(--grad); }
.demo-tl { display: flex; gap: 6px; padding: 10px 28px; border-top: 1px solid rgba(255, 255, 255, 0.08); background: #06070c; position: relative; min-height: 40px; }
.demo-tl .seg { position: absolute; top: 10px; }
.demo-tl .seg { height: 20px; border-radius: 6px; background: rgba(124, 92, 255, 0.25); border: 1px solid rgba(124, 92, 255, 0.6); position: relative; }
.demo-tl .seg::after { content: attr(data-l); position: absolute; left: 6px; top: 1px; font-size: 11px; font-family: var(--mono); color: var(--text-2); }
.demo-tl .ph { position: absolute; top: 0; bottom: 0; width: 2px; background: var(--accent-3); left: 10%; }
.demo-caption { text-align: center; font-size: 13px; color: var(--text-3); margin-top: 12px; }
.section { padding: clamp(56px, 8vw, 96px) 0 0; }
.section h2 { font-size: clamp(28px, 4vw, 44px); font-weight: 800; letter-spacing: -0.03em; max-width: 24ch; }
.section .sub { color: var(--text-2); font-size: 17px; max-width: 62ch; margin-top: 12px; }
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; margin-top: 34px; }
.tile { grid-column: span 2; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; min-height: 190px; position: relative; overflow: hidden; transition: transform 0.2s, border-color 0.2s; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); --mx: 50%; --my: 50%; }
.tile::before { content: ''; position: absolute; inset: 0; background: radial-gradient(420px circle at var(--mx) var(--my), rgba(124, 92, 255, 0.16), transparent 45%); opacity: 0; transition: opacity 0.3s; pointer-events: none; }
.tile:hover::before { opacity: 1; }
.tile:hover { transform: translateY(-3px); border-color: rgba(124, 92, 255, 0.45); }
.tile > * { position: relative; }
.tile.wide { grid-column: span 3; } .tile.full { grid-column: span 6; } .tile.tall { grid-row: span 2; }
.tile h3 { font-size: 18px; margin: 12px 0 8px; }
.tile p { color: var(--text-2); font-size: 14.5px; margin: 0; }
.tile .t-ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(124, 92, 255, 0.15); color: #b39bff; }
.tile .t-ico.c { background: rgba(25, 198, 230, 0.15); color: #6fe3f5; } .tile .t-ico.p { background: rgba(255, 92, 168, 0.15); color: #ff9ac8; } .tile .t-ico.g { background: rgba(42, 209, 122, 0.15); color: #7ff0b1; }
.tile .t-art { position: absolute; right: -10px; bottom: -10px; width: 140px; height: 100px; border-radius: 14px; background: var(--grad); opacity: 0.12; filter: blur(2px); transform: rotate(-8deg); }
.tile .ratios { display: flex; gap: 10px; align-items: flex-end; margin-top: 16px; }
.tile .ratios i { display: block; border: 2px solid var(--accent-2); border-radius: 4px; opacity: 0.8; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 34px; counter-reset: step; }
.step { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); font-family: var(--mono); color: var(--accent-2); font-size: 13px; }
.step h3 { font-size: 18px; margin: 10px 0 8px; } .step p { color: var(--text-2); font-size: 14.5px; margin: 0; }
.cmp { width: 100%; border-collapse: collapse; margin-top: 30px; font-size: 14px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.cmp th, .cmp td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.cmp th { font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-3); font-weight: 600; }
.cmp td:first-child { color: var(--text-2); }
.cmp .us { color: var(--text); font-weight: 600; background: rgba(124, 92, 255, 0.08); }
.cmp .yes { color: var(--ok); } .cmp .no { color: var(--text-3); }
.cmp-note { font-size: 12px; color: var(--text-3); margin-top: 10px; }
.faq { margin-top: 30px; display: grid; gap: 10px; }
.faq details { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-s); padding: 0 18px; }
.faq summary { cursor: pointer; padding: 15px 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::after { content: '+'; color: var(--text-3); font-weight: 400; }
.faq details[open] summary::after { content: '−'; }
.faq p { color: var(--text-2); font-size: 14.5px; padding-bottom: 16px; margin: 0; }
.privacy-box { margin-top: 30px; padding: 28px; border-radius: var(--radius); background: linear-gradient(135deg, rgba(124, 92, 255, 0.14), rgba(25, 198, 230, 0.1)); border: 1px solid rgba(124, 92, 255, 0.35); display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; align-items: center; }
.privacy-box ul { margin: 0; padding-left: 18px; color: var(--text-2); font-size: 14.5px; display: grid; gap: 6px; }
.cta-final { text-align: center; padding: clamp(60px, 8vw, 100px) 0 40px; }
.cta-final h2 { font-size: clamp(28px, 4vw, 44px); margin: 0 auto 16px; }
.siblings { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }
.sibling { text-decoration: none; padding: 12px 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--glass); font-size: 13.5px; color: var(--text-2); display: flex; flex-direction: column; gap: 2px; min-width: 200px; text-align: left; }
.sibling b { color: var(--text); }
.sibling:hover { border-color: var(--line-2); }
.foot { border-top: 1px solid var(--line); padding: 24px clamp(16px, 4vw, 40px); color: var(--text-3); font-size: 13px; text-align: center; margin-top: 40px; }
.foot a { color: var(--text-2); }
.foot-brand { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 15px; color: var(--text); }
.foot-brand img { border-radius: 6px; }
.legal-main { max-width: 820px; margin: 0 auto; padding: 32px clamp(16px, 4vw, 40px); }
.legal-card { padding: clamp(22px, 4vw, 40px); }
.legal-card h2 { font-size: 20px; margin: 26px 0 8px; }
.legal-card p, .legal-card li { color: var(--text-2); font-size: 15px; }
.note { color: var(--text-3); font-size: 13.5px; }
.legal-back { text-align: center; margin-top: 20px; }

@media (max-width: 960px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .tile, .tile.wide { grid-column: span 1; } .tile.full { grid-column: span 2; }
  .steps { grid-template-columns: 1fr; }
  .demo-body { grid-template-columns: 1fr; } .demo-side { display: none; }
  .privacy-box { grid-template-columns: 1fr; }
  .nav { display: none; }
}
@media (max-width: 600px) {
  .bento { grid-template-columns: 1fr; } .tile.full { grid-column: span 1; }
  .stats li { min-width: calc(50% - 5px); }
  .demo-frame::before, .demo-frame::after { display: none; } .demo-bar, .demo-tl { padding-left: 14px; padding-right: 14px; } .demo-bar .demo-brand { display: none; }
  .cmp { font-size: 12.5px; } .cmp th, .cmp td { padding: 9px 8px; }
  .hero-cta .btn-primary.big { padding: 13px 22px; font-size: 15px; }
}
