/* ============================================================
 * tarabya.net — SEO test pages stylesheet
 * Static · zero-JS · WCAG AAA · mobile-first · indexable by all bots
 * Brand: Boğaz Stillness — sage + cream + navy
 * ============================================================ */

:root {
  --bg:           #0F1C2E;
  --bg-soft:      #152540;
  --bg-card:      #1A2D47;
  --bg-elevated:  #243D5C;
  --bg-line:      #2E4A6E;
  --bg-hover:     #2A436A;

  --ink:          #EEF2F8;
  --ink-secondary:#A8B5C8;
  --ink-muted:    #7A8AA0;
  --ink-faint:    #566479;
  --ink-inverse:  #0F1C2E;

  --sage:         #8FB39D;
  --sage-hover:   #A8C7B5;
  --sage-bright:  #C2DBCA;
  --sage-subtle:  rgba(143,179,157,0.10);
  --sage-ring:    rgba(143,179,157,0.30);

  --cream:        #F4EFE3;
  --cream-soft:   #EAE2CE;

  --status-success:#8FB39D;
  --status-error:  #EF6B6B;
  --status-warn:   #E0B243;
  --status-info:   #7AA0CF;

  --font-display: 'Playfair Display', ui-serif, Georgia, serif;
  --font-sans:    'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, 'SF Mono', Consolas, monospace;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --radius-2xl: 28px;
  --radius-full: 9999px;

  --shadow-card: 0 1px 0 rgba(255,255,255,0.04) inset, 0 1px 2px rgba(0,0,0,0.30);
  --shadow-elevated: 0 1px 0 rgba(255,255,255,0.06) inset, 0 8px 32px rgba(0,0,0,0.40);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ── Layout ── */
.shell { max-width: 1152px; margin: 0 auto; padding: 0 24px; }
.shell-narrow { max-width: 720px; margin: 0 auto; padding: 0 24px; }

/* ── Header ── */
.site-header {
  position: sticky; top: 0; z-index: 30;
  background: rgba(15,28,46,0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--bg-line);
}
.site-header .row {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--ink);
}
.brand-mark { width: 32px; height: 32px; }
.brand-word { font-family: var(--font-display); font-weight: 600; font-size: 22px; letter-spacing: -0.015em; }
.brand-word .dot { color: var(--sage); }

.site-nav { display: flex; gap: 24px; align-items: center; }
.site-nav a {
  color: var(--ink-secondary); text-decoration: none;
  font-size: 14px; font-weight: 500;
  padding: 8px 0; transition: color .15s;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--sage-bright); }
@media (max-width: 700px) { .site-nav .nav-extra { display: none; } }

/* ── Breadcrumb ── */
.breadcrumb {
  font-size: 13px; color: var(--ink-muted);
  padding: 16px 0; display: flex; gap: 8px; flex-wrap: wrap;
}
.breadcrumb a { color: var(--ink-secondary); text-decoration: none; }
.breadcrumb a:hover { color: var(--sage-bright); }
.breadcrumb .sep { color: var(--ink-faint); }

/* ── Article ── */
article.post { padding: 24px 0 96px; }
article.post .eyebrow {
  font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.18em;
  color: var(--sage); margin-bottom: 16px;
  display: inline-block;
}
article.post h1 {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.1; letter-spacing: -0.015em;
  margin: 0 0 16px;
}
article.post h1 em {
  font-style: italic; color: var(--cream);
  text-shadow: 0 0 28px rgba(244,239,227,0.22);
}
article.post .lede {
  font-family: var(--font-display); font-size: 22px;
  font-weight: 400; line-height: 1.5;
  color: var(--ink-secondary);
  max-width: 55ch; margin: 0 0 24px;
}
article.post .meta {
  display: flex; gap: 12px; flex-wrap: wrap;
  font-size: 13px; color: var(--ink-muted);
  padding-bottom: 24px; border-bottom: 1px solid var(--bg-line);
  margin-bottom: 32px;
}
article.post .meta .sep { color: var(--ink-faint); }
article.post .meta .updated { color: var(--sage); }

