/* Takascom — ortak stil (saf CSS, derleme yok) */

:root {
  color-scheme: light dark;

  /* Palet */
  --c-ink: #051F20;
  --c-card-dark: #0B2B26;
  --c-primary: #163832;
  --c-accent: #235347;
  --c-accent-2: #8EB69B;
  --c-mint: #DAF1DE;
  --c-paper: #F4FAF5;

  /* Açık mod */
  --bg: var(--c-paper);
  --text: var(--c-ink);
  --text-2: rgba(5, 31, 32, 0.7);
  --link: var(--c-accent);
  --wordmark: var(--c-primary);
  --card: rgba(255, 255, 255, 0.48);
  --card-border: rgba(255, 255, 255, 0.8);
  --sheen: linear-gradient(180deg, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0) 55%);
  --shadow: 0 12px 40px rgba(5, 31, 32, 0.08);
  --blob-a: rgba(142, 182, 155, 0.5);
  --blob-b: rgba(35, 83, 71, 0.28);
  --tint: rgba(218, 241, 222, 0.75);
  --line: rgba(35, 83, 71, 0.16);
  --field-bg: rgba(255, 255, 255, 0.7);
  --field-border: rgba(35, 83, 71, 0.4);
  --focus-ring: rgba(142, 182, 155, 0.55);
  --btn-bg: var(--c-primary);
  --btn-text: var(--c-mint);
  --btn-border: var(--c-primary);
  --check: var(--c-primary);
  --check-mark: var(--c-mint);

  --radius-lg: 32px;
  --radius-md: 24px;
  --radius-sm: 20px;
  --gutter: 16px;
  --maxw: 1080px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: var(--c-ink);
    --text: var(--c-mint);
    --text-2: rgba(218, 241, 222, 0.7);
    --link: var(--c-accent-2);
    --wordmark: var(--c-mint);
    --card: rgba(11, 43, 38, 0.55);
    --card-border: rgba(142, 182, 155, 0.2);
    --sheen: linear-gradient(180deg, rgba(218, 241, 222, 0.07) 0%, rgba(218, 241, 222, 0) 55%);
    --shadow: 0 12px 40px rgba(5, 31, 32, 0.5);
    --blob-a: rgba(22, 56, 50, 0.45);
    --blob-b: rgba(35, 83, 71, 0.25);
    --tint: rgba(142, 182, 155, 0.1);
    --line: rgba(142, 182, 155, 0.18);
    --field-bg: rgba(5, 31, 32, 0.55);
    --field-border: rgba(142, 182, 155, 0.4);
    --focus-ring: rgba(142, 182, 155, 0.45);
    --btn-bg: var(--c-primary);
    --btn-text: var(--c-mint);
    --btn-border: rgba(142, 182, 155, 0.5);
    --check: var(--c-accent-2);
    --check-mark: var(--c-ink);
  }
}

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

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

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Arka plan lekeleri */
.bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.bg span {
  position: absolute;
  border-radius: 50%;
}
.bg .b1 { width: 340px; height: 340px; top: -90px; left: -110px; background: radial-gradient(circle, var(--blob-a) 0%, transparent 70%); }
.bg .b2 { width: 300px; height: 300px; top: 38%; right: -120px; background: radial-gradient(circle, var(--blob-b) 0%, transparent 70%); }
.bg .b3 { width: 280px; height: 280px; bottom: -80px; left: -90px; background: radial-gradient(circle, var(--blob-b) 0%, transparent 70%); }
.bg .b4 { width: 320px; height: 320px; bottom: -120px; right: -80px; background: radial-gradient(circle, var(--blob-a) 0%, transparent 70%); }
@media (min-width: 900px) {
  .bg .b1 { top: -60px; left: -40px; }
  .bg .b2 { right: -40px; }
  .bg .b3 { left: 6%; }
  .bg .b4 { right: 8%; }
}

a { color: var(--link); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible {
  outline: 3px solid var(--link);
  outline-offset: 3px;
  border-radius: 8px;
}

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -100px;
  z-index: 10;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-text);
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
@media (min-width: 768px) {
  :root { --gutter: 32px; }
}

main { flex: 1 0 auto; }

