/* MagNeed tanıtım sitesi — magneed.io
   Yerleşim: tek sütun hikâye; hero'da soru + örnek plan kartları, ardından
   üç adım (yapışkan yığın), güvenlik (üç canlı sahne), SSS, çağrı.
   Kütüphane yok. Yeni CSS özellikleri desteklenmeyen tarayıcıda sessizce düşer. */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('fonts/inter-latin-ext-variable.woff2') format('woff2');
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('fonts/inter-latin-variable.woff2') format('woff2');
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ── Tokenlar: koyu öncelikli (marka siyah + turuncu), açık tema eşdeğeri ── */
:root {
  color-scheme: dark;
  --bg: oklch(15.5% 0.008 60);
  --bg-2: oklch(20% 0.011 60);
  --ink: oklch(96% 0.01 80);
  --muted: oklch(96% 0.01 80 / 0.62);
  --line: oklch(96% 0.01 80 / 0.12);
  --brand: oklch(72% 0.19 52); /* #FF7A00 */
  --brand-ink: oklch(78% 0.16 58); /* koyu zeminde küçük metin */
  --brand-soft: oklch(72% 0.19 52 / 0.16);
  --sahne-bg: oklch(12% 0.008 55);
  --on-brand: oklch(18% 0.02 50);

  --f: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --step--1: clamp(0.84rem, 0.8rem + 0.15vw, 0.92rem);
  --step-0: clamp(1rem, 0.96rem + 0.2vw, 1.1rem);
  --step-1: clamp(1.2rem, 1.1rem + 0.5vw, 1.45rem);
  --step-2: clamp(1.6rem, 1.3rem + 1.4vw, 2.4rem);
  --step-3: clamp(2.3rem, 1.6rem + 3.4vw, 4.6rem);
  --step-4: clamp(2.8rem, 1.7rem + 5.4vw, 6.6rem);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --max: 72rem;
  --radius: 22px;
  interpolate-size: allow-keywords;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme='dark']) {
    color-scheme: light;
    --bg: oklch(98.5% 0.006 75);
    --bg-2: oklch(95.5% 0.012 72);
    --ink: oklch(21% 0.02 50);
    --muted: oklch(21% 0.02 50 / 0.66);
    --line: oklch(21% 0.02 50 / 0.12);
    --brand-ink: oklch(55% 0.17 48);
    --sahne-bg: oklch(93% 0.016 72);
  }
}
:root[data-theme='light'] {
  color-scheme: light;
  --bg: oklch(98.5% 0.006 75);
  --bg-2: oklch(95.5% 0.012 72);
  --ink: oklch(21% 0.02 50);
  --muted: oklch(21% 0.02 50 / 0.66);
  --line: oklch(21% 0.02 50 / 0.12);
  --brand-ink: oklch(55% 0.17 48);
  --sahne-bg: oklch(93% 0.016 72);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f);
  font-size: var(--step-0);
  line-height: 1.6;
  font-feature-settings: 'cv11', 'ss03';
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
}
h1,
h2,
h3 {
  text-wrap: balance;
  margin: 0;
}
p {
  text-wrap: pretty;
  margin: 0;
}
:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 6px;
}
.wrap {
  max-width: var(--max);
  margin-inline: auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: 16px;
  top: 16px;
  z-index: 100;
  background: var(--bg-2);
  padding: 10px 14px;
}
.eyebrow {
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-ink);
}

/* ── Düğmeler ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 650;
  text-decoration: none;
  transition:
    transform 0.25s var(--ease),
    background 0.25s,
    border-color 0.25s;
}
/* :where — öncelik sıfır; .btn-brand / .btn-ghost rengi ezilmesin */
:where(button).btn {
  font: inherit;
  font-weight: 650;
  color: inherit;
  background: transparent;
  border: 0;
  cursor: pointer;
}
.btn-brand {
  background: var(--brand);
  color: var(--on-brand);
}
.btn-brand:hover {
  transform: translateY(-2px);
}
.btn-ghost {
  border: 1px solid var(--line);
}
.btn-ghost:hover {
  border-color: var(--brand);
}

