:root {
  color-scheme: dark;
  --ink-900: #f2f6ff;
  --ink-700: #b7c4dc;
  --ink-500: #8190ac;
  --line: rgba(140, 165, 210, 0.16);
  --line-strong: rgba(140, 165, 210, 0.28);
  --paper: #070b16;
  --surface-strong: rgba(255, 255, 255, 0.05);
  --surface-muted: rgba(255, 255, 255, 0.03);
  --panel: rgba(17, 24, 42, 0.72);
  --panel-solid: #121a2e;
  --accent: #5b9bff;
  --accent-strong: #3f82f6;
  --accent-soft: rgba(91, 155, 255, 0.14);
  --teal: #34e0c4;
  --warn: #ffb267;
  --good: #4fe0a0;
  --bad: #ff8b8b;
  --ring: rgba(91, 155, 255, 0.4);
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --shadow-strong: 0 30px 70px rgba(0, 0, 0, 0.55);
  --shadow-soft: 0 18px 44px rgba(0, 0, 0, 0.4);
  --glow: 0 0 0 1px rgba(91, 155, 255, 0.25), 0 18px 50px rgba(40, 90, 200, 0.3);
  font-family: "Space Grotesk", "Manrope", "Avenir Next", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  margin: 0;
  min-height: 100vh;
  color: var(--ink-900);
  background:
    radial-gradient(1200px 620px at 8% -8%, rgba(63, 130, 246, 0.22) 0%, transparent 60%),
    radial-gradient(1000px 520px at 100% 0%, rgba(52, 224, 196, 0.16) 0%, transparent 55%),
    radial-gradient(900px 600px at 50% 120%, rgba(120, 90, 255, 0.14) 0%, transparent 60%),
    linear-gradient(180deg, #060912 0%, #080d1b 50%, #060911 100%);
  background-attachment: fixed;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image: linear-gradient(rgba(120, 160, 230, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 160, 230, 0.05) 1px, transparent 1px);
  background-size: 30px 30px;
  mask-image: radial-gradient(circle at 50% 18%, black 12%, transparent 72%);
  opacity: 0.6;
}

main,
.site-header,
.site-footer {
  position: relative;
  z-index: 1;
}

a {
  color: inherit;
}

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

h1 {
  max-width: 860px;
  margin-bottom: 18px;
  font-size: clamp(2.1rem, 4.7vw, 5rem);
  line-height: 0.96;
  letter-spacing: -0.03em;
  text-wrap: balance;
  background: linear-gradient(180deg, #ffffff 0%, #bcd0f5 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

h2 {
  margin-bottom: 10px;
  font-size: clamp(1.58rem, 3vw, 2.38rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 24;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 74px;
  padding: 13px clamp(18px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
  background: rgba(8, 12, 24, 0.72);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(22px) saturate(140%);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 780;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 11px;
  color: #fff;
  background: linear-gradient(145deg, var(--accent) 0%, var(--teal) 100%);
  box-shadow: 0 8px 22px rgba(63, 130, 246, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  font-size: 0.86rem;
  font-weight: 800;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--ink-900);
  box-shadow: none;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 130ms ease;
}

.nav-toggle:hover {
  background: rgba(42, 126, 247, 0.09);
  box-shadow: none;
  transform: none;
  filter: none;
}

.nav-links a,
.lang-switch a {
  text-decoration: none;
}

.nav-links > a {
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--ink-700);
  font-weight: 670;
}

.nav-links > a:hover {
  color: var(--ink-900);
  background: rgba(91, 155, 255, 0.16);
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
}

.lang-switch a {
  min-width: 34px;
  padding: 6px 8px;
  border-radius: 999px;
  text-align: center;
  font-weight: 720;
  color: var(--ink-500);
}

.lang-switch a[aria-current="true"] {
  color: #fff;
  background: linear-gradient(140deg, var(--accent) 0%, var(--accent-strong) 100%);
  box-shadow: 0 4px 14px rgba(63, 130, 246, 0.4);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 500px);
  gap: clamp(24px, 6vw, 64px);
  align-items: start;
  padding: clamp(46px, 8vw, 88px) clamp(18px, 5vw, 72px) 54px;
}

.hero-copy {
  max-width: 760px;
  padding: clamp(26px, 3vw, 34px);
  border: 1px solid var(--line-strong);
  border-radius: calc(var(--radius-lg) + 4px);
  background:
    linear-gradient(160deg, rgba(30, 42, 72, 0.6) 0%, rgba(14, 20, 38, 0.6) 100%);
  box-shadow: var(--shadow-strong), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(18px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  padding: 6px 13px;
  border-radius: 999px;
  border: 1px solid rgba(91, 155, 255, 0.36);
  color: #bcd4ff;
  background: rgba(91, 155, 255, 0.12);
  font-size: 0.78rem;
  font-weight: 780;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 10px var(--teal);
}

.subtitle {
  max-width: 700px;
  color: var(--ink-700);
  font-size: clamp(1rem, 1.7vw, 1.22rem);
  line-height: 1.65;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0 16px;
}

.button,
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(140deg, var(--accent) 0%, var(--accent-strong) 100%);
  box-shadow: 0 10px 26px rgba(40, 90, 200, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  font: inherit;
  font-weight: 730;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 130ms ease, box-shadow 130ms ease, filter 130ms ease;
}

.button:hover,
button:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 34px rgba(63, 130, 246, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  filter: brightness(1.06);
}

.button.secondary,
button.secondary {
  border-color: var(--line-strong);
  color: var(--ink-900);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: none;
  backdrop-filter: blur(8px);
}

.button.secondary:hover,
button.secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  box-shadow: none;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

:where(a, button, input, select, textarea):focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.trust {
  color: var(--ink-500);
  font-size: 0.95rem;
}

.signal-board {
  display: grid;
  gap: 12px;
  padding: 24px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(166deg, rgba(34, 48, 84, 0.7) 0%, rgba(13, 19, 36, 0.78) 100%);
  box-shadow: var(--shadow-strong), inset 0 1px 0 rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(18px);
}

.signal-board-title {
  margin: 0 0 4px;
  color: var(--ink-700);
  font-size: 0.86rem;
  font-weight: 760;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.signal-row {
  display: grid;
  grid-template-columns: 122px 1fr 56px;
  gap: 12px;
  align-items: center;
  padding: 9px 0;
  border-bottom: 1px solid rgba(140, 165, 210, 0.1);
  font-size: 0.9rem;
}

.signal-row:last-child {
  border-bottom: 0;
}

.bar {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.4);
}

.bar span {
  display: block;
  width: var(--value);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent) 0%, var(--teal) 100%);
  box-shadow: 0 0 12px rgba(52, 224, 196, 0.5);
}

.section {
  padding: 44px clamp(18px, 5vw, 72px);
  max-width: 1240px;
  margin: 0 auto;
}

.section-head {
  margin-bottom: 18px;
}

.section-head h2 {
  display: inline-block;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid rgba(91, 155, 255, 0.4);
}

.section-head p {
  margin-bottom: 0;
  max-width: 780px;
  color: var(--ink-700);
  line-height: 1.65;
}

.audit-grid {
  display: grid;
  grid-template-columns: minmax(280px, 430px) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.audit-form,
.results-panel,
.method-step,
.ad-slot,
.contact-form,
.legal-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--panel);
  box-shadow: var(--shadow-soft), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(16px);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.audit-form,
.results-panel,
.contact-form,
.legal-panel {
  padding: 22px;
}

.audit-form {
  position: sticky;
  top: 94px;
}

label {
  display: grid;
  gap: 7px;
  margin-bottom: 14px;
  color: var(--ink-700);
  font-size: 0.92rem;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 13px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  color: var(--ink-900);
  background: rgba(8, 12, 24, 0.55);
  font: inherit;
  transition: border-color 130ms ease, box-shadow 130ms ease, background 130ms ease;
}

select option {
  background: var(--panel-solid);
  color: var(--ink-900);
}

input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  border-color: var(--accent);
  background: rgba(8, 12, 24, 0.75);
  box-shadow: 0 0 0 4px var(--ring);
  outline: none;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

input::placeholder,
textarea::placeholder {
  color: #6b7b96;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.score-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border-radius: var(--radius-md);
  color: #fff;
  background: linear-gradient(140deg, var(--accent-strong) 0%, var(--teal) 100%);
  box-shadow: 0 14px 36px rgba(40, 120, 200, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.score-box strong {
  font-size: 1.6rem;
}

.result-list,
.prompt-list,
.source-list {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.result-item,
.prompt-list li,
.source-list li,
.empty {
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.035);
}

.result-item {
  display: flex;
  justify-content: space-between;
  gap: 14px;
}

.result-item span {
  display: block;
  margin-top: 4px;
  color: var(--ink-700);
  line-height: 1.5;
}

.result-item--weak {
  border-left: 3px solid var(--warn);
}

.result-item--weak b {
  color: var(--warn);
}

.result-item--medium {
  border-left: 3px solid #ffd66b;
}

.result-item--medium b {
  color: #ffd66b;
}

.result-item--strong {
  border-left: 3px solid var(--good);
}

.result-item--strong b {
  color: var(--good);
}

.prompt-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.prompt-list button {
  min-height: 36px;
  padding: 0 12px;
}

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

.method-step {
  padding: 20px;
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
}

.method-step h3 {
  color: var(--ink-900);
}

.method-step p {
  color: var(--ink-700);
  line-height: 1.55;
}

.method-step:hover,
.result-item:hover,
.prompt-list li:hover,
.source-list li:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
}

.monetization {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 350px);
  gap: 26px;
  align-items: center;
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(600px 300px at 0% 0%, rgba(52, 224, 196, 0.12) 0%, transparent 60%),
    linear-gradient(145deg, rgba(34, 48, 84, 0.7) 0%, rgba(13, 19, 36, 0.78) 100%);
  box-shadow: var(--shadow-strong), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(18px);
}

.ad-slot {
  display: grid;
  min-height: 160px;
  place-items: center;
  border-style: dashed;
  color: var(--ink-500);
  font-weight: 800;
  text-align: center;
}

.affiliate-note {
  max-width: 680px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.affiliate-note a {
  color: #9ec1ff;
  font-weight: 780;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 16px 0 20px;
}

.pricing-features li {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(140, 165, 210, 0.12);
  color: var(--ink-700);
  font-size: 0.97rem;
  line-height: 1.5;
}

.pricing-features li:last-child {
  border-bottom: 0;
}

.pricing-features li::before {
  content: "✓";
  flex-shrink: 0;
  color: var(--good);
  font-weight: 800;
}

.onboarding-hint {
  margin-bottom: 18px;
  padding: 16px;
  border: 1px solid rgba(91, 155, 255, 0.3);
  border-radius: var(--radius-md);
  background: linear-gradient(160deg, rgba(91, 155, 255, 0.1) 0%, rgba(52, 224, 196, 0.07) 100%);
}

.onboarding-hint h4 {
  margin: 0 0 8px;
  font-size: 0.88rem;
  font-weight: 760;
  color: #bcd4ff;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.onboarding-hint ol {
  margin: 0 0 12px;
  padding-left: 18px;
  color: var(--ink-700);
  font-size: 0.88rem;
  line-height: 1.65;
}

.onboarding-hint button {
  min-height: 34px;
  padding: 0 14px;
  font-size: 0.86rem;
}

.legal-panel section + section {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.legal-panel section h2 {
  margin: 0 0 8px;
  font-size: 1rem;
  font-weight: 720;
  color: var(--ink-900);
}

.legal-panel p {
  margin: 0 0 8px;
  color: var(--ink-700);
  line-height: 1.68;
}

.legal-panel p:last-child {
  margin-bottom: 0;
}

.contact-page {
  max-width: 860px;
  margin: 0 auto;
}

.legal-page {
  max-width: 860px;
  margin: 0 auto;
}

.legal-panel p {
  margin: 0;
  color: var(--ink-700);
  line-height: 1.68;
}

.contact-page > p:last-child a {
  display: inline-flex;
  margin-top: 14px;
  color: #9ec1ff;
  font-weight: 730;
  text-decoration-thickness: 2px;
}

#contact-feedback {
  margin-top: 12px;
  font-weight: 670;
}

.form-success {
  color: var(--good);
}

.form-error {
  color: var(--bad);
}

.consent-banner {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  display: grid;
  max-width: min(420px, calc(100vw - 36px));
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  background: rgba(17, 24, 42, 0.94);
  box-shadow: var(--shadow-strong);
  backdrop-filter: blur(18px);
}

.consent-banner[hidden] {
  display: none;
}

.consent-banner p {
  margin: 0;
  color: var(--ink-700);
  line-height: 1.5;
}

.consent-banner div {
  display: flex;
  gap: 10px;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px;
  padding: 34px clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--ink-700);
  background: linear-gradient(180deg, rgba(10, 15, 28, 0.6) 0%, rgba(6, 9, 18, 0.9) 100%);
}

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

.footer-links a {
  text-decoration: none;
  font-weight: 640;
}

.footer-links a:hover {
  color: #9ec1ff;
}

/* ─── Ad slots ─────────────────────────────────────────────────────────────── */
.ad-slot-block {
  width: 100%;
  margin: 24px 0;
  min-height: 90px;
  border-radius: var(--radius-md);
  border: 1px dashed rgba(91, 155, 255, 0.18);
  background: rgba(255, 255, 255, 0.022);
  overflow: hidden;
}

.ad-slot-block .adsbygoogle {
  min-width: 250px;
  background: transparent;
}

.ad-slot-aside {
  display: block;
  width: 100%;
  min-height: 160px;
  border: 1px dashed rgba(91, 155, 255, 0.25);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.025);
  overflow: hidden;
}

.ad-slot-aside .ad-slot-block {
  margin: 0;
  height: 100%;
  display: grid;
  place-items: center;
}

/* ─── Content pages (Guides / FAQ / Glossary) ──────────────────────────────── */
.content-page {
  max-width: 900px;
  margin: 0 auto;
}

.page-intro {
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 2px solid rgba(39, 111, 198, 0.15);
}

.page-intro .subtitle {
  margin-bottom: 0;
}

/* Guides */
.guides-grid {
  display: grid;
  gap: 24px;
  margin-top: 28px;
}

.guide-section {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--panel);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(16px);
  transition: transform 150ms ease, box-shadow 150ms ease, border-color 150ms ease;
}

