:root {
  --bg: #ffffff;
  --bg-subtle: #f7f8fa;
  --surface: #ffffff;
  --ink: #0f172a;
  --body: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --line-strong: #cbd5e1;
  --accent: #2563eb;
  --accent-hover: #1d4ed8;
  --accent-soft: #eff4ff;
  --dark: #0f172a;
  --dark-hover: #1e293b;
  --pass: #15803d;
  --pass-bg: #ecfdf3;
  --pass-line: #bbf7d0;
  --warn: #b45309;
  --warn-bg: #fffbeb;
  --warn-line: #fde68a;
  --fail: #dc2626;
  --fail-bg: #fef2f2;
  --fail-line: #fecaca;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
  --radius: 8px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 4px 16px rgba(15, 23, 42, 0.08);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.mono { font-family: var(--mono); font-size: 0.9em; font-variant-numeric: tabular-nums; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

::selection { background: #dbeafe; }

/* ---------- top bar ---------- */

.top {
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 100;
}
.top-inner {
  max-width: 1060px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); text-decoration: none; }
.logo-mark { color: var(--accent); flex-shrink: 0; }
.logo-word { font-size: 17px; font-weight: 700; letter-spacing: -0.01em; }
.logo-f { opacity: 0.85; }

.top-tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--muted);
  border: 1px solid var(--line);
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--bg-subtle);
  white-space: nowrap;
}

/* ---------- site nav ---------- */

.site-nav { display: flex; gap: 22px; }
.site-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 550;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.site-nav a:hover { color: var(--ink); }

.btn-login {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 7px 18px;
  border-radius: var(--radius);
  background: var(--dark);
  color: #fff;
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  transition: background 150ms ease;
}
.btn-login:hover { background: var(--dark-hover); }

@media (max-width: 820px) { .site-nav { display: none; } }

/* ---------- text pages ---------- */

.page { max-width: 720px; margin: 0 auto; padding: 48px 24px 80px; }
.page h1 { font-size: clamp(26px, 4vw, 32px); letter-spacing: -0.02em; font-weight: 800; margin-bottom: 10px; }
.page .page-sub { color: var(--muted); font-size: 15px; margin-bottom: 28px; }
.page .kicker { margin-bottom: 8px; }
.page h2 { font-size: 18px; font-weight: 700; margin: 28px 0 10px; }
.page p, .page li { font-size: 14.5px; color: var(--body); margin-bottom: 9px; }
.page ul { padding-left: 20px; margin-bottom: 12px; }
.page li::marker { color: var(--accent); }
.page strong { color: var(--ink); font-weight: 650; }
.page a { color: var(--accent); }
.page .updated { font-family: var(--mono); font-size: 11px; color: var(--muted); margin-bottom: 24px; display: block; }

.crumb { font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.crumb a { color: var(--muted); text-decoration: none; }
.crumb a:hover { color: var(--accent); }
.crumb span { margin: 0 6px; opacity: 0.6; }

/* ---------- plans ---------- */

.plans { display: grid; grid-template-columns: 1fr; gap: 14px; margin: 24px 0 8px; }
@media (min-width: 820px) { .plans { grid-template-columns: repeat(3, 1fr); align-items: start; } }

.plan {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--shadow-sm);
}
.plan-featured { border: 2px solid var(--accent); position: relative; }
.plan-badge {
  position: absolute;
  top: -10px;
  left: 16px;
  font-family: var(--mono);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  background: var(--accent);
  color: #fff;
  padding: 3px 9px;
  border-radius: 999px;
}
.plan-name { font-size: 15px; font-weight: 700; }
.plan-price { font-size: 27px; font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.plan-price small { font-size: 12.5px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan-desc { font-size: 13px; color: var(--muted); }
.plan ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 7px; flex: 1; }
.plan li { font-size: 13px; color: var(--body); margin: 0; padding-left: 16px; position: relative; }
.plan li::before { content: "—"; position: absolute; left: 0; color: var(--accent); }
.plan .btn-primary, .plan .btn-ghost {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 14px;
}
.btn-ghost {
  min-height: 44px;
  padding: 10px 22px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line-strong);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 150ms ease;
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.plan-soon { font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 3px 9px; align-self: flex-start; }

/* ---------- contact ---------- */

.contact-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 22px;
  box-shadow: var(--shadow-sm);
  max-width: 520px;
}
.contact-card .btn-primary { width: 100%; margin-top: 4px; }

