﻿/* ═══════════════════════════════════════════════════════════
   Pulse — design system
   ═══════════════════════════════════════════════════════════ */
:root {
  --bg: #08070d;
  --bg-2: #0d0b15;
  --panel: #12101c;
  --panel-2: #181525;
  --panel-3: #201c31;
  --line: rgba(255, 255, 255, .07);
  --line-2: rgba(255, 255, 255, .12);
  --text: #f4f1ff;
  --text-2: #c9c3de;
  --muted: #8f88a8;
  --faint: #625c7a;
  --violet: #8b5cf6;
  --violet-2: #6d3fe8;
  --violet-soft: rgba(139, 92, 246, .14);
  --gold: #f0c46a;
  --gold-2: #d39b35;
  --gold-soft: rgba(240, 196, 106, .12);
  --red: #f4606f;
  --red-soft: rgba(244, 96, 111, .12);
  --green: #3fd39a;
  --green-soft: rgba(63, 211, 154, .12);
  --discord: #5865f2;
  --r-sm: 10px;
  --r: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --shadow: 0 24px 60px -20px rgba(0, 0, 0, .7);
  --shadow-glow: 0 0 0 1px rgba(139, 92, 246, .25), 0 20px 50px -18px rgba(139, 92, 246, .45);
  --side-w: 252px;
  --top-h: 68px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--top-h) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 15px/1.55 "Segoe UI Variable Text", "Segoe UI", "Inter", system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