.guide-section:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-strong);
}

.guide-section h2 {
  margin-bottom: 12px;
  font-size: 1.12rem;
  color: #9ec1ff;
}

.guide-section p {
  color: var(--ink-700);
  line-height: 1.65;
}

.guide-checklist {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.guide-checklist li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 9px 13px;
  border-radius: var(--radius-sm);
  background: rgba(91, 155, 255, 0.08);
  border: 1px solid rgba(91, 155, 255, 0.14);
  color: var(--ink-700);
  font-size: 0.93rem;
  line-height: 1.5;
}

.guide-checklist li::before {
  content: "✓";
  flex-shrink: 0;
  color: var(--good);
  font-weight: 800;
}

.content-cta {
  margin-top: 40px;
  padding: 32px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(500px 250px at 50% 0%, rgba(52, 224, 196, 0.12) 0%, transparent 60%),
    linear-gradient(145deg, rgba(34, 48, 84, 0.7) 0%, rgba(13, 19, 36, 0.78) 100%);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(16px);
  text-align: center;
}

.content-cta h2 {
  margin-bottom: 10px;
  font-size: 1.3rem;
}

.content-cta p {
  max-width: 600px;
  margin: 0 auto 18px;
  color: var(--ink-700);
}

/* FAQ */
.faq-list {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.faq-item {
  padding: 22px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--panel);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(16px);
  transition: transform 150ms ease, border-color 150ms ease;
}

