/* ==========================================================================
   Dönüştür.net — KİNETİK secondary pages (about · help · contact · legal · cookies · auth · profile · history ·
   404 · maintenance). Builds on tokens.css + site.css. Radii 0/2 px, 1 px hairlines, hard ink shadows,
   logical properties only (RTL), loops only under .amb. Blog: pages-blog.css only (own copy of head + empty).
   ========================================================================== */

/* ---------- breadcrumb + page head (sync with pages-blog.css) ---------- */
.crumb { padding-top: var(--s-5); }
.crumb ol { display: flex; flex-wrap: wrap; gap: 4px 0; font: 500 var(--t-mono)/1.4 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
html[lang="ja"] .crumb ol, html[lang="ar"] .crumb ol { letter-spacing: 0; }
.crumb li + li::before { content: "/"; padding-inline: .7em; color: var(--ink-3); }
.crumb a { text-decoration: none; display: inline-block; padding-block: 8px; margin-block: -8px; }   /* 2026-09-26: ≥ 32 px tap height, same layout */
.crumb a:hover { color: var(--ink); text-decoration: underline; }
.crumb [aria-current] { color: var(--ink); }

.ph { padding-bottom: var(--s-7); border-bottom: 1px solid var(--rule); }
.ph__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--cg); row-gap: var(--s-5); align-items: end; margin-top: var(--s-6); }
.ph__h {
  grid-column: 1 / 9; min-width: 0;
  /* 1.04: room for İ Ş Ç Ğ */
  font-family: var(--f-wide); font-size: clamp(38px, 5.9vw, 96px); line-height: 1.04; font-weight: 820; font-stretch: 120%; letter-spacing: -.042em;
  overflow-wrap: break-word; -webkit-hyphens: auto; hyphens: auto; text-wrap: balance;
}
.ph__h em, .ph__h .gradient-text { font-style: normal; color: var(--signal); background: none; -webkit-text-fill-color: currentColor; }
.ph__h--name { grid-column: auto; font-size: clamp(34px, 4.6vw, 72px); overflow-wrap: anywhere; }
.ph__side { grid-column: 9 / 13; min-width: 0; display: grid; gap: var(--s-4); }
.ph__lead { font-size: var(--t-lead); line-height: 1.5; color: var(--ink-2); max-width: 44ch; }
.ph__meta { color: var(--ink-3); }
.ph--legal .ph__h { font-size: clamp(36px, 5vw, 80px); }
html[lang="ja"] .ph__h, html[lang="ar"] .ph__h { letter-spacing: 0; font-stretch: 100%; line-height: 1.12; }
@media (max-width: 399.98px) { html[lang="ja"] .ph__h:not(.ph__h--name) { font-size: clamp(30px, 9.6vw, 38px); } }   /* ja help: no lone "か？"; px floor: zoom (1.4.4) */

/* ---------- sections ---------- */
.pg-sec { padding-top: var(--s-8); padding-bottom: var(--s-8); }
.pg-sec--rule { border-top: 1px solid var(--rule); }
.pg-sec + .pg-sec--rule { padding-top: var(--s-8); }
.pg-h2 { font-size: clamp(30px, 3.6vw, 56px); }
.pg-cols, .pg-body { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--cg); row-gap: var(--s-6); margin-top: var(--s-6); }
.pg-body > * { grid-column: 4 / 13; min-width: 0; }
.pg-lead { grid-column: 4 / 9; font-size: clamp(19px, 1.6vw, 24px); line-height: 1.45; font-weight: 450; letter-spacing: -.01em; }
.pg-more { margin-top: var(--s-5); }
.facts { grid-column: 9 / 13; display: grid; gap: var(--s-5); align-content: start; }
.facts li { padding-top: 14px; border-top: 1px solid var(--ink); position: relative; }
.facts li::before { content: ""; position: absolute; inset-inline-start: 0; top: -1px; width: 32px; height: 3px; background: var(--c); }
.facts__h { font-size: 18px; font-weight: 680; font-stretch: 106%; letter-spacing: -.01em; margin-bottom: 6px; }
.facts p { font-size: var(--t-sm); line-height: 1.55; color: var(--ink-2); }

