:root {
  --bg: #070708;
  --bg-2: #0c0c0e;
  --surface: #121214;
  --surface-2: #18181b;
  --surface-3: #202023;
  --text: #f3efe7;
  --muted: #b8b1a5;
  --quiet: #82858c;
  --red: #d11d35;
  --red-dark: #8f1020;
  --amber: #c9a26a;
  --steel: #8c99a8;
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.34);
  --max: 1220px;
  --article: 760px;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background:
    linear-gradient(180deg, rgba(209, 29, 53, 0.1) 0%, transparent 340px),
    linear-gradient(115deg, rgba(201, 162, 106, 0.055) 0%, transparent 42%),
    linear-gradient(180deg, #0b0b0d 0%, #070708 38%, #0a0a0b 100%);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.024) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(135deg, rgba(255, 255, 255, 0.04), transparent 18%, transparent 82%, rgba(255, 255, 255, 0.025));
  background-size: 64px 64px, 64px 64px, 100% 100%;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.62), transparent 68%);
  z-index: -1;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.36;
  background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 100% 4px;
  mix-blend-mode: soft-light;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 30;
  height: 3px;
  width: 100%;
  transform-origin: left;
  transform: scaleX(0);
  background: linear-gradient(90deg, var(--red-dark), var(--red), var(--amber));
  box-shadow: 0 0 22px rgba(209, 29, 53, 0.46);
}

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(255, 255, 255, 0.075);
  background: rgba(7, 7, 8, 0.78);
  backdrop-filter: blur(18px) saturate(1.2);
}

.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 16px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  font-weight: 800;
}

.brand::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 5px rgba(209, 29, 53, 0.12), 0 0 18px rgba(209, 29, 53, 0.48);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 34px);
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 600;
}

.nav-links a {
  position: relative;
  transition: color 160ms ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 1px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--red);
  transition: transform 160ms ease;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.hero {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  min-height: auto;
  padding: clamp(54px, 6vw, 82px) 28px clamp(48px, 6vw, 72px);
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.82fr);
  gap: clamp(34px, 5vw, 72px);
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(7, 7, 8, 0.76) 0%, rgba(7, 7, 8, 0.34) 55%, rgba(7, 7, 8, 0.7) 100%),
    linear-gradient(180deg, transparent 0%, rgba(7, 7, 8, 0.58) 100%);
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 690px;
  padding-top: 0;
  padding-left: clamp(20px, 2.2vw, 32px);
  border-left: 1px solid rgba(209, 29, 53, 0.52);
}

.eyebrow {
  margin: 0 0 18px;
  color: #d8c69f;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: "Libre Baskerville", Georgia, serif;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  margin: 0;
  max-width: 660px;
  font-size: clamp(3rem, 5vw, 4.65rem);
  font-weight: 700;
  text-wrap: balance;
  overflow-wrap: normal;
  text-shadow: 0 18px 58px rgba(0, 0, 0, 0.62);
}

.subtitle {
  margin: 28px 0 0;
  max-width: 620px;
  color: #ddd6ca;
  font-size: clamp(1.1rem, 2vw, 1.42rem);
  line-height: 1.5;
}

.meta {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--muted);
  font-size: 0.86rem;
}

.meta span {
  padding-right: 12px;
  border-right: 1px solid var(--border-strong);
}

.meta span:last-child {
  border-right: 0;
}

.credibility {
  margin-top: 18px;
  color: #d7d2c7;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-stats {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 600px;
}

.hero-stat {
  min-height: 86px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.028));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.hero-stat strong {
  display: block;
  color: var(--text);
  font-size: 1.08rem;
  line-height: 1.2;
}

.hero-stat span {
  display: block;
  margin-top: 6px;
  color: var(--quiet);
  font-size: 0.78rem;
  line-height: 1.35;
}

