:root {
  --bg: #f4f7fb;
  --panel: #ffffff;
  --panel-soft: #f7f9fc;
  --text: #111827;
  --muted: #64748b;
  --accent: #2563eb;
  --accent-dark: #1d4ed8;
  --accent-soft: #e8f0ff;
  --border: #e2e8f0;
  --mint: #dff7f0;
  --violet: #efe7ff;
  --peach: #fff0e6;
}

html[data-theme="dark"] {
  --bg: #070b12;
  --panel: #111827;
  --panel-soft: #172033;
  --text: #eef2ff;
  --muted: #a8b3c7;
  --accent: #60a5fa;
  --accent-dark: #2563eb;
  --accent-soft: #10284d;
  --border: #263348;
  --mint: #12372f;
  --violet: #241b3f;
  --peach: #3b2517;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
.is-hidden {
  display: none !important;
}

.not-found-page {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px 20px;
  background: #0a0f18;
}

.not-found-page__language {
  position: absolute;
  top: 22px;
  right: 24px;
  display: flex;
  gap: 8px;
  align-items: center;
  color: #aab5c5;
  font-size: 0.82rem;
}

.not-found-page__language select {
  min-height: 38px;
  padding: 6px 30px 6px 10px;
  color: #f4f7fb;
  border: 1px solid #354154;
  border-radius: 8px;
  background: #121a26;
}

.not-found-page__card {
  width: min(100%, 520px);
  padding: 40px 24px;
  text-align: center;
  color: #f4f7fb;
}

.not-found-page__code {
  margin: 0 0 16px;
  color: #8290a3;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.18em;
}

.not-found-page h1 {
  margin: 0 0 30px;
  color: #fff;
  font-size: clamp(1.8rem, 6vw, 2.6rem);
  font-weight: 650;
  letter-spacing: -0.03em;
}

.not-found-page__button {
  min-width: 150px;
}

body.route-not-found {
  background: #0a0f18;
}

body.route-not-found > :not(#notFoundPage):not(script) {
  display: none !important;
}

html.route-boot-not-found body > :not(#notFoundPage):not(script) {
  display: none !important;
}

.security-level__details {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.88rem;
}

.security-level__details summary {
  width: fit-content;
  color: var(--accent);
  font-weight: 700;
  cursor: pointer;
}

.security-level__details p {
  margin: 8px 0 0;
  line-height: 1.55;
}

@media (max-width: 520px) {
  .not-found-page__language {
    top: 16px;
    right: 16px;
  }
}
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: linear-gradient(180deg, var(--panel) 0%, var(--bg) 100%);
  color: var(--text);
  line-height: 1.6;
}

a { color: inherit; }

/* Sistema liquid glass condiviso: l'effetto resta puramente CSS, stabile durante
   lo scroll e viene rimosso in blocco dalla preferenza liquid-glass-disabled. */
