/* Bloklar: araç kartı ve önizlemeleri, rehber listesi, Akademi kartı, SSS, CTA, sayfa yolu. */

/* --- Araç kartı ve önizlemeler ------------------------------------------------------ */
.tool-card {
  display: flex;
  flex-direction: column;
  border: var(--rule-hair) solid var(--color-rule);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: var(--color-ink);
  background: var(--color-card);
  transition: border-color var(--dur-fast) var(--ease-out);
}

.tool-card:hover {
  border-color: var(--color-accent);
  color: var(--color-ink);
}

.tool-card__preview {
  height: 120px;
  background: var(--color-surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  overflow: hidden;
}

.tool-card--lg .tool-card__preview {
  height: 132px;
}

.tool-card__body {
  flex: 1;
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.tool-card--lg .tool-card__body {
  gap: 6px;
}

.tool-card__tag {
  font-size: var(--text-2xs);
  color: oklch(40% 0.012 50);
}

.tool-card--lg .tool-card__tag {
  align-self: flex-start;
  font-weight: 500;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  background: var(--color-chip);
}

.tool-card__name {
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.25;
}

.tool-card--lg .tool-card__name {
  font-size: 1.125rem;
}

.tool-card__desc {
  font-size: 0.875rem;
  line-height: 1.45;
  color: oklch(40% 0.012 50);
}

.tool-card--lg .tool-card__desc {
  flex: 1;
  line-height: 1.5;
}

.tool-card__open {
  margin-top: 8px;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-accent-ink);
}

/* Önizleme parçaları (dekoratif, aria-hidden) */
.pv {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-weight: 600;
}

.pv i,
.pv b,
.pv s,
.pv em {
  display: block;
  font-style: normal;
}

.pv-dots {
  display: grid;
  grid-template-columns: repeat(5, 13px);
  gap: 6px;
}

.pv-dots i {
  height: 13px;
  border-radius: 50%;
  background: var(--color-gray-bar);
}

.pv-dots i.on {
  background: var(--color-accent);
}

.pv-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.pv-caption {
  font-size: var(--text-2xs);
  font-weight: 600;
  color: oklch(40% 0.012 50);
}

.pv-grade {
  flex: 0 0 auto;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  border: 3px solid var(--color-accent);
  display: flex !important;
  align-items: center;
  justify-content: center;
  font-size: 2.125rem;
  font-weight: 600;
  letter-spacing: -0.04em;
  background: var(--color-card);
}

.pv-grade--plain {
  border-color: transparent;
  background: transparent;
  width: auto;
  height: auto;
  font-size: 2rem;
}

.pv-lines {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.pv-lines i {
  height: 6px;
  border-radius: var(--radius-pill);
  background: var(--color-accent);
}

.pv-lines i.off {
  background: var(--color-gray-bar);
}

.pv-swap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
}

.pv-swap s {
  font-size: 1rem;
  text-decoration: line-through;
  color: var(--color-ink-3);
}

.pv-swap em {
  color: var(--color-accent-ink);
}

.pv-swap b {
  font-size: 1.125rem;
}

.pv-meter {
  width: 100%;
  max-width: 190px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pv-meter__track {
  position: relative;
  height: 6px;
  border-radius: var(--radius-pill);
  background: var(--color-rule);
}

.pv-meter__track::after {
  content: '';
  position: absolute;
  inset: 0 26% 0 0;
  border-radius: var(--radius-pill);
  background: var(--color-accent);
}

.pv-meter__count {
  font-size: 0.6875rem;
  font-weight: 600;
  color: oklch(40% 0.012 50);
  text-align: right;
}

.pv-snippet {
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  background: var(--color-card);
  font-size: var(--text-2xs);
  font-weight: 500;
  border: var(--rule-hair) solid var(--color-rule);
  line-height: 1.35;
}

.pv-post {
  width: 100%;
  max-width: 200px;
  padding: 12px;
  border-radius: 8px;
  background: var(--color-card);
  border: var(--rule-hair) solid var(--color-rule);
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: var(--text-2xs);
  line-height: 1.35;
  font-weight: 500;
}

.pv-post__head {
  display: flex;
  align-items: center;
  gap: 6px;
}

.pv-post__head i:first-child {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--color-gray-bar);
}

.pv-post__head i:last-child {
  width: 60px;
  height: 5px;
  border-radius: var(--radius-pill);
  background: var(--color-gray-bar);
}

.pv-badge {
  align-self: flex-start;
  font-size: 0.625rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: var(--radius-xs);
  background: var(--color-accent);
  color: var(--color-on-accent);
}

.pv-cols {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 80px;
}

.pv-cols i {
  width: 22px;
  border-radius: 4px 4px 0 0;
  background: var(--color-gray-bar);
}

.pv-cols i.on {
  background: var(--color-accent);
}

.pv-cols b {
  margin-left: 8px;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
  align-self: center;
}

.pv-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--color-gray-bar);
  display: flex !important;
  align-items: center;
  justify-content: center;
  font-size: 0.625rem;
  color: var(--color-ink-2);
  font-weight: 500;
}