.hero-visual {
  position: relative;
  z-index: 1;
  width: 100%;
  height: clamp(390px, 43vw, 560px);
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #050506;
  box-shadow: -22px 32px 80px rgba(0, 0, 0, 0.44);
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.94;
  filter: contrast(1.08) saturate(0.92);
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 7, 8, 0.72), rgba(7, 7, 8, 0.02) 44%, rgba(7, 7, 8, 0.42)),
    linear-gradient(180deg, rgba(7, 7, 8, 0.04), rgba(7, 7, 8, 0.58));
}

.briefing {
  max-width: var(--article);
  margin: clamp(44px, 8vw, 92px) auto;
  padding: clamp(24px, 4vw, 34px);
  border: 1px solid var(--border);
  border-left: 3px solid var(--red);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(209, 29, 53, 0.13), transparent 48%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent),
    var(--surface);
  box-shadow: var(--shadow);
}

.briefing small {
  display: block;
  margin-bottom: 12px;
  color: var(--quiet);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  font-weight: 800;
  text-transform: uppercase;
}

.briefing p {
  margin: 0;
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: clamp(1.32rem, 2.8vw, 2rem);
  line-height: 1.36;
}

/* .mobile-toc removed — toc aside handles both viewports */

.page-grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px 86px;
  display: grid;
  grid-template-columns: minmax(180px, 230px) minmax(0, var(--article)) minmax(120px, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.toc {
  position: sticky;
  top: 92px;
  padding: 18px 18px 20px 0;
  color: var(--quiet);
  font-size: 0.8rem;
  line-height: 1.45;
}

.toc summary {
  display: block;
  list-style: none;
  pointer-events: none;
  margin: 0 0 14px;
  color: #c5c0b7;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  font-weight: 800;
  text-transform: uppercase;
}

.toc summary::-webkit-details-marker {
  display: none;
}

.toc a {
  display: block;
  padding: 8px 0 8px 14px;
  border-left: 1px solid var(--border);
  color: var(--quiet);
  transition: border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.toc a:hover,
.toc a.is-active {
  color: var(--text);
  border-left-color: var(--red);
  transform: translateX(3px);
}

article {
  min-width: 0;
  position: relative;
}

article::before {
  content: "";
  position: absolute;
  top: 4px;
  bottom: 0;
  left: -34px;
  width: 1px;
  background: linear-gradient(180deg, rgba(209, 29, 53, 0.5), rgba(255, 255, 255, 0.06) 18%, transparent 72%);
}

.article-section {
  scroll-margin-top: 90px;
  margin-bottom: clamp(44px, 7vw, 72px);
}

.article-section h2 {
  margin: 0 0 24px;
  color: var(--text);
  font-size: clamp(2rem, 4vw, 3rem);
  text-wrap: balance;
}

.article-section p {
  margin: 0 0 1.2rem;
  color: #d8d2c8;
  font-size: clamp(1.02rem, 1.5vw, 1.1rem);
  letter-spacing: 0;
}

.article-section p:last-child {
  margin-bottom: 0;
}

.pull {
  margin: 36px 0;
  padding: 26px 28px;
  border-left: 3px solid var(--red);
  border-radius: 0 8px 8px 0;
  color: var(--text);
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  line-height: 1.48;
  background:
    linear-gradient(90deg, rgba(209, 29, 53, 0.13), transparent 68%),
    rgba(255, 255, 255, 0.03);
}

.data-card,
.cta-card,
.signup,
.source-box {
  border: 1px solid var(--border);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(209, 29, 53, 0.12), transparent 44%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.048), transparent 45%),
    var(--surface-2);
  box-shadow: var(--shadow);
}

.data-card {
  margin: 38px 0 0;
  padding: clamp(24px, 4vw, 34px);
}

.data-card h3,
.cta-card h3,
.signup h2,
.related h2 {
  margin: 0;
  font-size: clamp(1.55rem, 3vw, 2.15rem);
}

.data-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.metric {
  min-height: 110px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.24);
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.metric:hover {
  transform: translateY(-2px);
  border-color: rgba(201, 162, 106, 0.36);
  background: rgba(255, 255, 255, 0.045);
}