/* ── Üst bar: yapışınca zemin alır (scroll-state; eski tarayıcıda JS sınıfı) ── */
body::before {
  content: '';
  position: fixed;
  inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px);
  background: var(--bg);
  z-index: 60;
}
.bar {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 50;
  container-type: scroll-state;
}
.bar-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 18px;
  transition: padding 0.35s var(--ease);
}
@container scroll-state(stuck: top) {
  .bar-zemin {
    background: color-mix(in oklch, var(--bg) 95%, transparent);
    backdrop-filter: blur(14px) saturate(160%);
    box-shadow: 0 1px 0 var(--line);
  }
  .bar-in {
    padding-block: 10px;
  }
}
.bar.is-stuck .bar-zemin {
  background: color-mix(in oklch, var(--bg) 95%, transparent);
  backdrop-filter: blur(14px) saturate(160%);
  box-shadow: 0 1px 0 var(--line);
}
.bar-zemin {
  transition:
    background 0.35s,
    box-shadow 0.35s;
}
.bar.is-stuck .bar-in {
  padding-block: 10px;
}
.brand {
  font-weight: 850;
  font-style: italic;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  text-decoration: none;
  font-size: 1.3rem;
}
.brand b {
  color: var(--brand);
  font-weight: inherit;
}
.nav {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav a:not(.btn) {
  text-decoration: none;
  color: var(--muted);
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.95rem;
}
.nav a:not(.btn):hover {
  color: var(--ink);
}
.nav .btn {
  min-height: 40px;
  padding: 8px 16px;
  font-size: 0.95rem;
}
@media (max-width: 720px) {
  .nav a:not(.btn) {
    display: none;
  }
}

/* ── Hero ── */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(40px, 7vw, 96px) clamp(56px, 8vw, 110px);
}
.hero-bg,
#isik {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
}
.hero-bg {
  background:
    radial-gradient(45% 55% at 78% 30%, oklch(72% 0.19 52 / 0.32), transparent 70%),
    radial-gradient(40% 50% at 15% 85%, oklch(62% 0.17 30 / 0.2), transparent 70%);
}
#isik {
  opacity: 0;
  transition: opacity 1.2s var(--ease);
}
#isik.hazir {
  opacity: 1;
}
.hero::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 30%;
  z-index: -1;
  background: linear-gradient(transparent, var(--bg));
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
.hero h1 {
  font-size: clamp(2.4rem, 0.9rem + 4.2vw, 4.9rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
  font-weight: 820;
  margin-block: 18px 22px;
}
.hero h1 .ince,
.hero h1 .kalin {
  white-space: nowrap;
}
.hero h1 .ince {
  font-weight: 300;
  letter-spacing: -0.035em;
}
@media (prefers-reduced-motion: no-preference) {
  .hero h1 .kalin {
    animation: kalinlas 1.4s var(--ease) 0.15s both;
  }
}
@keyframes kalinlas {
  from {
    font-weight: 250;
    letter-spacing: -0.02em;
  }
}
.hero .sub {
  font-size: var(--step-1);
  color: var(--muted);
  max-width: 34ch;
  line-height: 1.5;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}
.magaza {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 22px;
  color: var(--muted);
  font-size: var(--step--1);
}
.magaza span::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
  margin-right: 8px;
  vertical-align: middle;
}

/* ── Canlı plan destesi ──
   Üç kart aynı grid hücresinde üst üste. Öndeki kart uygulamanın döngüsünü
   oynatır: istek → onay → mekan açılır → sohbetten bir mesaj. Sonra deste
   döner. Az hareket tercihinde döngü yok, kartlar statik. */
