/* ==========================================================================
   Uğur Örün · Matematik ve Eğitim Araçları
   Tasarım: "Yeşil Tahta" (11 Kasım 2026)
   Kimlik, Türk sınıfının yeşil yazı tahtasından gelir: koyu yeşil zemin,
   tebeşir beyazı yazı, tebeşirle çizilmiş matematik. Gerisi açık kâğıt
   zeminde derli toplu, ciddi ve sakin kalır.
   ========================================================================== */

/* ---------- 1. Yazı tipleri (yerel woff2) ---------- */

@font-face {
  font-family: "Schibsted Grotesk";
  font-style: normal;
  font-weight: 500 900;
  font-display: swap;
  src: url("../fonts/schibsted-grotesk-500-900-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: "Schibsted Grotesk";
  font-style: normal;
  font-weight: 500 900;
  font-display: swap;
  src: url("../fonts/schibsted-grotesk-500-900-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: "Public Sans";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/public-sans-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: "Public Sans";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/public-sans-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;
}

/* ---------- 2. Değişkenler ---------- */

:root {
  color-scheme: light;
  --amber: #b9821c;

  /* Tahta */
  --board: #2a2e32;
  --board-deep: #1c1f22;
  --board-edge: #3d4247;
  --chalk: #f3f0e6;
  --chalk-dim: rgba(243, 240, 230, 0.72);
  --chalk-faint: rgba(243, 240, 230, 0.38);
  --chalk-yellow: #f2c85b;

  /* Kâğıt */
  --paper: #f6f5f1;
  --surface: #ffffff;
  --surface-2: #eeede8;
  --line: #e4e3dd;
  --line-strong: #d0cfc8;

  /* Mürekkep */
  --ink: #1a1d20;
  --ink-2: #41464b;
  --ink-3: #6c7278;
  --ink-4: #9a9fa5;

  /* Vurgu = tahta yeşili */
  --accent: var(--board);
  --accent-hover: var(--board-deep);
  --accent-soft: #e7e8e6;
  --accent-ring: rgba(42, 46, 50, 0.28);

  /* Yazı */
  --font-display: "Schibsted Grotesk", "Public Sans", system-ui, sans-serif;
  --font-body: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Ölçüler */
  --wrap: 1180px;
  --gutter: 20px;
  --r-sm: 8px;
  --r: 12px;
  --r-lg: 18px;
  --shadow-sm: 0 1px 2px rgba(21, 33, 27, 0.06);
  --shadow: 0 6px 20px -8px rgba(21, 33, 27, 0.18), 0 1px 2px rgba(21, 33, 27, 0.05);
  --shadow-lg: 0 24px 50px -24px rgba(21, 33, 27, 0.35);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------- 3. Sıfırlama ve temel ---------- */

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-2);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: 3px solid var(--accent-ring); outline-offset: 2px; border-radius: 4px; }
ul, ol { margin: 0; padding: 0; }
ul[class], ol[class] { list-style: none; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  color: var(--ink);
  letter-spacing: -0.015em;
  text-wrap: balance;
  font-weight: 700;
}
h1 { font-size: clamp(2rem, 1.3rem + 3vw, 3.25rem); line-height: 1.05; letter-spacing: -0.03em; font-weight: 800; }
h2 { font-size: clamp(1.5rem, 1.2rem + 1.3vw, 2.1rem); line-height: 1.15; letter-spacing: -0.025em; }
h3 { font-size: 1.1rem; line-height: 1.3; }
code { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 0.92em; background: var(--surface-2); padding: 0.1em 0.4em; border-radius: 4px; }
abbr[title] { text-decoration: none; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.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: 12px; top: -60px; z-index: 100; padding: 10px 14px; background: var(--ink); color: var(--chalk); border-radius: var(--r-sm); font-weight: 600; }
.skip-link:focus { top: 12px; }

/* ---------- 4. Düğmeler ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 20px;
  font: 600 0.95rem/1 var(--font-body);
  border-radius: 999px; border: 1px solid transparent;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-sm { min-height: 38px; padding: 0 16px; font-size: 0.88rem; }
.btn-primary { background: var(--accent); color: var(--chalk); border-color: var(--accent); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: var(--chalk); }
.btn-secondary { background: var(--surface); color: var(--ink); border-color: var(--line-strong); }
.btn-secondary:hover { border-color: var(--ink-3); color: var(--ink); background: var(--surface); }
.btn-soft { background: var(--accent-soft); color: var(--accent-hover); }
.btn-soft:hover { background: var(--accent); color: var(--chalk); }
/* Tahtanın üstündeki düğmeler: tebeşir */
.btn-chalk { background: var(--chalk); color: var(--board-deep); border-color: var(--chalk); }
.btn-chalk:hover { background: #fff; color: var(--board-deep); }
.btn-ghost { background: transparent; color: var(--chalk); border-color: rgba(243, 240, 230, 0.4); }
.btn-ghost:hover { border-color: var(--chalk); color: var(--chalk); background: rgba(243, 240, 230, 0.08); }
.btn-arrow { display: inline-block; transition: transform 0.2s var(--ease); }
.btn:hover .btn-arrow { transform: translateX(3px); }

/* "Ayrıntılar": ikincil, kenarlıklı küçük düğme */
.link-more {
  display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 0 14px;
  border: 1px solid var(--line-strong); border-radius: 999px; background: transparent;
  font-weight: 600; font-size: 0.88rem; text-decoration: none; color: var(--ink-2); white-space: nowrap;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.link-more:hover { color: var(--ink); border-color: var(--ink-3); background: var(--surface); }
.link-more [aria-hidden] { transition: transform 0.2s var(--ease); }
.link-more:hover [aria-hidden] { transform: translateX(3px); }
.actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }

/* ---------- 5. Üst menü ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 246, 242, 0.88);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 66px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: var(--ink); }
.brand-badge {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 9px;
  background: var(--board); color: var(--chalk);
  font: 800 1.15rem/1 var(--font-display);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), 0 1px 2px rgba(21, 33, 27, 0.2);
}
.brand-badge-sm { width: 32px; height: 32px; font-size: 1rem; border-radius: 8px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font: 700 1rem var(--font-display); letter-spacing: -0.01em; }
.brand-sub { font-size: 0.74rem; color: var(--ink-3); letter-spacing: 0.01em; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a { padding: 8px 12px; border-radius: 8px; font-size: 0.93rem; font-weight: 500; color: var(--ink-2); text-decoration: none; transition: background-color 0.15s, color 0.15s; }
.nav a:hover { background: var(--surface-2); color: var(--ink); }
.nav a.is-active { color: var(--ink); background: var(--surface-2); }
.nav .nav-cta { margin-left: 8px; background: var(--ink); color: var(--chalk); padding: 9px 16px; border-radius: 999px; font-weight: 600; }
.nav .nav-cta:hover { background: var(--board); color: var(--chalk); }

.menu-toggle { display: none; align-items: center; gap: 8px; min-height: 40px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--surface); font: 600 0.88rem var(--font-body); color: var(--ink); cursor: pointer; }
.menu-icon { position: relative; width: 16px; height: 10px; }
.menu-icon span { position: absolute; left: 0; width: 100%; height: 2px; background: currentColor; border-radius: 2px; transition: transform 0.2s var(--ease), top 0.2s var(--ease); }
.menu-icon span:first-child { top: 0; } .menu-icon span:last-child { top: 8px; }
.menu-toggle[aria-expanded="true"] .menu-icon span:first-child { top: 4px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-icon span:last-child { top: 4px; transform: rotate(-45deg); }

@media (max-width: 820px) {
  .menu-toggle { display: inline-flex; }
  .nav {
    display: none; position: absolute; left: var(--gutter); right: var(--gutter); top: calc(100% + 8px);
    flex-direction: column; align-items: stretch; gap: 2px; padding: 8px;
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-lg);
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 14px; font-size: 1rem; }
  .nav .nav-cta { margin: 6px 0 0; text-align: center; }
  .brand-sub { display: none; }
}

/* ---------- 6. Giriş: yeşil tahta ---------- */

.board {
  position: relative; isolation: isolate; overflow: hidden;
  color: var(--chalk);
  background:
    radial-gradient(900px 420px at 18% 0%, rgba(255, 255, 255, 0.07), transparent 60%),
    radial-gradient(700px 360px at 95% 100%, rgba(0, 0, 0, 0.22), transparent 60%),
    linear-gradient(180deg, var(--board) 0%, var(--board-deep) 100%);
  border-bottom: 6px solid var(--board-edge);
}
/* tebeşir tozu: çok hafif gren */
.board::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0.35; pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 3px 3px;
  mix-blend-mode: overlay;
}
.board-grid {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 56px); align-items: center;
  padding: clamp(40px, 6vw, 72px) 0 clamp(40px, 6vw, 64px);
}
.board h1 { color: var(--chalk); max-width: 17ch; font-size: clamp(2rem, 1.2rem + 2.9vw, 3.1rem); }
.board .eyebrow {
  display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap;
  margin: 0 0 18px; padding: 6px 12px 6px 8px; border-radius: 999px;
  border: 1px solid rgba(243, 240, 230, 0.22); background: rgba(0, 0, 0, 0.14);
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.01em; color: var(--chalk-dim);
}
.board .eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--chalk-yellow); box-shadow: 0 0 0 4px rgba(242, 200, 91, 0.18); }
.board .eyebrow b { color: var(--chalk); font-weight: 600; }
.board .lead { margin: 20px 0 26px; font-size: clamp(1.02rem, 0.95rem + 0.35vw, 1.18rem); line-height: 1.55; color: var(--chalk-dim); max-width: 46ch; }
.board .lead strong { color: var(--chalk); font-weight: 600; }
.checks { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 26px; font-size: 0.9rem; color: var(--chalk-dim); }
.checks li { display: inline-flex; align-items: center; gap: 8px; }
.checks li::before { content: ""; width: 16px; height: 16px; flex: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23f2c85b' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 8.5l3.5 3.5 7.5-8'/%3E%3C/svg%3E") center/contain no-repeat; }

/* Tebeşir çizimi */
.board-art { position: relative; }
.chalk-svg { width: 100%; height: auto; overflow: visible; }
.chalk-svg .stroke { fill: none; stroke: var(--chalk); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.chalk-svg .stroke-y { stroke: var(--chalk-yellow); }
.chalk-svg .thin { stroke-width: 1.6; opacity: 0.8; }
.chalk-svg .hatch { stroke-width: 1.4; opacity: 0.55; }
.chalk-svg text { font-family: var(--font-display); font-weight: 600; fill: var(--chalk); letter-spacing: 0.01em; }
.chalk-svg .t-y { fill: var(--chalk-yellow); }
.chalk-svg .t-sm { font-size: 11px; opacity: 0.8; font-family: var(--font-body); font-weight: 500; }
.chalk-svg .t-md { font-size: 15px; }
.chalk-svg .t-lg { font-size: 20px; font-weight: 700; }
.chalk-svg .label { font-size: 13px; font-weight: 600; opacity: 0.9; text-transform: uppercase; letter-spacing: 0.08em; fill: var(--chalk-dim); }
.chalk-svg .draw { stroke-dasharray: 1; stroke-dashoffset: 1; animation: cizim 1.1s var(--ease) forwards; animation-delay: calc(var(--i, 0) * 0.16s + 0.2s); }
.chalk-svg .fade { opacity: 0; animation: belir 0.6s var(--ease) forwards; animation-delay: calc(var(--i, 0) * 0.16s + 0.5s); }
@keyframes cizim { to { stroke-dashoffset: 0; } }
@keyframes belir { to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .chalk-svg .draw { animation: none; stroke-dashoffset: 0; }
  .chalk-svg .fade { animation: none; opacity: 1; }
}
.chalk-svg .fade.t-sm { animation-name: belir-soluk; }
@keyframes belir-soluk { to { opacity: 0.8; } }
.chalk-svg .fade.label { animation-name: belir-etiket; }
@keyframes belir-etiket { to { opacity: 0.9; } }
.chalk-svg .fade.hatch { animation-name: belir-tarama; }
@keyframes belir-tarama { to { opacity: 0.55; } }

@media (max-width: 920px) {
  .board-grid { grid-template-columns: 1fr; gap: 28px; padding-bottom: 36px; }
  .board h1 { max-width: 18ch; }
  .board-art { max-width: 520px; }
}
@media (max-width: 560px) {
  .board .eyebrow .uzun { display: none; }
  .board .lead { margin: 16px 0 22px; }
  .board .actions .btn { flex: 1 1 auto; }
}

/* ---------- 7. Bölümler ---------- */

.section { padding: clamp(40px, 5.5vw, 64px) 0; }
.section + .section { padding-top: 0; }
.section-alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section + .section-alt, .section-alt + .section { padding-top: clamp(40px, 5.5vw, 64px); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 32px; margin-bottom: 24px; }
.section-head h2 { max-width: 22ch; }
.section-note { margin: 0; max-width: 34ch; font-size: 0.93rem; color: var(--ink-3); text-align: right; }
.kicker {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 10px;
  font-size: 0.76rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--amber);
}
.kicker::before { content: ""; width: 18px; height: 3px; border-radius: 2px; background: var(--chalk-yellow); }
@media (max-width: 720px) {
  .section-head { flex-direction: column; align-items: flex-start; }
  .section-note { text-align: left; }
}

/* ---------- 8. Ücretsiz araç kartları ---------- */

.tool-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.tool { grid-column: span 2; }
.tool.is-wide { grid-column: span 3; order: -1; } /* geniş kartlar üst sıraya: 3+3, sonra 2+2+2 */
.tool-grid.is-pairs .tool:not(.is-wide) { grid-column: span 3; } /* telefon kartı sayısı 3'e bölünmüyorsa ikişerli: 3+3 */
.tool-grid.is-pairs .tool-media.is-phone { aspect-ratio: 16 / 9; }
.tool {
  --tint: color-mix(in srgb, var(--accent) 11%, #fff);
  --tint-2: color-mix(in srgb, var(--accent) 22%, #fff);
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm); overflow: hidden;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
.tool:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--accent) 35%, var(--line)); }