html:not(.liquid-glass-disabled) body {
  background:
    radial-gradient(circle at 8% 12%, rgba(255, 255, 255, 0.72), transparent 27rem),
    radial-gradient(circle at 92% 34%, rgba(148, 163, 184, 0.08), transparent 31rem),
    linear-gradient(180deg, var(--panel) 0%, var(--bg) 100%);
  background-attachment: fixed;
}
html:not(.liquid-glass-disabled) :is(
  .step-card, .card, .download-card, .hash-box, .review-form,
  .review-public-card, .result-box__content, .pdf-recap-card,
  .legal-card, .doc-panel, .trial-card, .cli-install-card,
  .cli-platform-card, .section--soft
) {
  border-color: rgba(255, 255, 255, 0.62);
  background:
    radial-gradient(circle at 8% 0%, rgba(255,255,255,0.94), transparent 34%),
    radial-gradient(circle at 92% 12%, rgba(255,255,255,0.3), transparent 38%),
    radial-gradient(circle at 18% 110%, rgba(148,163,184,0.12), transparent 42%),
    linear-gradient(125deg, rgba(255,255,255,0.7), rgba(255,255,255,0.36) 48%, rgba(241,245,249,0.42)) !important;
  background-size: 135% 135%, 125% 125%, 130% 130%, 100% 100%;
  box-shadow:
    0 22px 58px rgba(15, 23, 42, 0.12),
    0 8px 24px rgba(15,23,42,0.06),
    inset 0 1.5px 0 rgba(255,255,255,0.98),
    inset 0 -1px 0 rgba(100,116,139,0.16);
  backdrop-filter: blur(26px) saturate(185%) contrast(1.04);
  -webkit-backdrop-filter: blur(26px) saturate(185%) contrast(1.04);
  animation: liquidSurfaceDrift 11s ease-in-out infinite alternate;
}
html[data-theme="dark"]:not(.liquid-glass-disabled) :is(
  .step-card, .card, .download-card, .hash-box, .review-form,
  .review-public-card, .result-box__content, .pdf-recap-card,
  .legal-card, .doc-panel, .trial-card, .cli-install-card,
  .cli-platform-card, .section--soft
) {
  border-color: rgba(148, 163, 184, 0.2);
  background:
    radial-gradient(circle at 88% 0%, rgba(255,255,255,0.12), transparent 38%),
    radial-gradient(circle at 5% 105%, rgba(148,163,184,0.1), transparent 40%),
    linear-gradient(135deg, rgba(30,41,59,0.84), rgba(15,23,42,0.6)) !important;
  box-shadow:
    0 20px 52px rgba(0,0,0,0.25),
    inset 0 1px 0 rgba(255,255,255,0.1);
}
html:not(.liquid-glass-disabled) :is(
  .step-card, .download-card, .review-public-card, .trial-card, .cli-platform-card
) {
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}
@media (hover: hover) {
  html:not(.liquid-glass-disabled) :is(
    .step-card, .download-card, .review-public-card, .trial-card, .cli-platform-card
  ):hover {
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 24px 62px rgba(15,23,42,0.14), inset 0 1px 0 rgba(255,255,255,0.92);
  }
}
.liquid-glass-disabled :is(.liquid-glass-surface, .liquid-glass-control) {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
.lite-device .liquid-toggle,
.lite-device #liquidGlassPref,
.lite-device label[for="liquidGlassPref"] { display: none !important; }
.lite-device *,
.lite-device *::before,
.lite-device *::after {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  animation-duration: 0.001ms !important;
  animation-iteration-count: 1 !important;
  scroll-behavior: auto !important;
}
.topbar {
  position: sticky;
  top: 12px;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: min(1200px, calc(100% - 32px));
  padding: 12px 16px;
  margin: 12px auto 0;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 28px;
  background:
    radial-gradient(circle at 12% -30%, rgba(255, 255, 255, 0.96), transparent 42%),
    linear-gradient(125deg, rgba(255, 255, 255, 0.72), rgba(238, 246, 255, 0.42) 46%, rgba(214, 230, 255, 0.3)),
    rgba(255, 255, 255, 0.34);
  box-shadow:
    0 24px 70px rgba(15, 23, 42, 0.18),
    0 8px 24px rgba(37, 99, 235, 0.08),
    inset 0 1.5px 0 rgba(255, 255, 255, 0.98),
    inset 0 -1px 0 rgba(96, 165, 250, 0.2);
  backdrop-filter: blur(34px) saturate(210%) contrast(1.08) brightness(1.04);
  -webkit-backdrop-filter: blur(34px) saturate(210%) contrast(1.08) brightness(1.04);
  isolation: isolate;
  overflow: hidden;
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateZ(0);
  will-change: transform;
}
/* Copertura immediata mentre liquidGL prepara lo snapshot. Le proprietà
   !important prevalgono sul transparent inline temporaneo della libreria. */
html.liquidgl-loading .topbar {
  opacity: 1 !important;
  visibility: visible !important;
  background: rgba(255, 255, 255, 0.72) !important;
  backdrop-filter: blur(24px) saturate(150%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(150%) !important;
}
html[data-theme="dark"].liquidgl-loading .topbar {
  background: rgba(15, 23, 42, 0.82) !important;
}
html:not(.liquid-glass-disabled) .topbar {
  background:
    radial-gradient(circle at 5% -45%, rgba(255,255,255,1), transparent 38%),
    radial-gradient(circle at 82% -15%, rgba(255,255,255,0.46), transparent 36%),
    radial-gradient(circle at 30% 145%, rgba(148,163,184,0.16), transparent 42%),
    linear-gradient(118deg, rgba(255,255,255,0.68), rgba(255,255,255,0.28) 48%, rgba(241,245,249,0.4));
  box-shadow:
    0 26px 74px rgba(15,23,42,0.2),
    0 10px 30px rgba(15,23,42,0.1),
    inset 0 1.5px 0 rgba(255,255,255,1),
    inset 0 -1px 0 rgba(100,116,139,0.2);
}
.liquid-glass-disabled .topbar,
.liquidgl-fallback .topbar {
  background: var(--panel);
  border-color: var(--border);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.liquid-glass-disabled .topbar {
  transition: background-color 200ms ease, border-color 200ms ease;
}
.topbar::before,
.topbar::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
}
.liquid-glass-disabled .topbar::before,
.liquid-glass-disabled .topbar::after,
.liquidgl-fallback .topbar::before,
.liquidgl-fallback .topbar::after {
  display: none;
}
.topbar::before {
  padding: 1px;
  background: conic-gradient(from 210deg at 50% 50%, rgba(255,255,255,0.96), rgba(125,211,252,0.62), rgba(196,181,253,0.56), rgba(244,114,182,0.34), rgba(255,255,255,0.94));
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
}
html:not(.liquid-glass-disabled) .topbar::before {
  background: conic-gradient(from 210deg at 50% 50%, rgba(255,255,255,0.98), rgba(203,213,225,0.58), rgba(255,255,255,0.72), rgba(148,163,184,0.34), rgba(255,255,255,0.96));
}
.topbar::after {
  inset: 1px;
  background:
    linear-gradient(105deg, transparent 5%, rgba(255, 255, 255, 0.72) 22%, transparent 39%),
    radial-gradient(ellipse at 82% 0%, rgba(147, 197, 253, 0.48), transparent 48%),
    radial-gradient(circle at 24% 120%, rgba(216, 180, 254, 0.32), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.4), transparent 58%);
  opacity: 0.86;
  animation: glassSheen 9s ease-in-out infinite alternate;
  mix-blend-mode: screen;
}
html:not(.liquid-glass-disabled) .topbar::after {
  background:
    linear-gradient(105deg, transparent 5%, rgba(255,255,255,0.76) 22%, transparent 39%),
    radial-gradient(ellipse at 82% 0%, rgba(255,255,255,0.42), transparent 48%),
    radial-gradient(circle at 24% 120%, rgba(148,163,184,0.16), transparent 38%),
    linear-gradient(180deg, rgba(255,255,255,0.42), transparent 58%);
}
.topbar > * {
  position: relative;
  z-index: 3;
}
html[data-theme="dark"] .topbar {
  border-color: rgba(148, 163, 184, 0.24);
  background:
    linear-gradient(135deg, rgba(30, 41, 59, 0.78), rgba(15, 23, 42, 0.58) 48%, rgba(30, 64, 175, 0.28)),
    rgba(15, 23, 42, 0.52);
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    inset 0 -1px 0 rgba(15, 23, 42, 0.38);
}
html[data-theme="dark"] .topbar::after {
  opacity: 0.38;
}
.topbar:hover {
  border-color: rgba(255, 255, 255, 0.9);
  box-shadow:
    0 28px 80px rgba(15, 23, 42, 0.22),
    0 10px 32px rgba(59, 130, 246, 0.14),
    inset 0 1.5px 0 rgba(255, 255, 255, 1),
    inset 0 -1px 0 rgba(139, 92, 246, 0.22);
  transform: translate3d(0, -1px, 0);
}

.liquid-toggle {
  min-height: 42px;
  padding: 7px 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  cursor: pointer;
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 750;
  white-space: nowrap;
}
.liquid-toggle input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.liquid-toggle__track {
  width: 38px;
  height: 22px;
  padding: 3px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: rgba(100, 116, 139, 0.46);
  box-shadow: inset 0 1px 3px rgba(15, 23, 42, 0.2);
  transition: background 180ms ease, box-shadow 180ms ease;
}
.liquid-toggle__thumb {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 7px rgba(15, 23, 42, 0.3);
  transition: transform 180ms ease;
}
.liquid-toggle input:checked + .liquid-toggle__track {
  background: linear-gradient(135deg, #38bdf8, #6366f1);
  box-shadow: 0 0 16px rgba(59, 130, 246, 0.38), inset 0 1px 2px rgba(255,255,255,0.45);
}
.liquid-toggle input:checked + .liquid-toggle__track .liquid-toggle__thumb { transform: translateX(16px); }
.liquid-toggle input:focus-visible + .liquid-toggle__track { outline: 3px solid rgba(37, 99, 235, 0.3); outline-offset: 2px; }
.liquid-glass-disabled .liquid-toggle { background: var(--panel) !important; box-shadow: none !important; }
.topbar .btn,
.topbar .menu-btn,
.topbar .profile-pill,
.topbar-pref select {
  border-color: rgba(255, 255, 255, 0.62);
  background-color: rgba(255, 255, 255, 0.42);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72), 0 6px 16px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(18px) saturate(170%);
  -webkit-backdrop-filter: blur(18px) saturate(170%);
}
html[data-theme="dark"] .topbar .btn,
html[data-theme="dark"] .topbar .menu-btn,
html[data-theme="dark"] .topbar .profile-pill,
html[data-theme="dark"] .topbar-pref select {
  border-color: rgba(255, 255, 255, 0.16);
  background-color: rgba(15, 23, 42, 0.38);
}
.liquid-glass-control {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.62) !important;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.56), rgba(255,255,255,0.18)) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.88),
    inset 0 -1px 0 rgba(96,165,250,0.16),
    0 8px 22px rgba(15,23,42,0.12) !important;
  backdrop-filter: blur(20px) saturate(190%);
  -webkit-backdrop-filter: blur(20px) saturate(190%);
}
.liquid-glass-control::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(120deg, rgba(255,255,255,0.52), transparent 42%);
  opacity: 0.65;
}
.liquid-glass-control > * {
  position: relative;
  z-index: 1;
}
html[data-theme="dark"] .liquid-glass-control {
  border-color: rgba(255,255,255,0.18) !important;
  background: linear-gradient(145deg, rgba(51,65,85,0.7), rgba(15,23,42,0.38)) !important;
}
.nav-drawer__panel.liquid-glass-surface,
.profile-drawer__panel.liquid-glass-surface {
  border: 1px solid rgba(255,255,255,0.64);
  background:
    radial-gradient(circle at 15% 0%, rgba(255,255,255,0.82), transparent 32%),
    linear-gradient(145deg, rgba(255,255,255,0.82), rgba(236,244,255,0.58)) !important;
  box-shadow:
    -24px 0 70px rgba(15,23,42,0.2),
    inset 1px 0 0 rgba(255,255,255,0.86);
  backdrop-filter: blur(34px) saturate(190%);
  -webkit-backdrop-filter: blur(34px) saturate(190%);
}
html[data-theme="dark"] .nav-drawer__panel.liquid-glass-surface,
html[data-theme="dark"] .profile-drawer__panel.liquid-glass-surface {
  border-color: rgba(255,255,255,0.16);
  background:
    radial-gradient(circle at 15% 0%, rgba(96,165,250,0.18), transparent 34%),
    linear-gradient(145deg, rgba(30,41,59,0.9), rgba(15,23,42,0.72)) !important;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  text-decoration: none;
  color: var(--accent);
}
.brand__logo {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: block;
}
.brand__logo--mark {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  overflow: hidden;
  background: #000;
}
.brand__logo--mark svg {
  width: 100%;
  height: 100%;
  display: block;
}
.brand__logo--mark rect {
  fill: #000;
}
.brand__logo--mark path,
.brand__logo--mark circle {
  fill: none;
  stroke: #fff;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.brand__logo--mark path:nth-of-type(1),
.brand__logo--mark path:nth-of-type(2),
.brand__logo--mark path:nth-of-type(3) {
  stroke-width: 48;
}
.brand__logo--mark circle,
.brand__logo--mark path:nth-of-type(4) {
  stroke-width: 36;
}
.topbar__actions {
  display: flex;
  gap: 10px;
  align-items: center;
}
.topbar__prefs {
  display: inline-flex;
  gap: 8px;
  align-items: center;
}
.topbar-pref {
  display: inline-grid;
  gap: 3px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.1;
}
.topbar-pref select {
  min-width: 112px;
  padding: 7px 28px 7px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(247, 249, 252, 0.82);
  color: var(--text);
  font: inherit;
  font-size: 0.85rem;
  font-weight: 800;
}
html[data-theme="dark"] .topbar-pref select {
  background: rgba(23, 32, 51, 0.82);
}
body.is-logged-in .topbar__auth {
  display: none;
}
.profile-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  max-width: 260px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--panel);
  padding: 8px 12px;
  font-weight: 700;
  cursor: pointer;
  color: var(--text);
}
.profile-pill span:first-child {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent);
  color: white;
  font-size: 0.9rem;
}
.profile-pill span:last-child {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Menu Button */
.menu-btn {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 40px;
  height: 40px;
  padding: 11px 10px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--panel);
  cursor: pointer;
  transition: all 0.2s ease;
}
.menu-btn span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--accent);
  border-radius: 10px;
  transition: all 0.2s ease;
}
.menu-btn:hover {
  background: var(--accent-soft);
  border-color: var(--accent);
}

