/* ==============================================================================
   KORVENIUM LENS — Korvenium HQ marka temasından (style.css :root, BRAND.md)
   Krem zemin, mürekkep metin, kobalt idareli: bir ekranda az yerde.
   ============================================================================== */

:root {
  --bg-page: #F4EEE2;
  --bg-card: #FBF8F1;
  --bg-subtle: #EFE7D8;
  --bg-hover: #EAE1CF;

  --text-main: #1C1A17;
  --text-muted: #5E574C;
  --text-faint: #6F675A;

  --accent: #2F4BD6;
  --accent-hover: #2439A8;

  --border: #E4DCCB;
  --border-focus: #CFC4AE;
  --border-light: #DDD3BF;

  /* Durum renkleri: HQ'da zaten kullanılan değerler (hata #A3261B, yeşil #3E9B5F, altın #F2B544) */
  --st-fail: #A3261B;
  --st-warn: #F2B544;
  --st-pass: #3E9B5F;

  --font-display: 'Bricolage Grotesque', 'Helvetica Neue', sans-serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --max-w: 1040px;
  --radius: 12px;
  --transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-page);
  color: var(--text-main);
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-sans);
  line-height: 1.65;
  background-color: var(--bg-page);
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
}

main { flex: 1; }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

[hidden] { display: none !important; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--text-main);
  color: var(--bg-page);
  border-radius: var(--radius);
  font-size: 14px;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

a { color: inherit; }

:where(a, button, input, summary, pre):focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

[tabindex="-1"]:focus { outline: none; }

/* ------------------------------------------------------------------------------
   Üst menü
   ------------------------------------------------------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 238, 226, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand { display: flex; align-items: center; gap: 10px; }

/* Kelime markası — korvenium-brand-kit/web/korvenium-wordmark.html'den aynen */
.kv-logo{display:inline-flex;align-items:center;font-family:"Bricolage Grotesque","Helvetica Neue",sans-serif;font-weight:700;letter-spacing:-0.03em;line-height:1;color:#1C1A17;--kv-human:#2F4BD6;text-decoration:none}
.kv-logo.kv-light{color:#F4EEE2}
.kv-logo .kv-o{width:.69em;height:.69em;margin:.16em .05em 0;flex-shrink:0}
.kv-logo .kv-o .kv-agents{fill:currentColor}.kv-logo .kv-o .kv-human{fill:var(--kv-human)}

.brand-link { font-size: 26px; }

.badge-beta {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 2px 8px;
  border-radius: 6px;
  background: var(--bg-subtle);
  color: var(--text-muted);
  border: 1px solid var(--border);
  vertical-align: middle;
  line-height: 1.4;
  text-decoration: none;
  transition: var(--transition);
}
a.badge-beta:hover { border-color: var(--border-focus); color: var(--text-main); }

.header-link {
  font-size: 13.5px;
  color: var(--text-muted);
  text-decoration: none;
  white-space: nowrap;
  transition: var(--transition);
}
.header-link:hover { color: var(--text-main); }

/* ------------------------------------------------------------------------------
   Ortak parçalar
   ------------------------------------------------------------------------------ */
.view { padding: 64px 0 96px; }

.block-tag {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.view-title,
.hero-title,
.block-title {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text-main);
  text-wrap: balance;
}

.view-title { font-size: clamp(2rem, 4.4vw, 3rem); line-height: 1.12; margin-bottom: 14px; }
.block-title { font-size: clamp(1.5rem, 2.6vw, 1.9rem); line-height: 1.2; margin-bottom: 18px; }

.view-lede {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 620px;
  margin-bottom: 28px;
  overflow-wrap: anywhere;
}

.btn-primary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--text-main);
  color: var(--bg-page);
  text-decoration: none;
  padding: 12px 26px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  transition: var(--transition);
  border: 1px solid var(--text-main);
  font-family: var(--font-sans);
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary-action:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-1px);
}
.btn-primary-action:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }

.btn-quiet-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--text-main);
  text-decoration: none;
  padding: 12px 22px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  font-family: var(--font-sans);
  border: 1px solid var(--border-focus);
  transition: var(--transition);
  cursor: pointer;
  white-space: nowrap;
}
.btn-quiet-action:hover { background: var(--bg-card); border-color: var(--text-muted); }

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

.field-hint {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-faint);
  margin: 14px 0 20px;
}

/* ------------------------------------------------------------------------------
   1. Giriş
   ------------------------------------------------------------------------------ */
.view-intro { padding-top: 88px; }

.hero-title {
  font-size: clamp(2.5rem, 6.4vw, 4.9rem);
  line-height: 1.06;
  max-width: 880px;
  margin-bottom: 24px;
}
.hero-title .hl { color: var(--accent); }

