/* Tez özeti sayfası; renk ve yazı tipleri style.css'ten gelir */

html { scroll-behavior: smooth; }

.tz-topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem clamp(1.25rem, 5vw, 4rem);
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}
.tz-logo { font-family: var(--font-display); font-size: 1.2rem; }
.tz-logo span { font-style: italic; opacity: 0.7; }
.tz-back { font-size: 0.9rem; font-weight: 600; color: var(--sage-dark); }
.tz-back:hover { color: var(--terracotta); }

.tz-hero {
  background: radial-gradient(circle at 80% 90%, rgba(207, 169, 110, 0.25), transparent 55%),
    radial-gradient(circle at 20% 10%, #3d4a34 0%, var(--ink) 70%);
  color: var(--cream);
  padding: clamp(3.5rem, 8vw, 6.5rem) clamp(1.25rem, 5vw, 4rem);
}
.tz-hero-inner { max-width: 900px; margin: 0 auto; }
.tz-hero h1 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.9rem, 4.4vw, 3.4rem);
  line-height: 1.12;
}
.tz-author {
  margin-top: 1.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}
.tz-takeaway {
  margin-top: 2.5rem;
  padding: 1.5rem 1.7rem;
  border-left: 3px solid var(--gold);
  background: rgba(250, 246, 240, 0.08);
  border-radius: 0 12px 12px 0;
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  line-height: 1.6;
}
.tz-takeaway span {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
}