/* Nav Drawer (Cloudflare Style) */
.nav-drawer {
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
}
.nav-drawer__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(15, 23, 42, 0.42);
  opacity: 0;
  transition: opacity 220ms ease;
  cursor: pointer;
}
.nav-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  width: min(340px, 100%);
  height: 100%;
  background: var(--panel);
  box-shadow: -10px 0 50px rgba(0, 0, 0, 0.1);
  transform: translateX(100%);
  transition: transform 250ms cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
}
.nav-drawer.is-open {
  pointer-events: auto;
}
.nav-drawer.is-open .nav-drawer__backdrop {
  opacity: 1;
}
.nav-drawer.is-open .nav-drawer__panel {
  transform: translateX(0);
}
.nav-drawer__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px;
  border-bottom: 1px solid var(--border);
}
.nav-drawer__header strong {
  font-size: 1.2rem;
  color: var(--accent);
}
.nav-drawer__close {
  font-size: 1.8rem;
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  line-height: 1;
}
.nav-drawer__links {
  display: flex;
  flex-direction: column;
  padding: 12px;
}
.nav-drawer__link {
  padding: 14px 20px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  color: var(--text);
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-drawer__link:hover {
  background: var(--accent-soft);
  color: var(--accent-dark);
  transform: translateX(5px);
}
html[data-theme="dark"] .nav-drawer__panel {
  background: #0f172a;
}

.profile-drawer {
  position: fixed;
  inset: 0;
  z-index: 180;
  pointer-events: none;
}
.profile-drawer__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(15, 23, 42, 0.42);
  opacity: 0;
  transition: opacity 180ms ease;
}
.profile-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: min(420px, 100%);
  height: 100%;
  padding: 22px 22px calc(22px + env(safe-area-inset-bottom));
  border-left: 1px solid rgba(226, 232, 240, 0.78);
  background: var(--panel);
  box-shadow: -28px 0 70px rgba(15, 23, 42, 0.22);
  transform: translateX(100%);
  transition: transform 220ms ease;
  overflow-y: auto;
}
html[data-theme="dark"] .profile-drawer__panel {
  border-color: rgba(71, 85, 105, 0.62);
}
.profile-drawer.is-open {
  pointer-events: auto;
}
.profile-drawer.is-open .profile-drawer__backdrop {
  opacity: 1;
}
.profile-drawer.is-open .profile-drawer__panel {
  transform: translateX(0);
}
body.profile-drawer-open,
body.nav-drawer-open {
  overflow: hidden;
}
.profile-drawer__close {
  align-self: flex-end;
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--panel-soft);
  color: var(--text);
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 900;
  line-height: 1;
}
.profile-drawer__header {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}
.profile-drawer__avatar {
  display: inline-grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--accent);
  color: white;
  font-size: 1.35rem;
  font-weight: 900;
}
.profile-drawer__identity {
  min-width: 0;
}
.profile-drawer__identity h2 {
  margin: 0 0 2px;
  font-size: 1.15rem;
  line-height: 1.2;
}
.profile-drawer__identity p {
  margin: 0;
  overflow-wrap: anywhere;
}
#profileDrawerName {
  color: var(--text);
  font-weight: 900;
}
#profileDrawerEmail {
  color: var(--muted);
  font-size: 0.94rem;
}
.profile-drawer__details {
  display: grid;
  gap: 10px;
  margin: 0;
}
.profile-drawer__details div,
.profile-drawer__bio {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--panel-soft);
  padding: 12px;
}
.profile-drawer__details dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}
.profile-drawer__details dd {
  margin: 4px 0 0;
  font-weight: 800;
  overflow-wrap: anywhere;
}
.profile-drawer__bio {
  margin: 0;
  color: var(--muted);
  overflow-wrap: anywhere;
}
.profile-drawer__actions {
  display: grid;
  gap: 10px;
  margin-top: auto;
}
.profile-drawer__actions .btn {
  width: 100%;
  margin-top: 0;
  text-align: center;
}
.hero {
  padding: 88px 24px 56px;
  display: flex;
  justify-content: center;
  background: radial-gradient(circle at top left, rgba(37, 99, 235, 0.12), transparent 35%), var(--panel);
}
.hero__content {
  max-width: 820px;
  text-align: center;
}
.eyebrow, .section__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.26em;
  font-size: 0.76rem;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 8px;
}
h1 {
  font-size: 3.25rem;
  margin: 0 0 12px;
  line-height: 1.1;
}
.hero__text {
  color: var(--muted);
  font-size: 1.06rem;
  max-width: 700px;
  margin: 0 auto 22px;
}
.hero__actions, .button-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}
.trust-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.95rem;
}
.section {
  max-width: 1160px;
  margin: 0 auto;
  padding: 32px 24px 44px;
}
.section--soft {
  background: var(--panel-soft);
  border-radius: 28px;
  margin: 8px auto 24px;
  padding: 34px 24px;
}
.section__header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 28px;
}
.section__header h2 {
  margin: 0;
  font-size: 2.1rem;
}
.steps-grid, .workspace-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.steps-grid > *,
.download-grid > *,
.trial-cards > *,
.account-grid > * {
  min-width: 0;
  height: 100%;
}
.step-card, .card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}
.step-card {
  padding: 22px;
}
.step-card__number {
  display: inline-block;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 8px;
}
.step-card h3, .card h3, .card h4 {
  margin: 0 0 8px;
}
.step-card p, .card p, .helper-text {
  color: var(--muted);
  margin: 0;
}
.download-section {
  scroll-margin-top: 110px;
}
.download-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}
.download-card {
  display: grid;
  gap: 16px;
  align-content: start;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--panel);
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.06);
}
.download-card__top {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}
.download-card__top h3 {
  margin: 0 0 4px;
  font-size: 1.08rem;
}
.download-card__top p {
  margin: 0;
  color: var(--muted);
}
.platform-logo {
  width: 76px;
  height: 76px;
  padding: 9px;
  border: 1px solid rgba(226, 232, 240, 0.88);
  border-radius: 18px;
  background: #fff;
  object-fit: contain;
}
.platform-logo--wide {
  padding: 7px;
}
.download-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.download-card__actions .btn {
  margin-top: 0;
  min-width: 142px;
}
.btn--disabled,
.btn[aria-disabled="true"] {
  pointer-events: none;
  cursor: not-allowed;
  opacity: 0.55;
}
.download-card small {
  color: var(--muted);
  font-weight: 800;
}
.download-section__note {
  margin: 18px 0 0;
  color: var(--muted);
  font-weight: 700;
  text-align: center;
}
.download-beta-note {
  width: min(760px, 100%);
  margin: 0 auto 20px;
  padding: 12px 16px;
  border: 1px solid rgba(245, 158, 11, 0.34);
  border-radius: 16px;
  background: rgba(255, 247, 237, 0.82);
  color: #92400e;
  font-weight: 800;
  text-align: center;
}
html[data-theme="dark"] .download-card {
  border-color: rgba(71, 85, 105, 0.7);
}
html[data-theme="dark"] .download-beta-note {
  border-color: rgba(251, 191, 36, 0.38);
  background: rgba(69, 43, 14, 0.52);
  color: #fcd34d;
}
.windows-security-section {
  scroll-margin-top: 110px;
}
.security-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 520px);
  gap: 24px;
  align-items: start;
}
.security-copy {
  display: grid;
  gap: 14px;
  align-content: start;
}
.security-copy p,
.security-note {
  color: var(--muted);
  font-weight: 700;
  line-height: 1.65;
  margin: 0;
}
.security-copy .btn {
  width: fit-content;
}
.security-figure {
  margin: 0;
}
.security-figure img {
  display: block;
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #0f172a;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.12);
}
.security-figure--defender img {
  background: #0f766e;
}
.security-figure figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
}
.hash-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 24px 0 14px;
}
.hash-box {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 12px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--panel);
}
.hash-box span {
  color: var(--muted);
  font-weight: 900;
}
.hash-box code {
  grid-column: 1 / -1;
  overflow-wrap: anywhere;
  font-size: 0.9rem;
}
.virustotal-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}
html[data-theme="dark"] .security-figure img,
html[data-theme="dark"] .hash-box {
  border-color: rgba(71, 85, 105, 0.7);
}
.staff-section {
  scroll-margin-top: 110px;
}
.staff-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}
.staff-card .status {
  min-height: 22px;
  margin-top: 12px;
  border-radius: 12px;
  padding: 10px 12px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-weight: 700;
}
.staff-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}
.app-demo-section {
  scroll-margin-top: 110px;
}
.app-demo-video {
  display: block;
  width: min(100%, 1100px);
  aspect-ratio: 16 / 9;
  height: auto;
  max-height: min(72vh, 720px);
  margin: 0 auto;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: #000;
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.14);
}
html[data-theme="dark"] .app-demo-video {
  border-color: rgba(71, 85, 105, 0.7);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.34);
}
.app-demo-status {
  margin: 12px auto 0;
  color: var(--muted);
  font-weight: 800;
  text-align: center;
}
.app-demo-load {
  display: block;
  width: fit-content;
  margin: 14px auto 0;
}
.review-strip {
  overflow: hidden;
  padding-bottom: 8px;
}
.review-track {
  display: flex;
  width: max-content;
  gap: 0;
  animation: scrollReviews 28s linear infinite;
}
.review-card {
  border-radius: 18px;
  padding: 18px;
  min-height: 170px;
  width: 260px;
  flex-shrink: 0;
  margin-right: 14px;
}
.review-card--blue { background: #eaf2ff; }
.review-card--mint { background: var(--mint); }
.review-card--violet { background: var(--violet); }
.review-card--peach { background: var(--peach); }
.stars { color: #f59e0b; letter-spacing: 0.2em; margin-bottom: 8px; }
.reviews-panel {
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) minmax(320px, 1.08fr);
  gap: 18px;
  align-items: start;
}
.review-form,
.review-public-card {
  border: 1px solid rgba(226, 232, 240, 0.82);
  border-radius: 18px;
  background: var(--panel);
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.06);
}
html[data-theme="dark"] .review-form,
html[data-theme="dark"] .review-public-card {
  border-color: rgba(71, 85, 105, 0.7);
}
.review-form {
  display: grid;
  gap: 10px;
  padding: 18px;
}
.review-form__row {
  display: grid;
}
.review-form__row--full {
  grid-column: 1 / -1;
}
.review-form__meta {
  display: flex;
  justify-content: flex-end;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}