/* big numbers */
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: var(--s-6); border-top: 1px solid var(--ink); }
/* 2026-09-26: label top, number bottom: a label that wraps to 2 lines no longer lifts its neighbours' numbers */
.stats__i { padding: 18px var(--cg) 8px 0; border-inline-end: 1px solid var(--rule); min-width: 0; display: flex; flex-direction: column; justify-content: space-between; }
.stats__i:last-child { border-inline-end: 0; }
.stats__i + .stats__i { padding-inline-start: var(--cg); }
.stats dt { color: var(--ink-3); }
.stats__n { margin: 10px 0 0; font-family: var(--f-wide); font-size: var(--t-d1); line-height: .95; font-weight: 800; font-stretch: 118%; letter-spacing: -.045em; font-variant-numeric: normal; white-space: nowrap; }
.stats--sm .stats__n { font-size: clamp(30px, 3vw, 46px); }
.stats--sm { margin-top: var(--s-5); }
.stats--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 0; }
.stats__n--date { font-size: clamp(22px, 2.2vw, 32px) !important; letter-spacing: -.02em; white-space: normal; overflow-wrap: anywhere; }
.pg-sec .sec-head + .stats { margin-top: var(--s-4); }

/* feature cards (SPEKTRUM pixel sheets) */
.cards3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--cg); margin-top: var(--s-7); }
.card3 { position: relative; padding: 20px 20px 24px; border: 1px solid var(--ink); border-radius: var(--r-1); background: var(--paper); transition: transform .5s var(--e-out), box-shadow .5s var(--e-out); }
.card3::before { content: ""; position: absolute; inset: -1px -1px auto; height: 4px; background: var(--c); }
.card3:hover { transform: translate3d(-3px, -3px, 0); box-shadow: var(--shadow); }
.card3__px { margin-bottom: 36px; }
.card3__h { font-size: var(--t-h3); line-height: 1.1; font-weight: 720; font-stretch: 110%; letter-spacing: -.02em; }
.card3__t { margin-top: 8px; color: var(--ink-2); font-size: var(--t-sm); line-height: 1.55; }

/* closing CTA band (light: the footer below is ink) */
.band { padding-top: var(--s-9); padding-bottom: var(--s-9); background: var(--paper-2); border-top: 1px solid var(--ink); }
.band__in { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--cg); row-gap: var(--s-4); align-items: end; }
.band__h { grid-column: 1 / 8; font-family: var(--f-wide); font-size: var(--t-h2); line-height: 1.04; font-weight: 800; font-stretch: 118%; letter-spacing: -.04em; }
html[lang="ja"] .band__h, html[lang="ar"] .band__h { letter-spacing: 0; font-stretch: 100%; line-height: 1.15; }
.band__h em { font-style: normal; color: var(--signal); }
.band__t { grid-column: 8 / 12; color: var(--ink-2); font-size: var(--t-body); line-height: 1.5; max-width: 40ch; }
.band .btn { grid-column: 8 / 12; justify-self: start; }

/* ---------- help: search + FAQ ---------- */
.search { display: grid; gap: 8px; }
.search__l { color: var(--ink-3); }
.search__box { position: relative; display: flex; align-items: center; }
.search__box .ico { position: absolute; inset-inline-start: 14px; width: 18px; height: 18px; color: var(--ink-2); pointer-events: none; }
.search__in { width: 100%; min-height: 52px; padding: 12px 14px; padding-inline-start: 44px; background: var(--paper); color: var(--ink); border: 1px solid var(--ink); border-radius: var(--r-1); font-size: 16px; -webkit-appearance: none; appearance: none; transition: box-shadow var(--d-2) var(--e-out); }
.search__in::placeholder { color: var(--ink-3); opacity: 1; }
.search__in:focus { box-shadow: var(--shadow-sm); }
.search__n:empty { display: none; }