@property --aci {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}
.sahne {
  display: grid;
  gap: 18px;
  justify-items: center;
}
.deste {
  display: grid;
  width: min(100%, 440px);
  padding-block: 64px 10px;
  perspective: 1400px;
}
.plan {
  all: unset;
  box-sizing: border-box;
  grid-area: 1 / 1;
  cursor: pointer;
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 24px;
  border-radius: 28px;
  background: color-mix(in oklch, var(--bg-2) 92%, transparent);
  border: 1px solid var(--line);
  backdrop-filter: blur(14px);
  box-shadow: 0 30px 70px -40px oklch(0% 0 0 / 0.8);
  transform-origin: 50% 100%;
  transition:
    transform 0.8s var(--ease),
    opacity 0.8s var(--ease),
    filter 0.8s var(--ease);
}
.plan[data-sira='0'] {
  z-index: 3;
}
.plan[data-sira='1'] {
  z-index: 2;
  transform: translateY(-34px) scale(0.94) rotate(-3deg);
  opacity: 0.75;
  filter: brightness(0.75);
}
.plan[data-sira='2'] {
  z-index: 1;
  transform: translateY(-62px) scale(0.88) rotate(4deg);
  opacity: 0.45;
  filter: brightness(0.6);
}
.plan[data-sira='0']:hover {
  transform: translateY(-4px);
}
.plan:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 4px;
}
/* Öndeki kartın kenarında yavaş dönen ışık */
.plan[data-sira='0']::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: conic-gradient(
    from var(--aci),
    transparent 0 70%,
    var(--brand) 85%,
    transparent 100%
  );
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.plan {
  position: relative;
}
@media (prefers-reduced-motion: no-preference) {
  .plan[data-sira='0']::before {
    animation: kenar 6s linear infinite;
  }
}
@keyframes kenar {
  to {
    --aci: 360deg;
  }
}
.plan-ust {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--step--1);
  color: var(--muted);
}
.etiket {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px 11px;
  color: var(--ink);
}
.plan-zaman {
  font-size: var(--step--1);
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.plan-zaman b {
  color: var(--brand-ink);
  font-weight: 650;
}
.plan h3 {
  font-size: clamp(1.35rem, 1.1rem + 0.8vw, 1.7rem);
  letter-spacing: -0.03em;
  line-height: 1.12;
  font-weight: 760;
}
.plan-kisi {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: var(--step--1);
  color: var(--muted);
}
.avatarlar {
  display: inline-flex;
}
.avatarlar span,
.baloncuk .harf {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  font-size: 0.78rem;
  font-weight: 700;
  color: oklch(20% 0.02 50);
  background: oklch(82% 0.1 var(--h, 50));
  border: 2px solid var(--bg-2);
}
.avatarlar span + span {
  margin-left: -9px;
}
.avatarlar .arti {
  background: var(--bg);
  color: var(--muted);
}
.mekan-satir {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--step--1);
  color: var(--muted);
  min-height: 1.6em;
}
.kilit-ikon {
  width: 14px;
  height: 14px;
  flex: none;
  background: var(--muted);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 10V7a5 5 0 0 1 10 0v3h1a1 1 0 0 1 1 1v10a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V11a1 1 0 0 1 1-1h1zm2 0h6V7a3 3 0 0 0-6 0v3z'/%3E%3C/svg%3E")
    center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 10V7a5 5 0 0 1 10 0v3h1a1 1 0 0 1 1 1v10a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V11a1 1 0 0 1 1-1h1zm2 0h6V7a3 3 0 0 0-6 0v3z'/%3E%3C/svg%3E")
    center / contain no-repeat;
  transition: background 0.4s;
}
.gizli,
.mekan-gizli {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.gizli i,
.mekan-gizli i {
  display: inline-block;
  width: 6.5em;
  height: 0.9em;
  border-radius: 4px;
  background: repeating-linear-gradient(
    -45deg,
    var(--line) 0 4px,
    color-mix(in oklch, var(--ink) 22%, transparent) 4px 8px
  );
}
.mekan-acik {
  display: none;
  color: var(--ink);
  font-weight: 600;
}
/* Akış: üç durum aynı yerde, sırayla görünür */
.akis {
  display: grid;
  margin-top: 4px;
}
.durum {
  grid-area: 1 / 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  border-radius: 999px;
  font-weight: 650;
  font-size: 0.95rem;
  opacity: 0;
  transform: translateY(6px);
  transition:
    opacity 0.4s var(--ease),
    transform 0.4s var(--ease);
}
.durum-0 {
  background: var(--brand);
  color: var(--on-brand);
}
.durum-1 {
  border: 1px solid var(--line);
}
.durum-1 em {
  width: 18px;
  height: 6px;
  background: radial-gradient(circle, var(--muted) 2px, transparent 2.5px) 0 50% / 6px 6px repeat-x;
}
.durum-2 {
  background: var(--brand-soft);
  color: var(--brand-ink);
}
.plan[data-adim='0'] .durum-0,
.plan[data-adim='1'] .durum-1,
.plan[data-adim='2'] .durum-2,
.plan[data-adim='3'] .durum-2 {
  opacity: 1;
  transform: none;
}
.plan:not([data-adim]) .durum-0 {
  opacity: 1;
  transform: none;
}
.plan[data-adim='2'] .mekan-gizli,
.plan[data-adim='3'] .mekan-gizli {
  display: none;
}
.plan[data-adim='2'] .mekan-acik,
.plan[data-adim='3'] .mekan-acik {
  display: inline;
  animation: belir 0.6s var(--ease);
}
.plan[data-adim='2'] .kilit-ikon,
.plan[data-adim='3'] .kilit-ikon {
  background: var(--brand);
}
@keyframes belir {
  from {
    opacity: 0;
    filter: blur(6px);
  }
}
/* Sohbetten bir mesaj: kartın dışına taşan baloncuk */
.baloncuk {
  position: absolute;
  right: -14px;
  bottom: -26px;
  max-width: 78%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px 10px 10px;
  border-radius: 20px 20px 6px 20px;
  background: var(--bg);
  border: 1px solid var(--line);
  box-shadow: 0 20px 40px -24px oklch(0% 0 0 / 0.8);
  font-size: 0.88rem;
  line-height: 1.35;
  opacity: 0;
  transform: translateY(10px) scale(0.92);
  transform-origin: 100% 100%;
  transition:
    opacity 0.45s var(--ease),
    transform 0.45s var(--ease);
  pointer-events: none;
}
.baloncuk .harf {
  flex: none;
  width: 26px;
  height: 26px;
  border: 0;
}
.baloncuk .tepki {
  position: absolute;
  left: 28px;
  bottom: -12px;
  font-size: 0.72rem;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--bg-2);
  border: 1px solid var(--line);
}
.plan[data-adim='3'] .baloncuk {
  opacity: 1;
  transform: none;
}
@media (max-width: 480px) {
  .baloncuk {
    right: 8px;
  }
}
.deste-alt {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 26px;
}
.kartlar-not {
  font-size: var(--step--1);
  color: var(--muted);
}
.durdur {
  font: inherit;
  font-size: var(--step--1);
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 12px;
  cursor: pointer;
}
.durdur:hover {
  color: var(--ink);
}
@media (prefers-reduced-motion: reduce) {
  .durdur {
    display: none;
  }
}

/* Kart → detay geçişi (View Transitions) */
.detay {
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--ink);
  max-width: min(560px, calc(100vw - 32px));
  width: 100%;
}
.detay::backdrop {
  background: color-mix(in oklch, var(--bg) 70%, transparent);
  backdrop-filter: blur(8px);
}
.detay-in {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: clamp(22px, 4vw, 34px);
  display: grid;
  gap: 16px;
  box-shadow: 0 40px 100px -40px oklch(0% 0 0 / 0.7);
}
.detay h3 {
  font-size: var(--step-2);
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.detay dl {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px 18px;
  margin: 0;
  font-size: 0.97rem;
}
.detay dt {
  color: var(--muted);
}
.detay dd {
  margin: 0;
}
.detay .kilit {
  display: flex;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--brand-soft);
  font-size: 0.95rem;
}
.detay form {
  display: flex;
  justify-content: flex-end;
}
::view-transition-group(plan-kart) {
  animation-duration: 0.5s;
  animation-timing-function: var(--ease);
}

/* ── Bölümler ── */
.bolum {
  padding-block: clamp(72px, 10vw, 140px);
}
.bolum-bas {
  display: grid;
  gap: 16px;
  max-width: 44rem;
  margin-bottom: clamp(36px, 5vw, 60px);
}
.bolum-bas h2 {
  font-size: var(--step-3);
  line-height: 1.02;
  letter-spacing: -0.04em;
  font-weight: 780;
}
.bolum-bas .eyebrow {
  color: var(--brand-ink);
  font-size: var(--step--1);
  line-height: 1.6;
}
.bolum-bas p:not(.eyebrow) {
  color: var(--muted);
  font-size: var(--step-1);
  line-height: 1.5;
  max-width: 40ch;
}