.tool-media {
  position: relative; display: block; overflow: hidden;
  background: linear-gradient(160deg, var(--tint) 0%, var(--tint-2) 100%);
  border-bottom: 1px solid color-mix(in srgb, var(--accent) 14%, var(--line));
}
.tool-media.is-wide { aspect-ratio: 16 / 9; padding: 22px 22px 0; }
.tool-media.is-wide img {
  width: 100%; height: 100%; object-fit: cover; object-position: top;
  border-radius: 10px 10px 0 0; border: 1px solid rgba(21, 33, 27, 0.1); border-bottom: 0;
  box-shadow: 0 14px 30px -14px rgba(21, 33, 27, 0.4);
}
.tool-media.is-phone { aspect-ratio: 16 / 10; display: flex; justify-content: center; gap: 14px; padding: 20px 20px 0; }
.tool-media.is-phone img {
  width: 36%; max-width: 150px; height: auto; align-self: flex-end;
  border-radius: 14px 14px 0 0; border: 3px solid #1c2320; border-bottom: 0;
  box-shadow: 0 16px 28px -14px rgba(21, 33, 27, 0.45);
}
.tool-media.is-phone img:nth-child(2) { transform: translateY(16px); }
.tool-media .tool-mark {
  position: absolute; left: 14px; top: 14px; z-index: 1;
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px;
  background: var(--surface); box-shadow: var(--shadow-sm), 0 0 0 1px rgba(21, 33, 27, 0.06);
  font-size: 1.25rem; overflow: hidden;
}
.tool-media .tool-mark img { width: 100%; height: 100%; object-fit: cover; border: 0; border-radius: 0; box-shadow: none; transform: none; max-width: none; }

