:root {
  --bg: #f2f6f8;
  --surface: #ffffff;
  --ink: #192f3b;
  --muted: #546b78;
  --line: #d9e3e8;
  --primary: #176b78;
  --primary-ink: #ffffff;
  --accent: #e9f3f5;
  --c-math: #d8eef1;
  --c-sci: #dcf2e7;
  --c-lang: #fbecd3;
  --c-arts: #ece3f8;
  --c-pe: #fde3dc;
  --radius: 14px;
  --font: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #12161d;
    --surface: #1a2029;
    --ink: #eef2f5;
    --muted: #a3b0ba;
    --line: #2b3440;
    --primary: #5fb6c4;
    --primary-ink: #0d1a20;
    --accent: #1f2a33;
    --c-math: #1d3a40;
    --c-sci: #1d3b2e;
    --c-lang: #3d3220;
    --c-arts: #33294a;
    --c-pe: #43271f;
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  line-height: 1.6;
}
a { color: var(--primary); }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }

/* Üst çubuk */
.top {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 800; font-size: 1.15rem; }
.brand-mark {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px;
  width: 30px; height: 30px; padding: 6px; border-radius: 9px; background: var(--primary);
}
.brand-mark span { background: var(--primary-ink); border-radius: 2px; }
.brand-mark span:nth-child(2), .brand-mark span:nth-child(6) { opacity: .4; }
.top nav { display: flex; align-items: center; gap: 18px; font-size: .92rem; }
.top nav a { color: var(--muted); text-decoration: none; }
.top nav a:hover { color: var(--ink); }
.lang {
  border: 1px solid var(--line); border-radius: 999px; padding: 3px; display: inline-flex; gap: 2px;
}
.lang a { padding: 3px 10px; border-radius: 999px; font-weight: 600; font-size: .82rem; }
.lang a[aria-current="true"] { background: var(--primary); color: var(--primary-ink); }
@media (max-width: 720px) { .top nav .hide-sm { display: none; } }

/* Giriş */
.hero { padding: 64px 0 40px; display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
@media (max-width: 880px) { .hero { grid-template-columns: 1fr; padding-top: 40px; } }
.eyebrow { color: var(--primary); font-weight: 700; font-size: .85rem; letter-spacing: .04em; text-transform: uppercase; margin: 0 0 12px; }
h1 { font-size: clamp(2.1rem, 5vw, 3.2rem); line-height: 1.1; letter-spacing: -.02em; margin: 0 0 18px; }
.lead { font-size: 1.12rem; color: var(--muted); margin: 0 0 26px; max-width: 34rem; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 11px 20px; border-radius: 999px;
  font-weight: 700; font-size: .95rem; text-decoration: none; border: 1px solid transparent;
}
.btn.primary { background: var(--primary); color: var(--primary-ink); }
.btn.ghost { border-color: var(--line); color: var(--ink); background: var(--surface); }

/* Örnek haftalık tablo */
.board {
  background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 14px;
  box-shadow: 0 1px 2px rgba(16, 24, 32, .06), 0 12px 32px -20px rgba(16, 24, 32, .22);
}
.board-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; font-size: .82rem; color: var(--muted); }
.board-head strong { color: var(--ink); font-size: .95rem; }
.pill { background: var(--accent); color: var(--primary); border-radius: 999px; padding: 2px 10px; font-weight: 700; font-size: .75rem; }
.grid-tt { display: grid; grid-template-columns: 26px repeat(5, 1fr); gap: 4px; font-size: .68rem; }
.grid-tt .h { text-align: center; color: var(--muted); font-weight: 700; padding-bottom: 2px; }
.grid-tt .n { color: var(--muted); display: flex; align-items: center; justify-content: center; font-weight: 700; }
.grid-tt .c { border-radius: 6px; padding: 6px 5px; min-height: 30px; font-weight: 700; line-height: 1.15; overflow: hidden; }
.grid-tt .lunch { grid-column: 2 / -1; text-align: center; color: var(--muted); background: var(--accent); border-radius: 6px; padding: 3px; font-weight: 600; }
.m { background: var(--c-math); } .s { background: var(--c-sci); } .l { background: var(--c-lang); }
.a { background: var(--c-arts); } .p { background: var(--c-pe); } .e { background: transparent; border: 1px dashed var(--line); }

