/* stoasuite.com — Stoa
   An architectural system: ink bands, stone paper, one brass hairline.
   Type: Fraunces (display) · Inter (text) · IBM Plex Mono (technical labels) */

/* ─────────────────────────────────────────────────────────────── tokens */

:root {
  color-scheme: light;

  --ink:        #090D12;
  --ink-2:      #10161E;

  --bg:         #FAF8F5;
  --surface:    #FFFFFF;
  --band:       #F1EEE8;
  --text:       #11161C;
  --muted:      #56606D;
  --faint:      #8A939F;
  --line:       #E3DFD7;
  --line-2:     #CEC8BD;

  --on-ink:        #F3F0EA;
  --on-ink-muted:  #A6AFBB;
  --on-ink-faint:  #7C8694;
  --on-ink-line:   rgba(255, 255, 255, .13);
  --on-ink-line-2: rgba(255, 255, 255, .22);

  --brass:      #9A7B45;
  --brass-lit:  #C9A868;

  --works:      #32506C;
  --edge:       #7C4A2B;
  --tint:       var(--brass);
  --tint-on-ink: var(--brass-lit);

  --serif: "Fraunces", "Newsreader", Georgia, "Times New Roman", serif;
  --sans:  "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono:  "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --shell: 1200px;
  --gutter: clamp(20px, 5vw, 56px);
  --head-h: 64px;

  --sp-section: clamp(72px, 9vw, 132px);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

.tint-works { --tint: var(--works); --tint-on-ink: #8FB2D4; }
.tint-edge  { --tint: var(--edge);  --tint-on-ink: #D8A27A; }

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg:      #090D12;
    --surface: #121922;
    --band:    #0E141C;
    --text:    #E9E5DE;
    --muted:   #A0A9B5;
    --faint:   #78828F;
    --line:    rgba(255, 255, 255, .11);
    --line-2:  rgba(255, 255, 255, .20);
    --ink:     #060A0E;
    --ink-2:   #0D131A;
    --brass:   #C9A868;
    --works:   #8FB2D4;
    --edge:    #D8A27A;
  }
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg:      #090D12;
  --surface: #121922;
  --band:    #0E141C;
  --text:    #E9E5DE;
  --muted:   #A0A9B5;
  --faint:   #78828F;
  --line:    rgba(255, 255, 255, .11);
  --line-2:  rgba(255, 255, 255, .20);
  --ink:     #060A0E;
  --ink-2:   #0D131A;
  --brass:   #C9A868;
  --works:   #8FB2D4;
  --edge:    #D8A27A;
}

/* ───────────────────────────────────────────────────────────────── base */

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-variation-settings: "opsz" 96, "SOFT" 0, "WONK" 0;
  letter-spacing: -.018em;
  line-height: 1.1;
  text-wrap: balance;
}

p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

a { color: inherit; text-decoration: none; }

code {
  font-family: var(--mono);
  font-size: .88em;
  background: color-mix(in srgb, currentColor 9%, transparent);
  border-radius: 2px;
  padding: .12em .36em;
}

:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
}

.skip {
  position: absolute; inset-inline-start: -9999px; top: 0;
  background: var(--ink); color: var(--on-ink);
  padding: 12px 18px; z-index: 50;
}
.skip:focus { inset-inline-start: 0; }

/* ─────────────────────────────────────────────────────── layout atoms */

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--sp-section); }
.section-tight { padding-block: clamp(48px, 6vw, 84px); }

.eyebrow {
  margin: 0;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}

/* label column + content column: the spine of every inner page */
.row {
  display: grid;
  grid-template-columns: minmax(150px, 210px) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 80px);
}
.row + .row { margin-top: clamp(56px, 7vw, 96px); }
.row-label {
  align-self: start;
  position: sticky; top: calc(var(--head-h) + 28px);
  display: grid; gap: 10px;
}
.row-label .num {
  font-family: var(--mono); font-size: 11px; letter-spacing: .14em;
  color: var(--tint);
}
.row-label h2 {
  font-family: var(--mono);
  font-size: 11.5px; font-weight: 500; letter-spacing: .16em;
  text-transform: uppercase; color: var(--muted);
  line-height: 1.6;
}
.row-body { max-width: 74ch; }
.row-body > .lead { margin-bottom: clamp(24px, 3vw, 34px); }

