/*
 * Tanitim sitesinin duzeni.
 *
 * Olculer Fyrbolt'un webHub'indan birebir alindi (o da Figma "Web - Hub"
 * tasarimindan, 1440px genislikte cizilmis ve 1:1 px eslenmisti). Renk ve
 * tipografi sabitleri BURADA TANIMLI DEGIL, hepsi theme.css'ten geliyor —
 * mavi/yesil farki yalnizca orada, bu dosyada tek bir hex yok.
 *
 * Fyrbolt'takinden TEK YAPISAL FARK: oradaki yasal sayfalar statik HTML'di
 * (yayinlanmis APK'lar /legal/privacy.html adresini koduna gommustu) ve ayri
 * bir legal.css'leri vardi. Shoopist'te oyle bir kisit yok — yasal sayfalar
 * React rotasi (/privacy, /terms, /delete-account) ve stilleri bu dosyanin
 * sonundaki "Yasal sayfalar" bolumunde.
 *
 * Dosya yine de public/ altinda ve <link> ile yukleniyor, src/ altinda DEGIL:
 * belirtec dosyasiyla (theme.css) ayni yerde durmasi, ileride Vite paketine
 * giremeyen bir sayfa eklendiginde tasima gerektirmiyor.
 */

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--primary);
}

h1,
h2,
h3 {
  margin: 0;
}

p {
  margin: 0;
}

/* ── Duzen ─────────────────────────────────────────────────────────────── */

.page {
  width: 100%;
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 0 var(--page-pad);
}

.section {
  padding: 100px 0;
}

.section-tight {
  padding: 40px 0 100px;
}

.section-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
  margin-bottom: 64px;
}

/* Uzun paragraflari dar tutar: tasarimda 640px'lik bir kolon var. */
.section-head-narrow {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

/* ── Tipografi ─────────────────────────────────────────────────────────── */

.display {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: var(--text-hero);
  line-height: 1.05;
}

.title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--text-h2);
  line-height: 1.1;
}

.subtitle {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--text-h4);
  line-height: 1.1;
}

.heading {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--text-h3);
  line-height: 1.1;
}

.card-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-card);
  line-height: 1.2;
}

.lead {
  font-size: var(--text-lead);
  line-height: 1.6;
}

.lead-sm {
  font-size: var(--text-lead-sm);
  line-height: 1.6;
}

/*
 * Bolum ustu kucuk kapital baslik. Amber, kalin ve harf araligi acik:
 * tasarimda her bolumun girisinde bu var.
 */
.eyebrow {
  color: var(--accent);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.muted {
  color: var(--muted);
}

.text-sm {
  font-size: var(--text-sm);
  line-height: 1.5;
}
.text-xs {
  font-size: var(--text-xs);
  line-height: 1.5;
}
.text-2xs {
  font-size: var(--text-2xs);
  line-height: 1.5;
}

/*
 * Yalnizca ekran okuyucular icin. `display: none` OLMAZ — o, ogeyi
 * erisilebilirlik agacindan da siler ve etiket okunmaz olurdu.
 */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ── Ust bar ───────────────────────────────────────────────────────────── */

.site-header {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-height: 160px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--text-lead);
  text-decoration: none;
}

.brand-mark {
  width: 128px;
  height: 128px;
  border-radius: var(--radius);
}

.brand-mark-sm {
  width: 96px;
  height: 96px;
  border-radius: var(--radius-sm);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  position: relative;
  color: var(--muted);
  font-size: var(--text-sm);
  text-decoration: none;
  padding-bottom: 6px;
}

.nav-link:hover {
  color: var(--text);
}

.nav-link.is-active {
  color: var(--text);
  font-weight: 600;
}

/* Etkin baglantinin altindaki kisa amber cizgi (tasarimda 12x2). */
.nav-link.is-active::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 12px;
  height: 2px;
  border-radius: 1px;
  background: var(--accent);
}

.site-header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* ── Butonlar ──────────────────────────────────────────────────────────── */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: var(--text-body);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}

