/* Yerleşim: Dilkur kurumsal düzeni, makademya paleti. Espresso üst bant ve alt bilgi, kabuk kahvesi
   tek vurgu, cevizin içi gibi krem zeminler, yaprak yeşili başarı rengi; üstte fotoğraflı kart ızgarası. */
:root {
  --brand: #7a4426;
  --brand-strong: #5a2f19;
  --brand-soft: #f6ece1;
  --on-brand: #ffffff;
  --deep: #2a1a12;
  --deep-2: #4a2e1f;
  --deep-foot: #1a0f0a; /* alt bilgi: koyu bantlardan bir ton koyu */
  --on-deep: #fbf5ee;
  --on-deep-muted: #d2c2b2;
  --deep-ink: #2a1a12;
  --brand-on-deep: #e0aa76;
  --ink: #2a1d16;
  --muted: #6e6156;
  --line: #ebe1d6;
  --bg: #fffdf9;
  --bg-soft: #f8f1e7;
  --surface: #ffffff;
  --shell: #7a4426; --shell-dark: #5a2f19; --kernel: #f6e3bf; --kernel-dark: #e8c98e; --leaf: #3f7d3a; --leaf-dark: #2b5c28;
  --good: #3f7d3a;
  --good-soft: #eaf3e6;
  --warn: #a8650a;
  --warn-soft: #fbf1df;
  --bad: #b8352a;
  --bad-soft: #fbeae7;
  --shadow: 0 1px 2px rgba(42, 26, 18, .06), 0 8px 24px rgba(42, 26, 18, .08);
  --font: "Poppins", "Segoe UI", system-ui, -apple-system, sans-serif;
  --radius: 6px;
  --gutter-l: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --brand: #c98a52; --brand-strong: #dda46f; --brand-soft: #3a2618; --on-brand: #1c120c;
    --deep: #120b07; --deep-2: #5a3a26; --deep-foot: #090504; --on-deep: #f3ebe2; --on-deep-muted: #b9a796; --deep-ink: #f3ebe2;
    --ink: #f1e8de; --muted: #b3a292; --line: #3b2c22;
    --bg: #16100c; --bg-soft: #1e1611; --surface: #261c16;
    --good: #7fbf6a; --good-soft: #1c2a17; --warn: #e3a648; --warn-soft: #33260f; --bad: #f07468; --bad-soft: #3a1a18;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.28);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --brand: #c98a52; --brand-strong: #dda46f; --brand-soft: #3a2618; --on-brand: #1c120c;
  --deep: #120b07; --deep-2: #5a3a26; --deep-foot: #090504; --on-deep: #f3ebe2; --on-deep-muted: #b9a796; --deep-ink: #f3ebe2;
  --ink: #f1e8de; --muted: #b3a292; --line: #3b2c22;
  --bg: #16100c; --bg-soft: #1e1611; --surface: #261c16;
  --good: #7fbf6a; --good-soft: #1c2a17; --warn: #e3a648; --warn-soft: #33260f; --bad: #f07468; --bad-soft: #3a1a18;
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.28);
  color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 15px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--surface); }
h1, h2, h3, h4 { line-height: 1.25; text-wrap: balance; margin: 0; color: var(--ink); }
p { margin: 0; }
a { color: inherit; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
.wrap { max-width: 1240px; margin: 0 auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
.num { font-variant-numeric: tabular-nums; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); }
.muted { color: var(--muted); }

/* ---------- Butonlar ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 24px; border-radius: var(--radius); border: 1px solid transparent; font-weight: 500; font-size: 15px; text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s; }
.btn-primary { background: var(--brand); color: var(--on-brand); }
.btn-primary:hover { background: var(--brand-strong); color: var(--on-brand); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-outline:hover { border-color: var(--brand); color: var(--brand); }
.btn-deep { background: var(--deep); color: var(--on-deep); }
.btn-small { min-height: 38px; padding: 0 16px; font-size: 14px; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }

/* ---------- Üst bant + başlık ---------- */
.topbar { background: var(--deep); color: var(--on-deep-muted); font-size: 13px; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; }
.topbar a { color: var(--on-deep); text-decoration: none; }
.topbar a:hover { color: var(--brand); }
.topbar-links { display: flex; gap: 20px; }
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: var(--surface); box-shadow: 0 1px 0 var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: 76px; position: relative; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.logo-word { font-size: 26px; font-weight: 800; letter-spacing: -.01em; line-height: 1; color: var(--deep-ink); }
.logo-word .m { color: var(--brand); }
.foot-brand .m { color: var(--brand-on-deep); }
.nut-shell { fill: var(--shell); }
.nut-shell-dark { fill: var(--shell-dark); }
.nut-kernel { fill: var(--kernel); }
.nut-kernel-dark { fill: var(--kernel-dark); }
.nut-leaf { fill: var(--leaf); }
.nut-leaf-rib { fill: none; stroke: var(--leaf-dark); stroke-width: 1.6; stroke-linecap: round; }
.nut-crack { fill: none; stroke: var(--shell-dark); stroke-width: 2; stroke-linejoin: round; }
.foot-brand { display: flex; align-items: center; gap: 10px; font-size: 20px !important; font-weight: 800; }
.foot-brand .nut { background: #ffffff; border-radius: 50%; padding: 2px; }
.main-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.main-nav > a, .nav-drop > button { background: none; border: 0; padding: 10px 14px; font-weight: 500; font-size: 15px; text-decoration: none; cursor: pointer; border-radius: var(--radius); color: var(--ink); display: inline-flex; align-items: center; gap: 6px; }
.main-nav > a:hover, .nav-drop > button:hover, .main-nav > a.active { color: var(--brand); }
.nav-drop { position: relative; }
.nav-drop svg { width: 12px; height: 12px; }
.mega { position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); border-radius: var(--radius); padding: 22px; display: grid; grid-auto-flow: column; grid-auto-columns: 230px; gap: 24px; }
.mega h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--brand); margin-bottom: 8px; }
.mega a { display: block; padding: 5px 0; text-decoration: none; font-size: 14px; }
.mega a:hover { color: var(--brand); }
.nav-cta { margin-left: 12px; }
.main-nav > a.nav-cta { background: var(--brand); color: var(--on-brand); padding: 0 18px; }
.main-nav > a.nav-cta:hover { background: var(--brand-strong); color: var(--on-brand); }
.menu-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: var(--radius); width: 44px; height: 44px; cursor: pointer; }
.menu-toggle span { display: block; width: 18px; height: 2px; background: var(--ink); margin: 4px auto; }