.lead {
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.62;
  color: var(--muted);
}

/* ──────────────────────────────────────────────────────────── chrome */

.util {
  background: var(--ink);
  color: var(--on-ink-faint);
  border-bottom: 1px solid var(--on-ink-line);
}
.util-inner {
  display: flex; align-items: center; justify-content: flex-end;
  gap: 26px; min-height: 36px;
}
.util a, .util button { color: var(--on-ink-muted); }
.util a:hover, .util button:hover { color: var(--on-ink); }

.util-note {
  margin-inline-end: auto;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--on-ink-faint);
}

.lang { display: flex; align-items: center; gap: 12px; }
.lang-label {
  font-family: var(--mono); font-size: 10px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--on-ink-faint);
}
.lang ul { display: flex; align-items: center; gap: 14px; }
.lang a {
  font-size: 12.5px;
  padding-block: 2px;
  border-bottom: 1px solid transparent;
}
.lang a[aria-current] { color: var(--on-ink); border-bottom-color: var(--brass-lit); }

.theme {
  display: grid; place-items: center;
  width: 26px; height: 26px; padding: 0;
  background: none; border: 1px solid var(--on-ink-line-2);
  border-radius: 50%; cursor: pointer;
  color: var(--on-ink-muted);
}
.theme:hover { border-color: var(--on-ink-muted); }
.theme [data-theme-icon] {
  width: 11px; height: 11px; border-radius: 50%;
  background: currentColor;
  box-shadow: inset 5px 0 0 0 var(--ink);
}

.site-head {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.head-inner {
  display: flex; align-items: center; gap: 36px;
  min-height: var(--head-h);
}
.brand {
  display: inline-flex; align-items: center; gap: 11px;
  font-family: var(--serif); font-size: 22px; letter-spacing: -.012em;
}
.brand .mark { width: 24px; height: 21px; color: var(--brass); }
.brand span { line-height: 1; padding-top: 2px; }

.nav { display: flex; align-items: center; gap: 30px; margin-inline-start: auto; }
.nav a {
  position: relative;
  font-size: 14.5px; font-weight: 500;
  color: var(--muted);
  padding-block: 6px;
}
.nav a::after {
  content: ""; position: absolute; inset-inline: 0; bottom: 0;
  height: 1px; background: var(--text);
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav a:hover { color: var(--text); }
.nav a:hover::after, .nav a[aria-current]::after { transform: scaleX(1); }
.nav a[aria-current] { color: var(--text); }

/* ────────────────────────────────────────────────────────────── heroes */

.ink {
  background: var(--ink);
  color: var(--on-ink);
  position: relative;
  overflow: clip;
}
.ink::before {
  content: "";
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(90deg,
    rgba(255, 255, 255, .04) 0 1px, transparent 1px 100%);
  background-size: calc(100% / 12) 100%;
  pointer-events: none;
}
.ink::after {
  content: "";
  position: absolute; inset-inline-end: -8%; top: -45%;
  width: 55%; aspect-ratio: 1;
  background: radial-gradient(circle,
    color-mix(in srgb, var(--tint-on-ink) 14%, transparent) 0%,
    transparent 62%);
  pointer-events: none;
}
.ink > * { position: relative; z-index: 1; }
.ink .eyebrow { color: var(--tint-on-ink); }

.hero-watermark {
  position: absolute; z-index: 0;
  inset-inline-end: 7%; top: 50%; transform: translateY(-50%);
  width: min(30%, 380px);
  color: var(--on-ink);
  opacity: .055;
  pointer-events: none;
}
.hero-watermark .mark-xl { width: 100%; height: auto; display: block; }

.hero { padding-block: clamp(80px, 12vw, 172px) clamp(68px, 9vw, 120px); }
.hero h1 {
  margin-top: 26px;
  font-size: clamp(40px, 6.2vw, 78px);
  font-variation-settings: "opsz" 100, "SOFT" 0, "WONK" 0;
  line-height: 1.05;
  letter-spacing: -.028em;
  max-width: 17ch;
}
.hero .lead {
  margin-top: 30px;
  max-width: 60ch;
  color: var(--on-ink-muted);
  font-size: clamp(17px, 1.5vw, 20.5px);
}
.hero-meta {
  display: flex; flex-wrap: wrap; gap: 12px 34px;
  margin-top: 52px; padding-top: 26px;
  border-top: 1px solid var(--on-ink-line);
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--on-ink-faint);
}
.hero-meta span { display: inline-flex; align-items: center; gap: 11px; }
.hero-meta span::before {
  content: ""; width: 16px; height: 1px; background: var(--tint-on-ink);
}

.hero-inner { padding-block: clamp(40px, 5vw, 64px) clamp(54px, 7vw, 92px); }
.hero-inner .eyebrow { margin-top: 26px; }
.hero-inner h1 {
  margin-top: 16px;
  font-size: clamp(38px, 5.2vw, 64px);
  font-variation-settings: "opsz" 144, "SOFT" 0, "WONK" 0;
  letter-spacing: -.026em;
  max-width: 19ch;
}
.hero-inner .lead { margin-top: 26px; max-width: 68ch; }

.crumbs {
  display: flex; align-items: center; flex-wrap: wrap; gap: 10px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--on-ink-faint);
}
.crumbs a { color: var(--on-ink-muted); }
.crumbs a:hover { color: var(--on-ink); }
.crumbs [aria-current] { color: var(--tint-on-ink); }
.crumbs .sep { opacity: .5; }

