/* Sorularla Öğren — marka (theme.ts + küp logo) */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,560;9..144,700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --indigo-50: #eef0ff;
  --indigo-100: #d8dcff;
  --indigo-500: #4e5cf2;
  --indigo-600: #3d49d1;
  --indigo-900: #1b2050;
  --ink-900: #0c1522;
  --ink-800: #13202f;
  --ink-700: #1c2c3e;
  --mint-500: #2bb98a;
  --mint-700: #177a5b;
  --amber-500: #f2a93b;
  --amber-700: #9a6614;
  --paper: #f6f7fa;
  --paper-2: #eff1f6;
  --gray-500: #7a8494;
  --gray-300: #c3cad4;
  --border: #e3e7ee;
  --white: #ffffff;
  --hero-dim: #93a1b3;
  --radius: 20px;
  --radius-lg: 28px;
  --max: 1140px;
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Manrope', system-ui, sans-serif;
  --shadow: 0 24px 64px rgba(12, 21, 34, 0.14);
  --shadow-soft: 0 12px 32px rgba(78, 92, 242, 0.12);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink-900);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--indigo-600);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--indigo-500);
}

code {
  font-size: 0.86em;
  background: var(--indigo-50);
  color: var(--indigo-900);
  padding: 0.12em 0.4em;
  border-radius: 6px;
}

.wrap {
  width: min(var(--max), calc(100% - 2.25rem));
  margin-inline: auto;
}

/* ——— Header ——— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 247, 250, 0.86);
  backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid rgba(227, 231, 238, 0.9);
}

.site-header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: inherit;
  text-decoration: none;
  font-weight: 800;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(78, 92, 242, 0.2);
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.12rem;
  letter-spacing: -0.02em;
  color: var(--ink-900);
}

.nav-links {
  display: none;
  flex-wrap: wrap;
  gap: 0.2rem 1.15rem;
  align-items: center;
  font-size: 0.92rem;
  font-weight: 650;
}

.nav-links a {
  text-decoration: none;
  color: #5b6675;
}

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

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  background: var(--indigo-500);
  color: #fff !important;
  text-decoration: none !important;
  font-weight: 700;
  font-size: 0.88rem;
  box-shadow: 0 8px 20px rgba(78, 92, 242, 0.28);
}

.nav-cta:hover {
  background: var(--indigo-600);
  color: #fff !important;
}

@media (min-width: 860px) {
  .nav-links {
    display: flex;
  }
}

/* ——— Hero (full-bleed marka) ——— */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 520px at 85% 15%, rgba(78, 92, 242, 0.45), transparent 55%),
    radial-gradient(700px 400px at 10% 80%, rgba(43, 185, 138, 0.18), transparent 50%),
    radial-gradient(500px 300px at 60% 100%, rgba(242, 169, 59, 0.12), transparent 45%),
    linear-gradient(155deg, #0c1522 0%, #13202f 42%, #1b2050 100%);
  color: #f2f5f9;
  padding: 3.25rem 0 4rem;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
  opacity: 0.9;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 920px) {
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3rem;
    min-height: min(78vh, 680px);
  }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(78, 92, 242, 0.22);
  border: 1px solid rgba(216, 220, 255, 0.25);
  color: var(--indigo-100);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.15rem;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--amber-500);
  box-shadow: 0 0 0 3px rgba(242, 169, 59, 0.25);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6.5vw, 4.35rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin: 0 0 0.35rem;
  color: #fff;
}

.hero-tagline {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 560;
  color: var(--indigo-100);
  letter-spacing: -0.02em;
  margin: 0 0 1.1rem;
  max-width: 16ch;
  line-height: 1.2;
}

.hero-lead {
  font-size: clamp(1.02rem, 2vw, 1.18rem);
  color: var(--hero-dim);
  max-width: 34rem;
  margin: 0 0 1.75rem;
}

.hero-lead strong {
  color: #e8ecf1;
  font-weight: 700;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.78rem 1.1rem;
  border-radius: 14px;
  background: #fff;
  color: var(--ink-900) !important;
  text-decoration: none !important;
  min-width: 178px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
  font-weight: 700;
}

.store-btn:hover {
  transform: translateY(-2px);
  color: var(--ink-900) !important;
}

.store-btn.ghost {
  background: transparent;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: none;
}

.store-btn.ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff !important;
}

.store-btn .meta {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.store-btn .meta small {
  font-size: 0.68rem;
  opacity: 0.65;
  font-weight: 600;
}

.store-btn .meta strong {
  font-size: 1.02rem;
}

.store-btn svg {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}

.hero-note {
  font-size: 0.88rem;
  color: #6f7b8c;
}

.hero-note code {
  background: rgba(255, 255, 255, 0.08);
  color: var(--indigo-100);
}

.hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  animation: floatIn 0.9s ease both;
}

