/* YazarQR — tek şablon, 7 marka teması. Marka renkleri <head> içindeki :root bloğundan gelir. */
:root {
  --bg: #F6F5F2; --surface: #FFFFFF; --surface2: #FBFAF8; --fg: #15171A; --muted: #5C6269;
  --border: rgba(0,0,0,.11); --soft: rgba(0,0,0,.045);
  --brandText: var(--brand);
  --ok: #1B8A4A; --warn: #C77700; --warnText: #8A5200; --err: #C62828; --none: #6B7280;
  --mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --shadow: 0 1px 2px rgba(0,0,0,.04), 0 8px 24px rgba(0,0,0,.06);
  --radius: 14px;
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #121416; --surface: #1B1E23; --surface2: #171A1E; --fg: #F2F2F0; --muted: #A7ACB3;
  --border: rgba(255,255,255,.13); --soft: rgba(255,255,255,.06);
  --brandText: var(--brandLight); --warnText: #F0B44C; --err: #EF5350;
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.25);
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #121416; --surface: #1B1E23; --surface2: #171A1E; --fg: #F2F2F0; --muted: #A7ACB3;
    --border: rgba(255,255,255,.13); --soft: rgba(255,255,255,.06);
    --brandText: var(--brandLight); --warnText: #F0B44C; --err: #EF5350;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.25);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-padding-top: 84px; }
body {
  font-family: 'IBM Plex Sans', Helvetica, Arial, sans-serif; -webkit-font-smoothing: antialiased;
  background: var(--bg); color: var(--fg); font-size: 16px; line-height: 1.55; text-wrap: pretty;
  min-height: 100vh; display: flex; flex-direction: column;
}
a { color: var(--brandText); text-underline-offset: 3px; }
a:hover { color: var(--fg); }
button, input, textarea, select { font-family: inherit; font-size: inherit; color: inherit; }
h1, h2, h3, p, figure, address { margin: 0; }
address { font-style: normal; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--brandText); outline-offset: 2px; border-radius: 6px; }
.ic { flex: none; display: inline-block; vertical-align: middle; }
.mono { font-family: var(--mono); }
.muted { color: var(--muted); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 50; background: var(--surface); padding: 10px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
.stack { display: flex; flex-direction: column; }
.g6 { gap: 6px; } .g10 { gap: 10px; } .g12 { gap: 12px; } .g14 { gap: 14px; } .g16 { gap: 16px; } .g18 { gap: 18px; } .g20 { gap: 20px; }
.wrap { max-width: 1160px; margin: 0 auto; padding-left: 20px; padding-right: 20px; width: 100%; }
.mid { max-width: 680px; margin: 0 auto; width: 100%; }
.row-wrap { display: flex; gap: 10px; flex-wrap: wrap; }
.more-link { font-size: 14px; font-weight: 600; min-height: 44px; display: inline-flex; align-items: center; gap: 6px; }
.lbl-caps { font-size: 11px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.small { font-size: 12px; color: var(--muted); }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; }
.card-pad { padding: 20px; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.grid-auto.g12 { gap: 12px; }
.h2 { font-size: 22px; letter-spacing: -.01em; line-height: 1.25; }

/* ── Üst menü ── */
.site-header { background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 20; }
.header-in { min-height: 68px; display: flex; align-items: center; gap: 20px; }
.brand-link { display: flex; align-items: center; gap: 11px; text-decoration: none; color: var(--fg); min-height: 44px; flex: none; }
.brand-link:hover { color: var(--fg); }
.brand-mark { width: 40px; height: 40px; border-radius: 9px; background: var(--brandMark, var(--brand)); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 13px; letter-spacing: .02em; flex: none; box-shadow: inset 0 -2px 0 rgba(0,0,0,.12); }
.brand-mark.sm { width: 34px; height: 34px; border-radius: 8px; font-size: 11px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 17px; letter-spacing: -.01em; }
.brand-text span { font-size: 12px; color: var(--muted); }
.main-nav { display: flex; gap: 2px; flex: 1; justify-content: center; }
.main-nav a { text-decoration: none; color: var(--fg); font-size: 15px; font-weight: 500; padding: 0 12px; min-height: 44px; display: inline-flex; align-items: center; border-radius: 8px; white-space: nowrap; position: relative; }
.main-nav a:hover { background: var(--soft); color: var(--fg); }
.main-nav a[aria-current="page"] { color: var(--brandText); }
.main-nav a[aria-current="page"]::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: -12px; height: 2px; background: var(--brand); border-radius: 2px; }
.header-tools { display: flex; gap: 6px; align-items: center; flex: none; margin-left: auto; }
.tool-btn { min-width: 44px; min-height: 44px; border-radius: 10px; border: 1px solid var(--border); background: transparent; color: var(--fg); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 6px; font-size: 13px; padding: 0 10px; white-space: nowrap; text-decoration: none; }
.tool-btn:hover { background: var(--soft); color: var(--fg); }
.tool-btn.icon { padding: 0; width: 44px; }
.tool-btn.mono { font-weight: 600; }
#theme-btn .i-light { display: none; }
:root[data-theme="dark"] #theme-btn .i-light { display: inline-flex; }
:root[data-theme="dark"] #theme-btn .i-dark { display: none; }
.mnav { display: none; position: relative; }
.mnav summary { list-style: none; }
.mnav summary::-webkit-details-marker { display: none; }
.mnav .i-close { display: none; }
.mnav[open] .i-close { display: inline-flex; } .mnav[open] .i-open { display: none; }
.mnav-panel { position: absolute; right: 0; top: calc(100% + 10px); width: min(300px, calc(100vw - 32px)); background: var(--surface); border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow); padding: 8px; display: flex; flex-direction: column; }
.mnav-panel a { text-decoration: none; color: var(--fg); font-weight: 500; padding: 12px 14px; border-radius: 10px; }
.mnav-panel a:hover, .mnav-panel a[aria-current="page"] { background: var(--soft); color: var(--brandText); }
@media (max-width: 920px) {
  .main-nav { display: none; }
  .mnav { display: block; }
  .header-in { min-height: 62px; }
}