/* ---------- layout ---------- */

main { max-width: 1060px; margin: 0 auto; padding: 0 24px 72px; }

.kicker {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 10px;
  font-weight: 600;
}

/* ---------- hero ---------- */

.hero { padding: 44px 0 36px; text-align: center; }

h1 {
  font-size: clamp(28px, 4.6vw, 40px);
  line-height: 1.12;
  letter-spacing: -0.022em;
  font-weight: 800;
  margin-bottom: 12px;
}

.sub { font-size: 15.5px; color: var(--muted); max-width: 620px; margin: 0 auto 26px; }
.sub strong { color: var(--ink); font-weight: 650; }

/* ---------- form ---------- */

.form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 18px;
  max-width: 760px;
  margin: 0 auto;
  text-align: left;
  box-shadow: var(--shadow-md);
}

.form-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 720px) {
  .form-grid { grid-template-columns: 1.1fr 1fr auto; align-items: end; }
  .form-grid .fg-domain { grid-column: auto; }
}

.field { display: flex; flex-direction: column; gap: 6px; }

.field label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.13em;
  color: var(--muted);
  font-weight: 600;
}
.field label small { font-weight: 400; letter-spacing: 0.02em; opacity: 0.75; }

.form input, .lead-form input {
  padding: 10px 12px;
  min-height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  font-size: 15px;
  font-family: var(--sans);
  width: 100%;
}
.form input::placeholder, .lead-form input::placeholder { color: #94a3b8; }
.form input:focus, .lead-form input:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: var(--accent); }

.btn-primary {
  min-height: 44px;
  padding: 10px 26px;
  border: none;
  border-radius: var(--radius);
  background: var(--dark);
  color: #fff;
  font-size: 14.5px;
  font-weight: 600;
  font-family: var(--sans);
  cursor: pointer;
  transition: background 150ms ease;
  touch-action: manipulation;
  white-space: nowrap;
}
.btn-primary:hover { background: var(--dark-hover); }
.btn-primary:active { transform: translateY(0.5px); }
.btn-primary[disabled] { opacity: 0.55; cursor: wait; }

.form-note {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  margin-top: 12px;
}
.form-error { color: var(--fail); margin-top: 10px; font-size: 13.5px; font-weight: 500; }

/* ---------- proof ---------- */

.proof {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: var(--bg-subtle);
}
.stat { padding: 16px 18px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat:nth-child(2n) { border-right: none; }
.stat:nth-child(n+3) { border-bottom: none; }
@media (min-width: 760px) {
  .proof { grid-template-columns: repeat(4, 1fr); }
  .stat { border-bottom: none; border-right: 1px solid var(--line); }
  .stat:last-child { border-right: none; }
}
.stat-label { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.13em; color: var(--muted); font-weight: 600; display: block; margin-bottom: 6px; }
.stat-value { font-size: 24px; font-weight: 750; line-height: 1.1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; display: block; margin-bottom: 4px; }
.stat-note { font-size: 12px; color: var(--muted); }

/* ---------- sections ---------- */

h2 { font-size: 21px; font-weight: 750; letter-spacing: -0.015em; margin-bottom: 16px; }

.cond { padding: 36px 0 8px; }
.cond-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 820px) { .cond-grid { grid-template-columns: repeat(3, 1fr); } }

