/* PHQ — страница входа: мягкий градиент, «сеть» терминов контура, карточка по центру. */
body {
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
  background:
    radial-gradient(60% 45% at 52% 34%, var(--glow), transparent 70%),
    radial-gradient(40% 40% at 12% 90%, var(--glow), transparent 70%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  background-attachment: fixed;
}

.net { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.net-lines path { fill: none; stroke: var(--net); stroke-width: 1; opacity: .22; }
.net-dots circle { fill: var(--net); opacity: .55; }
.net-labels text { fill: var(--net); opacity: .5; font: 600 22px var(--font); letter-spacing: .01em; }

.stage {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 16px 32px;
}

.card {
  width: 100%;
  max-width: 452px;
  padding: 44px 40px 40px;
  border: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
  border-radius: 26px;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}

.brand { display: grid; justify-items: center; gap: 14px; margin-bottom: 34px; }
.brand phq-logo { max-width: 100%; }
.tagline {
  margin: 0;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .32em;
  color: var(--text-2);
  text-align: center;
  padding-left: .32em; /* разрядка не сдвигает центр */
}

.form { display: grid; gap: 20px; }

.check { display: inline-flex; align-items: center; gap: 12px; cursor: pointer; user-select: none; color: var(--text); width: fit-content; }
.check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check-box {
  width: 20px; height: 20px; border-radius: 6px; flex: none;
  border: 1.5px solid var(--line-strong); background: var(--surface-2);
  display: grid; place-items: center; transition: background .15s, border-color .15s;
}
.check-box::after {
  content: ""; width: 10px; height: 6px; margin-top: -2px;
  border: 2px solid #fff; border-top: 0; border-right: 0; transform: rotate(-45deg); opacity: 0;
}
.check input:checked + .check-box { background: var(--accent); border-color: var(--accent); }
.check input:checked + .check-box::after { opacity: 1; }
.check input:focus-visible + .check-box { box-shadow: 0 0 0 4px var(--focus); }

.btn-big { height: 52px; margin-top: 4px; border-radius: 13px; font-size: 16px; letter-spacing: .02em; }

.notice {
  display: grid; gap: 4px; padding: 14px 16px; border-radius: 12px;
  background: var(--accent-soft); color: var(--text-2); font-size: 14px;
}
.notice strong { color: var(--text); font-size: 15px; }

.quote {
  max-width: 560px;
  margin: 34px 0 0;
  padding: 0 8px;
  font-style: italic;
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-3);
  text-align: center;
}
.build { margin: 18px 0 0; font-size: 12px; color: var(--text-3); opacity: .7; font-variant-numeric: tabular-nums; }

@media (max-width: 520px) {
  .stage { padding: 28px 16px 24px; justify-content: flex-start; }
  .card { padding: 32px 22px 26px; border-radius: 22px; }
  .brand { margin-bottom: 26px; }
  .tagline { font-size: 11px; letter-spacing: .26em; padding-left: .26em; }
  .quote { font-size: 14px; margin-top: 26px; }
  .net-labels text { font-size: 30px; }
}