.pv-quote {
  font-size: 0.6875rem;
  color: var(--color-accent-ink);
}

.pv-text {
  font-size: 1rem;
  letter-spacing: -0.01em;
}

.pv-big {
  font-size: 1.5rem;
  letter-spacing: -0.03em;
}

.pv-slides {
  display: flex;
  gap: 6px;
}

.pv-slides i {
  width: 44px;
  height: 56px;
  border-radius: var(--radius-xs);
  background: var(--color-card);
  border: var(--rule-hair) solid var(--color-rule);
}

.pv-slides i:first-child {
  background: var(--color-ink);
  border-color: var(--color-ink);
}

.pv-slides i:nth-child(2) {
  border-color: var(--color-accent);
}

.pv-frame {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 2px dashed var(--color-accent);
  display: flex !important;
  align-items: center;
  justify-content: center;
}

.pv-frame i {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--color-ink);
}

.pv-table {
  display: grid;
  grid-template-columns: 14px 70px 34px;
  gap: 6px 8px;
  align-items: center;
}

.pv-table i {
  height: 6px;
  border-radius: var(--radius-pill);
  background: var(--color-gray-bar);
}

.pv-table i.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-accent);
}

.pv-table i.dot.ink {
  background: var(--color-ink);
}

/* --- Rehber listesi + Akademi kartı ------------------------------------------------- */
.guides-academy {
  display: flex;
  flex-wrap: wrap;
  gap: 40px 48px;
}

.guides-academy__list {
  flex: 3 1 420px;
  min-width: 0;
}

.list-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 16px;
}

.numbered {
  border-top: var(--rule-hair) solid var(--color-rule);
  list-style: none;
  padding: 0;
}

.numbered a {
  display: flex;
  gap: 16px;
  align-items: baseline;
  padding: 18px 0;
  border-bottom: var(--rule-hair) solid var(--color-rule);
  text-decoration: none;
  color: var(--color-ink);
}

.numbered a:hover .numbered__title {
  color: var(--color-accent-ink);
}

.numbered__n {
  flex: 0 0 auto;
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-accent-ink);
}

.numbered__text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.numbered__title {
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  transition: color var(--dur-fast) var(--ease-out);
}

.numbered--lg .numbered__title {
  font-size: var(--text-xl);
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.numbered__desc {
  font-size: 0.875rem;
  line-height: 1.5;
  color: oklch(40% 0.012 50);
}

.dark-card {
  flex: 2 1 300px;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--color-ink);
  color: var(--color-ink-band);
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-self: flex-start;
}

.dark-card .kicker {
  color: var(--color-accent-on-dark);
}

.dark-card__title {
  font-size: 1.625rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.modules {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  counter-reset: mod;
}

.modules li {
  display: flex;
  gap: 12px;
  padding: 8px 0;
  border-top: var(--rule-hair) solid oklch(32% 0.012 50);
  font-size: 0.875rem;
  counter-increment: mod;
}

.modules li::before {
  content: counter(mod);
  width: 1.25rem;
  flex: 0 0 1.25rem;
  color: var(--color-accent-on-dark);
  font-weight: 600;
}

.dark-card .btn {
  align-self: flex-start;
}

.dark-card__more {
  font-size: var(--text-sm);
  color: var(--color-ink-band);
}

.dark-card__more .link-arrow {
  min-height: 24px;
  white-space: nowrap;
  color: var(--color-accent-on-dark);
}

.dark-card__more .link-arrow:hover {
  color: var(--color-on-ink);
}

/* --- SSS akordiyonu ------------------------------------------------------------------ */
.faq-section {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 48px;
}

.faq-section > h2 {
  flex: 1 1 260px;
}

.faq-section > .faq {
  flex: 2 1 400px;
  min-width: 0;
}

.faq {
  border-top: var(--rule-hair) solid var(--color-rule);
}

.faq__item {
  border-bottom: var(--rule-hair) solid var(--color-rule);
}

.faq__q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 56px;
  padding: 12px 0;
  list-style: none;
  cursor: pointer;
  font-weight: 600;
  line-height: 1.35;
}

.faq__q::-webkit-details-marker {
  display: none;
}

.faq__q::after {
  content: '+';
  flex: 0 0 auto;
  font-weight: 400;
  font-size: 1.25rem;
  color: var(--color-ink-3);
}

.faq__item[open] .faq__q::after {
  content: '−';
}

.faq__a {
  padding: 0 0 18px;
  max-width: 40rem;
  font-size: var(--text-sm);
  line-height: 1.6;
  color: var(--color-ink-2);
}

/* --- CTA şeritleri -------------------------------------------------------------------- */
.cta-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
  padding: clamp(28px, 5vw, 56px);
  border-radius: var(--radius-lg);
  background: var(--color-accent);
  color: var(--color-on-accent);
}

