.study-main { width: min(1200px, calc(100% - 48px)); margin: 0 auto; }
.study-main :focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.study-header { max-width: 900px; }
.study-header h1 { margin-bottom: 12px; }
.study-eyebrow { margin: 0 0 8px; color: var(--muted); font-size: .74rem; font-weight: 800; letter-spacing: .045em; }
.study-lead { max-width: 68ch; color: var(--muted); font-size: 1rem; line-height: 1.72; }

.study-grid, .candidate-grid, .study-knowledge-links { list-style: none; padding: 0; margin: 0; }
.study-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1px; margin-top: 32px; border: 1px solid var(--line); background: var(--line); }
.study-card { min-width: 0; background: var(--paper); }
.study-card > a { display: grid; align-content: start; gap: 8px; min-height: 210px; height: 100%; padding: 22px; color: inherit; text-decoration: none; }
.study-card h2, .candidate-card h3 { margin: 0; overflow-wrap: anywhere; }
.study-card h2 { font-size: clamp(1.2rem, 2.8vw, 1.65rem); letter-spacing: -.03em; }
.study-card p { color: var(--muted); line-height: 1.62; }
.study-card a:hover h2 { text-decoration: underline; text-underline-offset: .16em; }
.study-chip-row { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 6px; }
.study-chip { display: inline-flex; align-items: center; min-height: 26px; padding: 4px 8px; border: 1px solid var(--line); color: var(--muted); font-size: .7rem; line-height: 1.2; }

.study-section { display: grid; gap: 16px; margin-top: 0; padding: 36px 0; border-bottom: 1px solid var(--line); }
.study-section > h2, .study-method h2 { margin: 0; font-size: clamp(1.15rem, 2.6vw, 1.55rem); letter-spacing: -.025em; }
.study-method { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1px; padding-top: 36px; background: var(--line); }
.study-method > div { min-width: 0; padding: 20px; background: var(--paper); }
.study-method > div p, .study-method li { color: var(--muted); line-height: 1.68; overflow-wrap: anywhere; }
.study-method ul { margin: 0; padding-left: 18px; }
.study-scope-note { max-width: 78ch; margin: 18px 0 0; color: var(--muted); font-size: .82rem; line-height: 1.68; }
.study-knowledge-links { display: grid; border-top: 1px solid var(--line); }
.study-knowledge-links li { border-bottom: 1px solid var(--line); }
.study-knowledge-links a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: center; min-height: 52px; padding: 12px 0; color: inherit; text-decoration: none; }
.study-knowledge-links strong { overflow-wrap: anywhere; }
.study-knowledge-links span { color: var(--muted); font-size: .72rem; }
.study-knowledge-links a:hover strong { text-decoration: underline; text-underline-offset: .16em; }
.study-section-heading, .candidate-heading { display: flex; justify-content: space-between; gap: 20px; align-items: end; }
.study-section-heading > div { display: grid; gap: 5px; }
.study-section-heading > p { color: var(--muted); font-size: .78rem; }

.candidate-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 1px; border: 1px solid var(--line); background: var(--line); }
.candidate-grid-typography { grid-template-columns: 1fr; }
.candidate-card { min-width: 0; padding: 20px; background: var(--paper); }
.candidate-heading { min-height: 48px; }
.candidate-heading h3 { font-size: 1rem; letter-spacing: -.015em; }
.candidate-note { margin: 14px 0 0; color: var(--muted); line-height: 1.62; overflow-wrap: anywhere; }
.typography-preview { min-height: 280px; margin-top: 14px; padding: 22px; border: 1px solid var(--line); overflow: auto; }
.typography-preview > p { margin: 0; }
.composition-preview { position: relative; width: 100%; margin-top: 14px; border: 1px solid var(--line); overflow: hidden; }
.composition-block { position: absolute; display: block; }
.tone-strong { background: currentColor; }
.tone-medium { background: currentColor; opacity: .56; }
.tone-light { background: currentColor; opacity: .22; }
.study-conclusion { max-width: 78ch; }
.study-conclusion p { color: var(--muted); line-height: 1.74; }

@media (min-width: 1100px) {
  .study-method { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .candidate-card { padding: 22px; }
}

@media (max-width: 760px) {
  .study-main { width: min(100% - 32px, 1200px); }
}

@media (max-width: 640px) {
  .study-main { width: min(100% - 24px, 1200px); }
  .study-section { padding: 28px 0; }
  .study-section-heading, .candidate-heading { align-items: start; flex-direction: column; gap: 7px; }
  .candidate-grid, .study-grid, .study-method { grid-template-columns: 1fr; }
  .study-card > a { min-height: 0; padding: 18px; }
  .candidate-card { padding: 16px; }
  .typography-preview { min-height: 0; padding: 16px; }
  .study-knowledge-links a { min-height: 52px; }
}

@media (max-width: 390px) {
  .study-main { width: calc(100% - 20px); }
  .study-card > a { padding: 16px; }
  .candidate-card { padding: 14px; }
  .typography-preview { padding: 14px; }
}