.tool-body { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px 20px; flex: 1; }
.tool-meta { display: flex; flex-wrap: wrap; gap: 6px; font-size: 0.76rem; font-weight: 600; letter-spacing: 0.02em; color: var(--ink-3); }
.tool-meta span { padding: 3px 8px; border-radius: 999px; background: var(--surface-2); }
.tool-meta .is-accent { background: var(--tint); color: color-mix(in srgb, var(--accent) 75%, #000); }
.tool h3 { font-size: 1.2rem; letter-spacing: -0.02em; }
.tool h3 a { color: var(--ink); text-decoration: none; }
.tool h3 a:hover { color: var(--accent); }
.tool-desc { font-size: 0.93rem; line-height: 1.55; color: var(--ink-2); }
.tool-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: auto; padding-top: 8px; }
.tool-actions .btn-primary { background: var(--ink); border-color: var(--ink); }
.tool-actions .btn-primary:hover { background: var(--accent); border-color: var(--accent); }

.tag-soon { color: #9a5b00; background: #fbecc8; }

@media (max-width: 1024px) {
  .tool-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tool, .tool.is-wide, .tool-grid.is-pairs .tool:not(.is-wide) { grid-column: span 1; }
  .tool-grid.is-pairs .tool-media.is-phone { aspect-ratio: 16 / 10; }
}
@media (max-width: 640px) {
  .tool-grid { grid-template-columns: 1fr; }
  .tool-media.is-phone, .tool-grid.is-pairs .tool-media.is-phone { aspect-ratio: 16 / 9; }
}

/* fikir satırı */
.idea-line { margin: 20px 0 0; padding: 12px 16px; border-radius: var(--r); background: var(--surface); border: 1px dashed var(--line-strong); font-size: 0.92rem; color: var(--ink-2); }

/* ---------- 9. Diğer projeler ---------- */

.project-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.project-grid.is-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.project {
  display: flex; flex-direction: column; gap: 10px; padding: 18px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
}
.project:hover { border-color: var(--line-strong); box-shadow: var(--shadow); transform: translateY(-2px); }
.project-head { display: flex; align-items: center; gap: 12px; }
.project h3 { font-size: 1.02rem; }
.project h3 a { color: var(--ink); text-decoration: none; }
.project h3 a:hover { color: var(--accent); }
.project .tool-meta { margin-top: 2px; }
.project .tool-desc { font-size: 0.9rem; }
.project .tool-actions { flex-direction: column; align-items: stretch; gap: 8px; padding-top: 6px; }
.project .tool-actions .btn, .project .tool-actions .link-more { justify-content: center; }
@media (max-width: 1024px) and (min-width: 561px) { .project .tool-actions { flex-direction: row; align-items: center; } .project .tool-actions .btn, .project .tool-actions .link-more { flex: 1 1 auto; } }
.app-icon { width: 44px; height: 44px; border-radius: 11px; flex: none; object-fit: cover; box-shadow: 0 0 0 1px rgba(21, 33, 27, 0.08); background: var(--surface); }
.app-icon-lg { width: 64px; height: 64px; border-radius: 16px; }
.app-icon-letter { display: grid; place-items: center; background: color-mix(in srgb, var(--accent) 14%, #fff); font-size: 1.4rem; line-height: 1; }
.app-icon-letter.app-icon-lg { font-size: 2rem; }
@media (max-width: 1024px) { .project-grid, .project-grid.is-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .project-grid, .project-grid.is-3 { grid-template-columns: 1fr; } }

/* ---------- 10. Hakkımda + iletişim ---------- */

.about {
  display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: start;
  padding: clamp(22px, 3vw, 34px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
}
.about-photo { position: relative; }
.about-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 14px; background: #000; }
.about-photo figcaption { margin-top: 10px; font-size: 0.82rem; color: var(--ink-3); line-height: 1.4; }
.about-photo figcaption b { display: block; color: var(--ink); font-family: var(--font-display); font-size: 0.95rem; }
.about-text h2 { margin-bottom: 14px; max-width: 24ch; }
.about-text p { max-width: 62ch; }
.about-quote {
  margin: 18px 0; padding: 14px 18px; border-left: 3px solid var(--chalk-yellow);
  background: var(--paper); border-radius: 0 var(--r) var(--r) 0; color: var(--ink); font-style: italic;
}
.contact { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.contact p { margin: 0; max-width: 46ch; font-size: 0.95rem; }
@media (max-width: 820px) {
  .about { grid-template-columns: 1fr; }
  .about-photo { display: flex; align-items: center; gap: 16px; }
  .about-photo img { width: 96px; aspect-ratio: 1; border-radius: 50%; }
  .about-photo figcaption { margin: 0; }
}

/* ---------- 11. Alt bilgi ---------- */

.site-footer { background: var(--ink); color: rgba(243, 240, 230, 0.7); margin-top: clamp(40px, 5.5vw, 64px); }
.footer { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 28px 32px; padding: 44px 0 20px; }
.footer .brand { color: var(--chalk); }
.footer .brand-sub { color: rgba(243, 240, 230, 0.55); }
.footer-desc { margin-top: 14px; max-width: 34ch; font-size: 0.9rem; line-height: 1.55; }
.footer-col h2 { margin: 0 0 12px; font: 700 0.78rem var(--font-body); letter-spacing: 0.1em; text-transform: uppercase; color: rgba(243, 240, 230, 0.5); }
.footer-col ul { list-style: none; display: grid; gap: 7px; }
.footer-col a { color: rgba(243, 240, 230, 0.82); text-decoration: none; font-size: 0.93rem; }
.footer-col a:hover { color: var(--chalk-yellow); }
.footer-bottom { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px; margin-top: 12px; padding-top: 18px; border-top: 1px solid rgba(243, 240, 230, 0.12); font-size: 0.82rem; color: rgba(243, 240, 230, 0.5); }
.footer-bottom p { margin: 0; }
@media (max-width: 900px) { .footer { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer { grid-template-columns: 1fr; } }

/* ---------- 12. Araç tanıtım sayfası ---------- */

.page { --accent: var(--board); }
.page-hero {
  position: relative; overflow: hidden;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--accent) 12%, var(--paper)) 0%, var(--paper) 100%);
  border-bottom: 1px solid var(--line);
  padding: 20px 0 clamp(32px, 4vw, 48px);
}
.page-hero::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--accent); }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 22px; font-size: 0.85rem; color: var(--ink-3); }
.crumbs a { color: var(--ink-3); text-decoration: none; font-weight: 500; }
.crumbs a:hover { color: var(--accent); }
.crumbs [aria-current] { color: var(--ink); font-weight: 600; }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; align-items: center; }
.has-media .page-hero-grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
.page-hero-text .app-icon { margin-bottom: 18px; }
.page-hero h1 { max-width: 16ch; }
.page-hero .lead { margin: 16px 0 22px; font-size: clamp(1rem, 0.95rem + 0.3vw, 1.12rem); line-height: 1.6; max-width: 56ch; color: var(--ink-2); }
.price-note { margin-top: 16px; padding: 10px 14px; border-radius: var(--r-sm); background: var(--surface); border: 1px solid var(--line); font-size: 0.88rem; color: var(--ink-2); max-width: 60ch; }
.price-note strong { color: var(--ink); }
.policy-hero-link { display: inline-flex; gap: 6px; margin-top: 12px; font-size: 0.86rem; font-weight: 600; color: var(--ink-2); text-decoration: none; border-bottom: 1px solid var(--line-strong); }
.policy-hero-link:hover { color: var(--accent); border-color: var(--accent); }
.tag-pill { display: inline-block; padding: 6px 12px; border-radius: 999px; font-size: 0.85rem; font-weight: 600; }

