/* KİNETİK shared system, render-blocking (first paint only; menu, languages, consent, veil, toast: site-late.css). Radii 0/2 px. */

*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%; text-size-adjust: 100%;
  background: var(--paper); color: var(--ink);
  scroll-padding-top: calc(var(--hh) + 24px);
}
body {
  margin: 0;
  font: 400 var(--t-body)/1.6 var(--f-sans); font-stretch: 100%;
  background: var(--paper); color: var(--ink);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility; font-kerning: normal;
}
img, svg, canvas, video { display: block; max-width: 100%; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
/* 1.4.10: long (German) words wrap instead of widening the page */
h1, h2, h3, h4 { overflow-wrap: break-word; }
:lang(de) :is(h1, h2, h3, h4) { hyphens: auto; }
/* ja: headings + short UI copy break between phrases, not inside words (Safari ignores it); long prose stays normal */
:lang(ja) :is(h1, h2, .hero__lead, .dropper__t, .err__t, .band__t, .auth__lead, .side__note) { word-break: auto-phrase; }
:lang(ja) :is(.hero__lead, .dropper__t, .err__t, .band__t, .auth__lead, .side__note) { text-wrap: pretty; }
:lang(ja) :is(.dropper__note, .ph__lead, .cd__s) { word-break: auto-phrase; text-wrap: balance; }
:where(ul, ol) { padding: 0; list-style: none; }
:where(.hdr, .ftr, .consent) :where(ul, ol) { padding: 0; margin: 0; list-style: none; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .22em; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; border-radius: 0; }
input, select, textarea { font: inherit; border-radius: 0; }
strong, b { font-weight: 650; }
::selection { background: var(--ink); color: var(--paper); }
.main { display: block; }
.main:focus { outline: none; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.skip {
  position: fixed; inset-inline-start: var(--g); top: 8px; z-index: 200;
  background: var(--ink); color: var(--paper); padding: 10px 14px; font-weight: 600;
  transform: translateY(-160%); transition: transform var(--d-2) var(--e-out); text-decoration: none;
}
.skip:focus-visible { transform: none; }

.mono { font-family: var(--f-mono); font-size: var(--t-mono); font-weight: 500; line-height: 1.45; letter-spacing: .04em; text-transform: uppercase; }
html[lang="ja"] .mono, html[lang="ar"] .mono { letter-spacing: 0; }
.mono-n { font-family: var(--f-mono); font-variant-numeric: tabular-nums; }
.meta { font-size: var(--t-meta); line-height: 1.45; color: var(--ink-2); }
.t-2 { color: var(--ink-2); }
.t-3 { color: var(--ink-3); }
.ico { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: square; stroke-linejoin: miter; }
[dir="rtl"] :is(.flip-rtl, .row__to, .row__go) { transform: scaleX(-1); }

.only-touch { display: none; }
@media (hover: none) and (pointer: coarse) { .only-fine { display: none; } .only-touch { display: revert; } }

.wrap { padding-inline: var(--g); }
.grid12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--cg); }