/* ───────────────────────────────────────────────── home: product lines */

.lines {
  display: grid; gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.line-card {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.25fr);
  gap: clamp(28px, 5vw, 76px);
  background: var(--surface);
  padding: clamp(28px, 3.6vw, 52px);
  transition: background .35s var(--ease);
}
.line-side { display: flex; flex-direction: column; gap: 22px; }
.line-card:hover { background: color-mix(in srgb, var(--tint) 4%, var(--surface)); }
.line-top {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 18px; padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.line-num {
  font-family: var(--mono); font-size: 11px; letter-spacing: .16em;
  color: var(--tint);
}
.line-kicker {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--faint);
  text-align: end;
}
.line-card h2 {
  font-size: clamp(28px, 2.8vw, 40px);
  letter-spacing: -.024em;
  font-variation-settings: "opsz" 72, "SOFT" 0, "WONK" 0;
}
.line-claim {
  font-size: clamp(16px, 1.25vw, 18.5px);
  line-height: 1.55;
  max-width: 34ch;
}
.line-products { display: grid; align-content: start; }
.line-products li { border-top: 1px solid var(--line); }
.line-products li:last-child { border-bottom: 1px solid var(--line); }
.line-products .p-row {
  display: grid; grid-template-columns: 9rem minmax(0, 1fr);
  gap: 16px; align-items: baseline;
  padding-block: 12px;
  transition: padding-inline-start .3s var(--ease);
}
.line-products .p-row:hover { padding-inline-start: 8px; }
.line-products .p-name {
  font-family: var(--serif); font-size: 17.5px;
  font-variation-settings: "opsz" 24, "SOFT" 0, "WONK" 0;
}
.line-products .p-line { font-size: 13.8px; color: var(--muted); line-height: 1.45; }
.line-cta {
  margin-top: auto; padding-top: 8px;
  display: inline-flex; align-items: center; gap: 11px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .15em;
  text-transform: uppercase; color: var(--tint);
}
.line-cta .arrow { transition: transform .35s var(--ease); }
.line-card:hover .line-cta .arrow { transform: translateX(5px); }

