/* Solids Journal: tek stil dosyası. Harici font, CDN ya da script yok. */
@font-face { font-family: "Nunito"; src: url("/assets/fonts/Nunito-Bold.woff2") format("woff2"), url("/assets/fonts/Nunito-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("/assets/fonts/Nunito-ExtraBold.woff2") format("woff2"), url("/assets/fonts/Nunito-ExtraBold.ttf") format("truetype"); font-weight: 800; font-display: swap; }

:root {
  /* Uygulamanın paleti: zemin saf beyaz, kart #F5F5F7, kontrol dolgusu #EEEEF1 */
  --bg: #FFFFFF; --surface: #F5F5F7; --fill: #EEEEF1; --hair: #E3E3E8;
  --ink: #283240; --ink2: #5B6472;
  --link: #17783F;          /* metin yeşili: beyazda 5,4:1, #F5F5F7'de 5,0:1 */
  --brand: #1FA65A;         /* yalnız süs (nokta, çizgi); metinde kullanılmaz */
  --tint-base: #FFFFFF;     /* mozaik tonları bu renkle karışır */
    --wide: 1120px; --read: 700px;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000; --surface: #1C1C1E; --fill: #2C2C2E; --hair: #38383A;
    --ink: #F2F2F5; --ink2: #A1A7B3; --link: #6FD08A; --brand: #56C26C;
    --tint-base: #1C2430;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
/* rem tabanlı: kullanıcının tarayıcı yazı boyutu ayarı tüm sayfayı ölçekler */
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 1.0625rem/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
picture { display: block; }
picture img { display: block; width: 100%; }
a { color: var(--link); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--link); outline-offset: 3px; border-radius: 6px; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 10px; z-index: 10; }
.skip:focus { top: 12px; }

h1, h2, h3, .brand, .eyebrow { font-family: "Nunito", -apple-system, system-ui, sans-serif; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.01em; text-wrap: balance; }
h1 { font-weight: 800; font-size: clamp(2rem, 1.4rem + 2.6vw, 2.5rem); margin: 2.5rem 0 .5rem; }
h2 { font-weight: 800; font-size: 1.4rem; margin: 2.75rem 0 .5rem; }
h3 { font-weight: 700; font-size: 1.125rem; margin: 1.75rem 0 .25rem; }
p, li { text-wrap: pretty; }

/* ── Üst ve alt bilgi ─────────────────────────────── */
header.site, footer.site { max-width: var(--wide); margin: 0 auto; padding-inline: 24px; }
header.site { display: flex; align-items: center; gap: 12px 28px; padding-top: 20px; padding-bottom: 8px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.2rem; color: var(--ink); text-decoration: none; margin-right: auto; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
header.site nav { display: flex; gap: 20px; font-size: .9375rem; }
header.site nav a { color: var(--ink2); text-decoration: none; padding: 6px 0; }
header.site nav a:hover, header.site nav a[aria-current="page"] { color: var(--ink); }
header.site nav a[aria-current="page"] { font-weight: 600; }
.langs { gap: 2px !important; background: var(--surface); border-radius: 999px; padding: 3px; }
.langs a { padding: 4px 10px !important; border-radius: 999px; font-size: .8125rem; font-weight: 600; letter-spacing: .02em; }
.langs a[aria-current] { background: var(--bg); color: var(--ink) !important; box-shadow: 0 1px 2px rgba(0,0,0,.08); }

footer.site { margin-top: 5rem; padding-top: 20px; padding-bottom: 48px; border-top: 1px solid var(--hair); color: var(--ink2); font-size: .875rem; }
footer.site p { margin: 6px 0; color: var(--ink2); }
footer.site a { color: var(--ink2); }
footer.site a[aria-current] { color: var(--ink); font-weight: 600; text-decoration: none; }
.foot-links { display: flex; gap: 18px; }

/* ── Okuma sayfaları (gizlilik, destek) ───────────── */
main { max-width: var(--read); margin: 0 auto; padding-inline: 24px; }
.meta { color: var(--ink2); font-size: .9375rem; margin-top: 0; }
.lead { font-size: 1.1875rem; color: var(--ink2); }
ul { padding-left: 1.3em; }
li { margin: .3em 0; }
li::marker { color: var(--ink2); }
.page-privacy main > h2, .page-support main > h2 { padding-top: 1.75rem; border-top: 1px solid var(--hair); }
.card { background: var(--surface); border-radius: 20px; padding: 6px 24px; margin: 28px 0; }
.card h2 { border: 0 !important; padding-top: 0 !important; margin-top: 1.25rem; }
.summary ul { list-style: none; padding: 0; }
.summary li { position: relative; padding-left: 30px; margin: .9em 0; }
.summary li::before {
  content: ""; position: absolute; left: 0; top: .32em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.3l2.6 2.5L13 6.4' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px no-repeat;
}
.button {
  display: inline-flex; align-items: center; gap: 8px; background: var(--ink); color: var(--bg);
  padding: 14px 24px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 1.0625rem;
}
.button:hover { opacity: .9; }
.page-support .button + .meta, .page-support p:has(> .button) + .meta { margin-top: -4px; }

details { border-top: 1px solid var(--hair); }
details:last-of-type { border-bottom: 1px solid var(--hair); }
summary {
  cursor: pointer; font-weight: 600; padding: 16px 32px 16px 0; list-style: none; position: relative;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 9px; height: 9px; margin-top: -7px;
  border-right: 2px solid var(--ink2); border-bottom: 2px solid var(--ink2); transform: rotate(45deg); transition: transform .2s;
}
details[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
details p { margin: 0 0 18px; color: var(--ink2); }

/* ── Ana sayfa ────────────────────────────────────── */
.page-index main { max-width: var(--wide); }
.eyebrow { font-weight: 800; font-size: .8125rem; letter-spacing: .08em; text-transform: uppercase; color: var(--link); margin: 0 0 .75rem; }

.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 56px; align-items: center; padding: 3rem 0 2rem; }
.hero h1 { font-size: clamp(2.5rem, 1.2rem + 4.4vw, 4rem); line-height: 1.03; letter-spacing: -.025em; margin: 0 0 1.25rem; }
.hero .lead { font-size: clamp(1.125rem, 1rem + .4vw, 1.3125rem); margin: 0; max-width: 30em; }
.facts { list-style: none; padding: 0; margin: 1.5rem 0 0; display: flex; flex-wrap: wrap; gap: .35rem 1.25rem; color: var(--ink2); font-size: .9375rem; }
.facts li { margin: 0; display: flex; align-items: center; gap: 8px; }
.facts li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); flex: none; }
.store { margin: 1.75rem 0 0; }
.store.soon { display: inline-block; padding: 10px 18px; border-radius: 999px; background: var(--surface); color: var(--ink2); font-weight: 600; font-size: .9375rem; }

/* Havada yüzen ada: şeffaf görsel, altında boşlukla ayrılmış yumuşak eliptik gölge.
   Ada 6 sn'de 8 px süzülür; gölge ters ölçeklenir (ada yukarıdayken küçülür ve soluklaşır). Yalnız CSS. */
:root { --isle-shadow: rgba(40, 50, 64, .30); --spark: #FFD66B; }
@media (prefers-color-scheme: dark) { :root { --isle-shadow: rgba(110, 200, 130, .26); --spark: #FFE7A3; } }
.isle { position: relative; padding-bottom: 9%; }
.isle-img { position: relative; z-index: 1; animation: isle-float 6s ease-in-out infinite alternate; }
.isle-shadow {
  position: absolute; left: 18%; right: 18%; bottom: 0; height: 7%;
  background: radial-gradient(closest-side, var(--isle-shadow), transparent);
  filter: blur(6px); animation: isle-shadow 6s ease-in-out infinite alternate;
}
@keyframes isle-float { from { transform: translateY(4px); } to { transform: translateY(-4px); } }
@keyframes isle-shadow { from { transform: scaleX(1); opacity: 1; } to { transform: scaleX(.84); opacity: .55; } }
.spark { position: absolute; z-index: 2; width: 7px; height: 7px; border-radius: 50%; background: var(--spark);
  box-shadow: 0 0 10px 2px var(--spark); opacity: .0; animation: spark 11s ease-in-out infinite; pointer-events: none; }
.s1 { left: 12%; top: 18%; animation-delay: -1s; }
.s2 { left: 82%; top: 10%; animation-delay: -4s; animation-duration: 13s; width: 5px; height: 5px; }
.s3 { left: 90%; top: 52%; animation-delay: -7s; }
.s4 { left: 6%;  top: 60%; animation-delay: -9s; animation-duration: 14s; width: 5px; height: 5px; }
@keyframes spark { 0%, 100% { opacity: 0; transform: translateY(6px); } 40%, 60% { opacity: .85; } 50% { transform: translateY(-14px); } }

.band { padding: 4.5rem 0 0; }
.band h2 { font-size: clamp(1.75rem, 1.2rem + 2vw, 2.5rem); letter-spacing: -.02em; margin: 0 0 1rem; }
.band p { color: var(--ink2); font-size: 1.125rem; max-width: 34em; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.points { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.points li { padding: 14px 0; border-top: 1px solid var(--hair); color: var(--ink2); margin: 0; }
.points strong { color: var(--ink); font-weight: 600; }

/* Mozaik: uygulamadaki kurallar. Sevdi = grup renginin %32 tonu; kararsız %14; sevmedi kesik çerçeve
   + soluk ikon; tepki köşe noktası. Durumlar yalnız renkle ayrılmaz. */
.mosaic { list-style: none; margin: 0; padding: 20px; display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 6px; border: 1px solid var(--hair); border-radius: 32px; }
.m { margin: 0; aspect-ratio: 1; border-radius: 24%; background: var(--fill); position: relative; display: grid; place-items: center; }
.m:has(picture) { background: color-mix(in srgb, rgb(var(--g)) 32%, var(--tint-base)); }
.m picture { width: 84%; }
.m.unsure { background: color-mix(in srgb, rgb(var(--g)) 14%, var(--tint-base)); }
.m.disliked { background: transparent; outline: 2px dashed var(--ink2); outline-offset: -2px; }
.m.disliked picture { opacity: .5; }
.m.reaction::after { content: ""; position: absolute; top: 5%; right: 5%; width: 20%; height: 20%; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 2px var(--bg); }
.key { list-style: none; padding: 0; margin: 16px 4px 0; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: .875rem; color: var(--ink2); }
.key li { display: flex; align-items: center; gap: 8px; margin: 0; }
.k { width: 18px; height: 18px; border-radius: 5px; position: relative; flex: none; }
.k.loved { background: color-mix(in srgb, rgb(86 194 108) 32%, var(--tint-base)); }
.k.unsure { background: color-mix(in srgb, rgb(86 194 108) 14%, var(--tint-base)); }
.k.disliked { outline: 2px dashed var(--ink2); outline-offset: -2px; }
.k.reaction { background: color-mix(in srgb, rgb(86 194 108) 32%, var(--tint-base)); }
.k.reaction::after { content: ""; position: absolute; top: -3px; right: -3px; width: 8px; height: 8px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 2px var(--bg); }

.garden { text-align: center; }
.garden p { margin-inline: auto; }
.strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: end; gap: 14px; margin: 2.25rem auto 0; max-width: 960px; }
.strip figure { margin: 0; }
.strip .isle-img, .strip .isle-shadow { animation: none; }           /* şeritte yalnız gölge; hareket hero'da */
.strip .isle-shadow { left: 16%; right: 16%; height: 9%; filter: blur(4px); }
.strip figcaption { font: 800 1.0625rem "Nunito", system-ui, sans-serif; color: var(--ink); margin-top: 6px; }
.note { font-size: .9375rem !important; margin-top: 1.25rem; }

.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding-top: 4.5rem; }
.tile { background: var(--surface); border-radius: 28px; padding: 32px 32px 20px; }
.tile h2 { font-size: 1.6rem; margin: 0 0 .5rem; }
.tile p { color: var(--ink2); }
.tile a { font-weight: 600; }

.health { max-width: 46em; margin: 3.5rem auto 0; text-align: center; color: var(--ink2); font-size: .9375rem; }

@media (max-width: 860px) {
  .hero, .split { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .hero { padding-top: 1.5rem; }
  .band { padding-top: 3.5rem; }
  .mosaic { padding: 12px; gap: 4px; border-radius: 22px; }
  .strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .duo { grid-template-columns: 1fr; padding-top: 3.5rem; }
  .tile { padding: 24px 24px 12px; }
}
@media (max-width: 480px) {
  header.site { padding-top: 14px; }
  header.site nav:not(.langs) { order: 3; width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
