/* Cyprob — kart açıldığında gelen okuma yüzeyi.
   Aynı stiller iki yerde çalışır: ana sahnedeki panel ve pages/ altındaki
   bağımsız tam sayfalar (body.page) — içerik tek, kaynak tek. */

body.page {
  margin: 0; background: var(--surface); color: var(--ink);
  font-family: var(--body); font-size: var(--step-0); line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
.doc .doc__back { margin-top: 4.5rem; }
.doc__back a {
  color: var(--ice-deep); text-decoration: none;
  font-family: var(--mono); font-size: var(--step--1); letter-spacing: 0.08em;
}
.doc__back a:hover { text-decoration: underline; }

.panel {
  position: fixed; inset: 0; z-index: var(--z-panel);
  background: var(--surface); color: var(--ink);
  overflow-y: auto; overscroll-behavior: contain;
  clip-path: inset(46% 46% 46% 46% round 4px);
  opacity: 0; visibility: hidden;
  transition: clip-path var(--t-panel) var(--swing), opacity var(--t-small) linear,
              visibility 0s linear var(--t-panel);
}
.panel.is-open {
  clip-path: inset(0% 0% 0% 0% round 0);
  opacity: 1; visibility: visible;
  transition: clip-path var(--t-panel) var(--swing), opacity var(--t-micro) linear, visibility 0s;
}

.panel__close {
  position: fixed; top: 2.4vw; right: 3vw; z-index: 3;
  padding: 0.55rem 1rem;
  border: 1px solid oklch(0.238 0.021 252 / 0.22); border-radius: 999px;
  background: var(--surface); color: var(--ink);
  font-family: var(--mono); font-size: var(--step--1);
  letter-spacing: 0.10em; text-transform: uppercase; cursor: pointer;
  transition: background var(--t-micro) var(--out-cubic), border-color var(--t-micro) var(--out-cubic);
}
.panel__close:hover { background: var(--surface-2); border-color: oklch(0.238 0.021 252 / 0.44); }
a.panel__close { text-decoration: none; }

.doc { max-width: 76rem; margin: 0 auto; padding: clamp(4.5rem, 9vw, 8rem) clamp(1.2rem, 5vw, 4rem) clamp(5rem, 10vw, 9rem); }

.doc__kicker { font-family: var(--mono); font-size: var(--step--1); letter-spacing: 0.16em; text-transform: uppercase; color: var(--ice-deep); margin: 0 0 1.4rem; }

.doc h1 {
  font-family: var(--display); font-weight: 600;
  font-size: var(--step-4); line-height: 0.98; letter-spacing: -0.035em;
  text-wrap: balance; margin: 0 0 1.6rem; max-width: 20ch;
}
.doc h2 {
  font-family: var(--display); font-weight: 600;
  font-size: var(--step-2); line-height: 1.12; letter-spacing: -0.022em;
  text-wrap: balance; margin: clamp(3rem, 6vw, 5rem) 0 1rem; max-width: 26ch;
}
.doc h3 { font-family: var(--body); font-weight: 600; font-size: var(--step-1); line-height: 1.25; margin: 2.2rem 0 0.7rem; }
.doc p { margin: 0 0 1.15rem; max-width: 66ch; text-wrap: pretty; }
.doc p.lede { font-size: var(--step-1); line-height: 1.42; max-width: 44ch; }
.doc p.note { color: var(--ink-soft); font-size: var(--step--1); max-width: 60ch; }

.doc__split { display: grid; gap: clamp(1.6rem, 4vw, 3.2rem); grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); margin: 2.2rem 0; }

.doc pre {
  margin: 1.6rem 0; padding: 1.3rem 1.4rem; border-radius: 4px; overflow-x: auto;
  background: var(--abyss); color: var(--on-abyss);
  font-family: var(--mono); font-size: 0.86rem; line-height: 1.62;
}
.doc pre .k { color: var(--ice); }
.doc pre .s { color: var(--ice-soft); }

/* ürün ekranı: karanlık çerçevede gerçek arayüz görüntüsü */
.doc__shot {
  margin: clamp(2rem, 5vw, 3.6rem) 0; border-radius: 8px; overflow: hidden;
  background: var(--abyss);
  box-shadow: 0 1.4rem 3.4rem oklch(0 0 0 / 0.28), 0 0 0 1px oklch(0.238 0.021 252 / 0.10);
}
.doc__shot img { width: 100%; height: auto; display: block; }
.doc__shot figcaption {
  padding: 0.75rem 1.2rem; background: var(--abyss); color: var(--on-abyss-soft);
  font-family: var(--mono); font-size: var(--step--1); letter-spacing: 0.06em;
}

.doc__rule { height: 1px; border: 0; background: oklch(0.238 0.021 252 / 0.14); margin: clamp(3rem, 6vw, 5rem) 0 0; }

.doc .doc__tel {
  margin-top: 2.8rem;
  font-family: var(--mono); font-size: var(--step--1); letter-spacing: 0.04em;
  color: oklch(0.42 0.02 252);
}
.doc__tel a { color: var(--ink); text-decoration: none; }
.doc__tel a:hover { text-decoration: underline; }

.doc__cta { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2.2rem; }
.doc__cta a {
  display: inline-flex; align-items: center; padding: 0.85rem 1.5rem; border-radius: 999px;
  text-decoration: none; font-family: var(--mono); font-size: var(--step--1);
  letter-spacing: 0.10em; text-transform: uppercase;
  transition: transform var(--t-micro) var(--out-cubic), background var(--t-micro) var(--out-cubic);
}
.doc__cta a:hover { transform: translateY(-2px); }
.doc__cta .is-primary { background: var(--abyss); color: var(--on-abyss); }
.doc__cta .is-ghost { border: 1px solid oklch(0.238 0.021 252 / 0.26); color: var(--ink); }
.doc__cta .is-ghost:hover { background: var(--surface-2); }

/* çerez rıza bandı (cerez.js kurar) — koyu sahnede de açık sayfada da okunur */
.cy-cookie {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 99;
  max-width: 680px; margin: 0 auto; padding: 18px 20px;
  background: #0d1626; color: #dbe6f2;
  border: 1px solid oklch(0.795 0.118 226 / 0.35); border-radius: 10px;
  box-shadow: 0 14px 40px oklch(0 0 0 / 0.45);
  opacity: 0; translate: 0 12px; transition: opacity 300ms ease, translate 300ms ease;
  pointer-events: none;
}
.cy-cookie.show { opacity: 1; translate: 0 0; pointer-events: auto; }
.cy-cookie p { margin: 0 0 12px; font-size: 13.5px; line-height: 1.55; }
.cy-cookie a { color: oklch(0.795 0.118 226); text-decoration: underline; }
.cy-ck-row { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }
.cy-cookie button {
  font: inherit; font-weight: 600; font-size: 13px; padding: 8px 18px;
  border-radius: 999px; cursor: pointer; transition: opacity 150ms;
  border: 1px solid oklch(0.795 0.118 226 / 0.6);
}
.cy-cookie button:hover { opacity: 0.85; }
.cy-cookie .cy-acc { background: oklch(0.795 0.118 226); color: #0a1020; }
.cy-cookie .cy-rej { background: transparent; color: #dbe6f2; }