.button-sm {
  padding: 10px 20px;
  font-size: var(--text-xs);
  border-radius: var(--radius-sm);
  font-weight: 600;
}

.button-lg {
  padding: 16px 40px;
}

.button-block {
  display: flex;
  width: 100%;
  padding: 16px 24px;
  border-radius: var(--radius);
  font-size: var(--text-sm);
}

.button-primary {
  background: var(--primary);
  color: var(--on-primary);
}

.button-primary:hover {
  background: color-mix(in srgb, var(--primary) 88%, white);
}

.button-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--border-card);
  font-weight: 600;
}

.button-outline:hover {
  border-color: var(--primary);
}

/* Henuz indirilemeyen paketler icin. Baglanti DEGIL, bu yuzden imlec de yok. */
.button-disabled {
  background: transparent;
  border-color: var(--border-card);
  color: var(--muted);
  cursor: default;
  font-weight: 600;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* ── Giris bolumu ──────────────────────────────────────────────────────── */

.hero {
  background: linear-gradient(
    to bottom,
    var(--bg) 0%,
    var(--bg-grad-mid) 50%,
    var(--bg-grad-end) 100%
  );
  padding: 100px 0 120px;
}

.hero-centered {
  padding: 120px 0 160px;
}

.hero-inner {
  display: flex;
  align-items: center;
  gap: 64px;
}

.hero-copy {
  display: flex;
  flex: 1 0 0;
  min-width: 0;
  flex-direction: column;
  gap: 32px;
}

.hero-copy .lead {
  max-width: 34ch;
}

.hero-art {
  position: relative;
  flex: 1 0 0;
  min-width: 0;
  height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/*
 * Cihazin arkasindaki isik. Akisi etkilememesi icin konumdan cikarildi;
 * `pointer-events: none` olmasa uzerindeki baglantilari yutardi.
 */
.hero-glow {
  position: absolute;
  width: 620px;
  height: 620px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.hero-device {
  position: relative;
  width: 360px;
  height: 540px;
  object-fit: cover;
  border: 1px solid var(--border-frame);
  border-radius: var(--radius-device);
  box-shadow: var(--shadow-device);
}

/* ── Kartlar ───────────────────────────────────────────────────────────── */

.card-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 24px;
}

/*
 * auto-fit + minmax: sutun sayisi genislige gore kendiliginden ayarlanir,
 * ayri bir medya sorgusu gerekmez.
 */
.card-grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.card-grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
}

/*
 * `color` ikonun KENDISI icin: Icon.tsx satir ici SVG ciziyor ve konturu
 * currentColor. Kutuya renk vermek, ikon dosyalarina hex gommeden temanin
 * --primary'sini takip etmelerini sagliyor.
 */
.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--icon-bg);
  color: var(--primary);
  flex-shrink: 0;
}

.card-head {
  display: flex;
  align-items: center;
  gap: 16px;
}

.card-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card-label {
  font-size: var(--text-xs);
  font-weight: 600;
}

/* Kart icindeki ince ayirici (tasarimda ayri bir Line katmani). */
.rule {
  width: 100%;
  height: 0;
  margin: 0;
  border: 0;
  border-top: 1px solid var(--border-card);
}

/* Kartlar arasi bosluk kalmasi icin baslik ve govde arasi otomatik itiliyor. */
.card .button-block {
  margin-top: auto;
}

/* ── Indirme sayfasi ───────────────────────────────────────────────────── */

.platform-grid {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  max-width: 720px;
}

.platform-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}

.platform-card > a,
.platform-card.is-disabled {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px;
  text-decoration: none;
  color: inherit;
}

.platform-card > a:hover {
  border-radius: var(--radius-md);
  background: color-mix(in srgb, var(--primary) 8%, transparent);
}

.platform-card.is-disabled {
  opacity: 0.6;
}

/* `color`: bkz. .card-icon — ikon konturu currentColor'dan geliyor. */
.platform-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: var(--icon-bg-solid);
  color: var(--primary);
  flex-shrink: 0;
}

.platform-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1 0 0;
  min-width: 0;
}

