/* Tabu web sitesi. Palet ve yazı yüzleri uygulamanın kendisinden
   (lib/app/theme/): krem zemin, terracotta ve adaçayı, başlıkta Alfa Slab One,
   metinde Figtree. Fontlar klasörün içinde — sayfa dışarıya istek atmıyor. */
@font-face {
  font-family: "Alfa Slab One";
  src: url("fonts/AlfaSlabOne-Regular.ttf") format("truetype");
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("fonts/Figtree-Variable.ttf") format("truetype");
  font-weight: 300 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --bg: #f5ead8;          /* AppColors.bg — sayfa */
  --surface: #ebddc5;     /* AppColors.surface — sayfanın üstüne kalkanlar */
  --paper: #f9f4ed;       /* neutral100 — kartın kağıdı */
  --text: #201e1d;
  --muted: #645c50;       /* neutral700 */
  --line: #dcd3c4;        /* neutral300 */
  --accent: #c67139;
  --accent-200: #ffe1d0;
  --accent-300: #ffc6a5;
  --accent-600: #b2622d;
  --accent-700: #8c491a;
  --sage-700: #56633f;
  --radius-card: 28px;
  --radius-box: 24px;
  --heading: "Alfa Slab One", Georgia, serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.6 "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

img { max-width: 100%; display: block; }
a { color: var(--accent-700); text-underline-offset: 3px; }

h1, h2 {
  font-family: var(--heading);
  font-weight: 400;
  line-height: 1.08;
  text-wrap: balance;
  margin: 0;
}
h3 { font-size: 18px; font-weight: 700; margin: 0 0 6px; }
p { margin: 0; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

.skip {
  position: absolute; left: 12px; top: -48px;
  padding: 8px 14px; border-radius: 999px;
  background: var(--text); color: var(--bg); z-index: 10;
}
.skip:focus { top: 12px; }

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

/* ── Üst bar ─────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 5;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.bar { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 12px; }

.logo {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--heading); font-size: 22px;
  color: var(--accent-700); text-decoration: none;
}
.logo img { width: 36px; height: 36px; border-radius: 9px; }
.logo-small { font-size: 18px; }
.logo-small img { width: 28px; height: 28px; border-radius: 7px; }

.site-header nav { display: flex; align-items: center; gap: 4px; }
.site-header nav a {
  padding: 8px 14px; border-radius: 999px;
  color: var(--text); font-size: 15px; font-weight: 600; text-decoration: none;
}
.site-header nav a:hover { background: var(--surface); }
.site-header nav .nav-cta { background: var(--accent-700); color: var(--bg); }
.site-header nav .nav-cta:hover { background: var(--accent-600); }
@media (max-width: 560px) {
  .site-header nav a:not(.nav-cta) { display: none; }
}

/* ── Giriş ───────────────────────────────────────────────── */
.hero { padding: 64px 0 88px; overflow: hidden; }
.hero-grid {
  display: grid; grid-template-columns: 1.15fr 0.85fr;
  align-items: center; gap: 56px;
}
.hero h1 { font-size: clamp(40px, 6.2vw, 66px); color: var(--text); }
.lead { margin-top: 20px; font-size: 19px; color: var(--muted); max-width: 44ch; }

@media (max-width: 860px) {
  .hero { padding-top: 40px; }
  .hero-grid { grid-template-columns: 1fr; gap: 64px; }
  .deck { justify-self: center; }
}

/* ── Mağaza düğmeleri ────────────────────────────────────── */
.stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.stores-center { justify-content: center; }
.store {
  display: inline-flex; flex-direction: column; justify-content: center;
  min-width: 172px; min-height: 58px; padding: 10px 22px;
  border-radius: 16px;
  background: var(--text); color: var(--bg);
  text-decoration: none; line-height: 1.2;
}
.store:hover { background: #3a3530; }
.store-label { font-size: 18px; font-weight: 700; }
.store-note { font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; opacity: 0.75; }
/* Mağaza bağlantısı yokken: sessiz ve tıklanmaz görünümlü. */
.store.is-soon { background: var(--surface); color: var(--text); cursor: default; }
.store.is-soon:hover { background: var(--surface); }

/* ── Kart destesi (uygulamadaki kartın kendisi) ─────────── */
.deck {
  position: relative;
  width: min(300px, 76vw);
  aspect-ratio: 176 / 250;
}
.deck .card {
  position: absolute; inset: 0;
  border-radius: var(--radius-card);
}
.card-back {
  background: var(--surface);
  box-shadow: inset 0 0 0 10px var(--surface), inset 0 0 0 12px var(--accent-300);
}
.card-back-2 { transform: translate(22px, 18px) rotate(7deg); opacity: 0.7; }
.card-back-1 { transform: translate(-16px, 12px) rotate(-5deg); }
.card-face {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 22px 18px 20px;
  background: var(--paper);
  box-shadow: 0 22px 44px rgba(64, 35, 16, 0.18), 0 2px 6px rgba(64, 35, 16, 0.08);
  transform: rotate(-1.5deg);
}
.card-tag {
  position: absolute; top: 20px;
  padding: 4px 12px; border-radius: 999px;
  background: var(--accent-200); color: var(--accent-700);
  font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
}
.card-word { font-family: var(--heading); font-size: clamp(36px, 10vw, 46px); line-height: 1; }
.card-rule { width: 52px; height: 4px; border-radius: 999px; background: var(--accent); margin: 18px 0 16px; }
.card-taboo {
  list-style: none; margin: 0; padding: 0;
  text-align: center; font-size: 21px; font-weight: 600; line-height: 1.6;
}

/* ── Bölümler ────────────────────────────────────────────── */
.section { padding: 72px 0; }
/* Menüden bir bölüme atlayınca başlık sabit üst barın altında kalmasın. */
section[id] { scroll-margin-top: 68px; }
.section h2 { font-size: clamp(30px, 4vw, 42px); margin-bottom: 32px; }

.steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.steps li { background: var(--surface); border-radius: var(--radius-box); padding: 26px 24px 28px; }
.step-no {
  display: grid; place-items: center;
  width: 40px; height: 40px; margin-bottom: 18px; border-radius: 50%;
  background: var(--accent-700); color: var(--bg);
  font-family: var(--heading); font-size: 18px;
}
.steps p, .feature p { color: var(--muted); }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 16px; }
.feature { background: var(--surface); border-radius: var(--radius-box); padding: 26px 24px 28px; }
.feature::before {
  content: ""; display: block;
  width: 28px; height: 4px; border-radius: 999px; margin-bottom: 18px;
  background: var(--accent);
}
.feature:nth-child(even)::before { background: var(--sage-700); }

/* ── Kapanış ─────────────────────────────────────────────── */
.cta { padding-bottom: 96px; }
.cta-inner {
  text-align: center;
  background: var(--accent-700); color: var(--bg);
  border-radius: 32px; padding: 56px 24px 60px;
}
.cta-icon { width: 88px; height: 88px; border-radius: 20px; margin: 0 auto 24px; box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2); }
.cta h2 { margin-bottom: 10px; }
.cta p { color: var(--accent-200); }
.cta .store.is-soon { background: rgba(245, 234, 216, 0.16); color: var(--bg); }

/* ── Alt bilgi ───────────────────────────────────────────── */
.site-footer { border-top: 1px solid var(--line); padding: 32px 0 44px; }
.footer-grid { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.site-footer nav a { color: var(--muted); font-size: 15px; font-weight: 600; text-decoration: none; }
.site-footer nav a:hover { color: var(--text); text-decoration: underline; }
.copyright { color: var(--muted); font-size: 14px; }

/* ── Metin sayfaları (gizlilik, hesap silme) ────────────── */
.doc { max-width: 720px; margin: 0 auto; padding: 40px 24px 72px; }
.doc h1 { font-size: clamp(30px, 6vw, 40px); margin: 8px 0 8px; }
.doc h2 { font-size: 22px; margin: 40px 0 10px; }
.doc h3 { font-size: 17px; margin: 24px 0 6px; }
.doc p, .doc li { max-width: 68ch; }
.doc p + p, .doc p + ul, .doc ul + p { margin-top: 12px; }
.doc ul, .doc ol { padding-left: 1.3em; }
.doc li + li { margin-top: 6px; }
.doc .meta { color: var(--muted); font-size: 15px; }
.doc .lang { display: flex; gap: 8px; margin: 20px 0 8px; }
.doc .lang a {
  padding: 6px 14px; border-radius: 999px;
  background: var(--surface); color: var(--text);
  text-decoration: none; font-size: 15px; font-weight: 600;
}
.doc .card { background: var(--surface); border-radius: 20px; padding: 20px 22px; margin: 20px 0; }
.doc .card > :first-child { margin-top: 0; }
.doc .card > :last-child { margin-bottom: 0; }
.doc .button {
  display: inline-block; margin-top: 14px; padding: 12px 20px; border-radius: 999px;
  background: var(--accent-700); color: var(--bg); font-weight: 700; text-decoration: none;
}
.doc code {
  font: 600 15px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace;
  background: var(--surface); padding: 1px 6px; border-radius: 6px;
}
.doc hr { border: 0; border-top: 1px solid var(--line); margin: 56px 0 8px; }