/* Cam kart */
.glass {
  position: relative;
  background: var(--sheen), var(--card);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
  backdrop-filter: blur(24px) saturate(140%);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

/* Başlık */
.site-header { padding: 20px 0 8px; }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 12px; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--wordmark);
}
.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: var(--c-primary);
  color: var(--c-mint);
  border: 1px solid var(--btn-border);
  flex: none;
}
.brand-mark svg { width: 20px; height: 20px; }
.wordmark {
  font-weight: 800;
  font-size: 24px;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--wordmark);
}

/* Butonlar */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 12px 26px;
  border-radius: 999px;
  border: 1.5px solid var(--btn-border);
  background: var(--btn-bg);
  color: var(--btn-text);
  font: inherit;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 22px rgba(5, 31, 32, 0.18); text-decoration: none; }
.btn:active { transform: translateY(0); }
.btn[disabled] { cursor: progress; opacity: 0.75; transform: none; box-shadow: none; }

.btn-secondary {
  background: var(--card);
  color: var(--text);
  border-color: var(--field-border);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
  backdrop-filter: blur(24px) saturate(140%);
}

/* PLAY_URL boşken "Çok yakında" durumu */
.btn.is-soon {
  background: transparent;
  color: var(--text);
  border: 1.5px dashed var(--link);
  cursor: default;
}
.btn.is-soon:hover { transform: none; box-shadow: none; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-row .btn { flex: 1 1 220px; }
@media (min-width: 768px) {
  .btn-row .btn { flex: 0 0 auto; }
}

/* Ana sayfa */
.hero { padding: 24px 0 8px; }
.hero-grid { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) {
  .hero { padding: 56px 0 24px; }
  .hero-grid { grid-template-columns: 1.15fr 1fr; gap: 48px; }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--tint);
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
}
.eyebrow svg { width: 16px; height: 16px; color: var(--link); }

.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(34px, 9vw, 60px);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.hero .lead {
  margin: 0 0 28px;
  max-width: 34em;
  font-size: clamp(17px, 2.4vw, 20px);
  color: var(--text-2);
}
.punct { margin-left: -0.09em; }
.hero .note { margin: 14px 0 0; font-size: 14px; color: var(--text-2); }

.swap-card { padding: 22px; }
@media (min-width: 900px) { .swap-card { padding: 32px; } }
.swap-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
}
.item {
  min-width: 0;
  padding: 16px 12px;
  border-radius: var(--radius-sm);
  background: var(--tint);
  text-align: center;
}
.item-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 10px;
  border-radius: 18px;
  background: var(--card);
  border: 1px solid var(--card-border);
  color: var(--link);
}
.item-icon svg { width: 28px; height: 28px; }
.item b { display: block; font-size: 15px; line-height: 1.3; }
.item small { display: block; margin-top: 2px; color: var(--text-2); font-size: 13px; }
.swap-dot {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--c-primary);
  color: var(--c-mint);
  border: 1px solid var(--btn-border);
  box-shadow: 0 6px 18px rgba(5, 31, 32, 0.2);
}
.swap-dot svg { width: 22px; height: 22px; }
.swap-status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 14px;
  font-weight: 600;
}
.swap-status svg { width: 18px; height: 18px; color: var(--link); flex: none; }

.section { padding: 40px 0 8px; }
@media (min-width: 900px) { .section { padding: 64px 0 16px; } }
.section-title {
  margin: 0 0 8px;
  font-size: clamp(24px, 5vw, 34px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
}
.section-sub { margin: 0 0 24px; color: var(--text-2); }

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
  counter-reset: step;
}
@media (min-width: 768px) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
}
.step { padding: 22px; border-radius: var(--radius-md); }
@media (min-width: 768px) { .step { padding: 26px; } }
.step-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.step-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: var(--tint);
  color: var(--link);
}
.step-icon svg { width: 24px; height: 24px; }
.step-num {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text-2);
}
.step h3 { margin: 0 0 6px; font-size: 20px; font-weight: 800; letter-spacing: -0.015em; }
.step p { margin: 0; color: var(--text-2); }