/* ────────────────────────────────────────────────────── pillar band */

.band-stone { background: var(--band); border-block: 1px solid var(--line); }

.band-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 24px; padding-bottom: 22px; border-bottom: 1px solid var(--line-2);
}
.band-head h2 { font-size: clamp(25px, 2.3vw, 34px); }

.pillars {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px; background: var(--line);
  margin-top: 1px; border-bottom: 1px solid var(--line);
}
.pillars li {
  background: var(--band);
  padding: clamp(26px, 2.6vw, 38px) clamp(20px, 2vw, 30px);
  display: grid; gap: 13px; align-content: start;
}
.pillars .num {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .16em;
  color: var(--brass);
}
.pillars h3 {
  font-size: 20px; line-height: 1.25;
  font-variation-settings: "opsz" 36, "SOFT" 0, "WONK" 0;
}
.pillars p { font-size: 14.6px; line-height: 1.62; color: var(--muted); }
.pillars-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.band-body { margin-top: clamp(24px, 3vw, 38px); max-width: 78ch; }

/* ─────────────────────────────────────────────────── product index */

.index { display: grid; margin-top: 2px; }
.index li { border-bottom: 1px solid var(--line); }
.index a {
  display: grid;
  grid-template-columns: 8.5rem minmax(0, 10rem) minmax(0, 1fr) 1.4rem;
  gap: 24px; align-items: baseline;
  padding-block: clamp(16px, 1.7vw, 23px);
  transition: padding-inline-start .35s var(--ease), background .35s var(--ease);
}
.index a:hover {
  background: color-mix(in srgb, var(--tint) 5%, transparent);
  padding-inline-start: 14px;
}
.index-plain a { grid-template-columns: minmax(0, 11rem) minmax(0, 1fr) 1.4rem; }
.index-plain .i-group { display: none; }
.index .i-group {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--tint);
}
.index .i-name {
  font-family: var(--serif); font-size: clamp(19px, 1.7vw, 23px);
  font-variation-settings: "opsz" 36, "SOFT" 0, "WONK" 0;
  display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap;
}
.index .i-line { font-size: 15px; color: var(--muted); line-height: 1.5; }
.index .i-arrow { color: var(--faint); justify-self: end; transition: transform .35s var(--ease); }
.index a:hover .i-arrow { transform: translateX(5px); color: var(--tint); }

.index-decks a { grid-template-columns: 4rem minmax(0, 20rem) minmax(0, 1fr) 1.4rem; }
.index-decks .i-name { font-size: clamp(21px, 2.1vw, 28px); }
.index-decks .i-line em {
  display: block; margin-top: 7px; font-style: normal;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--faint);
}

.tag {
  font-family: var(--mono); font-size: 9.5px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--faint);
  border: 1px solid var(--line-2); border-radius: 100px;
  padding: 3px 9px; white-space: nowrap;
}

/* ──────────────────────────────────────────────────── statement band */

.statement .rule-brass {
  width: 54px; height: 2px; background: var(--brass-lit); margin-bottom: 32px;
}
.statement h2 {
  font-size: clamp(28px, 3.6vw, 46px);
  max-width: 20ch;
  font-variation-settings: "opsz" 96, "SOFT" 0, "WONK" 0;
  letter-spacing: -.024em;
}
.statement p {
  margin-top: 26px; max-width: 62ch;
  font-size: clamp(16.5px, 1.35vw, 19px);
  line-height: 1.62;
  color: var(--on-ink-muted);
}

/* ───────────────────────────────────────────────────────── diagrams */