/* Üç adım: yapışkan yığın; arkada kalan kart küçülüp kararır */
.adimlar {
  display: grid;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.adim {
  position: sticky;
  top: calc(84px + var(--i) * 18px);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px 28px;
  align-items: start;
  padding: clamp(26px, 4vw, 44px);
  border-radius: 28px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  min-height: 15rem;
  box-shadow: 0 -16px 50px -30px oklch(0% 0 0 / 0.6);
}
.adim .no {
  font-size: var(--step-3);
  font-weight: 200;
  line-height: 0.9;
  color: var(--brand);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.04em;
}
.adim h3 {
  font-size: var(--step-2);
  letter-spacing: -0.03em;
  font-weight: 750;
  line-height: 1.1;
}
.adim p {
  color: var(--muted);
  max-width: 48ch;
  margin-top: 12px;
}
.adim ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
}
.adim li {
  font-size: var(--step--1);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 12px;
}
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .adim:not(:last-child) {
      animation: geriCekil linear both;
      animation-timeline: view();
      animation-range: exit-crossing 0% exit 100%;
    }
  }
}
@keyframes geriCekil {
  to {
    transform: scale(0.94);
    filter: brightness(0.7);
  }
}
/* Adım görselleri: görsel dosyası yok, hepsi CSS. Hero'daki kartla aynı dil. */
.adim {
  grid-template-columns: auto minmax(0, 1fr) minmax(0, 23rem);
  gap: 8px 32px;
  align-items: center;
  overflow: hidden;
  background: radial-gradient(55% 90% at 100% 50%, var(--brand-soft), transparent 70%), var(--bg-2);
}
.adim .no {
  align-self: start;
}
.adim > div:not(.gorsel) {
  align-self: start;
}
@media (max-width: 860px) {
  .adim {
    grid-template-columns: auto minmax(0, 1fr);
  }
  .gorsel {
    grid-column: 1 / -1;
    margin-top: 18px;
  }
}
.gorsel {
  display: grid;
  justify-items: center;
}
.gorsel small {
  display: block;
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.02em;
}
.gorsel > div {
  width: min(100%, 21rem);
}

/* 1 · Plan formu */
.g-form {
  display: grid;
  gap: 10px;
  padding: 16px;
  border-radius: 22px;
  background: var(--bg);
  border: 1px solid var(--line);
  box-shadow: 0 24px 50px -30px oklch(0% 0 0 / 0.7);
  transform: rotate(-2deg);
}
.g-alan {
  padding: 10px 12px;
  border-radius: 14px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  display: grid;
  gap: 2px;
}
.g-alan b {
  font-weight: 650;
  font-size: 0.92rem;
}
.g-form > .g-alan:first-child {
  border-color: color-mix(in oklch, var(--brand) 55%, transparent);
}
.g-satir {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.g-sayac {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-variant-numeric: tabular-nums;
}
.g-sayac i {
  font-style: normal;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--muted);
  font-weight: 500;
}
.g-secim {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 4px;
  border-radius: 999px;
  background: var(--bg-2);
  font-size: 0.8rem;
  text-align: center;
}
.g-secim span {
  padding: 6px 0;
  border-radius: 999px;
  color: var(--muted);
}
.g-secim .secili {
  background: var(--bg);
  color: var(--ink);
  font-weight: 600;
  box-shadow: 0 1px 0 var(--line);
}
.g-btn {
  display: grid;
  place-items: center;
  min-height: 42px;
  border-radius: 999px;
  background: var(--brand);
  color: var(--on-brand);
  font-weight: 700;
  font-size: 0.92rem;
}

/* 2 · Plan sohbeti */
.g-sohbet {
  display: grid;
  gap: 12px;
  font-size: 0.86rem;
  line-height: 1.35;
}
.g-sohbet .m {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  max-width: 88%;
  position: relative;
}
.g-sohbet .m p {
  padding: 9px 13px;
  border-radius: 18px 18px 18px 6px;
  background: var(--bg);
  border: 1px solid var(--line);
}
.g-sohbet .ben {
  justify-self: end;
}
.g-sohbet .ben p {
  border-radius: 18px 18px 6px 18px;
  background: var(--brand);
  border-color: transparent;
  color: var(--on-brand);
}
.g-sohbet q {
  display: block;
  quotes: none;
  font-size: 0.76rem;
  padding: 4px 8px;
  margin-bottom: 6px;
  border-radius: 8px;
  background: oklch(0% 0 0 / 0.14);
  border-left: 2px solid oklch(0% 0 0 / 0.4);
}
.g-sohbet .tepki {
  position: absolute;
  left: -10px;
  bottom: -10px;
  font-size: 0.72rem;
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--bg-2);
  border: 1px solid var(--line);
}
.g-sohbet .harf {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.72rem;
  font-weight: 700;
  color: oklch(20% 0.02 50);
  background: oklch(82% 0.1 var(--h, 50));
}
.yaziyor {
  display: inline-flex;
  gap: 4px;
  padding: 12px 14px;
  border-radius: 18px 18px 18px 6px;
  background: var(--bg);
  border: 1px solid var(--line);
}
.yaziyor i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--muted);
}
@media (prefers-reduced-motion: no-preference) {
  .yaziyor i {
    animation: zipla 1.2s ease-in-out infinite;
  }
  .yaziyor i:nth-child(2) {
    animation-delay: 0.15s;
  }
  .yaziyor i:nth-child(3) {
    animation-delay: 0.3s;
  }
  @supports (animation-timeline: view()) {
    .g-sohbet .m {
      animation: mesajGel linear both;
      animation-timeline: view();
    }
    .g-sohbet .m:nth-child(1) {
      animation-range: entry 0% entry 60%;
    }
    .g-sohbet .m:nth-child(2) {
      animation-range: entry 15% entry 75%;
    }
    .g-sohbet .m:nth-child(3) {
      animation-range: entry 30% entry 90%;
    }
    .g-sohbet .m:nth-child(4) {
      animation-range: entry 45% cover 30%;
    }
  }
}
@keyframes zipla {
  0%,
  60%,
  100% {
    transform: none;
    opacity: 0.5;
  }
  30% {
    transform: translateY(-4px);
    opacity: 1;
  }
}
@keyframes mesajGel {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
}