.cube-glow {
  position: absolute;
  width: min(340px, 80%);
  height: min(340px, 80%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(78, 92, 242, 0.55), transparent 68%);
  filter: blur(8px);
  z-index: 0;
}

.cube-img {
  position: relative;
  z-index: 1;
  width: min(300px, 72vw);
  height: auto;
  filter: drop-shadow(0 28px 40px rgba(0, 0, 0, 0.35));
  animation: floatY 5.5s ease-in-out infinite;
}

.hero-stats {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.55rem;
  width: min(420px, 100%);
  margin-top: -0.5rem;
}

.hero-stat {
  text-align: center;
  padding: 0.85rem 0.5rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
}

.hero-stat b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.45rem;
  letter-spacing: -0.03em;
  color: #fff;
}

.hero-stat span {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.72rem;
  font-weight: 650;
  color: var(--hero-dim);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ——— Sections ——— */
section {
  padding: 4rem 0;
}

.section-kicker {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--indigo-500);
  margin: 0 0 0.65rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.75rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0 0 0.85rem;
  max-width: 16ch;
  color: var(--ink-900);
}

.section-lead {
  margin: 0 0 2rem;
  color: #5b6675;
  max-width: 40rem;
  font-size: 1.05rem;
}

.purpose-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 800px) {
  .purpose-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.purpose-card {
  position: relative;
  padding: 1.5rem 1.35rem 1.4rem;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: 0 10px 28px rgba(12, 21, 34, 0.04);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.purpose-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
}

.purpose-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--indigo-500), var(--mint-500), var(--amber-500));
}

.purpose-num {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--indigo-500);
  margin-bottom: 0.6rem;
}

.purpose-card h3 {
  font-family: var(--font-display);
  font-size: 1.28rem;
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
}

.purpose-card p {
  margin: 0;
  color: #5b6675;
  font-size: 0.97rem;
}

/* Öğretim sistemi / şema */
.method-band {
  padding: 4.5rem 0 4rem;
  background:
    radial-gradient(720px 320px at 85% 10%, rgba(43, 185, 138, 0.1), transparent 55%),
    radial-gradient(640px 300px at 5% 90%, rgba(78, 92, 242, 0.09), transparent 50%),
    var(--paper);
}

.method-schema {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 2rem;
}

@media (min-width: 960px) {
  .method-schema {
    flex-direction: row;
    align-items: stretch;
    gap: 0;
  }
}

.method-step {
  flex: 1;
  position: relative;
  padding: 1.35rem 1.2rem 1.4rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 12px 36px rgba(12, 21, 34, 0.05);
  animation: methodIn 0.7s ease both;
  animation-delay: calc(var(--i, 0) * 0.08s);
}

@keyframes methodIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.method-step h3 {
  font-family: var(--font-display);
  font-size: 1.12rem;
  margin: 0.55rem 0 0.4rem;
  letter-spacing: -0.02em;
  color: var(--ink-900);
}

.method-step p {
  margin: 0;
  font-size: 0.92rem;
  color: #5b6675;
  line-height: 1.5;
}

.method-index {
  display: block;
  margin-top: 0.75rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--indigo-500);
}

.method-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: var(--indigo-600);
  background: linear-gradient(145deg, var(--indigo-50), #fff);
  border: 1px solid var(--indigo-100);
}

.method-icon-accent {
  color: var(--mint-700);
  background: linear-gradient(145deg, #e8faf3, #fff);
  border-color: rgba(43, 185, 138, 0.35);
}

.method-arrow {
  flex: 0 0 auto;
  align-self: center;
  width: 2px;
  height: 1.1rem;
  margin: 0.15rem auto;
  background: linear-gradient(180deg, var(--indigo-100), var(--mint-500));
  border-radius: 2px;
  position: relative;
}

.method-arrow::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -3px;
  width: 7px;
  height: 7px;
  border-right: 2px solid var(--mint-500);
  border-bottom: 2px solid var(--mint-500);
  transform: translateX(-50%) rotate(45deg);
}

@media (min-width: 960px) {
  .method-arrow {
    width: 1.15rem;
    height: 2px;
    margin: 0 0.15rem;
    background: linear-gradient(90deg, var(--indigo-100), var(--mint-500));
  }

  .method-arrow::after {
    left: auto;
    right: -3px;
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
    border-right: 2px solid var(--mint-500);
    border-bottom: 2px solid var(--mint-500);
  }
}