.hero-lede {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 640px;
  margin-bottom: 40px;
}

.scan-form { max-width: 680px; }

.field-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.scan-row { display: flex; gap: 12px; }

.scan-row input {
  flex: 1;
  min-width: 0;
  height: 52px;
  padding: 0 18px;
  font-family: var(--font-mono);
  font-size: 15px;
  color: var(--text-main);
  background: var(--bg-card);
  border: 1px solid var(--border-focus);
  border-radius: var(--radius);
  transition: var(--transition);
}
.scan-row input::placeholder { color: var(--text-faint); opacity: 0.75; }
.scan-row input:hover { border-color: var(--text-muted); }
.scan-row input[aria-invalid="true"] { border-color: var(--st-fail); }
.scan-row .btn-primary-action { height: 52px; padding: 0 28px; font-size: 15px; }

.field-error {
  margin-top: 10px;
  font-size: 14px;
  color: var(--st-fail);
  font-weight: 500;
}

.turnstile-slot { margin-top: 12px; }
.turnstile-slot:empty { margin-top: 0; }
.field-wait { margin: 10px 0 0; color: var(--text-muted); }

.measure { margin-top: 88px; padding-top: 28px; border-top: 1px solid var(--border); }

.measure-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.measure-grid li { padding-top: 14px; border-top: 2px solid var(--text-main); }
.measure-w {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-faint);
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}
.measure-grid h2 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.25;
  margin-bottom: 6px;
}
.measure-grid p { font-size: 14px; line-height: 1.55; color: var(--text-muted); }

/* ------------------------------------------------------------------------------
   Puan halkası (özel ölçek: 60 çentik, uç çentik kobalt)
   ------------------------------------------------------------------------------ */
.dial {
  position: relative;
  width: var(--dial, 240px);
  aspect-ratio: 1;
  flex-shrink: 0;
}
.dial svg { width: 100%; height: 100%; display: block; overflow: visible; }

.dial .tick {
  stroke: var(--border-light);
  stroke-width: 3;
  stroke-linecap: round;
  transition: stroke 0.3s ease calc(var(--i) * 14ms);
}
.dial .tick.on { stroke: var(--text-main); }
.dial .tick.mark { stroke: var(--accent); }

.dial-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.dial-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: calc(var(--dial, 240px) * 0.3);
  letter-spacing: -0.05em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.dial-sub {
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ------------------------------------------------------------------------------
   2. İlerleme
   ------------------------------------------------------------------------------ */
.progress-layout {
  display: flex;
  align-items: center;
  gap: 56px;
  margin: 12px 0 8px;
}
.progress-dial { --dial: 220px; }

.steps { list-style: none; display: grid; gap: 14px; flex: 1; max-width: 460px; }
.step {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1rem;
  color: var(--text-faint);
  transition: color 0.3s ease;
}
.step-mark {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  display: grid;
  place-content: center;
  border-radius: 50%;
  border: 1.5px solid var(--border-focus);
  font-size: 12px;
  line-height: 1;
  color: var(--bg-page);
  transition: var(--transition);
}
.step[data-state="done"] { color: var(--text-muted); }
.step[data-state="done"] .step-mark { background: var(--text-main); border-color: var(--text-main); }
.step[data-state="active"] { color: var(--text-main); font-weight: 600; }
.step[data-state="active"] .step-mark { border-color: var(--accent); animation: lens-pulse 1.6s ease-in-out infinite; }
.step[data-state="active"] .step-mark::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

@keyframes lens-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(47, 75, 214, 0.4); }
  50% { box-shadow: 0 0 0 6px rgba(47, 75, 214, 0); }
}

/* Hata / 404 / yükleniyor */
.view-message { padding-top: 96px; }

/* ------------------------------------------------------------------------------
   3. Rapor
   ------------------------------------------------------------------------------ */
.view-report { padding-top: 48px; }

.report-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding-bottom: 32px;
}
.report-host {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 3.2rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
  overflow-wrap: anywhere;
}
.report-host a { text-decoration: none; }
.report-host a:hover { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.report-meta {
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-faint);
  letter-spacing: 0.02em;
}