.review-rating {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  justify-self: start;
  padding: 6px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--panel-soft);
}
.review-rating__star {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #cbd5e1;
  cursor: pointer;
  font-size: 1.24rem;
  line-height: 1;
}
.review-rating__star.is-active {
  color: #f59e0b;
  background: rgba(245, 158, 11, 0.12);
}
.reviews-list {
  display: grid;
  gap: 12px;
}
.reviews-list__more {
  display: flex;
  justify-content: center;
}
.reviews-load-more {
  min-width: min(100%, 180px);
}
.review-public-card {
  display: grid;
  gap: 10px;
  padding: 16px;
}
.review-public-card__top,
.review-public-card__footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}
.review-public-card__identity {
  min-width: 0;
}
.review-public-card__identity strong,
.review-public-card__identity small {
  display: block;
  overflow-wrap: anywhere;
}
.review-public-card__identity small {
  color: var(--muted);
  font-weight: 700;
}
.review-public-card__actions {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}
.review-public-card__stars {
  color: #f59e0b;
  white-space: nowrap;
  letter-spacing: 0.1em;
}
.review-public-card p {
  margin: 0;
  color: var(--text);
  overflow-wrap: anywhere;
}
.review-like-btn {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--panel-soft);
  color: var(--text);
  padding: 8px 12px;
  cursor: pointer;
  font-weight: 900;
}
.review-delete-btn {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(220, 38, 38, 0.22);
  border-radius: 999px;
  background: rgba(254, 242, 242, 0.72);
  color: #991b1b;
  padding: 8px 12px;
  cursor: pointer;
  font-weight: 900;
}
.review-like-btn:hover {
  border-color: rgba(37, 99, 235, 0.36);
  color: var(--accent-dark);
}
.review-delete-btn:hover {
  border-color: rgba(220, 38, 38, 0.42);
  background: rgba(254, 226, 226, 0.82);
}
.review-delete-own-btn {
  border-color: rgba(220, 38, 38, 0.24);
  color: #991b1b;
  background: rgba(254, 242, 242, 0.72);
}
.review-delete-own-btn:hover {
  border-color: rgba(220, 38, 38, 0.42);
  background: rgba(254, 226, 226, 0.82);
}
.review-like-btn.is-liked,
.review-like-btn:disabled {
  cursor: default;
  color: var(--accent-dark);
  background: var(--accent-soft);
  border-color: rgba(37, 99, 235, 0.28);
  opacity: 0.82;
}
.review-delete-btn:disabled {
  cursor: default;
  opacity: 0.82;
}
.reviews-empty {
  padding: 18px;
  border: 1px dashed var(--border);
  border-radius: 18px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.42);
  text-align: center;
}
.workspace-grid {
  grid-template-columns: 1.05fr 0.95fr;
  align-items: start;
}
.card {
  padding: 22px;
}
.card--compact { padding: 18px 22px; }
.auth-gate {
  margin-bottom: 24px;
}
.auth-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 12px 0 14px;
}
.auth-tab {
  border: 1px solid var(--border);
  background: var(--panel);
  color: var(--text);
  border-radius: 999px;
  padding: 8px 12px;
  font-weight: 700;
  cursor: pointer;
}
.auth-tab.active {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
}
.auth-card .card__header {
  margin-bottom: 8px;
}
.auth-card .status {
  border-radius: 12px;
  padding: 10px 12px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-weight: 600;
}
.auth-form {
  display: grid;
  gap: 8px;
}
.auth-google, .auth-signout {
  width: 100%;
  justify-content: center;
}
.field-label {
  display: block;
  margin: 12px 0 6px;
  font-weight: 700;
}
input[type="file"], input[type="password"], input[type="text"], input[type="number"], input[type="datetime-local"], input[type="email"], textarea, select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--panel-soft);
  color: var(--text);
}
.security-level {
  display: grid;
  gap: 10px;
  margin-top: 14px;
  padding: 14px;
  border: 1px solid rgba(37, 99, 235, 0.18);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(232, 240, 255, 0.68), rgba(255, 255, 255, 0.76)),
    var(--panel);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}
html[data-theme="dark"] .security-level {
  border-color: rgba(96, 165, 250, 0.26);
  background:
    linear-gradient(135deg, rgba(16, 40, 77, 0.6), rgba(23, 32, 51, 0.82)),
    var(--panel);
}
.security-level__header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
  flex-wrap: wrap;
}
.security-level__header .field-label {
  margin: 0;
}
.security-level__header strong {
  color: var(--accent-dark);
  font-size: 0.95rem;
  line-height: 1.25;
  overflow-wrap: anywhere;
}
html[data-theme="dark"] .security-level__header strong {
  color: var(--accent);
}
.security-level__slider {
  width: 100%;
  margin: 2px 0 0;
  accent-color: var(--accent);
  cursor: pointer;
}
.security-level__ticks {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
  line-height: 1.2;
}
.security-level__ticks span {
  flex: 1;
  min-width: 0;
  overflow-wrap: anywhere;
  text-align: center;
}
.security-level__ticks span:first-child {
  text-align: left;
}
.security-level__ticks span:last-child {
  text-align: right;
}
.security-level .helper-text {
  font-size: 0.9rem;
}
.max-open-selector {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}
.max-open-option {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 12px;
  background: var(--panel);
  color: var(--text);
  cursor: pointer;
  font-weight: 700;
}
.max-open-option.active {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
}
.btn {
  border: none;
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 800;
  cursor: pointer;
  margin-top: 16px;
  text-decoration: none;
  display: inline-block;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.topbar .btn,
.cookie-consent .btn {
  margin-top: 0;
}
.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.16);
}
.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}
.btn--primary {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(115deg, rgba(255,255,255,0.2), transparent 38%),
    linear-gradient(90deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: white;
  border: 1px solid rgba(255,255,255,0.24);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.3), 0 10px 24px rgba(37,99,235,0.2);
}
.btn--primary::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(120deg, rgba(255,255,255,0.28), transparent 38%);
}
.btn--primary:hover {
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.38), 0 14px 30px rgba(37,99,235,0.28);
}
.btn--secondary {
  background: var(--panel-soft);
  color: var(--text);
  border: 1px solid var(--border);
}
.btn--danger {
  background: rgba(254, 242, 242, 0.92);
  color: #991b1b;
  border: 1px solid rgba(220, 38, 38, 0.28);
}
.btn--danger:hover {
  box-shadow: 0 6px 16px rgba(220, 38, 38, 0.16);
}
html[data-theme="dark"] .btn--danger {
  background: rgba(69, 10, 10, 0.56);
  color: #fecaca;
  border-color: rgba(248, 113, 113, 0.34);
}
.status { min-height: 24px; color: var(--accent); margin-top: 10px; }
.settings-toast {
  position: fixed;
  top: 92px;
  right: 18px;
  z-index: 140;
  max-width: min(360px, calc(100vw - 36px));
  padding: 12px 16px;
  border: 1px solid rgba(226, 232, 240, 0.72);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--accent-dark);
  font-weight: 800;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
}
.settings-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.guest-limit-banner {
  position: fixed;
  z-index: 1200;
  right: 20px;
  bottom: 20px;
  left: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: 920px;
  margin: 0 auto;
  padding: 18px 20px;
  border: 1px solid rgba(37, 99, 235, 0.35);
  border-radius: 18px;
  background: var(--panel);
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.28);
  color: var(--text);
}
.guest-limit-banner.is-hidden {
  display: none;
}
.guest-limit-banner p {
  margin: 5px 0 0;
  color: var(--muted);
}
.guest-limit-banner__actions {
  display: flex;
  flex: 0 0 auto;
  gap: 10px;
}
@media (max-width: 700px) {
  .guest-limit-banner {
    right: 10px;
    bottom: 10px;
    left: 10px;
    align-items: stretch;
    flex-direction: column;
  }
  .guest-limit-banner__actions .btn {
    flex: 1;
  }
}
html[data-theme="dark"] .settings-toast {
  border-color: rgba(71, 85, 105, 0.58);
  background: rgba(17, 24, 39, 0.86);
  color: var(--accent);
}
.result-box {
  background: var(--panel-soft);
  border-radius: 16px;
  padding: 16px;
  border: 1px solid var(--border);
  margin-top: 16px;
}
.result-box__content {
  background: var(--panel);
  border-radius: 14px;
  padding: 14px;
  min-height: 120px;
  color: var(--muted);
  overflow-wrap: anywhere;
  margin-top: 8px;
}
.share-link {
  display: block;
  margin-top: 12px;
  color: var(--accent);
  word-break: break-all;
}
.pdf-language-control {
  display: block;
  margin-top: 14px;
}
.pdf-language-select {
  width: min(240px, 100%);
  margin: 6px 0 12px;
}
.pdf-recap-card {
  display: grid;
  gap: 12px;
  margin: 12px 0 2px;
  padding: 14px;
  border: 1px solid rgba(37, 99, 235, 0.18);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.84), rgba(232, 240, 255, 0.54)),
    var(--panel);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.74), 0 12px 34px rgba(15, 23, 42, 0.07);
}
html[data-theme="dark"] .pdf-recap-card {
  border-color: rgba(96, 165, 250, 0.28);
  background:
    linear-gradient(135deg, rgba(23, 32, 51, 0.92), rgba(16, 40, 77, 0.58)),
    var(--panel);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 16px 36px rgba(0, 0, 0, 0.22);
}
.pdf-recap-card__header {
  display: grid;
  gap: 5px;
}
.pdf-recap-card.is-ready {
  border-color: rgba(37, 99, 235, 0.38);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78), 0 16px 42px rgba(37, 99, 235, 0.12);
}
html[data-theme="dark"] .pdf-recap-card.is-ready {
  border-color: rgba(96, 165, 250, 0.48);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 16px 42px rgba(37, 99, 235, 0.22);
}
.pdf-recap-card.is-ready .pdf-recap-card__badge {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
}
.pdf-recap-card__badge {
  justify-self: start;
  border: 1px solid rgba(37, 99, 235, 0.22);
  border-radius: 999px;
  padding: 4px 10px;
  background: rgba(37, 99, 235, 0.09);
  color: var(--accent-dark);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}