.tz-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 5rem) clamp(1.25rem, 5vw, 4rem);
}
.tz-toc {
  position: sticky;
  top: 6rem;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.tz-toc p {
  margin-bottom: 0.7rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.tz-toc a {
  padding: 0.55rem 0.8rem;
  border-left: 2px solid var(--line);
  font-size: 0.92rem;
  color: var(--ink-soft);
  transition: color 0.3s, border-color 0.3s, background 0.3s;
}
.tz-toc a b { font-family: var(--font-display); font-style: italic; font-weight: 400; color: var(--terracotta); margin-right: 0.3rem; }
.tz-toc a:hover { color: var(--ink); }
.tz-toc a.active {
  color: var(--ink);
  font-weight: 600;
  border-left-color: var(--terracotta);
  background: var(--cream-2);
}

.tz-section { padding-bottom: clamp(3rem, 6vw, 5rem); scroll-margin-top: 6rem; }
.tz-number {
  margin-bottom: 0.7rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--terracotta);
}
.tz-section h2 {
  margin-bottom: 1.2rem;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1.15;
}
.tz-lead { font-size: 1.1rem; color: var(--ink-soft); line-height: 1.65; max-width: 44rem; }
.tz-text { margin-bottom: 1.3rem; color: var(--ink-soft); line-height: 1.65; max-width: 44rem; }

.tz-subhead {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin: 3rem 0 1.2rem;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.35rem;
}
.tz-subhead span {
  flex: none;
  display: grid;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  background: var(--sage-dark);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
}

.tz-grid { display: grid; gap: 1.2rem; margin-top: 1.8rem; }
.tz-subhead + .tz-grid { margin-top: 0; }
.tz-grid-2 { grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
.tz-grid-3 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.tz-card { padding: 1.7rem; background: var(--cream-2); border-radius: 16px; }
.tz-card h3, .tz-card h4 { margin-bottom: 0.7rem; font-family: var(--font-display); font-weight: 400; font-size: 1.2rem; line-height: 1.25; }
.tz-card small {
  display: inline-block;
  margin-left: 0.2rem;
  padding: 0.1rem 0.5rem;
  border-radius: 999px;
  background: rgba(124, 143, 110, 0.2);
  color: var(--sage-dark);
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  vertical-align: middle;
}
.tz-card p { font-size: 0.95rem; color: var(--ink-soft); line-height: 1.6; }

.tz-components {
  list-style: none;
  counter-reset: part;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 0.6rem;
}
.tz-components li {
  counter-increment: part;
  position: relative;
  padding: 0.85rem 1rem 0.85rem 3rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 0.9rem;
  color: var(--ink-soft);
}
.tz-components li::before {
  content: counter(part);
  position: absolute;
  left: 1rem;
  top: 0.8rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--terracotta);
}
.tz-components strong { display: block; color: var(--ink); font-weight: 600; }

.tz-scale-block { margin-top: 1.8rem; }
.tz-scale-title { margin-bottom: 0.6rem; font-size: 0.85rem; font-weight: 600; }
.tz-scale { display: flex; gap: 3px; border-radius: 12px; overflow: hidden; }
.tz-scale > div { min-width: 0; padding: 0.9rem 1rem; color: var(--cream); }
.tz-scale strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: 1.05rem; }
.tz-scale span { font-size: 0.8rem; }
.tz-scale-psqi > div:first-child { background: var(--sage-dark); }
.tz-scale-psqi > div:last-child { background: #9a5c3c; }
.tz-scale-bmi > div { flex: 1; }
.tz-scale-bmi > div:nth-child(1) { background: #6f7d8c; }
.tz-scale-bmi > div:nth-child(2) { background: var(--sage-dark); }
.tz-scale-bmi > div:nth-child(3) { background: #a77b33; }
.tz-scale-bmi > div:nth-child(4) { background: #9a5c3c; }

.tz-stats { margin-top: 1.8rem; border-top: 1px solid var(--line); }
.tz-stats > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: 1.5rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
}
.tz-stats dt { font-family: var(--font-display); font-size: 1.1rem; line-height: 1.3; }
.tz-stats dd { font-size: 0.95rem; color: var(--ink-soft); line-height: 1.65; }

.tz-results { list-style: none; counter-reset: result; display: grid; gap: 1.2rem; margin-top: 1.8rem; }
.tz-results li {
  counter-increment: result;
  position: relative;
  padding: 1.8rem 1.8rem 1.8rem 5rem;
  background: var(--cream-2);
  border-radius: 16px;
}
.tz-results li::before {
  content: counter(result);
  position: absolute;
  left: 1.8rem;
  top: 1.3rem;
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-style: italic;
  color: var(--terracotta);
}
.tz-results li:last-child { background: var(--sage-dark); color: var(--cream); }
.tz-results li:last-child::before { color: var(--gold); }
.tz-results li:last-child p { color: rgba(250, 246, 240, 0.9); }
.tz-results h3 { margin-bottom: 0.6rem; font-family: var(--font-display); font-weight: 400; font-size: 1.25rem; }
.tz-results p { font-size: 0.97rem; color: var(--ink-soft); line-height: 1.65; }

.tz-cta {
  padding: clamp(2.2rem, 5vw, 3.5rem);
  border-radius: 20px;
  background: var(--ink);
  color: var(--cream);
  text-align: center;
}
.tz-cta h2 { margin-bottom: 1.6rem; font-family: var(--font-display); font-weight: 400; font-size: clamp(1.5rem, 3vw, 2.1rem); }
.tz-cta .btn { margin: 0.3rem; }

.tz-footer {
  padding: 2rem clamp(1.25rem, 5vw, 4rem);
  border-top: 1px solid var(--line);
  text-align: center;
  font-size: 0.8rem;
  color: var(--ink-soft);
}

@media (max-width: 900px) {
  .tz-layout { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .tz-toc {
    top: 3.6rem;
    z-index: 40;
    flex-direction: row;
    gap: 0.4rem;
    margin-inline: -0.25rem;
    padding: 0.6rem 0.25rem;
    overflow-x: auto;
    scrollbar-width: none;
    background: var(--cream);
  }
  .tz-toc::-webkit-scrollbar { display: none; }
  .tz-toc p { display: none; }
  .tz-toc a {
    flex: none;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 0.4rem 0.85rem;
    font-size: 0.82rem;
  }
  .tz-toc a.active { border-color: var(--terracotta); }
  .tz-section { scroll-margin-top: 8rem; }
  .tz-stats > div { grid-template-columns: minmax(0, 1fr); gap: 0.5rem; }
  .tz-results li { padding: 1.4rem 1.3rem 1.4rem 3.6rem; }
  .tz-results li::before { left: 1.2rem; top: 1rem; font-size: 2rem; }
  .tz-scale-bmi { flex-wrap: wrap; }
  .tz-scale-bmi > div { flex: 1 1 45%; }
}