.score-card {
  display: flex;
  gap: 56px;
  align-items: center;
  padding: 40px 44px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.score-dial { --dial: 248px; }

.score-side { flex: 1; min-width: 0; }
.verdict {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 6px;
  text-wrap: balance;
}
.tally {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  margin-bottom: 26px;
}

.cats { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 22px 36px; }
.cat-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.cat-name { font-weight: 600; font-size: 14.5px; }
.cat-score {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.cat-bar { height: 4px; border-radius: 4px; background: var(--border); margin: 6px 0 7px; overflow: hidden; }
.cat-bar span { display: block; height: 100%; width: var(--v, 0%); background: var(--text-main); border-radius: 4px; }
.cat-weight { font-family: var(--font-mono); font-size: 11px; color: var(--text-faint); letter-spacing: 0.04em; }

.report-section { margin-top: 72px; }

/* Yapay zekâ özeti */
.ai-card {
  position: relative;
  padding: 44px 48px 36px;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.ai-quote { margin: 0 0 28px; }
.ai-quote blockquote { position: relative; padding-left: 0; }
.ai-quote blockquote::before {
  content: "\201C";
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 4.5rem;
  line-height: 0.7;
  height: 34px;
  color: var(--accent);
}
.ai-quote p {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.3rem, 2.5vw, 1.75rem);
  line-height: 1.38;
  letter-spacing: -0.015em;
  max-width: 760px;
  overflow-wrap: anywhere;
}
.ai-quote figcaption {
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-faint);
  letter-spacing: 0.03em;
}
.ai-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 40px; padding-top: 24px; border-top: 1px solid var(--border-light); }
.ai-facts dt {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.ai-facts dd { font-size: 15.5px; line-height: 1.55; overflow-wrap: anywhere; }
.ai-facts dd.is-empty { color: var(--text-faint); font-style: italic; }
.ai-note { margin-top: 24px; font-size: 13.5px; color: var(--text-muted); max-width: 680px; }
.ai-card--quiet { padding: 28px 32px; }
.ai-card--quiet p { color: var(--text-muted); max-width: 640px; }

/* Bulgular */
.findings-intro { font-size: 14.5px; color: var(--text-muted); max-width: 680px; margin-bottom: 8px; }

.cat-group { margin-top: 44px; }
.group-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 12px;
  margin-bottom: 18px;
  border-bottom: 2px solid var(--text-main);
}
.group-head h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.group-head span {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
  white-space: nowrap;
}
.group-clean { font-size: 14.5px; color: var(--text-muted); margin-bottom: 14px; }

.finding-list { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }

.finding {
  padding: 24px 28px 26px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.finding--fail { box-shadow: inset 4px 0 0 var(--st-fail); }
.finding--warn { box-shadow: inset 4px 0 0 var(--st-warn); }

.finding-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.finding h4 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.3;
  margin-bottom: 14px;
  overflow-wrap: anywhere;
}
.finding-label {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin: 16px 0 4px;
}
.finding-text { font-size: 15px; line-height: 1.6; overflow-wrap: anywhere; white-space: pre-line; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1;
  padding: 4px 10px 4px 5px;
  border-radius: 999px;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  color: var(--text-main);
  white-space: nowrap;
}
.pill-glyph {
  width: 16px;
  height: 16px;
  display: grid;
  place-content: center;
  border-radius: 50%;
  font-size: 10px;
  font-weight: 700;
  color: var(--bg-card);
  background: var(--text-faint);
}
.pill--fail .pill-glyph { background: var(--st-fail); }
.pill--warn .pill-glyph { background: var(--st-warn); color: var(--text-main); }
.pill--pass .pill-glyph { background: var(--st-pass); }

.evidence {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  white-space: nowrap;
}
.evidence-bars { display: inline-flex; align-items: flex-end; gap: 2px; height: 11px; }
.evidence-bars i { width: 3px; border-radius: 1px; background: var(--border-focus); }
.evidence-bars i:nth-child(1) { height: 5px; }
.evidence-bars i:nth-child(2) { height: 8px; }
.evidence-bars i:nth-child(3) { height: 11px; }
.evidence-bars i.on { background: var(--text-main); }

/* Hazır kod / metin */
.fix-intro { font-size: 15px; line-height: 1.6; margin-bottom: 12px; overflow-wrap: anywhere; }
.code { background: var(--text-main); border-radius: var(--radius); overflow: hidden; margin-top: 4px; }
.code-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 8px 8px 16px;
  border-bottom: 1px solid rgba(244, 238, 226, 0.14);
}
.code-label {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--border-focus);
}
.btn-copy {
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 8px;
  color: var(--bg-page);
  background: transparent;
  border: 1px solid rgba(244, 238, 226, 0.35);
  cursor: pointer;
  transition: var(--transition);
}
.btn-copy:hover { background: rgba(244, 238, 226, 0.12); border-color: var(--bg-page); }
.code :where(button):focus-visible,
.code pre:focus-visible { outline-color: var(--bg-page); }
.code pre {
  padding: 16px;
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--bg-page);
  tab-size: 2;
}