html[data-theme="dark"] .pdf-recap-card__badge {
  color: var(--accent);
  background: rgba(96, 165, 250, 0.14);
}
.pdf-recap-card strong {
  font-size: 1rem;
  line-height: 1.25;
}
.pdf-recap-card p {
  margin: 0;
  color: var(--muted);
}
.pdf-recap-card__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.pdf-recap-card__grid span {
  display: grid;
  gap: 1px;
  min-width: 0;
  padding: 10px;
  border: 1px solid rgba(226, 232, 240, 0.76);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.58);
}
html[data-theme="dark"] .pdf-recap-card__grid span {
  border-color: rgba(71, 85, 105, 0.72);
  background: rgba(17, 24, 39, 0.42);
}
.pdf-recap-card__grid b,
.pdf-recap-card__grid small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pdf-recap-card__grid b {
  font-size: 0.82rem;
}
.pdf-recap-card__grid small {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
}
.pdf-recap-card__details {
  padding-top: 2px;
  font-size: 0.88rem;
}
.faq-list {
  display: grid;
  gap: 12px;
}
.faq-list details {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 14px 16px;
}
.faq-list summary {
  cursor: pointer;
  font-weight: 700;
}
.faq-list p { margin-top: 8px; color: var(--muted); }
.cta-card {
  background: linear-gradient(90deg, #111827, #1f2937);
  color: white;
  border-radius: 26px;
  padding: 28px;
  text-align: center;
}
.cta-card p { color: rgba(255,255,255,0.82); }
.activity-log {
  padding-left: 18px;
  color: var(--muted);
}
.activity-log li { margin-bottom: 10px; }
.support-section,
#privacy-policy,
#account-privacy,
#documentation {
  scroll-margin-top: 110px;
}
.support-section__intro {
  max-width: 880px;
  margin: 0 auto 20px;
  color: var(--muted);
  font-size: 1rem;
}
.legal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.legal-grid--two {
  margin-top: 20px;
}
.legal-card,
.doc-panel {
  display: grid;
  gap: 10px;
  align-content: start;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--panel);
  padding: 18px;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.06);
}
.legal-card h3,
.doc-panel h3 {
  margin: 0;
  color: var(--text);
}
.legal-card p,
.doc-panel p {
  margin: 0;
  color: var(--muted);
}
.copy-code {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 12px;
  border-radius: 14px;
  background: #0f172a;
  color: #e2e8f0;
}
.copy-code code {
  min-width: 0;
  overflow-x: auto;
  white-space: pre-wrap;
  word-break: break-word;
  user-select: text;
  -webkit-user-select: text;
  font-size: 0.92rem;
}
.copy-code__button {
  border: 1px solid rgba(226, 232, 240, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  cursor: pointer;
  font-weight: 900;
  padding: 9px 12px;
}
.copy-code__button.is-copied {
  border-color: rgba(34, 197, 94, 0.5);
  background: rgba(34, 197, 94, 0.22);
}
.copy-code__button:disabled {
  cursor: default;
  opacity: 0.82;
}
#cliPage .documentation-grid {
  align-items: start;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)) !important;
}
#cliPage .cli-page-hero {
  color: #fff !important;
  background: linear-gradient(135deg, #102747 0%, #050c18 68%, #0b1730 100%) !important;
  border-color: rgba(156,220,254,0.2) !important;
  animation: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  overflow: hidden;
}
#cliPage .cli-page-hero :is(h3, p, div) { color: inherit; }
#cliPage .cli-page-hero .hero__text { color: rgba(255,255,255,0.82) !important; }
#cliPage .cli-page-hero__stat {
  color: #fff !important;
  background: rgba(255,255,255,0.075) !important;
  border-color: rgba(156,220,254,0.18) !important;
  box-shadow: none !important;
  animation: none !important;
  backdrop-filter: none !important;
}
#cliPage .cli-install-card { background: #10151f !important; animation: none !important; }
#cliPage .cli-platform-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
#cliPage :is(.copy-code, code) { max-width: 100%; }
@media (max-width: 760px) {
  #cliPage .section { padding-inline: 10px; }
  #cliPage .section__header h2 { font-size: clamp(2rem, 10vw, 2.7rem) !important; overflow-wrap: anywhere; }
  #cliPage .cli-page-hero, #cliPage .cli-install-card { padding: 24px 18px !important; }
  #cliPage .cli-platform-grid { grid-template-columns: minmax(0, 1fr) !important; gap: 22px !important; }
  #cliPage .documentation-grid { grid-template-columns: minmax(0, 1fr) !important; gap: 18px !important; }
}
.cli-install-card {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 0%, rgba(59, 130, 246, 0.2), transparent 35%),
    linear-gradient(145deg, #202634, #11151d 58%, #080b11) !important;
  border-color: rgba(148, 163, 184, 0.26) !important;
}
.cli-install-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg, rgba(255,255,255,0.08), transparent 32%, rgba(96,165,250,0.06));
}
.cli-install-card > * {
  position: relative;
}
.cli-platform-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 22px !important;
  align-items: stretch;
}
.cli-platform-card {
  display: grid;
  grid-template-rows: minmax(58px, auto) 1fr;
  align-content: start;
  min-width: 0;
  padding: 22px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.045);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.07), 0 16px 34px rgba(0,0,0,0.2);
}
.cli-platform-card h4 {
  align-self: start;
  margin-top: 0 !important;
  margin-bottom: 14px !important;
  line-height: 1.35;
}
.cli-v2-panel { overflow: hidden; padding: clamp(22px, 4vw, 42px) !important; }
.cli-v2-grid { display: grid; gap: 28px; margin-top: 28px; }
.cli-command-group { display: grid; gap: 16px; min-width: 0; }
.cli-command-group__header { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 14px; align-items: center; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.cli-command-group__header > span { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 15px; background: var(--accent); color: #fff; font-weight: 900; }
.cli-command-group__header h4 { margin: 0; color: var(--text); font-size: 1.15rem; }
.cli-command-group__header p { margin: 3px 0 0; color: var(--muted); font-size: 0.9rem; }
.cli-command-group__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.cli-v2-command { display: grid; align-content: start; gap: 10px; min-width: 0; padding: 18px; border: 1px solid var(--border); border-radius: 18px; background: var(--panel-soft); box-shadow: 0 10px 26px rgba(15,23,42,0.05); }
.cli-v2-command__top { display: flex; align-items: center; gap: 10px; }
.cli-v2-command__top span { color: var(--accent); font-size: 0.75rem; font-weight: 900; }
.cli-v2-command h5 { margin: 0; color: var(--text); font-size: 1rem; }
.cli-v2-command > p { min-height: 2.7em; margin: 0; color: var(--muted); font-size: 0.84rem; line-height: 1.45; }
.cli-v2-command__code { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 9px; align-items: center; min-width: 0; padding: 9px 9px 9px 12px; border-radius: 12px; background: #08111f; }
.cli-v2-command code { min-width: 0; overflow-x: auto; color: #c7e7ff; white-space: nowrap; font-size: 0.78rem; scrollbar-width: thin; }
.cli-v2-command button { border: 1px solid rgba(255,255,255,0.2); border-radius: 9px; padding: 8px 11px; background: rgba(255,255,255,0.1); color: #fff; font-weight: 850; cursor: pointer; }
.cli-v2-command button:hover { background: #fff; color: #08111f; }
.cli-v2-command button.is-copied { border-color: #4ade80; background: #166534; color: #fff; }
@media (max-width: 760px) {
  .cli-command-group__list { grid-template-columns: 1fr; }
  .cli-v2-command > p { min-height: 0; }
  .cli-v2-command__code { grid-template-columns: minmax(0, 1fr); }
  .cli-v2-command button { width: 100%; }
}
.cli-platform-card .copy-code {
  align-self: end;
  width: 100%;
  min-height: 64px !important;
  border-color: rgba(148, 163, 184, 0.28) !important;
  background: rgba(0, 0, 0, 0.62) !important;
}
#cliPage .doc-panel {
  min-width: 0;
}
#cliPage .copy-code {
  min-height: 48px;
  padding-right: 82px !important;
}
#cliPage .copy-code__button {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  min-width: 64px;
  padding: 6px 10px;
  font-size: 0.72rem;
}
.cli-command-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.cli-command-description {
  display: block;
  margin-top: 5px;
  color: #9ca3af;
  font-size: 0.75rem;
  line-height: 1.35;
}
@media (max-width: 700px) {
  #cliPage .section {
    padding-left: 10px;
    padding-right: 10px;
  }
  #cliPage .doc-panel {
    padding: 20px !important;
  }
  #cliPage .copy-code {
    padding-right: 76px !important;
  }
  .cli-install-card {
    padding: 24px 16px !important;
  }
  .cli-platform-grid {
    grid-template-columns: 1fr !important;
  }
  .cli-platform-card {
    grid-template-rows: auto auto;
    padding: 18px;
  }
}
.documentation-body {
  display: grid;
  gap: 16px;
}
.documentation-body .doc-panel:nth-child(odd) {
  background: linear-gradient(135deg, rgba(232, 240, 255, 0.52), rgba(255, 255, 255, 0.82)), var(--panel);
}
html[data-theme="dark"] .legal-card,
html[data-theme="dark"] .doc-panel {
  border-color: rgba(71, 85, 105, 0.7);
}
html[data-theme="dark"] .documentation-body .doc-panel:nth-child(odd) {
  background: linear-gradient(135deg, rgba(16, 40, 77, 0.42), rgba(17, 24, 39, 0.8)), var(--panel);
}
.site-footer {
  max-width: 1160px;
  margin: 8px auto 34px;
  padding: 26px 24px;
  border-top: 1px solid var(--border);
  color: var(--muted);
}
.site-footer__brand {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  margin-bottom: 22px;
}
.site-footer__brand strong {
  display: block;
  color: var(--text);
  font-size: 1.05rem;
}
.site-footer__brand p,
.site-footer__col p,
.site-footer__rights {
  margin: 0;
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 0.8fr 1fr 1.35fr;
  gap: 22px;
}
.site-footer__col h3 {
  margin: 0 0 10px;
  color: var(--text);
  font-size: 0.95rem;
}
.site-footer__col p {
  margin-bottom: 8px;
  font-size: 0.92rem;
}
.site-footer__contacts {
  margin-top: 24px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.035);
}
.site-footer__contacts h3 {
  margin: 0 0 12px;
  color: var(--text);
  font-size: 1rem;
}
.site-footer__contact-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.footer-contact {
  display: block;
  padding: 11px 12px;
  overflow-wrap: anywhere;
  color: var(--text);
  text-decoration: none;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.035);
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