.metric strong {
  display: block;
  color: var(--text);
  font-size: 1.18rem;
  line-height: 1.25;
}

.metric span {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.5;
}

.cta-card {
  margin: 42px 0;
  padding: clamp(24px, 4vw, 34px);
  border-top: 1px solid rgba(209, 29, 53, 0.56);
}

.cta-card p {
  margin: 16px 0 22px;
  color: #ddd8cc;
  font-size: 1.12rem;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid rgba(209, 29, 53, 0.76);
  border-radius: 8px;
  background: linear-gradient(180deg, #d51f37, #8f0f1f);
  color: #fff7f4;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  box-shadow: 0 16px 34px rgba(143, 15, 31, 0.28);
  transition: transform 160ms ease, border-color 160ms ease, filter 160ms ease, box-shadow 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.22);
  filter: brightness(1.06);
  box-shadow: 0 20px 44px rgba(143, 15, 31, 0.38);
}

.signup {
  margin-top: 54px;
  padding: clamp(26px, 5vw, 44px);
  border-top: 3px solid var(--red);
}

.signup p {
  color: #d2cec5;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 24px;
}

label {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

input {
  width: 100%;
  margin-top: 8px;
  min-height: 52px;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.36);
  color: var(--text);
  font: inherit;
  padding: 0 15px;
  outline: none;
  transition: border-color 160ms ease, background 160ms ease;
}

input:focus {
  border-color: rgba(209, 29, 53, 0.82);
  background: rgba(0, 0, 0, 0.52);
  box-shadow: 0 0 0 4px rgba(209, 29, 53, 0.11);
}

.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.consent-row {
  margin-top: 16px;
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  color: #c9c4bb;
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.55;
  text-transform: none;
}

.consent-row input {
  width: 18px;
  min-height: 18px;
  height: 18px;
  margin: 3px 0 0;
  accent-color: var(--red);
}

.signup .button {
  width: 100%;
  margin-top: 16px;
}

.microcopy {
  margin: 16px 0 0;
  color: var(--quiet);
  font-size: 0.86rem;
  line-height: 1.6;
}

.form-status {
  margin: 14px 0 0;
  color: #d7d2c7;
  font-size: 0.88rem;
  line-height: 1.55;
  min-height: 1.4em;
}

.form-status.is-error {
  color: #ffb8b8;
}

.form-status.is-success {
  color: #d8c69f;
}

.source-box {
  margin-top: 34px;
  padding: 22px;
  background: rgba(17, 17, 19, 0.78);
}

.source-box h3 {
  margin: 0 0 10px;
  color: var(--muted);
  font-family: Inter, system-ui, sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.source-box p,
.source-box a {
  color: #c9c4bb;
  font-size: 0.92rem;
  line-height: 1.65;
}

.source-box a {
  display: inline-block;
  margin-top: 8px;
  color: #e1d9cf;
  border-bottom: 1px solid rgba(209, 29, 53, 0.7);
}

.related {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px 76px;
  border-top: 1px solid var(--border);
}

.related h2 {
  padding-top: 52px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.related-card {
  min-height: 170px;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent),
    rgba(17, 17, 19, 0.72);
  transition: border-color 160ms ease, transform 160ms ease, background 160ms ease;
}

.related-card:hover {
  transform: translateY(-2px);
  border-color: rgba(209, 29, 53, 0.52);
  background:
    linear-gradient(180deg, rgba(209, 29, 53, 0.09), transparent),
    rgba(20, 20, 23, 0.88);
}

.related-card small {
  color: var(--quiet);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.related-card h3 {
  margin: 16px 0 0;
  font-size: 1.25rem;
  line-height: 1.34;
}

footer {
  border-top: 1px solid var(--border);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent),
    #070707;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 34px 28px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted);
  font-size: 0.88rem;
}

.footer-title {
  color: var(--text);
  font-weight: 800;
  letter-spacing: 0.18em;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.article-section,
.briefing,
.data-card,
.cta-card,
.signup,
.source-box,
.related-card {
  animation: riseIn 520ms ease both;
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1050px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
    padding-left: 28px;
    padding-right: 28px;
  }

  .hero-copy {
    width: 100%;
    max-width: 720px;
  }

  .hero-visual {
    width: 100%;
    max-width: 720px;
    height: clamp(300px, 48vw, 430px);
    justify-self: start;
  }

  .page-grid {
    grid-template-columns: 1fr;
    max-width: var(--article);
  }

  article::before {
    display: none;
  }

  .toc {
    position: static;
    max-width: var(--article);
    margin: 0 auto 32px;
    padding: 0 22px;
  }

  .toc details {
    border: 1px solid var(--border);
    border-radius: 8px;
    background: rgba(17, 17, 19, 0.86);
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.24);
    overflow: hidden;
  }

  .toc summary {
    pointer-events: auto;
    cursor: pointer;
    padding: 14px 16px;
    margin: 0;
    font-size: 0.8rem;
    color: var(--text);
  }

  .toc a {
    padding: 11px 16px;
    border-left: none;
    border-top: 1px solid var(--border);
    transform: none !important;
  }
}