.faq-wrap { padding-top: var(--s-7); padding-bottom: var(--s-8); }
.faq-cat { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--cg); padding-top: var(--s-6); }
.faq-cat + .faq-cat { margin-top: var(--s-5); }
.faq-cat__head { grid-column: 1 / 4; }
.faq-cat__i { color: var(--ink-3); display: inline-flex; align-items: center; gap: 8px; }
.faq-cat__i::before { content: ""; width: 8px; height: 8px; background: var(--c); box-shadow: inset 0 0 0 1px var(--key, transparent); }
.faq-cat__h { margin-top: 8px; font-size: 22px; line-height: 1.15; font-weight: 700; font-stretch: 108%; letter-spacing: -.02em; }
.faq-cat .faq { grid-column: 4 / 12; }
.faq { border-top: 1px solid var(--ink); }
.faq__i { border-bottom: 1px solid var(--rule); }
.faq__i summary { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); padding: 20px 0; cursor: pointer; list-style: none; font-size: clamp(17px, 1.4vw, 20px); font-weight: 620; letter-spacing: -.01em; line-height: 1.3; }
.faq__i summary::-webkit-details-marker { display: none; }
.faq__i summary:hover { color: var(--signal-ink); }
.faq__i summary i { position: relative; flex: none; width: 16px; height: 16px; }
.faq__i summary i::before, .faq__i summary i::after { content: ""; position: absolute; inset-inline-start: 0; top: 7.25px; width: 16px; height: 1.5px; background: currentColor; transition: transform .45s var(--e-out); }
.faq__i summary i::after { transform: rotate(90deg); }
.faq__i[open] summary i::after { transform: rotate(0deg); }
.faq__i summary:focus-visible { outline-offset: -2px; }
.faq__a { padding: 0 0 22px; max-width: 68ch; color: var(--ink-2); line-height: 1.7; }
.faq__i[open] .faq__a { animation: faqIn .5s var(--e-out) both; }
@keyframes faqIn { from { opacity: 0; transform: translate3d(0, -6px, 0); } }
.faq-none { margin-top: var(--s-6); padding: 16px 18px; border: 1px dashed var(--ink-3); border-radius: var(--r-1); color: var(--ink-2); max-width: 60ch; margin-inline-start: calc((100% + var(--cg)) / 12 * 3); }

/* ---------- instrument frame (contact + auth) ---------- */
.pg-inst { padding-top: var(--s-6); padding-bottom: var(--s-9); }
.pg-inst--auth .crumb { padding-top: var(--s-5); margin-bottom: var(--s-5); }
.inst { border: 1px solid var(--ink); border-radius: var(--r-1); background: var(--paper); }
.inst__bar { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); min-height: 48px; padding: 6px 16px; border-bottom: 1px solid var(--ink); }
.inst__tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.inst__tab { display: inline-flex; align-items: center; min-height: 34px; padding: 0 12px; color: var(--ink-2); text-decoration: none; border-radius: var(--r-1); }
a.inst__tab:hover { color: var(--ink); background: var(--paper-2); }
.inst__tab.is-on { background: var(--ink); color: var(--paper); }
.inst__ok { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-2); white-space: nowrap; }
.inst__ok::before { content: ""; width: 8px; height: 8px; background: var(--ok); flex: none; }
.inst__body { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); }
.inst__main { padding: clamp(20px, 3.4vw, 48px); min-width: 0; }
.inst__side { padding: clamp(20px, 2.6vw, 36px); border-inline-start: 1px solid var(--ink); display: grid; align-content: start; gap: var(--s-5); min-width: 0; }
.inst__side--ink { background: var(--ink); color: var(--paper); border-inline-start-color: var(--ink); }
.auth__h1 { font-family: var(--f-wide); font-size: clamp(34px, 4.2vw, 64px); line-height: 1.04; font-weight: 820; font-stretch: 120%; letter-spacing: -.04em; overflow-wrap: break-word; hyphens: auto; }
html[lang="ja"] .auth__h1, html[lang="ar"] .auth__h1 { letter-spacing: 0; font-stretch: 100%; line-height: 1.15; }
.auth__lead { margin-top: 12px; color: var(--ink-2); max-width: 46ch; line-height: 1.5; }
.auth__alt { margin-top: var(--s-5); padding-top: var(--s-4); border-top: 1px solid var(--rule); font-size: var(--t-sm); color: var(--ink-2); }
.auth__alt a { color: var(--ink); font-weight: 650; }
.auth__k { color: var(--on-ink-2); }
.auth__h { font-family: var(--f-wide); font-size: clamp(30px, 2.8vw, 44px); line-height: 1.04; font-weight: 800; font-stretch: 118%; letter-spacing: -.035em; }
.auth__h em { font-style: normal; color: var(--signal-lt); }
.auth__viz { display: flex; align-items: flex-end; gap: 10px; margin-top: var(--s-4); }
.ico--back { transform: scaleX(-1); }
[dir="rtl"] .ico--back { transform: none; }