.page-hero-media { position: relative; }
.page-hero-media.is-wide .frame-browser { border-radius: 12px; overflow: hidden; border: 1px solid rgba(21, 33, 27, 0.12); box-shadow: var(--shadow-lg); background: #fff; }
.page-hero-media.is-wide .frame-browser::before {
  content: ""; display: block; height: 26px; background: #eef0ea; border-bottom: 1px solid var(--line);
  background-image: radial-gradient(circle, #cfd4cb 4px, transparent 4.5px), radial-gradient(circle, #cfd4cb 4px, transparent 4.5px), radial-gradient(circle, #cfd4cb 4px, transparent 4.5px);
  background-size: 12px 12px; background-repeat: no-repeat; background-position: 10px 7px, 26px 7px, 42px 7px;
}
.page-hero-media.is-phone { display: flex; justify-content: center; gap: 18px; }
.frame-phone { width: 42%; max-width: 200px; border-radius: 22px; border: 5px solid #1c2320; box-shadow: var(--shadow-lg); background: #1c2320; }
.frame-phone:nth-child(2) { transform: translateY(22px); }
@media (max-width: 860px) {
  .has-media .page-hero-grid { grid-template-columns: 1fr; }
  .page-hero-media.is-phone { justify-content: flex-start; }
  .frame-phone { width: 40%; max-width: 170px; }
}

/* Özet bilgi şeridi */
.facts {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0;
  margin: 0 0 clamp(32px, 4vw, 48px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
}
.facts > div { padding: 14px 18px; border-right: 1px solid var(--line); }
.facts > div:nth-child(4n) { border-right: 0; }
.facts dt { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 4px; }
.facts dd { margin: 0; font-size: 0.95rem; font-weight: 500; color: var(--ink); }
.facts .facts-wide { grid-column: 1 / -1; border-right: 0; border-top: 1px solid var(--line); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.tags li { padding: 4px 10px; border-radius: 999px; background: color-mix(in srgb, var(--accent) 10%, #fff); color: color-mix(in srgb, var(--accent) 75%, #000); font-size: 0.82rem; font-weight: 600; }
@media (max-width: 820px) {
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts > div:nth-child(2n) { border-right: 0; }
  .facts > div:nth-child(n + 3) { border-top: 1px solid var(--line); }
}

.page .wrap:not(.page-body) > .facts { margin-top: clamp(24px, 3vw, 36px); }
.page-body { display: grid; gap: clamp(32px, 4vw, 48px); padding-bottom: clamp(24px, 3vw, 40px); }
.page-body h2 { margin-bottom: 18px; font-size: clamp(1.3rem, 1.1rem + 0.8vw, 1.7rem); }
.page-body h2::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 3px; background: var(--accent); margin-right: 12px; vertical-align: 2px; }

.parts { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.part { padding: 18px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.part h3 { margin-bottom: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--line); font-size: 1rem; }
.activities { margin: 0; display: grid; gap: 10px; }
.activities dt { font-weight: 600; color: var(--ink); font-size: 0.93rem; }
.activities dd { margin: 0; font-size: 0.88rem; color: var(--ink-3); line-height: 1.5; }

.shots { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.shots li img { border-radius: 16px; border: 4px solid #1c2320; background: #1c2320; box-shadow: var(--shadow); }
.shots-wide { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.shots-wide li img { border-radius: 10px; border: 1px solid var(--line-strong); background: #fff; }

.notes { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 14px; }
.notes section { padding: 18px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.notes h2 { font-size: 1.1rem; margin-bottom: 12px; }
.notes h2::before { width: 8px; height: 8px; margin-right: 10px; }
.notes-list { display: grid; gap: 8px; padding-left: 0; }
.notes-list li { position: relative; padding-left: 22px; font-size: 0.93rem; line-height: 1.55; }
.notes-list li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 12px; height: 12px; border-radius: 50%; background: var(--accent-soft); box-shadow: inset 0 0 0 3px #fff, 0 0 0 1px var(--accent); }
.notes-info li::before { background: #fbecc8; box-shadow: inset 0 0 0 3px #fff, 0 0 0 1px #d99a2b; }
.refs { padding-left: 22px; display: grid; gap: 6px; font-size: 0.92rem; color: var(--ink-2); }

.page-cta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px;
  padding: 20px 24px; border-radius: var(--r-lg);
  background: var(--board); color: var(--chalk);
  background-image: radial-gradient(500px 200px at 10% 0%, rgba(255, 255, 255, 0.08), transparent 60%);
}
.page-cta p { margin: 0; font: 700 1.05rem var(--font-display); color: var(--chalk); }
.page-cta .btn-primary { background: var(--chalk); color: var(--board-deep); border-color: var(--chalk); }
.page-cta .btn-primary:hover { background: #fff; }

/* Gizlilik ve düz metin sayfaları */
.page-body p { max-width: 70ch; }
.page-body section > ul:not([class]), .page-body section > ol:not([class]) { padding-left: 22px; display: grid; gap: 6px; }

/* Gizlilik politikaları: /gizlilik/ listesi ve her uygulamanın sayfası */
.policy-head { display: flex; align-items: center; gap: 16px; }
.policy-head h1 { max-width: none; font-size: clamp(1.9rem, 1.3rem + 2.4vw, 2.9rem); }
.policy-eyebrow { margin: 0 0 4px; font-size: 0.76rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--amber); }
.page-hero .policy-head + .lead { margin-top: 18px; }
.policy-meta { display: flex; flex-wrap: wrap; gap: 6px 8px; margin: 0; font-size: 0.85rem; color: var(--ink-3); }
.policy-meta span { padding: 4px 10px; border: 1px solid var(--line); border-radius: 999px; background: color-mix(in srgb, var(--surface) 70%, transparent); }
.policy-meta code { font-size: 0.82em; color: var(--ink-2); }
.policy-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }

.policy-group-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 24px; margin-bottom: 18px; }
.policy-group-head h2 { margin-bottom: 0; }
.policy-group-head p { margin: 0; font-size: 0.93rem; color: var(--ink-3); }
.policy-grid { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 14px; }
.policy-card a {
  position: relative; display: flex; flex-direction: column; gap: 12px; height: 100%; padding: 18px 18px 16px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); color: inherit; text-decoration: none; overflow: hidden;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s;
}
.policy-card a::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--accent); }
.policy-card a:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--accent) 35%, var(--line)); }
.policy-card-top { display: flex; align-items: center; gap: 12px; }
.policy-card-top strong { display: block; font: 700 1.08rem/1.2 var(--font-display); letter-spacing: -0.01em; color: var(--ink); }
.policy-card-top small { display: block; margin-top: 2px; font-size: 0.8rem; color: var(--ink-3); }
.policy-card-text { font-size: 0.92rem; line-height: 1.5; color: var(--ink-2); }
.policy-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.policy-chips span { padding: 3px 9px; border-radius: 999px; font-size: 0.76rem; color: var(--ink-2); background: color-mix(in srgb, var(--accent) 9%, var(--surface)); }
.policy-chips b { font-weight: 600; color: var(--ink); }
.policy-card-go { margin-top: auto; padding-top: 4px; font-size: 0.86rem; font-weight: 600; color: var(--ink); }
.policy-card a:hover .policy-card-go { color: var(--accent); }

.policy-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.policy-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.policy-table th, .policy-table td { padding: 12px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.policy-table tr:last-child > * { border-bottom: 0; }
.policy-table thead th { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); background: var(--surface-2); }
.policy-table tbody th { width: 38%; font-weight: 600; color: var(--ink); }
.policy-table small { display: block; margin-top: 4px; font: 400 0.72rem/1.45 ui-monospace, Menlo, monospace; color: var(--ink-3); word-break: break-word; }
@media (max-width: 560px) { .policy-table tbody th { width: auto; } .policy-head .app-icon-lg { width: 52px; height: 52px; border-radius: 13px; } }

/* ---------- 13. 404 ---------- */

.not-found { padding: clamp(56px, 10vw, 120px) 0; text-align: center; }
.not-found .label { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 10px; }
.not-found .lead { margin: 14px auto 24px; max-width: 46ch; color: var(--ink-2); }
.not-found .actions { justify-content: center; }
.contact a[href^="mailto"] { white-space: nowrap; }
