/* Files Hub — shared chrome + tokens (short token_style) */
:root {
  --qg-ink: #12142b;
  --qg-main: #2a2cff;
  --qg-mark: #edff47;
  --qg-copy: #3b3e5c;
  --qg-snow: #ffffff;
  --qg-bright: #fbfbf5;
  --qg-soft: #f1f2e9;
  --qg-cream: #fcfaed;
  --qg-line: #dadbd0;
  --qg-foot: #c9cbe3;
  --qg-mute: #8b8ead;
  --qg-wait: #6e7190;
  --qg-done: #1e8e5a;
  --qg-doc: #2b5de0;
  --qg-ppt: #d5511f;
  --qg-jpg: #8e4be0;
  --qg-max: 1200px;
  --qg-foot-max: 1030px;
  --qg-font-d: "Unbounded", system-ui, sans-serif;
  --qg-font-b: "Manrope", system-ui, sans-serif;
  --qg-font-l: "Work Sans", system-ui, sans-serif;
  --qg-rad-pill: 999px;
  --qg-rad-card: 28px;
  --qg-rad-panel: 36px;
  --qg-rad-win: 22px;
  --qg-sh-ridge: 0 16px 64px rgba(18, 20, 43, 0.14);
  --qg-sh-win: 0 40px 80px -40px rgba(18, 20, 43, 0.4);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--qg-font-b);
  color: var(--qg-copy);
  background: var(--qg-cream);
  line-height: 1.5;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: 0;
  background: none;
  padding: 0;
  color: inherit;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
p {
  margin: 0;
}

.qg-page {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

.qg-page--bright {
  background: var(--qg-bright);
}

.qg-page--cream {
  background: var(--qg-cream);
}

.qg-page--void {
  background: var(--qg-main);
}

.qg-stream {
  flex: 1 1 auto;
  width: 100%;
}

.qg-wrap {
  width: min(100% - 48px, var(--qg-max));
  margin-inline: auto;
}

.qg-wrap--foot {
  width: min(100% - 48px, var(--qg-foot-max));
}

/* —— ridge (header) —— */
.qg-ridge {
  position: relative;
  z-index: 20;
  padding: clamp(16px, 2.2vw, 28px) 0 0;
}

.qg-ridge-shell {
  width: min(100% - 48px, var(--qg-max));
  margin-inline: auto;
}

.qg-ridge-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
  padding: 12px 16px 12px 20px;
  border-radius: var(--qg-rad-pill);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(229, 231, 221, 0.5);
  box-shadow: var(--qg-sh-ridge);
  backdrop-filter: blur(12px);
}

.qg-page--void .qg-ridge-pill {
  background: rgba(18, 20, 43, 0.35);
  border-color: rgba(255, 255, 255, 0.12);
}