/* buttons (text roll) */
.btn {
  --bf: var(--ink); --bt: var(--paper); --hf: var(--signal-strong); --ht: #fff;
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 48px; padding: 0 20px;
  font: 600 15px/1 var(--f-sans); letter-spacing: -.005em;
  background: var(--bf); color: var(--bt);
  border: 1px solid var(--bf); border-radius: var(--r-1);
  text-decoration: none; white-space: nowrap; box-shadow: none; text-transform: none;
  transition: color var(--d-2) var(--e-out), border-color var(--d-2) var(--e-out);
}
.btn::before {
  content: ""; position: absolute; inset: -1px; z-index: -1;
  background: var(--hf); transform: translate3d(0, 101%, 0);
  transition: transform .55s var(--e-out);
}
.btn:hover::before, .btn:focus-visible::before { transform: none; }
.btn:hover, .btn:focus-visible { color: var(--ht); border-color: var(--hf); }
.btn__t { position: relative; display: inline-block; overflow: hidden; line-height: 1.35; }
.btn__t > span { display: block; transition: transform .55s var(--e-out); }
.btn__t::after { content: attr(data-t) / ""; position: absolute; inset-inline-start: 0; top: 100%; transition: transform .55s var(--e-out); white-space: nowrap; }
.btn:hover .btn__t > span, .btn:hover .btn__t::after,
.btn:focus-visible .btn__t > span, .btn:focus-visible .btn__t::after { transform: translate3d(0, -100%, 0); }
.btn .ico { width: 18px; height: 18px; transition: transform .55s var(--e-out); }
.btn:hover .ico--go { transform: translate3d(3px, 0, 0); }
[dir="rtl"] .btn:hover .ico--go { transform: scaleX(-1) translate3d(3px, 0, 0); }
.btn--signal { --bf: var(--signal-strong); --bt: #fff; --hf: var(--ink); --ht: var(--paper); }
.btn--ghost { --bf: transparent; --bt: var(--ink); --hf: var(--ink); --ht: var(--paper); border-color: var(--ink); }
.btn--block { width: 100%; justify-content: space-between; min-height: 56px; }
.btn[disabled], .btn[aria-disabled="true"] { --bf: var(--paper-2); --bt: var(--ink-3); --hf: var(--paper-2); --ht: var(--ink-3); border-color: var(--paper-3); cursor: not-allowed; }
.btn[disabled] .btn__t > span, .btn[disabled] .btn__t::after,
.btn[aria-disabled="true"] .btn__t > span, .btn[aria-disabled="true"] .btn__t::after { transform: none !important; }
.inv .btn--ghost { --bt: var(--paper); --hf: var(--paper); --ht: var(--ink); border-color: var(--paper); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 600;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  padding-bottom: 3px; transition: background-size .5s var(--e-out);
}
.link-arrow:hover { background-size: 0 1px; background-position: 100% 100%; }
.link-arrow .ico { width: 16px; height: 16px; }

/* tag, badges, family square, formula, legend */
.fmt {
  display: inline-flex; align-items: center; gap: 7px;
  font: 500 13px/1 var(--f-mono); letter-spacing: .03em; text-transform: uppercase;
  padding: 6px 9px 6px 7px; border: 1px solid var(--rule); border-radius: var(--r-1);
  color: var(--ink); background: transparent; white-space: nowrap;
}
.fmt::before { content: ""; width: 8px; height: 8px; background: var(--c, var(--ink)); box-shadow: inset 0 0 0 1px var(--key, transparent); flex: none; }
.badge {
  display: inline-block; vertical-align: middle;
  font: 600 11px/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase;
  padding: 4px 5px 3px; border: 1px solid currentColor; border-radius: var(--r-1); white-space: nowrap;
}
.badge--new, .badge--hot, .badge--popular, .badge--updated { color: var(--signal-ink); }
.badge--maint { color: var(--ink-3); }
.badge--beta { color: var(--ink-2); }
.badge--soon { color: var(--ink-2); }
.inv .badge--new { color: var(--signal-lt); }
.fam-sq { display: inline-block; width: 8px; height: 8px; flex: none; background: var(--c); box-shadow: inset 0 0 0 1px var(--key, transparent); }
.fx { display: inline-flex; align-items: baseline; gap: .3em; font-weight: 780; font-stretch: 118%; letter-spacing: -.03em; line-height: 1; white-space: nowrap; }
/* text-safe --c-ink by default; vivid --c-d (3:1) only where the formula is ≥ 19 px (panel, 404, blog links, rows ≥ 1280) */
.fx > b { font-weight: inherit; color: var(--c-ink, var(--ink)); }
.fx--d > b, .md__fx > b, .err__fx > b, .tlink__fx > b { color: var(--c-d, var(--ink)); }
@media (min-width: 1280px) { .row__fx > b { color: var(--c-d, var(--ink)); } }
.fx__to { font-style: normal; font-weight: 400; color: var(--ink); display: inline-block; }
.inv .fx > b { color: var(--c-lt); }
.inv .fx__to { color: var(--paper); }
.legend { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: var(--t-meta); color: var(--ink-2); }
.legend li { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.legend li::before { content: ""; width: 10px; height: 10px; background: var(--c); box-shadow: inset 0 0 0 1px var(--key, transparent); }
.legend b { color: var(--ink); font-weight: 620; }

/* file glyphs: .sheet (c1 dog-ear), .pxs (SPEKTRUM pixel sheet, 12×15 cells) */
.sheet {
  --s: 72px; --ear: calc(var(--s) * .26);
  position: relative; flex: none; width: var(--s); height: calc(var(--s) * 1.28);
  background: var(--c, var(--ink)); color: var(--on, #fff);
  clip-path: polygon(0 0, calc(100% - var(--ear)) 0, 100% var(--ear), 100% 100%, 0 100%);
}
.sheet::after { content: ""; position: absolute; inset-inline-end: 0; top: 0; width: var(--ear); height: var(--ear); background: rgba(0, 0, 0, .28); clip-path: polygon(0 0, 0 100%, 100% 100%); }
.sheet > b { position: absolute; inset-inline-start: 8px; bottom: 7px; font: 600 12px/1 var(--f-mono); letter-spacing: .04em; text-transform: uppercase; }

.pxs {
  --w: 72px; --cell: calc(var(--w) / 12); --pxs-bg: var(--paper); --ln: rgba(242, 240, 234, .55);
  position: relative; display: inline-block; flex: none; vertical-align: bottom;
  width: var(--w); height: calc(var(--cell) * 15);
  background-color: var(--c, var(--ink));
  background-image: linear-gradient(90deg, transparent 75%, var(--pxs-bg) 0), linear-gradient(transparent 75%, var(--pxs-bg) 0);
  background-size: var(--cell) var(--cell);
  clip-path: polygon(0 0, 75% 0, 75% 6.667%, 83.333% 6.667%, 83.333% 13.333%, 91.667% 13.333%, 91.667% 20%, 100% 20%, 100% 100%, 0 100%);
}
.pxs::before {
  content: ""; position: absolute; inset-inline-start: var(--cell); top: calc(var(--cell) * 5); width: calc(var(--cell) * 9); height: calc(var(--cell) * 7);
  background:
    linear-gradient(var(--ln), var(--ln)) 0 0 / 100% calc(var(--cell) * .75) no-repeat,
    linear-gradient(var(--ln), var(--ln)) 0 calc(var(--cell) * 2) / 78% calc(var(--cell) * .75) no-repeat,
    linear-gradient(var(--ln), var(--ln)) 0 calc(var(--cell) * 4) / 100% calc(var(--cell) * .75) no-repeat,
    linear-gradient(var(--ln), var(--ln)) 0 calc(var(--cell) * 6) / 56% calc(var(--cell) * .75) no-repeat;
}
[dir="rtl"] .pxs::before { background-position: 100% 0, 100% calc(var(--cell) * 2), 100% calc(var(--cell) * 4), 100% calc(var(--cell) * 6); }
.pxs::after {
  content: ""; position: absolute; left: 75%; top: 6.667%; width: 16.667%; height: 13.333%;
  background: rgba(15, 15, 14, .42);
  clip-path: polygon(0 0, 50% 0, 50% 50%, 100% 50%, 100% 100%, 0 100%);
}
.pxs__l {
  position: absolute; z-index: 1; inset-inline-start: 0; bottom: calc(var(--cell) * 1.5);
  padding: 4px 6px 3px; font: 600 11px/1 var(--f-mono); letter-spacing: .04em; text-transform: uppercase; white-space: nowrap;
  background: var(--ink); color: var(--paper);
}
.pxs--xs { --w: 20px; } .pxs--s { --w: 32px; } .pxs--m { --w: 72px; } .pxs--l { --w: 120px; } .pxs--xl { --w: 200px; }
.pxs--xs::before, .pxs--s::before { display: none; }
.pxs--l .pxs__l, .pxs--xl .pxs__l { font-size: 14px; padding: 6px 8px 5px; }
.inv .pxs { --pxs-bg: var(--ink); --ln: rgba(15, 15, 14, .5); }
.pxs.is-paint { animation: pxPaint .5s steps(12, end) both; }
@keyframes pxPaint { from { clip-path: polygon(0 0, 0 0, 0 6.667%, 0 6.667%, 0 13.333%, 0 13.333%, 0 20%, 0 20%, 0 100%, 0 100%); } }

/* privacy table (share dialog, home teaser) */
.priv { border-top: 1px solid var(--ink); }
.priv > div { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--rule); font-size: var(--t-meta); }
.priv dt { color: var(--ink-2); }
.priv dd { display: inline-flex; align-items: center; gap: 8px; font-weight: 650; }
.priv dd::before { content: ""; width: 8px; height: 8px; flex: none; }
.priv__y::before { background: var(--ok); }
.priv__n { color: var(--signal-ink); }
.priv__n::before { background: transparent; border: 1.5px solid var(--signal-ink); width: 9px; height: 9px; background-image: linear-gradient(45deg, transparent 43%, var(--signal-ink) 43% 57%, transparent 57%); }

.ann { position: relative; isolation: isolate; display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 40px; padding: 8px 48px; background: var(--ink); color: var(--paper); font-size: var(--t-meta); text-align: center; overflow: hidden; }
.ann__bg { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; opacity: .35; }
.ann a { color: inherit; }
.ann__x { position: absolute; inset-inline-end: 8px; top: 50%; transform: translateY(-50%); display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; }
.ann__x .ico { width: 16px; height: 16px; }

.flash { padding: var(--s-3) var(--g) 0; display: grid; gap: 8px; }
.flash__m { padding: 12px 14px; border: 1px solid var(--ink); border-radius: var(--r-1); background: var(--paper-2); font-size: var(--t-sm); box-shadow: var(--shadow-sm); }
.flash__m--error, .flash__m--danger { border-color: var(--signal-ink); color: var(--signal-ink); }
.flash__m--success { border-color: var(--ok); }

/* header */
.hdr { position: sticky; top: 0; z-index: 50; background: var(--paper); transition: transform .6s var(--e-out); view-transition-name: hdr; }
.hdr.is-hidden { transform: translate3d(0, -100%, 0); }
.hdr__bar { position: relative; display: flex; align-items: center; gap: var(--s-6); height: var(--hh); padding-inline: var(--g); border-bottom: 1px solid var(--rule); }
.hdr__progress { position: absolute; inset-inline: 0; bottom: -1px; height: 1px; background: var(--signal); transform-origin: 0 50%; transform: scaleX(0); }
[dir="rtl"] .hdr__progress { transform-origin: 100% 50%; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex: none; font-weight: 750; font-stretch: 112%; font-size: 19px; letter-spacing: -.025em; line-height: 1; }
.brand__mark { width: 28px; height: 28px; transition: transform .6s var(--e-out); }
.brand:hover .brand__mark { transform: rotate(-90deg); }
.brand__word { font-family: "Mona Sans", "Mona Fallback", sans-serif; }
.brand__tld { color: var(--signal-ink); }

.nav { display: flex; align-items: center; gap: 2px; }
.nav__link { position: relative; display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px; font-size: 15px; font-weight: 520; text-decoration: none; }
.nav__link::after { content: ""; position: absolute; inset-inline: 12px; bottom: 8px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: 100% 50%; transition: transform .5s var(--e-out); }
.nav__link:hover::after, .nav__link[aria-expanded="true"]::after, .nav__link[aria-current="page"]::after, .nav__link[data-current]::after { transform: scaleX(1); transform-origin: 0 50%; }
.nav__link .ico { width: 14px; height: 14px; transition: transform .5s var(--e-out); }
.nav__link[aria-expanded="true"] .ico { transform: rotate(180deg); }
.nav__count { font: 500 11px/1 var(--f-mono); color: var(--ink-3); transform: translateY(-5px); }

.hdr__end { margin-inline-start: auto; display: flex; align-items: center; gap: var(--s-2); }
.hdr__cta {
  min-height: 40px; padding: 0 14px; font-size: 14px; gap: 8px;
  max-width: 0; padding-inline: 0; border-width: 0; opacity: 0; visibility: hidden;
  transition: max-width .6s var(--e-out), padding .6s var(--e-out), opacity .4s var(--e-out), visibility 0s linear .6s, color var(--d-2) var(--e-out);
}
.hdr__cta .ico { width: 16px; height: 16px; }
.hdr.has-cta .hdr__cta { max-width: 220px; padding-inline: 14px; border-width: 1px; opacity: 1; visibility: visible; transition: max-width .6s var(--e-out), padding .6s var(--e-out), opacity .4s var(--e-out) .1s, visibility 0s, color var(--d-2) var(--e-out); }
.hdr__login { font-size: 15px; font-weight: 520; padding: 0 12px; text-decoration: none; white-space: nowrap; }
.hdr__login:hover { text-decoration: underline; }
.hdr__user { max-width: 220px; overflow: hidden; text-overflow: ellipsis; }

.lang { position: relative; }
.lang__btn { display: inline-flex; align-items: center; height: 36px; padding: 0 10px; font: 500 12px/1 var(--f-mono); letter-spacing: .06em; border: 1px solid var(--rule); border-radius: var(--r-1); cursor: pointer; list-style: none; user-select: none; }
.lang__btn::-webkit-details-marker { display: none; }
.lang__btn:hover, .lang[open] .lang__btn { border-color: var(--ink); }

.burger { display: none; align-items: center; gap: 10px; height: 40px; padding: 0 12px; font: 500 12px/1 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; border: 1px solid var(--ink); border-radius: var(--r-1); }
.burger__i { position: relative; width: 14px; height: 8px; }
.burger__i::before, .burger__i::after { content: ""; position: absolute; inset-inline: 0; height: 1.5px; background: currentColor; transition: transform .45s var(--e-out), top .45s var(--e-out); }
.burger__i::before { top: 0; }
.burger__i::after { top: 6.5px; }
.burger[aria-expanded="true"] .burger__i::before { top: 3.25px; transform: rotate(45deg); }
.burger[aria-expanded="true"] .burger__i::after { top: 3.25px; transform: rotate(-45deg); }

/* mega menu + sheet: site-late.css; never half-styled before it */
html:not(.late) .mega { display: none; }

/* directory rows (home, related tools) */
.rows { border-top: 1px solid var(--ink); }
.row { border-bottom: 1px solid var(--rule); }
.row__a {
  position: relative; isolation: isolate;
  display: grid; grid-template-columns: 44px minmax(0, 1fr) auto 28px; column-gap: var(--cg); align-items: center;
  padding: 16px 0; text-decoration: none; color: var(--ink);
  transition: color .45s var(--e-out), padding .6s var(--e-out);
}
.row__a::before { content: ""; position: absolute; inset: 0 calc(var(--g) * -1); z-index: -1; background: var(--ink); clip-path: inset(0 100% 0 0); transition: clip-path .6s var(--e-out); }
[dir="rtl"] .row__a::before { clip-path: inset(0 0 0 100%); }
.row__a::after { content: ""; position: absolute; inset-inline-start: calc(var(--g) * -1); top: 0; bottom: 0; width: 6px; background: var(--c); transform: scaleY(0); transition: transform .5s var(--e-out); }
.row__n { font: 500 13px/1 var(--f-mono); color: var(--ink-3); letter-spacing: .04em; transition: color .45s; }
.row__main { min-width: 0; }
.row__name { display: block; font-size: var(--t-row); line-height: 1.05; font-weight: 640; font-stretch: 106%; letter-spacing: -.03em; transition: transform .6s var(--e-out); }
.row__name .badge { vertical-align: 6px; margin-inline-start: 10px; }
.row__desc { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .6s var(--e-out), opacity .4s var(--e-out), transform .6s var(--e-out); font-size: 15px; line-height: 1.45; color: var(--on-ink-2); max-width: 60ch; }
.row__desc > span { overflow: hidden; }
.row__desc > span > span { display: block; padding-top: 8px; }
.row__fmt { display: flex; align-items: center; gap: 8px; }
.row__to { font: 500 14px/1 var(--f-mono); color: var(--ink-3); }
.row__go { width: 22px; height: 22px; justify-self: end; transition: transform .6s var(--e-out); }
@media (hover: hover) {
  .row__a:hover, .row__a:focus-visible { color: var(--paper); }
  .row__a:hover::before, .row__a:focus-visible::before { clip-path: inset(0 0 0 0); }
  .row__a:hover::after, .row__a:focus-visible::after { transform: scaleY(1); }
  .row__a:hover .row__name, .row__a:focus-visible .row__name { transform: translate3d(14px, 0, 0); }
  .row__a:hover .row__desc, .row__a:focus-visible .row__desc { grid-template-rows: 1fr; opacity: 1; transform: translate3d(14px, 0, 0); }
  [dir="rtl"] .row__a:hover .row__name, [dir="rtl"] .row__a:focus-visible .row__name,
  [dir="rtl"] .row__a:hover .row__desc, [dir="rtl"] .row__a:focus-visible .row__desc { transform: translate3d(-14px, 0, 0); }
  .row__a:hover .row__n, .row__a:focus-visible .row__n { color: var(--on-ink-2); }
  .row__a:hover .fmt, .row__a:focus-visible .fmt { color: var(--paper); border-color: var(--rule-inv); }
  .row__a:hover .row__to, .row__a:focus-visible .row__to { color: var(--on-ink-2); }
  .row__a:hover .row__go, .row__a:focus-visible .row__go { transform: rotate(45deg); }
  [dir="rtl"] .row__a:is(:hover, :focus-visible) .row__go { transform: scaleX(-1) rotate(45deg); }
  .row__a:hover .badge--new, .row__a:focus-visible .badge--new { color: var(--signal-lt); }
  .row__a:hover .badge--maint, .row__a:focus-visible .badge--maint { color: var(--on-ink-2); }
}
.row__a:focus-visible { outline-offset: -2px; }

/* section heads, reveals */
.sec-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--cg); align-items: end; }
.sec-idx { grid-column: 1 / 4; color: var(--ink-3); padding-bottom: .6em; }
.sec-title { grid-column: 4 / 13; font-size: var(--t-h2); line-height: .98; font-weight: 760; font-stretch: 116%; letter-spacing: -.04em; }
.sec-title em { font-style: normal; color: var(--signal); }
.motion .sw { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.motion .sw > span { display: inline-block; transform: translate3d(0, 105%, 0); transition: transform 1.05s var(--e-out); transition-delay: calc(var(--i, 0) * 45ms); }
.motion .is-in .sw > span, .motion .sw.is-in > span { transform: none; }
.motion .rv { opacity: 0; transform: translate3d(0, 28px, 0); transition: opacity .9s var(--e-out), transform 1.1s var(--e-out); transition-delay: var(--rd, 0s); }
.motion .rv.is-in { opacity: 1; transform: none; }

/* footer */
.ftr { background: var(--ink); color: var(--paper); padding: var(--s-9) var(--g) 0; overflow: hidden; }
.ftr__top { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--cg); row-gap: var(--s-7); }
.ftr__claim { grid-column: 1 / 5; font-size: clamp(26px, 2.6vw, 40px); line-height: 1.02; font-weight: 700; font-stretch: 114%; letter-spacing: -.035em; }
.ftr__claim em { font-style: normal; color: var(--signal-lt); }
.ftr__col { grid-column: span 2; }
.ftr__col:first-of-type { grid-column: 5 / 7; }
.ftr__h { color: var(--on-ink-2); margin-bottom: var(--s-4); }
.ftr__col li + li { margin-top: 8px; }
.ftr__col a, .ftr__btn { text-decoration: none; font-size: 15px; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--e-out); padding-bottom: 2px; text-align: start; }
.ftr__col a:hover, .ftr__btn:hover { background-size: 100% 1px; }
.ftr__col a[aria-current="true"] { color: var(--signal-lt); }
.ftr__col a { overflow-wrap: break-word; }
:lang(de) .ftr__col a { hyphens: auto; }
.ftr__mark { container-type: inline-size; margin-top: var(--s-9); white-space: nowrap; font-family: var(--f-wide); font-weight: 850; line-height: .8; user-select: none; direction: ltr; text-align: left; }
/* .26em: the ş cedilla clears the hairline */
.ftr__mark span { display: inline-block; font-family: "Mona Sans", "Mona Wide Fallback", sans-serif; font-size: calc(100cqi / 6.86); font-stretch: 125%; letter-spacing: -.045em; padding-bottom: .26em; }
.ftr__mark .ftr__tld { color: var(--signal-lt); }
.ftr__bot { display: flex; justify-content: space-between; align-items: center; gap: 12px var(--s-5); flex-wrap: wrap; border-top: 1px solid var(--rule-inv); margin-top: var(--s-5); padding: 16px 0 22px; color: var(--on-ink-2); font-size: var(--t-meta); }
.ftr__bot > p:first-child { margin-inline-end: auto; }
.ftr__bot a { color: var(--paper); text-decoration: none; }
.ftr__bot a:hover { text-decoration: underline; }
.ftr__bot .motion-btn { color: var(--paper); font-size: var(--t-meta); }