main { flex: 1; width: 100%; }

/* ── Alt sayfa başlığı + iki sütun ── */
.page-hero { background: var(--surface); border-bottom: 1px solid var(--border); padding: 28px 0 30px; position: relative; }
.page-hero::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--brand); }
.page-hero h1 { font-size: clamp(28px, 4.4vw, 40px); line-height: 1.12; letter-spacing: -.02em; margin-top: 8px; }
.page-hero p { color: var(--muted); font-size: 17px; max-width: 720px; margin-top: 10px; }
.crumbs { display: flex; gap: 8px; font-size: 13px; color: var(--muted); align-items: center; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--brandText); }
.page-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; padding-top: 32px; padding-bottom: 64px; align-items: start; }
.page-grid.single { grid-template-columns: minmax(0, 820px); justify-content: center; }
.main-col { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.side-col { display: flex; flex-direction: column; gap: 14px; position: sticky; top: 90px; }
@media (max-width: 960px) {
  .page-grid { grid-template-columns: minmax(0, 1fr); }
  .side-col { position: static; }
}
.side-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.side-card h2 { font-size: 15px; display: flex; gap: 8px; align-items: center; }
.side-card h2 .ic { color: var(--brandText); }
.side-card p { font-size: 14px; color: var(--muted); }
.side-card address { font-size: 14px; line-height: 1.6; }
.bul, .num { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; font-size: 14px; }
.bul li { display: flex; gap: 9px; align-items: flex-start; }
.bul li .ic { color: var(--ok); margin-top: 2px; }
.num { counter-reset: n; }
.num li { display: flex; gap: 10px; align-items: flex-start; counter-increment: n; }
.num li::before { content: counter(n); flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--soft); border: 1px solid var(--border); display: grid; place-items: center; font-size: 12px; font-weight: 700; }
.big-tel { font-family: var(--mono); font-size: 18px; font-weight: 600; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.quick { display: flex; flex-direction: column; gap: 4px; }
.quick a { display: flex; gap: 10px; align-items: center; padding: 10px 12px; margin: 0 -6px; border-radius: 10px; text-decoration: none; color: var(--fg); font-size: 14px; font-weight: 500; }
.quick a:hover { background: var(--soft); color: var(--brandText); }
.quick a .ic { color: var(--brandText); }
.toc { display: flex; flex-direction: column; gap: 2px; }
.toc a { text-decoration: none; color: var(--fg); font-size: 14px; padding: 7px 10px; margin: 0 -6px; border-radius: 8px; }
.toc a:hover { background: var(--soft); color: var(--brandText); }

/* ── Ana sayfa ── */
.hero { background: var(--surface); border-bottom: 1px solid var(--border); overflow: hidden; position: relative; }
.hero::after { content: ''; position: absolute; right: -10%; top: -40%; width: 60%; height: 180%; background: radial-gradient(closest-side, color-mix(in srgb, var(--brand) 9%, transparent), transparent); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 40px; align-items: center; padding-top: 52px; padding-bottom: 56px; position: relative; z-index: 1; }
.hero h1 { font-size: clamp(34px, 5.6vw, 56px); line-height: 1.04; font-weight: 700; letter-spacing: -.025em; margin-top: 14px; }
.hero .lead { font-size: 18px; color: var(--muted); max-width: 580px; margin-top: 16px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--brandText); letter-spacing: .06em; text-transform: uppercase; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); flex: none; box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 18%, transparent); }
.trust { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14px; font-weight: 500; }
.trust li { display: inline-flex; gap: 6px; align-items: center; }
.trust .ic { color: var(--ok); }
.hero-card { display: flex; justify-content: center; }
.hero-card .idcard { transform: rotate(3deg); box-shadow: 0 24px 60px rgba(14,26,43,.25), 0 2px 6px rgba(0,0,0,.08); }
@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; gap: 28px; padding-top: 34px; padding-bottom: 38px; }
  .hero-card .idcard { transform: none; }
}
.home-body { display: flex; flex-direction: column; gap: 48px; padding-top: 32px; padding-bottom: 72px; }
.actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; margin-top: -8px; }
.action { display: flex; gap: 16px; align-items: center; padding: 22px; border-radius: 16px; text-decoration: none; min-height: 112px; transition: transform .15s, box-shadow .15s, border-color .15s; }
.action:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.action-ic { width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.action-tx { display: flex; flex-direction: column; gap: 3px; flex: 1; }
.action-tx strong { font-size: 21px; line-height: 1.2; }
.action-tx span { font-size: 14px; }
.action-go { flex: none; opacity: .8; }
.action.primary { background: var(--brand); color: #fff; }
.action.primary:hover { color: #fff; }
.action.primary .action-ic { background: rgba(255,255,255,.18); }
.action.primary .action-tx span { opacity: .9; }
.action.secondary { background: var(--surface); border: 1px solid var(--border); color: var(--fg); }
.action.secondary:hover { border-color: var(--brand); color: var(--fg); }
.action.secondary .action-ic { background: var(--soft); color: var(--brandText); }
.action.secondary .action-tx span { color: var(--muted); }
.block { display: flex; flex-direction: column; gap: 16px; }
.block.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.block.split > div { display: flex; flex-direction: column; gap: 14px; }
@media (max-width: 880px) { .block.split { grid-template-columns: 1fr; } }
.steps3 { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.steps3 li { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; gap: 6px; }
.steps3 .sn { width: 34px; height: 34px; border-radius: 10px; background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 700; margin-bottom: 6px; }
.steps3 strong { font-size: 16px; } .steps3 span:last-child { font-size: 14px; color: var(--muted); }
.legend { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.legend li { display: flex; gap: 14px; align-items: center; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 14px 16px; }
.legend li > span:last-child { display: flex; flex-direction: column; }
.legend strong { font-size: 15px; } .legend li > span:last-child span { font-size: 13px; color: var(--muted); }
.lg-dot { width: 34px; height: 34px; border-radius: 50%; color: #fff; display: grid; place-items: center; font-weight: 700; flex: none; }
.why { display: flex; flex-direction: column; gap: 6px; }
.why-ic { width: 40px; height: 40px; border-radius: 10px; background: var(--soft); color: var(--brandText); display: grid; place-items: center; margin-bottom: 6px; }
.why strong { font-size: 16px; } .why > span:last-child { font-size: 14px; color: var(--muted); }
.notice { border-radius: var(--radius); padding: 20px 22px; background: color-mix(in srgb, var(--warn) 8%, var(--surface)); border: 1px solid color-mix(in srgb, var(--warn) 30%, transparent); display: flex; gap: 16px; align-items: flex-start; }
.notice-ic { flex: none; width: 40px; height: 40px; border-radius: 10px; background: var(--warn); color: #fff; display: grid; place-items: center; }
.notice .d { font-size: 14px; color: var(--muted); }
.type-tile { display: flex; overflow: hidden; }
.type-tile .bar { width: 8px; flex: none; }
.type-tile .in { padding: 16px 18px; display: flex; flex-direction: column; gap: 2px; }
.type-tile strong { font-size: 15px; } .type-tile .in span { font-size: 13px; color: var(--muted); }

/* ── Kart çizimi: resmî tasarım, dikey CR80 54 × 85,6 mm (1 mm = 1.852cqw) ── */
.idcard-fig { display: flex; gap: 22px; align-items: center; width: 100%; }
.idcard-fig.compact { justify-content: center; }
.idcard { --navy: #0e1a2b; --line: #e3e6ea; position: relative; width: 250px; flex: none; aspect-ratio: 54 / 85.6; background: #fff; color: #101418; border-radius: 5.93% / 3.74%; overflow: hidden; container-type: inline-size; font-family: Inter, 'IBM Plex Sans', Helvetica, Arial, sans-serif; display: flex; flex-direction: column; box-shadow: 0 10px 30px rgba(14,26,43,.18), 0 0 0 1px rgba(14,26,43,.06); }
.idcard::before { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .035; background: repeating-linear-gradient(45deg, var(--navy) 0 .22cqw, transparent .22cqw 2.4cqw), repeating-linear-gradient(-45deg, var(--navy) 0 .22cqw, transparent .22cqw 2.4cqw); }
.idcard-fig.compact .idcard { width: min(290px, 70vw); }
.idc-head { flex: none; height: 20.37cqw; background: linear-gradient(135deg, #0e1a2b, #1a2d4a); color: #fff; display: grid; place-items: center; padding: 0 6.5cqw; position: relative; }
.idc-head b { font-size: 7.41cqw; font-weight: 900; letter-spacing: .65cqw; white-space: nowrap; }
.idc-band { flex: none; height: 10.19cqw; background: var(--band); color: #fff; display: flex; align-items: center; justify-content: center; gap: 3.7cqw; font-weight: 900; font-size: 5.37cqw; letter-spacing: .83cqw; position: relative; }
.idc-band i { width: 1.67cqw; height: 1.67cqw; border-radius: 50%; background: #fff; opacity: .85; }
.idc-body { flex: 1; display: flex; flex-direction: column; align-items: center; padding: 7.41cqw 6.48cqw 7.04cqw; position: relative; }
.idc-photo { width: 44.4cqw; height: 55.6cqw; border-radius: 2.78cqw; overflow: hidden; background: #dfe4ea; border: .93cqw solid #fff; box-shadow: 0 0 0 .46cqw var(--line); display: grid; place-items: center; flex: none; }
.idc-photo svg { width: 18.5cqw; fill: #0e1a2b; opacity: .35; }
.idc-name { margin-top: 4.8cqw; font-size: 5.74cqw; font-weight: 800; text-align: center; line-height: 1.1; }
.idc-role { font-size: 3.7cqw; color: var(--band); font-weight: 800; margin-top: 1.3cqw; letter-spacing: .28cqw; }
.idc-bottom { margin-top: auto; width: 100%; display: flex; align-items: center; gap: 4.8cqw; }
.idc-qr { width: 25.9cqw; height: 25.9cqw; flex: none; background: #fff; padding: .74cqw; border-radius: 1.1cqw; position: relative; outline: .6cqw solid var(--brand); outline-offset: .9cqw; }
.idc-qr svg { width: 100%; height: 100%; display: block; }
.idc-info { flex: 1; margin: 0; border-top: .37cqw solid var(--line); min-width: 0; }
.idc-info div { display: flex; justify-content: space-between; gap: 2.8cqw; padding: 1.39cqw 0; border-bottom: .37cqw solid var(--line); font-size: 3.24cqw; position: relative; }
.idc-info dt { color: #5b6573; font-weight: 500; white-space: nowrap; }
.idc-info dd { margin: 0; font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.idc-info div.hl { outline: .6cqw solid var(--brand); outline-offset: .5cqw; border-radius: .6cqw; }
.idc-n { position: absolute; top: -5.4cqw; right: -4.6cqw; width: 6.6cqw; height: 6.6cqw; border-radius: 50%; background: var(--brand); color: #fff; font-style: normal; font-size: 3.6cqw; font-weight: 700; display: grid; place-items: center; box-shadow: 0 0 0 .7cqw #fff; z-index: 2; font-family: 'IBM Plex Sans', sans-serif; }
.idc-info .idc-n { top: -4.6cqw; right: -3.6cqw; }
.idcard-fig.compact .idc-n { display: none; }
.idcard-fig.compact .idc-qr, .idcard-fig.compact .idc-info div.hl { outline: none; }
@media (max-width: 520px) { .idcard-fig { flex-direction: column; align-items: flex-start; } .idcard { width: min(250px, 70vw); } }
.idcard-cap { display: flex; flex-direction: column; gap: 10px; }
.idcard-cap > div { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; }
.idcard-cap .idc-n { position: static; width: 24px; height: 24px; font-size: 12px; box-shadow: none; flex: none; }
.idcard-cap b { display: block; font-size: 14px; }
.idcard-cap span { color: var(--muted); }
.idcard-cap span b { color: var(--fg); }

/* SSS */
.faq { display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.faq details { border-bottom: 1px solid var(--border); }
.faq details:last-child { border-bottom: none; }
.faq summary { cursor: pointer; padding: 16px 20px; min-height: 52px; font-weight: 600; font-size: 15px; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--muted); flex: none; font-weight: 400; font-size: 20px; line-height: 1; }
.faq details[open] summary::after { content: '−'; }
.faq summary:hover { background: var(--surface2); }
.faq p { padding: 0 20px 18px; font-size: 15px; color: var(--muted); }

/* ── Formlar ── */
.panel { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 26px; display: flex; flex-direction: column; gap: 18px; box-shadow: var(--shadow); }
.panel.soft { box-shadow: none; background: var(--surface); }
.panel-h { font-size: 19px; display: flex; gap: 10px; align-items: center; }
.panel-h .ic { color: var(--brandText); }
.row2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field > .lab, legend.lab { font-size: 14px; font-weight: 600; padding: 0; margin-bottom: 0; }
legend.lab { margin-bottom: 8px; }
.opt { font-weight: 400; color: var(--muted); }
.input { width: 100%; min-height: 50px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--border); background: var(--surface2); color: var(--fg); font-size: 16px; transition: border-color .15s, box-shadow .15s; }
textarea.input { padding: 12px 14px; resize: vertical; min-height: 130px; line-height: 1.5; }
.input.id { font-family: var(--mono); font-size: 17px; letter-spacing: .04em; text-transform: uppercase; }
.input:hover { border-color: color-mix(in srgb, var(--fg) 25%, transparent); }
.input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 18%, transparent); background: var(--surface); }
.input[aria-invalid="true"], .check[data-invalid="true"] { border-color: var(--err); }
.select { position: relative; display: block; }
.select select { appearance: none; padding-right: 40px; cursor: pointer; }
.select::after { content: ''; position: absolute; right: 16px; top: 50%; width: 8px; height: 8px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.help { font-size: 13px; color: var(--muted); }
.ferr { font-size: 13px; color: var(--err); font-weight: 500; }
.fok { font-size: 13px; color: var(--ok); font-weight: 500; display: inline-flex; gap: 4px; align-items: center; }
.alert { padding: 12px 14px; border-radius: 10px; font-size: 14px; font-weight: 500; display: flex; gap: 10px; align-items: flex-start; }
.alert.err { background: rgba(198,40,40,.08); color: var(--err); border: 1px solid rgba(198,40,40,.28); }
.alert .ic { margin-top: 1px; }
.check { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 10px; border: 1px solid var(--border); background: var(--surface2); cursor: pointer; }
.check.top { align-items: flex-start; }
.check input { width: 22px; height: 22px; accent-color: var(--brand); margin: 0; flex: none; }
.check.top input { margin-top: 1px; }
.check span { font-size: 14px; flex: 1; }
.check a { font-weight: 600; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.fine { font-size: 12px; color: var(--muted); text-align: center; display: flex; gap: 6px; align-items: center; justify-content: center; }
.info-line { font-size: 13px; color: var(--muted); }

/* Dosya alanı */
.drop { position: relative; display: flex; align-items: center; gap: 14px; padding: 16px; border: 1.5px dashed color-mix(in srgb, var(--fg) 22%, transparent); border-radius: 12px; background: var(--surface2); transition: border-color .15s, background .15s; flex-wrap: wrap; }
.drop:hover, .drop.over { border-color: var(--brand); background: color-mix(in srgb, var(--brand) 5%, var(--surface)); }
.drop.has { border-style: solid; border-color: color-mix(in srgb, var(--ok) 55%, transparent); background: color-mix(in srgb, var(--ok) 6%, var(--surface)); }
.drop-ic { width: 44px; height: 44px; border-radius: 10px; background: var(--surface); border: 1px solid var(--border); display: grid; place-items: center; color: var(--brandText); flex: none; }
.drop.has .drop-ic { color: var(--ok); }
.drop-tx { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 160px; }
.drop-tx strong { font-size: 14px; }
.drop-hint, .drop-file { font-size: 12px; color: var(--muted); }
.drop-file { color: var(--ok); font-weight: 600; overflow-wrap: anywhere; }
.drop input[type=file] { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.drop-btn { flex: none; min-height: 40px; padding: 0 14px; border-radius: 9px; border: 1px solid var(--border); background: var(--surface); font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; pointer-events: none; }
.no-js .drop input[type=file] { position: static; opacity: 1; }
.no-js .drop-btn { display: none; }

/* Düğmeler */
.btn { min-height: 52px; padding: 0 22px; border-radius: 10px; border: 1px solid transparent; font-weight: 600; font-size: 16px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 10px; text-decoration: none; white-space: nowrap; transition: filter .15s, border-color .15s, background .15s; }
.btn.sm { min-height: 48px; padding: 0 22px; font-size: 15px; }
.btn.full { width: 100%; }
.btn.primary { background: var(--brand); color: #fff; }
.btn.primary:hover { filter: brightness(1.08); color: #fff; }
.btn.danger { background: #C62828; color: #fff; }
.btn.danger:hover { filter: brightness(1.1); color: #fff; }
.btn.ghost { background: var(--surface); border-color: var(--border); color: var(--fg); }
.btn.ghost:hover { border-color: var(--brand); color: var(--fg); }
.btn.plain { background: transparent; border-color: var(--border); color: var(--fg); }
.btn.grow { flex: 1; min-width: 160px; }
.btn[disabled], .btn[aria-busy="true"] { opacity: .75; cursor: progress; }
.spin { width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255,255,255,.35); border-top-color: #fff; animation: yzSpin .8s linear infinite; display: inline-block; }
@keyframes yzSpin { to { transform: rotate(360deg); } }
@keyframes yzScan { 0% { top: 6%; } 50% { top: 94%; } 100% { top: 6%; } }

/* Marka seçici (hap) */
.pills { display: flex; gap: 8px; flex-wrap: wrap; }
.pill { position: relative; }
.pill input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.pill span { min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface2); font-size: 14px; font-weight: 500; display: inline-flex; align-items: center; cursor: pointer; }
.pill input:checked + span { background: var(--brand); border-color: var(--brand); color: #fff; }
.pill input:focus-visible + span { outline: 3px solid var(--brandText); outline-offset: 2px; }

/* Tür seçici */
.type-pick { position: relative; display: flex; border-radius: 12px; border: 2px solid var(--border); background: var(--surface2); overflow: hidden; min-height: 76px; cursor: pointer; transition: border-color .15s; }
.type-pick input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.type-pick .bar { width: 8px; flex: none; }
.type-pick .in { padding: 13px 14px; display: flex; flex-direction: column; gap: 2px; flex: 1; }
.type-pick strong { font-size: 15px; } .type-pick .in span { font-size: 13px; color: var(--muted); }
.type-pick .tick { align-self: center; margin-right: 14px; width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--border); display: grid; place-items: center; color: transparent; flex: none; }
.type-pick:has(input:checked) { border-color: var(--brand); background: var(--surface); }
.type-pick:has(input:checked) .tick { background: var(--brand); border-color: var(--brand); color: #fff; }
.type-pick:has(input:focus-visible) { outline: 3px solid var(--brandText); outline-offset: 2px; }
.type-pick.disabled { opacity: .55; cursor: not-allowed; }
.type-pick.disabled input { cursor: not-allowed; }

/* Adımlar */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.steps li { display: flex; flex-direction: column; gap: 6px; }
.steps .b { height: 5px; border-radius: 3px; background: var(--border); }
.steps .l { font-size: 13px; font-weight: 600; color: var(--muted); }
.steps li.on .b { background: var(--brand); } .steps li.on .l { color: var(--fg); }
.no-js .steps { display: none; }
fieldset[data-step] { border: 0; padding: 0; margin: 0; min-width: 0; }
.step-title { font-size: 18px; font-weight: 700; padding: 0; margin-bottom: 4px; }

/* ── QR tarama ── */
.scanbox { position: relative; aspect-ratio: 4 / 3; border-radius: 18px; overflow: hidden; background: radial-gradient(circle at 50% 40%, #1E2126, #0C0D0F); display: grid; place-items: center; color: #fff; box-shadow: var(--shadow); }
@media (max-width: 600px) { .scanbox { aspect-ratio: 1 / 1; } }
.scanbox video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.scan-mask { position: absolute; inset: 14% 22%; border-radius: 16px; box-shadow: 0 0 0 999px rgba(0,0,0,.45); }
@media (max-width: 600px) { .scan-mask { inset: 14%; } }
.corner { position: absolute; width: 36px; height: 36px; border: 0 solid #fff; }
.corner.tl { left: 22%; top: 14%; border-top-width: 4px; border-left-width: 4px; border-radius: 14px 0 0 0; }
.corner.tr { right: 22%; top: 14%; border-top-width: 4px; border-right-width: 4px; border-radius: 0 14px 0 0; }
.corner.bl { left: 22%; bottom: 14%; border-bottom-width: 4px; border-left-width: 4px; border-radius: 0 0 0 14px; }
.corner.br { right: 22%; bottom: 14%; border-bottom-width: 4px; border-right-width: 4px; border-radius: 0 0 14px 0; }
@media (max-width: 600px) { .corner.tl, .corner.bl { left: 14%; } .corner.tr, .corner.br { right: 14%; } }
.scan-line { position: absolute; left: 24%; right: 24%; height: 2px; background: var(--brandLight); box-shadow: 0 0 12px var(--brandLight); animation: yzScan 2.4s ease-in-out infinite; }
.scan-live { position: absolute; bottom: 16px; left: 0; right: 0; text-align: center; font-size: 14px; font-weight: 500; }
.scan-state { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 28px; text-align: center; position: relative; }
.scan-state strong { font-size: 19px; }
.scan-state .d { font-size: 14px; color: rgba(255,255,255,.75); max-width: 360px; }
.scan-ic { width: 60px; height: 60px; border-radius: 50%; border: 2px solid rgba(255,255,255,.35); display: grid; place-items: center; }
.scan-ic.err { background: #C62828; border: none; }
.btn.white { background: #fff; color: #111; border: none; min-height: 48px; font-size: 15px; }
.btn.white:hover { color: #111; filter: brightness(.95); }
.btn.outline-w { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.4); min-height: 48px; font-size: 15px; }
@media (prefers-reduced-motion: reduce) { .scan-line { animation: none; top: 50%; } .action, .action:hover { transform: none; } }

/* ── Sonuç ── */
.result-wrap { padding-top: 32px; padding-bottom: 64px; }
.st-banner { border-radius: 16px; color: #fff; padding: 22px; display: flex; align-items: center; gap: 16px; box-shadow: var(--shadow); }
.st-banner .g { flex: none; width: 56px; height: 56px; border-radius: 50%; background: rgba(255,255,255,.2); display: grid; place-items: center; font-size: 28px; font-weight: 700; line-height: 1; }
.st-banner strong { font-size: clamp(24px, 5vw, 32px); line-height: 1.1; letter-spacing: -.01em; display: block; }
.st-banner span { font-size: 15px; opacity: .92; }
.st-valid { background: var(--ok); } .st-expired { background: var(--warn); } .st-revoked { background: #C62828; } .st-notfound { background: var(--none); }
.rec { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.rec-type { color: #fff; padding: 12px 18px; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.rec-type .t { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.rec-type .c { font-size: 12px; opacity: .9; font-weight: 500; }
.rec-head { padding: 26px 18px 20px; display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.photo { width: 150px; height: 190px; border-radius: 12px; overflow: hidden; background: repeating-linear-gradient(135deg, var(--soft) 0 10px, var(--surface) 10px 20px); border: 1px solid var(--border); display: grid; place-items: center; box-shadow: 0 6px 20px rgba(0,0,0,.12); }
.photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.photo .ph { font-family: var(--mono); font-size: 11px; color: var(--muted); line-height: 1.4; }
.photo.gray { filter: grayscale(1); }
.rec-name { font-size: clamp(26px, 6vw, 34px); line-height: 1.1; letter-spacing: -.02em; overflow-wrap: anywhere; }
.rec-title { font-size: 16px; color: var(--muted); }
.chips { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px 5px 6px; border-radius: 999px; border: 1px solid var(--border); font-size: 13px; font-weight: 500; background: var(--bg); white-space: nowrap; }
.chip .m { width: 18px; height: 18px; border-radius: 4px; color: #fff; font-size: 7px; font-weight: 700; display: grid; place-items: center; }
.rec-body { padding: 0 18px 20px; display: flex; flex-direction: column; gap: 16px; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; padding: 14px 16px; border-radius: 12px; background: var(--bg); border: 1px solid var(--border); }
.fact { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.fact .v { font-family: var(--mono); font-size: 17px; font-weight: 600; letter-spacing: .03em; white-space: nowrap; }
.fact .s { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 16px; }
.fact .s i { width: 10px; height: 10px; border-radius: 50%; flex: none; background: currentColor; }
.c-valid { color: var(--ok); } .c-expired { color: var(--warn); } .c-revoked { color: var(--err); } .c-notfound { color: var(--none); }
.note { padding: 12px 14px; border-radius: 10px; font-size: 14px; font-weight: 500; }
.note.valid { display: flex; gap: 10px; align-items: center; background: rgba(27,138,74,.1); color: var(--ok); font-weight: 600; font-size: 15px; }
.note.valid .ck { flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--ok); color: #fff; display: grid; place-items: center; font-size: 13px; }
.note.expired { background: rgba(199,119,0,.12); color: var(--warnText); }
.note.revoked { background: rgba(198,40,40,.1); color: var(--err); }
.fraud { display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; border-radius: 10px; background: rgba(198,40,40,.08); border: 1px solid rgba(198,40,40,.3); }
.fraud .ic { flex: none; width: 32px; height: 32px; border-radius: 50%; background: #C62828; color: #fff; display: grid; place-items: center; font-weight: 700; }
.fraud strong { color: var(--err); } .fraud span { font-size: 14px; }
.meta-line { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 12px; color: var(--muted); font-family: var(--mono); }

/* Bitti / hata ekranları */
.done, .center-msg { display: flex; flex-direction: column; align-items: center; gap: 16px; max-width: 560px; margin: 56px auto 72px; text-align: center; }
.done .ok { width: 76px; height: 76px; border-radius: 50%; background: var(--ok); color: #fff; display: grid; place-items: center; box-shadow: 0 0 0 10px rgba(27,138,74,.12); }
.page-title { font-size: 30px; letter-spacing: -.01em; line-height: 1.15; }
.center-msg h1 { font-size: 28px; }
.ref-box { display: flex; flex-direction: column; gap: 3px; padding: 14px 22px; border-radius: 12px; background: var(--surface); border: 1px solid var(--border); }
.ref-box .v { font-family: var(--mono); font-size: 22px; font-weight: 600; }
.big-code { font-family: var(--mono); font-size: 80px; font-weight: 600; line-height: 1; color: var(--brandText); letter-spacing: -.04em; }
.gear { width: 68px; height: 68px; border-radius: 50%; background: var(--soft); border: 1px solid var(--border); display: grid; place-items: center; color: var(--brandText); }
.pill-box { font-family: var(--mono); font-size: 14px; padding: 8px 14px; border-radius: 8px; background: var(--surface); border: 1px solid var(--border); text-decoration: none; }

/* Başvuru durumu zaman çizelgesi */
.badge { padding: 5px 12px; border-radius: 999px; font-weight: 600; font-size: 13px; }
.badge.wait { background: rgba(199,119,0,.14); color: var(--warnText); }
.badge.ok { background: rgba(27,138,74,.12); color: var(--ok); }
.badge.err { background: rgba(198,40,40,.1); color: var(--err); }
.timeline { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.timeline li { display: flex; gap: 12px; align-items: flex-start; padding-bottom: 14px; }
.timeline .mk { flex: none; width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--border); background: var(--soft); display: grid; place-items: center; font-size: 12px; font-weight: 700; }
.timeline li.done .mk { background: var(--ok); border-color: var(--ok); color: #fff; }
.timeline li.cur .mk { background: var(--surface); border-color: var(--warn); color: var(--warn); }
.timeline li.fail .mk { background: #C62828; border-color: #C62828; color: #fff; }
.timeline .tx { display: flex; flex-direction: column; gap: 1px; }
.timeline strong { font-size: 15px; color: var(--muted); }
.timeline li.done strong, .timeline li.cur strong, .timeline li.fail strong { color: var(--fg); }
.timeline .dt { font-size: 13px; color: var(--muted); font-family: var(--mono); }
.missing { padding: 16px 18px; border-radius: 12px; background: var(--soft); border: 1px solid var(--border); display: flex; gap: 12px; align-items: flex-start; }
.missing .ic { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--none); color: #fff; display: grid; place-items: center; font-weight: 700; }

/* KVKK */
.prose { padding: 28px; display: flex; flex-direction: column; gap: 14px; font-size: 15.5px; }
.prose h2 { font-size: 18px; margin-top: 10px; }
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--muted); line-height: 1.65; }

/* ── Alt bilgi ── */
.site-footer { background: var(--surface); border-top: 1px solid var(--border); margin-top: auto; }
.foot-grid { padding-top: 44px; padding-bottom: 36px; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 32px; }
@media (max-width: 960px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; } }
.foot-col { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; min-width: 0; }
.foot-brand p { font-size: 14px; max-width: 280px; }
.foot-h { font-size: 12px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.foot-links { display: flex; flex-direction: column; gap: 0; }
.foot-links a { font-size: 14px; text-decoration: none; color: var(--fg); min-height: 36px; display: inline-flex; align-items: center; }
.foot-links a:hover { color: var(--brandText); }
.domain-pill { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 8px; background: var(--soft); border: 1px solid var(--border); font-family: var(--mono); font-size: 13px; font-weight: 600; }
.domain-pill .ic { color: var(--ok); }
.foot-ext { font-size: 13px; color: var(--muted); text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.foot-ext:hover { color: var(--brandText); }
.sister { display: flex; flex-direction: column; gap: 2px; width: 100%; }
.sister a { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--fg); padding: 5px 8px; margin: 0 -8px; border-radius: 8px; min-height: 36px; font-size: 13px; }
.sister a:hover { background: var(--soft); color: var(--fg); }
.sister a[aria-current] { background: var(--soft); font-weight: 600; }
.sister .m { width: 22px; height: 22px; border-radius: 5px; color: #fff; font-size: 7px; font-weight: 700; display: grid; place-items: center; flex: none; font-family: 'IBM Plex Sans', sans-serif; }
.foot-note { font-size: 12px; color: var(--muted); }
.foot-bottom { border-top: 1px solid var(--border); }
.foot-bottom > div { padding-top: 16px; padding-bottom: 18px; display: flex; justify-content: space-between; gap: 6px 24px; flex-wrap: wrap; font-size: 12.5px; color: var(--muted); }

@media (max-width: 600px) {
  .wrap { padding-left: 16px; padding-right: 16px; }
  .panel { padding: 20px; }
  .page-hero { padding: 22px 0 24px; }
  .action { padding: 18px; }
  .action-tx strong { font-size: 19px; }
}
@media print {
  .site-header, .site-footer, .actions-row, .side-col { display: none !important; }
  body { background: #fff; color: #000; }
}