@media (max-width: 700px) {
  .site-footer__contact-links {
    grid-template-columns: 1fr;
  }
}
.footer-contact:hover,
.footer-contact:focus-visible {
  border-color: var(--accent);
  background: rgba(64, 132, 255, 0.1);
  transform: translateY(-1px);
}
.footer-contact span {
  display: block;
  margin-bottom: 2px;
  color: var(--muted);
  font-size: 0.78rem;
}
.footer-contact strong {
  font-size: 0.88rem;
  font-weight: 650;
}
.footer-platforms {
  display: grid;
  grid-template-columns: repeat(4, 42px);
  gap: 9px;
  align-items: center;
}
.footer-platforms img {
  width: 42px;
  height: 42px;
  padding: 5px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  object-fit: contain;
}
.site-footer__rights {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-weight: 800;
}
.footer-socials {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
  margin-top: 18px;
}
.footer-socials > span { margin-right: 3px; color: var(--text); font-size: 0.86rem; font-weight: 800; }
.footer-socials a {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  transition: transform 160ms ease, box-shadow 160ms ease;
}
.footer-socials a:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(15, 23, 42, 0.14); }
.footer-socials img { width: 100%; height: 100%; object-fit: cover; }
.app-download-promo {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 220;
  display: flex;
  width: min(440px, calc(100% - 36px));
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px;
  border: 1px solid rgba(96, 165, 250, 0.42);
  border-radius: 18px;
  background: var(--panel);
  box-shadow: 0 20px 54px rgba(15, 23, 42, 0.22);
}
.app-download-promo strong { display: block; color: var(--text); }
.app-download-promo p { margin: 3px 0 0; color: var(--muted); font-size: 0.88rem; line-height: 1.4; }
.app-download-promo__actions { display: flex; align-items: center; gap: 7px; flex: 0 0 auto; }
.app-download-promo__actions .btn { white-space: nowrap; }
.app-download-promo__close {
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--panel-soft);
  color: var(--text);
  font: 700 1.25rem/1 system-ui;
  cursor: pointer;
}

.hashtags-section {
  text-align: center;
  padding: 24px 16px;
  margin: 10px auto;
}
.hashtags-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.hashtag {
  display: inline-block;
  padding: 8px 16px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 700;
  transition: all 0.2s ease;
  border: 1px solid rgba(37, 99, 235, 0.12);
}
.hashtag:hover {
  background: var(--accent);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}
html[data-theme="dark"] .hashtag {
  border-color: rgba(96, 165, 250, 0.2);
}

@keyframes scrollReviews {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes glassSheen {
  0% { opacity: 0.68; transform: translateX(-1.5%); }
  100% { opacity: 0.92; transform: translateX(1.5%); }
}
@keyframes liquidSurfaceDrift {
  0% { background-position: 0% 0%, 100% 0%, 0% 100%, 0 0; }
  100% { background-position: 8% 5%, 92% 8%, 7% 92%, 0 0; }
}
@media (prefers-reduced-motion: reduce) {
  html:not(.liquid-glass-disabled) :is(
    .step-card, .card, .download-card, .hash-box, .review-form,
    .review-public-card, .result-box__content, .pdf-recap-card,
    .legal-card, .doc-panel, .trial-card, .cli-install-card,
    .cli-platform-card, .section--soft
  ) { animation: none; }
  .topbar::after {
    animation: none;
  }
}

.trial-page {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px 60px;
}
.trial-page.is-hidden {
  display: none;
}
.trial-page__inner {
  max-width: 960px;
  width: 100%;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 28px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
}
.trial-page__content h2 {
  margin: 6px 0 10px;
  font-size: 2.2rem;
}
.trial-page__content p {
  color: var(--muted);
  max-width: 720px;
}
.trial-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
}
.trial-card {
  background: var(--panel-soft);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px;
}
.trial-card h3 { margin-top: 0; }

.account-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 24px 56px;
}
.account-page.is-hidden {
  display: none;
}
.account-page__inner {
  width: min(1120px, 100%);
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 28px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
}
.account-page__content h2 {
  margin: 6px 0 10px;
  font-size: 2.2rem;
}
.account-page__content p {
  color: var(--muted);
}
.account-grid {
  display: grid;
  grid-template-columns: minmax(320px, 460px);
  gap: 18px;
  margin-top: 18px;
  align-items: start;
  justify-content: center;
}
body.is-logged-in .account-grid {
  grid-template-columns: minmax(320px, 720px);
}
.auth-card--floating,
.settings-card--floating {
  position: relative;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}
.auth-card--floating::before,
.settings-card--floating::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(37, 99, 235, 0));
  pointer-events: none;
}
.settings-form {
  display: grid;
  gap: 8px;
}
.settings-card textarea {
  resize: vertical;
}
.settings-card .status {
  border-radius: 12px;
  padding: 10px 12px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-weight: 600;
}

.cookie-consent {
  position: fixed;
  left: 50%;
  bottom: 18px;
  z-index: 120;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  width: min(760px, calc(100% - 32px));
  padding: 16px;
  border: 1px solid rgba(226, 232, 240, 0.78);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 22px 60px rgba(15, 23, 42, 0.18);
  transform: translateX(-50%);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
}
.cookie-consent p {
  margin: 4px 0 0;
  color: var(--muted);
}
html[data-theme="dark"] .cookie-consent {
  border-color: rgba(71, 85, 105, 0.62);
  background: rgba(17, 24, 39, 0.88);
}

@media (max-width: 1024px) {
  h1 {
    font-size: 2.7rem;
  }
  .section__header h2,
  .trial-page__content h2,
  .account-page__content h2 {
    font-size: 1.9rem;
  }
  .section {
    max-width: 900px;
  }
  .hero {
    padding: 72px 24px 48px;
  }
}

@media (max-width: 900px) {
  .steps-grid, .workspace-grid, .trial-cards, .account-grid {
    grid-template-columns: 1fr;
  }
  .legal-grid {
    grid-template-columns: 1fr;
  }
  .site-footer__grid {
    grid-template-columns: 1fr;
  }
  .reviews-panel {
    grid-template-columns: 1fr;
  }
  .topbar {
    align-items: flex-start;
    gap: 12px;
  }
  .topbar__actions {
    justify-content: flex-end;
    flex-wrap: wrap;
  }
  .topbar__prefs {
    order: 2;
    width: 100%;
    justify-content: flex-end;
  }
  .hero__actions .btn {
    min-width: 180px;
  }
  .trial-page__inner,
  .account-page__inner {
    padding: 22px;
  }
}