/* 3 · Plan hikayesi */
.g-hikaye {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 4.6rem;
  gap: 10px;
  height: 15rem;
}
.hikaye-kare,
.hikaye-yan span {
  border-radius: 18px;
  background:
    radial-gradient(70% 45% at 70% 28%, oklch(88% 0.12 75), transparent 70%),
    linear-gradient(
      180deg,
      oklch(70% 0.15 45) 0%,
      oklch(55% 0.13 25) 48%,
      oklch(30% 0.06 250) 50%,
      oklch(22% 0.05 255) 100%
    );
}
.hikaye-kare {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 12px;
  color: oklch(98% 0.01 80);
  box-shadow: 0 24px 50px -30px oklch(0% 0 0 / 0.7);
}
.ilerleme {
  display: flex;
  gap: 4px;
}
.ilerleme i {
  flex: 1;
  height: 3px;
  border-radius: 2px;
  background: oklch(100% 0 0 / 0.35);
  overflow: hidden;
}
.ilerleme i.dolu {
  background: oklch(100% 0 0 / 0.95);
}
.ilerleme i.aktif {
  background: linear-gradient(90deg, oklch(100% 0 0 / 0.95) 50%, oklch(100% 0 0 / 0.35) 50%) 100%
    0 / 200% 100%;
}
@media (prefers-reduced-motion: no-preference) {
  .ilerleme i.aktif {
    animation: doldur 4s linear infinite;
  }
}
@keyframes doldur {
  to {
    background-position: 0 0;
  }
}
.hikaye-alt {
  font-size: 0.78rem;
  text-shadow: 0 1px 8px oklch(0% 0 0 / 0.5);
}
.hikaye-alt b {
  display: block;
  font-size: 0.95rem;
}
.hikaye-yan {
  display: grid;
  grid-template-rows: 1fr 1fr auto;
  gap: 10px;
}
.hikaye-yan .k2 {
  background:
    radial-gradient(60% 50% at 30% 30%, oklch(85% 0.08 90), transparent 70%),
    linear-gradient(160deg, oklch(62% 0.12 150), oklch(35% 0.06 180));
}
.hikaye-yan .k3 {
  background:
    radial-gradient(50% 40% at 60% 40%, oklch(90% 0.1 70), transparent 70%),
    linear-gradient(200deg, oklch(45% 0.1 30), oklch(25% 0.04 40));
}
.hikaye-yan .ekle {
  height: 3rem;
  border-radius: 14px;
  display: grid;
  place-items: center;
  border: 1.5px dashed var(--line);
  color: var(--brand);
  font-size: 1.4rem;
  font-weight: 300;
  background: none;
}

.adim-bosluk {
  height: 8vh;
}

/* Tek tipografi anı: kelime kaydırdıkça kalınlaşır */
.cumle {
  font-size: var(--step-4);
  line-height: 1;
  letter-spacing: -0.045em;
  font-weight: 300;
  padding-block: clamp(40px, 8vw, 110px);
}
.cumle em {
  font-style: normal;
  color: var(--brand);
  font-weight: 860;
}
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .cumle em {
      animation: kalinlas2 linear both;
      animation-timeline: view();
      animation-range: entry 10% cover 50%;
    }
  }
}
@keyframes kalinlas2 {
  from {
    font-weight: 200;
    letter-spacing: -0.02em;
  }
}

/* ── Güvenlik: üç sahne ──
   Her kartın üst yarısı kendi küçük sahnesini oynatır (yalnız CSS).
   Zemin sayfa temasını izler; sahne zemini --sahne-bg ile ayrışır. */