.features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
@media (min-width: 640px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) { .features { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.feature {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
}
.feature svg { width: 22px; height: 22px; flex: none; margin-top: 2px; color: var(--link); }
.feature b { display: block; font-size: 16px; }
.feature span { display: block; font-size: 14px; color: var(--text-2); line-height: 1.5; }

.cta { margin-top: 40px; padding: 28px 22px; text-align: center; }
@media (min-width: 768px) { .cta { padding: 44px; } }
.cta h2 { margin: 0 0 8px; font-size: clamp(22px, 4.6vw, 30px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; }
.cta p { margin: 0 auto 22px; max-width: 32em; color: var(--text-2); }
.cta .btn-row { justify-content: center; }

/* Altbilgi */
.site-footer { margin-top: 48px; padding: 24px 0 32px; border-top: 1px solid var(--line); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 4px; }
.footer-links a {
  display: inline-block;
  padding: 8px 10px;
  margin-left: -10px;
  margin-right: 8px;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 999px;
}
.footer-links a:hover { color: var(--link); text-decoration: underline; }
.footer-links a[aria-current="page"] { color: var(--link); }
.copyright { margin: 0; font-size: 14px; color: var(--text-2); }

/* Sayfa kartı (yasal, hesap silme, open, 404) */
.page { padding: 16px 0 0; }
@media (min-width: 768px) { .page { padding: 40px 0 0; } }
.narrow { max-width: 720px; margin: 0 auto; }
.panel { padding: 26px 20px; }
@media (min-width: 768px) { .panel { padding: 44px 52px; } }
.panel + .panel { margin-top: 16px; }

/* Uzun metin tipografisi */
.prose {
  font-size: 17px;
  line-height: 1.75;
  overflow-wrap: break-word;
  word-break: normal;
}
.prose > :first-child { margin-top: 0; }
.prose > :last-child { margin-bottom: 0; }
.prose h1 {
  margin: 0 0 12px;
  font-size: clamp(28px, 7vw, 40px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.prose h2 {
  margin: 2em 0 0.6em;
  padding-top: 1.2em;
  border-top: 1px solid var(--line);
  font-size: clamp(21px, 4.4vw, 26px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
}
.prose h1 + h2,
.prose h1 + p + h2 { border-top: 0; padding-top: 0; }
.prose h3 { margin: 1.6em 0 0.4em; font-size: 19px; font-weight: 700; line-height: 1.35; }
.prose h4 { margin: 1.4em 0 0.4em; font-size: 17px; font-weight: 700; }
.prose p { margin: 0 0 1em; }
.prose ul,
.prose ol { margin: 0 0 1.1em; padding-left: 1.4em; }
.prose li { margin: 0.35em 0; padding-left: 0.2em; }
.prose li::marker { color: var(--link); }
.prose ul ul,
.prose ol ol,
.prose ul ol,
.prose ol ul { margin: 0.35em 0 0.35em; }
.prose strong { font-weight: 700; color: var(--text); }
.prose em { font-style: italic; }
.prose a { font-weight: 600; overflow-wrap: anywhere; }
.prose blockquote {
  margin: 1.2em 0;
  padding: 14px 18px;
  border-left: 3px solid var(--link);
  border-radius: 0 16px 16px 0;
  background: var(--tint);
}
.prose blockquote p:last-child { margin-bottom: 0; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.prose code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.9em;
  padding: 2px 6px;
  border-radius: 6px;
  background: var(--tint);
}
.prose table { display: block; width: 100%; overflow-x: auto; border-collapse: collapse; margin: 0 0 1.2em; font-size: 15px; }
.prose th,
.prose td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose th { font-weight: 700; }
.prose .muted,
.prose small { color: var(--text-2); }

/* Hesap silme */
.steps-inline { counter-reset: s; list-style: none; padding: 0 !important; }
.steps-inline li { counter-increment: s; display: flex; gap: 12px; align-items: flex-start; padding-left: 0 !important; }
.steps-inline li::before {
  content: counter(s);
  flex: none;
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--c-primary);
  color: var(--c-mint);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  margin-top: 1px;
}
.path {
  display: inline;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--tint);
  font-weight: 700;
}

.form-title { margin: 0 0 6px; font-size: clamp(22px, 5vw, 28px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; }
.form-sub { margin: 0 0 24px; color: var(--text-2); }

.field { margin: 0 0 20px; }
.field label,
.field .label {
  display: block;
  margin-bottom: 8px;
  font-size: 15px;
  font-weight: 700;
}
.field .opt { font-weight: 500; color: var(--text-2); }
.input {
  display: block;
  width: 100%;
  min-height: 52px;
  padding: 13px 18px;
  border-radius: 18px;
  border: 1px solid var(--field-border);
  background: var(--field-bg);
  color: var(--text);
  font: inherit;
  font-size: 16px;
  line-height: 1.4;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
textarea.input { min-height: 120px; resize: vertical; border-radius: 20px; }
.input::placeholder { color: var(--text-2); opacity: 1; }
.input:focus { outline: none; border-color: var(--link); box-shadow: 0 0 0 4px var(--focus-ring); }
.input[aria-invalid="true"] { border-width: 2px; border-color: var(--text); }

.hint { display: flex; justify-content: space-between; gap: 12px; margin-top: 6px; font-size: 13px; color: var(--text-2); }

.error {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin-top: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}
.error[hidden] { display: none; }
.error::before {
  content: "!";
  flex: none;
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--text);
  color: var(--bg);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
}

.check,
.field .check {
  display: flex;
  margin-bottom: 0;
  font-size: 16px;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid var(--field-border);
  background: var(--field-bg);
  cursor: pointer;
  font-weight: 600;
  line-height: 1.45;
}
.check input {
  -webkit-appearance: none;
  appearance: none;
  flex: none;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  margin: 0;
  border: 2px solid var(--link);
  border-radius: 7px;
  background: var(--field-bg);
  cursor: pointer;
}
.check input::after {
  content: "";
  width: 6px;
  height: 11px;
  margin-top: -3px;
  border: solid var(--check-mark);
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg) scale(0);
  transition: transform 0.12s ease;
}
.check input:checked { background: var(--check); border-color: var(--check); }
.check input:checked::after { transform: rotate(45deg) scale(1); }
.check input:focus-visible { outline: 3px solid var(--link); outline-offset: 2px; }

.form-alert {
  margin: 0 0 18px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 2px solid var(--text);
  background: var(--tint);
  font-weight: 600;
}
.form-alert[hidden] { display: none; }

.form-actions .btn { width: 100%; }
@media (min-width: 768px) { .form-actions .btn { width: auto; } }
.form-foot { margin: 14px 0 0; font-size: 13px; color: var(--text-2); }

.success { text-align: center; padding: 8px 0; }
.success:focus { outline: none; }
.success-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--c-primary);
  color: var(--c-mint);
  border: 1px solid var(--btn-border);
}
.success-icon svg { width: 30px; height: 30px; }
.success h2 { margin: 0 0 8px; font-size: 24px; font-weight: 800; letter-spacing: -0.02em; }
.success p { margin: 0; color: var(--text-2); }

/* open.html / 404 */
.center-wrap { display: grid; place-items: center; padding-top: 24px; padding-bottom: 24px; }
@media (min-width: 768px) { .center-wrap { padding-top: 56px; padding-bottom: 56px; } }
.open-card { width: 100%; max-width: 520px; padding: 32px 22px; text-align: center; }
@media (min-width: 768px) { .open-card { padding: 44px 40px; } }
.open-icon {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin: 0 auto 18px;
  border-radius: 24px;
  background: var(--c-primary);
  color: var(--c-mint);
  border: 1px solid var(--btn-border);
}
.open-icon svg { width: 34px; height: 34px; }
.open-card h1 {
  margin: 0 0 10px;
  font-size: clamp(24px, 6vw, 30px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.open-card p { margin: 0 0 24px; color: var(--text-2); }
.target-chip {
  display: inline-block;
  max-width: 100%;
  margin: 0 0 20px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--tint);
  font-weight: 700;
  overflow-wrap: anywhere;
}
.target-chip[hidden] { display: none; }
.stack { display: grid; gap: 12px; }
.stack .btn { width: 100%; }
.stack .btn[hidden] { display: none; }
.open-foot { margin: 20px 0 0 !important; font-size: 14px; }

.open-card .big-code {
  margin: 0 0 6px;
  font-size: 64px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--link);
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