/* forms */
.form { display: grid; gap: 18px; margin-top: var(--s-6); }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px var(--cg); }
.fld { display: grid; gap: 7px; min-width: 0; align-content: start; }
.fld > label, .fld__l, .fld__top label { font-size: 14px; font-weight: 620; letter-spacing: -.003em; }
.fld--set { border: 0; padding: 0; margin: 0; min-width: 0; }
.fld--set legend { padding: 0; margin-bottom: 7px; }
.fld__top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.fld__aux { font-size: var(--t-meta); color: var(--ink-2); display: inline-block; padding-block: 6px; margin-block: -6px; }   /* 2026-09-26: ≥ 32 px tap height ("Şifreni mi unuttun?"), same layout */
.fld__aux:hover { color: var(--ink); }
.fld__h { color: var(--ink-3); }
.req { color: var(--signal-ink); }
.inp {
  width: 100%; min-height: 48px; padding: 11px 14px; font-size: 16px; line-height: 1.4;
  background: var(--paper); color: var(--ink); border: 1px solid var(--ink-3); border-radius: var(--r-1);
  -webkit-appearance: none; appearance: none; transition: border-color var(--d-2) var(--e-out), box-shadow var(--d-2) var(--e-out);
}
.inp::placeholder { color: var(--ink-3); opacity: 1; }
.inp:hover { border-color: var(--ink); }
.inp:focus { border-color: var(--ink); box-shadow: var(--shadow-sm); }
.inp[readonly] { background: var(--paper-2); border-color: var(--rule); color: var(--ink-2); box-shadow: none; }
.inp--area { min-height: 150px; resize: vertical; }
.inp--sel {
  padding-inline-end: 38px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F0F0E' stroke-width='1.8' stroke-linecap='square'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-size: 16px; background-position: right 12px center;
}
[dir="rtl"] .inp--sel { background-position: left 12px center; }
.birth { display: grid; grid-template-columns: .8fr 1.4fr 1fr; gap: 8px; }
.checks { display: grid; gap: 12px; }
.chk { display: flex; align-items: flex-start; gap: 12px; font-size: var(--t-sm); line-height: 1.5; cursor: pointer; }
.chk input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--ink); cursor: pointer; }
.chk a { font-weight: 600; }
.recaptcha-row { min-height: 78px; }
.recaptcha-row:empty, .recaptcha-row .g-recaptcha:empty { min-height: 0; }
.form__err { padding: 12px 14px; border: 1px solid var(--signal-ink); border-inline-start-width: 4px; border-radius: var(--r-1); color: var(--signal-ink); background: var(--paper); font-size: var(--t-sm); font-weight: 600; }
.form__err:focus { outline: none; box-shadow: var(--shadow-sm); }
.form .btn--block { margin-top: 4px; }
.inst__main > .form:first-child { margin-top: 0; }

/* file picker: native input stays (keyboard + screen readers), label is the visible button */
.file { position: relative; display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 5px; border: 1px dashed var(--ink-3); border-radius: var(--r-1); }
.file__in { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.file__btn { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; background: var(--ink); color: var(--paper); font-size: 14px; font-weight: 600; border-radius: var(--r-1); pointer-events: none; }
.file__btn .ico { width: 16px; height: 16px; }
.file__name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink-3); font-size: var(--t-meta); }
.file__name.is-set { color: var(--ink); font-weight: 600; }
.file:focus-within { border-style: solid; border-color: var(--ink); box-shadow: var(--shadow-sm); }
.file:hover { border-color: var(--ink); }