.guvenlik {
  position: relative;
  isolation: isolate;
}
.guvenlik::before {
  content: '';
  position: absolute;
  inset: 10% 0 auto;
  height: 70%;
  z-index: -1;
  background: radial-gradient(50% 50% at 50% 50%, var(--brand-soft), transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}
.sahneler {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
@media (max-width: 960px) {
  .sahneler {
    grid-template-columns: minmax(0, 1fr);
    max-width: 34rem;
  }
}
.sahne-kart {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr;
  border-radius: 30px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  box-shadow: 0 40px 80px -50px oklch(0% 0 0 / 0.7);
  transition: transform 0.5s var(--ease);
}
.sahne-kart:hover {
  transform: translateY(-6px);
}
/* imleci izleyen ışık */
.sahne-kart::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: radial-gradient(
    360px circle at var(--mx, 50%) var(--my, -40%),
    oklch(72% 0.19 52 / 0.12),
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.4s;
}
.sahne-kart:hover::after {
  opacity: 1;
}
/* üzerine gelince kenarda dönen ışık (hero kartıyla aynı) */
.sahne-kart::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 3;
  border-radius: inherit;
  padding: 1px;
  background: conic-gradient(from var(--aci), transparent 0 70%, var(--brand) 85%, transparent);
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.sahne-kart:hover::before {
  opacity: 1;
}
@media (prefers-reduced-motion: no-preference) {
  .sahne-kart::before {
    animation: kenar 6s linear infinite;
  }
  @supports (animation-timeline: view()) {
    .sahne-kart {
      animation: sahneGel linear both;
      animation-timeline: view();
      animation-range: entry 5% cover 30%;
    }
    .sahne-kart:nth-child(2) {
      animation-range: entry 12% cover 36%;
    }
    .sahne-kart:nth-child(3) {
      animation-range: entry 19% cover 42%;
    }
  }
}
@media (max-width: 960px) {
  .sahne-kart:nth-child(n) {
    animation-range: entry 5% cover 25%;
  }
}
@keyframes sahneGel {
  from {
    opacity: 0.3;
    transform: translateY(48px) scale(0.97);
  }
}
.sahne-gorsel {
  position: relative;
  aspect-ratio: 5 / 4;
  max-width: 100%;
  margin: 10px 10px 0;
  border-radius: 22px;
  overflow: hidden;
  background: var(--sahne-bg);
  display: grid;
  place-items: center;
}
.sahne-metin {
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 24px 26px 30px;
}
.sahne-metin .kod {
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand-ink);
}
.sahne-metin h3 {
  font-size: var(--step-1);
  letter-spacing: -0.025em;
  font-weight: 740;
  line-height: 1.2;
}
.sahne-metin p {
  color: var(--muted);
}

/* 1 · Harita: sokak ızgarası, deniz, buzlu pin → onaylanınca açılır */
.harita {
  background:
    radial-gradient(40% 35% at 55% 50%, var(--brand-soft), transparent 70%),
    linear-gradient(118deg, transparent 0 62%, oklch(55% 0.08 235 / 0.28) 62%),
    repeating-linear-gradient(28deg, var(--line) 0 1px, transparent 1px 34px),
    repeating-linear-gradient(-62deg, var(--line) 0 1px, transparent 1px 46px), var(--sahne-bg);
}
.harita .bolge {
  position: absolute;
  left: 16px;
  top: 14px;
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.pin {
  position: relative;
  width: 30px;
  height: 30px;
  margin-top: -24px;
  border-radius: 50% 50% 50% 0;
  rotate: -45deg;
  background: var(--brand);
  box-shadow: 0 10px 24px -6px oklch(72% 0.19 52 / 0.7);
}
.pin::after {
  content: '';
  position: absolute;
  inset: 9px;
  border-radius: 50%;
  background: var(--sahne-bg);
}
.buzlu {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 120px;
  height: 120px;
  translate: -50% -50%;
  rotate: 45deg;
  border-radius: 50%;
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
  background: color-mix(in oklch, var(--sahne-bg) 35%, transparent);
  border: 1px solid var(--line);
}
.etiket-acik,
.etiket-kapali {
  position: absolute;
  bottom: 16px;
  left: 50%;
  translate: -50% 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 650;
  background: var(--bg);
  border: 1px solid var(--line);
}
.etiket-acik {
  opacity: 0;
  border-color: color-mix(in oklch, var(--brand) 55%, transparent);
}
.etiket-acik .kilit-ikon {
  background: var(--brand);
}
@media (prefers-reduced-motion: no-preference) {
  .buzlu {
    animation: buzCoz 7s var(--ease) infinite;
  }
  .etiket-kapali {
    animation: etiketKapali 7s var(--ease) infinite;
  }
  .etiket-acik {
    animation: etiketAcik 7s var(--ease) infinite;
  }
}
@keyframes buzCoz {
  0%,
  45% {
    scale: 1;
    opacity: 1;
  }
  55%,
  90% {
    scale: 0.2;
    opacity: 0;
  }
}
@keyframes etiketKapali {
  0%,
  45% {
    opacity: 1;
  }
  52%,
  93% {
    opacity: 0;
  }
}
@keyframes etiketAcik {
  0%,
  50% {
    opacity: 0;
    transform: translateY(6px);
  }
  58%,
  90% {
    opacity: 1;
    transform: none;
  }
  97% {
    opacity: 0;
  }
}

/* 2 · Yörünge: ortada 3+, etrafında dönen üç kişi */
.yorunge {
  background:
    radial-gradient(35% 35% at 50% 50%, var(--brand-soft), transparent 70%), var(--sahne-bg);
}
.halka {
  position: absolute;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  border: 1.5px dashed var(--line);
}
.merkez {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  font-weight: 850;
  letter-spacing: -0.04em;
  background: var(--brand);
  color: var(--on-brand);
  box-shadow: 0 0 0 10px var(--brand-soft);
}
.uydu {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 40px;
  height: 40px;
  margin: -20px 0 0 -20px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  font-weight: 750;
  color: oklch(20% 0.02 50);
  background: oklch(82% 0.1 var(--h));
  border: 3px solid var(--sahne-bg);
  transform: rotate(var(--a)) translateX(95px) rotate(calc(-1 * var(--a)));
}
.u1 {
  --a: -90deg;
  --h: 20;
}
.u2 {
  --a: 30deg;
  --h: 150;
}
.u3 {
  --a: 150deg;
  --h: 260;
}
@media (prefers-reduced-motion: no-preference) {
  .uydu {
    animation: yorunge 16s linear infinite;
  }
  .halka {
    animation: kenarDon 40s linear infinite;
  }
}
@keyframes yorunge {
  to {
    transform: rotate(calc(var(--a) + 360deg)) translateX(95px) rotate(calc(-1 * var(--a) - 360deg));
  }
}
@keyframes kenarDon {
  to {
    rotate: 360deg;
  }
}

/* 3 · Araçlar: plan sayfasındaki üç düğme, 112 nabız atar */
.araclar {
  display: grid;
  align-content: center;
  gap: 10px;
  padding: 20px;
  background:
    radial-gradient(45% 40% at 50% 52%, oklch(58% 0.2 28 / 0.18), transparent 70%), var(--sahne-bg);
}
.araclar .arac {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 16px;
  border-radius: 14px;
  background: var(--bg);
  border: 1px solid var(--line);
  font-size: 0.9rem;
  font-weight: 600;
  width: min(100%, 17rem);
  justify-self: center;
}
.araclar .acil {
  position: relative;
  background: oklch(58% 0.2 28);
  border-color: transparent;
  color: oklch(98% 0.01 80);
}
.araclar .acil b {
  font-weight: 850;
}
.nabiz {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 2px solid oklch(58% 0.2 28 / 0.6);
  pointer-events: none;
}
@media (prefers-reduced-motion: no-preference) {
  .nabiz {
    animation: nabiz 2.2s ease-out infinite;
  }
}
@keyframes nabiz {
  from {
    transform: scale(1);
    opacity: 1;
  }
  to {
    transform: scale(1.12, 1.5);
    opacity: 0;
  }
}

/* ── SSS: height:auto'ya animasyon, JS yok ── */
.sss {
  max-width: 50rem;
  border-top: 1px solid var(--line);
}
.sss details {
  border-bottom: 1px solid var(--line);
}
.sss summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding-block: 22px;
  font-size: var(--step-1);
  font-weight: 650;
  letter-spacing: -0.015em;
}
.sss summary::-webkit-details-marker {
  display: none;
}
.sss summary::after {
  content: '+';
  flex: none;
  font-weight: 300;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--brand);
  transition: rotate 0.35s var(--ease);
}
.sss details[open] summary::after {
  rotate: 45deg;
}
.sss details::details-content {
  block-size: 0;
  overflow: hidden;
  transition:
    block-size 0.4s var(--ease),
    content-visibility 0.4s allow-discrete;
}
.sss details[open]::details-content {
  block-size: auto;
}
.sss details p {
  color: var(--muted);
  padding-bottom: 24px;
  max-width: 62ch;
}