.cond-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 2px solid var(--accent);
  border-radius: var(--radius);
  padding: 16px 18px;
  box-shadow: var(--shadow-sm);
}
.cond-num {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--accent);
  font-weight: 700;
  display: block;
  margin-bottom: 7px;
}
.cond-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.cond-card p { font-size: 13px; color: var(--muted); }

/* ---------- report ---------- */

.report { border-top: 1px solid var(--line); margin-top: 40px; padding-top: 36px; }
.report-head { margin-bottom: 16px; }
.report-head h2 { font-family: var(--mono); font-size: 18px; font-weight: 600; letter-spacing: 0; word-break: break-all; }

.chips { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 30px; }
.chip {
  font-family: var(--mono);
  font-size: 11.5px;
  border: 1px solid var(--line);
  background: var(--bg-subtle);
  padding: 4px 11px;
  border-radius: 999px;
  color: var(--body);
  font-variant-numeric: tabular-nums;
}
.chip.bad { border-color: var(--fail-line); background: var(--fail-bg); color: var(--fail); font-weight: 600; }

.block { margin-bottom: 38px; }
.block h3 {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.block h3::before {
  content: counter(block-idx, decimal-leading-zero);
  counter-increment: block-idx;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--accent);
  font-weight: 600;
}
.report { counter-reset: block-idx; }
.block p { color: var(--muted); }

.callout {
  background: var(--accent-soft);
  border: 1px solid #dbe7fe;
  border-left: 3px solid var(--accent);
  padding: 14px 16px;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 14px;
}
.callout p { margin-bottom: 9px; color: var(--body); }
.callout p:last-child { margin-bottom: 0; }
.callout code {
  font-family: var(--mono);
  font-size: 11.5px;
  background: #fff;
  border: 1px solid var(--line);
  padding: 1px 6px;
  border-radius: 4px;
  word-break: break-all;
  color: var(--ink);
}

/* ---------- tables ---------- */

.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; font-size: 13.5px; background: var(--surface); min-width: 520px; }
th, td { text-align: left; padding: 9px 13px; border-bottom: 1px solid var(--line); vertical-align: top; }
tr:last-child td { border-bottom: none; }
th {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.11em;
  color: var(--muted);
  font-weight: 600;
  background: var(--bg-subtle);
}
td a { color: var(--accent); word-break: break-all; }
td:first-child { font-weight: 600; color: var(--ink); }

.pill {
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 999px;
  white-space: nowrap;
  display: inline-block;
  border: 1px solid transparent;
}
.pill.pass { background: var(--pass-bg); color: var(--pass); border-color: var(--pass-line); }
.pill.warn { background: var(--warn-bg); color: var(--warn); border-color: var(--warn-line); }
.pill.fail { background: var(--fail-bg); color: var(--fail); border-color: var(--fail-line); }

/* ---------- protocol ---------- */

ol.proto { padding-left: 20px; display: flex; flex-direction: column; gap: 8px; font-size: 14px; margin-bottom: 14px; color: var(--body); }
ol.proto li::marker { color: var(--accent); font-family: var(--mono); font-size: 11px; font-weight: 600; }
.queries { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.query-chip {
  font-family: var(--mono);
  font-size: 12px;
  background: var(--bg-subtle);
  border: 1px solid var(--line);
  padding: 5px 10px;
  border-radius: 6px;
  color: var(--body);
}
.obs-wrap { position: relative; }
textarea#obs {
  width: 100%;
  min-height: 140px;
  font-family: var(--mono);
  font-size: 11.5px;
  line-height: 1.6;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 14px;
  background: var(--bg-subtle);
  color: var(--body);
  resize: vertical;
}
.copy-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  border: 1px solid var(--line-strong);
  background: #fff;
  color: var(--ink);
  padding: 7px 11px;
  min-height: 32px;
  border-radius: 6px;
  cursor: pointer;
  transition: border-color 150ms ease;
}
.copy-btn:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- technical ---------- */