@media (max-width: 700px) {
  h1 {
    font-size: 2.15rem;
  }
  .section__header h2,
  .trial-page__content h2,
  .account-page__content h2 {
    font-size: 1.55rem;
  }
  .topbar {
    top: 8px;
    width: calc(100% - 20px);
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 22px;
  }
  .brand {
    min-width: 0;
  }
  .brand span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .brand__logo {
    width: 30px;
    height: 30px;
    border-radius: 10px;
  }
  .topbar__actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    min-width: 0;
  }
  .topbar__prefs {
    display: none;
  }
  .liquid-toggle__label { display: none; }
  .liquid-toggle { min-height: 40px; padding: 7px; }
  .topbar__actions .btn {
    margin-top: 0;
    padding: 9px 10px;
    font-size: 0.82rem;
    white-space: nowrap;
  }
  .profile-pill {
    width: auto;
    max-width: 142px;
    margin-top: 0;
    padding: 7px 10px 7px 7px;
    justify-content: flex-start;
  }
  .profile-pill span:first-child {
    width: 30px;
    height: 30px;
    flex: 0 0 auto;
  }
  .profile-pill span:last-child {
    max-width: 86px;
  }
  .hero { padding: 48px 16px 34px; }
  .section { padding: 24px 16px 36px; }
  .section--soft { margin: 8px 12px 20px; border-radius: 20px; }
  .download-grid {
    grid-template-columns: 1fr;
  }
  .staff-grid {
    grid-template-columns: 1fr;
  }
  .security-layout,
  .hash-grid,
  .virustotal-gallery {
    grid-template-columns: 1fr;
  }
  .hash-box {
    grid-template-columns: 1fr;
  }
  .security-copy .btn,
  .hash-box .copy-code__button {
    width: 100%;
  }
  .download-card__top {
    grid-template-columns: 64px minmax(0, 1fr);
  }
  .platform-logo {
    width: 64px;
    height: 64px;
    border-radius: 16px;
  }
  .review-card { width: 84vw; }
  .review-public-card__top,
  .review-public-card__footer {
    align-items: flex-start;
    flex-direction: column;
  }
  .review-like-btn {
    width: 100%;
  }
  .hero__actions,
  .button-row,
  .download-card__actions,
  .staff-actions {
    flex-direction: column;
  }
  .hero__actions .btn,
  .button-row .btn,
  .download-card__actions .btn,
  .staff-actions .btn {
    width: 100%;
    text-align: center;
  }
  .trial-page,
  .account-page {
    padding: 20px 10px 42px;
  }
  .trial-page__inner,
  .account-page__inner,
  .card {
    border-radius: 18px;
    padding: 18px;
  }
  input[type="file"], input[type="password"], input[type="text"], input[type="number"], input[type="datetime-local"], input[type="email"], textarea, select {
    font-size: 16px;
  }
  .security-level {
    padding: 12px;
    border-radius: 16px;
  }
  .security-level__header {
    display: grid;
    gap: 4px;
  }
  .security-level__ticks {
    font-size: 0.7rem;
  }
  .security-level .helper-text {
    font-size: 0.84rem;
    line-height: 1.45;
  }
  .profile-drawer__panel {
    top: auto;
    right: 0;
    bottom: 0;
    width: 100%;
    height: min(78vh, 620px);
    padding: 22px 18px calc(18px + env(safe-area-inset-bottom));
    border-left: 0;
    border-top: 1px solid rgba(226, 232, 240, 0.78);
    border-radius: 26px 26px 0 0;
    transform: translateY(100%);
  }
  .profile-drawer__panel::before {
    content: "";
    align-self: center;
    width: 44px;
    height: 5px;
    margin: -8px 0 0;
    border-radius: 999px;
    background: var(--border);
  }
  .profile-drawer.is-open .profile-drawer__panel {
    transform: translateY(0);
  }
  .profile-drawer__header {
    align-items: start;
  }
  .profile-drawer__avatar {
    width: 52px;
    height: 52px;
  }
  .profile-drawer__identity h2 {
    font-size: 1rem;
  }
  .profile-drawer__actions {
    position: sticky;
    bottom: 0;
    padding-top: 8px;
    background: linear-gradient(180deg, transparent, var(--panel) 24%);
  }
  .pdf-recap-card__grid {
    grid-template-columns: 1fr;
  }
  .copy-code {
    grid-template-columns: 1fr;
  }
  .copy-code__button {
    width: 100%;
  }
  .pdf-recap-card__grid b,
  .pdf-recap-card__grid small {
    white-space: normal;
  }
  .cookie-consent {
    grid-template-columns: 1fr;
    bottom: 10px;
    width: calc(100% - 20px);
    border-radius: 18px;
  }
  .cookie-consent .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .topbar {
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .topbar__actions {
    display: flex;
  }
  .topbar__prefs {
    display: none;
  }
  .topbar-pref select {
    width: 100%;
    min-width: 0;
  }
  .profile-pill {
    max-width: 124px;
  }
  .topbar__actions .btn {
    padding-inline: 9px;
  }
  .trust-row {
    justify-content: flex-start;
  }
  .site-footer {
    padding-inline: 16px;
  }
  .footer-socials { justify-content: flex-start; }
  .app-download-promo { right: 10px; bottom: 10px; width: calc(100% - 20px); align-items: stretch; flex-direction: column; gap: 12px; }
  .app-download-promo__actions { justify-content: space-between; }
  .footer-platforms {
    grid-template-columns: repeat(4, 38px);
  }
  .footer-platforms img {
    width: 38px;
    height: 38px;
  }
  .max-open-selector {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .max-open-option {
    width: 100%;
  }
}

@media (max-width: 380px) {
  .brand span {
    display: none;
  }
}

/* Vetro leggero originale: solo CSS, senza WebGL, snapshot o animazioni. */
html:not(.liquid-glass-disabled) :is(
  .step-card, .card, .download-card, .hash-box, .review-form,
  .review-public-card, .result-box__content, .pdf-recap-card,
  .legal-card, .doc-panel, .trial-card, .cli-install-card,
  .cli-platform-card, .section--soft
) {
  border-color: rgba(255, 255, 255, 0.56);
  background: rgba(255, 255, 255, 0.72) !important;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(10px) saturate(120%);
  -webkit-backdrop-filter: blur(10px) saturate(120%);
  animation: none;
}
html[data-theme="dark"]:not(.liquid-glass-disabled) :is(
  .step-card, .card, .download-card, .hash-box, .review-form,
  .review-public-card, .result-box__content, .pdf-recap-card,
  .legal-card, .doc-panel, .trial-card, .cli-install-card,
  .cli-platform-card, .section--soft
) {
  border-color: rgba(148, 163, 184, 0.22);
  background: rgba(17, 24, 39, 0.76) !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
html:not(.liquid-glass-disabled) .topbar {
  background: rgba(255, 255, 255, 0.78);
  border-color: rgba(255, 255, 255, 0.68);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.76);
  backdrop-filter: blur(12px) saturate(125%);
  -webkit-backdrop-filter: blur(12px) saturate(125%);
  transform: none;
  will-change: auto;
}
html[data-theme="dark"]:not(.liquid-glass-disabled) .topbar {
  background: rgba(17, 24, 39, 0.82);
  border-color: rgba(148, 163, 184, 0.24);
}
html:not(.liquid-glass-disabled) .topbar::before,
html:not(.liquid-glass-disabled) .topbar::after {
  display: none;
  animation: none;
}
.lite-device:not(.liquid-glass-disabled) :is(.topbar, .step-card, .card, .download-card) {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

/* Menu e profilo su telefono: vetro leggero ma abbastanza coprente da non
   confondere testi e contenuto con la pagina sottostante. */
@media (max-width: 700px) {
  .lite-device .nav-drawer__backdrop,
  .lite-device .profile-drawer__backdrop {
    background: rgba(15, 23, 42, 0.58);
  }
  .lite-device .nav-drawer__panel.liquid-glass-surface,
  .lite-device .profile-drawer__panel.liquid-glass-surface {
    border-color: rgba(255, 255, 255, 0.82);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.97), rgba(241, 247, 255, 0.93)) !important;
    box-shadow: -18px 0 48px rgba(15, 23, 42, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px) saturate(115%) !important;
    -webkit-backdrop-filter: blur(10px) saturate(115%) !important;
  }
  html[data-theme="dark"].lite-device .nav-drawer__panel.liquid-glass-surface,
  html[data-theme="dark"].lite-device .profile-drawer__panel.liquid-glass-surface {
    border-color: rgba(148, 163, 184, 0.3);
    background: linear-gradient(145deg, rgba(17, 24, 39, 0.97), rgba(15, 23, 42, 0.94)) !important;
    box-shadow: -18px 0 48px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  }
}