.faq-item:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
}

.faq-q {
  margin-bottom: 10px;
  font-size: 1.05rem;
  color: var(--ink-900);
}

.faq-a {
  margin: 0;
  color: var(--ink-700);
  line-height: 1.65;
}

/* Glossary */
.glossary-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.glossary-entry {
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--panel);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(16px);
  transition: transform 150ms ease, border-color 150ms ease;
}

.glossary-entry:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
}

.glossary-entry dt {
  margin-bottom: 8px;
  font-weight: 760;
  font-size: 0.97rem;
  color: #9ec1ff;
  letter-spacing: -0.01em;
}

.glossary-entry dd {
  margin: 0;
  color: var(--ink-700);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ─── Account badge / login (header) ─────────────────────────────────────────── */
.nav-login {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  color: var(--ink-900);
  background: rgba(255, 255, 255, 0.05);
  font-weight: 700;
  text-decoration: none;
}

.nav-login:hover {
  background: rgba(91, 155, 255, 0.16);
}

.account-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 5px 12px 5px 6px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.05);
  color: var(--ink-900);
  font-weight: 700;
  text-decoration: none;
}

.account-badge:hover {
  box-shadow: var(--shadow-soft);
}

.account-badge[hidden] {
  display: none;
}

.account-avatar {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(145deg, var(--accent) 0%, var(--teal) 100%);
  box-shadow: 0 0 12px rgba(63, 130, 246, 0.5);
  font-size: 0.78rem;
  font-weight: 800;
}

