:root {
  --bg: #f4f3ec;
  --surface: #fbfaf5;
  --ink: #14150f;
  --muted: #5f6154;
  --line: #d9d7c9;
  --accent: #4a5d00;
  --accent-bg: #d7f24b;
  --on-accent: #14150f;
  --display: "Bricolage Grotesque", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #14150f;
    --surface: #1c1e16;
    --ink: #eeeede;
    --muted: #a2a492;
    --line: #33362a;
    --accent: #d7f24b;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.6 var(--display);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
h1, h2 { text-wrap: balance; letter-spacing: -0.03em; line-height: 1.02; font-weight: 800; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.eyebrow, .mono, .filters button, .tag, .status, .stack li, .ruler li, .stats dd {
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.04em;
}
.eyebrow { text-transform: uppercase; color: var(--accent); margin-bottom: 18px; }

/* Üst menü */
.top {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px clamp(16px, 5vw, 56px);
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-size: 20px; font-weight: 400; }
.brand b { font-weight: 800; }
.brand svg { width: 28px; height: 28px; fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; }
nav { display: flex; align-items: center; gap: clamp(12px, 2.4vw, 28px); font-size: 15px; }
nav a { text-decoration: none; color: var(--muted); }
nav a:hover { color: var(--ink); }
nav .cta { color: var(--ink); border: 1px solid var(--ink); padding: 6px 14px; border-radius: 999px; }
nav .cta:hover { background: var(--ink); color: var(--bg); }
@media (max-width: 620px) { nav a:not(.cta) { display: none; } }

main { max-width: 1180px; margin: 0 auto; padding: 0 clamp(16px, 5vw, 56px); }

/* Giriş */
.hero { padding: clamp(56px, 10vw, 120px) 0 clamp(48px, 7vw, 88px); }
.hero h1 { font-size: clamp(46px, 9.4vw, 124px); }
.hero h1 em { font-style: normal; background: var(--accent-bg); color: var(--on-accent); padding: 0 0.12em; border-radius: 0.08em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.lead { max-width: 60ch; margin-top: 28px; font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.btn {
  display: inline-block; text-decoration: none; font-weight: 600; font-size: 16px;
  padding: 12px 22px; border-radius: 999px; border: 1px solid var(--ink);
  transition: transform .15s ease, background .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn.primary { background: var(--accent-bg); color: var(--on-accent); border-color: var(--accent-bg); }
.btn.big { font-size: clamp(16px, 2.4vw, 22px); padding: 16px 30px; overflow-wrap: anywhere; }

/* Cetvel */
.ruler { margin-top: clamp(48px, 7vw, 80px); }
.ticks {
  height: 34px;
  border-bottom: 2px solid var(--ink);
  background:
    repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 20%) bottom left / 100% 100% no-repeat,
    repeating-linear-gradient(90deg, var(--muted) 0 1px, transparent 1px 2%) bottom left / 100% 40% no-repeat;
}
.ruler ol { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); margin: 10px 0 0; padding: 0; }
.ruler li { color: var(--ink); text-transform: uppercase; padding-left: 6px; }
.ruler li span { display: block; color: var(--muted); }
@media (max-width: 620px) { .ruler li { font-size: 10.5px; padding-left: 4px; } }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin: clamp(40px, 6vw, 64px) 0 0; }
.stats div { border-top: 1px solid var(--line); padding-top: 14px; }
.stats dt { font-size: clamp(36px, 5vw, 56px); font-weight: 800; line-height: 1; letter-spacing: -0.03em; }
.stats dd { margin: 8px 0 0; color: var(--muted); }
@media (max-width: 720px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* Bölümler */
.block { padding: clamp(56px, 8vw, 104px) 0; border-top: 1px solid var(--line); }
.block-head { max-width: 62ch; margin-bottom: 36px; }
.block-head h2, .contact h2 { font-size: clamp(34px, 5.4vw, 64px); }
.block-head h2 + p { margin-top: 18px; color: var(--muted); }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filters button {
  cursor: pointer; background: none; color: var(--muted);
  border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; text-transform: uppercase;
}
.filters button:hover { color: var(--ink); border-color: var(--ink); }
.filters button[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 16px; }
.card {
  display: flex; flex-direction: column; gap: 14px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 24px;
  transition: transform .2s ease, border-color .2s ease;
}
.card[hidden] { display: none; }
.card:hover { transform: translateY(-3px); border-color: var(--ink); }
.card.featured { grid-column: span 2; }
@media (max-width: 760px) { .card.featured { grid-column: auto; } }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.glyph {
  width: 46px; height: 46px; flex: none; display: grid; place-items: center;
  border-radius: 12px; background: var(--ink); color: var(--bg); font-weight: 800; font-size: 19px;
}
.status { display: inline-flex; align-items: center; gap: 7px; text-transform: uppercase; color: var(--muted); text-align: right; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--muted); flex: none; }
.status[data-s="hazirlik"]::before { background: #e5a100; }
.status[data-s="canli"]::before { background: #3fae5a; }
.status[data-s="gelistirme"]::before { background: #4c8dff; }
.card h3 { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
.card.featured h3 { font-size: clamp(28px, 3.4vw, 38px); }
.card .tagline { color: var(--accent); font-weight: 600; margin-top: 4px; }
.card p.desc { color: var(--muted); font-size: 16px; }
.card ul.points { margin: 0; padding-left: 18px; color: var(--muted); font-size: 15.5px; }
.card ul.points li::marker { color: var(--accent); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 6px; }
.tag { border: 1px solid var(--line); border-radius: 6px; padding: 3px 8px; color: var(--muted); }
.card a.link { font-family: var(--mono); font-size: 13px; color: var(--accent); text-underline-offset: 3px; overflow-wrap: anywhere; }

/* Yaklaşım */
.principles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 0; border-top: 2px solid var(--ink); }
.principles article { padding: 24px 24px 28px 0; border-bottom: 1px solid var(--line); }
.principles span { font-family: var(--mono); font-size: 13px; color: var(--accent); }
.principles h3 { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; margin: 10px 0 8px; }
.principles p { color: var(--muted); font-size: 16px; }

/* Altyapı */
.stack { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 16px; }
.stack > div { border: 1px solid var(--line); border-radius: 18px; padding: 22px; background: var(--surface); }
.stack h3 { font-size: 20px; font-weight: 800; margin-bottom: 12px; }
.stack ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.stack li { color: var(--muted); font-size: 13.5px; padding-top: 8px; border-top: 1px dashed var(--line); }

/* İletişim */
.contact {
  margin: 0 0 clamp(40px, 6vw, 72px);
  padding: clamp(40px, 7vw, 88px) clamp(22px, 5vw, 64px);
  background: var(--ink); color: var(--bg); border-radius: 28px;
}
.contact .eyebrow { color: var(--accent-bg); }
.contact p:not(.eyebrow) { margin: 20px 0 30px; max-width: 48ch; opacity: .75; }

footer {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
  max-width: 1180px; margin: 0 auto; padding: 24px clamp(16px, 5vw, 56px) 40px;
  color: var(--muted); font-size: 14px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .card { transition: none; }
}