.quick-tools {
  position: fixed;
  left: 16px;
  top: 50%;
  z-index: 1305;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  transform: translateY(-50%);
  opacity: 1;
  visibility: visible;
}
.quick-tools__toggle {
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255,255,255,0.75);
  border-radius: 18px;
  background: var(--accent);
  color: #fff;
  box-shadow: 0 14px 34px rgba(37,99,235,0.3);
  font: 400 2rem/1 system-ui;
  cursor: pointer;
  transition: transform 180ms ease;
  display: grid !important;
  place-items: center;
  padding: 0 !important;
  text-align: center;
  opacity: 1 !important;
  visibility: visible !important;
}
.quick-tools.is-open .quick-tools__toggle { transform: rotate(45deg); }
.quick-tools__menu {
  display: grid;
  gap: 7px;
  width: 180px;
  padding: 10px;
  border: 1px solid rgba(255,255,255,0.72);
  border-radius: 18px;
  background: rgba(255,255,255,0.94);
  box-shadow: 0 18px 48px rgba(15,23,42,0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
html[data-theme="dark"] .quick-tools__menu { background: rgba(17,24,39,0.96); border-color: rgba(148,163,184,0.24); }
.quick-tools__menu button {
  padding: 11px 13px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-weight: 750;
  text-align: left;
  cursor: pointer;
}
.quick-tools__menu button:hover { background: var(--accent-soft); color: var(--accent-dark); }
.file-analyzer { margin-top: 24px; }
.analyzer-dropzone {
  display: grid;
  min-height: 150px;
  place-content: center;
  gap: 5px;
  padding: 24px;
  border: 2px dashed rgba(37,99,235,0.38);
  border-radius: 20px;
  background: var(--accent-soft);
  color: var(--text);
  text-align: center;
  cursor: pointer;
}
.analyzer-dropzone.is-dragging { border-color: var(--accent); background: rgba(37,99,235,0.15); }
.analyzer-dropzone span { color: var(--muted); }
.analyzer-dropzone input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.analyzer-results { display: grid; gap: 16px; margin-top: 18px; }
.analyzer-score-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(160px, 0.55fr) minmax(300px, 1.45fr);
  align-items: center;
  gap: 18px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--panel-soft);
}
.analyzer-score-card > div:first-child span { color: var(--muted); font-weight: 750; }
.analyzer-score-card > div:first-child strong { display: block; color: var(--accent); font-size: clamp(2.4rem, 7vw, 4.8rem); line-height: 1; }
.analyzer-score-card p { margin: 7px 0 0; }
.analyzer-chart { min-height: 230px; }
.analyzer-chart svg { display: block; width: 100%; height: 230px; overflow: visible; }
.analyzer-chart .chart-grid { stroke: rgba(100,116,139,0.2); stroke-width: 1; }
.analyzer-chart .chart-area { fill: rgba(37,99,235,0.13); }
.analyzer-chart .chart-line { fill: none; stroke: var(--accent); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.analyzer-chart .chart-point { fill: #fff; stroke: var(--accent); stroke-width: 4; cursor: crosshair; }
.analyzer-chart text { fill: var(--muted); font: 700 11px Inter, sans-serif; }
.analyzer-tooltip {
  position: absolute;
  z-index: 4;
  max-width: 210px;
  padding: 9px 11px;
  border-radius: 10px;
  background: #0f172a;
  color: white;
  box-shadow: 0 8px 22px rgba(0,0,0,0.24);
  font-size: 0.8rem;
  pointer-events: none;
}
.analyzer-disclaimer { margin: 0; padding: 11px 13px; border-radius: 12px; background: #fff7ed; color: #9a3412; font-size: 0.85rem; }
.analyzer-info { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 10px; }
.analyzer-info__item { padding: 13px; border: 1px solid var(--border); border-radius: 14px; background: var(--panel-soft); overflow-wrap: anywhere; }
.analyzer-info__item span { display: block; color: var(--muted); font-size: 0.75rem; font-weight: 750; text-transform: uppercase; letter-spacing: 0.04em; }
.analyzer-info__item strong { display: block; margin-top: 3px; color: var(--text); }
.analyzer-glossary { padding: 18px; border: 1px solid var(--border); border-radius: 20px; background: var(--panel-soft); }
.analyzer-glossary__header h4 { margin: 2px 0 4px; font-size: 1.2rem; }
.analyzer-glossary__header p { margin: 0; }
.analyzer-glossary__grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; margin-top: 16px; }
.analyzer-glossary__item { padding: 14px; border: 1px solid var(--border); border-radius: 14px; background: var(--panel); }
.analyzer-glossary__item h5 { margin: 0 0 5px; color: var(--accent-dark); font-size: 0.95rem; }
.analyzer-glossary__item p { margin: 0; color: var(--muted); font-size: 0.86rem; line-height: 1.55; }
.password-warning { padding: 16px; border: 1px solid #f59e0b; border-radius: 16px; background: #fff7ed; color: #7c2d12; }
.password-warning p { margin: 5px 0 12px; }
.one-time-password { padding: 18px; border: 1px solid #ef4444; border-radius: 16px; background: #111827; color: #fff; font: 800 1.15rem/1.5 ui-monospace, monospace; overflow-wrap: anywhere; }

@media (max-width: 700px) {
  .quick-tools { left: 10px; top: auto; bottom: 18px; transform: none; }
  .quick-tools__toggle { width: 48px; height: 48px; border-radius: 16px; }
  .quick-tools__menu { width: 166px; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .analyzer-score-card { grid-template-columns: 1fr; }
  .analyzer-chart, .analyzer-chart svg { min-height: 205px; height: 205px; }
  .analyzer-info { grid-template-columns: 1fr 1fr; }
  .analyzer-glossary__grid { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .analyzer-info { grid-template-columns: 1fr; }
}

#cliPage .doc-panel.cli-quick-card {
  color: #fff;
  border-color: rgba(156, 220, 254, 0.24);
  background: linear-gradient(135deg, #0b182c, #162a48) !important;
  box-shadow: 0 18px 42px rgba(2, 8, 23, 0.3), inset 0 1px 0 rgba(255,255,255,0.08);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
#cliPage .doc-panel.cli-quick-card :is(h3, p) { color: rgba(255,255,255,0.84); }
#cliPage .doc-panel.cli-quick-card h3 { color: #fff; }
#cliPage .doc-panel.cli-quick-card .copy-code {
  background: rgba(0,0,0,0.38) !important;
  border-color: rgba(156,220,254,0.2) !important;
}
.pq-apex,
.pq-panel,
.pq-local-notice {
  border: 1px solid rgba(103, 232, 249, .32);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(20, 184, 166, .13), rgba(99, 102, 241, .12));
  padding: 16px;
  margin: 16px 0;
}
.pq-apex__badge { display: inline-flex; padding: 5px 10px; border-radius: 999px; background: #67e8f9; color: #082f49; font-size: .72rem; font-weight: 900; letter-spacing: .08em; }
.pq-apex strong { display: block; margin-top: 10px; font-size: 1.05rem; }
.pq-apex p, .pq-panel p { margin-bottom: 0; }
.pq-key-studio { position: relative; overflow: hidden; margin-top: 24px; }
.pq-key-studio::before { content: ''; position: absolute; inset: -60% 45% auto -15%; height: 280px; background: radial-gradient(circle, rgba(103,232,249,.22), transparent 70%); pointer-events: none; }
.pq-local-notice { font-weight: 800; color: var(--text, inherit); }
.pq-password-disclaimer { margin: 16px 0 20px; padding: 18px 20px; border: 2px solid rgba(245,158,11,.55); border-radius: 16px; background: rgba(245,158,11,.12); color: var(--text, inherit); line-height: 1.6; }
.pq-password-disclaimer strong { color: #b45309; }
.legacy-office-notice { align-self: center; width: min(100%, 820px); margin: auto; padding: 32px; text-align: left; }
.pq-warning { border-left: 4px solid #f59e0b; padding-left: 12px; }
.pq-hero-pill { display: inline-flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; margin: 18px 0 4px; padding: 10px 14px; border: 1px solid rgba(103,232,249,.4); border-radius: 999px; background: rgba(8,47,73,.3); backdrop-filter: blur(14px); }
.pq-hero-pill span { color: #67e8f9; font-size: .72rem; font-weight: 900; letter-spacing: .08em; }
.pq-hero-pill strong { font-size: .86rem; }
.pq-site-banner { width: min(1180px, calc(100% - 32px)); margin: -18px auto 44px; padding: 26px; display: flex; justify-content: space-between; align-items: center; gap: 24px; border: 1px solid rgba(103,232,249,.3); border-radius: 24px; background: linear-gradient(120deg, rgba(6,182,212,.15), rgba(79,70,229,.12)); box-shadow: 0 22px 70px rgba(15,23,42,.13); }
.pq-site-banner h2 { margin: 4px 0 8px; }
.pq-site-banner p { margin-bottom: 0; }
@media (max-width: 760px) { .pq-site-banner { flex-direction: column; align-items: stretch; margin-top: 12px; } .pq-hero-pill { border-radius: 18px; } }
.vault-file-viewer { width: 100%; min-height: 420px; border: 0; border-radius: 14px; background: #fff; }
.vault-media-viewer { width: 100%; max-height: 70vh; border-radius: 14px; object-fit: contain; }
.presentation-viewer { overflow: hidden; border: 1px solid rgba(148,163,184,.28); border-radius: 18px; background: #0f172a; color: #fff; }
.presentation-viewer__stage { aspect-ratio: 16/9; min-height: 360px; padding: clamp(28px, 6vw, 80px); display: flex; flex-direction: column; justify-content: center; background: radial-gradient(circle at 15% 15%, rgba(34,211,238,.2), transparent 32%), linear-gradient(135deg,#111827,#1e293b); }
.presentation-viewer__stage h2 { color: #fff; font-size: clamp(1.8rem, 4vw, 3.8rem); margin-bottom: 24px; }
.presentation-viewer__stage p { color: #e2e8f0; font-size: clamp(1rem, 2vw, 1.45rem); margin: 6px 0; }
.presentation-viewer__controls { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; padding: 14px; background: rgba(2,6,23,.95); }
.presentation-viewer:fullscreen { width: 100vw; height: 100vh; display: flex; flex-direction: column; border: 0; border-radius: 0; background: #020617; }
.presentation-viewer:fullscreen .presentation-viewer__stage { flex: 1; min-height: 0; aspect-ratio: auto; padding: clamp(40px, 8vw, 140px); cursor: pointer; }
.presentation-viewer:fullscreen .presentation-viewer__stage h2 { font-size: clamp(2.4rem, 6vw, 6.5rem); }
.presentation-viewer:fullscreen .presentation-viewer__stage p { font-size: clamp(1.35rem, 2.6vw, 2.6rem); }
.presentation-viewer:fullscreen .presentation-viewer__controls { flex: 0 0 auto; padding: 12px 20px; }
.preview-window__toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; padding: 10px 12px; border-radius: 14px; background: rgba(15,23,42,.08); }
.preview-window__toolbar > div { display: flex; gap: 8px; }
.preview-dialog { width: min(96vw, 1500px); height: 92vh; max-width: none; max-height: none; padding: 0; overflow: hidden; border: 1px solid rgba(148,163,184,.4); border-radius: 24px; background: var(--surface, #fff); color: var(--text, #111827); box-shadow: 0 35px 120px rgba(2,6,23,.65); }
.preview-dialog[open] { display: flex; flex-direction: column; }
.preview-dialog::backdrop { background: rgba(2,6,23,.78); backdrop-filter: blur(8px); }
.preview-dialog__header { flex: 0 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 18px; border-bottom: 1px solid rgba(148,163,184,.25); background: var(--surface, #fff); }
.preview-dialog__stage { flex: 1; min-height: 0; display: flex; overflow: auto; padding: 14px; background: rgba(15,23,42,.04); }
.preview-dialog__stage > .vault-file-viewer,
.preview-dialog__stage > .document-viewer,
.preview-dialog__stage > .spreadsheet-viewer,
.preview-dialog__stage > .presentation-viewer { flex: 1; width: 100%; min-height: 0; max-height: none; }
.preview-dialog__stage > .vault-media-viewer { width: 100%; height: 100%; max-height: none; object-fit: contain; }
.preview-dialog__stage > pre { width: 100%; margin: 0; overflow: auto; text-align: left; }
@media (max-width: 620px) { .preview-dialog { width: 98vw; height: 96vh; border-radius: 14px; } .preview-dialog__header { align-items: stretch; flex-direction: column; } .preview-window__toolbar { align-items: stretch; flex-direction: column; } }
.document-viewer { max-height: 70vh; overflow: auto; padding: 32px; border-radius: 16px; background: #fff; color: #111827; text-align: left; box-shadow: inset 0 0 0 1px #e2e8f0; }
.spreadsheet-viewer { max-height: 70vh; overflow: auto; text-align: left; }
.spreadsheet-viewer table { border-collapse: collapse; min-width: 100%; background: #fff; color: #111827; }
.spreadsheet-viewer td { padding: 8px 10px; border: 1px solid #cbd5e1; white-space: nowrap; }
.pq-explainer { scroll-margin-top: 100px; }
.pq-guide-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.pq-guide-grid .card { position: relative; padding-top: 52px; }
.pq-guide-step { position: absolute; top: 16px; left: 18px; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(135deg,#06b6d4,#6366f1); color: #fff; font-weight: 900; }
.pq-guide-warning { margin-top: 18px; padding: 20px; border: 1px solid rgba(245,158,11,.35); border-radius: 18px; background: rgba(245,158,11,.08); }
.pq-guide-warning p { margin: 6px 0 0; }
@media (max-width: 980px) { .pq-guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .pq-guide-grid { grid-template-columns: 1fr; } }