.account-name {
  max-width: 140px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ─── Auth pages (login / register / reset) ──────────────────────────────────── */
.auth-page {
  max-width: 520px;
  margin: 0 auto;
}

.auth-card,
.account-card {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--panel);
  box-shadow: var(--shadow-soft), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(18px);
}

.auth-form {
  display: grid;
  gap: 4px;
  margin-top: 8px;
}

.field-hint {
  display: block;
  margin-top: 4px;
  color: var(--ink-500);
  font-weight: 500;
  font-size: 0.82rem;
}

.field-static {
  margin: 6px 0 4px;
  color: var(--ink-700);
  font-size: 0.92rem;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 22px 0 16px;
  color: var(--ink-500);
  font-size: 0.85rem;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.google-btn {
  display: inline-flex;
  gap: 10px;
  width: 100%;
}

.auth-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 20px;
  font-size: 0.9rem;
}

.auth-links a {
  color: #9ec1ff;
  font-weight: 700;
  text-decoration: none;
}

.auth-alert {
  margin: 12px 0;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-weight: 650;
}

.auth-alert[hidden] {
  display: none;
}

.auth-alert--error {
  color: var(--bad);
  background: rgba(255, 139, 139, 0.1);
  border: 1px solid rgba(255, 139, 139, 0.25);
}