/* key/value + tick lists */
.kv > div { padding: 14px 0; border-top: 1px solid var(--rule); }
.kv > div:first-child { border-top: 1px solid var(--ink); }
.kv dt { font-size: var(--t-meta); color: var(--ink-3); }
.kv dd { margin: 4px 0 0; font-size: var(--t-sm); line-height: 1.5; }
.kv .link-arrow { font-size: 16px; }
.ticks li { position: relative; padding: 11px 0; padding-inline-start: 20px; border-bottom: 1px solid var(--rule); font-size: var(--t-sm); line-height: 1.45; color: var(--ink-2); }
.ticks li::before { content: ""; position: absolute; inset-inline-start: 0; top: 17px; width: 8px; height: 8px; background: var(--signal); }
.ticks--inv li { border-bottom-color: var(--rule-inv); color: var(--paper); }
.ticks--inv li:first-child { border-top: 1px solid var(--rule-inv); }
.ticks--inv li:nth-child(2)::before { background: var(--doc-lt); }
.ticks--inv li:nth-child(3)::before { background: var(--img); } /* amber (Görsel), never green: green = status only */

/* ---------- legal layout (privacy · terms · cookies) ---------- */
.legal { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--cg); padding-top: var(--s-7); padding-bottom: var(--s-9); }
.legal__toc { grid-column: 1 / 4; }
.legal__toc > * { position: relative; }
.legal__toc nav { position: sticky; top: calc(var(--hh) + 24px); }
.legal__toc-k { margin-bottom: 12px; }
.toc { border-top: 1px solid var(--ink); }
.toc a { position: relative; display: flex; gap: 12px; align-items: baseline; padding: 10px 0; padding-inline-start: 14px; border-bottom: 1px solid var(--rule); font-size: var(--t-sm); line-height: 1.35; text-decoration: none; color: var(--ink-2); transition: color var(--d-2) var(--e-out), padding var(--d-3) var(--e-out); }
.toc a::before { content: ""; position: absolute; inset-inline-start: 0; top: 0; bottom: 0; width: 3px; background: var(--signal); transform: scaleY(0); transition: transform var(--d-3) var(--e-out); }
.toc a:hover { color: var(--ink); }
.toc a[aria-current] { color: var(--ink); font-weight: 620; padding-inline-start: 18px; }
.toc a[aria-current]::before { transform: scaleY(1); }
.toc__n { color: var(--ink-3); flex: none; }
.legal__toc-k + nav { top: calc(var(--hh) + 24px); }
.legal__body { grid-column: 4 / 12; min-width: 0; max-width: 72ch; }
.legal__sec { padding-bottom: var(--s-7); }
.legal__sec + .legal__sec { padding-top: var(--s-6); border-top: 1px solid var(--rule); }
.legal__h { display: flex; align-items: baseline; gap: 14px; font-size: clamp(24px, 2.2vw, 32px); line-height: 1.12; font-weight: 720; font-stretch: 110%; letter-spacing: -.025em; margin-bottom: var(--s-4); }
.legal__n { flex: none; color: var(--signal-ink); font-size: 13px; transform: translateY(-4px); }
.legal__body p { line-height: 1.72; color: var(--ink); }
.legal__body p + p, .legal__body p + ul, .legal__body ul + p { margin-top: var(--s-4); }
.legal__body a:not(.link-arrow):not(.btn) { color: var(--signal-ink); }
.legal__contact { margin-top: var(--s-4); padding: 22px 24px; border: 1px solid var(--ink); border-radius: var(--r-1); box-shadow: var(--shadow); }
.legal__ch { font-size: 20px; font-weight: 720; font-stretch: 108%; letter-spacing: -.02em; margin-bottom: 6px; }
.legal__contact p { color: var(--ink-2); }
.legal__contact .link-arrow { color: var(--ink); margin-inline-start: 6px; }

.sq { display: grid; gap: 10px; margin-top: var(--s-4); }
.sq li { position: relative; padding-inline-start: 22px; line-height: 1.6; }
.sq li::before { content: ""; position: absolute; inset-inline-start: 2px; top: .62em; width: 8px; height: 8px; background: var(--ink); }
.sq--sm li { font-size: var(--t-sm); padding-inline-start: 18px; }
.sq--sm li::before { width: 6px; height: 6px; }
.sq strong { font-weight: 680; }

.note { display: flex; gap: 12px; align-items: flex-start; margin-top: var(--s-4); padding: 14px 16px; background: var(--paper-2); border-inline-start: 3px solid var(--ink); font-size: var(--t-sm); line-height: 1.55; }
.note .ico { width: 18px; height: 18px; margin-top: 2px; }
.note p { color: var(--ink-2) !important; line-height: 1.55 !important; }
.note strong { color: var(--ink); }
.note--signal { border-inline-start-color: var(--signal); }
.note--signal .ico { color: var(--signal-ink); }
.note a { color: var(--ink); font-weight: 600; }