.tech-list { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.tech-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
.tech-item:last-child { border-bottom: none; }
.tech-item .pill { margin-top: 1px; min-width: 62px; text-align: center; flex-shrink: 0; }
.tech-body { flex: 1; min-width: 0; }
.tech-name { font-weight: 650; font-size: 14px; color: var(--ink); }
.tech-detail { font-size: 13px; color: var(--body); margin: 3px 0; font-variant-numeric: tabular-nums; }
.tech-why { font-size: 13px; color: var(--muted); }
.tech-fix { font-size: 13px; color: var(--ink); margin-top: 4px; }
.tech-fix::before {
  content: "Düzeltme";
  font-family: var(--mono);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.11em;
  color: var(--accent);
  display: inline-block;
  margin-right: 8px;
  text-transform: uppercase;
}

/* ---------- job cards ---------- */

.cards { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 800px) { .cards { grid-template-columns: repeat(3, 1fr); } }

.job-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 2px solid var(--accent);
  border-radius: var(--radius);
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: var(--shadow-sm);
}
.job-card-num { font-family: var(--mono); font-size: 10px; color: var(--accent); letter-spacing: 0.14em; font-weight: 700; }
.job-card h4 { font-size: 14.5px; font-weight: 700; line-height: 1.4; }
.job-card dl { font-size: 13px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.job-card dt { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.12em; color: var(--muted); font-weight: 600; margin-bottom: 2px; }
.job-card dd { color: var(--body); }
.job-card .first-step { background: var(--bg-subtle); border: 1px solid var(--line); border-radius: 6px; padding: 9px 11px; }

/* ---------- CTA ---------- */

.cta { background: var(--bg-subtle); border: 1px solid var(--line); border-radius: 12px; padding: 24px; }
.cta h3 { border-bottom: none; padding-bottom: 0; margin-bottom: 8px; }
.cta h3::before { display: none; }
.cta p { color: var(--muted); font-size: 14px; max-width: 52ch; }
.cta-inner { display: flex; flex-direction: column; gap: 18px; }
@media (min-width: 760px) { .cta-inner { flex-direction: row; justify-content: space-between; align-items: center; } .cta-inner > div { flex: 1; padding-right: 24px; } }
.lead-form { display: flex; gap: 10px; align-items: flex-end; flex-wrap: wrap; }
.lead-form .field { min-width: 240px; flex: 1; }
.lead-form button { white-space: nowrap; }
.cta .form-note { margin-top: 10px; }
.lead-msg { color: var(--pass); margin-top: 12px; font-size: 13.5px; font-weight: 600; }

/* ---------- FAQ ---------- */

.faq { margin-top: 48px; }
.faq details { border-bottom: 1px solid var(--line); padding: 12px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 14.5px; min-height: 44px; display: flex; align-items: center; color: var(--ink); }
.faq summary::marker { color: var(--accent); }
.faq details p { margin-top: 8px; font-size: 14px; color: var(--muted); max-width: 68ch; }

/* ---------- footer ---------- */

footer { border-top: 1px solid var(--line); background: var(--bg-subtle); }
.foot-inner {
  max-width: 1060px;
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 12.5px;
}

/* ---------- motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}

@media (max-width: 719px) {
  .form-grid .btn-primary { width: 100%; }
  .top-tag { display: none; }
}

/* ---------- llms generator ---------- */

.gen-widget { text-align: left; }
.gen-widget .form-grid button { width: 100%; }
@media (min-width: 720px) { .gen-widget .form-grid { grid-template-columns: 1fr 1fr auto; align-items: end; } .gen-widget .form-grid button { width: auto; } }
.gen-out { margin-top: 18px; }
.gen-out-title { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; color: var(--muted); font-weight: 600; margin-bottom: 10px; }
.gen-out pre {
  white-space: pre-wrap;
  word-break: break-word;
  background: var(--bg-subtle);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--body);
  min-height: 120px;
}

.foot-github { text-decoration: none; color: var(--muted); }
.foot-github:hover { color: var(--accent); }