/* motion toggle */
.motion-btn { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-2); padding: 10px 0; min-height: 44px; }
.motion-btn:hover { color: var(--ink); }
.motion-btn__i { position: relative; width: 10px; height: 10px; }
.motion-btn__i::before, .motion-btn__i::after { content: ""; position: absolute; top: 0; bottom: 0; width: 3px; background: currentColor; }
.motion-btn__i::before { left: 1px; }
.motion-btn__i::after { right: 1px; }
html.is-paused .motion-btn__i::before { left: 1px; width: 0; height: 0; background: none; border-left: 9px solid currentColor; border-top: 5px solid transparent; border-bottom: 5px solid transparent; }
html.is-paused .motion-btn__i::after { display: none; }

/* cross-document view transitions (progressive) */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  ::view-transition-group(root) { animation-duration: .7s; }
  ::view-transition-image-pair(root) { background: var(--vt, var(--signal)); }
  ::view-transition-old(root) { animation: vtOld .55s var(--e-io) both; }
  ::view-transition-new(root) { animation: vtNew .75s var(--e-out) .12s both; }
  @keyframes vtOld { to { transform: translate3d(0, -12%, 0); opacity: .2; } }
  @keyframes vtNew { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
}
html[data-page="tool"] { --vt: var(--c, var(--pdf)); }
html[data-page="home"] { --vt: var(--ink); }