/* tables */
.tbl-wrap { position: relative; overflow-x: auto; margin-top: var(--s-5); border-top: 1px solid var(--ink); -webkit-overflow-scrolling: touch; }
.tbl-wrap:focus-visible { outline-offset: 2px; }
.tbl { width: 100%; border-collapse: collapse; font-size: var(--t-sm); line-height: 1.45; }
.tbl th, .tbl td { padding: 13px 16px 13px 0; padding-inline: 0 16px; text-align: start; vertical-align: top; border-bottom: 1px solid var(--rule); }
.tbl thead th { font: 500 var(--t-mono)/1.3 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); padding-top: 12px; padding-bottom: 12px; white-space: nowrap; }
html[lang="ja"] .tbl thead th, html[lang="ar"] .tbl thead th { letter-spacing: 0; }
.tbl tbody th { font-weight: 650; }
.tbl td { color: var(--ink-2); }
.code { font: 500 13px/1 var(--f-mono); padding: 4px 6px; background: var(--paper-2); border: 1px solid var(--rule); border-radius: var(--r-1); color: var(--ink); white-space: nowrap; }

/* status chip: square + label (colour is never the only carrier) */
.st { display: inline-flex; align-items: center; gap: 7px; font: 500 12px/1.2 var(--f-mono); letter-spacing: .04em; text-transform: uppercase; color: var(--ink-2); white-space: nowrap; }
html[lang="ja"] .st, html[lang="ar"] .st { letter-spacing: 0; }
.st::before { content: ""; width: 8px; height: 8px; flex: none; background: var(--ink-3); }
.st--completed { color: var(--ok); }
.st--completed::before { background: var(--ok); }
.st--failed, .st--signal { color: var(--signal-ink); }
.st--failed::before, .st--signal::before { background: var(--signal); }
.st--pending::before, .st--processing::before { background: transparent; border: 1.5px solid var(--ink-2); width: 9px; height: 9px; }

/* cookie types + manage */
.ctypes { display: grid; gap: var(--cg); margin-top: var(--s-5); }
.ctype { padding: 18px 20px 20px; border: 1px solid var(--rule); border-top: 1px solid var(--ink); }
.ctype__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin-bottom: 8px; }
.ctype__h { font-size: 19px; font-weight: 700; font-stretch: 106%; letter-spacing: -.015em; }
.ctype > p { color: var(--ink-2) !important; font-size: var(--t-sm); line-height: 1.6 !important; }
.ck { margin: var(--s-5) 0 var(--s-4); padding: 20px; border: 1px solid var(--ink); border-radius: var(--r-1); display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.ck__state { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; }
.ck__state b { font-weight: 680; }
.ck__act { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; min-width: 0; }
/* long consent labels (tr/it/es) must wrap inside the card at 320-360 px (WCAG 1.4.10); the roll copy wraps with them */
.ck__act .btn { max-width: 100%; min-width: 0; white-space: normal; text-align: center; padding-block: 12px; }
.ck__act .btn__t::after { white-space: normal; inset-inline: 0; }
.ck__more { min-height: 44px; padding: 0 10px; font-weight: 600; font-size: 15px; text-decoration: underline; text-underline-offset: .22em; }

/* ---------- profile + history ---------- */
.who { grid-column: 1 / 9; display: flex; align-items: flex-end; gap: var(--s-5); min-width: 0; }
.who__av { flex: none; display: grid; place-items: center; width: clamp(72px, 8vw, 112px); aspect-ratio: 1; background: var(--signal); color: var(--ink); font-family: var(--f-wide); font-size: clamp(40px, 4.6vw, 64px); font-weight: 850; font-stretch: 125%; border-radius: var(--r-1); box-shadow: var(--shadow); }
.who__t { min-width: 0; display: grid; gap: 8px; justify-items: start; }
.who__mail { color: var(--ink-2); overflow-wrap: anywhere; }
.pg-duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--cg); }
.panel { padding: clamp(20px, 2.6vw, 32px); border: 1px solid var(--ink); border-radius: var(--r-1); display: grid; gap: 18px; align-content: start; min-width: 0; }
.panel__h { font-size: clamp(22px, 2vw, 28px); line-height: 1.1; font-weight: 720; font-stretch: 110%; letter-spacing: -.025em; margin-top: -10px; }
.panel .form { margin-top: 0; }
.panel .note { margin-top: 0; }