/* ── Son çağrı ── */
.cagri {
  padding-block: clamp(40px, 6vw, 80px) clamp(72px, 10vw, 130px);
}
.cagri-in {
  display: grid;
  gap: 20px;
  justify-items: start;
  padding: clamp(30px, 6vw, 72px);
  border-radius: 32px;
  background:
    radial-gradient(60% 90% at 100% 0%, oklch(72% 0.19 52 / 0.35), transparent 70%), var(--bg-2);
  border: 1px solid var(--line);
}
.cagri h2 {
  font-size: var(--step-3);
  line-height: 1.02;
  letter-spacing: -0.04em;
  font-weight: 800;
  max-width: 14ch;
}
.cagri p {
  color: var(--muted);
  max-width: 44ch;
  font-size: var(--step-1);
  line-height: 1.5;
}

/* ── Alt bilgi ── */
footer {
  border-top: 1px solid var(--line);
  padding-block: 44px 56px;
  color: var(--muted);
  font-size: var(--step--1);
}
.alt {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
}
.alt nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}
.alt a {
  text-decoration: none;
}
.alt a:hover {
  color: var(--ink);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ── 404 ── */
.bulunamadi {
  min-height: 100svh;
  display: grid;
  align-items: center;
}
.bulunamadi .brand {
  display: inline-block;
  margin-bottom: 48px;
}
.bulunamadi h1 {
  font-size: clamp(2.4rem, 0.9rem + 4.2vw, 4.9rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
  font-weight: 820;
  margin-block: 18px 22px;
}

/* ── Bekleme listesi (/katil) ──
   Solda vaat, sağda form kartı. Kayıt başarılı olunca katil.js gövdeye
   data-kayitli="evet" yazar; form gizlenir, teşekkür kartı görünür. */
.katil {
  padding-block: clamp(32px, 6vw, 80px) clamp(56px, 8vw, 110px);
}
.katil-izgara {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 27rem);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
@media (max-width: 900px) {
  .katil-izgara {
    grid-template-columns: minmax(0, 1fr);
  }
}
.katil h1 {
  font-size: clamp(2.4rem, 0.9rem + 4.2vw, 4.9rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
  font-weight: 820;
  margin-block: 18px 22px;
}
.form-kart {
  position: relative;
  padding: clamp(22px, 3.5vw, 32px);
  border-radius: 28px;
  background: color-mix(in oklch, var(--bg-2) 92%, transparent);
  border: 1px solid var(--line);
  backdrop-filter: blur(14px);
  box-shadow: 0 40px 80px -50px oklch(0% 0 0 / 0.7);
}
.form-kart::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: conic-gradient(from var(--aci), transparent 0 70%, var(--brand) 85%, transparent);
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
@media (prefers-reduced-motion: no-preference) {
  .form-kart::before {
    animation: kenar 6s linear infinite;
  }
}
#katil-form {
  display: grid;
  gap: 18px;
}
.alan {
  display: grid;
  gap: 8px;
}
.alan label {
  font-weight: 600;
  font-size: 0.95rem;
}
.secmeli {
  font-weight: 400;
  color: var(--muted);
}
.alan input,
.alan select {
  width: 100%;
  min-height: 50px;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink);
  font: inherit;
  transition:
    border-color 0.25s,
    box-shadow 0.25s;
}
.alan input::placeholder {
  color: var(--muted);
}
.alan input:focus,
.alan select:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px var(--brand-soft);
}
.alan input:user-invalid {
  border-color: oklch(62% 0.2 28);
}
.ipucu {
  font-size: var(--step--1);
  color: var(--muted);
}
.tuzak-alan {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.riza {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--muted);
}
.riza input {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--brand);
}
.riza a {
  color: var(--brand-ink);
}
#katil-form .btn {
  justify-content: center;
  width: 100%;
  min-height: 52px;
}
#katil-form .btn:disabled {
  opacity: 0.6;
  cursor: progress;
  transform: none;
}
.form-durum {
  min-height: 1.4em;
  font-size: 0.92rem;
  color: var(--muted);
}
.form-durum[data-tip='hata'] {
  color: oklch(64% 0.19 28);
}
.tesekkur {
  display: none;
  gap: 14px;
  justify-items: start;
}
.tesekkur-isaret {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  font-weight: 800;
  background: var(--brand);
  color: var(--on-brand);
  box-shadow: 0 0 0 10px var(--brand-soft);
}
.tesekkur h2 {
  font-size: var(--step-2);
  letter-spacing: -0.03em;
  font-weight: 780;
  line-height: 1.1;
}
.tesekkur p {
  color: var(--muted);
}
body[data-kayitli='evet'] #katil-form {
  display: none;
}
body[data-kayitli='evet'] .tesekkur {
  display: grid;
}
@media (prefers-reduced-motion: no-preference) {
  body[data-kayitli='evet'] .tesekkur {
    animation: belir 0.6s var(--ease);
  }
}