@media (max-width: 720px) {
  .nav-inner {
    align-items: center;
    padding: 15px 18px;
    gap: 14px;
  }

  .nav-links {
    gap: 12px;
    font-size: 0.78rem;
  }

  .nav-links a[href="#programlar"] {
    display: none;
  }

  .nav-links a[href="#liste"] {
    display: none;
  }

  .hero {
    max-width: 100vw;
    padding: 44px 18px 42px;
    gap: 26px;
    overflow: hidden;
  }

  .hero * {
    min-width: 0;
  }

  .hero::before {
    background:
      linear-gradient(90deg, rgba(8, 8, 8, 0.86) 0%, rgba(8, 8, 8, 0.62) 100%),
      linear-gradient(180deg, transparent 0%, rgba(8, 8, 8, 0.72) 100%);
  }

  .hero-copy {
    width: 100%;
    max-width: 100%;
    padding-top: 0;
    padding-left: 18px;
  }

  .subtitle {
    max-width: 100%;
    font-size: 1rem;
    overflow-wrap: break-word;
  }

  .credibility {
    max-width: 100%;
    font-size: 0.74rem;
    line-height: 1.7;
    overflow-wrap: break-word;
  }

  h1 {
    max-width: 620px;
    font-size: clamp(2.45rem, 10vw, 3.15rem);
    line-height: 1.06;
    overflow-wrap: break-word;
  }

  .hero-visual {
    width: 100%;
    max-width: 100%;
    height: 255px;
    opacity: 0.86;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    width: 100%;
    max-width: 100%;
  }

  .hero-stat {
    width: 100%;
    min-height: 72px;
  }

  .briefing {
    margin: 34px 18px;
    padding: 22px;
    width: calc(100vw - 36px);
    max-width: calc(100vw - 36px);
    overflow: hidden;
  }

  .briefing p {
    max-width: 100%;
    font-size: 1.05rem;
    line-height: 1.46;
    overflow-wrap: break-word;
  }

  .page-grid,
  .related {
    padding-left: 18px;
    padding-right: 18px;
  }

  .data-grid,
  .form-grid,
  .related-grid {
    grid-template-columns: 1fr;
  }

  .pull {
    padding: 22px 20px;
  }

  .footer-inner {
    display: block;
  }

  .footer-links {
    margin-top: 14px;
  }
}

@media (max-width: 440px) {
  .brand {
    font-size: 0.74rem;
    letter-spacing: 0.12em;
  }

  .nav-links {
    font-size: 0.74rem;
  }

  .meta {
    gap: 8px;
  }

  h1 {
    font-size: clamp(2.25rem, 9.8vw, 2.95rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