.method-loop-note {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 1.75rem 0 0;
  padding: 0.9rem 1.15rem;
  border-radius: 999px;
  background: rgba(27, 32, 80, 0.04);
  border: 1px solid var(--border);
  color: #4a5565;
  font-size: 0.95rem;
  font-weight: 600;
  width: fit-content;
  max-width: 100%;
}

.method-loop-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--mint-500);
  box-shadow: 0 0 0 0 rgba(43, 185, 138, 0.45);
  animation: methodPulse 2.2s ease-out infinite;
  flex-shrink: 0;
}

@keyframes methodPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(43, 185, 138, 0.45);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(43, 185, 138, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(43, 185, 138, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .method-step {
    animation: none;
  }
  .method-loop-dot {
    animation: none;
  }
}

/* Exams */
.exam-band {
  background:
    radial-gradient(600px 280px at 0% 0%, rgba(78, 92, 242, 0.08), transparent 60%),
    linear-gradient(180deg, var(--paper-2), var(--paper));
  border-block: 1px solid var(--border);
}

.exam-groups {
  display: grid;
  gap: 1rem;
}

@media (min-width: 900px) {
  .exam-groups {
    grid-template-columns: 1fr 1fr;
  }
}

.exam-group {
  padding: 1.25rem 1.3rem 1.4rem;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: 0 8px 24px rgba(12, 21, 34, 0.03);
}

.exam-group.wide {
  grid-column: 1 / -1;
}

.exam-group h3 {
  margin: 0 0 0.9rem;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--indigo-600);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.72rem;
  border-radius: 999px;
  background: var(--paper-2);
  border: 1px solid var(--border);
  font-size: 0.84rem;
  font-weight: 650;
  color: var(--ink-800);
}

.chip.hot {
  background: var(--indigo-50);
  border-color: var(--indigo-100);
  color: var(--indigo-900);
}

.chip.mint {
  background: #e4f6ef;
  border-color: #c8ebd9;
  color: var(--mint-700);
}

.chip.amber {
  background: #fcf1dc;
  border-color: #f5e0b0;
  color: var(--amber-700);
}

/* Compare */
.compare-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--white);
  box-shadow: 0 12px 36px rgba(12, 21, 34, 0.05);
}

.compare {
  width: 100%;
  border-collapse: collapse;
  min-width: 540px;
}

.compare th,
.compare td {
  padding: 1rem 1.1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}

.compare thead th {
  background: linear-gradient(180deg, var(--indigo-900), var(--ink-900));
  color: #e8ecf1;
  font-weight: 700;
}

.compare thead th:last-child {
  color: var(--amber-500);
}

.compare td:nth-child(3) {
  color: var(--indigo-600);
  font-weight: 750;
}

.compare tr:last-child td {
  border-bottom: 0;
}

.price-note {
  margin-top: 1.1rem;
  color: var(--gray-500);
  font-size: 0.92rem;
}

/* Trust */
.trust-row {
  display: grid;
  gap: 1rem;
}

@media (min-width: 800px) {
  .trust-row {
    grid-template-columns: 1.25fr 1fr;
  }
}

.trust-card {
  padding: 1.75rem 1.6rem;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(500px 220px at 100% 0%, rgba(78, 92, 242, 0.35), transparent 55%),
    linear-gradient(145deg, var(--ink-900), var(--indigo-900));
  color: #eef0ff;
  box-shadow: var(--shadow);
}

.trust-card h3 {
  font-family: var(--font-display);
  font-size: 1.65rem;
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
  color: #fff;
}

.trust-card p {
  margin: 0 0 1rem;
  color: rgba(232, 236, 241, 0.78);
}

.trust-card ul {
  margin: 0;
  padding-left: 1.15rem;
}

.trust-card li {
  margin-bottom: 0.45rem;
  color: rgba(238, 240, 255, 0.92);
}

.side-card {
  padding: 1.75rem 1.6rem;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: 0 10px 28px rgba(12, 21, 34, 0.04);
}

.side-card h3 {
  font-family: var(--font-display);
  margin: 0 0 0.65rem;
  font-size: 1.35rem;
}

/* Final CTA */
.final-cta {
  text-align: center;
  padding: 3.5rem 1.5rem;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(700px 260px at 50% -20%, rgba(78, 92, 242, 0.2), transparent 60%),
    linear-gradient(180deg, #fff, var(--indigo-50));
  border: 1px solid var(--indigo-100);
  box-shadow: var(--shadow-soft);
}

.final-cta h2 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4vw, 2.6rem);
  letter-spacing: -0.03em;
  margin: 0 0 0.75rem;
  color: var(--ink-900);
}

.final-cta p {
  margin: 0 auto 1.5rem;
  max-width: 34rem;
  color: #5b6675;
}