.figure-frame {
  margin: clamp(32px, 4vw, 52px) 0 0;
  background: var(--surface);
  border: 1px solid var(--line);
  --diagram-bg: var(--surface);
}
.figure-bar {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 24px;
  padding: 20px clamp(20px, 2.4vw, 34px);
  border-bottom: 1px solid var(--line);
}
.figure-bar h2 {
  font-size: 21px;
  font-variation-settings: "opsz" 36, "SOFT" 0, "WONK" 0;
}
.hover-hint {
  font-family: var(--mono); font-size: 10px; letter-spacing: .13em;
  text-transform: uppercase; color: var(--faint);
}
.figure-canvas { padding: clamp(18px, 2.6vw, 40px); }
.figure-foot {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  padding: 15px clamp(20px, 2.4vw, 34px);
  border-top: 1px solid var(--line);
  font-family: var(--mono); font-size: 10px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--faint);
}

.diagram { display: block; width: 100%; height: auto; overflow: visible; }

.dnode-box {
  fill: var(--surface);
  stroke: var(--line-2);
  stroke-width: 1;
  transition: stroke .3s var(--ease);
}
.dnode-accent { fill: var(--tint); opacity: .9; }
.dnode-kicker {
  font-family: var(--mono); font-size: 9.5px; letter-spacing: .15em;
  text-transform: uppercase; fill: var(--faint);
}
.dnode-name {
  font-family: var(--serif); font-size: 24px; fill: var(--text);
  font-variation-settings: "opsz" 36, "SOFT" 0, "WONK" 0;
}
.dnode-line { font-family: var(--sans); font-size: 13.2px; fill: var(--muted); }
.dnode-boundary { fill: var(--tint); }
.dnode-chip {
  font-family: var(--mono); font-size: 9px; letter-spacing: .13em;
  text-transform: uppercase; fill: var(--faint);
}
.dnode { cursor: pointer; }
.dnode-not { opacity: 0; transition: opacity .28s var(--ease); }
.dnode-what { opacity: 1; transition: opacity .28s var(--ease); }
.dnode:hover .dnode-what, .dnode:focus-visible .dnode-what { opacity: 0; }
.dnode:hover .dnode-not, .dnode:focus-visible .dnode-not { opacity: 1; }
.dnode:hover .dnode-chip { opacity: 0; }
.dnode:hover .dnode-box, .dnode:focus-visible .dnode-box { stroke: var(--tint); }
.dnode-dashed .dnode-box { stroke-dasharray: 5 4; }
.dnode-dashed .dnode-accent { opacity: .45; }

.dedge { fill: none; stroke: var(--line-2); stroke-width: 1.2; }
.dedge-dashed { stroke-dasharray: 5 5; }
.dhead { fill: var(--line-2); }
.dloop { fill: none; stroke: var(--line-2); stroke-width: 1.2; }

.dlabel {
  font-family: var(--mono); font-size: 10px; letter-spacing: .13em;
  text-transform: uppercase; fill: var(--muted);
  paint-order: stroke fill;
  stroke: var(--diagram-bg); stroke-width: 8px; stroke-linejoin: round;
}
.dcaption {
  font-family: var(--mono); font-size: 10.5px; fill: var(--faint);
  letter-spacing: .06em;
  paint-order: stroke fill;
  stroke: var(--diagram-bg); stroke-width: 8px; stroke-linejoin: round;
}

.dperimeter rect { fill: none; stroke: var(--line-2); stroke-dasharray: 4 5; }
.dperimeter text {
  font-family: var(--mono); font-size: 10px; letter-spacing: .18em;
  text-transform: uppercase; fill: var(--faint);
}

.dbox rect { fill: color-mix(in srgb, var(--text) 4%, var(--surface)); stroke: var(--line); }
.dbox text { font-family: var(--sans); font-size: 13.2px; fill: var(--muted); }
.dbox-outside rect { fill: none; stroke: var(--line-2); stroke-dasharray: 4 5; }

.dblock { stroke: var(--edge); stroke-width: 3; stroke-linecap: round; }