/*
 * `text-transform: uppercase` BILEREK YOK.
 *
 * Tarayici buyuk harfe cevirirken <html lang> degerini dikkate aliyor ve
 * Turkce'de i -> İ esleniyor. Bu, Turkce kelimeler icin DOGRU davranis (bkz.
 * .eyebrow) ama marka adlarini bozuyor: "Android" -> "ANDROİD", "iOS" -> "İOS".
 * Bu yuzden etiketler ceviri dosyasinda zaten buyuk harfle yaziliyor.
 */
.platform-label {
  color: var(--muted);
  font-size: var(--text-3xs);
  letter-spacing: 0.04em;
}

.platform-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-lead-sm);
}

/*
 * Rozet AKISTAN CIKARILDI: kartin icinde yer kaplasaydi "Shoopist Desktop" ve
 * "Apple App Store" adlari iki satira kirilirdi (dar sutunda olculdu).
 * Tasarimda bu rozet yok, sonradan eklendi — o yuzden duzeni bozmamasi gerekiyor.
 */
.badge {
  position: absolute;
  top: 10px;
  right: 12px;
  padding: 3px 8px;
  border: 1px solid var(--border-card);
  border-radius: 999px;
  color: var(--muted);
  font-size: var(--text-3xs);
  white-space: nowrap;
}

/* Rozetin altina denk gelen ada sag bosluk birakiliyor. */
.platform-card:has(.badge) .platform-name {
  padding-right: 84px;
}

/* ── Masaustu sayfasi ──────────────────────────────────────────────────── */

.version-badge {
  align-self: center;
  padding: 12px 24px;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-sm);
  font-size: var(--text-xs);
  font-weight: 600;
}

/* Paketler yayinlanana kadar gorunen bilgilendirme kutusu. */
.notice {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 32px;
  margin-bottom: 24px;
  background: var(--surface);
  border: 1px solid var(--border-card);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-lg);
}

/* ── Kapanis cagrisi ───────────────────────────────────────────────────── */

.final-cta {
  background: linear-gradient(to bottom, var(--bg-grad-soft), var(--bg));
  padding: 120px 0;
}

.final-cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  text-align: center;
}

.final-cta-inner .lead-sm {
  max-width: 720px;
}

/* ── Dil secici ────────────────────────────────────────────────────────── */

.language-picker select {
  appearance: none;
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  font-family: inherit;
  font-size: var(--text-xs);
  cursor: pointer;
}

.language-picker select:hover {
  color: var(--text);
  border-color: var(--primary);
}

/*
 * Acilir listenin secenekleri: koyu temada varsayilanlari beyaz zeminli gelir.
 * --surface degil --surface-solid: <option> kendi penceresinde ciziliyor,
 * altinda sayfa olmadigi icin saydam bir zemin isletim sisteminin beyazini
 * gosterirdi.
 */
.language-picker option {
  background: var(--surface-solid);
  color: var(--text);
}

/* ── Alt bar ───────────────────────────────────────────────────────────── */

.site-footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 60px 0 40px;
}

.site-footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
}

.site-footer-brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 300px;
}

.site-footer-columns {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-column-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-xs);
  color: var(--text);
}

.footer-column a {
  color: var(--muted);
  font-size: var(--text-2xs);
  text-decoration: none;
}

.footer-column a:hover {
  color: var(--primary);
}

.site-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: var(--text-3xs);
}

/* ── Dar ekran ─────────────────────────────────────────────────────────── */

@media (max-width: 1080px) {
  :root {
    --page-pad: 40px;
    --text-hero: 48px;
    --text-h1: 42px;
    --text-h2: 34px;
    --text-h3: 32px;
    --text-h4: 28px;
  }

  /* Hero tek sutuna iniyor; gorsel metnin altina gecerek okumayi bolmuyor. */
  .hero-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-art {
    width: 100%;
    height: 460px;
  }

  .site-header-inner {
    min-height: 112px;
  }

  .brand-mark {
    width: 72px;
    height: 72px;
  }
}