/* Bölümler */
section { padding: 56px 0; }
section + section { border-top: 1px solid var(--line); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); letter-spacing: -.01em; margin: 0 0 10px; }
.sub { color: var(--muted); margin: 0 0 28px; max-width: 42rem; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.card h3 { margin: 0 0 6px; font-size: 1.02rem; }
.card p { margin: 0; color: var(--muted); font-size: .93rem; }
.ico { width: 36px; height: 36px; border-radius: 10px; background: var(--accent); color: var(--primary); display: flex; align-items: center; justify-content: center; margin-bottom: 12px; }
.ico svg { width: 20px; height: 20px; }

.steps { counter-reset: s; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.step { position: relative; padding: 20px 20px 20px 64px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.step::before {
  counter-increment: s; content: counter(s);
  position: absolute; left: 18px; top: 18px; width: 32px; height: 32px; border-radius: 50%;
  background: var(--primary); color: var(--primary-ink); display: flex; align-items: center; justify-content: center; font-weight: 800;
}
.step h3 { margin: 0 0 4px; font-size: 1rem; }
.step p { margin: 0; color: var(--muted); font-size: .92rem; }

.rules { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.rules ul { margin: 0; padding-left: 18px; color: var(--muted); font-size: .93rem; }
.rules li { margin: 4px 0; }
.tag { display: inline-block; font-size: .72rem; font-weight: 700; border-radius: 999px; padding: 2px 9px; margin-left: 6px; }
.tag.hard { background: var(--c-lang); color: var(--ink); }
.tag.soft { background: var(--c-math); color: var(--ink); }

table { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
th, td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: .93rem; vertical-align: top; }
tr:last-child th, tr:last-child td { border-bottom: 0; }
th { width: 150px; color: var(--muted); font-weight: 600; }
pre { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; overflow-x: auto; font-size: .88rem; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }

footer { padding: 32px 0 48px; color: var(--muted); font-size: .88rem; border-top: 1px solid var(--line); }
footer .wrap { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
footer a { color: var(--muted); }

/* Ekran görüntüleri */
.shot {
  margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 16px;
  overflow: hidden; box-shadow: 0 1px 2px rgba(16, 24, 32, .06), 0 12px 32px -20px rgba(16, 24, 32, .22);
}
.shot img { display: block; width: 100%; height: auto; }
.shot figcaption { padding: 12px 16px; font-size: .88rem; color: var(--muted); border-top: 1px solid var(--line); }
.shots { display: grid; gap: 22px; }
@media (min-width: 900px) { .shots.two { grid-template-columns: 1fr 1fr; } }
.hero-shot { margin-top: 8px; }
.hero.solo { grid-template-columns: 1fr; text-align: center; padding-bottom: 24px; }
.hero.solo .lead { margin-left: auto; margin-right: auto; }
.hero.solo .actions { justify-content: center; }

/* Özellik kartı: simge başlığın yanında, kutusuz */
.card { display: grid; grid-template-columns: 22px 1fr; column-gap: 12px; align-items: start; }
.card .ico { width: 22px; height: 22px; margin: 2px 0 0; background: none; border-radius: 0; grid-row: 1 / span 2; }
.card .ico svg { width: 22px; height: 22px; }
.card h3, .card p { grid-column: 2; }

/* İndirmeler */
.downloads { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.dl { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; }
.dl h3 { margin: 0 0 4px; font-size: 1.02rem; }
.dl p { margin: 0 0 16px; color: var(--muted); font-size: .9rem; flex: 1; }
.dl-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.dl-actions .btn { padding: 9px 16px; font-size: .9rem; }
.note { color: var(--muted); font-size: .88rem; margin: 18px 0 0; max-width: 46rem; }
.note a { color: var(--primary); }
