/* ==========================================================================
   LÛTKE — Malpera fermî | Design system
   Marka: #1A7B6B (kesk-şîn / mountain teal) + #D4783A (pez-kûvî / ibex orange)
   Tîp: Lexend. Ziman: Kurmancî (Latînî). LTR.
   ========================================================================== */

:root {
  --primary: #1A7B6B;
  --primary-light: #2DA892;
  --primary-dark: #0C5247;
  --primary-surface: #EDF7F4;
  --primary-surface-2: #DFF0EB;

  --accent: #D4783A;
  --accent-warm: #E8974A;
  --accent-surface: #FFF0E6;

  --success: #2D9E4F;
  --gold: #D4A017;

  --bg: #F8FBFA;
  --surface: #FFFFFF;
  --surface-2: #EDF7F4;

  --text: #16243F;
  --text-2: #45566A;
  --text-3: #6B7A8A;
  --on-primary: #FFFFFF;

  --border: #E1ECE8;
  --border-strong: #CFE0DA;

  --radius: 18px;
  --radius-sm: 12px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(12, 82, 71, .06), 0 2px 8px rgba(12, 82, 71, .05);
  --shadow: 0 8px 28px rgba(12, 82, 71, .10);
  --shadow-lg: 0 22px 60px rgba(12, 82, 71, .16);

  --wrap: 1120px;
  --font: "Lexend", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --header-h: 68px;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, picture { max-width: 100%; display: block; }
a { color: var(--primary-dark); text-decoration: none; }
a:hover { color: var(--primary); }
h1, h2, h3, h4 { line-height: 1.18; font-weight: 700; letter-spacing: -.02em; color: var(--text); }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.5rem); }
p { color: var(--text-2); }
ul { list-style: none; padding: 0; }

/* ---------- a11y ---------- */
.skip-link {
  position: fixed; top: -60px; left: 12px; z-index: 1000;
  background: var(--primary-dark); color: #fff; padding: 10px 16px;
  border-radius: 10px; transition: top .2s;
}
.skip-link:focus { top: 12px; color: #fff; }
:focus-visible { outline: 3px solid var(--primary-light); outline-offset: 2px; border-radius: 6px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* ---------- layout ---------- */
.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.section { padding: clamp(56px, 9vw, 110px) 0; }
.section-tight { padding: clamp(40px, 6vw, 72px) 0; }
.section-alt { background: var(--surface-2); }
.center { text-align: center; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.28rem); color: var(--text-2); max-width: 62ch; }
.center .lead { margin-inline: auto; }
.eyebrow {
  display: inline-block; font-weight: 700; font-size: .82rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--primary);
  background: var(--primary-surface); padding: 6px 14px; border-radius: 999px; margin-bottom: 18px;
}
.stack > * + * { margin-top: 1rem; }