/* ---------- Hero ---------- */
.hero { background: var(--bg-soft); position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; width: 220px; height: 160px; left: 3%; bottom: 24px; background-image: radial-gradient(var(--brand) 1.6px, transparent 1.8px); background-size: 16px 16px; opacity: .25; }
.hero::after { content: ""; position: absolute; width: 420px; height: 420px; right: -120px; top: -140px; border-radius: 50%; border: 60px solid var(--brand); opacity: .07; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; padding-block: 72px 64px; position: relative; z-index: 1; }
.hero-slide h1 { font-size: clamp(32px, 4.4vw, 52px); font-weight: 700; letter-spacing: -.01em; margin: 12px 0 16px; }
.hero-slide h1 em { font-style: normal; color: var(--brand); }
.hero-slide p { font-size: 17px; color: var(--muted); max-width: 52ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-dots { display: flex; gap: 8px; margin-top: 32px; }
.hero-dots button { width: 28px; height: 6px; border-radius: 3px; border: 0; background: var(--line); cursor: pointer; padding: 0; }
.hero-dots button[aria-current="true"] { background: var(--brand); }
.hero-visual { position: relative; }
.hero-photo { border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 10; max-width: 100%; box-shadow: var(--shadow); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.today-card { position: absolute; left: -36px; bottom: -40px; width: min(330px, 92%); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px 18px; }
.today-card .label { font-size: 12px; color: var(--muted); display: flex; justify-content: space-between; }
.today-card strong { display: block; font-size: 15px; margin: 4px 0 10px; }

/* ---------- Bölümler ---------- */
.section { padding-block: 84px; }
section[id] { scroll-margin-top: 80px; }
.section.soft { background: var(--bg-soft); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 36px; }
.section-head h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 700; margin-top: 6px; }
.section-head p { color: var(--muted); max-width: 56ch; margin-top: 10px; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step { padding: 24px 22px 22px; border-top: 3px solid var(--line); }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); font-weight: 700; margin-bottom: 14px; }
.step:first-child { border-top-color: var(--brand); }
.step h3 { font-size: 17px; font-weight: 600; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 14px; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters button { border: 1px solid var(--line); background: var(--surface); padding: 8px 16px; border-radius: 999px; cursor: pointer; font-size: 14px; font-weight: 500; }
.filters button[aria-pressed="true"] { background: var(--deep); border-color: var(--deep); color: var(--on-deep); }

/* Kart: Dilkur yapısı (foto, başlık, bilgi satırı, açıklama) */
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; display: flex; flex-direction: column; transition: box-shadow .25s, transform .25s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.card-img { aspect-ratio: 16 / 10; max-width: 100%; overflow: hidden; background: var(--bg-soft); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .card-img img { transform: scale(1.04); }
.card-body { padding: 20px 20px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-body h3 { font-size: 18px; font-weight: 600; }
.card-meta { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); }
.card-meta::before { content: ""; width: 8px; height: 8px; flex: none; background: var(--brand); transform: rotate(45deg); }
.card-body p { font-size: 14px; color: var(--muted); }
.card-cta { background: var(--deep); color: var(--on-deep); border-color: var(--deep); padding: 28px 24px; justify-content: space-between; gap: 18px; }
.card-cta h3 { color: var(--on-deep); font-size: 21px; }
.card-cta p { color: var(--on-deep-muted); font-size: 14px; }
.card-cta .go { color: var(--brand); font-weight: 600; }

.band { background: var(--deep); color: var(--on-deep); }
/* Koyu bantlarda vurgu açık karamel olur */
.band .eyebrow, .app-head .eyebrow, .card-cta .eyebrow, .card-cta .go { color: var(--brand-on-deep); }
.band .btn-primary { background: var(--brand-on-deep); color: var(--deep); }
.band .btn-primary:hover { background: var(--on-deep); color: var(--deep); }
.band .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; padding-block: 80px; align-items: center; }
.band h2 { color: var(--on-deep); font-size: clamp(26px, 3vw, 34px); margin: 8px 0 14px; }
.band p { color: var(--on-deep-muted); }
.feature-list { display: grid; gap: 2px; list-style: none; margin: 0; padding: 0; }
.feature-list li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.chip { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; padding: 2px 10px; border-radius: 999px; white-space: nowrap; height: fit-content; }
.chip-ready { background: var(--good-soft); color: var(--good); }
.chip-soon { background: var(--warn-soft); color: var(--warn); }
.chip-brand { background: var(--brand-soft); color: var(--brand); }
.chip-line { border: 1px solid var(--line); color: var(--muted); }

.about { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.principles { display: grid; gap: 18px; }
.principles div { padding-left: 18px; border-left: 2px solid var(--brand); }
.principles h3 { font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.principles p { color: var(--muted); font-size: 14px; }

.contact { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; }
form.panel { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
form.panel .full { grid-column: 1 / -1; }
label.field { display: grid; gap: 6px; font-size: 13px; font-weight: 500; }
.field input, .field select, .field textarea { border: 1px solid var(--line); background: var(--surface); border-radius: var(--radius); padding: 11px 12px; font-size: 15px; width: 100%; }
.field textarea { min-height: 110px; resize: vertical; }
.form-note { font-size: 14px; padding: 12px 14px; border-radius: var(--radius); background: var(--good-soft); color: var(--good); }

/* ---------- Footer ---------- */
.site-footer { background: var(--deep-foot); border-top: 1px solid rgba(255,255,255,.08); color: var(--on-deep-muted); font-size: 14px; }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-block: 64px 40px; }
.site-footer h4 { color: var(--on-deep); font-size: 16px; margin-bottom: 14px; }
.site-footer a { color: var(--on-deep-muted); text-decoration: none; display: block; padding: 3px 0; }
.site-footer a:hover { color: var(--brand); }


/* ---------- Program sayfası ---------- */
.crumbs { font-size: 13px; color: var(--muted); padding-block: 18px 0; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--brand); }
.prog-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding-block: 24px 56px; }
.prog-hero h1 { font-size: clamp(30px, 4vw, 44px); margin: 10px 0 14px; }
.prog-hero .lead { font-size: 17px; color: var(--muted); }
.prog-hero .card-img { border-radius: var(--radius); }
.prog-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 48px; padding-block: 56px 88px; }
.prose { display: grid; gap: 16px; max-width: 66ch; }
.prose h2 { font-size: 22px; margin-top: 18px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--bg-soft); font-weight: 600; font-size: 13px; }
tr:last-child td { border-bottom: 0; }
td.num, th.num { text-align: right; }
.aside { display: grid; gap: 16px; align-content: start; }
.box { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; background: var(--surface); display: grid; gap: 12px; }
.box h3 { font-size: 17px; }
.box.accent { border-color: var(--brand); background: var(--brand-soft); }
.note { font-size: 14px; color: var(--muted); }

/* ---------- Öğrenme alanı ---------- */
.app-head { background: var(--deep); color: var(--on-deep); }
.app-head .wrap { padding-block: 36px 0; display: grid; gap: 18px; }
.app-head h1 { color: var(--on-deep); font-size: clamp(24px, 3vw, 32px); }
.app-head p { color: var(--on-deep-muted); max-width: 70ch; }
.seg { display: inline-flex; flex-wrap: wrap; background: rgba(255,255,255,.08); border-radius: var(--radius); padding: 4px; gap: 4px; width: fit-content; max-width: 100%; }
.seg button { border: 0; background: transparent; color: var(--on-deep-muted); padding: 8px 16px; border-radius: 4px; cursor: pointer; font-weight: 500; }
.seg button[aria-pressed="true"] { background: var(--surface); color: var(--ink); }
.tabs { display: flex; gap: 4px; overflow-x: auto; margin-top: 6px; }
.tabs button { border: 0; background: none; color: var(--on-deep-muted); padding: 12px 16px; font-weight: 500; cursor: pointer; border-bottom: 3px solid transparent; white-space: nowrap; }
.tabs button[aria-selected="true"] { color: var(--on-deep); border-bottom-color: var(--brand-on-deep); }
.app-body { padding-block: 32px 88px; display: grid; gap: 24px; }
.sample-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; border-radius: var(--radius); background: var(--warn-soft); color: var(--warn); font-size: 14px; }
.sample-bar .btn { color: var(--ink); background: var(--surface); }
.grid-2 { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.next-card { border-radius: var(--radius); padding: 24px; background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--brand); display: grid; gap: 10px; }
.next-card h2 { font-size: 22px; }
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.tile { border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; background: var(--surface); }
.tile b { display: block; font-size: 24px; font-weight: 600; font-variant-numeric: tabular-nums; }
.tile span { font-size: 13px; color: var(--muted); }
.panel-box { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: 22px; display: grid; gap: 16px; }
.panel-box > header { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.panel-box h3 { font-size: 17px; }

.mrow { display: grid; grid-template-columns: minmax(110px, 170px) minmax(0, 1fr) 92px; gap: 14px; align-items: center; font-size: 14px; }
.mrow .name small { display: block; color: var(--muted); font-size: 12px; }
.mbar { position: relative; height: 10px; border-radius: 5px; background: var(--bg-soft); overflow: hidden; }
.mbar .fill { position: absolute; inset: 0 auto 0 0; border-radius: 5px; }
.mbar .band { position: absolute; top: 0; bottom: 0; background: currentColor; opacity: .18; }
.mbar.empty { background: repeating-linear-gradient(45deg, var(--bg-soft) 0 6px, var(--line) 6px 8px); }
.mrow .val { text-align: right; font-variant-numeric: tabular-nums; color: var(--muted); font-size: 13px; }
.mrow .val b { color: var(--ink); font-weight: 600; }
.lvl-weak { color: var(--bad); } .lvl-weak .fill { background: var(--bad); }
.lvl-mid { color: var(--warn); } .lvl-mid .fill { background: var(--warn); }
.lvl-good { color: var(--good); } .lvl-good .fill { background: var(--good); }
.legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12px; color: var(--muted); }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 5px; vertical-align: -1px; }