@media (max-width: 720px) {
  :root {
    --page-pad: 24px;
    --text-hero: 38px;
    --text-h2: 28px;
    --text-h3: 26px;
  }

  .section {
    padding: 64px 0;
  }

  .hero {
    padding: 56px 0 72px;
  }

  .hero-centered {
    padding: 64px 0 80px;
  }

  /*
   * Bolum baglantilari gizleniyor, dil secici ve indirme butonu KALIYOR:
   * "Ana sayfa" zaten logoya basarak ulasiliyor, ama dil secimi ve uygulamaya
   * gecis baska yerden ulasilamiyor.
   */
  .site-nav {
    display: none;
  }

  .site-header-inner {
    min-height: 88px;
    gap: 12px;
  }

  .brand-mark {
    width: 56px;
    height: 56px;
  }

  .hero-art {
    height: 380px;
  }

  .hero-device {
    width: 260px;
    height: 390px;
  }

  .hero-glow {
    width: 420px;
    height: 420px;
  }

  /* Dar ekranda butonlar yan yana sigmiyor; ayni genislikte alt alta. */
  .cta-row {
    flex-direction: column;
    align-self: stretch;
  }

  .cta-row .button {
    width: 100%;
  }

  .card,
  .notice {
    padding: 24px;
  }

  .site-footer-brand {
    width: 100%;
  }

  .site-footer-columns {
    gap: 32px;
  }
}

/* ── Yasal sayfalar ────────────────────────────────────────────────────── */

/*
 * Gizlilik, kullanim sartlari ve hesap silme sayfalarinin duzeni.
 *
 * Fyrbolt'ta bu kurallar ayri bir legal.css'teydi cunku o sayfalar STATIK HTML
 * ve Vite paketine erisemiyorlardi. Shoopist'te ucu de React rotasi, yani ayri
 * dosyaya gerek yok — kurallar buraya, kullandiklari .page/.site-header/.button
 * siniflarinin yanina kondu.
 */

.legal-main {
  background: linear-gradient(
    to bottom,
    var(--bg) 0%,
    var(--bg-grad-mid) 50%,
    var(--bg-grad-end) 100%
  );
  padding: 80px 0 120px;
}

.legal-layout {
  display: flex;
  align-items: flex-start;
  gap: 80px;
}

.legal-side {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 260px;
  flex-shrink: 0;
  /* Yasal metinler uzun; icindekiler kaydirma boyunca gorunur kalsin. */
  position: sticky;
  top: 24px;
}

.legal-side .eyebrow {
  font-family: var(--font-display);
}

.legal-docs {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.legal-docs a {
  padding: 10px 14px;
  color: var(--muted);
  font-size: var(--text-2xs);
  text-decoration: none;
  border-bottom: 1px solid var(--border-card);
}

.legal-docs a:last-child {
  border-bottom: 0;
}

.legal-docs a:hover {
  color: var(--text);
  background: color-mix(in srgb, var(--primary) 8%, transparent);
}

/* Acik olan belge. aria-current ile isaretli, stil ondan turetiliyor. */
.legal-docs a[aria-current='page'] {
  color: var(--text);
  font-weight: 600;
  background: color-mix(in srgb, var(--primary) 12%, transparent);
  box-shadow: inset 2px 0 0 var(--primary);
}

/*
 * Icindekiler. Fyrbolt'ta legal.js bunu DOM'daki h2'leri gezerek uretiyordu;
 * burada React ayni listeyi sayfanin bolum verisinden ciziyor (bkz.
 * components/LegalPage.tsx). Kaynak yine tek: bolum basliklarinin kendisi.
 */
.legal-toc {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.legal-toc a {
  display: flex;
  gap: 12px;
  align-items: baseline;
  text-decoration: none;
  color: var(--muted);
  font-size: var(--text-xs);
}

.legal-toc a:hover {
  color: var(--text);
}

.legal-toc .toc-num {
  flex-shrink: 0;
  color: var(--primary);
  font-size: var(--text-3xs);
  font-weight: 700;
}

/* Uzun baslik yan sutunu genisletmesin. */
.legal-toc .toc-label {
  flex: 1 0 0;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.legal-doc {
  flex: 1 0 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.legal-head {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.legal-head h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--text-h2);
  line-height: 1.1;
  margin: 0;
}

.legal-head .updated {
  color: var(--accent);
  font-size: var(--text-xs);
  margin: 0;
}

/*
 * Metnin kendisi. Genislik SINIRLI: 78ch, uzun paragraflarin satir basi
 * kaybettirmeden okundugu olcu.
 */
.legal-body {
  max-width: 78ch;
}

.legal-body h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-lead);
  color: var(--text);
  line-height: 1.3;
  margin: 32px 0 12px;
  /* Baslik icindekiler baglantisiyla atlaninca yapiskan yan sutunun altinda
     kalmasin. */
  scroll-margin-top: 24px;
}

/* Ilk bolumun basligi: ustunde .legal-doc'un 40px'lik bosluğu zaten var. */
.legal-body > section:first-child > h2 {
  margin-top: 0;
}

.legal-body h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-body);
  color: var(--text);
  margin: 24px 0 8px;
}