@media (min-width: 1024px) and (max-width: 1279.98px) {
  .nav { gap: 0; }
  .hdr__bar { gap: var(--s-4); }
}

@media (max-width: 1023.98px) {
  .nav, .hdr__login { display: none; }
  .burger { display: inline-flex; }
  .ftr__claim { grid-column: 1 / -1; }
  .ftr__col, .ftr__col:first-of-type { grid-column: span 6; }
}
@media (max-width: 719.98px) {
  .sec-idx { grid-column: 1 / -1; padding-bottom: 12px; }
  .sec-title { grid-column: 1 / -1; }
  .row__a { grid-template-columns: 28px minmax(0, 1fr) 20px; row-gap: 10px; padding: 16px 0; }
  .row__fmt { grid-column: 2 / 3; grid-row: 2; }
  .row__go { grid-column: 3; grid-row: 1; width: 18px; height: 18px; }
  .row__name { font-size: 22px; }
  .ftr { padding-top: var(--s-8); }
  .ftr__bot > p:first-child { flex-basis: 100%; }
  /* finger-sized footer links (were 23 px tall): the padding is the tap area, the underline stays under the text */
  .ftr__col li + li { margin-top: 0; }
  .ftr__col a, .ftr__btn { display: inline-block; padding-block: 9px; background-position: 0 calc(100% - 8px); }
  .ftr__bot a, .ftr__bot .motion-btn { display: inline-block; padding-block: 11px; }
  .lang { display: none; }
  .hdr__bar { gap: var(--s-3); }
  .hdr__end { min-width: 0; } /* the CTA label ellipsizes before the bar can widen the page */
  .hdr__cta .btn__t { max-width: 34vw; text-overflow: ellipsis; }
}
/* phones: with the late CTA in, the wordmark folds into the D mark (the link keeps its aria-label) */
@media (max-width: 479.98px) {
  .brand { transition: gap .45s var(--e-out); }
  .brand__word { max-width: 8em; overflow-x: clip; transition: max-width .45s var(--e-out), opacity .3s var(--e-out); }
  .hdr.has-cta .brand { gap: 0; }
  .hdr.has-cta .brand__word { max-width: 0; opacity: 0; }
}
@media (max-width: 389.98px) {
  .brand { font-size: 17px; gap: 8px; }
  .brand__mark { width: 24px; height: 24px; }
  .burger { padding: 0 10px; }
}