/* phone / RTL stack */
.diagram-phone { display: none; }
.diagram-stack { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
/* Modül yığını LİNK DEĞİL: ürün düğümleri başka sayfaya gider, modüller
   kendi sayfası olmayan dağıtım bileşenleridir. Bir modülü <a> yapmak,
   hiçbir yere gitmeyen bir bağlantı olurdu. */
.diagram-stack > li > a,
.diagram-stack > li > .stack-item {
  display: grid; gap: 7px;
  padding: 24px clamp(18px, 4vw, 28px);
  background: var(--surface);
  border-inline-start: 2px solid var(--tint);
}
.stack-kicker {
  font-family: var(--mono); font-size: 9.5px; letter-spacing: .15em;
  text-transform: uppercase; color: var(--faint);
}
.stack-name {
  font-family: var(--serif); font-size: 25px;
  font-variation-settings: "opsz" 36, "SOFT" 0, "WONK" 0;
}
.stack-line { color: var(--muted); font-size: 15px; }
.stack-not {
  margin-top: 6px; padding-top: 13px;
  border-top: 1px solid var(--line);
  font-size: 14px; color: var(--tint);
}
.stack-not em {
  font-family: var(--mono); font-style: normal; color: var(--faint);
  font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase;
  margin-inline-end: 7px;
}

/* ───────────────────────────────────────────────────── product page */

.status {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--mono); font-size: 10px; letter-spacing: .15em;
  text-transform: uppercase;
  padding: 6px 12px;
  border: 1px solid var(--on-ink-line-2);
  border-radius: 100px;
  color: var(--on-ink-muted);
}
.status::before {
  content: ""; width: 5px; height: 5px; border-radius: 50%;
  background: var(--tint-on-ink);
}
.status-roadmap::before { background: none; box-shadow: inset 0 0 0 1px var(--on-ink-muted); }

.product-title {
  display: flex; align-items: center; flex-wrap: wrap; gap: 20px;
  margin-top: 20px;
}
.product-title h1 {
  font-size: clamp(42px, 5.6vw, 72px);
  letter-spacing: -.03em;
  font-variation-settings: "opsz" 144, "SOFT" 0, "WONK" 0;
}
.product-tagline {
  margin-top: 22px; max-width: 54ch;
  font-size: clamp(18px, 1.7vw, 23px);
  line-height: 1.45;
  color: var(--on-ink);
  font-family: var(--serif);
  font-variation-settings: "opsz" 48, "SOFT" 0, "WONK" 0;
}

.demo {
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px;
  margin-top: 40px;
}
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 24px;
  font-family: var(--sans); font-size: 14.5px; font-weight: 500;
  border-radius: 2px;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.btn-primary {
  background: var(--on-ink); color: var(--ink);
  border: 1px solid var(--on-ink);
}
.btn-primary:hover { background: var(--brass-lit); border-color: var(--brass-lit); color: #11161C; }
.demo-url { font-family: var(--mono); font-size: 12.5px; color: var(--on-ink-faint); }
.demo-flag {
  font-family: var(--mono); font-size: 9px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--on-ink-faint);
  border: 1px dashed var(--on-ink-line-2); border-radius: 2px;
  padding: 4px 9px;
}
.demo-none { font-family: var(--mono); font-size: 12px; color: var(--on-ink-faint); }

