@font-face {
  font-family: "Montserrat";
  src: url("/fonts/Montserrat-Variable.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --bg: #08101f;
  --surface: #0d1a30;
  --surface-2: #141c2e;
  --border: #1e2d47;
  --text: #ffffff;
  --muted: #a0b4c8;
  --dim: #7d92aa;
  --accent: #f26506;
  --accent-warm: #f4982a;
  --accent-yellow: #f5bf01;
  --ok: #22c55e;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--muted);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent-warm); text-decoration: none; }
a:hover { color: var(--accent-yellow); }
strong { color: var(--text); font-weight: 600; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 780px; margin: 0 auto; padding: 0 24px; }

/* üst bar */
.top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 0; border-bottom: 1px solid var(--border);
}
.brand { display: flex; align-items: center; gap: 12px; color: var(--text); font-weight: 800; font-size: 20px; letter-spacing: -0.02em; }
.brand img { width: 38px; height: 38px; }
.brand .io { color: var(--accent); }
.nav { display: flex; gap: 22px; font-size: 14px; }
.nav a { color: var(--muted); }
.nav a:hover { color: var(--text); }

/* hero */
.hero { padding: 84px 0 56px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 620px; height: 620px;
  background: radial-gradient(closest-side, rgba(242, 101, 6, .22), transparent);
  pointer-events: none;
}
.pill {
  display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600;
  color: var(--accent-warm); background: rgba(242, 101, 6, .1); border: 1px solid rgba(242, 101, 6, .28);
  border-radius: 999px; padding: 6px 14px; margin-bottom: 26px;
}
.pill i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); display: inline-block; }
h1 {
  font-size: clamp(34px, 5.4vw, 58px); line-height: 1.08; font-weight: 800; letter-spacing: -0.03em;
  color: var(--text); max-width: 800px; margin-bottom: 22px;
}
h1 .grad {
  background: linear-gradient(90deg, var(--accent-yellow), var(--accent));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { font-size: 18px; max-width: 620px; margin-bottom: 34px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-block; font-weight: 700; font-size: 15px; border-radius: 12px; padding: 13px 22px;
  background: linear-gradient(135deg, var(--accent-yellow), var(--accent)); color: #1a0e00;
}
.btn:hover { color: #1a0e00; filter: brightness(1.06); }
.btn.ghost { background: transparent; color: var(--text); border: 1px solid var(--border); }
.btn.ghost:hover { border-color: var(--accent-warm); color: var(--text); }

/* bölümler */
section { padding: 56px 0; }
h2 { font-size: 28px; color: var(--text); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 10px; }
.sub { max-width: 640px; margin-bottom: 34px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 24px; }
.card h3 { color: var(--text); font-size: 17px; margin-bottom: 8px; font-weight: 700; }
.card p { font-size: 14.5px; }
.card .tag { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--accent-warm); margin-bottom: 12px; }
.card.soon { border-style: dashed; }
.brand-card { display: block; color: var(--muted); transition: border-color .15s; }
.brand-card:hover { border-color: var(--accent-warm); color: var(--muted); }
.brand-card .ext { display: inline-block; margin-top: 12px; font-size: 13px; font-weight: 600; color: var(--accent-warm); }

/* akış şeması */
.flow { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; counter-reset: s; }
.flow div { background: var(--surface-2); border: 1px solid var(--border); border-radius: 14px; padding: 18px; font-size: 14px; position: relative; }
.flow div::before { counter-increment: s; content: counter(s); display: block; font-weight: 800; font-size: 22px; color: var(--accent); margin-bottom: 6px; }
.flow strong { display: block; margin-bottom: 4px; }

/* hukuki sayfalar */
.doc { padding: 56px 0 80px; }
.doc h1 { font-size: 34px; margin-bottom: 8px; }
.doc .date { font-size: 13px; color: var(--dim); margin-bottom: 36px; }
.doc h2 { font-size: 21px; margin: 34px 0 10px; }
.doc p, .doc li { font-size: 15px; margin-bottom: 12px; }
.doc ul { margin: 0 0 12px 22px; }
.doc .lang { display: flex; gap: 8px; margin-bottom: 28px; }
.doc .lang a { font-size: 13px; font-weight: 700; border: 1px solid var(--border); border-radius: 8px; padding: 6px 12px; color: var(--muted); }
.doc .lang a:hover { color: var(--text); border-color: var(--accent-warm); }
.doc hr { border: 0; border-top: 1px solid var(--border); margin: 52px 0; }
.note { background: var(--surface); border-left: 3px solid var(--accent); border-radius: 8px; padding: 14px 18px; font-size: 14px; margin: 16px 0 20px; }

footer { border-top: 1px solid var(--border); padding: 30px 0 44px; font-size: 13px; color: var(--dim); }
footer .row { display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: space-between; }
footer a { color: var(--muted); }
footer a:hover { color: var(--text); }
footer .links { display: flex; flex-wrap: wrap; gap: 18px; }

@media (max-width: 640px) {
  .top { flex-wrap: wrap; gap: 12px; }
  .nav { flex-wrap: wrap; gap: 8px 16px; font-size: 13px; }
  .hero { padding: 52px 0 36px; }
  .lead { font-size: 16px; }
}

/* ---- v2: çok sayfalı site ---- */
.skip { position: absolute; left: -9999px; top: 8px; background: var(--accent); color: #1a0e00; padding: 10px 16px; border-radius: 8px; font-weight: 700; z-index: 10; }
.skip:focus { left: 16px; }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--accent-yellow); outline-offset: 3px; border-radius: 4px; }
.top { gap: 16px; }
.nav { flex: 1; justify-content: center; flex-wrap: wrap; }
.nav a { padding: 4px 0; border-bottom: 2px solid transparent; }
.nav a[aria-current="page"] { color: var(--text); border-bottom-color: var(--accent); }
.langsw { display: flex; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; font-size: 12px; font-weight: 700; }
.langsw a { padding: 6px 11px; color: var(--muted); }
.langsw a[aria-current="true"] { background: var(--accent); color: #1a0e00; }
.langsw a:hover { color: var(--text); }
.langsw a[aria-current="true"]:hover { color: #1a0e00; }

.pagehead { padding: 48px 0 8px; }
.pagehead h1 { font-size: clamp(30px, 4.6vw, 46px); }
.pagehead .lead { margin-bottom: 8px; }
.crumbs { font-size: 13px; color: var(--dim); margin-bottom: 18px; }
.crumbs a { color: var(--muted); }
main > section:first-of-type { padding-top: 28px; }

.answer { background: var(--surface); border: 1px solid var(--border); border-left: 3px solid var(--accent); border-radius: 12px; padding: 18px 22px; font-size: 16px; max-width: 860px; margin-bottom: 26px; }
.note.status { max-width: 860px; margin: 22px 0 26px; }
.hero + .note.status { margin-top: 0; }
.defs { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 14px; max-width: none; }
.defs div { background: var(--surface-2); border: 1px solid var(--border); border-radius: 14px; padding: 18px; }
.defs dt { color: var(--text); font-weight: 700; margin-bottom: 4px; font-size: 15px; }
.defs dd { font-size: 14px; }

.steps { list-style: none; display: grid; gap: 14px; max-width: 860px; margin-top: 26px; }
.steps li { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 20px 22px; }
.steps h2 { font-size: 19px; margin-bottom: 6px; }
.steps p { font-size: 15px; }
code { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: .9em; background: var(--surface-2); border: 1px solid var(--border); border-radius: 6px; padding: 1px 6px; color: var(--accent-warm); overflow-wrap: anywhere; }
.plain { margin: 0 0 14px 22px; max-width: 760px; }
.plain li { margin-bottom: 8px; }
section p + p { margin-top: 12px; }
section h2 + p:not(.sub) { margin-top: 4px; }
section > p { max-width: 760px; }
section > .answer { max-width: 860px; }
section > p.sub { max-width: 640px; }
section > p.fine { max-width: 860px; }

.tablewrap { margin-top: 8px; }
.cmp { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 14px; border: 1px solid var(--border); border-radius: 14px; overflow: hidden; background: var(--surface); }
.cmp caption { position: absolute; left: -9999px; }
.cmp th, .cmp td { text-align: left; vertical-align: top; padding: 14px 16px; border-bottom: 1px solid var(--border); }
.cmp thead th { background: var(--surface-2); color: var(--text); font-size: 13px; letter-spacing: .03em; }
.cmp tbody th { color: var(--text); font-weight: 700; width: 18%; }
.cmp tbody tr:last-child th, .cmp tbody tr:last-child td { border-bottom: 0; }
.cmp td:nth-child(2) { border-left: 2px solid rgba(242, 101, 6, .5); }
.fine { font-size: 13px; color: var(--dim); margin-top: 14px; }

.faq { display: grid; gap: 10px; max-width: 860px; }
.qa { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; }
.qa summary { cursor: pointer; padding: 16px 20px; color: var(--text); font-weight: 700; font-size: 16px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; color: var(--accent); font-weight: 800; font-size: 20px; line-height: 1; }
.qa[open] summary::after { content: "–"; }
.qa .ans { padding: 0 20px 18px; font-size: 15px; }

.band { margin: 24px 0 56px; padding: 40px 32px; background: linear-gradient(135deg, rgba(242, 101, 6, .14), rgba(245, 191, 1, .06)); border: 1px solid rgba(242, 101, 6, .3); border-radius: 20px; }
.band .sub { margin-bottom: 20px; }
.band .btn { margin: 0 8px 8px 0; overflow-wrap: anywhere; }
.card.contact h2 { font-size: 22px; margin: 4px 0 8px; overflow-wrap: anywhere; }

.doc h2.h1 { font-size: 34px; margin: 0 0 8px; }
.doc h3 { font-size: 21px; margin: 34px 0 10px; color: var(--text); font-weight: 800; letter-spacing: -0.02em; }

footer { margin-top: 24px; }
.foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; margin-bottom: 28px; }
.foot-brand strong { font-size: 18px; }
.foot-brand p { margin-top: 8px; max-width: 320px; }
.foot nav { display: flex; flex-direction: column; gap: 8px; }
.foot h2 { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--text); margin: 0 0 4px; font-weight: 700; }

@media (max-width: 860px) {
  .foot { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .nav { order: 3; flex-basis: 100%; justify-content: flex-start; }
}
@media (max-width: 640px) {
  .pagehead { padding-top: 32px; }
  .cmp, .cmp tbody, .cmp tr, .cmp th, .cmp td { display: block; width: 100%; }
  .cmp thead { position: absolute; left: -9999px; }
  .cmp tr { border-bottom: 1px solid var(--border); padding: 6px 0; }
  .cmp tbody th { width: 100%; border: 0; padding: 12px 16px 4px; color: var(--accent-warm); }
  .cmp td { border: 0; padding: 4px 16px 8px; }
  .cmp td:nth-child(2) { border-left: 0; }
  .cmp td::before { content: attr(data-label) ": "; color: var(--text); font-weight: 700; }
  .band { padding: 28px 20px; }
  .doc h2.h1 { font-size: 28px; }
  .foot { grid-template-columns: 1fr; }
  h2 { font-size: 24px; }
}