.auth-alert--ok {
  color: var(--good);
  background: rgba(79, 224, 160, 0.1);
  border: 1px solid rgba(79, 224, 160, 0.25);
}

/* ─── Account / admin pages ──────────────────────────────────────────────────── */
.account-page {
  max-width: 920px;
  margin: 0 auto;
  display: grid;
  gap: 22px;
}

.account-page > h1 {
  margin-bottom: 0;
}

.account-card h2 {
  margin-bottom: 14px;
  font-size: 1.15rem;
}

.account-card--danger {
  border-color: rgba(171, 62, 62, 0.3);
}

.account-actions {
  flex-wrap: wrap;
}

.danger-btn {
  color: #fff;
  background: linear-gradient(140deg, #c0392b 0%, #a33124 100%);
  box-shadow: none;
}

.account-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.account-table th,
.account-table td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.account-table th {
  color: var(--ink-700);
  font-weight: 730;
}

.account-table .empty-cell {
  color: var(--ink-500);
  text-align: center;
  padding: 20px;
}

.order-status {
  margin: 0 0 14px;
  color: var(--ink-700);
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 14px;
}

.admin-stats .stat {
  display: grid;
  gap: 4px;
  padding: 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(91, 155, 255, 0.12) 0%, rgba(52, 224, 196, 0.06) 100%);
}

.admin-stats .stat strong {
  font-size: 1.7rem;
  color: #9ec1ff;
}

.admin-stats .stat span {
  color: var(--ink-700);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.save-audit-feedback {
  margin-top: 10px;
  color: var(--good);
  font-weight: 650;
}

.save-audit-feedback[hidden] {
  display: none;
}

@media (max-width: 960px) {
  .hero,
  .audit-grid,
  .monetization {
    grid-template-columns: 1fr;
  }

  .signal-board {
    max-width: 620px;
  }

  .audit-form {
    position: static;
  }
}

@media (max-width: 760px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: 74px;
    left: 0;
    right: 0;
    z-index: 23;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px 20px 20px;
    border-bottom: 1px solid var(--line);
    background: rgba(246, 250, 255, 0.98);
    backdrop-filter: blur(22px);
    box-shadow: 0 8px 24px rgba(16, 35, 61, 0.1);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links > a {
    padding: 10px 14px;
    border-radius: var(--radius-sm);
  }

  .lang-switch {
    margin-top: 8px;
    align-self: flex-start;
  }
}

@media (max-width: 560px) {
  h1 {
    font-size: clamp(1.84rem, 8vw, 3rem);
  }

  .signal-row {
    grid-template-columns: 1fr;
  }

  .form-actions,
  .result-item,
  .prompt-list li {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: stretch;
  }
}