.tbl--hist td, .tbl--hist th { vertical-align: middle; }
.tbl__tool { min-width: 220px; }
.tbl__fx { font-size: 15px; display: flex !important; margin-bottom: 4px; }
.tbl__name { color: var(--ink); font-weight: 600; text-decoration: none; }
a.tbl__name:hover { text-decoration: underline; }
.tbl__file span { display: inline-block; max-width: 28ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: bottom; color: var(--ink); }
.tbl__date { white-space: nowrap; font-size: 13px; color: var(--ink-2); }
.tbl__act { text-align: end !important; white-space: nowrap; }
.tbl__act .link-arrow { font-size: var(--t-sm); }

/* empty state (sync with pages-blog.css) */
.empty { display: grid; justify-items: start; gap: 10px; padding: clamp(24px, 4vw, 48px); border: 1px dashed var(--ink-3); border-radius: var(--r-1); }
.empty__viz { display: flex; align-items: flex-end; gap: 10px; margin-bottom: 10px; }
.empty__arr { width: 28px; height: 1.5px; background: var(--ink); margin-bottom: 18px; position: relative; }
.empty__arr::after { content: ""; position: absolute; inset-inline-end: -1px; top: -3.5px; width: 7px; height: 7px; border-top: 1.5px solid var(--ink); border-inline-end: 1.5px solid var(--ink); transform: rotate(45deg); }
[dir="rtl"] .empty__arr::after { transform: rotate(-45deg); }
.empty__h { font-family: var(--f-wide); font-size: clamp(26px, 2.6vw, 38px); line-height: 1.04; font-weight: 800; font-stretch: 116%; letter-spacing: -.035em; }
.empty__h em { font-style: normal; color: var(--signal); }
.empty__t { color: var(--ink-2); margin-bottom: 8px; }

/* ---------- 404 + maintenance: Dö ---------- */
.err { display: grid; justify-items: start; padding-top: var(--s-7); padding-bottom: var(--s-8); border-bottom: 1px solid var(--rule); }
.err__k { color: var(--ink-3); }
.err__big { display: flex; align-items: flex-end; gap: .04em; margin: var(--s-4) 0 var(--s-5); font-family: var(--f-wide); font-size: clamp(120px, 24vw, 340px); line-height: .8; font-weight: 850; font-stretch: 125%; letter-spacing: -.05em; user-select: none; }
.err__big > span:not(.err__do) { display: block; }
.err__do { display: block; width: .74em; height: .74em; margin: 0 .03em; cursor: pointer; }
.err__h { font-size: clamp(28px, 3.2vw, 48px); line-height: 1.05; font-weight: 760; font-stretch: 114%; letter-spacing: -.03em; max-width: 22ch; }
html[lang="ja"] .err__h, html[lang="ar"] .err__h { letter-spacing: 0; font-stretch: 100%; line-height: 1.25; }
.err__t { margin-top: 12px; font-size: var(--t-lead); color: var(--ink-2); max-width: 52ch; line-height: 1.5; }
.err__tool { margin-top: 10px; font-weight: 650; }
.err__act { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: var(--s-6); }
.err-try__k { margin-bottom: 14px; font-weight: 500; }
.err-try { padding-top: var(--s-7); }
.err--maint .err__stage { display: flex; align-items: flex-end; gap: var(--s-6); margin: var(--s-5) 0 var(--s-6); }
.err__fx { font-size: clamp(30px, 4vw, 56px); padding-bottom: 6px; }