/* ---------- consent (KVKK) ---------- */
.consent { position: fixed; inset-inline: var(--g); bottom: var(--g); z-index: 80; contain: layout; max-width: 760px; margin-inline-start: auto; background: var(--paper); color: var(--ink); border: 1px solid var(--ink); border-radius: var(--r-1); box-shadow: var(--shadow); }
.consent__in { display: grid; gap: 14px; padding: 18px 20px 20px; }
.consent__h { font-weight: 720; font-stretch: 110%; font-size: 18px; letter-spacing: -.015em; }
.consent__p { margin-top: 4px; font-size: var(--t-sm); line-height: 1.5; color: var(--ink-2); }
.consent__p a { color: var(--ink); }
.consent__cats fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 10px; border-top: 1px solid var(--rule); padding-top: 12px; }
.consent__cat { display: flex; gap: 12px; align-items: flex-start; font-size: var(--t-sm); line-height: 1.45; cursor: pointer; }
/* 2026-09-26: the site's sharp square checkbox (cf. pdf-pass.css .ck__b), still the native input (keyboard, label
   click, forced colours fall back to the OS box). "Zorunlu" (checked + disabled) keeps the filled box, a step lighter. */
.consent__cat input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--ink); flex: none;
  -webkit-appearance: none; appearance: none; border: 1.5px solid var(--ink); border-radius: 0; background: var(--paper) no-repeat 50% 50% / 12px 12px;
  cursor: pointer; transition: background-color .25s var(--e-out); }