.demo-secondary { margin-top: 30px; }
.demo-secondary .btn-primary { background: var(--text); color: var(--bg); border-color: var(--text); }
.demo-secondary .btn-primary:hover { background: var(--brass); border-color: var(--brass); color: #fff; }
.demo-secondary .demo-url, .demo-secondary .demo-flag, .demo-secondary .demo-none { color: var(--faint); }
.demo-secondary .demo-flag { border-color: var(--line-2); }

.statements { display: grid; }
.statements li {
  padding-block: 18px;
  border-bottom: 1px solid var(--line);
  padding-inline-start: 30px;
  position: relative;
  font-size: 16.2px; line-height: 1.6;
}
.statements li:first-child { border-top: 1px solid var(--line); }
.statements li::before {
  content: ""; position: absolute; inset-inline-start: 0; top: 31px;
  width: 15px; height: 1px; background: var(--tint);
}

.steps {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px; background: var(--line); border: 1px solid var(--line);
}
.steps li {
  background: var(--surface);
  padding: clamp(22px, 2.4vw, 32px);
  display: grid; gap: 11px; align-content: start;
}
.steps .step-n {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .16em;
  color: var(--tint);
}
.steps h3 {
  font-size: 20px;
  font-variation-settings: "opsz" 36, "SOFT" 0, "WONK" 0;
}
.steps p { font-size: 14.8px; line-height: 1.62; color: var(--muted); }

.panel { padding: clamp(28px, 3vw, 44px); border: 1px solid var(--line); background: var(--surface); }
.panel-ink { background: var(--ink-2); color: var(--on-ink); border-color: transparent; }
.panel-ink h2 {
  font-family: var(--mono); font-size: 11px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--tint-on-ink); font-weight: 500;
}
.panel-ink ul { display: grid; }
.panel-ink li:first-child { border-top: 0; padding-top: 0; }
.panel-ink li {
  padding-block: 15px;
  border-top: 1px solid var(--on-ink-line);
  font-size: 15.6px; line-height: 1.62; color: var(--on-ink-muted);
}
.panel-ink li:last-child { border-bottom: 1px solid var(--on-ink-line); }
.panel-ink code { background: rgba(255, 255, 255, .1); color: var(--on-ink); }

.panel-roadmap { margin-top: 20px; border-style: dashed; background: none; }
.panel-roadmap h2 {
  font-family: var(--mono); font-size: 11px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--faint); font-weight: 500;
}
.panel-roadmap ul { margin-top: 16px; display: grid; gap: 12px; }
.panel-roadmap li { font-size: 15.4px; line-height: 1.62; color: var(--muted); }

.facts { width: 100%; border-collapse: collapse; }
.facts tr { border-bottom: 1px solid var(--line); }
.facts tr:first-child { border-top: 1px solid var(--line); }
.facts th {
  text-align: start; vertical-align: top;
  padding: 18px 28px 18px 0;
  width: 12rem;
  font-family: var(--mono); font-size: 10px; font-weight: 500;
  letter-spacing: .15em; text-transform: uppercase; color: var(--faint);
  line-height: 1.9;
}
.facts td { padding: 18px 0; font-size: 15.8px; line-height: 1.6; }

/* ───────────────────────────────────────────────────────────── footer */

.site-foot {
  background: var(--ink);
  border-top: 1px solid var(--on-ink-line);
  color: var(--on-ink-muted);
  padding-block: clamp(56px, 6vw, 88px) 0;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.7fr repeat(3, minmax(0, 1fr));
  gap: clamp(32px, 4vw, 64px);
  padding-bottom: 56px;
}
.foot-brand .brand { color: var(--on-ink); }
.foot-brand .brand .mark { color: var(--brass-lit); }
.foot-brand p {
  margin-top: 18px; max-width: 34ch;
  font-size: 14.5px; line-height: 1.65; color: var(--on-ink-faint);
}
.foot-col h2 {
  font-family: var(--mono); font-size: 10px; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase; color: var(--on-ink-faint);
}
.foot-col h2 a:hover { color: var(--on-ink); }
.foot-col ul { margin-top: 20px; display: grid; gap: 11px; }
.foot-col li a { font-size: 14.6px; color: var(--on-ink-muted); }
.foot-col li a:hover { color: var(--on-ink); }

.foot-base {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 14px;
  padding-block: 24px;
  border-top: 1px solid var(--on-ink-line);
  font-family: var(--mono); font-size: 10px; letter-spacing: .13em;
  text-transform: uppercase; color: var(--on-ink-faint);
}
.foot-base a:hover { color: var(--on-ink); }