.cta-strip__text {
  flex: 1 1 360px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.cta-strip__title {
  font-size: clamp(1.75rem, 1.2rem + 2vw, 2.75rem);
  font-weight: 600;
  letter-spacing: var(--tracking-h2);
  line-height: 1.02;
}

.cta-strip__body {
  font-size: var(--text-base);
  line-height: 1.5;
  font-weight: 500;
}

.cta-strip .btn {
  min-height: 52px;
  padding: 0 28px;
}

/* Sayfada koyu bant ve dolu mercan zaten varsa yumuşak varyant */
.cta-strip--soft {
  padding: clamp(24px, 4vw, 40px);
  background: var(--color-accent-wash);
  border: var(--rule-hair) solid var(--color-accent-rule);
  color: var(--color-ink);
}

.cta-strip--soft .cta-strip__title {
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.cta-strip--soft .cta-strip__body {
  font-size: var(--text-sm);
  font-weight: 400;
  color: oklch(36% 0.02 40);
}

.cta-strip--soft .btn {
  min-height: 48px;
  padding: 0 24px;
}

/* Teşhis köprüsü (araç sonuç ekranı) */
.bridge {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  border-radius: var(--radius-lg);
  background: var(--color-accent-wash);
  border: var(--rule-hair) solid var(--color-accent-rule);
  text-decoration: none;
  color: var(--color-ink);
}

.bridge:hover {
  border-color: var(--color-accent);
  color: var(--color-ink);
}

.bridge__text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.bridge__text span {
  font-size: 0.875rem;
  color: oklch(36% 0.02 40);
}

.bridge__arrow {
  font-weight: 600;
  color: var(--color-accent-ink);
}

/* --- Sayfa yolu ve sayfa başı ---------------------------------------------------------- */
.crumbs {
  min-width: 0;
  max-width: 100%;
}

.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  font-size: 0.875rem;
  color: var(--color-ink-3);
}

.crumbs li {
  white-space: nowrap;
}

.crumbs li + li::before {
  content: '/';
  margin-right: 8px;
}

.crumbs li:last-child {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

.crumbs a {
  color: var(--color-ink-3);
  text-decoration: none;
}

.crumbs a:hover {
  color: var(--color-accent-ink);
}

.crumbs [aria-current='page'] {
  color: var(--color-ink);
  font-weight: 500;
}

.page-head {
  padding-top: clamp(40px, 7vw, 88px);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.page-head > * {
  min-width: 0;
}

.page-head--split {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 24px 48px;
  align-items: flex-end;
}

.page-head--split > .display-s {
  flex: 7 1 440px;
}

.page-head--split > p {
  flex: 5 1 300px;
}

/* Basit listeler */
.checklist,
.crosslist {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.checklist li,
.crosslist li {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-top: var(--rule-hair) solid var(--color-rule-soft);
  font-size: var(--text-sm);
  line-height: 1.5;
}

.checklist li::before {
  content: '✓';
  color: var(--color-accent-ink);
  font-weight: 600;
}

.crosslist li {
  color: var(--color-ink-2);
}

.crosslist li::before {
  content: '—';
  color: var(--color-ink-3);
}

.checklist--compact li {
  padding: 0;
  border-top: 0;
  font-size: 0.875rem;
  line-height: 1.45;
  gap: 10px;
}

.checklist--compact {
  gap: 8px;
}

/* CSP satır içi stile izin vermez: önizleme ölçüleri sınıflarla verilir. */
.pv-lines .w24 { width: 24px; }
.pv-lines .w28 { width: 28px; }
.pv-lines .w36 { width: 36px; }
.pv-lines .w40 { width: 40px; }
.pv-lines .w44 { width: 44px; }
.pv-lines .w48 { width: 48px; }
.pv-lines .w56 { width: 56px; }
.pv-lines .w90 { width: 90px; }
.pv-lines .w100 { width: 100px; }
.pv-lines .w120 { width: 120px; }
.pv-lines .w130 { width: 130px; }
.pv-lines .w150 { width: 150px; }

.pv-meter__track--f74::after { right: 26%; }
.pv-meter__track--f71::after { right: 29%; }
.pv-meter__track--f92::after { right: 8%; }

.pv-cols i:nth-child(1) { height: 30%; }
.pv-cols i:nth-child(2) { height: 55%; }
.pv-cols i:nth-child(3) { height: 100%; }
.pv-cols i:nth-child(4) { height: 70%; }

.pv-swap--left {
  align-items: flex-start;
  text-align: left;
}

.pv-swap__s {
  font-size: 0.9375rem !important;
}

.pv-styles b {
  font-weight: 700;
}

.pv-styles em {
  font-style: italic;
  font-weight: 500;
}

.pv-styles s {
  font-weight: 500;
  color: var(--color-ink-3);
}

.pv-doc {
  width: 70px;
  height: 88px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  justify-content: center;
}

.pv-doc b {
  font-size: var(--text-2xs);
}