.consent__cat input:checked { background-color: var(--ink); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 12.5l5 5L20 6.5' fill='none' stroke='%23F2F0EA' stroke-width='3.4' stroke-linecap='square'/%3E%3C/svg%3E"); }
.consent__cat input:disabled { cursor: default; border-color: var(--ink-2); }
.consent__cat input:checked:disabled { background-color: var(--ink-2); }
.consent__cat input:focus-visible { outline: 2px solid var(--signal-strong); outline-offset: 2px; }
@media (forced-colors: active) { .consent__cat input { -webkit-appearance: auto; appearance: auto; } }
.consent__always { font: 500 11px/1 var(--f-mono); color: var(--ok); text-transform: uppercase; letter-spacing: .06em; margin-inline-start: 6px; }
.consent__d { color: var(--ink-2); font-size: var(--t-meta); }
.consent__act { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.consent__act .btn { min-height: 44px; }
.consent__more { min-height: 44px; padding: 0 10px; font-weight: 600; font-size: 15px; text-decoration: underline; text-underline-offset: .22em; }
/* WCAG 2.4.11: while the banner is up, focus scrolling keeps targets above it (site.js sets --consent-h + html.consent-up),
   and the footer grows by the banner height so the last links can be scrolled clear of it */
:root.consent-up { scroll-padding-bottom: calc(var(--consent-h, 0px) + 16px); }   /* (0,2,0): beats tool.css's sticky-bar 104 px; the banner covers that bar */
html.consent-up .ftr { padding-bottom: calc(var(--consent-h, 0px) + var(--g)); }
/* the full-height mobile sheet sits under the banner's z-index: hide (and inert, site.js) the banner while the sheet is open */
html.sheet-open .consent { visibility: hidden; }
@media (max-width: 719.98px) {
  .consent { inset-inline: 8px; bottom: 8px; }
  .consent__in { padding: 14px 14px 16px; }
  .consent__act .btn { flex: 1 1 auto; }
}
/* short viewports (landscape phones, 200 % zoom on 1280×720 = 640×360): compact banner, one text run + one button row,
   so header (50 px there, tokens.css) + banner stay near 40 % of the height; the settings panel scrolls inside it */
@media (max-height: 480px) {
  /* sits on the bottom edge: header 50 + banner ≈ 143 px = 40 % of 360 (was 161 px, 45 %) */
  .consent { inset-inline: 8px; bottom: 0; border-bottom: 0; max-width: 760px; max-height: calc(100vh - var(--hh) - 16px); max-height: calc(100dvh - var(--hh) - 16px); overflow-y: auto; overscroll-behavior: contain; }
  .consent__in { gap: 6px; padding: 7px 12px 8px; }
  .consent__txt { font-size: 13px; line-height: 1.35; }   /* the strut: body line-height 1.6 would pad each line */
  .consent__h { display: inline; font-size: 14px; margin-inline-end: 6px; }
  .consent__p { display: inline; margin: 0; font-size: 13px; line-height: 1.35; }
  .consent__cats fieldset { padding-top: 8px; gap: 6px; }
  .consent__act { flex-wrap: nowrap; gap: 6px; }
  .consent__act .btn { min-height: 34px; padding: 0 14px; flex: 0 1 auto; font-size: 14px; }
  .consent__more { min-height: 34px; padding: 0 8px; font-size: 14px; }
}