.legal-body p,
.legal-body li {
  color: var(--muted);
  font-size: var(--text-sm);
  line-height: 1.6;
}

.legal-body p {
  margin: 0 0 12px;
}

.legal-body strong {
  color: var(--text);
  font-weight: 600;
}

.legal-body ul,
.legal-body ol {
  padding-left: 22px;
  margin: 0 0 12px;
}

.legal-body li {
  margin-bottom: 6px;
}

/* Ozet kutusu ("Kisaca: ..."). */
.legal-body .card {
  background: var(--surface);
  border: 1px solid var(--border-card);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin: 0 0 12px;
  gap: 0;
}

.legal-body .card p:last-child,
.legal-body .card ul:last-child {
  margin-bottom: 0;
}

/* Paket adi gibi birebir yazilmasi gereken degerler. */
.legal-body code {
  padding: 2px 6px;
  border-radius: 4px;
  background: color-mix(in srgb, var(--primary) 14%, transparent);
  color: var(--text);
  font-size: 0.92em;
}

/* ── Davet karsilama ───────────────────────────────────────────────────── */

/*
 * Davet kodu. Iri, kalin ve harf araligi acik: ekrandan okunup baska bir
 * cihaza ELLE yaziliyor, bu yuzden karakterlerin tek tek ayirt edilmesi
 * gerekiyor. `user-select: all` tek tiklamayla tamamini secmeyi sagliyor.
 */
.invite-code {
  width: 100%;
  padding: 20px 24px;
  background: var(--surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  font-family: var(--font-display);
  font-size: var(--text-h3);
  font-weight: 800;
  letter-spacing: 0.18em;
  /* Harf araligi sagda fazladan bosluk birakiyor; ortalanmis metin bu yuzden
     bir tik sola kayik duruyordu. */
  text-indent: 0.18em;
  text-align: center;
  cursor: pointer;
  user-select: all;
}

.invite-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 420px;
}

/* ── "Yakinda" sablonu ─────────────────────────────────────────────────── */

/*
 * Icerigi HENUZ YAZILMAMIS sayfalar icin. Bos bir sayfa cizmek yerine acikca
 * "burasi hazir degil" deniyor ve ziyaretci calisan bir yere yonlendiriliyor.
 *
 * Hangi sayfalarin bunu kullandigi tek yerden gorulebilsin diye sablon ayri
 * bir bilesen: bkz. components/ComingSoon.tsx.
 */
.coming-soon-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: var(--radius-lg);
  background: var(--icon-bg);
  color: var(--primary);
}

@media (max-width: 1080px) {
  .legal-layout {
    flex-direction: column;
    gap: 40px;
  }

  /* Tek sutuna inince yapismasi anlamsiz: yan sutun artik metnin ustunde. */
  .legal-side {
    position: static;
    width: 100%;
  }

  .legal-toc {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px 24px;
  }
}

@media (max-width: 720px) {
  .legal-main {
    padding: 48px 0 72px;
  }

  .invite-code {
    font-size: var(--text-h4);
    letter-spacing: 0.12em;
    text-indent: 0.12em;
  }
}