.question { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: 26px; display: grid; gap: 18px; max-width: 820px; }
.q-top { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: center; }
.q-top .chips { display: flex; gap: 8px; flex-wrap: wrap; }
.q-text { font-size: 16px; white-space: pre-line; }
.say { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.say details { font-size: 14px; color: var(--muted); }
.say summary { cursor: pointer; }
.say details p { margin: 8px 0 0; color: var(--ink, inherit); font-style: italic; }
.conf { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; }
.conf button { border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 6px 14px; cursor: pointer; font-size: 13px; }
.conf button[aria-pressed="true"] { border-color: var(--deep-2); background: var(--deep-2); color: #fff; }
.opts { display: grid; gap: 8px; }
.opt { display: grid; grid-template-columns: 30px 1fr; gap: 10px; align-items: start; text-align: left; border: 1px solid var(--line); background: var(--surface); border-radius: var(--radius); padding: 12px 14px; cursor: pointer; font-size: 15px; }
.opt:hover:not([disabled]) { border-color: var(--brand); }
.opt .letter { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-soft); font-size: 13px; font-weight: 600; }
.opt[aria-pressed="true"] { border-color: var(--brand); box-shadow: inset 0 0 0 1px var(--brand); }
.opt.correct { border-color: var(--good); background: var(--good-soft); }
.opt.correct .letter { background: var(--good); color: #fff; }
.opt.wrong { border-color: var(--bad); background: var(--bad-soft); }
.opt.wrong .letter { background: var(--bad); color: #fff; }
.opt[disabled] { cursor: default; }
.q-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.explain { border-radius: var(--radius); padding: 16px 18px; display: grid; gap: 6px; font-size: 14px; }
.explain.ok { background: var(--good-soft); }
.explain.no { background: var(--bad-soft); }
.explain strong { font-size: 15px; }
.why { display: grid; gap: 8px; font-size: 14px; }
.why div { display: flex; flex-wrap: wrap; gap: 6px; }
.progress { height: 6px; background: var(--bg-soft); border-radius: 3px; overflow: hidden; }
.progress i { display: block; height: 100%; background: var(--brand); }

.rank { display: grid; gap: 10px; counter-reset: rk; margin: 0; padding: 0; list-style: none; }
.rank li { display: grid; grid-template-columns: 28px 1fr auto; gap: 10px; align-items: center; font-size: 14px; }
.rank li::before { counter-increment: rk; content: counter(rk); width: 24px; height: 24px; border-radius: 50%; background: var(--bg-soft); display: grid; place-items: center; font-size: 12px; font-weight: 600; }
.rank li:first-child::before { background: var(--brand); color: var(--on-brand); }
.days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
.day { border: 1px solid var(--line); border-radius: var(--radius); padding: 10px; font-size: 12px; display: grid; gap: 4px; background: var(--surface); min-width: 0; }
.day.today { border-color: var(--brand); }
.day b { font-size: 13px; }
.day .r { color: var(--ink); }
.day .n { color: var(--brand); overflow-wrap: anywhere; }
.inline-field { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 14px; }
.inline-field input { width: 90px; border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 10px; background: var(--surface); }
details.how { font-size: 14px; color: var(--muted); }
details.how summary { cursor: pointer; color: var(--ink); font-weight: 500; }
details.how ul { margin: 10px 0 0; padding-left: 18px; display: grid; gap: 4px; }
.result-head { display: flex; gap: 28px; flex-wrap: wrap; align-items: baseline; }
.result-head b { font-size: 36px; font-weight: 700; }

/* ---------- Duyarlı ---------- */
@media (max-width: 1100px) {
  .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .menu-toggle { display: block; }
  .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--surface); flex-direction: column; align-items: stretch; padding: 12px var(--gutter-r) 20px var(--gutter-l); box-shadow: var(--shadow); gap: 0; }
  .main-nav.open { display: flex; }
  .mega { position: static; transform: none; grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: 1fr; box-shadow: none; border: 0; padding: 4px 14px 10px; gap: 12px; }
  .nav-cta { margin: 10px 0 0; }
  .logo-word { font-size: 22px; }
  .logo .nut { width: 40px; height: 40px; }
  .site-header .wrap { min-height: 68px; }
  .hero .wrap, .band .wrap, .about, .contact, .prog-hero, .prog-grid, .grid-2 { grid-template-columns: 1fr; }
  .today-card { position: static; width: auto; margin-top: 12px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer .cols { grid-template-columns: 1fr 1fr; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .days { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .topbar-text { display: none; }
  .topbar .wrap { justify-content: flex-end; }
  .section { padding-block: 60px; }
  .steps, .cards, .site-footer .cols { grid-template-columns: 1fr; }
  form.panel { grid-template-columns: 1fr; }
  .mrow { grid-template-columns: 1fr 74px; }
  .mrow .mbar { grid-column: 1 / -1; grid-row: 2; }
  .days { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .question { padding: 18px; }
}

/* ---------- Mac (ASK Robotik maskotu; renkler iki temada aynı) ---------- */
:root { --mac-shell: #7a4426; --mac-shell-dark: #5a2f19; --mac-face: #f6e3bf; --mac-ink: #3a2214; --mac-cheek: #e98a7a; --mac-leaf: #3f7d3a; --mac-leaf-2: #57994f; --mac-rib: #2b5c28; }
.mac { flex: none; overflow: visible; }
.mac-shell { fill: var(--mac-shell); }
.mac-face { fill: var(--mac-face); }
.mac-crack { fill: none; stroke: var(--mac-shell-dark); stroke-width: 1.6; stroke-linejoin: round; opacity: .55; }
.mac-eye { fill: var(--mac-ink); }
.mac-line { fill: none; stroke: var(--mac-ink); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.mac-cheek { fill: var(--mac-cheek); opacity: .45; }
.mac-leaf { fill: var(--mac-leaf); }
.mac-leaf-2 { fill: var(--mac-leaf-2); }
.mac-rib { fill: none; stroke: var(--mac-rib); stroke-width: 1.2; stroke-linecap: round; }
.mac-stem { fill: var(--mac-shell-dark); }
.mac-leaves { transform-origin: 32px 15px; transform-box: view-box; }
.mac-think .mac-leaves { animation: mac-sway 1.2s ease-in-out infinite; }
.mac-oops .mac-shell { fill: var(--mac-shell-dark); }
.mac-happy { animation: mac-hop .5s ease-out; }
@keyframes mac-sway { 50% { transform: rotate(-9deg); } }
@keyframes mac-hop { 40% { transform: translateY(-6px) rotate(-6deg); } }

.mac-dock { position: fixed; z-index: 70; right: calc(20px + env(safe-area-inset-right, 0px)); bottom: calc(20px + env(safe-area-inset-bottom, 0px)); }
.mac-fab { width: 64px; height: 64px; border-radius: 50%; border: 0; background: var(--surface); box-shadow: var(--shadow), 0 0 0 1px var(--line); display: grid; place-items: center; cursor: pointer; transition: transform .2s; }
.mac-fab:hover { transform: translateY(-2px) scale(1.04); }
.mac-panel { width: min(400px, calc(100vw - 32px)); max-height: min(560px, calc(100dvh - 120px)); display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 12px 40px rgba(42, 26, 18, .25); overflow: hidden; }
.mac-panel header { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: var(--deep); color: var(--on-deep); }
.mac-panel header small { display: block; color: var(--on-deep-muted); font-size: 12px; }
.mac-panel header b { color: var(--on-deep); }
.mac-x { margin-left: auto; background: none; border: 0; color: var(--on-deep); font-size: 24px; width: 36px; height: 36px; cursor: pointer; border-radius: 50%; }
.mac-log { flex: 1; overflow-y: auto; padding: 14px; display: grid; gap: 10px; align-content: start; }
.mac-msg { max-width: 88%; padding: 10px 13px; border-radius: 12px; font-size: 14px; line-height: 1.55; overflow-wrap: anywhere; }
.mac-msg.bot { background: var(--bg-soft); border-top-left-radius: 4px; }
.mac-msg.me { background: var(--deep-2); color: #fff; justify-self: end; border-top-right-radius: 4px; }
.mac-msg code { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .92em; padding: 1px 5px; border-radius: 4px; background: var(--surface); }
.mac-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 14px 10px; }
.mac-chips button { cursor: pointer; background: var(--surface); font-weight: 500; }
.mac-chips button:hover { border-color: var(--brand); color: var(--brand); }
.mac-form { display: flex; gap: 8px; padding: 10px 14px 12px; border-top: 1px solid var(--line); }
.mac-form input { flex: 1; min-width: 0; border: 1px solid var(--line); border-radius: var(--radius); padding: 9px 11px; background: var(--surface); }
.mac-left { padding: 0 14px 10px; color: var(--muted); font-size: 12px; }

/* ---------- Tanışma (#basla) ---------- */
.ob { min-height: 70vh; background: var(--bg-soft); padding-block: 0 72px; }
.ob-top { display: flex; align-items: center; gap: 14px; padding-block: 20px; max-width: 820px; }
.ob-back, .ob-skip { background: none; border: 0; cursor: pointer; color: var(--muted); font-weight: 500; }
.ob-back { font-size: 22px; width: 40px; height: 40px; border-radius: 50%; }
.ob-back:hover:not([disabled]), .ob-skip:hover { color: var(--brand); }
.ob-back[disabled] { visibility: hidden; }
.ob-progress { flex: 1; height: 10px; border-radius: 5px; background: var(--line); }
.ob-progress i { border-radius: 5px; transition: width .35s ease; }
.ob-body { max-width: 820px; }
.ob-hero { text-align: center; display: grid; justify-items: center; gap: 14px; padding-top: 6vh; }
.ob-hero h1 { font-size: clamp(30px, 4vw, 42px); }
.ob-lead { font-size: 18px; color: var(--muted); max-width: 52ch; }
.ob-q { display: grid; gap: 24px; padding-top: 3vh; }
.ob-ask { display: flex; gap: 16px; align-items: center; }
.ob-ask h2 { font-size: clamp(22px, 3vw, 30px); }
.ob-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
.ob-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ob-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ob-card { display: grid; gap: 6px; align-content: start; justify-items: start; text-align: left; padding: 18px; border: 2px solid var(--line); border-radius: 12px; background: var(--surface); cursor: pointer; font-size: 15px; transition: border-color .15s, transform .15s; min-width: 0; }
.ob-card:hover { border-color: var(--brand); transform: translateY(-2px); }
.ob-card[aria-pressed="true"] { border-color: var(--brand); background: var(--brand-soft); }
.ob-card span { color: var(--muted); font-size: 14px; }
.ob-card code { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 13px; background: var(--bg-soft); padding: 3px 8px; border-radius: 6px; color: var(--ink); max-width: 100%; overflow-x: auto; }
.ob-emoji { font-size: 30px; line-height: 1; color: inherit !important; }
.ob-big { font-size: 24px; }
.ob-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.ob-age { display: flex; gap: 12px; flex-wrap: wrap; }
.ob-age input { width: 140px; font-size: 28px; font-weight: 600; padding: 10px 14px; border: 2px solid var(--line); border-radius: 12px; background: var(--surface); }
.ob-err { color: var(--bad); font-size: 14px; }
.ob-plan { display: grid; gap: 18px; padding-top: 3vh; }
.ob-plan h1 { font-size: clamp(26px, 3.4vw, 36px); }
.ob-recs { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ob-recs li { display: grid; gap: 4px; justify-items: start; padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.ob-recs li:first-child { border: 2px solid var(--brand); }
.ob-loop { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.ob-loop div { display: grid; gap: 2px; padding: 12px 14px; border-radius: 10px; background: var(--surface); font-size: 14px; }
.ob-loop span { color: var(--muted); font-size: 13px; }
@media (max-width: 600px) {
  .ob-grid-4, .ob-grid-2, .ob-loop { grid-template-columns: 1fr 1fr; }
  .ob-ask svg { width: 48px; height: 48px; }
  .mac-dock { right: calc(12px + env(safe-area-inset-right, 0px)); bottom: calc(12px + env(safe-area-inset-bottom, 0px)); }
  .mac-panel { max-height: 72dvh; }
}

/* ---------- Programlar: 3'lü ızgara, pasif kartlar ---------- */
.cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.soon-head { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin: 56px 0 18px; }
.soon-head h3 { font-size: 20px; }
.soon-fold { border-top: 1px solid var(--line); margin-top: 40px; }
.soon-fold > summary.soon-head { margin: 0; padding: 18px 0; cursor: pointer; list-style: none; align-items: center; }
.soon-fold > summary.soon-head::-webkit-details-marker { display: none; }
.soon-fold > summary.soon-head::after { content: ""; width: 9px; height: 9px; margin-left: auto; border-right: 2px solid var(--brand); border-bottom: 2px solid var(--brand); transform: rotate(45deg); transition: transform .2s; }
.soon-fold[open] > summary.soon-head::after { transform: rotate(-135deg); }
.soon-fold > summary.soon-head:hover h3 { color: var(--brand); }
.soon-fold > summary.soon-head:focus-visible { outline: 2px solid var(--brand); outline-offset: 4px; border-radius: 6px; }
.soon-fold[open] { padding-bottom: 8px; }
.is-passive { opacity: .5; filter: grayscale(.85); pointer-events: none; user-select: none; }
.card-cta.is-passive { justify-content: flex-start; }
.soon { align-self: flex-start; margin-top: auto; }
.card-cta .soon { color: var(--on-deep-muted); border-color: rgba(255,255,255,.3); }
.mega-off { display: block; padding: 5px 0; font-size: 14px; color: var(--muted); opacity: .55; cursor: default; }
.mega-off small { font-size: 11px; margin-left: 4px; }
.seg button.is-off { opacity: .4; cursor: not-allowed; }

/* ---------- Kod ve oyun ---------- */
.q-code { margin: 0; padding: 14px 16px; border-radius: var(--radius); background: var(--deep); color: var(--on-deep); font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 14px; line-height: 1.6; overflow-x: auto; white-space: pre; }
.game-strip { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 20px; align-items: center; padding: 16px 20px; border-radius: var(--radius); background: var(--brand-soft); border: 1px solid var(--line); }
.game-lvl { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--brand); color: var(--on-brand); line-height: 1; }
.game-lvl span { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; }
.game-lvl b { font-size: 24px; }
.game-xp { display: grid; gap: 8px; }
.game-xp-top { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 14px; }
.game-xp .progress { height: 10px; background: var(--surface); }
.game-streak { text-align: center; line-height: 1.2; }
.game-streak b { display: block; font-size: 24px; color: var(--brand); }
.game-streak span { font-size: 12px; color: var(--muted); }
.xp-pop { display: inline-block; margin-left: 6px; padding: 1px 10px; border-radius: 999px; background: var(--good); color: #fff; font-size: 13px; animation: mac-hop .5s ease-out; }
@media (max-width: 960px) { .cards-3, .cards-passive { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .cards-3, .cards-passive { grid-template-columns: 1fr; } .game-strip { grid-template-columns: auto 1fr; } .game-streak { grid-column: 1 / -1; text-align: left; } }

/* ---------- Ders listesi ---------- */
.lesson-list { display: grid; gap: 10px; }
.lesson-card { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; align-items: start; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); text-decoration: none; transition: border-color .2s, transform .2s; }
.lesson-card:hover { border-color: var(--brand); transform: translateY(-2px); }
.lesson-card.done .lc-num { background: var(--good); color: #fff; }
.lc-num { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); font-weight: 700; }
.lc-body { display: grid; gap: 2px; }
.lc-body small { color: var(--muted); font-size: 12px; }
.lc-body span { color: var(--muted); font-size: 14px; }

/* ---------- Ders oynatıcısı ---------- */
.lp { max-width: 820px; margin: 0 auto; padding-block: 24px 80px; display: grid; gap: 18px; }
.lp-top { display: flex; align-items: center; gap: 14px; }
.lp-x { font-size: 26px; text-decoration: none; color: var(--muted); width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; }
.lp-x:hover { background: var(--bg-soft); color: var(--ink); }
.lp-prog { flex: 1; height: 12px; border-radius: 6px; background: var(--line); }
.lp-prog i { border-radius: 6px; transition: width .35s ease; }
.lp-pts { font-weight: 700; color: var(--brand); min-width: 70px; text-align: right; }
.lp-eyebrow { font-size: 13px; color: var(--muted); margin: 0; }
.lp-prompt { font-size: 20px; line-height: 1.5; font-weight: 500; }
.lp-prompt code, .lp-fb code { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .9em; background: var(--bg-soft); padding: 1px 6px; border-radius: 4px; }
.lp-sim { border: 1px solid var(--line); border-radius: 10px; background: var(--surface); padding: 16px; display: grid; gap: 12px; min-width: 0; }
.lp-opts .opt pre { margin: 0; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 14px; white-space: pre; }
.lp-goal { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--muted); margin: 0; }
.lp-goal i { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line); flex: none; transition: all .2s; }
.lp-goal.met { color: var(--good); font-weight: 600; }
.lp-goal.met i { border-color: var(--good); background: var(--good); box-shadow: inset 0 0 0 3px var(--surface); }
.lp-foot { min-height: 56px; }
.lp-fb { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 10px; }
.lp-fb.ok { background: var(--good-soft); }
.lp-fb.no { background: var(--warn-soft); }
.lp-fb p { margin: 4px 0 0; color: var(--ink); font-size: 15px; }
.lp-fb-btns { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.lp-end { text-align: center; justify-items: center; padding-top: 40px; }
.lp-end h2 { font-size: 30px; }
.lp-stats { display: flex; gap: 32px; }
.lp-stats div { display: grid; }
.lp-stats b { font-size: 30px; color: var(--brand); }
.lp-stats span { color: var(--muted); font-size: 13px; }

/* ---------- Simülasyonlar ---------- */
.sim-svg { width: 100%; height: auto; display: block; max-width: 100%; touch-action: none; }
.fb-part { fill: var(--bg-soft); stroke: var(--brand); stroke-width: 2; transition: fill .15s; }
.fb-part.on { fill: var(--brand); }
.fb-part.tap { cursor: pointer; }
.fb-part.tap:hover { fill: var(--brand-soft); }
.fb-part.tap.on:hover { fill: var(--brand-strong); }
.fb-part:focus-visible { outline: none; stroke: var(--ink); stroke-width: 4; }
.fb-label { font: 700 22px var(--font); fill: var(--ink); }
.sim-slider { display: grid; gap: 4px; font-size: 14px; color: var(--muted); }
.sim-slider b { color: var(--ink); }
.sim-slider input { width: 100%; accent-color: var(--brand); }
.nl.drag { cursor: pointer; }
.nl-axis { stroke: var(--ink); stroke-width: 3; stroke-linecap: round; }
.nl-major { stroke: var(--ink); stroke-width: 3; }
.nl-minor { stroke: var(--muted); stroke-width: 2; }
.nl-num { font: 600 18px var(--font); fill: var(--ink); text-anchor: middle; }
.nl-knob { fill: var(--brand); stroke: var(--surface); stroke-width: 3; cursor: grab; }
.nl-knob:focus-visible { outline: none; stroke: var(--ink); }
.nl-klab { font: 700 18px var(--font); fill: var(--brand); text-anchor: middle; }
.nl-mark { fill: var(--brand); }
.nl-marklab { font: 700 17px var(--font); fill: var(--brand); text-anchor: middle; }
.dice-ctrl { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.dice-info { margin-left: auto; font-size: 14px; color: var(--muted); }
.dc-bar { fill: var(--brand); }
.dc-theo { stroke: var(--good); stroke-width: 3; stroke-dasharray: 6 4; }
.dc-grid { stroke: var(--line); }
.dc-ax { font: 12px var(--font); fill: var(--muted); text-anchor: end; }
.dc-key { font: 600 15px var(--font); fill: var(--ink); text-anchor: middle; }
.plane-wrap { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 18px; align-items: center; }
.plane-ctrl { display: grid; gap: 14px; }
.plane-ctrl .eq { font: 700 22px var(--font); margin: 0; }
.plane-ctrl .slope { margin: 0; font-size: 15px; }
.pl-grid { stroke: var(--line); stroke-width: 1; }
.pl-axis { stroke: var(--muted); stroke-width: 2; }
.pl-num { font: 11px var(--font); fill: var(--muted); text-anchor: middle; }
.pl-numy { text-anchor: end; }
.pl-line { stroke: var(--brand); stroke-width: 4; stroke-linecap: round; }
.pl-int { fill: var(--brand); }
.pl-pt { fill: var(--surface); stroke: var(--ink); stroke-width: 3; }
.pl-pt.hit { fill: var(--good); stroke: var(--good); }
.pl-ptl { font: 600 13px var(--font); fill: var(--ink); }
.tg-curve { fill: none; stroke: var(--ink); stroke-width: 3; }
.tg-secant { stroke: var(--warn); stroke-width: 3; }
.tg-tangent { stroke: var(--brand); stroke-width: 3; }
.tg-tangent.flat { stroke: var(--good); stroke-width: 4; }
.tg-p { fill: var(--brand); stroke: var(--surface); stroke-width: 2; }
.tg-q { fill: var(--warn); stroke: var(--surface); stroke-width: 2; }
.lv { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.lv-name { font-family: ui-monospace, Menlo, Consolas, monospace; font-weight: 600; }
.lv-row { display: flex; gap: 4px; flex-wrap: wrap; }
.lv-cell { display: grid; justify-items: center; gap: 2px; }
.lv-cell span { min-width: 54px; padding: 8px 10px; text-align: center; border: 2px solid var(--brand); border-radius: 6px; background: var(--brand-soft); font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 14px; }
.lv-cell small { font-size: 11px; color: var(--muted); font-family: ui-monospace, Menlo, Consolas, monospace; }
.lv-cell small.neg { color: var(--brand); }
.tr { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 14px; }
.tr-code { margin: 0; padding: 10px 0; border-radius: 8px; background: var(--deep); color: var(--on-deep); font: 14px/1.7 ui-monospace, Menlo, Consolas, monospace; overflow-x: auto; }
.tr-line { display: block; padding: 0 14px 0 0; white-space: pre; }
.tr-line i { display: inline-block; width: 34px; text-align: right; margin-right: 12px; color: var(--on-deep-muted); font-style: normal; }
.tr-line.cur { background: rgba(224, 170, 118, .28); box-shadow: inset 4px 0 0 var(--brand-on-deep); }
.tr-side { display: grid; gap: 10px; align-content: start; }
.tr-box { border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; }
.tr-box h4 { margin: 0 0 6px; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.tr-var { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 15px; }
.tr-out { margin: 0; font: 14px/1.6 ui-monospace, Menlo, Consolas, monospace; white-space: pre-wrap; }
.tr-ctrl { grid-column: 1 / -1; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.tr-pos { margin-left: auto; font-size: 13px; color: var(--muted); }
.ps { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ps-col { display: grid; gap: 6px; align-content: start; min-width: 0; }
.ps-col h4 { margin: 0; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.ps-ans { border: 2px dashed var(--line); border-radius: 8px; padding: 10px; min-height: 120px; }
.ps-line { text-align: left; white-space: pre; font: 14px ui-monospace, Menlo, Consolas, monospace; padding: 8px 10px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); cursor: pointer; overflow-x: auto; color: var(--ink); }
.ps-line:hover { border-color: var(--brand); }
.ps-line.placed { background: var(--brand-soft); border-color: var(--brand); }
.ps-line i { font-style: normal; color: var(--muted); margin-right: 8px; }
@media (max-width: 700px) {
  .plane-wrap, .tr, .ps { grid-template-columns: 1fr; }
  .lp-prompt { font-size: 18px; }
  .lp-fb { grid-template-columns: auto 1fr; }
  .lp-fb-btns { grid-column: 1 / -1; justify-content: stretch; }
}

/* ---------- Danışmanlar ---------- */
.advisors { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; }
.advisor { margin: 0; display: grid; gap: 12px; justify-items: center; text-align: center; padding: 20px 14px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.advisor img { width: 132px; height: 132px; max-width: 100%; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 4px var(--brand-soft), 0 0 0 5px var(--line); }
.advisor figcaption { display: grid; gap: 8px; justify-items: center; }
.advisor b { font-size: 16px; }
@media (max-width: 1100px) { .advisors { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 600px) { .advisors { grid-template-columns: repeat(2, minmax(0, 1fr)); } .advisor img { width: 104px; height: 104px; } }
/* Başlık 1180px altında sıkışmasın */
@media (max-width: 1180px) and (min-width: 961px) { .main-nav > a, .nav-drop > button { padding: 10px 9px; font-size: 14px; } .nav-cta { margin-left: 6px; white-space: nowrap; } }
@media (max-width: 1300px) and (min-width: 961px) { .main-nav { gap: 0; } .main-nav > a, .nav-drop > button { white-space: nowrap; } }
@media (max-width: 1200px) and (min-width: 961px) { .main-nav > a, .nav-drop > button { padding: 10px 7px; font-size: 13.5px; } .main-nav > a.nav-cta { padding: 0 12px; } .logo-word { font-size: 22px; } .logo .nut { width: 40px; height: 40px; } }
@media (max-width: 1010px) and (min-width: 961px) { .main-nav > a, .nav-drop > button { padding: 10px 5px; font-size: 13px; } .main-nav > a.nav-cta { padding: 0 10px; margin-left: 4px; } .logo-word { font-size: 20px; } .logo .nut { width: 34px; height: 34px; } }

/* ---------- Müfredat ---------- */
#curriculum.cur { display: grid; gap: 10px; }
.cur-legend { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 13px; color: var(--muted); }
.cur-stage { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.cur-stage > summary, .cur-grade > summary { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; cursor: pointer; padding: 14px 16px; list-style-position: inside; }
.cur-stage > summary b { font-size: 17px; }
.cur-stage > summary span, .cur-grade > summary span { color: var(--muted); font-size: 13px; }
.cur-stage[open] > summary { border-bottom: 1px solid var(--line); }
.cur-grade { border-bottom: 1px solid var(--line); }
.cur-grade:last-child { border-bottom: 0; }
.cur-grade > summary { padding-left: 28px; }
.cur-grade[open] > summary { background: var(--bg-soft); }
.cur-theme { padding: 10px 16px 6px 28px; }
.cur-theme h4 { margin: 4px 0 6px; font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--brand); }
.cur-theme ul { list-style: none; margin: 0; padding: 0; display: grid; }
.cur-theme li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px dashed var(--line); font-size: 14px; }
.cur-theme li:first-child { border-top: 0; }
.cur-t { display: grid; gap: 2px; min-width: 0; }
.cur-t small { color: var(--muted); font-size: 12px; }
.cur-chips { display: flex; flex-wrap: wrap; gap: 4px; justify-content: flex-end; align-content: flex-start; flex: none; max-width: 50%; }
.cur-chips .chip, .cur-legend .chip { font-size: 11px; text-decoration: none; }
.cur-ex summary { cursor: pointer; font-size: 12px; color: var(--brand); margin-top: 4px; }
.cur-ex pre { margin: 6px 0 0; font-size: 13px; }
.cur-out { margin: 4px 0 0; padding: 8px 12px; border-radius: 6px; background: var(--bg-soft); font: 13px/1.5 ui-monospace, Menlo, Consolas, monospace; white-space: pre-wrap; }
.cur-h { margin: 14px 16px 8px; font-size: 15px; }
.cur-stage .table-wrap { margin: 0 16px 14px; }
.cur-stage > .note { margin: 12px 16px 0; }
.cur-src { font-size: 13px; color: var(--muted); }
.cur-src summary { cursor: pointer; }
.cur-src ul { padding-left: 18px; display: grid; gap: 2px; overflow-wrap: anywhere; }
@media (max-width: 700px) { .cur-theme li { flex-direction: column; } .cur-chips { justify-content: flex-start; max-width: none; } .cur-theme, .cur-grade > summary { padding-left: 16px; } }

/* ---------- Yeni simülasyonlar ---------- */
.bb { display: grid; gap: 10px; }
.bb-row { display: grid; grid-template-columns: 110px auto minmax(0, 1fr); gap: 12px; align-items: center; min-height: 62px; border-bottom: 1px dashed var(--line); padding-bottom: 8px; }
.bb-name { font-size: 14px; color: var(--muted); }
.bb-name b { color: var(--ink); font-size: 18px; margin-left: 4px; }
.bb-btns { display: flex; gap: 6px; }
.bb-btns .btn { min-width: 40px; padding: 0; font-size: 18px; }
.bb-vis { overflow-x: auto; min-width: 0; }
.bb-strip { height: 58px; max-width: none; }
.bb-strip[viewBox$=" 26"] { height: 26px; }
.bb-h { fill: var(--brand); stroke: var(--brand-strong); }
.bb-t { fill: var(--good); stroke: var(--leaf-dark); }
.bb-o { fill: var(--warn); stroke: var(--brand-strong); stroke-width: .6; }
.bb-l { stroke: rgba(255,255,255,.35); stroke-width: .6; }
.bb-ex { display: flex; flex-wrap: wrap; gap: 8px; }
.bb-val { margin: 0; font-size: 16px; }
.bb-val b { font-size: 26px; color: var(--brand); margin-right: 6px; }
.am-host { max-width: 340px; }
.am-a { fill: var(--brand-soft); stroke: var(--brand); stroke-width: 1.5; }
.am-b { fill: var(--good-soft); stroke: var(--good); stroke-width: 1.5; }
.bl-stand { fill: var(--muted); }
.bl-beam { stroke: var(--ink); stroke-width: 6; stroke-linecap: round; }
.bl-str { stroke: var(--muted); stroke-width: 2; }
.bl-pan { fill: var(--ink); }
.bl-x { fill: var(--brand); }
.bl-xt { font: 700 16px var(--font); fill: var(--on-brand); text-anchor: middle; }
.bl-one { fill: var(--warn); }
.bl-ot { font: 700 13px var(--font); fill: #fff; text-anchor: middle; }
.bl-eq { text-align: center; }
.ao-tick { stroke: var(--muted); stroke-width: 2; }
.ao-num { font: 13px var(--font); fill: var(--muted); text-anchor: middle; }
.ao-arc { fill: none; stroke: var(--line); stroke-width: 2; }
.ao-ray { stroke: var(--ink); stroke-width: 4; stroke-linecap: round; }
.ao-ray.move { stroke: var(--brand); }
.ao-fill { fill: var(--brand-soft); stroke: var(--brand); stroke-width: 1.5; }
.ao-v { fill: var(--ink); }
.ao-lab { font: 700 22px var(--font); fill: var(--ink); text-anchor: start; }
.gb-peg { fill: var(--muted); opacity: .6; }
.gb-poly { fill: var(--brand-soft); stroke: var(--brand); stroke-width: 3; stroke-linejoin: round; opacity: .9; }
.gb-al { font: 700 13px var(--font); fill: var(--ink); text-anchor: middle; paint-order: stroke; stroke: var(--surface); stroke-width: 4px; }
.vg-stats { margin: 0; font-size: 15px; }
.vg-stats b { color: var(--brand); }
.fg-parent { fill: none; stroke: var(--muted); stroke-width: 2; stroke-dasharray: 5 4; opacity: .6; }
.fg-curve { fill: none; }
.uc-c { fill: none; stroke: var(--ink); stroke-width: 2; }
.uc-r { stroke: var(--ink); stroke-width: 2; }
.uc-cos { stroke: var(--brand); stroke-width: 5; stroke-linecap: round; }
.uc-sin { stroke: var(--good); stroke-width: 5; stroke-linecap: round; }
.uc-k.cos b { color: var(--brand); }
.uc-k.sin b { color: var(--good); }
.ia-rect { fill: var(--brand-soft); stroke: var(--brand); stroke-width: 1; }
.seg-light { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: var(--radius); background: var(--bg-soft); width: fit-content; }
.seg-light button { border: 0; background: transparent; padding: 6px 12px; border-radius: 4px; cursor: pointer; font-size: 13px; }
.seg-light button[aria-pressed="true"] { background: var(--brand); color: var(--on-brand); }
@media (max-width: 600px) { .bb-row { grid-template-columns: 1fr auto; } .bb-vis { grid-column: 1 / -1; } }

/* ---------- Müzik: ritim makinesi, mikser, stüdyo ---------- */
.feature-banner { margin-top: 24px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border-radius: var(--radius); overflow: hidden; background: var(--deep); color: var(--on-deep); border: 1px solid var(--line); }
.feature-banner img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 10; max-width: 100%; }
.fb-body { padding: 32px; display: grid; gap: 12px; align-content: center; }
.fb-body h3 { color: var(--on-deep); font-size: 28px; }
.fb-body p { color: var(--on-deep-muted); }
.fb-body .btn-outline { color: var(--on-deep); border-color: rgba(255,255,255,.3); }
.studio-head { padding-block: 16px 8px; display: grid; gap: 8px; }
.studio-head h1 { font-size: clamp(30px, 4vw, 42px); }
.studio-box { margin-block: 20px; padding: 20px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); display: grid; gap: 14px; }
.studio-box h2 { font-size: 20px; }
.rm { display: grid; gap: 12px; }
.rm-top { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.rm-bpm { flex: 1; min-width: 180px; }
.rm-grid { display: grid; gap: 6px; overflow-x: auto; }
.rm-row { display: grid; grid-template-columns: 92px repeat(16, minmax(22px, 1fr)); gap: 4px; align-items: center; min-width: 520px; }
.rm-name { font-size: 13px; color: var(--muted); }
.rm-cell { height: 34px; border-radius: 5px; border: 1px solid var(--line); background: var(--bg-soft); cursor: pointer; padding: 0; transition: background .1s, transform .1s; }
.rm-cell.beat { border-left: 3px solid var(--muted); }
.rm-cell.on { background: var(--brand); border-color: var(--brand-strong); }
.rm-cell.cur { box-shadow: 0 0 0 3px var(--good); transform: scale(1.06); }
.rm-n { text-align: center; font-size: 11px; color: var(--muted); }
.dj { display: grid; grid-template-columns: 1fr 220px 1fr; gap: 14px; align-items: start; }
.dj-deck { border: 1px solid var(--line); border-radius: 10px; padding: 14px; display: grid; gap: 10px; background: var(--bg-soft); min-width: 0; }
.dj-head { display: flex; justify-content: space-between; align-items: baseline; }
.dj-bpm { font-weight: 700; color: var(--brand); }
.dj-lights { display: flex; gap: 6px; }
.dj-lights i { flex: 1; height: 10px; border-radius: 5px; background: var(--line); transition: background .05s; }
.dj-lights i.on { background: var(--brand); }
.dj-deck[data-d="B"] .dj-lights i.on { background: var(--good); }
.dj-btns { display: flex; flex-wrap: wrap; gap: 6px; }
.dj-eq { display: grid; gap: 6px; }
.dj-center { display: grid; gap: 18px; align-content: center; padding-top: 30px; }
.dj-phase { text-align: center; display: grid; gap: 6px; padding: 12px; border-radius: 10px; border: 2px solid var(--line); }
.dj-phase span { font-size: 12px; color: var(--muted); }
.dj-phase b { font-size: 22px; }
.dj-phase.ok { border-color: var(--good); background: var(--good-soft); }
.dj-meter { position: relative; height: 10px; border-radius: 5px; background: linear-gradient(90deg, var(--bad-soft), var(--good-soft) 42%, var(--good-soft) 58%, var(--bad-soft)); }
.dj-meter i { position: absolute; top: -3px; width: 4px; height: 16px; border-radius: 2px; background: var(--ink); transform: translateX(-2px); transition: left .1s; }
@media (max-width: 900px) { .dj { grid-template-columns: 1fr; } .dj-center { order: -1; padding-top: 0; } .feature-banner { grid-template-columns: 1fr; } }

/* ---------- İkinci simülasyon grubu ---------- */
.ol-ruler { fill: var(--kernel); stroke: var(--kernel-dark); }
.ol-tick { stroke: var(--deep); stroke-width: 1.2; }
.ol-num { font: 600 13px var(--font); fill: var(--deep); text-anchor: middle; }
.ol-obj { fill: var(--good); cursor: grab; }
.ol-tip { fill: var(--leaf-dark); }
.ol-guide { stroke: var(--brand); stroke-width: 1.5; stroke-dasharray: 4 3; }
.ol-read { font: 600 15px var(--font); fill: var(--ink); }
.kc-host { max-width: 400px; }
.kc-top { fill: var(--kernel); stroke: var(--shell-dark); stroke-width: 1; }
.kc-r { fill: var(--brand); stroke: var(--shell-dark); stroke-width: 1; }
.kc-l { fill: var(--kernel-dark); stroke: var(--shell-dark); stroke-width: 1; }
.kc-net-f { fill: var(--brand-soft); stroke: var(--brand); stroke-width: 2; }
.or-a { fill: var(--brand); }
.or-b { fill: var(--muted); }
.dn-target { fill: none; stroke: var(--good); stroke-width: 3; stroke-dasharray: 6 4; }
.sa-host { max-width: 300px; }
.sa-face { fill: var(--surface); stroke: var(--ink); stroke-width: 3; }
.sa-num { font: 700 18px var(--font); fill: var(--ink); text-anchor: middle; }
.sa-h { stroke: var(--ink); stroke-width: 7; stroke-linecap: round; }
.sa-m { stroke: var(--brand); stroke-width: 4; stroke-linecap: round; }
.pa-pick, .pa-tray { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.pa-tray { min-height: 54px; padding: 10px; border: 2px dashed var(--line); border-radius: 8px; }
.pa-n, .pa-c { border: 0; cursor: pointer; font: 600 14px var(--font); color: #2a1d16; }
.pa-n { padding: 10px 14px; border-radius: 6px; background: #cfe3c4; box-shadow: inset 0 0 0 2px #8fb07e; }
.pa-c { width: 54px; height: 54px; border-radius: 50%; background: #e8c98e; box-shadow: inset 0 0 0 3px #b8955c; font-size: 12px; }
.pa-in { display: inline-flex; align-items: center; gap: 6px; width: auto; height: auto; padding: 8px 10px; border-radius: 999px; cursor: default; }
.pa-in button { border: 0; background: rgba(0,0,0,.12); border-radius: 50%; width: 24px; height: 24px; cursor: pointer; }
.ok-host { max-width: 340px; }
.ok-r { fill: #c8262d; }
.ok-w { fill: #ffffff; stroke: var(--line); }
.ok-mix { stroke: var(--line); stroke-width: 2; }
.vn-r { fill: transparent; cursor: pointer; }
.vn-r:hover { fill: var(--brand-soft); }
.vn-r.on { fill: var(--brand); fill-opacity: .55; }
.vn-r:focus-visible { outline: none; stroke: var(--ink); stroke-width: 3; }
.vn-c { fill: none; stroke: var(--ink); stroke-width: 3; pointer-events: none; }
.vn-l { font: 700 22px var(--font); fill: var(--ink); text-anchor: middle; pointer-events: none; }
.vn-e { font: 600 14px var(--font); fill: var(--ink); text-anchor: middle; pointer-events: none; }
.mt { max-width: 360px; }
.mt th, .mt td { text-align: center; }
.mt-cell { width: 54px; height: 36px; border-radius: 6px; border: 2px solid var(--line); background: var(--surface); font-weight: 700; cursor: pointer; }
.mt-cell.d { background: var(--good-soft); border-color: var(--good); color: var(--good); }
.mt-cell.y { background: var(--bad-soft); border-color: var(--bad); color: var(--bad); }
.li-hole { fill: var(--surface); stroke: var(--ink); stroke-width: 3; }

.card-soon { cursor: default; }
.card-soon:hover { transform: none; box-shadow: none; }
.card-soon .card-img img { transform: none !important; }

/* ---------- Yöntem: Soru Zekâsı ---------- */
.method-hero h1 { font-size: clamp(28px, 3.6vw, 42px); }
.layer-stack { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; position: relative; }
.layer-stack a { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); text-decoration: none; transition: border-color .2s, transform .2s; }
.layer-stack li:nth-child(1) a { margin-right: 0; }
.layer-stack li:nth-child(2) a { margin-left: 4%; }
.layer-stack li:nth-child(3) a { margin-left: 8%; }
.layer-stack li:nth-child(4) a { margin-left: 12%; }
.layer-stack li:nth-child(5) a { margin-left: 16%; }
.layer-stack a:hover { border-color: var(--brand); transform: translateX(-3px); }
.layer-stack a > span:last-child { display: grid; min-width: 0; }
.layer-stack b { font-size: 15px; }
.layer-stack small { color: var(--muted); font-size: 13px; line-height: 1.4; }
.layer-stack .loop { margin-left: 16%; padding: 8px 16px; font-size: 13px; color: var(--good); border: 1px dashed var(--good); border-radius: var(--radius); background: var(--good-soft); text-align: center; }
.ln { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); font-weight: 700; }
.steps-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.method { display: grid; gap: 72px; }
.layer { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 40px; scroll-margin-top: 96px; }
.layer-head { display: flex; gap: 16px; align-items: flex-start; position: sticky; top: calc(env(safe-area-inset-top, 0px) + 24px); align-self: start; }
.layer-head .ln { width: 44px; height: 44px; font-size: 18px; background: var(--brand); color: var(--on-brand); }
.layer-head h2 { font-size: clamp(22px, 2.4vw, 28px); margin-top: 6px; }
.layer-body.prose { max-width: none; }
.layer-body > p { max-width: 66ch; }
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.trio > div { padding: 16px 18px; border-top: 3px solid var(--brand); background: var(--bg-soft); border-radius: 0 0 var(--radius) var(--radius); }
.trio h3 { font-size: 15px; margin-bottom: 6px; }
.trio p { font-size: 14px; color: var(--muted); }
.flow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.flow span { display: grid; padding: 8px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); font-weight: 600; font-size: 14px; }
.flow small { font-weight: 400; color: var(--muted); font-size: 12px; }
.flow i { font-style: normal; color: var(--brand); font-weight: 700; }
.findings { gap: 14px; }
.findings-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; align-items: center; }
.findings ul { margin: 0; padding-left: 20px; display: grid; gap: 8px; font-size: 14px; }
.spread { margin: 4px 0 0; display: grid; gap: 10px; }
.spread figcaption { font-size: 13px; font-weight: 600; }
.spread-bars { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; height: 150px; max-width: 360px; align-items: end; }
.spread-bars > div { display: grid; grid-template-rows: auto 1fr auto; height: 100%; justify-items: center; gap: 4px; }
.spread-bars .bar { align-self: end; width: 100%; max-width: 44px; background: var(--brand); border-radius: 4px 4px 0 0; }
.spread-bars .v { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; align-self: end; }
.spread-bars .l { font-weight: 700; font-size: 14px; }
.formula { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 18px 20px; border: 1px solid var(--brand); border-radius: var(--radius); background: var(--brand-soft); }
.formula .lhs { display: flex; align-items: center; gap: 12px; }
.formula .lhs b { font-size: 16px; color: var(--brand); }
.formula .term { display: grid; min-width: 0; }
.formula .term b { font-size: 16px; }
.formula .term small { color: var(--muted); font-size: 12px; }
.formula .op { font-size: 24px; font-weight: 600; line-height: 1; color: var(--brand); }
.checks { margin: 0; padding: 0; list-style: none; counter-reset: chk; display: grid; gap: 10px; }
.checks li { counter-increment: chk; display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); font-size: 14px; }
.checks li::before { content: counter(chk); display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--good-soft); color: var(--good); font-weight: 700; }
.promise-list li { color: var(--on-deep-muted); }
.promise-list b { color: var(--on-deep); }
@media (max-width: 960px) {
  .steps-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .layer { grid-template-columns: 1fr; gap: 20px; }
  .layer-head { position: static; }
  .trio { grid-template-columns: 1fr; }
  .layer-stack li a, .layer-stack .loop { margin-left: 0 !important; }
}
@media (max-width: 600px) {
  .steps-5 { grid-template-columns: 1fr; }
  .method { gap: 52px; }
  .formula { flex-direction: column; align-items: flex-start; gap: 6px; }
}

/* ---------- Konu anlatımı ---------- */
.la { max-width: 760px; margin: 0 auto; padding-block: 24px 80px; display: grid; gap: 22px; min-width: 0; }
.la-crumb { font-size: 13px; color: var(--muted); }
.la-crumb a { color: var(--brand); }
.la-head h1 { font-size: clamp(28px, 4vw, 38px); line-height: 1.15; margin: 6px 0 10px; text-wrap: balance; }
.la-head .lead { font-size: 18px; line-height: 1.55; color: var(--ink); margin: 0; }
.la-kaz { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 0; }
.la-text h2, .la-quiz h2 { font-size: 22px; margin: 8px 0 8px; }
.la h3 { font-size: 17px; margin: 0 0 8px; }
.la p, .la li { font-size: 16.5px; line-height: 1.65; }
.la p { margin: 0 0 10px; }
.la ul, .la ol { margin: 0 0 10px; padding-left: 22px; display: grid; gap: 4px; }
.la code { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .92em; background: var(--bg-soft); padding: 1px 6px; border-radius: 4px; }
.la-rule { border-left: 4px solid var(--brand); background: var(--brand-soft); border-radius: 0 10px 10px 0; padding: 14px 18px; }
.la-rule p:last-child, .la-warn p:last-child, .la-ex p:last-child { margin-bottom: 0; }
.la-warn { border: 1px solid var(--warn); background: var(--warn-soft); border-radius: 10px; padding: 14px 18px; }
.la-warn h3 { color: var(--warn); }
.la-ex { border: 1px solid var(--line); background: var(--surface); border-radius: 10px; padding: 16px 18px; }
.la-ex details summary { cursor: pointer; color: var(--brand); font-weight: 600; font-size: 15px; }
.la-steps { margin-top: 10px !important; }
.la-ans { font-weight: 600; color: var(--good); margin-top: 6px !important; }
.la-simbox { margin: 0; display: grid; gap: 10px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-soft); padding: 16px; min-width: 0; }
.la-simbox .lp-sim { background: var(--surface); }
.la-try { font-size: 15px; color: var(--muted); margin: 0 !important; }
.la-try li { font-size: 15px; }
.la-q { border-top: 1px solid var(--line); padding-top: 14px; margin-top: 4px; }
.la-q .opts { margin-top: 6px; }
.la-why { margin-top: 8px !important; font-size: 15px !important; }
.la-foot { display: grid; gap: 14px; border-top: 1px solid var(--line); padding-top: 18px; }
.la-foot .btn { justify-self: start; }
.la-nav { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 15px; }
.la-nav a { color: var(--brand); font-weight: 500; }
@media (max-width: 600px) { .la p, .la li { font-size: 16px; } .la-simbox { padding: 12px; } }

/* ---------- Sınava hazırlık: geri sayım, skor, rozet, hata defteri, rapor ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.cd-card { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 22px; align-items: start; padding: 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.cd-card.cd-plain { display: grid; grid-template-columns: 1fr; gap: 10px; }
.cd-card.is-week { border-color: var(--brand); }
.cd-num { width: 96px; height: 96px; border-radius: 50%; display: grid; place-content: center; text-align: center; background: var(--deep); color: var(--on-deep); line-height: 1.05; }
.cd-num b { font-size: 34px; font-weight: 700; color: var(--brand-on-deep); }
.cd-num span { font-size: 12px; color: var(--on-deep-muted); }
.cd-num.is-pending b { font-size: 30px; color: var(--on-deep-muted); }
.cd-body { display: grid; gap: 8px; min-width: 0; }
.cd-body h2 { font-size: 22px; }
.cd-goal { display: grid; gap: 6px; font-size: 14px; }
.cd-goal-top { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.cd-goal .progress { height: 8px; }
.cd-goal .progress i { background: var(--good); }
.cd-week, .cd-week-box { font-size: 14px; padding: 10px 14px; border-radius: var(--radius); background: var(--brand-soft); border-left: 3px solid var(--brand); color: var(--ink); }
.cd-src { font-size: 12px; color: var(--muted); }
.cd-src a { color: var(--brand); }
.cd-box { display: grid; gap: 6px; }
.cd-box-top { display: flex; align-items: baseline; gap: 6px; }
.cd-box-top b { font-size: 40px; font-weight: 700; color: var(--brand); line-height: 1; }
.cd-box-top span { color: var(--muted); }
.cd-box-goal { font-size: 14px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }

.tiles-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.score-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.wk { margin: 0; display: grid; gap: 10px; min-width: 0; }
.wk figcaption { font-size: 14px; font-weight: 500; }
.wk-bars { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 6px; height: 150px; align-items: end; }
.wk-col { display: grid; grid-template-rows: 18px 1fr 18px; height: 100%; min-width: 0; text-align: center; }
.wk-v { font-size: 11px; color: var(--muted); }
.wk-bar { align-self: end; display: flex; align-items: flex-end; min-height: 2px; background: var(--brand-soft); box-shadow: inset 0 0 0 1px var(--brand); border-radius: 3px 3px 0 0; overflow: hidden; }
.wk-bar i { display: block; width: 100%; background: var(--brand); }
.wk-l { font-size: 10.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vs { display: grid; gap: 8px; min-width: 0; }
.vs h4 { font-size: 14px; font-weight: 500; }
.vs table { font-size: 14px; }
.up { color: var(--good); font-weight: 600; }
.down { color: var(--bad); font-weight: 600; }
.league { font-size: 13px; color: var(--muted); padding-top: 10px; border-top: 1px dashed var(--line); }

.badges { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.badge { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 12px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.badge-icon { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 700; background: var(--brand); color: var(--on-brand); box-shadow: inset 0 0 0 3px var(--brand-soft); }
.badge-text { display: grid; gap: 1px; min-width: 0; }
.badge-text b { font-size: 14px; }
.badge-text small { font-size: 12px; color: var(--muted); line-height: 1.4; }
.badge.is-on { border-color: var(--brand); background: var(--brand-soft); }
.badge.is-off { border-style: dashed; }
.badge.is-off .badge-icon { background: var(--bg-soft); color: var(--muted); box-shadow: inset 0 0 0 1px var(--line); opacity: .7; }
.badge.is-off b { color: var(--muted); }
.badge-prog { color: var(--ink) !important; }

.badge-toast { position: fixed; z-index: 75; left: calc(16px + env(safe-area-inset-left, 0px)); bottom: calc(20px + env(safe-area-inset-bottom, 0px)); max-width: min(360px, calc(100vw - 112px)); display: grid; grid-template-columns: 44px minmax(0, 1fr) 32px; gap: 12px; align-items: center; padding: 12px 12px 12px 14px; border-radius: 12px; background: var(--surface); border: 1px solid var(--brand); box-shadow: var(--shadow); }
.badge-toast div { display: grid; font-size: 14px; min-width: 0; }
.badge-toast div span { color: var(--muted); font-size: 13px; overflow-wrap: anywhere; }
.badge-toast button { width: 32px; height: 32px; border: 0; background: none; font-size: 22px; cursor: pointer; color: var(--muted); border-radius: 50%; }
.badge-toast.pop { animation: badge-in .45s ease-out 1; }
@keyframes badge-in { from { transform: translateY(12px) scale(.96); opacity: 0; } to { transform: none; opacity: 1; } }

.mac-dock { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.mac-tip { width: min(320px, calc(100vw - 40px)); background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); padding: 10px 12px 12px; display: grid; gap: 8px; font-size: 14px; position: relative; animation: badge-in .35s ease-out 1; }
.mac-tip::after { content: ""; position: absolute; right: 24px; bottom: -7px; width: 12px; height: 12px; background: var(--surface); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transform: rotate(45deg); }
.mac-tip-head { display: flex; align-items: center; gap: 8px; }
.mac-tip-head .mac-x { color: var(--muted); width: 32px; height: 32px; font-size: 22px; }
.mac-tip-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.mac-tip-off { background: none; border: 0; padding: 6px 2px; color: var(--muted); font-size: 13px; text-decoration: underline; cursor: pointer; }

.dn-timer { display: flex; justify-content: space-between; align-items: center; gap: 12px; max-width: 820px; padding: 10px 16px; border-radius: var(--radius); background: var(--deep); color: var(--on-deep-muted); font-size: 14px; position: sticky; top: calc(76px + env(safe-area-inset-top, 0px)); z-index: 5; }
.dn-timer b { font-size: 20px; color: var(--brand-on-deep); }
.dn-timer.is-low b { color: #f3a09a; }
.dn-choices { display: flex; flex-wrap: wrap; gap: 10px; }
.row-weak td:first-child { color: var(--bad); font-weight: 500; }
.weak-list { display: grid; gap: 8px; }
.weak-list ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.weak-list li { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; padding: 8px 12px; border-radius: var(--radius); background: var(--bad-soft); }

.seg.seg-light { background: var(--bg-soft); }
.seg.seg-light button { color: var(--muted); }
.seg.seg-light button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 0 0 1px var(--line); }
.hata-sum { display: flex; flex-wrap: wrap; gap: 6px; }
.hata-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.hata-list li { display: grid; gap: 8px; padding: 12px 0; border-top: 1px solid var(--line); }
.hata-list li:first-child { border-top: 0; padding-top: 0; }
.hata-q { font-size: 14.5px; white-space: pre-line; overflow-wrap: anywhere; }
.hata-meta { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.hata-meta .btn { margin-left: auto; }

.report h2 { font-size: 22px; }
.rp-rows { display: grid; border-top: 1px solid var(--line); }
.rp-row { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.rp-row > span:first-child { color: var(--muted); }

.day .x { color: var(--on-brand); background: var(--brand); border-radius: 3px; padding: 0 6px; width: fit-content; font-weight: 600; }
.day .p { color: var(--good); overflow-wrap: break-word; }
.day.exam-day { border-color: var(--brand); background: var(--brand-soft); }

@media (max-width: 960px) {
  .score-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .cd-card { grid-template-columns: 1fr; gap: 14px; }
  .cd-num { width: 76px; height: 76px; }
  .cd-num b { font-size: 28px; }
  .tiles-3 { grid-template-columns: 1fr; }
  .rp-row { grid-template-columns: 1fr; gap: 2px; }
  .badges { grid-template-columns: 1fr; }
  .dn-timer { top: calc(68px + env(safe-area-inset-top, 0px)); }
}

/* Dil anlatımları: dinlenebilir cümle listesi */
.la-say { border: 1px solid var(--line); background: var(--surface); border-radius: 10px; padding: 16px 18px; }
.la-say ul { list-style: none; padding: 0; margin: 0; gap: 10px; }
.la-say li { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; }
.la-say li > span { display: grid; gap: 2px; min-width: 0; }
.la-say small { color: var(--muted); font-size: 14px; }
.la-say-t { font-weight: 500; }
.la-play { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--brand); background: var(--brand-soft); color: var(--brand); cursor: pointer; font-size: 13px; line-height: 1; }
.la-play:hover { background: var(--brand); color: #fff; }

/* Program yol haritası ve başvuru bilgisi */
.roadmap { display: grid; gap: 10px; }
.rm-date { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; }
.rm-date input { font: inherit; font-weight: 400; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--ink); }
.rm-weeks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; counter-reset: none; }
.rm-weeks li { border: 1px solid var(--line); border-radius: 10px; background: var(--surface); padding: 12px 14px; display: grid; gap: 6px; }
.rm-weeks small { color: var(--muted); font-size: 14px; line-height: 1.5; }
.rm-lessons { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 14px; }
.rm-lessons a { color: var(--brand); }
.rm-lessons a.done { color: var(--good); }
.facts { margin: 0 0 8px; padding-left: 18px; display: grid; gap: 8px; font-size: 14px; line-height: 1.5; }
.facts a { display: block; font-size: 12px; color: var(--brand); }

/* Konuşma ve yazma pratiği */
.pr { display: grid; gap: 18px; max-width: 820px; }
.pr-intro h2 { margin: 0 0 6px; }
.pr-sets { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.pr-set { text-align: left; display: grid; gap: 6px; border: 1px solid var(--line); background: var(--surface); border-radius: var(--radius); padding: 16px; cursor: pointer; font: inherit; color: var(--ink); }
.pr-set:hover { border-color: var(--brand); }
.pr-set span { color: var(--muted); font-size: 14px; line-height: 1.45; }
.pr-set small { color: var(--brand); font-weight: 600; }
.pr-task { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: 22px; display: grid; gap: 16px; }
.pr-task h3 { margin: 0; }
.pr-q { font-size: 16px; margin: 0; }
.pr-card { justify-self: start; display: grid; gap: 2px; border: 2px dashed var(--brand); border-radius: 12px; padding: 12px 22px; text-align: center; background: var(--brand-soft); }
.pr-card small { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
.pr-card b { font-size: 22px; }
.pr-prompt, .pr-example { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; background: var(--bg-soft); border-radius: 10px; padding: 12px 14px; }
.pr-prompt small, .pr-example > small { flex-basis: 100%; color: var(--muted); }
.pr-big { font-size: 20px; font-weight: 600; }
.pr-mic { justify-self: start; font: inherit; font-weight: 600; font-size: 17px; border: 0; border-radius: 999px; padding: 14px 26px; background: var(--brand); color: #fff; cursor: pointer; min-height: 48px; }
.pr-mic.on { background: var(--bad); animation: pr-pulse 1.2s ease-in-out infinite; }
@keyframes pr-pulse { 50% { box-shadow: 0 0 0 8px color-mix(in srgb, var(--bad) 25%, transparent); } }
@media (prefers-reduced-motion: reduce) { .pr-mic.on { animation: none; } }
.pr-heard { margin: 0; font-size: 15px; }
.pr-words { margin: 6px 0; display: flex; flex-wrap: wrap; gap: 6px; }
.pr-words span { padding: 2px 8px; border-radius: 6px; font-weight: 600; }
.pr-words .hit { background: var(--good-soft); color: var(--good); }
.pr-words .miss { background: var(--bad-soft); color: var(--bad); }
.pr-checks { list-style: none; padding: 0; margin: 6px 0; display: grid; gap: 4px; font-size: 15px; }
.pr-checks .hit { color: var(--good); }
.pr-checks .miss { color: var(--bad); }
.pr-text { margin: 0; padding: 14px 16px; border-left: 4px solid var(--brand); background: var(--bg-soft); border-radius: 0 10px 10px 0; font-size: 16px; line-height: 1.6; }
.pr-form { display: grid; gap: 12px; }
.pr-form label { display: grid; gap: 4px; font-weight: 600; font-size: 14px; }
.pr-form input, .pr-form textarea { font: inherit; font-weight: 400; font-size: 16px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--ink); width: 100%; box-sizing: border-box; }
.pr-form input.hit { border-color: var(--good); background: var(--good-soft); }
.pr-form input.miss { border-color: var(--bad); background: var(--bad-soft); }
.pr-form label small { font-weight: 400; color: var(--bad); }
.pr-points { margin: 0; padding-left: 22px; display: grid; gap: 4px; }
.pr-count { margin: 0; font-size: 14px; }
.pr-example summary { cursor: pointer; color: var(--brand); font-weight: 600; }
.pr-sample { margin: 8px 0 0; line-height: 1.6; }
.pr-done { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: 22px; }

/* Kelime kartları */
.pr-h { margin: 6px 0 0; }
.pr-vstats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.pr-vstats div { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: 14px; display: grid; gap: 2px; text-align: center; }
.pr-vstats b { font-size: 28px; color: var(--brand); }
.pr-vstats span { font-size: 13px; color: var(--muted); }
.pr-bar { display: block; height: 6px; border-radius: 3px; background: var(--bg-soft); overflow: hidden; }
.pr-bar i { display: block; height: 100%; background: var(--good); }
.pr-word { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 16px; padding: 28px 12px; background: var(--bg-soft); border-radius: 12px; text-align: center; }
.pr-word > span { font-size: clamp(26px, 6vw, 36px); font-weight: 700; }
.pr-word small { flex-basis: 100%; color: var(--muted); font-size: 16px; }
.pr-mean { margin: 0; text-align: center; font-size: 22px; font-weight: 600; color: var(--good); }
.pr-mean small { font-size: 14px; color: var(--muted); font-weight: 400; }
.pr-arts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.pr-arts .opt { grid-template-columns: 1fr; justify-items: center; font-size: 20px; font-weight: 700; padding: 16px; }
.lv-links { display: grid; gap: 8px; }
.lv-links .btn { justify-content: flex-start; }

