/* Turkish-Accented Speech Lab — ortak stil.
   Yazı tipleri yerelden sunulur (üçüncü tarafa istek gitmez). İkisi de OFL lisanslı:
   Gentium Book Plus (SIL; dilbilimcilerin yazı tipi) ve Source Sans 3 (arayüz okunaklılığı için). */

@font-face {
  font-family: "Gentium Book Plus";
  src: url("../fonts/gentium-book-plus-latin-400-normal.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
  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: "Gentium Book Plus";
  src: url("../fonts/gentium-book-plus-latin-ext-400-normal.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Gentium Book Plus";
  src: url("../fonts/gentium-book-plus-latin-700-normal.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
  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: "Gentium Book Plus";
  src: url("../fonts/gentium-book-plus-latin-ext-700-normal.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/source-sans-3-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 900; font-style: normal; font-display: swap;
  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: "Source Sans 3";
  src: url("../fonts/source-sans-3-latin-ext-wght-normal.woff2") format("woff2");
  font-weight: 200 900; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* İznik çinisi paleti: soğuk beyaz zemin, kobalt, turkuaz. */
  --paper: #f5f7fa;
  --surface: #ffffff;
  --ink: #15213a;
  --muted: #536079;
  --line: #d6deea;
  --cobalt: #1f45a6;
  --cobalt-deep: #152f73;
  --turquoise: #127c79;
  --sky: #c8d6f4;

  --serif: "Gentium Book Plus", "Iowan Old Style", Georgia, serif;
  --sans: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;

  --page: 70rem;
  --gutter: clamp(1.25rem, 5vw, 3rem);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.125rem/1.55 var(--sans);
}

h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }

a { color: var(--cobalt); text-underline-offset: 0.18em; }
a:hover { color: var(--cobalt-deep); }

:focus-visible { outline: 3px solid var(--turquoise); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: var(--page); margin-inline: auto; padding-inline: var(--gutter); }

.skip { position: absolute; left: -999rem; }
.skip:focus { left: var(--gutter); top: 0.75rem; background: var(--surface); padding: 0.5rem 0.75rem; z-index: 10; }

/* ---------- Üst şerit ---------- */
.top { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-block: 1.25rem; }
.brand { font: 700 1.2rem/1.15 var(--serif); color: var(--ink); text-decoration: none; max-width: 11em; }
.top nav { display: flex; align-items: center; gap: 1.75rem; }
.top nav a:not(.button) { color: var(--ink); text-decoration: none; font-size: 1rem; }
.top nav a:not(.button):hover { text-decoration: underline; }

.button {
  display: inline-block;
  background: var(--cobalt);
  color: #fff;
  font: 650 1.0625rem/1 var(--sans);
  text-decoration: none;
  padding: 0.95rem 1.5rem;
  border-radius: 0.6rem;
  white-space: nowrap;
}
.button:hover { background: var(--cobalt-deep); color: #fff; }
.button.small { padding: 0.7rem 1.1rem; font-size: 1rem; }

/* ---------- Giriş ---------- */
.hero { padding-block: clamp(2.5rem, 8vw, 6rem) clamp(3rem, 8vw, 5.5rem); }
.hero h1 {
  font: 700 clamp(2.4rem, 6.4vw, 4.5rem)/1.04 var(--serif);
  letter-spacing: -0.015em;
  max-width: 15.5ch;
  text-wrap: balance;
}
.hero .lede { margin-top: 1.75rem; max-width: 34em; font-size: clamp(1.125rem, 1.6vw, 1.3rem); color: var(--ink); }
.hero .action { margin-top: 2.25rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.hero .action p { color: var(--muted); font-size: 1rem; max-width: 22em; }

/* ---------- 1–9 ölçeği: bulanıktan nete ---------- */
.scale-band { background: var(--cobalt-deep); color: #fff; padding-block: clamp(2.75rem, 7vw, 4.5rem); }
.scale-band h2 { font: 400 clamp(1.5rem, 3vw, 2.1rem)/1.2 var(--serif); max-width: 22ch; text-wrap: balance; }
.scale { display: flex; justify-content: space-between; gap: 0.25rem; margin-top: clamp(2rem, 5vw, 3rem); }
.scale li {
  flex: 0 0 auto;
  width: clamp(1.75rem, 8.2vw, 4.75rem);
  aspect-ratio: 1;
  display: grid; place-items: center;
  border-radius: 50%;
  background: #fff;
  color: var(--cobalt-deep);
  font: 700 clamp(0.95rem, 3vw, 1.9rem)/1 var(--serif);
  filter: blur(calc((9 - var(--n)) * 0.085em));
  opacity: calc(0.42 + var(--n) * 0.0644);
  animation: come-into-focus 1100ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
  animation-delay: calc(var(--n) * 80ms);
}
@keyframes come-into-focus { from { filter: blur(0.7em); opacity: 0.1; } }
.scale-ends { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1.1rem; color: var(--sky); font-size: 1rem; }
.scale-ends span:last-child { text-align: right; }

/* ---------- Bölümler ---------- */
.section { border-top: 1px solid var(--line); padding-block: clamp(2.5rem, 6vw, 4.25rem); }
.scale-band + .section { border-top: 0; }
.section > .wrap { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }
.section h2 { font: 700 clamp(1.6rem, 2.6vw, 2rem)/1.15 var(--serif); letter-spacing: -0.01em; }
.section .body { max-width: 38em; }
.section .body > * + * { margin-top: 1.1em; }

@media (min-width: 56rem) {
  .section > .wrap { grid-template-columns: 17rem minmax(0, 1fr); gap: 3rem; }
}

/* Adımlar: gerçek bir sıra olduğu için numaralı */
.steps { counter-reset: step; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 2.6rem minmax(0, 1fr); column-gap: 0.75rem; padding-block: 1.1rem; border-top: 1px solid var(--line); }
.steps li:first-child { border-top: 0; padding-top: 0; }
.steps li::before { content: counter(step); font: 700 2rem/1 var(--serif); color: var(--turquoise); }
.steps h3 { font: 650 1.125rem/1.3 var(--sans); }
.steps p { color: var(--muted); margin-top: 0.3rem; }
.steps + p { color: var(--muted); }

/* Ekip */
.people li { padding-block: 1rem; border-top: 1px solid var(--line); }
.people li:first-child { border-top: 0; padding-top: 0; }
.people strong { display: block; font: 700 1.35rem/1.25 var(--serif); }
.people span { color: var(--muted); }

/* Gizlilik */
.facts { display: grid; gap: 1.5rem 2.5rem; }
.facts dt { font-weight: 650; }
.facts dd { color: var(--muted); margin-top: 0.3rem; }
@media (min-width: 40rem) { .facts { grid-template-columns: 1fr 1fr; } }

/* Kapanış */
.closing { background: var(--surface); border-top: 1px solid var(--line); padding-block: clamp(3rem, 8vw, 5rem); }
.closing .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 3rem; }
.closing p { font: 400 clamp(1.6rem, 3.4vw, 2.4rem)/1.15 var(--serif); max-width: 20ch; text-wrap: balance; }

footer { border-top: 1px solid var(--line); padding-block: 1.75rem; color: var(--muted); font-size: 0.95rem; }

/* Tek mesajlı sayfa (ör. kayıt henüz hazır değil) */
.notice { min-height: 60vh; display: grid; align-content: center; padding-block: 4rem; }
.notice h1 { font: 700 clamp(2rem, 5vw, 3.2rem)/1.08 var(--serif); max-width: 16ch; text-wrap: balance; }
.notice p { margin-top: 1.25rem; max-width: 30em; }
.notice p + p { margin-top: 1.75rem; }

@media (max-width: 55.99rem) {
  .top nav a:not(.button) { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .scale li { animation: none; }
}