article.post h2 {
  font-family: var(--font-display); font-weight: 600;
  font-size: 28px; line-height: 1.25; letter-spacing: -0.015em;
  margin: 56px 0 16px;
}
article.post h3 {
  font-family: var(--font-sans); font-weight: 600;
  font-size: 20px; line-height: 1.3;
  margin: 32px 0 12px;
}
article.post p {
  max-width: 68ch;
  margin: 0 0 20px;
  color: #D6DEEC;
}
article.post a { color: var(--sage-hover); text-decoration: none; border-bottom: 1px solid rgba(168,199,181,0.4); }
article.post a:hover { color: var(--sage-bright); border-bottom-color: var(--sage-bright); }
article.post ul, article.post ol { max-width: 68ch; padding-left: 1.4em; color: #D6DEEC; margin: 0 0 24px; }
article.post li { margin-bottom: 8px; }
article.post strong { color: var(--ink); }
article.post em { color: var(--cream); font-style: italic; }
article.post hr { border: 0; border-top: 1px solid var(--bg-line); margin: 48px 0; }

/* ── Direct answer / TL;DR (GEO citation snippet) ── */
.tldr {
  background: var(--sage-subtle);
  border: 1px solid var(--sage-ring);
  border-radius: var(--radius-xl);
  padding: 24px;
  margin: 24px 0 40px;
  position: relative; overflow: hidden;
}
.tldr::before {
  content: ''; position: absolute; right: -40px; top: -40px;
  width: 160px; height: 160px; border-radius: 50%;
  background: var(--sage-subtle); filter: blur(20px);
}
.tldr-eyebrow {
  font-size: 11px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.18em; color: var(--sage);
  margin: 0 0 8px; position: relative;
}
.tldr-body { color: var(--ink); margin: 0; max-width: 64ch; position: relative; line-height: 1.7; }
.tldr-body strong { color: var(--cream); }

/* ── Insider / yerel ipucu kutusu ── */
.insider {
  background: linear-gradient(135deg, var(--bg-elevated), var(--bg-card));
  border: 1px solid var(--sage-ring);
  border-radius: var(--radius-xl);
  padding: 24px; margin: 32px 0;
}
.insider .eyebrow {
  font-size: 11px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.18em; color: var(--sage);
  margin: 0 0 8px;
}
.insider p { color: var(--ink); margin: 0; max-width: 64ch; }

/* ── Comparison table ── */
.cmp {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  background: rgba(0,0,0,0.20);
  border: 1px solid var(--bg-line);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin: 16px 0 32px;
}
.cmp thead { background: var(--bg-elevated); }
.cmp th, .cmp td { text-align: left; padding: 12px 16px; }
.cmp th { font-weight: 600; color: var(--ink); }
.cmp td { color: var(--ink-secondary); border-top: 1px solid var(--bg-line); }
.cmp td.k { color: var(--ink); font-weight: 500; }
.cmp td.good { color: var(--sage); }
.cmp .src { font-size: 12px; color: var(--ink-muted); padding: 8px 16px; border-top: 1px solid var(--bg-line); }

/* ── FAQ ── */
.faq {
  border: 1px solid var(--bg-line);
  border-radius: var(--radius-xl);
  background: rgba(0,0,0,0.20);
  margin: 24px 0;
}
.faq details { border-bottom: 1px solid var(--bg-line); }
.faq details:last-child { border-bottom: 0; }
.faq summary {
  list-style: none; cursor: pointer;
  padding: 16px 20px;
  display: flex; justify-content: space-between; align-items: center;
  font-weight: 500;
  transition: background .15s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { background: var(--bg-hover); }
.faq summary::after { content: '⌄'; color: var(--sage); font-size: 18px; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(180deg); }
.faq .a { padding: 0 20px 20px; color: var(--ink-secondary); font-size: 15px; line-height: 1.7; max-width: 68ch; }

/* ── Author bio ── */
.author-card {
  display: flex; gap: 16px; align-items: flex-start;
  background: rgba(0,0,0,0.20);
  border: 1px solid var(--bg-line);
  border-radius: var(--radius-xl);
  padding: 24px; margin: 48px 0 0;
}
.author-card .avatar {
  width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(135deg, var(--sage-hover), var(--sage));
  flex-shrink: 0;
}
.author-card .ab-eyebrow {
  font-size: 11px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.18em; color: var(--sage); margin: 0 0 4px;
}
.author-card h4 { font-family: var(--font-display); margin: 0 0 8px; font-size: 20px; }
.author-card p { font-size: 14px; color: var(--ink-secondary); margin: 0; max-width: 60ch; }

/* ── Related ── */
.related {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--bg-line);
}
.related h2 {
  font-family: var(--font-display); font-size: 22px; font-weight: 600;
  margin: 0 0 16px;
}
.related ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; max-width: none; }
.related a {
  display: block; padding: 12px 16px;
  background: var(--bg-card); border: 1px solid var(--bg-line);
  border-radius: var(--radius-md);
  border-bottom: 1px solid var(--bg-line);
  color: var(--ink); transition: border-color .15s, background .15s;
}
.related a:hover { border-color: var(--sage-ring); background: var(--bg-hover); color: var(--sage-bright); }
.related a small { display: block; font-size: 11px; color: var(--sage); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 4px; }

/* ── Footer ── */
.site-footer {
  background: var(--bg-soft);
  border-top: 1px solid var(--bg-line);
  padding: 48px 0 24px;
  margin-top: 96px;
}
.site-footer .grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px;
}
@media (max-width: 700px) { .site-footer .grid { grid-template-columns: 1fr 1fr; } }
.site-footer h5 {
  font-size: 11px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.18em; color: var(--sage); margin: 0 0 12px;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 6px; }
.site-footer a { color: var(--ink-secondary); text-decoration: none; font-size: 14px; }
.site-footer a:hover { color: var(--sage-bright); }
.site-footer p.about { color: var(--ink-secondary); font-size: 14px; max-width: 40ch; line-height: 1.6; margin: 12px 0 0; }
.site-footer .bottom {
  margin-top: 32px; padding-top: 16px;
  border-top: 1px solid var(--bg-line);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px;
  font-size: 12px; color: var(--ink-muted);
}

/* ── Focus ring (a11y) ── */
:where(a, button, input, select, summary):focus-visible {
  outline: 2px solid var(--sage-hover);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