/* ---------- buttons (CTA white text guaranteed) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: inherit; font-weight: 600; font-size: 1rem; line-height: 1;
  padding: 14px 24px; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap; text-align: center;
}
.btn:active { transform: translateY(1px); }
a.btn.btn-primary, .btn.btn-primary {
  background: var(--primary); color: #fff !important; box-shadow: var(--shadow-sm);
}
a.btn.btn-primary:hover, .btn.btn-primary:hover { background: var(--primary-dark); color: #fff !important; box-shadow: var(--shadow); }
a.btn.btn-accent, .btn.btn-accent { background: var(--accent); color: #fff !important; box-shadow: var(--shadow-sm); }
a.btn.btn-accent:hover, .btn.btn-accent:hover { background: #bd6630; color: #fff !important; }
.btn-ghost { background: transparent; color: var(--primary-dark); border-color: var(--border-strong); }
.btn-ghost:hover { background: var(--primary-surface); color: var(--primary-dark); border-color: var(--primary-light); }
.btn-lg { padding: 17px 32px; font-size: 1.08rem; }
.btn-block { width: 100%; }

/* ---------- header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.85); backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-weight: 800; flex-shrink: 0; }
.brand:hover { color: var(--text); }
.brand-mark { border-radius: 9px; flex-shrink: 0; }
.brand-word { font-size: 1.35rem; letter-spacing: .02em; white-space: nowrap; }
.primary-nav { display: flex; align-items: center; gap: 20px; }
.nav-list { display: flex; align-items: center; gap: 2px; }
.nav-list a {
  display: inline-block; padding: 9px 13px; border-radius: 10px;
  color: var(--text-2); font-weight: 500; font-size: .97rem; white-space: nowrap;
}
.nav-list a:hover { color: var(--primary-dark); background: var(--primary-surface); }
.nav-list a[aria-current="page"] { color: var(--primary-dark); background: var(--primary-surface); font-weight: 600; }

/* ── Naverok açılır menü ── */
.has-dropdown { position: relative; }
.nav-drop-toggle {
  display: inline-flex; align-items: center; gap: 5px; font-family: inherit;
  padding: 9px 13px; border-radius: 10px; border: 0; background: transparent; cursor: pointer;
  color: var(--text-2); font-weight: 500; font-size: .97rem; white-space: nowrap;
}
.nav-drop-toggle:hover, .has-dropdown.active .nav-drop-toggle { color: var(--primary-dark); background: var(--primary-surface); }
.has-dropdown.active .nav-drop-toggle { font-weight: 600; }
.nav-drop-toggle .chev { width: 15px; height: 15px; transition: transform .2s ease; }
.dropdown {
  position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%) translateY(6px);
  min-width: 220px; background: var(--surface); border: 1px solid var(--border);
  border-radius: 14px; box-shadow: var(--shadow); padding: 8px;
  opacity: 0; visibility: hidden; transition: opacity .18s ease, transform .18s ease; z-index: 110;
}
.dropdown::before { /* hover köprüsü (boşlukta menü kapanmasın) */
  content: ""; position: absolute; top: -10px; left: 0; right: 0; height: 10px;
}
.dropdown li { list-style: none; }
.dropdown a {
  display: block; padding: 10px 14px; border-radius: 9px; white-space: nowrap;
  color: var(--text-2); font-weight: 500; font-size: .95rem;
}
.dropdown a:hover { background: var(--primary-surface); color: var(--primary-dark); }
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown,
.has-dropdown.open .dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.has-dropdown:hover .nav-drop-toggle .chev,
.has-dropdown.open .nav-drop-toggle .chev { transform: rotate(180deg); }

/* İçerik (detay) sayfalarının kenar boşluğu — section + .wrap ile sarılır */
.content-page { padding: clamp(28px, 5vw, 52px) 0 clamp(40px, 6vw, 72px); }

.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-cta .btn { padding: 10px 18px; }
.nav-toggle {
  display: none; margin-left: auto; flex-direction: column; gap: 5px;
  background: transparent; border: 0; padding: 10px; cursor: pointer; border-radius: 10px;
}
.nav-toggle-bar { width: 24px; height: 2.5px; background: var(--text); border-radius: 2px; transition: .25s; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

@media (max-width: 1080px) {
  .nav-toggle { display: flex; }
  .primary-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; margin: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--surface); border-bottom: 1px solid var(--border);
    padding: 14px 20px 22px; box-shadow: var(--shadow);
    transform: translateY(-130%); transition: transform .28s ease; visibility: hidden;
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
  }
  .primary-nav.open { transform: translateY(0); visibility: visible; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav-list a { padding: 13px 14px; font-size: 1.05rem; }
  .nav-cta { margin-top: 14px; flex-direction: column; align-items: stretch; }
  .nav-cta .btn { padding: 14px 18px; }

  /* Mobil: dropdown akış içinde açılır (absolute değil) */
  .has-dropdown { width: 100%; }
  .nav-drop-toggle { width: 100%; justify-content: space-between; padding: 13px 14px; font-size: 1.05rem; }
  .dropdown {
    position: static; transform: none; opacity: 1; visibility: hidden; min-width: 0;
    box-shadow: none; border: 0; border-radius: 0; padding: 0 0 0 12px; margin: 0;
    max-height: 0; overflow: hidden; transition: max-height .25s ease;
  }
  .dropdown::before { display: none; }
  .has-dropdown.open .dropdown { visibility: visible; max-height: 400px; }
  /* mobilde hover ile açılmasın — sadece .open (tıklama) */
  .has-dropdown:hover .dropdown:not(.force) { visibility: hidden; max-height: 0; }
  .has-dropdown.open:hover .dropdown { visibility: visible; max-height: 400px; }
  .dropdown a { padding: 11px 14px; font-size: 1rem; }
}

