:root {
  --ink: #20242b;
  --muted: #6f7a8a;
  --line: #dfe5ef;
  --soft: #f3f6fb;
  --paper: #ffffff;
  --blue: #2b6cff;
  --blue-2: #8eb1ff;
  --pink: #d923f1;
  --green: #14a35b;
  --orange: #ff8a1f;
  --red: #f04438;
  --shadow: 0 24px 60px rgba(34, 43, 62, 0.08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--soft);
  font-family: Inter, Manrope, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button:disabled { opacity: 0.55; cursor: not-allowed; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(243, 246, 251, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.topbar-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 13px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  font-size: 21px;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--blue);
  color: #fff;
  font-weight: 900;
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-weight: 750;
  font-size: 14px;
  color: #4b5565;
}

.button {
  min-height: 44px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  font-weight: 800;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

.button:hover { transform: translateY(-1px); border-color: #b8c3d5; }
.button.primary, .button.blue { color: #fff; background: var(--blue); border-color: var(--blue); box-shadow: 0 10px 24px rgba(43,108,255,.22); }
.button.dark { color: #fff; background: #171b22; border-color: #171b22; }
.button.danger { color: #fff; background: var(--red); border-color: var(--red); }
.button.ghost { background: transparent; }

.page {
  max-width: 1180px;
  margin: 0 auto;
  padding: 28px 18px 80px;
}

.hero {
  min-height: calc(100vh - 74px);
  display: grid;
  align-content: center;
  gap: 30px;
  padding: 38px 0 58px;
}

.hero-center { text-align: center; max-width: 860px; margin: 0 auto; }

.eyebrow {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: #475467;
  font-size: 12px;
  font-weight: 850;
}

h1, h2, h3 { margin: 0; letter-spacing: 0; }
h1 { margin-top: 12px; font-size: 56px; line-height: 1.04; }
h2 { font-size: 34px; line-height: 1.14; }
h3 { font-size: 19px; }

.lead {
  margin: 14px auto 0;
  max-width: 760px;
  color: #485466;
  font-size: 19px;
  line-height: 1.55;
}

.muted { color: var(--muted); }
.fine { color: var(--muted); font-size: 12px; }

.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 22px;
}

.role-cards, .feature-grid, .metrics-grid, .admin-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.role-cards { margin-top: 18px; }

.card, .panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.card { padding: 18px; }
.panel { padding: 22px; }

.role-card {
  min-height: 230px;
  display: grid;
  align-content: space-between;
  overflow: hidden;
}

.avatar {
  width: 96px;
  height: 96px;
  margin-left: auto;
  border-radius: 50%;
  background: linear-gradient(145deg, #dce7ff, #fff);
  border: 1px solid var(--line);
  position: relative;
}

.avatar::before {
  content: "";
  position: absolute;
  left: 25px;
  top: 31px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #27303f;
  box-shadow: 30px 0 0 #27303f;
}

.avatar::after {
  content: "";
  position: absolute;
  left: 28px;
  bottom: 22px;
  width: 40px;
  height: 14px;
  border-bottom: 4px solid #e07b62;
  border-radius: 50%;
}

.avatar.teacher { background: linear-gradient(145deg, #f3f0ff, #fff); }
.avatar.admin { background: linear-gradient(145deg, #e8fbf6, #fff); }
.avatar.admin::before { box-shadow: 30px 0 0 #27303f, 0 -18px 0 8px #111827, 30px -18px 0 8px #111827; }

.clean-hero {
  min-height: auto;
  padding-top: 52px;
}

.hero-dashboard {
  max-width: 940px;
  margin: 8px auto 0;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.mini-report-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.mini-rings {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0;
}

.mini-rings > div {
  display: grid;
  justify-items: center;
  gap: 8px;
  text-align: center;
}

.mini-ring {
  width: 104px;
  height: 104px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 14px solid #e9ebef;
  font-size: 22px;
  font-weight: 900;
}

.mini-ring.blue { border-color: var(--blue); }
.mini-ring.pink { border-color: var(--pink); }
.mini-ring.orange { border-color: var(--orange); }
.mini-ring.green { border-color: var(--green); }

.mini-fragment {
  border-left: 4px solid var(--pink);
  padding: 12px;
  background: #fbf7ff;
  border-radius: 0 8px 8px 0;
}

.section-head {
  max-width: 760px;
  margin-bottom: 22px;
}

.section-head h2 {
  margin-top: 12px;
}

.audience-grid,
.pricing-grid,
.connect-grid,
.faq-grid {
  display: grid;
  gap: 14px;
}

.audience-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.audience-card {
  min-height: 210px;
}

.audience-card > i {
  width: 40px;
  height: 40px;
  color: var(--blue);
  margin-bottom: 12px;
}

.pricing-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.price-card strong {
  display: block;
  margin: 12px 0;
  font-size: 34px;
  line-height: 1;
}

.price-card.featured {
  border-color: var(--blue);
  box-shadow: 0 24px 64px rgba(43, 108, 255, .16);
}

.referral-band {
  padding: 36px;
  background: #121722;
  color: #fff;
  border-radius: 8px;
  border-top: 0;
}

.referral-band .lead,
.referral-band .muted {
  color: #d7deea;
}

.connect-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.textarea.compact {
  min-height: 120px;
}

.faq-grid details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
}

.faq-grid summary {
  cursor: pointer;
  font-weight: 850;
}

.faq-grid p {
  color: var(--muted);
  line-height: 1.55;
}

.site-footer {
  max-width: 1180px;
  margin: 0 auto;
  padding: 26px 18px 44px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.copy-lock {
  user-select: none;
  -webkit-user-select: none;
}

.section {
  padding: 64px 0;
  border-top: 1px solid var(--line);
}

.feature-grid { margin-top: 24px; }
.feature-card { min-height: 178px; }
.feature-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #eef4ff;
  color: var(--blue);
  margin-bottom: 12px;
}

.proof-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.proof {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  text-align: center;
}

.proof strong { display: block; font-size: 24px; }

.auth-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 22px;
}

.auth-card {
  width: min(460px, 100%);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.auth-head { padding: 24px 26px 18px; text-align: center; }
.auth-body { padding: 0 26px 24px; }
.auth-social { padding: 22px 26px; background: #f2f5fb; text-align: center; }

.tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}

.tab {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
  min-height: 40px;
  cursor: pointer;
  font-weight: 850;
}

.tab.active { background: var(--blue); color: #fff; border-color: var(--blue); }

.form-stack { display: grid; gap: 12px; }
.form-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  align-items: end;
  gap: 12px;
}
.field { display: grid; gap: 7px; }
.field label { color: #344054; font-size: 13px; font-weight: 800; }

.input, .textarea, .select {
  width: 100%;
  border: 1px solid #cfd7e6;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  outline: none;
}

.input, .select { min-height: 46px; padding: 0 12px; }
.textarea { min-height: 220px; padding: 12px; resize: vertical; line-height: 1.5; }
.input:focus, .textarea:focus, .select:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(43,108,255,.12); }

.social-row { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 14px; }
.social {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
  font-weight: 900;
  cursor: pointer;
}
.social.vk { background: #2189f5; color: #fff; border-color: #2189f5; }
.social.ya { color: #e00000; }

.workspace {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  background: #fff;
}

.side {
  padding: 26px 20px;
  border-right: 1px solid var(--line);
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.side-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.counter {
  min-width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--blue);
  color: #fff;
  font-weight: 900;
}

.doc-list { display: grid; gap: 16px; overflow: auto; }
.doc-item { border: 0; background: transparent; text-align: left; cursor: pointer; padding: 0 4px; }
.doc-title { display: block; font-weight: 850; }
.doc-date { display: block; color: var(--muted); font-size: 12px; margin: 4px 0 8px; }

.pill-row { display: flex; gap: 8px; flex-wrap: wrap; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 8px;
  border-radius: 8px;
  background: #eef2f8;
  color: #344054;
  font-size: 12px;
  font-weight: 850;
}
.pill.good { background: #e9f8ef; color: #13743f; }
.pill.warn { background: #fff1e5; color: #9a5200; }
.pill.bad { background: #ffecec; color: #bc1b1b; }
.pill.ai { background: #f9e7ff; color: #a117bd; }

.work-main { padding: 28px; background: #fbfcff; overflow: auto; }
.work-head { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-bottom: 20px; }

.upload-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  min-height: 440px;
}

.action-tile {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  display: grid;
  place-items: center;
  text-align: center;
  min-height: 440px;
  cursor: pointer;
  transition: border-color .15s ease, transform .15s ease;
}
.action-tile:hover { border-color: var(--blue); transform: translateY(-1px); }
.action-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: var(--blue);
  color: #fff;
}

.notice {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 13px;
  border-radius: 999px;
  background: #fff0f0;
  color: #e00000;
  font-size: 13px;
  font-weight: 800;
}

.report-screen { display: grid; gap: 16px; }
.report-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ring-grid {
  display: grid;
  grid-template-columns: 260px repeat(4, minmax(150px, 1fr));
  gap: 16px;
}

.ring-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  text-align: center;
}

.ring {
  --value: 0;
  --color: var(--blue);
  width: 150px;
  height: 150px;
  margin: 0 auto 16px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(var(--color) calc(var(--value) * 1%), #e9ebef 0);
  position: relative;
  font-size: 25px;
  font-weight: 900;
}

.ring::before {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 50%;
  background: #fff;
}
.ring span { position: relative; z-index: 1; }

.report-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.secure-report {
  user-select: none;
  -webkit-user-select: none;
}

.fragment {
  border: 1px solid var(--line);
  border-left: 4px solid var(--pink);
  border-radius: 0 8px 8px 0;
  padding: 12px;
  background: #fff;
}

.fragment mark {
  background: #f9e7ff;
  color: #8710a3;
  padding: 0 3px;
  border-radius: 4px;
}

.list { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
.list li { padding: 12px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.source-link { display: block; color: var(--blue); margin-top: 6px; word-break: break-word; font-size: 12px; }

.source-card .source-top {
  display: grid;
  gap: 8px;
  margin-bottom: 8px;
}

.source-card .source-link.button {
  width: fit-content;
  min-height: 36px;
  margin-top: 10px;
  font-size: 13px;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
  place-items: center;
  padding: 18px;
  background: rgba(18, 24, 38, .34);
}
.modal.open { display: grid; }
.modal-card {
  width: min(720px, 100%);
  max-height: 92vh;
  overflow: auto;
  background: #fff;
  border-radius: 8px;
  border: 1px solid var(--line);
  padding: 22px;
}

.admin-layout {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
}
.admin-side { background: #141922; color: #fff; padding: 22px; }
.admin-side nav { display: grid; gap: 8px; margin-top: 28px; }
.admin-side a { padding: 10px; border-radius: 8px; color: #d7dce5; font-weight: 800; display: flex; gap: 9px; align-items: center; }
.admin-side a:hover { background: rgba(255,255,255,.1); color: #fff; }
.admin-main { padding: 24px; }

.table-wrap { overflow: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; border-bottom: 1px solid var(--line); padding: 11px 9px; font-size: 14px; }
th { color: var(--muted); text-transform: uppercase; font-size: 11px; }

.loader { display: inline-flex; gap: 9px; align-items: center; color: var(--blue); font-weight: 900; }
.loader::before {
  content: "";
  width: 16px;
  height: 16px;
  border: 2px solid #cfe0ff;
  border-top-color: var(--blue);
  border-radius: 50%;
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 980px) {
  .workspace, .admin-layout, .upload-grid, .ring-grid, .report-cards, .role-cards, .feature-grid, .proof-band, .admin-grid,
  .audience-grid, .pricing-grid, .connect-grid, .mini-rings, .form-grid {
    grid-template-columns: 1fr;
  }
  .side { border-right: 0; border-bottom: 1px solid var(--line); }
  .nav { display: none; }
}

@media (max-width: 560px) {
  .page, .work-main { padding: 16px 12px 60px; }
  .topbar-inner { padding: 12px; }
  h1 { font-size: 42px; }
  .action-tile { min-height: 300px; }
}

/* Проверика premium layer */
:root {
  --deep: #101827;
  --teal: #0e7c86;
  --teal-2: #14a6a6;
  --gold: #d6a84f;
  --violet: #6750a4;
}

.premium-nav {
  background: rgba(255, 255, 255, .9);
}

.logo-mark {
  background:
    radial-gradient(circle at 70% 20%, rgba(214, 168, 79, .95), transparent 28%),
    linear-gradient(145deg, var(--deep), var(--teal));
  box-shadow: 0 10px 28px rgba(16, 24, 39, .22);
}

.premium-page {
  max-width: 1240px;
}

.lux-hero {
  min-height: calc(100vh - 74px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, .95fr);
  align-items: center;
  gap: 42px;
  padding: 58px 0 42px;
}

.hero-copy h1 {
  max-width: 780px;
  font-size: 58px;
  line-height: 1.04;
}

.hero-copy .lead {
  margin-left: 0;
  margin-right: 0;
}

.eyebrow.dark {
  background: #111827;
  color: #fff;
  border-color: #111827;
}

.hero-actions.left {
  justify-content: flex-start;
}

.metric-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.metric-strip span {
  padding: 10px 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  font-weight: 750;
}

.metric-strip strong {
  color: var(--deep);
}

.report-visual {
  position: relative;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, .65);
  border-radius: 16px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .94), rgba(247, 250, 252, .82)),
    radial-gradient(circle at 100% 0%, rgba(14, 124, 134, .18), transparent 34%);
  box-shadow: 0 34px 90px rgba(16, 24, 39, .16);
  overflow: hidden;
}

.report-visual::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 7px;
  background: linear-gradient(90deg, var(--teal), var(--gold), var(--violet));
}

.report-glass-head,
.metric-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.gauge-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 20px 0;
}

.lux-gauge {
  min-height: 150px;
  display: grid;
  place-items: center;
  text-align: center;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(16, 24, 39, .08);
  position: relative;
}

.lux-gauge::before {
  content: "";
  width: 86px;
  height: 86px;
  border-radius: 50%;
  background: conic-gradient(var(--gauge) calc(var(--value) * 1%), #edf1f6 0);
  position: absolute;
  top: 22px;
}

.lux-gauge::after {
  content: "";
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #fff;
  position: absolute;
  top: 36px;
}

.lux-gauge span {
  position: relative;
  z-index: 1;
  margin-top: 12px;
  font-size: 22px;
  font-weight: 900;
}

.lux-gauge em {
  position: relative;
  z-index: 1;
  margin-top: 90px;
  font-style: normal;
  color: var(--muted);
  font-weight: 800;
  font-size: 12px;
}

.lux-gauge.blue { --gauge: var(--teal); }
.lux-gauge.red { --gauge: #df2f4a; }
.lux-gauge.amber { --gauge: var(--gold); }

.text-map {
  display: grid;
  gap: 8px;
  margin: 18px 0;
}

.text-map span {
  height: 12px;
  border-radius: 999px;
}

.text-map .clean { background: #dff5e7; }
.text-map .source { background: #ffe6b8; }
.text-map .ai { background: #ffd4dc; }
.text-map .review { background: #dceafe; }

.mini-fragment.luxe {
  background: #fff;
  border: 1px solid var(--line);
  border-left-color: #df2f4a;
}

.compact-section {
  padding: 46px 0;
}

.premium-cards .card {
  box-shadow: 0 22px 58px rgba(16, 24, 39, .08);
}

.cta-band {
  margin: 36px 0 70px;
  padding: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  color: #fff;
  background:
    radial-gradient(circle at 90% 20%, rgba(214, 168, 79, .32), transparent 32%),
    linear-gradient(135deg, #101827, #173f46);
  border-radius: 16px;
}

.cta-band h2 {
  max-width: 760px;
}

.page-hero {
  padding: 62px 0 26px;
  max-width: 840px;
}

.referral-band.refined {
  margin: 30px 0 70px;
}

.footer-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.auth-shell.premium-auth {
  background:
    radial-gradient(circle at 16% 18%, rgba(214, 168, 79, .22), transparent 30%),
    linear-gradient(135deg, #eef4f6, #f8fafc);
}

.auth-card.auth-split {
  width: min(980px, 100%);
  display: grid;
  grid-template-columns: .85fr 1.15fr;
}

.auth-brand-panel {
  min-height: 660px;
  padding: 30px;
  display: grid;
  align-content: space-between;
  color: #fff;
  background:
    radial-gradient(circle at 82% 16%, rgba(214, 168, 79, .38), transparent 28%),
    linear-gradient(150deg, #101827, #0e7c86);
}

.auth-brand-panel h1 {
  font-size: 42px;
  line-height: 1.08;
}

.auth-brand-panel p {
  max-width: 360px;
  color: #dce9ed;
  line-height: 1.55;
}

.auth-brand-panel .brand {
  color: #fff;
}

.auth-legal-mini {
  display: grid;
  gap: 8px;
  font-size: 12px;
}

.auth-legal-mini a {
  color: #f3d890;
  text-decoration: underline;
}

.auth-form-panel {
  display: grid;
  align-content: center;
}

.button.wide {
  width: 100%;
}

.legal-check {
  display: block;
  font-size: 12px;
  line-height: 1.45;
  color: var(--muted);
}

.legal-check input {
  margin-right: 7px;
}

.legal-check a {
  color: var(--teal);
  font-weight: 800;
}

.cookie-banner {
  position: fixed;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 100;
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 18px;
  background: rgba(255,255,255,.96);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 28px 80px rgba(16, 24, 39, .18);
  backdrop-filter: blur(14px);
}

.cookie-banner p {
  margin: 6px 0;
  color: var(--muted);
  line-height: 1.45;
}

.cookie-banner a {
  color: var(--teal);
  font-weight: 850;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.metric-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 18px;
  box-shadow: 0 18px 42px rgba(16, 24, 39, .07);
}

.report-screen .ring-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.metric-card strong {
  font-size: 28px;
}

.metric-track {
  height: 10px;
  margin: 16px 0 10px;
  overflow: hidden;
  border-radius: 999px;
  background: #edf1f6;
}

.metric-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--color);
}

.legal-page {
  max-width: 860px;
  margin: 0 auto;
  padding: 42px 18px 80px;
  line-height: 1.65;
}

.legal-page h1 {
  font-size: 44px;
  line-height: 1.12;
}

.legal-page h2 {
  margin-top: 30px;
  font-size: 24px;
  line-height: 1.2;
}

.legal-page li {
  margin: 8px 0;
}

.public-report-page {
  max-width: 1240px;
  margin: 0 auto;
  padding: 34px 18px 86px;
}

.public-report-shell {
  display: grid;
  gap: 18px;
}

.public-report-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 22px;
  align-items: stretch;
  padding: 30px;
  color: #fff;
  border-radius: 16px;
  background:
    radial-gradient(circle at 88% 18%, rgba(214, 168, 79, .34), transparent 30%),
    linear-gradient(135deg, #101827, #174852);
  box-shadow: 0 34px 90px rgba(16, 24, 39, .16);
}

.public-report-hero h1 {
  max-width: 850px;
  font-size: 44px;
  line-height: 1.08;
}

.public-report-hero .lead {
  margin-left: 0;
  color: #d9e7eb;
}

.verification-card {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 18px;
  color: var(--ink);
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 12px;
  background: rgba(255,255,255,.94);
}

.verification-card strong {
  font-size: 22px;
  word-break: break-word;
}

.public-metric-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.public-report-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.public-summary-card {
  min-height: 260px;
}

.public-fact-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}

.public-fact-row strong {
  font-size: 20px;
}

.compact-list li {
  padding: 10px;
}

.section-line-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.paragraph-map {
  display: grid;
  gap: 10px;
}

.paragraph-card {
  border: 1px solid var(--line);
  border-left: 5px solid var(--green);
  border-radius: 0 10px 10px 0;
  padding: 13px;
  background: #f3fbf6;
}

.paragraph-card > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.paragraph-card > div span {
  color: var(--muted);
  font-weight: 850;
}

.paragraph-card p {
  margin: 0;
  color: #344054;
  line-height: 1.5;
}

.paragraph-card.ai_review {
  border-left-color: #df2f4a;
  background: #fff0f3;
}

.paragraph-card.source_match {
  border-left-color: var(--gold);
  background: #fff8ea;
}

.paragraph-card.review {
  border-left-color: var(--blue);
  background: #eff5ff;
}

.public-error {
  min-height: 420px;
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 14px;
}

@media (max-width: 980px) {
  .lux-hero,
  .auth-card.auth-split,
  .cookie-banner {
    grid-template-columns: 1fr;
  }
  .public-report-hero,
  .public-metric-grid,
  .public-report-grid {
    grid-template-columns: 1fr;
  }
  .report-screen .ring-grid {
    grid-template-columns: 1fr;
  }
  .auth-brand-panel {
    min-height: 360px;
  }
  .cta-band {
    display: grid;
  }
}

@media (max-width: 560px) {
  .lux-hero {
    padding-top: 32px;
  }
  .gauge-row {
    grid-template-columns: 1fr;
  }
  .cookie-actions,
  .cookie-actions .button {
    width: 100%;
  }
}

/* Proverika design system v2 */
:root {
  --ink: #101828;
  --muted: #667085;
  --line: #e4e7ec;
  --soft: #f6f8fb;
  --paper: #ffffff;
  --blue: #155eef;
  --teal: #16888c;
  --teal-2: #1aa6a8;
  --gold: #d8b45f;
  --green: #16a064;
  --orange: #dc8a18;
  --red: #d92d20;
  --pink: #c11574;
  --deep: #0f172a;
  --shadow: 0 18px 46px rgba(15, 23, 42, .08);
  --shadow-strong: 0 30px 80px rgba(15, 23, 42, .14);
}

html {
  background: var(--soft);
}

body {
  color: var(--ink);
  background:
    linear-gradient(180deg, #f8fafc 0%, #f3f6fa 58%, #f8fafc 100%);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
p,
a,
button,
input,
textarea,
select,
summary,
td,
th {
  letter-spacing: 0;
}

h1 {
  font-size: 56px;
  line-height: 1.04;
  font-weight: 850;
}

h2 {
  font-size: 34px;
  line-height: 1.14;
  font-weight: 820;
}

h3 {
  font-size: 18px;
  line-height: 1.28;
  font-weight: 780;
}

p {
  line-height: 1.58;
}

.muted {
  color: var(--muted);
}

.fine {
  color: #7c8798;
  font-size: 12px;
  line-height: 1.45;
}

.page,
.premium-page {
  max-width: 1220px;
  padding-left: 24px;
  padding-right: 24px;
}

.topbar {
  background: rgba(255, 255, 255, .88);
  border-bottom: 1px solid rgba(228, 231, 236, .92);
  box-shadow: 0 1px 0 rgba(15, 23, 42, .02);
}

.topbar-inner {
  max-width: 1220px;
  min-height: 76px;
  padding: 0 24px;
}

.brand {
  gap: 12px;
  color: var(--ink);
  font-size: 20px;
  font-weight: 850;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: var(--deep);
  color: #fff;
  box-shadow: none;
  position: relative;
  overflow: hidden;
}

.brand-mark::after {
  content: "";
  position: absolute;
  right: 5px;
  top: 5px;
  width: 9px;
  height: 9px;
  border-radius: 3px;
  background: var(--gold);
}

.logo-mark {
  background: var(--deep);
  box-shadow: none;
}

.nav {
  gap: 28px;
  color: #475467;
  font-size: 14px;
  font-weight: 680;
}

.nav a {
  padding: 10px 0;
}

.nav a:hover {
  color: var(--ink);
}

.button {
  min-height: 44px;
  padding: 0 18px;
  border-radius: 8px;
  border-color: #d0d5dd;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 1px 1px rgba(15, 23, 42, .03);
  font-size: 14px;
  font-weight: 760;
  white-space: nowrap;
}

.button:hover {
  transform: translateY(-1px);
  border-color: #aeb8c7;
  box-shadow: 0 10px 26px rgba(15, 23, 42, .08);
}

.button.primary,
.button.blue {
  color: #fff;
  background: var(--deep);
  border-color: var(--deep);
  box-shadow: 0 12px 28px rgba(15, 23, 42, .16);
}

.button.primary:hover,
.button.blue:hover {
  background: #172033;
  border-color: #172033;
}

.button.dark {
  color: #fff;
  background: var(--teal);
  border-color: var(--teal);
  box-shadow: 0 12px 28px rgba(22, 136, 140, .18);
}

.button.danger {
  color: #fff;
  background: var(--red);
  border-color: var(--red);
}

.button.ghost {
  background: transparent;
  box-shadow: none;
}

.eyebrow {
  padding: 7px 10px;
  border-radius: 8px;
  background: #fff;
  border-color: #dbe2ea;
  color: #536071;
  font-size: 11px;
  font-weight: 820;
  text-transform: uppercase;
}

.eyebrow.dark {
  background: var(--deep);
  color: #fff;
  border-color: var(--deep);
}

.lead {
  max-width: 700px;
  color: #556273;
  font-size: 18px;
  line-height: 1.72;
}

.card,
.panel,
.faq-grid details,
.proof,
.hero-dashboard,
.modal-card,
.auth-card {
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: 0 12px 34px rgba(15, 23, 42, .05);
}

.card {
  padding: 22px;
}

.panel {
  padding: 26px;
}

.lux-hero {
  min-height: auto;
  grid-template-columns: minmax(0, .98fr) minmax(420px, .82fr);
  gap: 54px;
  padding: 74px 0 56px;
  align-items: center;
}

.hero-copy h1 {
  max-width: 740px;
  margin-top: 18px;
  font-size: 58px;
  line-height: 1.04;
  color: var(--deep);
}

.hero-copy .lead {
  margin-top: 22px;
}

.hero-actions {
  gap: 12px;
  margin-top: 28px;
}

.hero-actions.left {
  justify-content: flex-start;
}

.metric-strip {
  gap: 8px;
  margin-top: 26px;
}

.metric-strip span {
  padding: 9px 11px;
  border-radius: 8px;
  background: rgba(255,255,255,.78);
  color: #667085;
  font-size: 13px;
  box-shadow: none;
}

.metric-strip strong {
  color: var(--deep);
}

.report-visual {
  padding: 24px;
  border-radius: 8px;
  border: 1px solid #e3e8ef;
  background: #fff;
  box-shadow: var(--shadow-strong);
}

.report-visual::before {
  display: none;
}

.report-glass-head {
  min-height: 58px;
  padding: 0 16px;
  border-radius: 8px;
  background: var(--deep);
  color: #fff;
}

.pill {
  border-radius: 7px;
  font-size: 12px;
  font-weight: 760;
}

.pill.good {
  background: #e8f7ef;
  color: #087443;
}

.pill.warn {
  background: #fff3dd;
  color: #9a5b00;
}

.pill.bad {
  background: #ffeded;
  color: #b42318;
}

.pill.ai {
  background: #fdf2fa;
  color: #9e165f;
}

.gauge-row {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0;
}

.lux-gauge {
  min-height: 136px;
  display: grid;
  align-content: start;
  justify-items: start;
  gap: 12px;
  padding: 18px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #f9fafb;
  box-shadow: none;
  overflow: hidden;
}

.lux-gauge::before,
.lux-gauge::after {
  display: none;
}

.lux-gauge span {
  margin: 0;
  color: var(--deep);
  font-size: 32px;
  line-height: 1;
}

.lux-gauge em {
  margin: 0;
  color: #667085;
  font-size: 12px;
  font-weight: 760;
}

.lux-gauge::after {
  content: none;
}

.lux-gauge {
  --gauge: var(--teal);
}

.lux-gauge:has(span)::before {
  content: none;
}

.lux-gauge span::after {
  content: "";
  display: block;
  width: 88px;
  height: 7px;
  margin-top: 18px;
  border-radius: 999px;
  background: var(--teal);
}

.lux-gauge.red span::after {
  width: 34px;
  background: #df2f4a;
}

.lux-gauge.amber span::after {
  width: 46px;
  background: var(--gold);
}

.text-map {
  gap: 9px;
  margin: 18px 0;
}

.text-map span {
  height: 10px;
}

.mini-fragment.luxe {
  padding: 16px;
  border-radius: 8px;
  background: #fbfcff;
}

.audience-grid,
.feature-grid,
.pricing-grid,
.connect-grid,
.report-cards,
.public-report-grid {
  gap: 16px;
}

.audience-card,
.feature-card {
  min-height: 190px;
}

.audience-card > i,
.feature-icon {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: #eef7f7;
  color: var(--teal);
}

.feature-icon {
  display: grid;
  place-items: center;
}

.pricing-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.price-card strong {
  font-size: 36px;
  color: var(--deep);
}

.price-card.featured {
  border-color: rgba(22, 136, 140, .42);
  box-shadow: 0 20px 46px rgba(22, 136, 140, .11);
}

.cta-band,
.referral-band {
  border-radius: 8px;
  background: var(--deep);
  box-shadow: var(--shadow-strong);
}

.cta-band .button:not(.primary) {
  color: #fff;
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.22);
}

.site-footer {
  max-width: 1220px;
  padding-left: 24px;
  padding-right: 24px;
}

.auth-shell.premium-auth {
  background: linear-gradient(135deg, #f5f7fb, #eef4f6);
}

.auth-card.auth-split {
  width: min(1040px, 100%);
  border-radius: 8px;
  box-shadow: var(--shadow-strong);
}

.auth-brand-panel {
  min-height: 640px;
  padding: 34px;
  background: var(--deep);
}

.auth-brand-panel h1 {
  font-size: 42px;
  line-height: 1.08;
}

.auth-body {
  padding-left: 34px;
  padding-right: 34px;
}

.auth-head {
  padding-left: 34px;
  padding-right: 34px;
}

.auth-social {
  padding-left: 34px;
  padding-right: 34px;
  background: #f8fafc;
}

.tab {
  border-radius: 8px;
  min-height: 44px;
}

.tab.active {
  background: var(--deep);
  border-color: var(--deep);
}

.input,
.textarea,
.select {
  border-color: #cfd7e3;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 1px 0 rgba(15, 23, 42, .02);
}

.input,
.select {
  min-height: 46px;
}

.input:focus,
.textarea:focus,
.select:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(22, 136, 140, .12);
}

.workspace {
  grid-template-columns: 330px minmax(0, 1fr);
  background: #f7f9fc;
}

.side {
  background: #fff;
}

.work-main {
  padding: 32px;
  background: #f7f9fc;
}

.work-head h1 {
  font-size: 36px;
  line-height: 1.14;
}

.upload-grid {
  min-height: 360px;
  gap: 18px;
}

.action-tile {
  min-height: 360px;
  border-radius: 8px;
  background: #fff;
  border-color: #dfe5ee;
  box-shadow: 0 14px 36px rgba(15, 23, 42, .05);
}

.action-tile:hover {
  transform: translateY(-2px);
  border-color: rgba(22, 136, 140, .45);
  box-shadow: 0 20px 50px rgba(15, 23, 42, .08);
}

.action-icon {
  width: 70px;
  height: 70px;
  border-radius: 8px;
  background: var(--deep);
}

.notice {
  border-radius: 8px;
  background: #fff4ed;
  color: #b54708;
}

.report-screen {
  gap: 18px;
}

.report-top {
  padding: 20px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line);
}

.report-top h2 {
  font-size: 28px;
}

.report-screen .ring-grid,
.ring-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.metric-card {
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(15, 23, 42, .05);
}

.metric-card strong {
  font-size: 26px;
}

.metric-track {
  height: 8px;
}

.source-card {
  border-radius: 8px;
}

.source-card .source-link.button {
  display: inline-flex;
}

.fragment {
  border-radius: 0 8px 8px 0;
}

.admin-layout {
  background: #f7f9fc;
}

.admin-side {
  background: var(--deep);
}

.admin-main {
  padding: 30px;
}

.table-wrap {
  box-shadow: 0 12px 34px rgba(15, 23, 42, .05);
}

.public-report-page {
  max-width: 1220px;
}

.public-report-hero {
  grid-template-columns: minmax(0, 1fr) 310px;
  border-radius: 8px;
  background: var(--deep);
  box-shadow: var(--shadow-strong);
}

.public-report-hero h1 {
  font-size: 44px;
  line-height: 1.08;
}

.verification-card {
  border-radius: 8px;
}

.public-metric-grid {
  gap: 14px;
}

.paragraph-card {
  border-radius: 0 8px 8px 0;
}

.cookie-banner {
  border-radius: 8px;
  box-shadow: var(--shadow-strong);
}

@media (max-width: 1180px) {
  .pricing-grid,
  .report-screen .ring-grid,
  .ring-grid,
  .public-metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  h1,
  .hero-copy h1 {
    font-size: 40px;
    line-height: 1.08;
  }

  h2 {
    font-size: 30px;
  }

  .lux-hero,
  .auth-card.auth-split,
  .public-report-hero {
    grid-template-columns: 1fr;
  }

  .auth-brand-panel {
    min-height: 330px;
  }

  .work-main,
  .admin-main {
    padding: 22px;
  }

  .topbar-inner {
    min-height: 68px;
  }
}

@media (max-width: 640px) {
  .page,
  .premium-page,
  .public-report-page {
    padding-left: 16px;
    padding-right: 16px;
  }

  h1,
  .hero-copy h1,
  .public-report-hero h1,
  .legal-page h1 {
    font-size: 34px;
    line-height: 1.1;
  }

  h2 {
    font-size: 26px;
  }

  .lead {
    font-size: 16px;
  }

  .button {
    width: 100%;
    white-space: normal;
  }

  .hero-actions,
  .hero-actions.left {
    display: grid;
    grid-template-columns: 1fr;
  }

  .pricing-grid,
  .report-screen .ring-grid,
  .ring-grid,
  .public-metric-grid,
  .gauge-row {
    grid-template-columns: 1fr;
  }

  .report-top,
  .section-line-head,
  .site-footer {
    display: grid;
    align-items: start;
  }
}
