/* Kurdele — ortak stiller. Yazı tipleri kendi sunucumuzdan (SIL OFL 1.1), Google'a istek yok.
   Fraunces: kart ve başlıklar (ses) · Bricolage Grotesque: arayüz (işçi, Sezlab'ın yazı tipi) · Martian Mono: kodlar.
   Etiketlerde text-transform: uppercase kullanma (Türkçede i → I oluyor); büyük harf gerekiyorsa metni öyle yaz. */

@font-face { font-family: 'Fraunces'; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url(font/fraunces-normal-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Fraunces'; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url(font/fraunces-normal-latin.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; }
@font-face { font-family: 'Fraunces'; font-style: italic; font-weight: 400 600; font-display: swap;
  src: url(font/fraunces-italic-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Fraunces'; font-style: italic; font-weight: 400 600; font-display: swap;
  src: url(font/fraunces-italic-latin.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; }
@font-face { font-family: 'Bricolage Grotesque'; font-style: normal; font-weight: 300 800; font-stretch: 100%; font-display: swap;
  src: url(font/bricolage-grotesque-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Bricolage Grotesque'; font-style: normal; font-weight: 300 800; font-stretch: 100%; font-display: swap;
  src: url(font/bricolage-grotesque-latin.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; }
@font-face { font-family: 'Martian Mono'; font-style: normal; font-weight: 400 500; font-stretch: 100%; font-display: swap;
  src: url(font/martian-mono-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Martian Mono'; font-style: normal; font-weight: 400 500; font-stretch: 100%; font-display: swap;
  src: url(font/martian-mono-latin.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; }

:root {
  /* Gece sahnesi (alıcı ekranı, giriş): Sezlab laciverti ailesi */
  --gece: #0D1121; --gece-2: #151A30; --gece-3: #222842;
  /* Kâğıt (arayüz zemini): Sezlab "Kum" #F1EDE4'e yakın sıcak kırık beyaz */
  --kagit: #F4EFE6; --kagit-2: #EAE2D4; --kagit-3: #D9CEBB; --beyaz: #FCFAF6;
  --murekkep: #14182B; --murekkep-2: #4A4F64; --murekkep-3: #767B8E;
  /* Vurgular: tek doygun vurgu kızılcık; altın yalnızca ince ayrıntı. Turuncu yalnızca Sezlab noktası. */
  --kizil: #A3302B; --kizil-2: #84231F; --kizil-3: #F3DCD6;
  --cam: #1E4A3B; --altin: #C9A25A; --altin-2: #EBD7A6;
  --turuncu: #FF7A1A; --mavi: #4A76FF;
  --serif: 'Fraunces', 'Iowan Old Style', 'Palatino Linotype', Palatino, Georgia, serif;
  --sans: 'Bricolage Grotesque', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: 'Martian Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  --golge-1: 0 1px 2px rgba(20, 24, 43, .06), 0 4px 16px rgba(20, 24, 43, .06);
  --golge-2: 0 2px 6px rgba(20, 24, 43, .08), 0 22px 48px rgba(20, 24, 43, .14);
  --egri: cubic-bezier(.2, .7, .2, 1);
  --doku: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .35 0 0 0 0 .27 0 0 0 0 .18 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.16'/%3E%3C/svg%3E");
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html.dil-bekle body { opacity: 0; }
body {
  margin: 0; min-height: 100dvh;
  font: 400 1rem/1.55 var(--sans); color: var(--murekkep);
  background: var(--kagit) var(--doku);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  font-variant-ligatures: no-common-ligatures; /* Türkçede fi ligatürü i'nin noktasını yutuyor */
  transition: opacity .18s ease;
}
img, svg, canvas { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; color: inherit; }
a { color: inherit; }
::selection { background: var(--altin-2); color: var(--murekkep); }
:focus-visible { outline: 2px solid var(--mavi); outline-offset: 3px; border-radius: 6px; }
.gizli, [hidden] { display: none !important; }
.ekran-okuyucu { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.12; letter-spacing: -.012em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 1.6rem + 3.6vw, 4.4rem); }
h2 { font-size: clamp(1.75rem, 1.35rem + 1.9vw, 2.75rem); }
h3 { font-size: 1.3rem; }
p { margin: 0; text-wrap: pretty; }
.ust-etiket { font: 600 .78rem/1.2 var(--sans); letter-spacing: .08em; color: var(--kizil); }
.soluk { color: var(--murekkep-2); }

/* Logo: "kurdele." — kalın, sonda Sezlab'ın turuncu noktası */
.logo { display: inline-flex; align-items: center; gap: .5rem; text-decoration: none; font: 700 1.2rem/1 var(--sans); letter-spacing: -.02em; }
.logo svg { width: 26px; height: 26px; }
.logo b { font-weight: 800; }
.logo i { font-style: normal; color: var(--turuncu); }

/* Düğmeler: en az 48 px dokunma hedefi */
.dugme {
  -webkit-appearance: none; appearance: none; border: 0; cursor: pointer; text-decoration: none;
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem; white-space: nowrap;
  min-height: 50px; padding: 0 1.4rem; border-radius: 999px;
  font: 600 1rem/1 var(--sans); letter-spacing: -.005em;
  background: var(--murekkep); color: var(--beyaz);
  transition: transform .12s ease, background-color var(--egri) .2s, box-shadow .2s, opacity .2s;
  -webkit-tap-highlight-color: transparent; user-select: none; -webkit-user-select: none;
}
.dugme:active { transform: scale(.97); }
.dugme[disabled], .dugme[aria-disabled="true"] { opacity: .45; cursor: not-allowed; transform: none; }
.dugme.ana { background: var(--kizil); color: #fff; box-shadow: 0 1px 0 rgba(255,255,255,.18) inset, 0 8px 22px rgba(163, 48, 43, .28); }
.dugme.ana:hover { background: var(--kizil-2); }
.dugme.krem { background: var(--kagit); color: var(--murekkep); }
.dugme.krem:hover { background: #fff; }
.dugme.cizgi { background: transparent; color: inherit; box-shadow: inset 0 0 0 1.5px currentColor; }
.dugme.cizgi:hover { background: rgba(127, 127, 127, .08); }
.dugme.sade { background: transparent; color: inherit; padding: 0 .8rem; }
.dugme.kucuk { min-height: 40px; padding: 0 1rem; font-size: .92rem; }
.dugme.tam { width: 100%; }
.dugme .fiyat-etiket { font-weight: 500; opacity: .85; }
.dugme svg { width: 20px; height: 20px; flex: none; }

/* Form alanları: 16 px yazı (iOS yakınlaştırmasın) */
.alan { display: grid; gap: .45rem; }
.alan > span { font: 600 .9rem/1.2 var(--sans); }
.alan small { color: var(--murekkep-3); font-size: .82rem; }
.giris, textarea.giris, select.giris {
  width: 100%; min-height: 50px; padding: .8rem 1rem; border-radius: 14px;
  border: 1.5px solid var(--kagit-3); background: var(--beyaz);
  font-size: 1rem; line-height: 1.4; transition: border-color .15s, box-shadow .15s;
}
textarea.giris { min-height: 140px; resize: vertical; font-family: var(--serif); font-size: 1.08rem; line-height: 1.5; }
.giris:focus { outline: none; border-color: var(--murekkep); box-shadow: 0 0 0 4px rgba(20, 24, 43, .08); }
.giris::placeholder { color: #A39C90; }
.sayac { justify-self: end; font: 500 .78rem/1 var(--mono); color: var(--murekkep-3); }
.sayac.dolu { color: var(--kizil); }

/* Kartlar ve yüzeyler */
.yuzey { background: var(--beyaz); border-radius: 22px; box-shadow: var(--golge-1); }
.rozet { display: inline-flex; align-items: center; gap: .3rem; padding: .28rem .6rem; border-radius: 999px; font: 600 .74rem/1 var(--sans); background: var(--kagit-2); color: var(--murekkep-2); }
.rozet.yildiz { background: var(--murekkep); color: var(--altin-2); }
.rozet.yildiz::before { content: '★'; font-size: .7rem; }

/* Bildirim (toast) */
.bildirim {
  position: fixed; left: 50%; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 90;
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  background: var(--murekkep); color: var(--beyaz); padding: .8rem 1.15rem; border-radius: 14px;
  font: 500 .95rem/1.3 var(--sans); box-shadow: var(--golge-2); max-width: calc(100vw - 32px); text-align: center;
  transition: opacity .2s, transform .25s var(--egri);
}
.bildirim.acik { opacity: 1; transform: translate(-50%, 0); }

/* Dil düğmesi */
.dil-dugme { -webkit-appearance: none; appearance: none; border: 0; background: transparent; cursor: pointer; font: 600 .85rem/1 var(--sans); padding: .55rem .7rem; border-radius: 999px; color: inherit; opacity: .8; }
.dil-dugme:hover { opacity: 1; background: rgba(127,127,127,.12); }

/* Alt bilgi */
.alt-bilgi { padding: 2.5rem 1.25rem calc(2rem + env(safe-area-inset-bottom)); display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; justify-content: center; align-items: center; font-size: .88rem; color: var(--murekkep-2); }
.alt-bilgi a { text-decoration: none; }
.alt-bilgi a:hover { text-decoration: underline; }
.sezlab-imza { font-weight: 600; text-decoration: none; }
.sezlab-imza b { font-weight: 800; } .sezlab-imza span { font-weight: 400; } .sezlab-imza i { font-style: normal; color: var(--turuncu); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