/* ─────────────────────────────────────────────────────────── responsive */

@media (max-width: 1040px) {
  .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .hero-watermark { display: none; }
  .line-card { grid-template-columns: 1fr; gap: 26px; }
  .row { grid-template-columns: 1fr; gap: 22px; }
  .row-label { position: static; }
  .index a, .index-plain a, .index-decks a { grid-template-columns: minmax(0, 1fr) 1.2rem; row-gap: 7px; }
  .pillars-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .index-plain a { grid-template-columns: minmax(0, 11rem) minmax(0, 1fr) 1.4rem; }
.index-plain .i-group { display: none; }
.index .i-group { grid-column: 1 / -1; }
  .index .i-line { grid-column: 1 / 2; }
  .steps { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .diagram-desktop { display: none; }
  .diagram-phone { display: block; }
  .hover-hint { display: none; }
  .figure-frame { border: 0; background: none; }
  .figure-canvas, .figure-bar, .figure-foot { padding-inline: 0; }
}

[dir="rtl"] .diagram-desktop { display: none; }
[dir="rtl"] .diagram-phone { display: block; }
[dir="rtl"] .hover-hint { display: none; }

@media (max-width: 680px) {
  :root { --head-h: 56px; }
  .head-inner { gap: 18px; }
  .nav { gap: 18px; }
  .nav a { font-size: 13.5px; }
  .brand { font-size: 19px; }
  .util-inner { justify-content: space-between; gap: 12px; }
  .util-note { display: none; }
  .pillars { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .line-products .p-row { grid-template-columns: 1fr; gap: 3px; }
  .facts th { width: auto; display: block; padding-bottom: 2px; }
  .facts td { display: block; padding-top: 0; padding-bottom: 18px; }
  .facts tr { display: block; padding-top: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}

@media print {
  .util, .site-head, .site-foot, .theme { display: none; }
  .ink { background: none; color: #000; }
  .ink::before, .ink::after { display: none; }
}

/* ── Hata sayfası (404) ───────────────────────────────────────────────────── */
/*
 * Tek ekranlık, başlıksız ve altlıksız bir sayfa: gezinme çubuğu koymak,
 * kaybolmuş bir kullanıcıya aynı anda sekiz seçenek sunmak olurdu. Tek bir
 * çıkış var ve o da ana sayfa.
 *
 * Ölçüm 2026-11-23: bu blok yazılmadan önce 404.html'in sınıfları
 * (.notfound, .nf-mark, .nf-cta, body.plain) CSS'te YOKTU — sayfa
 * üretiliyordu ama ortalanmamış, markasız bir metin yığını olarak
 * görünüyordu. Üretilmiş bir sayfa, stili olan bir sayfa değildir.
 */
body.plain { min-height: 100vh; display: grid; place-items: center; }

.notfound {
  width: min(34rem, calc(100vw - 2rem));
  padding: 2rem 0;
  text-align: center;
}

.notfound .nf-mark {
  display: inline-flex;
  color: var(--brass);
  margin-bottom: 2.25rem;
}

.notfound .nf-mark .mark { width: 34px; height: 29px; }

.notfound h1 {
  font-size: clamp(1.7rem, 4.5vw, 2.4rem);
  font-variation-settings: "opsz" 120, "SOFT" 0, "WONK" 0;
  margin-bottom: .75rem;
}

.notfound p {
  margin: 0;
  color: var(--muted);
  text-wrap: pretty;
}

.notfound .nf-cta { margin-top: 2rem; }

.notfound .nf-cta a {
  font-family: var(--mono);
  font-size: .8rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--line-2);
  padding-bottom: .3rem;
}

.notfound .nf-cta a:hover { color: var(--brass); border-bottom-color: var(--brass); }
.notfound .nf-cta .arrow { display: inline-block; transition: transform .35s var(--ease); }
.notfound .nf-cta a:hover .arrow { transform: translateX(5px); }