/* Geçen / atlanan kontroller */
.passes { margin-top: 16px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-card); }
.passes > summary {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 22px;
  cursor: pointer;
  list-style: none;
  font-size: 14.5px;
  font-weight: 600;
}
.passes > summary::-webkit-details-marker { display: none; }
.passes > summary::after {
  content: "+";
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 18px;
  color: var(--text-muted);
}
.passes[open] > summary::after { content: "−"; }
.passes > summary:hover { background: var(--bg-subtle); border-radius: var(--radius); }
.pass-list { list-style: none; border-top: 1px solid var(--border); }
.pass-item { padding: 16px 22px; border-bottom: 1px solid var(--border); }
.pass-item:last-child { border-bottom: 0; }
.pass-item .finding-top { margin-bottom: 8px; }
.pass-title { font-weight: 600; font-size: 15px; overflow-wrap: anywhere; }
.pass-found { font-size: 14px; color: var(--text-muted); margin-top: 2px; overflow-wrap: anywhere; white-space: pre-line; }

/* Kapanış notu */
.next-card {
  margin-top: 72px;
  padding: 32px 36px;
  border: 1px dashed var(--border-focus);
  border-radius: var(--radius);
}
.next-card h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.next-card p { color: var(--text-muted); max-width: 640px; font-size: 15px; }

/* E-postayla tam rapor */
.email-card {
  margin-top: 40px;
  padding: 32px 36px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.email-card h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.email-lede { color: var(--text-muted); font-size: 15px; max-width: 640px; margin-bottom: 20px; }
.email-form { max-width: 680px; }
.email-form input[type="email"]:disabled { opacity: 0.7; }

.consent-row { display: flex; align-items: flex-start; gap: 10px; margin-top: 16px; font-size: 14px; color: var(--text-muted); }
.consent-row input { flex-shrink: 0; width: 18px; height: 18px; margin-top: 3px; accent-color: var(--accent); cursor: pointer; }
.consent-row label { cursor: pointer; }
.consent-row a { color: var(--accent); }

.email-done { margin-top: 14px; font-size: 14px; font-weight: 600; color: var(--st-pass); overflow-wrap: anywhere; }
.email-note { margin-top: 14px; font-size: 12.5px; color: var(--text-faint); }
.email-note a { color: var(--text-muted); }
.email-note a:hover, .consent-row a:hover { color: var(--accent-hover); }

.report-foot { margin-top: 40px; }

.scan-errors { margin-top: 20px; font-size: 13.5px; color: var(--text-muted); }

/* ------------------------------------------------------------------------------
   Alt bilgi
   ------------------------------------------------------------------------------ */
.site-footer { border-top: 1px solid var(--border); padding: 28px 0; font-size: 13px; color: var(--text-muted); }
.footer-inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-mono { font-family: var(--font-mono); font-size: 11.5px; color: var(--text-faint); letter-spacing: 0.04em; }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 20px; width: 100%; padding-top: 14px; border-top: 1px solid var(--border); }
.footer-links a { color: var(--text-muted); text-decoration: none; }
.footer-links a:hover { color: var(--text-main); text-decoration: underline; }
.footer-links a[aria-current="page"] { color: var(--text-main); font-weight: 600; }

/* ------------------------------------------------------------------------------
   Duyarlı
   ------------------------------------------------------------------------------ */
@media (max-width: 900px) {
  .measure-grid { grid-template-columns: 1fr 1fr; }
  .score-card { flex-direction: column; align-items: stretch; gap: 32px; padding: 32px 28px; }
  .score-dial { margin: 0 auto; }
}

@media (max-width: 640px) {
  .container { padding: 0 18px; }
  .view { padding: 40px 0 72px; }
  .view-intro { padding-top: 48px; }
  .view-message { padding-top: 56px; }
  .brand-link { font-size: 23px; }
  .header-link { font-size: 12.5px; }
  .scan-row { flex-direction: column; }
  .scan-row input { flex: none; }
  .scan-row .btn-primary-action { width: 100%; }
  .measure { margin-top: 56px; }
  .measure-grid { grid-template-columns: 1fr; gap: 24px; }
  .progress-layout { flex-direction: column; align-items: flex-start; gap: 32px; }
  .progress-dial { --dial: 200px; align-self: center; }
  .steps { width: 100%; }
  .score-dial { --dial: 220px; }
  .cats, .ai-facts { grid-template-columns: 1fr; }
  .ai-card { padding: 32px 22px 26px; }
  .finding { padding: 20px 20px 22px; }
  .next-card, .email-card { padding: 24px 22px; }
  .report-head .actions { width: 100%; }
  .report-head .actions > * { flex: 1; }
  .group-head { flex-direction: column; gap: 4px; }
  .report-section { margin-top: 56px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .btn-primary-action:hover { transform: none; }
}