/* ── Yasal sayfalar (gizlilik, kvkk, kullanım şartları, destek) ──
   Metin değişmedi; yalnız görünüm sitenin diline geçti. Masaüstünde
   içindekiler solda yapışkan, mobilde açılır kutu. */
.yasal {
  position: relative;
  isolation: isolate;
  padding-block: clamp(28px, 5vw, 64px) clamp(56px, 8vw, 110px);
}
.yasal .hero-bg {
  position: absolute;
  inset: 0 0 auto;
  height: 520px;
  z-index: -1;
}
.yasal-izgara {
  display: grid;
  grid-template-columns: minmax(0, 15rem) minmax(0, 46rem);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
@media (max-width: 960px) {
  .yasal-izgara {
    grid-template-columns: minmax(0, 1fr);
  }
}
.icindekiler {
  position: sticky;
  top: calc(env(safe-area-inset-top, 0px) + 88px);
  max-height: calc(100vh - 120px);
  overflow: auto;
  font-size: 0.9rem;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: color-mix(in oklch, var(--bg-2) 85%, transparent);
  backdrop-filter: blur(10px);
}
@media (max-width: 960px) {
  .icindekiler {
    position: static;
    max-height: none;
    order: -1;
  }
}
.icindekiler summary {
  cursor: pointer;
  list-style: none;
  padding: 14px 18px;
  font-weight: 650;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.icindekiler summary::-webkit-details-marker {
  display: none;
}
.icindekiler summary::after {
  content: '+';
  color: var(--brand);
  font-weight: 300;
  font-size: 1.3rem;
  line-height: 1;
  transition: rotate 0.3s var(--ease);
}
.icindekiler[open] summary::after {
  rotate: 45deg;
}
.icindekiler ol {
  list-style: none;
  margin: 0;
  padding: 0 10px 12px;
  display: grid;
  gap: 2px;
}
.icindekiler a {
  display: block;
  padding: 7px 10px;
  border-radius: 10px;
  color: var(--muted);
  text-decoration: none;
  line-height: 1.35;
}
.icindekiler a:hover {
  color: var(--ink);
  background: var(--brand-soft);
}
.yasal-metin {
  min-width: 0;
  font-size: 1.02rem;
  line-height: 1.75;
}
.yasal-metin .doc-title {
  font-size: clamp(2.2rem, 1.2rem + 3.4vw, 3.8rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  font-weight: 820;
  margin: 12px 0 10px;
}
.yasal-metin .updated {
  color: var(--muted);
  font-size: var(--step--1);
  margin-bottom: 36px;
}
.yasal-metin h2 {
  font-size: var(--step-1);
  letter-spacing: -0.02em;
  font-weight: 720;
  line-height: 1.3;
  margin: 44px 0 12px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  scroll-margin-top: 96px;
}
.yasal-metin p,
.yasal-metin ul,
.yasal-metin ol {
  margin: 0 0 14px;
  color: color-mix(in oklch, var(--ink) 86%, transparent);
}
.yasal-metin ul,
.yasal-metin ol {
  padding-left: 1.25em;
}
.yasal-metin li {
  margin-bottom: 6px;
}
.yasal-metin li::marker {
  color: var(--brand);
}
.yasal-metin strong {
  color: var(--ink);
  font-weight: 650;
}
.yasal-metin a {
  color: var(--brand-ink);
  text-underline-offset: 3px;
}
.yasal-metin .callout {
  margin: 0 0 28px;
  padding: 18px 20px;
  border-radius: 18px;
  background: var(--brand-soft);
  border: 1px solid color-mix(in oklch, var(--brand) 35%, transparent);
}
.yasal-metin .table-scroll {
  overflow-x: auto;
  margin: 0 0 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
}
.yasal-metin table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  line-height: 1.5;
}
.yasal-metin th,
.yasal-metin td {
  text-align: left;
  vertical-align: top;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
}
.yasal-metin th {
  background: var(--bg-2);
  font-weight: 650;
}
.yasal-metin tr:last-child td {
  border-bottom: 0;
}
.yasal-metin .eyebrow {
  color: var(--brand-ink);
  margin: 0;
}
.yasal .hero-bg {
  -webkit-mask-image: linear-gradient(#000 40%, transparent);
  mask-image: linear-gradient(#000 40%, transparent);
}

.alan select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 44px;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--muted) 50%),
    linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position:
    calc(100% - 22px) 50%,
    calc(100% - 16px) 50%;
  background-size: 6px 6px;
  background-repeat: no-repeat;
}