.do { position: relative; display: block; width: 100%; height: 100%; }
.do__svg { width: 100%; height: 100%; overflow: visible; }
.do__eyes { transform: translate(var(--ex, 0px), var(--ey, 0px)); transition: transform .35s var(--e-out); }
.do__eyes rect { fill: var(--ink); transform-box: fill-box; transform-origin: 50% 60%; transition: transform .12s var(--e-out); }
.do.is-blink .do__eyes rect { transform: scaleY(.12); }
.do--look:not(.is-track) .do__eyes { animation: doLook 7s steps(1, end) infinite; }
@keyframes doLook {
  0%, 22% { transform: translate(0, 0); }
  24%, 40% { transform: translate(-54px, 4px); }
  42%, 60% { transform: translate(54px, 4px); }
  62%, 78% { transform: translate(18px, -40px); }
  80%, 100% { transform: translate(0, 0); }
}
.is-still .do--look .do__eyes, .is-reduced .do--look .do__eyes { animation: none; }
.do--shut .do__eyes rect { transform: scaleY(.16); transform-origin: 50% 75%; }
.do--maint { width: clamp(120px, 16vw, 200px); height: clamp(120px, 16vw, 200px); flex: none; }
.do--maint::after { content: "z"; position: absolute; inset-inline-end: -.4em; top: -.5em; font: 700 clamp(28px, 3vw, 40px)/1 var(--f-mono); color: var(--ink-3); }

/* ---------- responsive ---------- */
@media (max-width: 1279.98px) {
  .ph__h { grid-column: 1 / 8; }
  .ph__side { grid-column: 8 / 13; }
  .legal__body { grid-column: 4 / 13; }
}
@media (max-width: 1023.98px) {
  .ph__h, .ph__side, .who { grid-column: 1 / -1; }
  .ph__lead { max-width: 60ch; }
  .pg-lead, .facts, .pg-body > * { grid-column: 1 / -1; }
  .cards3 { grid-template-columns: 1fr 1fr; }
  .band__h, .band__t, .band .btn { grid-column: 1 / -1; }
  .faq-cat__head, .faq-cat .faq { grid-column: 1 / -1; }
  .faq-cat__head { margin-bottom: 12px; }
  .faq-none { margin-inline-start: 0; }
  .inst__body { grid-template-columns: 1fr; }
  .inst__side { border-inline-start: 0; border-top: 1px solid var(--ink); }
  .legal__toc, .legal__body { grid-column: 1 / -1; }
  .legal__toc { margin-bottom: var(--s-6); }
  .legal__toc nav { position: static; }
  .toc { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--cg); }
  .pg-duo { grid-template-columns: 1fr; }
  .stats__n { font-size: clamp(36px, 7vw, 64px); }
}
@media (max-width: 719.98px) {
  .ph { padding-bottom: var(--s-6); }
  .ph__grid { margin-top: var(--s-5); }
  .pg-sec { padding-top: var(--s-7); padding-bottom: var(--s-7); }
  .cards3 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .stats__i, .stats__i + .stats__i { padding: 14px 0; border-inline-end: 0; border-bottom: 1px solid var(--rule); display: flex; flex-direction: row; justify-content: space-between; align-items: baseline; gap: 12px; }
  .stats__n { margin: 0; font-size: 40px; }
  .stats--sm .stats__n { font-size: 30px; }
  .stats--2 { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .birth { grid-template-columns: 1fr 1.4fr 1.1fr; }
  .inst__bar { padding: 8px 10px; flex-wrap: wrap; row-gap: 6px; }
  .inst__tabs { flex-wrap: nowrap; }
  .auth__viz { display: none; }
  .inst__ok { font-size: 12.5px; }
  .toc { grid-template-columns: 1fr; }
  .legal { padding-top: var(--s-6); }
  .legal__contact { padding: 18px; }
  .tbl--hist thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .tbl--hist, .tbl--hist tbody { display: block; }
  .tbl--hist tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--rule); }
  .tbl--hist td { display: block; padding: 0; border: 0; }
  .tbl--hist .tbl__tool, .tbl--hist .tbl__file, .tbl--hist .tbl__act { grid-column: 1 / -1; min-width: 0; }
  .tbl--hist .tbl__file span { max-width: 100%; color: var(--ink-2); }
  .tbl--hist .tbl__act { text-align: start !important; }
  .tbl--hist .tbl__act:empty { display: none; }
  .who { align-items: center; gap: var(--s-4); }
  .err__big { font-size: clamp(110px, 34vw, 200px); }
  .band { padding-top: var(--s-8); padding-bottom: var(--s-8); }
  .band .btn { justify-self: stretch; }
}
@media (max-width: 389.98px) {
  .inst__ok { display: none; }
  .ck__act .btn { width: 100%; }
}