h1, h2, h3, h4 { font-family: "Segoe UI Variable Display", "Segoe UI", "Inter", system-ui, sans-serif; letter-spacing: -.02em; line-height: 1.15; margin: 0; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img, video, svg { display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
::selection { background: rgba(139, 92, 246, .45); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 6px; }
main { outline: none; }
code, kbd { font-family: "Cascadia Code", ui-monospace, Consolas, monospace; }
[hidden] { display: none !important; }

/* Scrollbar */
* { scrollbar-width: thin; scrollbar-color: #2a2540 transparent; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: #2a2540; border-radius: 99px; border: 2px solid var(--bg); }

/* ═══════════ Shell ═══════════ */
.shell { display: flex; min-height: 100vh; }
.content { flex: 1; min-width: 0; display: flex; flex-direction: column; min-height: 100vh;
  background:
    radial-gradient(900px 420px at 18% -120px, rgba(139, 92, 246, .13), transparent 70%),
    radial-gradient(700px 360px at 100% -80px, rgba(240, 196, 106, .05), transparent 70%);
}
#main { flex: 1; }

/* Sidebar */
.sidebar {
  position: sticky; top: 0; height: 100vh; width: var(--side-w); flex: none;
  display: flex; flex-direction: column; gap: 6px;
  padding: 18px 14px; background: var(--bg-2); border-right: 1px solid var(--line);
  overflow-y: auto; z-index: 40;
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; letter-spacing: -.01em; }
.sidebar > .brand { padding: 4px 10px 18px; }
.brand img { border-radius: 9px; }
.brand-name {
  background: linear-gradient(100deg, #fff6dc, var(--gold) 45%, #e8b45a);
  -webkit-background-clip: text; background-clip: text; color: transparent; white-space: nowrap;
}
.side-nav { display: flex; flex-direction: column; gap: 2px; }
.side-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .09em; color: var(--faint); padding: 18px 12px 6px; }
.side-link {
  display: flex; align-items: center; gap: 12px; height: 42px; padding: 0 12px; border-radius: 11px;
  color: var(--muted); font-weight: 600; transition: background .15s, color .15s;
}
.side-link svg { width: 20px; height: 20px; fill: currentColor; flex: none; }
.side-link:hover { color: var(--text); background: rgba(255, 255, 255, .04); }
.side-link.active { color: var(--text); background: linear-gradient(90deg, var(--violet-soft), rgba(139, 92, 246, .04)); box-shadow: inset 2px 0 0 var(--violet); }
.side-link.active svg { color: #b79cff; }
.side-link .count { margin-left: auto; font-size: 11px; font-weight: 800; padding: 1px 7px; border-radius: 99px; background: var(--red); color: #fff; }
.side-promo { margin-top: auto; }
.promo-card {
  position: relative; overflow: hidden; padding: 16px; border-radius: var(--r);
  background: linear-gradient(150deg, rgba(139, 92, 246, .28), rgba(24, 21, 37, .9) 60%); border: 1px solid rgba(139, 92, 246, .3);
}
.promo-card::after { content: ""; position: absolute; width: 140px; height: 140px; right: -50px; top: -50px; background: radial-gradient(circle, rgba(240, 196, 106, .25), transparent 70%); }
.promo-card b { display: block; font-size: 14px; }
.promo-card p { font-size: 12.5px; color: var(--text-2); margin: 4px 0 12px; }
.scrim { display: none; }

/* Topbar */
.topbar {
  position: sticky; top: 0; z-index: 30; height: var(--top-h);
  display: flex; align-items: center; gap: 14px; padding: 0 28px;
  background: rgba(8, 7, 13, .78); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.topbar .menu-btn, .topbar .brand-mobile { display: none; }
.icon-btn { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; border: 1px solid var(--line); background: var(--panel); color: var(--text-2); }
.icon-btn:hover { color: var(--text); border-color: var(--line-2); }
.icon-btn svg { width: 20px; height: 20px; fill: currentColor; }
.search {
  flex: 1; max-width: 560px; display: flex; align-items: center; gap: 10px; height: 42px; padding: 0 12px 0 14px;
  background: var(--panel); border: 1px solid var(--line); border-radius: 12px; transition: border-color .15s, box-shadow .15s;
}
.search:focus-within { border-color: rgba(139, 92, 246, .6); box-shadow: 0 0 0 4px rgba(139, 92, 246, .12); }
.search svg { width: 18px; height: 18px; fill: var(--faint); flex: none; }
.search input { flex: 1; min-width: 0; background: none; border: 0; outline: none; }
.search input::placeholder { color: var(--faint); }
.search input::-webkit-search-cancel-button { display: none; }
.search kbd { font-size: 11px; color: var(--faint); border: 1px solid var(--line-2); border-radius: 6px; padding: 1px 7px; }
.account { margin-left: auto; display: flex; align-items: center; gap: 10px; }

/* Avatar & menu */
.avatar { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; background: var(--panel-3); flex: none; }
.avatar.xs { width: 22px; height: 22px; }
.avatar.sm { width: 30px; height: 30px; }
.avatar.lg { width: 64px; height: 64px; }
.avatar.xl { width: 128px; height: 128px; border: 5px solid var(--bg); box-shadow: 0 10px 40px rgba(0, 0, 0, .5); }
.menu { position: relative; }
.menu-trigger { display: flex; align-items: center; gap: 8px; padding: 3px 10px 3px 3px; border-radius: 99px; border: 1px solid var(--line); background: var(--panel); }
.menu-trigger:hover { border-color: var(--line-2); }
.menu-trigger svg { width: 16px; height: 16px; fill: var(--muted); }
.menu-list {
  position: absolute; right: 0; top: calc(100% + 10px); width: 250px; padding: 6px;
  background: var(--panel-2); border: 1px solid var(--line-2); border-radius: var(--r); box-shadow: var(--shadow);
  opacity: 0; transform: translateY(-6px) scale(.98); pointer-events: none; transition: .16s var(--ease); transform-origin: top right;
}
.menu.open .menu-list { opacity: 1; transform: none; pointer-events: auto; }
.menu-head { display: flex; gap: 10px; align-items: center; padding: 10px; margin-bottom: 4px; border-bottom: 1px solid var(--line); }
.menu-head b { display: block; font-size: 14px; }
.menu-head small { color: var(--muted); }
.menu-item { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 10px; border-radius: 9px; border: 0; background: none; text-align: left; color: var(--text-2); font-weight: 500; }
.menu-item svg { width: 18px; height: 18px; fill: currentColor; opacity: .8; }
.menu-item:hover { background: rgba(255, 255, 255, .05); color: var(--text); }
.menu-item.danger { color: var(--red); }
.menu-sep { height: 1px; background: var(--line); margin: 4px 6px; }

/* ═══════════ Buttons ═══════════ */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 42px; padding: 0 18px; border-radius: 12px; border: 1px solid transparent;
  font-weight: 700; font-size: 14.5px; white-space: nowrap; user-select: none;
  transition: transform .12s var(--ease), filter .15s, background .15s, border-color .15s, box-shadow .2s;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn:disabled, .btn.disabled { opacity: .5; cursor: not-allowed; pointer-events: none; }
.btn svg { width: 18px; height: 18px; fill: currentColor; flex: none; }
.btn-primary { color: #fff; background: linear-gradient(180deg, #9a6dff, var(--violet-2)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 8px 24px -10px rgba(139, 92, 246, .8); }
.btn-primary:hover { filter: brightness(1.1); }
.btn-gold { color: #1d1505; background: linear-gradient(180deg, #ffd88a, var(--gold-2)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 8px 24px -10px rgba(240, 196, 106, .7); }
.btn-gold:hover { filter: brightness(1.06); }
.btn-ghost { color: var(--text); background: rgba(255, 255, 255, .04); border-color: var(--line-2); }
.btn-ghost:hover { background: rgba(255, 255, 255, .08); }
.btn-quiet { color: var(--text-2); background: transparent; }
.btn-quiet:hover { color: var(--text); background: rgba(255, 255, 255, .05); }
.btn-danger { color: var(--red); background: var(--red-soft); border-color: rgba(244, 96, 111, .3); }
.btn-danger:hover { background: rgba(244, 96, 111, .2); }
.btn-discord { color: #fff; background: linear-gradient(180deg, #6b77ff, var(--discord)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 8px 24px -10px rgba(88, 101, 242, .8); }
.btn-discord:hover { filter: brightness(1.08); }
.btn-sm { height: 34px; padding: 0 12px; border-radius: 10px; font-size: 13.5px; }
.btn-lg { height: 52px; padding: 0 26px; border-radius: 14px; font-size: 16px; }
.btn-block { width: 100%; }
.btn.is-active { color: var(--gold); background: var(--gold-soft); border-color: rgba(240, 196, 106, .45); }
.btn .spinner { width: 16px; height: 16px; }

.spinner { width: 22px; height: 22px; border-radius: 50%; border: 2.5px solid rgba(255, 255, 255, .2); border-top-color: currentColor; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ═══════════ Layout helpers ═══════════ */
.page { width: 100%; max-width: 1360px; margin: 0 auto; padding: 32px 32px 72px; animation: page-in .35s var(--ease); }
.page-narrow { max-width: 760px; }
.page-mid { max-width: 1080px; }
@keyframes page-in { from { opacity: 0; transform: translateY(6px); } }
.stack { display: grid; gap: 12px; }
.row { display: flex; gap: 12px; }
.row > * { flex: 1; }
.grow { flex: 1; }
.muted { color: var(--muted); }
.text-2 { color: var(--text-2); }
.gold { color: var(--gold); }
.center { text-align: center; }
.mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mt-40 { margin-top: 40px; }

.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 26px; }
.page-head h1 { font-size: 30px; }
.page-head p { color: var(--muted); margin-top: 6px; }
.section { margin-top: 56px; }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.section-head h2 { font-size: 22px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; letter-spacing: .02em; color: #cbb8ff;
  padding: 6px 12px 6px 8px; border-radius: 99px; background: var(--violet-soft); border: 1px solid rgba(139, 92, 246, .3); }
.eyebrow i { font-style: normal; font-size: 11px; padding: 2px 7px; border-radius: 99px; background: var(--violet); color: #fff; }
.grad { background: linear-gradient(100deg, #fff4d6 0%, var(--gold) 40%, #b78cff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }

.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); }
.card-pad { padding: 24px; }
.card-title { font-size: 17px; font-weight: 700; }
.card-sub { color: var(--muted); font-size: 14px; margin-top: 4px; }

.tabs { display: inline-flex; gap: 4px; padding: 4px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; }
.tabs > * { border: 0; background: none; padding: 7px 14px; border-radius: 9px; color: var(--muted); font-weight: 600; font-size: 14px; }
.tabs > *:hover { color: var(--text); }
.tabs > .active { color: var(--text); background: var(--panel-3); box-shadow: 0 1px 0 rgba(255, 255, 255, .06) inset; }

.chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; margin-bottom: 20px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; padding: 7px 14px; border-radius: 99px; background: var(--panel); border: 1px solid var(--line); color: var(--text-2); font-size: 13.5px; font-weight: 600; }
.chip:hover { color: var(--text); border-color: var(--line-2); }
.chip.active { color: #1d1505; background: var(--gold); border-color: var(--gold); }

.pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 99px; font-size: 12px; font-weight: 700; background: var(--panel-3); color: var(--text-2); }
.pill.gold { background: var(--gold-soft); color: var(--gold); }
.pill.violet { background: var(--violet-soft); color: #c4adff; }
.pill.green { background: var(--green-soft); color: var(--green); }
.pill.red { background: var(--red-soft); color: var(--red); }
.pill svg { width: 13px; height: 13px; fill: currentColor; }

.empty { text-align: center; padding: 64px 24px; border: 1px dashed var(--line-2); border-radius: var(--r-lg); background: rgba(255, 255, 255, .015); }
.empty .ico { width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 18px; display: grid; place-items: center; background: var(--violet-soft); color: #b79cff; }
.empty .ico svg { width: 30px; height: 30px; fill: currentColor; }
.empty h3 { font-size: 19px; }
.empty p { color: var(--muted); margin: 6px auto 0; max-width: 420px; }
.empty .btn { margin-top: 20px; }

.skeleton { background: linear-gradient(90deg, var(--panel) 0%, var(--panel-2) 50%, var(--panel) 100%); background-size: 200% 100%; animation: sk 1.3s infinite; border-radius: var(--r); }
@keyframes sk { to { background-position: -200% 0; } }

/* ═══════════ Clip grid & cards ═══════════ */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 28px 20px; }
.clip { display: block; min-width: 0; }
.thumb {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--r);
  background: linear-gradient(135deg, var(--panel-3), var(--panel)); border: 1px solid var(--line);
  transition: border-color .2s, box-shadow .25s, transform .25s var(--ease);
}
.thumb > img, .thumb > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, .55)); pointer-events: none; }
.clip:hover .thumb { border-color: rgba(139, 92, 246, .55); box-shadow: var(--shadow-glow); transform: translateY(-2px); }
.clip:hover .thumb > img, .clip:hover .thumb > video { transform: scale(1.04); }
.thumb .play {
  position: absolute; left: 50%; top: 50%; width: 52px; height: 52px; margin: -26px 0 0 -26px; z-index: 2;
  display: grid; place-items: center; border-radius: 50%; background: rgba(10, 8, 18, .55); backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, .2); opacity: 0; transform: scale(.85); transition: .2s var(--ease);
}
.thumb .play svg { width: 22px; height: 22px; fill: #fff; margin-left: 3px; }
.clip:hover .thumb .play { opacity: 1; transform: none; }
.clip.previewing .thumb .play { opacity: 0; }
.badge { position: absolute; z-index: 2; padding: 3px 8px; border-radius: 7px; font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; background: rgba(8, 7, 13, .78); backdrop-filter: blur(6px); }
.badge.br { right: 10px; bottom: 10px; }
.badge.tl { left: 10px; top: 10px; }
.badge.tr { right: 10px; top: 10px; }
.badge.game { color: var(--gold); max-width: 60%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.badge.vis { background: rgba(139, 92, 246, .85); color: #fff; }
.clip-body { display: flex; gap: 12px; padding: 12px 2px 0; }
.clip-body .avatar { margin-top: 2px; }
.clip-info { min-width: 0; flex: 1; }
.clip-title { font-weight: 700; font-size: 15px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.clip-meta { color: var(--muted); font-size: 13px; margin-top: 3px; display: flex; flex-wrap: wrap; gap: 0 6px; }
.clip-meta .dot::before { content: "·"; margin-right: 6px; }
.clip-meta a:hover { color: var(--text); }

.mini { display: grid; grid-template-columns: 168px 1fr; gap: 12px; align-items: start; }
.mini .thumb { border-radius: 11px; }
.mini .clip-title { font-size: 14px; }
.mini .play, .mini .badge.game { display: none; }

.load-more { display: flex; justify-content: center; margin-top: 36px; }

/* ═══════════ Landing ═══════════ */
.hero { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; padding: 40px 0 20px; }
.hero h1 { font-size: clamp(36px, 4.2vw, 58px); line-height: 1.02; letter-spacing: -.035em; margin: 20px 0 18px; }
.hero .lead { font-size: 18px; color: var(--text-2); max-width: 540px; }
.hero .cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 26px; color: var(--muted); font-size: 13.5px; }
.trust span { display: inline-flex; align-items: center; gap: 7px; }
.trust svg { width: 16px; height: 16px; fill: var(--green); }
.legal-note { font-size: 12.5px; color: var(--faint); margin-top: 14px; }
.legal-note a { text-decoration: underline; text-underline-offset: 2px; }
.legal-note a:hover { color: var(--text-2); }

/* Fausse fenêtre d'app (visuel du hero) */
.mock { position: relative; }
.mock::before { content: ""; position: absolute; inset: -40px; background: radial-gradient(closest-side, rgba(139, 92, 246, .35), transparent); filter: blur(20px); z-index: -1; }
.window { border-radius: 18px; overflow: hidden; background: #0f0d18; border: 1px solid var(--line-2); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .9), 0 0 0 1px rgba(139, 92, 246, .15); }
.window-bar { display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; background: #14111f; border-bottom: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.window-bar i { width: 10px; height: 10px; border-radius: 50%; background: #2c2740; }
.window-bar b { margin-left: 8px; color: var(--text-2); font-weight: 600; }
.window-bar .rec { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; color: var(--red); font-weight: 700; }
.window-bar .rec::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--red); animation: blink 1.4s infinite; }
@keyframes blink { 50% { opacity: .3; } }
.screen {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden;
  background:
    radial-gradient(120% 90% at 70% 110%, rgba(240, 196, 106, .35), transparent 50%),
    radial-gradient(90% 80% at 10% 0%, rgba(139, 92, 246, .55), transparent 55%),
    linear-gradient(160deg, #1b1431, #0b0912);
}
.screen .scan { position: absolute; inset: 0; background: repeating-linear-gradient(0deg, rgba(255, 255, 255, .02) 0 2px, transparent 2px 4px); }
.screen .cross { position: absolute; left: 50%; top: 50%; width: 26px; height: 26px; margin: -13px; }
.screen .cross::before, .screen .cross::after { content: ""; position: absolute; background: rgba(255, 255, 255, .85); border-radius: 2px; }
.screen .cross::before { left: 12px; top: 0; width: 2px; height: 26px; }
.screen .cross::after { top: 12px; left: 0; height: 2px; width: 26px; }
.screen .hud { position: absolute; left: 16px; bottom: 14px; display: flex; gap: 8px; }
.screen .hud span { padding: 4px 9px; border-radius: 7px; font-size: 11px; font-weight: 700; background: rgba(0, 0, 0, .45); color: #fff; }
.screen .kill { position: absolute; right: 16px; top: 16px; display: grid; gap: 6px; }
.screen .kill span { padding: 5px 10px; border-radius: 7px; font-size: 11.5px; font-weight: 700; background: rgba(0, 0, 0, .5); border-left: 3px solid var(--gold); color: #fff; animation: kill 4s infinite; }
.screen .kill span:nth-child(2) { animation-delay: .5s; }
.screen .kill span:nth-child(3) { animation-delay: 1s; }
@keyframes kill { 0%, 8% { opacity: 0; transform: translateX(10px); } 14%, 80% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.window-foot { display: flex; align-items: center; gap: 14px; padding: 12px 14px; }
.window-foot .bar { flex: 1; height: 5px; border-radius: 99px; background: #241f36; overflow: hidden; }
.window-foot .bar i { display: block; height: 100%; width: 72%; background: linear-gradient(90deg, var(--violet), var(--gold)); border-radius: inherit; }
.window-foot small { color: var(--muted); font-variant-numeric: tabular-nums; font-size: 12px; }
.float { position: absolute; display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 14px;
  background: rgba(24, 21, 37, .9); border: 1px solid var(--line-2); backdrop-filter: blur(12px); box-shadow: var(--shadow); font-size: 13px; animation: bob 6s ease-in-out infinite; }
.float b { display: block; font-size: 13.5px; }
.float small { color: var(--muted); }
.float .ok { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--green-soft); color: var(--green); }
.float .ok svg { width: 17px; height: 17px; fill: currentColor; }
.float.f1 { left: -28px; bottom: 54px; }
.float.f2 { left: 34%; top: -26px; animation-delay: -3s; }
.float kbd { padding: 3px 8px; border-radius: 7px; background: var(--gold); color: #1d1505; font-weight: 800; font-size: 12px; }
@keyframes bob { 50% { transform: translateY(-8px); } }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature { padding: 24px; border-radius: var(--r-lg); background: linear-gradient(180deg, var(--panel), rgba(18, 16, 28, .6)); border: 1px solid var(--line); transition: border-color .2s, transform .2s var(--ease); }
.feature:hover { border-color: rgba(139, 92, 246, .35); transform: translateY(-2px); }
.feature .ico { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: var(--violet-soft); color: #c0a6ff; margin-bottom: 16px; }
.feature .ico.g { background: var(--gold-soft); color: var(--gold); }
.feature .ico svg { width: 22px; height: 22px; fill: currentColor; }
.feature h3 { font-size: 16.5px; margin-bottom: 6px; }
.feature p { color: var(--muted); font-size: 14px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: step; }
.step { position: relative; padding: 26px 24px 24px; border-radius: var(--r-lg); background: var(--panel); border: 1px solid var(--line); }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; margin-bottom: 16px;
  font-weight: 800; color: #fff; background: linear-gradient(180deg, #9a6dff, var(--violet-2)); box-shadow: 0 8px 20px -8px rgba(139, 92, 246, .8); }
.step h3 { font-size: 16.5px; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 14px; }

.cta-band { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  padding: 40px 44px; border-radius: var(--r-xl); border: 1px solid rgba(139, 92, 246, .35);
  background: radial-gradient(600px 200px at 0% 0%, rgba(139, 92, 246, .4), transparent 70%), radial-gradient(500px 200px at 100% 100%, rgba(240, 196, 106, .18), transparent 70%), var(--panel); }
.cta-band h2 { font-size: 28px; }
.cta-band p { color: var(--text-2); margin-top: 8px; }
.cta-band .row { flex: none; }

/* Dashboard (connecté) */
.welcome { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-bottom: 28px; }
.welcome h1 { font-size: 28px; }
.welcome .stats-inline { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.welcome .actions { margin-left: auto; display: flex; gap: 10px; }
.onboard { display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; padding: 22px 24px; margin-bottom: 34px;
  border-radius: var(--r-lg); border: 1px solid rgba(240, 196, 106, .25); background: linear-gradient(120deg, rgba(240, 196, 106, .09), rgba(139, 92, 246, .08)); }
.onboard h3 { font-size: 17px; }
.onboard .ob-steps { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.onboard .ob-steps a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 13px; border-radius: 10px; font-size: 13.5px; font-weight: 600; background: rgba(0, 0, 0, .25); border: 1px solid var(--line-2); }
.onboard .ob-steps a:hover { border-color: var(--gold); }
.onboard .ob-steps .n { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 800; background: var(--panel-3); }
.onboard .ob-steps .done { color: var(--muted); text-decoration: line-through; }
.onboard .ob-steps .done .n { background: var(--green); color: #05140d; }
.progress-ring { --p: 0; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center;
  background: conic-gradient(var(--gold) calc(var(--p) * 1%), rgba(255, 255, 255, .08) 0); }
.progress-ring span { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: var(--panel); font-weight: 800; font-size: 14px; }

/* ═══════════ Clip page ═══════════ */
.watch { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 32px; }
.player-wrap { position: relative; }
.player-wrap .ambient { position: absolute; inset: 6% 4%; z-index: 0; background-size: cover; background-position: center; filter: blur(60px) saturate(1.6); opacity: .45; transform: scale(1.05); pointer-events: none; }
.player { position: relative; z-index: 1; aspect-ratio: 16 / 9; background: #000; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line-2); box-shadow: var(--shadow); }
.player video { width: 100%; height: 100%; background: #000; }
.watch h1 { font-size: 26px; margin: 22px 0 10px; }
.watch-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; color: var(--muted); font-size: 14px; }
.watch-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 20px; padding: 14px 16px; border-radius: var(--r-lg); background: var(--panel); border: 1px solid var(--line); }
.author { display: flex; align-items: center; gap: 12px; min-width: 0; }
.author b { display: block; }
.author small { color: var(--muted); }
.author:hover b { color: var(--gold); }
.actions { display: flex; gap: 8px; flex-wrap: wrap; }
.side-title { font-size: 16px; margin-bottom: 14px; }
.side-list { display: grid; gap: 14px; }
.editor { margin-top: 16px; }

/* ═══════════ Profile ═══════════ */
.banner { position: relative; height: 220px; border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--line);
  background: radial-gradient(500px 220px at 20% 120%, rgba(240, 196, 106, .35), transparent 70%), radial-gradient(600px 260px at 85% -20%, rgba(139, 92, 246, .6), transparent 70%), linear-gradient(120deg, #1b1233, #0f0c19); }
.banner::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px); background-size: 18px 18px; mask-image: linear-gradient(180deg, #000, transparent); }
.profile-head { display: flex; align-items: flex-end; gap: 22px; flex-wrap: wrap; margin: -64px 0 34px 32px; position: relative; z-index: 1; }
.profile-head .who { flex: 1; min-width: 220px; padding-bottom: 6px; }
.profile-head h1 { font-size: 30px; }
.profile-head .handle { color: var(--muted); margin-top: 2px; }
.profile-head .actions { padding-bottom: 8px; }
.stat-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 34px; max-width: 640px; }
.stat { padding: 16px 18px; border-radius: var(--r); background: var(--panel); border: 1px solid var(--line); }
.stat b { display: block; font-size: 24px; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.stat span { color: var(--muted); font-size: 13px; }

/* ═══════════ Forms ═══════════ */
.field { display: grid; gap: 7px; margin-bottom: 18px; }
.field label, .label { font-weight: 600; font-size: 13.5px; color: var(--text-2); }
.field .hint { font-size: 12.5px; color: var(--faint); }
.input {
  width: 100%; height: 46px; padding: 0 14px; border-radius: 12px; outline: none;
  background: var(--bg-2); border: 1px solid var(--line-2); transition: border-color .15s, box-shadow .15s;
}
.input:hover { border-color: rgba(255, 255, 255, .18); }
.input:focus { border-color: rgba(139, 92, 246, .7); box-shadow: 0 0 0 4px rgba(139, 92, 246, .14); }
textarea.input { height: auto; min-height: 130px; padding: 12px 14px; resize: vertical; line-height: 1.5; }
select.input { appearance: none; padding-right: 40px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%238f88a8'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 20px; }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 5px; border-radius: 13px; background: var(--bg-2); border: 1px solid var(--line-2); }
.seg label { display: grid; gap: 2px; padding: 9px 10px; border-radius: 9px; cursor: pointer; text-align: center; font-size: 13.5px; font-weight: 700; color: var(--muted); }
.seg label small { font-weight: 500; font-size: 11.5px; color: var(--faint); }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label:has(input:checked) { background: var(--panel-3); color: var(--text); box-shadow: inset 0 0 0 1px rgba(139, 92, 246, .5); }
.seg label:has(input:focus-visible) { outline: 2px solid var(--gold); }

/* Upload */
.upload-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(320px, 1fr); gap: 24px; align-items: start; }
.drop {
  position: relative; display: grid; place-items: center; text-align: center; gap: 10px; min-height: 380px; padding: 40px 24px;
  border-radius: var(--r-xl); border: 2px dashed rgba(139, 92, 246, .35); cursor: pointer;
  background: radial-gradient(400px 200px at 50% 0%, rgba(139, 92, 246, .12), transparent 70%), var(--panel);
  transition: border-color .2s, background-color .2s, transform .2s var(--ease);
}
.drop:hover, .drop.over { border-color: var(--violet); background-color: var(--panel-2); }
.drop.over { transform: scale(1.01); }
.drop .ico { width: 76px; height: 76px; border-radius: 22px; display: grid; place-items: center; margin: 0 auto 6px; background: linear-gradient(180deg, #9a6dff, var(--violet-2)); box-shadow: 0 14px 30px -10px rgba(139, 92, 246, .8); }
.drop .ico svg { width: 34px; height: 34px; fill: #fff; }
.drop h2 { font-size: 22px; }
.drop p { color: var(--muted); }
.drop .formats { display: flex; gap: 6px; justify-content: center; margin-top: 8px; }
.preview { position: relative; border-radius: var(--r-lg); overflow: hidden; background: #000; aspect-ratio: 16 / 9; border: 1px solid var(--line-2); }
.preview video { width: 100%; height: 100%; }
.file-row { display: flex; align-items: center; gap: 12px; margin-top: 12px; padding: 12px 14px; border-radius: var(--r); background: var(--panel); border: 1px solid var(--line); font-size: 14px; }
.file-row .grow { min-width: 0; }
.file-row b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-row small { color: var(--muted); }
.progress { height: 8px; border-radius: 99px; background: var(--panel-3); overflow: hidden; }
.progress > div { height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--violet), var(--gold)); transition: width .2s; }
.progress-txt { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--muted); margin-top: 8px; font-variant-numeric: tabular-nums; }
.tips { margin-top: 16px; display: grid; gap: 10px; }
.tip { display: flex; gap: 12px; padding: 14px; border-radius: var(--r); background: rgba(255, 255, 255, .02); border: 1px solid var(--line); font-size: 13.5px; color: var(--muted); }
.tip svg { width: 20px; height: 20px; fill: var(--gold); flex: none; margin-top: 1px; }
.tip b { color: var(--text); }

/* ═══════════ Link (connexion de l'app) ═══════════ */
.auth-wrap { min-height: calc(100vh - var(--top-h) - 220px); display: grid; place-items: center; padding: 40px 20px; }
.auth-card { width: min(480px, 100%); padding: 36px; border-radius: var(--r-xl); text-align: center;
  background: radial-gradient(400px 160px at 50% 0%, rgba(139, 92, 246, .18), transparent 70%), var(--panel);
  border: 1px solid var(--line-2); box-shadow: var(--shadow); }
.auth-card h1 { font-size: 25px; margin-bottom: 8px; }
.auth-card > p { color: var(--muted); }
.link-visual { display: flex; align-items: center; justify-content: center; gap: 16px; margin: 0 0 26px; }
.link-visual .node { width: 70px; height: 70px; border-radius: 20px; display: grid; place-items: center; background: var(--panel-3); border: 1px solid var(--line-2); }
.link-visual .node img { width: 46px; height: 46px; border-radius: 12px; }
.link-visual .node img.avatar { border-radius: 50%; }
.link-visual .node svg { width: 34px; height: 34px; }
.link-visual .wire { position: relative; width: 70px; height: 2px; background: repeating-linear-gradient(90deg, var(--violet) 0 6px, transparent 6px 12px); background-size: 24px 2px; animation: wire 1s linear infinite; }
@keyframes wire { to { background-position: 24px 0; } }
.code { display: inline-block; margin: 8px 0 24px; padding: 14px 24px; border-radius: 16px;
  font: 800 30px/1 "Cascadia Code", ui-monospace, Consolas, monospace; letter-spacing: 6px;
  color: var(--gold); background: var(--bg-2); border: 1px solid rgba(240, 196, 106, .3); box-shadow: 0 0 40px -10px rgba(240, 196, 106, .3) inset; }
.code-input { height: 64px; text-align: center; text-transform: uppercase; letter-spacing: 8px; font: 800 26px "Cascadia Code", ui-monospace, Consolas, monospace; }
.status-icon { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 18px; }
.status-icon svg { width: 36px; height: 36px; fill: currentColor; }
.status-icon.ok { background: var(--green-soft); color: var(--green); box-shadow: 0 0 0 10px rgba(63, 211, 154, .05); }
.status-icon.bad { background: var(--red-soft); color: var(--red); box-shadow: 0 0 0 10px rgba(244, 96, 111, .05); }
.note { font-size: 12.5px; color: var(--faint); margin-top: 18px; }
.note a { text-decoration: underline; text-underline-offset: 2px; }

/* ═══════════ Account ═══════════ */
.account-grid { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 28px; align-items: start; }
.account-nav { position: sticky; top: calc(var(--top-h) + 24px); display: grid; gap: 2px; }
.account-nav a { display: flex; align-items: center; gap: 11px; padding: 10px 12px; border-radius: 11px; color: var(--muted); font-weight: 600; font-size: 14.5px; }
.account-nav a svg { width: 19px; height: 19px; fill: currentColor; }
.account-nav a:hover { color: var(--text); background: rgba(255, 255, 255, .04); }
.account-nav a.active { color: var(--text); background: var(--panel-2); box-shadow: inset 0 0 0 1px var(--line-2); }
.panel-stack { display: grid; gap: 18px; }
.profile-card { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; padding: 24px; border-radius: var(--r-lg);
  background: radial-gradient(400px 160px at 0% 0%, rgba(139, 92, 246, .22), transparent 70%), var(--panel); border: 1px solid var(--line); }
.profile-card .grow { min-width: 200px; }
.profile-card h2 { font-size: 22px; }
.list { display: grid; }
.list-item { display: flex; align-items: center; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); }
.list-item:first-child { border-top: 0; padding-top: 4px; }
.list-item .ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--panel-3); color: var(--text-2); flex: none; }
.list-item .ico svg { width: 21px; height: 21px; fill: currentColor; }
.list-item .grow { min-width: 0; }
.list-item b { display: block; }
.list-item small { color: var(--muted); font-size: 13px; }
.danger-zone { border-color: rgba(244, 96, 111, .28); background: linear-gradient(180deg, rgba(244, 96, 111, .05), transparent 60%), var(--panel); }
.danger-zone .card-title { color: var(--red); }

/* ═══════════ Download ═══════════ */
.dl-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding: 20px 0; }
.dl-hero h1 { font-size: clamp(34px, 4.2vw, 52px); letter-spacing: -.03em; margin: 18px 0 14px; }
.dl-hero .lead { font-size: 17px; color: var(--text-2); max-width: 520px; }
.dl-box { margin-top: 28px; display: grid; gap: 14px; }
.dl-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--muted); font-size: 13.5px; }
.dl-meta span { display: inline-flex; align-items: center; gap: 7px; }
.dl-meta svg { width: 16px; height: 16px; fill: currentColor; }
.specs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.spec-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.spec-table td { padding: 12px 0; border-top: 1px solid var(--line); vertical-align: top; }
.spec-table tr:first-child td { border-top: 0; }
.spec-table td:first-child { color: var(--muted); width: 42%; padding-right: 12px; }
.faq { display: grid; gap: 10px; }
.faq details { border-radius: var(--r); background: var(--panel); border: 1px solid var(--line); transition: border-color .2s; }
.faq details[open] { border-color: rgba(139, 92, 246, .35); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 17px 20px; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--muted); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); color: var(--gold); }
.faq details p { padding: 0 20px 18px; color: var(--muted); font-size: 14.5px; }
.keys { display: inline-flex; gap: 4px; }
.keys kbd, kbd.k { display: inline-block; min-width: 24px; padding: 2px 7px; border-radius: 7px; text-align: center; font-size: 12px; font-weight: 700; background: var(--panel-3); border: 1px solid var(--line-2); border-bottom-width: 2px; color: var(--text); }

/* ═══════════ Prose (pages légales) ═══════════ */
.prose { max-width: 820px; margin: 0 auto; }
.prose h1 { font-size: 36px; }
.prose .updated { color: var(--faint); font-size: 14px; margin: 10px 0 26px; }
.prose h2 { font-size: 20px; margin: 38px 0 12px; }
.prose h3 { font-size: 16px; margin: 20px 0 6px; }
.prose p, .prose li { color: var(--text-2); }
.prose p + p { margin-top: 10px; }
.prose ul { padding-left: 20px; margin: 10px 0; }
.prose li { margin: 5px 0; }
.prose a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(240, 196, 106, .4); }
.prose a:hover { text-decoration-color: var(--gold); }
.prose table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 14px; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); }
.prose th, .prose td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose tr:last-child td { border-bottom: 0; }
.prose th { color: var(--muted); font-weight: 600; background: var(--panel); }
.prose code { font-size: 13px; padding: 2px 6px; border-radius: 6px; background: var(--panel-3); }
.prose .toc { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.prose .toc a { text-decoration: none; color: var(--text-2); font-size: 13px; padding: 6px 12px; border: 1px solid var(--line-2); border-radius: 99px; background: var(--panel); }
.prose .toc a:hover { color: var(--text); border-color: rgba(139, 92, 246, .5); }
.todo { background: var(--red-soft); color: #ffb3bc; border: 1px dashed rgba(244, 96, 111, .6); border-radius: 6px; padding: 0 6px; font-style: normal; }
.card-block { padding: 18px 20px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); margin: 12px 0; }
.card-block p { margin: 4px 0; }

/* ═══════════ Contact ═══════════ */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(280px, 1fr); gap: 24px; align-items: start; }
.info-card { display: flex; gap: 14px; padding: 18px; border-radius: var(--r); background: var(--panel); border: 1px solid var(--line); }
.info-card .ico { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: var(--violet-soft); color: #c0a6ff; flex: none; }
.info-card .ico svg { width: 20px; height: 20px; fill: currentColor; }
.info-card b { display: block; margin-bottom: 2px; }
.info-card p { color: var(--muted); font-size: 13.5px; }
.info-card a { color: var(--gold); }

/* ═══════════ Admin ═══════════ */
.report { display: grid; grid-template-columns: 210px minmax(0, 1fr) auto; gap: 18px; align-items: start; padding: 16px; border-radius: var(--r-lg); background: var(--panel); border: 1px solid var(--line); }
.report .thumb .ph { position: absolute; inset: 0; display: grid; place-items: center; color: var(--faint); font-size: 13px; }
.report .thumb .ph svg { width: 30px; height: 30px; fill: currentColor; }
.report .meta { color: var(--muted); font-size: 13px; margin-top: 4px; }
.report .meta a { color: var(--gold); }
.report .msg { white-space: pre-wrap; word-break: break-word; margin-top: 10px; padding: 12px 14px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--line); font-size: 14px; color: var(--text-2); }
.report .acts { display: grid; gap: 8px; }

/* ═══════════ Dialog ═══════════ */
.dialog { width: min(540px, calc(100vw - 32px)); max-height: calc(100vh - 40px); padding: 0; border: 1px solid var(--line-2); border-radius: var(--r-xl); background: var(--panel-2); color: var(--text); box-shadow: var(--shadow); }
.dialog[open] { animation: pop .22s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.98); } }
.dialog::backdrop { background: rgba(4, 3, 8, .72); backdrop-filter: blur(4px); }
.dialog form { padding: 28px; }
.dialog h2 { font-size: 21px; }
.radio-list { display: grid; gap: 6px; margin: 18px 0; }
.radio-list label { display: flex; gap: 12px; align-items: center; padding: 11px 13px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--line); cursor: pointer; font-weight: 500; font-size: 14.5px; }
.radio-list label:hover { border-color: var(--line-2); }
.radio-list label:has(input:checked) { border-color: rgba(139, 92, 246, .7); background: var(--violet-soft); }
.radio-list input { accent-color: var(--violet); width: 16px; height: 16px; }

/* ═══════════ Toast ═══════════ */
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 100; display: flex; align-items: center; gap: 10px;
  padding: 12px 18px; border-radius: 14px; background: var(--panel-3); border: 1px solid var(--line-2); box-shadow: var(--shadow);
  font-weight: 600; font-size: 14px; transform: translate(-50%, 16px); opacity: 0; pointer-events: none; transition: .22s var(--ease); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.err { border-color: rgba(244, 96, 111, .5); }
.toast.ok::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.toast.err::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--red); }

/* ═══════════ 404 ═══════════ */
.nf { text-align: center; padding: 80px 20px; }
.nf .big { font-size: clamp(90px, 16vw, 160px); font-weight: 900; letter-spacing: -.06em; line-height: 1; }
.nf h1 { font-size: 26px; margin: 10px 0 8px; }
.nf p { color: var(--muted); }
.nf .row { justify-content: center; margin-top: 26px; }
.nf .row > * { flex: none; }

/* ═══════════ Footer ═══════════ */
.footer { border-top: 1px solid var(--line); background: var(--bg-2); padding: 44px 32px 26px; }
.footer-inner { max-width: 1360px; margin: 0 auto; display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer-brand p { color: var(--muted); font-size: 14px; margin-top: 12px; max-width: 280px; }
.footer-cols { display: flex; gap: 64px; flex-wrap: wrap; }
.footer-cols h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .09em; color: var(--faint); margin-bottom: 12px; }
.footer-cols a { display: block; color: var(--text-2); font-size: 14px; padding: 4px 0; }
.footer-cols a:hover { color: var(--text); }
.footer-bottom { max-width: 1360px; margin: 34px auto 0; padding-top: 20px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; color: var(--faint); font-size: 13px; }

/* ═══════════ Responsive ═══════════ */
@media (max-width: 1180px) {
  .watch { grid-template-columns: 1fr; }
  .hero, .dl-hero { grid-template-columns: 1fr; }
  .mock { max-width: 640px; }
  .float.f1 { left: 10px; }
}
@media (max-width: 960px) {
  :root { --top-h: 62px; }
  .sidebar { position: fixed; left: 0; top: 0; transform: translateX(-100%); transition: transform .25s var(--ease); box-shadow: var(--shadow); }
  body.nav-open .sidebar { transform: none; }
  body.nav-open .scrim { display: block; position: fixed; inset: 0; z-index: 35; background: rgba(0, 0, 0, .55); backdrop-filter: blur(2px); }
  .topbar .menu-btn { display: grid; }
  .topbar .brand-mobile { display: inline-flex; }
  .topbar { padding: 0 14px; gap: 8px; }
  .search { min-width: 0; padding: 0 10px; }
  .account { gap: 8px; flex: none; }
  .search kbd { display: none; }
  .page { padding: 24px 18px 60px; }
  .features, .steps { grid-template-columns: 1fr 1fr; }
  .upload-grid, .contact-grid, .account-grid, .specs { grid-template-columns: 1fr; }
  .account-nav { position: static; display: flex; overflow-x: auto; gap: 6px; }
  .account-nav a { flex: none; }
  .report { grid-template-columns: 1fr; }
  .footer { padding: 36px 18px 24px; }
  .footer-cols { gap: 36px; }
}
@media (max-width: 640px) {
  .account .btn .btn-label { display: none; }
  .account .btn { padding: 0; width: 40px; }
  .topbar .brand-mobile { display: none; }
  .search input::placeholder { font-size: 14px; }
  .menu-trigger svg { display: none; }
  .menu-trigger { padding: 3px; }
  .features, .steps, .stat-cards { grid-template-columns: 1fr; }
  .row { flex-direction: column; }
  .hero h1 { font-size: 38px; }
  .float { display: none; }
  .cta-band { padding: 28px 24px; }
  .profile-head { margin-left: 12px; }
  .banner { height: 160px; }
  .mini { grid-template-columns: 140px 1fr; }
  .onboard { grid-template-columns: 1fr; }
  .welcome .actions { margin-left: 0; width: 100%; }
  .auth-card { padding: 26px 20px; }
  .code { font-size: 24px; letter-spacing: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