.qg-ridge-mark {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.qg-ridge-mark img {
  width: 140px;
  height: auto;
}

.qg-ridge-act {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: var(--qg-rad-pill);
  background: var(--qg-mark);
  color: var(--qg-ink);
  font-family: var(--qg-font-d);
  font-weight: 600;
  font-size: 16px;
  line-height: 1.2;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.qg-ridge-act:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(18, 20, 43, 0.12);
}

.qg-ridge-act img {
  width: 18px;
  height: 18px;
}

/* —— endband (footer) —— */
.qg-endband {
  background: var(--qg-ink);
  color: var(--qg-foot);
  padding: 72px 0 40px;
  margin-top: auto;
}

.qg-endband-grid {
  display: grid;
  grid-template-columns: minmax(220px, 1.4fr) 1fr 1fr;
  gap: 48px 40px;
}

.qg-endband-brand img {
  width: 140px;
  height: auto;
  margin-bottom: 18px;
}

.qg-endband-tag {
  font-size: 15px;
  line-height: 1.45;
  color: var(--qg-foot);
  max-width: 260px;
  margin-bottom: 14px;
}

.qg-endband-mail {
  display: inline-block;
  color: var(--qg-mark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.qg-endband-mail:hover {
  text-decoration: underline;
}

.qg-endband-col h3 {
  font-family: var(--qg-font-b);
  font-size: 14px;
  font-weight: 700;
  color: var(--qg-snow);
  margin-bottom: 18px;
  letter-spacing: 0.02em;
}

.qg-endband-col a {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: var(--qg-foot);
  margin-bottom: 12px;
  transition: color 0.15s ease;
}

.qg-endband-col a:hover {
  color: var(--qg-snow);
}

.qg-endband-base {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.qg-endband-copy {
  font-size: 13px;
  color: var(--qg-mute);
}

/* —— inner page shell —— */
.qg-slab {
  padding: clamp(48px, 8vw, 96px) 0 clamp(72px, 10vw, 140px);
}

.qg-slab-title {
  font-family: var(--qg-font-d);
  font-weight: 900;
  font-size: clamp(36px, 5.2vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--qg-ink);
  margin-bottom: clamp(24px, 3vw, 40px);
  max-width: 18ch;
}

.qg-slab-title--wide {
  max-width: 22ch;
}

.qg-slab-title--center {
  text-align: center;
  margin-inline: auto;
  max-width: 16ch;
}

.qg-slab-body {
  font-size: clamp(17px, 1.4vw, 21px);
  font-weight: 500;
  line-height: 1.55;
  color: var(--qg-copy);
  max-width: 58ch;
}

.qg-slab-body p + p {
  margin-top: 1.1em;
}

.qg-slab-body a {
  color: var(--qg-main);
  font-weight: 700;
}

.qg-slab-body a:hover {
  text-decoration: underline;
}

.qg-slab-date {
  font-family: var(--qg-font-l);
  font-size: 18px;
  font-weight: 400;
  color: var(--qg-wait);
  margin: -16px 0 32px;
}

.qg-slab-center {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  min-height: min(52vh, 520px);
  padding-block: clamp(40px, 8vw, 88px);
}

.qg-slab-center .qg-slab-title {
  max-width: 14ch;
}

.qg-slab-center .qg-slab-body {
  max-width: 42ch;
}

/* legal longform */
.qg-lex {
  font-size: 16px;
  line-height: 1.65;
  color: var(--qg-copy);
  max-width: 72ch;
}

.qg-lex h2 {
  font-family: var(--qg-font-b);
  font-size: 20px;
  font-weight: 700;
  color: var(--qg-ink);
  margin: 28px 0 10px;
}

.qg-lex p + p {
  margin-top: 0.9em;
}

.qg-lex a {
  color: var(--qg-main);
  font-weight: 600;
}

/* FAQ shared */
.qg-fold {
  border-top: 1px solid var(--qg-line);
}

.qg-fold-item {
  border-bottom: 1px solid var(--qg-line);
}

.qg-fold-trig {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 4px;
  text-align: left;
  font-family: var(--qg-font-b);
  font-weight: 700;
  font-size: clamp(18px, 2vw, 28px);
  line-height: 1.3;
  color: var(--qg-ink);
}

.qg-fold-ico {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
}

.qg-fold-ico img {
  display: block;
  width: 100%;
  height: 100%;
}

.qg-fold-ico-open,
.qg-fold-item.qg-hvozv .qg-fold-ico-closed {
  display: none !important;
}

.qg-fold-item.qg-hvozv .qg-fold-ico-open {
  display: block !important;
}

.qg-fold-panel {
  padding: 0 8px 22px;
  font-size: 17px;
  line-height: 1.55;
  color: var(--qg-copy);
  max-width: 62ch;
}

.qg-fold-panel[hidden] {
  display: none;
}

/* steps list (uninstall) */
.qg-rungs {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  max-width: 52ch;
}

.qg-rung-title {
  font-size: clamp(20px, 2vw, 29px);
  font-weight: 700;
  color: var(--qg-ink);
  margin-bottom: 8px;
}

.qg-rung-copy {
  font-size: 17px;
  font-weight: 500;
  color: var(--qg-copy);
  line-height: 1.5;
}

@media (max-width: 900px) {
  .qg-endband-grid {
    grid-template-columns: 1fr 1fr;
  }

  .qg-endband-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .qg-wrap,
  .qg-ridge-shell,
  .qg-wrap--foot {
    width: min(100% - 32px, var(--qg-max));
  }

  .qg-ridge-pill {
    min-height: 60px;
    padding: 10px 12px 10px 14px;
  }

  .qg-ridge-mark img {
    width: 112px;
  }

  .qg-ridge-act {
    font-size: 14px;
    padding: 10px 16px;
  }

  .qg-endband {
    padding: 56px 0 32px;
  }

  .qg-endband-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.qg-slab-body--center {
  margin-inline: auto;
  text-align: center;
}