.final-cta .cta-row {
  justify-content: center;
}

.final-cta .store-btn {
  background: var(--indigo-500);
  color: #fff !important;
  box-shadow: 0 12px 28px rgba(78, 92, 242, 0.32);
}

.final-cta .store-btn:hover {
  background: var(--indigo-600);
  color: #fff !important;
}

.final-cta .store-btn.ghost {
  background: var(--white);
  color: var(--ink-900) !important;
  border: 1px solid var(--border);
  box-shadow: none;
}

.final-cta .store-btn.ghost:hover {
  color: var(--ink-900) !important;
  background: var(--paper-2);
}

/* Footer */
.site-footer {
  padding: 2.75rem 0 2.5rem;
  background: var(--ink-900);
  color: #a6b1c0;
  margin-top: 1rem;
}

.site-footer .brand-name {
  color: #fff;
}

.footer-grid {
  display: grid;
  gap: 1.75rem;
}

@media (min-width: 700px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
  }
}

.site-footer h4 {
  margin: 0 0 0.65rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--indigo-100);
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li {
  margin-bottom: 0.4rem;
}

.site-footer a {
  text-decoration: none;
  color: #c3cad4;
  font-weight: 600;
}

.site-footer a:hover {
  color: #fff;
}

.footer-copy {
  margin-top: 2rem;
  padding-top: 1.15rem;
  border-top: 1px solid #243447;
  font-size: 0.86rem;
  color: #6f7b8c;
}

/* Legal docs */
.doc-main {
  width: min(780px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 2.25rem 0 4rem;
  color: var(--gray-800, #1e293b);
  line-height: 1.65;
}

.doc-main h1 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4vw, 2.4rem);
  letter-spacing: -0.02em;
  margin: 0.5rem 0 0.4rem;
  color: var(--indigo-950, #0f172a);
}

.doc-main h2 {
  font-size: 1.14rem;
  margin-top: 2.1rem;
  margin-bottom: 0.65rem;
  color: var(--indigo-900);
  letter-spacing: -0.01em;
}

.doc-main h3 {
  font-size: 1rem;
  margin-top: 1.25rem;
  margin-bottom: 0.4rem;
  color: var(--indigo-900);
}

.doc-main p,
.doc-main li {
  font-size: 0.98rem;
}

.doc-main ul,
.doc-main ol {
  padding-left: 1.25rem;
  margin: 0.5rem 0 1rem;
}

.doc-main li {
  margin: 0.35rem 0;
}

.doc-main .meta {
  color: var(--gray-500);
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
}

.doc-main table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 1.25rem;
  font-size: 0.92rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.doc-main th,
.doc-main td {
  text-align: left;
  padding: 0.7rem 0.85rem;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.doc-main th {
  background: var(--indigo-50, #eef2ff);
  font-weight: 700;
  font-size: 0.86rem;
  text-transform: none;
}

.doc-main tr:last-child td {
  border-bottom: 0;
}

.doc-crumb {
  font-size: 0.92rem;
  margin-bottom: 0.5rem;
}

.doc-crumb a {
  text-decoration: none;
  font-weight: 700;
}

.doc-toc {
  margin: 1.25rem 0 1.75rem;
  padding: 1rem 1.15rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
}

.doc-toc strong {
  display: block;
  margin-bottom: 0.55rem;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gray-500);
}

.doc-toc ol {
  margin: 0;
  padding-left: 1.15rem;
  columns: 1;
}

.doc-toc a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.94rem;
}

.doc-callout {
  margin: 1.15rem 0;
  padding: 0.95rem 1.1rem;
  border-radius: 12px;
  border: 1px solid #c7d2fe;
  background: linear-gradient(135deg, #eef2ff, #f8fafc);
  font-size: 0.95rem;
}

.doc-callout strong {
  color: var(--indigo-900);
}

.doc-related {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1.5rem 0 0.5rem;
}

.doc-related a {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--indigo-900);
}

.doc-related a:hover {
  border-color: #a5b4fc;
  background: var(--indigo-50);
}

.doc-footer-nav {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  display: grid;
  gap: 0.35rem;
  font-size: 0.92rem;
}

.site-bg-doc {
  min-height: 100vh;
  background: linear-gradient(180deg, var(--indigo-50), var(--paper) 28%);
}

.site-bg-doc .site-header .nav-links a[aria-current="page"] {
  color: var(--indigo-900);
  font-weight: 800;
}

@keyframes floatY {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

@keyframes floatIn {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.fade-up {
  animation: floatIn 0.75s ease both;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

@media (min-width: 720px) {
  .doc-toc ol {
    columns: 2;
    column-gap: 1.5rem;
  }
}