/* ---------- hero ---------- */
.hero { position: relative; padding: clamp(48px, 8vw, 96px) 0 clamp(40px, 6vw, 80px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(1100px 520px at 78% -8%, var(--primary-surface-2), transparent 60%),
    radial-gradient(720px 420px at 5% 8%, var(--accent-surface), transparent 55%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero h1 { margin-bottom: 18px; }
.hero h1 .accent { color: var(--primary); }
.hero-sub { font-size: clamp(1.1rem, 1.8vw, 1.35rem); color: var(--text-2); max-width: 52ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-trust { margin-top: 22px; color: var(--text-3); font-size: .95rem; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.hero-art { position: relative; display: grid; place-items: center; }
.hero-art img { width: min(360px, 78%); filter: drop-shadow(0 26px 50px rgba(12,82,71,.22)); }
.hero-badge {
  position: absolute; background: var(--surface); border: 1px solid var(--border);
  border-radius: 16px; box-shadow: var(--shadow); padding: 12px 16px; font-weight: 600; font-size: .92rem;
  display: flex; align-items: center; gap: 10px; color: var(--text);
}
.hero-badge .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--success); }
.hero-badge.b1 { top: 8%; left: -2%; }
.hero-badge.b2 { bottom: 10%; right: -2%; }
.hero-badge small { display: block; color: var(--text-3); font-weight: 500; font-size: .78rem; }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-sub { margin-inline: auto; }
  .hero-cta { justify-content: center; }
  .hero-trust { justify-content: center; }
  .hero-art { order: -1; }
  .hero-badge.b1 { left: 2%; } .hero-badge.b2 { right: 2%; }
}

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px 18px; text-align: center; box-shadow: var(--shadow-sm);
}
.stat .num { font-size: clamp(1.9rem, 4vw, 2.7rem); font-weight: 800; color: var(--primary); letter-spacing: -.03em; }
.stat .lbl { color: var(--text-2); font-weight: 500; font-size: .98rem; margin-top: 4px; }
@media (max-width: 720px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* ---------- feature cards ---------- */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card h3 { margin-bottom: 8px; }
.card p { font-size: .98rem; }
.card-ico {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: var(--primary-surface); color: var(--primary-dark); margin-bottom: 16px;
}
.card-ico svg { width: 26px; height: 26px; }
.card-ico.accent { background: var(--accent-surface); color: #b5631f; }

/* ---------- level cards ---------- */
.levels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 900px) { .levels { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .levels { grid-template-columns: 1fr; } }
.level {
  border: 1px solid var(--border); border-radius: var(--radius); padding: 22px;
  background: var(--surface); box-shadow: var(--shadow-sm); position: relative; overflow: hidden;
}
.level::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--primary); }
.level.a1::after, .level.a2::after { background: var(--success); }
.level.b1::after, .level.b2::after { background: var(--primary); }
.level.c1::after, .level.c2::after { background: var(--accent); }
.level .tag { font-weight: 800; font-size: 1.25rem; color: var(--text); }
.level .name { color: var(--primary-dark); font-weight: 600; margin: 2px 0 8px; }
.level p { font-size: .95rem; }
.level .meta { margin-top: 12px; font-size: .85rem; color: var(--text-3); font-weight: 500; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff; border-radius: var(--radius-lg); padding: clamp(36px, 6vw, 64px); text-align: center;
  box-shadow: var(--shadow-lg);
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.9); max-width: 56ch; margin-inline: auto; }
.cta-band .hero-cta { justify-content: center; margin-top: 26px; }
.cta-band .btn-ghost { color: #fff; border-color: rgba(255,255,255,.5); }
.cta-band .btn-ghost:hover { background: rgba(255,255,255,.14); color: #fff; }

/* ---------- prose (about, method) ---------- */
.prose { max-width: 72ch; margin-inline: auto; }
.prose p { margin-bottom: 1.1rem; font-size: 1.06rem; }
.prose h2 { margin: 2.2rem 0 .8rem; }
.prose h3 { margin: 1.6rem 0 .6rem; color: var(--primary-dark); }
.prose ul.bullets { margin: 1rem 0 1.4rem; padding-left: 0; }
.prose ul.bullets li { position: relative; padding-left: 30px; margin-bottom: .7rem; color: var(--text-2); }
.prose ul.bullets li::before {
  content: ""; position: absolute; left: 4px; top: .55em; width: 9px; height: 9px;
  background: var(--primary); border-radius: 50%;
}
blockquote {
  border-left: 4px solid var(--accent); background: var(--accent-surface);
  padding: 16px 22px; border-radius: 0 12px 12px 0; margin: 1.4rem 0; color: var(--text);
  font-size: 1.12rem; font-weight: 500;
}

/* ---------- page hero (sub pages) ---------- */
.page-hero { padding: clamp(48px, 7vw, 88px) 0 clamp(20px, 4vw, 40px); background:
  radial-gradient(900px 380px at 80% -20%, var(--primary-surface-2), transparent 60%); }
.page-hero h1 { margin-bottom: 12px; }

/* ---------- content browser (naverok) ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 8px 0 26px; }
.chip {
  border: 1px solid var(--border-strong); background: var(--surface); color: var(--text-2);
  padding: 8px 16px; border-radius: 999px; font-weight: 600; font-size: .92rem; cursor: pointer;
}
.chip:hover { border-color: var(--primary-light); color: var(--primary-dark); }
.chip.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.word-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.word {
  border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface);
  padding: 16px 18px; box-shadow: var(--shadow-sm);
}
.word .ku { font-weight: 700; font-size: 1.12rem; color: var(--text); }
.word .tr { color: var(--text-2); font-size: .95rem; }
.word .lvl { font-size: .72rem; font-weight: 700; color: var(--primary); text-transform: uppercase; letter-spacing: .06em; }

/* ---------- forms (auth pages) ---------- */
.auth-wrap { min-height: 100dvh; display: grid; place-items: center; padding: 32px 20px;
  background: radial-gradient(900px 500px at 50% -10%, var(--primary-surface-2), var(--bg)); }
.auth-card {
  width: min(440px, 100%); background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 36px 32px; text-align: center;
}
.auth-card .brand { justify-content: center; margin-bottom: 18px; }
.auth-card h1 { font-size: 1.6rem; margin-bottom: 8px; }
.auth-card p { font-size: 1rem; }
.field { text-align: left; margin: 16px 0; }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; color: var(--text); }
.field input {
  width: 100%; font-family: inherit; font-size: 1rem; padding: 13px 15px;
  border: 2px solid var(--border-strong); border-radius: 12px; background: #fff; color: var(--text);
}
.field input:focus { outline: none; border-color: var(--primary-light); }
.msg { padding: 14px 16px; border-radius: 12px; font-weight: 500; margin: 14px 0; display: none; }
.msg.show { display: block; }
.msg.ok { background: #E8F5E9; color: #1d6b34; }
.msg.err { background: #FDECEA; color: #b4271a; }
.msg.info { background: var(--primary-surface); color: var(--primary-dark); }
.spinner {
  width: 38px; height: 38px; border: 4px solid var(--primary-surface); border-top-color: var(--primary);
  border-radius: 50%; margin: 8px auto; animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- footer ---------- */
.site-footer { background: #0E2722; color: #cfe3dd; padding: clamp(44px, 6vw, 72px) 0 28px; margin-top: 40px; }
.site-footer .brand, .site-footer .brand:hover { color: #fff; }
.site-footer .brand-word { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.footer-tag { color: #fff; font-weight: 600; margin-top: 14px; }
.footer-sub { color: #93b3aa; font-size: .94rem; margin-top: 4px; }
.footer-col h2 { color: #fff; font-size: 1rem; margin-bottom: 14px; letter-spacing: .02em; }
.footer-col a { color: #aeccc3; font-size: .96rem; display: inline-block; padding: 4px 0; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  margin-top: 36px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12);
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  color: #93b3aa; font-size: .9rem;
}
.footer-bottom strong { color: #fff; }
.footer-note { font-style: italic; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   İÇERİK GEZGİNİ (peyv / wane / diyalog) — veri-güdümlü sayfalar
   ========================================================================== */
.hub-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 900px) { .hub-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .hub-grid { grid-template-columns: 1fr; } }
.hub-card {
  display: block; border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--surface); padding: 22px; box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .2s ease; color: var(--text);
}
.hub-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: var(--text); }
.hub-card .lv { font-weight: 800; font-size: 1.4rem; color: var(--primary-dark); }
.hub-card .nm { font-weight: 600; color: var(--text); margin: 2px 0 8px; }
.hub-card .ct { font-size: .9rem; color: var(--text-3); font-weight: 500; }

.toolbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 6px 0 22px; }
.search-box {
  flex: 1 1 260px; display: flex; align-items: center; gap: 8px;
  border: 2px solid var(--border-strong); border-radius: 999px; background: #fff; padding: 4px 6px 4px 16px;
}
.search-box:focus-within { border-color: var(--primary-light); }
.search-box input { flex: 1; border: 0; outline: 0; font-family: inherit; font-size: 1rem; padding: 9px 0; background: transparent; color: var(--text); }
.search-box svg { width: 18px; height: 18px; color: var(--text-3); flex-shrink: 0; }
.count-pill { font-size: .85rem; color: var(--text-3); font-weight: 600; white-space: nowrap; }

.word-table { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.word-table thead th { background: var(--primary-surface); color: var(--primary-dark); text-align: left; font-size: .82rem; text-transform: uppercase; letter-spacing: .05em; padding: 12px 16px; }
.word-table td { padding: 12px 16px; border-top: 1px solid var(--border); vertical-align: top; }
.word-table tbody tr:hover { background: var(--primary-surface); }
.word-table .w-ku { font-weight: 700; color: var(--text); font-size: 1.05rem; }
.word-table .w-tr { color: var(--text-2); }
.word-table .w-cat { font-size: .78rem; color: var(--primary); font-weight: 600; }
.word-table .w-cins { font-size: .76rem; color: var(--text-3); }
.w-ex { color: var(--text-2); font-size: .92rem; font-style: italic; }
.w-empty { text-align: center; color: var(--text-3); padding: 30px; }
@media (max-width: 680px) {
  .word-table thead { display: none; }
  .word-table, .word-table tbody, .word-table tr, .word-table td { display: block; width: 100%; }
  .word-table tr { border-top: 1px solid var(--border); padding: 6px 0; }
  .word-table td { border: 0; padding: 4px 16px; }
}

.lesson-list { display: grid; gap: 12px; }
.lesson-row {
  display: flex; align-items: center; gap: 16px; border: 1px solid var(--border);
  border-radius: var(--radius-sm); background: var(--surface); padding: 16px 18px;
  box-shadow: var(--shadow-sm); transition: transform .15s ease, box-shadow .2s; color: var(--text);
}
.lesson-row:hover { transform: translateX(4px); box-shadow: var(--shadow); color: var(--text); }
.lesson-row .num { flex-shrink: 0; width: 44px; height: 44px; border-radius: 12px; background: var(--primary-surface); color: var(--primary-dark); display: grid; place-items: center; font-weight: 800; font-size: 1.1rem; }
.lesson-row .body { flex: 1; min-width: 0; }
.lesson-row .t-ku { font-weight: 700; color: var(--text); }
.lesson-row .t-tr { font-size: .9rem; color: var(--text-3); }
.lesson-row .meta { flex-shrink: 0; font-size: .82rem; color: var(--text-3); text-align: right; }
.unit-head { margin: 26px 0 12px; font-size: 1.15rem; color: var(--primary-dark); font-weight: 700; }
.unit-head:first-child { margin-top: 0; }

.ex-card { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); padding: 22px; margin-bottom: 16px; box-shadow: var(--shadow-sm); }
.ex-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.ex-type { font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: #b5631f; background: var(--accent-surface); padding: 4px 10px; border-radius: 999px; }
.ex-num { font-size: .8rem; color: var(--text-3); font-weight: 600; }
.ex-q { font-size: 1.12rem; font-weight: 600; color: var(--text); margin-bottom: 4px; }
.ex-q-tr { font-size: .92rem; color: var(--text-3); margin-bottom: 12px; }
.ex-opts { display: grid; gap: 8px; }
.ex-opt { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border: 1px solid var(--border-strong); border-radius: 10px; font-size: .98rem; color: var(--text-2); }
.ex-opt.correct { border-color: var(--success); background: #E8F5E9; color: #1d6b34; font-weight: 600; }
.ex-opt .mk { flex-shrink: 0; width: 18px; height: 18px; }
.ex-note { margin-top: 12px; padding: 12px 14px; background: var(--primary-surface); border-radius: 10px; font-size: .9rem; color: var(--primary-dark); }
.ex-note b { color: var(--primary-dark); }

.dlg-scene { background: var(--accent-surface); border-radius: 12px; padding: 16px 18px; margin-bottom: 8px; color: var(--text-2); font-size: .96rem; }
.dlg-lines { display: grid; gap: 12px; margin-top: 18px; }
.dlg-line { border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); padding: 14px 16px; box-shadow: var(--shadow-sm); }
.dlg-spk { font-size: .8rem; font-weight: 700; color: var(--primary); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 4px; }
.dlg-ku { font-weight: 600; color: var(--text); font-size: 1.06rem; }
.dlg-tr { color: var(--text-2); font-size: .94rem; }
.dlg-note { margin-top: 6px; font-size: .84rem; color: var(--text-3); }

.crumb { font-size: .9rem; color: var(--text-3); margin-bottom: 14px; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.crumb a { color: var(--primary-dark); font-weight: 500; }
.crumb .sep { color: var(--border-strong); }

.app-cta { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  background: var(--primary-surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 22px; margin: 24px 0; }
.app-cta p { color: var(--text); font-weight: 500; margin: 0; }

/* hub: büyük bölüm kartları (naverok + çand) */
.feature-card {
  display: flex; align-items: center; gap: 18px; border: 1px solid var(--border);
  border-radius: var(--radius); background: var(--surface); padding: 24px;
  box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .2s ease; color: var(--text);
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: var(--text); }
.fc-emoji { font-size: 2.4rem; line-height: 1; flex-shrink: 0; width: 64px; height: 64px; display: grid; place-items: center; background: var(--primary-surface); border-radius: 16px; }
.fc-body { flex: 1; min-width: 0; }
.fc-body h3 { margin-bottom: 4px; }
.fc-body p { font-size: .96rem; margin: 0; }
.fc-sub { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.fc-sub a { font-size: .8rem; font-weight: 700; color: var(--primary-dark); background: var(--primary-surface); padding: 3px 10px; border-radius: 999px; }
.fc-sub a:hover { background: var(--primary); color: #fff; }
.fc-arrow { flex-shrink: 0; font-size: 1.5rem; color: var(--primary); font-weight: 700; }

/* hub-card emoji + öne çıkan */
.hc-emoji { font-size: 1.8rem; display: block; margin-bottom: 8px; }
.hub-card.feat { background: linear-gradient(135deg, var(--primary-surface), var(--accent-surface)); border-color: var(--border-strong); }

/* seviye segment bar (peyv/wane/reziman) */
.segbar { display: inline-flex; flex-wrap: wrap; gap: 4px; background: var(--surface-2); border: 1px solid var(--border); border-radius: 999px; padding: 4px; margin-bottom: 20px; }
.segbar .seg { padding: 7px 16px; border-radius: 999px; font-weight: 700; font-size: .9rem; color: var(--text-2); }
.segbar .seg:hover { color: var(--primary-dark); }
.segbar .seg.active { background: var(--primary); color: #fff; }

/* gramer örnek listesi */
.ex-list { display: grid; gap: 10px; }
.gex { border: 1px solid var(--border); border-left: 3px solid var(--primary); border-radius: 10px; background: var(--surface); padding: 12px 16px; }
.gex-ku { font-weight: 700; color: var(--text); font-size: 1.05rem; }
.gex-tr { color: var(--text-2); font-size: .94rem; }
.gex-note { color: var(--text-3); font-size: .84rem; margin-top: 4px; font-style: italic; }
.tip-box { display: flex; gap: 12px; align-items: flex-start; background: var(--accent-surface); border: 1px solid var(--accent-warm); border-radius: 12px; padding: 16px 18px; margin: 22px 0; color: #7a3f12; }
.tip-box .tip-ico { font-size: 1.3rem; flex-shrink: 0; }
.tip-box b { color: #7a3f12; }

/* atasözü/söz tablosu */
.pv-ku { font-weight: 600; color: var(--text); font-size: 1.04rem; }
.pv-tr { color: var(--text-2); font-size: .95rem; }

/* "nasıl denir" cevap kutusu (answer-first — AEO) */
.answer-box { background: linear-gradient(135deg, var(--primary-surface), var(--accent-surface)); border: 1px solid var(--border-strong); border-radius: var(--radius); padding: 22px 26px; margin: 6px 0 8px; }
.answer-lead { font-size: 1.3rem; color: var(--text); margin: 0; }
.answer-ku { color: var(--primary-dark); }
.kw-row a.kw:hover { background: var(--primary); color: #fff; }

/* atasözü harf-sayfası kartları */
.pv-list { display: grid; gap: 12px; }
.pv-card {
  border: 1px solid var(--border); border-left: 3px solid var(--accent);
  border-radius: var(--radius-sm); background: var(--surface);
  padding: 14px 18px; box-shadow: var(--shadow-sm); scroll-margin-top: 90px;
}
.pv-card .pv-ku { font-size: 1.08rem; }
.pv-card .pv-tr { margin-top: 4px; }
.pv-card:target { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-surface); }
/* hub harf kartları: küçük, ortalı */
#pletters.hub-grid { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
#pletters .hub-card { text-align: center; padding: 16px; }
#pletters .hub-card .lv { font-size: 1.5rem; }

/* alıntı kartları (gotinên mezinan) */
.quote-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (max-width: 720px) { .quote-grid { grid-template-columns: 1fr; } }
.quote-card { margin: 0; }
.quote-card .q-tr { display: block; font-weight: 400; font-size: .94rem; color: var(--text-2); margin-top: 6px; }
.quote-card cite { display: block; margin-top: 8px; font-size: .85rem; color: var(--primary-dark); font-style: normal; font-weight: 600; }

/* çand içerik (şiir/şarkı/hikaye tam metin) */
.cand-content { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 8px 0 4px; }
@media (max-width: 760px) { .cand-content { grid-template-columns: 1fr; gap: 14px; } }
.cand-content .cc-ku { font-size: 1.1rem; color: var(--text); line-height: 1.85; }
.cand-content .cc-ku p { color: var(--text); }
.cand-content .cc-tr { border-left: 3px solid var(--border-strong); padding-left: 18px; }
.cand-content .cc-tr p { color: var(--text-2); }
.cc-label { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--text-3); margin-bottom: 6px; }
.bg-note { margin-top: 18px; }
.bg-note p { color: var(--text-2); }
.kw-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.kw { font-size: .82rem; color: var(--primary-dark); background: var(--primary-surface); padding: 5px 12px; border-radius: 999px; font-weight: 600; }

/* ---------- utilities ---------- */
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; }
.muted { color: var(--text-3); }
.nowrap { white-space: nowrap; }
.hide { display: none !important; }
