/* AnthroPrime visual identity; application layouts remain in styles.css. */
body {
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}
::selection {
  background: var(--accent-wash);
  color: var(--accent);
}
h1, h2, h3, h4, .section-head h2, .path-body h3, .report-card h2, .lesson-content > h2, .completion-panel h3, .editor-panel h2, .editor-note h3, .dialog-head h2, .empty h3 {
  font-family: var(--font-heading);
  font-weight: 500;
  letter-spacing: -0.035em;
}
.page-head h1 {
  font-size: clamp(37px, 3.7vw, 54px);
  line-height: 1.05;
}
.page-head p {
  font-size: 13px;
  line-height: 1.85;
}
.section-head h2 {
  font-size: 34px;
  line-height: 1.1;
}
.section-head .eyebrow,
.eyebrow {
  font-family: var(--font-body);
  font-weight: 500;
  letter-spacing: 0.17em;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-right: 8px;
  border-radius: 50%;
  background: currentColor;
  vertical-align: 2px;
}
.section-number,
.lesson-kicker > span:first-child {
  letter-spacing: 0.13em;
}
.button {
  border-radius: 3px;
  font-size: 12px;
  font-weight: 550;
  gap: 18px;
  min-height: 41px;
}
.button.primary {
  border-color: var(--button);
  box-shadow: 0 5px 15px #1a27440d;
}
.button.outline {
  background: transparent;
  color: var(--accent);
  border-color: var(--line);
}
.button.outline:hover {
  border-color: var(--gold);
  background: var(--accent-wash);
}
.button.subtle,
.text-link {
  color: var(--accent);
}
.text-link .icon {
  color: var(--gold-text);
}
input,
select,
textarea,
.tabs,
.tag,
.quiz-option {
  border-radius: 3px;
}
.sidebar {
  background: var(--card);
  color: var(--body);
  border-right: 1px solid var(--line);
  padding-top: 30px;
}
.brand {
  gap: 10px;
  color: var(--ink);
  letter-spacing: -0.6px;
  align-items: center;
}
.brand-logo {
  width: 48px;
  height: 38px;
  object-fit: contain;
  background: #202c3b;
  border-radius: 3px;
  flex-shrink: 0;
}
.brand-name {
  font: 500 28px/1 var(--font-heading);
  white-space: nowrap;
}
.brand-name em {
  color: var(--accent);
  font-weight: 500;
}
.brand-name small {
  font: 500 6.5px/1.8 var(--font-body);
  letter-spacing: 0.16em;
  color: var(--muted);
  margin-top: 6px;
}
.nav-caption {
  color: var(--muted);
  font-size: 8px;
  margin-top: 43px;
}
.nav-item {
  color: var(--muted);
  border-radius: 3px;
  font-size: 12px;
  border-left: 2px solid transparent;
}
.nav-item.active {
  background: var(--accent-wash);
  color: var(--accent);
  border-left-color: var(--gold);
}
.nav-item.active .icon {
  color: var(--accent);
}
.nav-item:hover {
  background: var(--soft);
  color: var(--ink);
}
.nav-dot {
  background: var(--gold);
}
.sidebar-profile small {
  color: var(--muted);
}
.sidebar-profile {
  border-color: var(--line);
}
.sidebar-profile strong {
  color: var(--ink);
  font-weight: 550;
}
.avatar {
  background: var(--accent-wash);
  color: var(--accent);
  border: 1px solid var(--accent-line);
}
.topbar {
  background: var(--header);
  backdrop-filter: blur(16px);
  position: relative;
}
.round-button {
  border-radius: 3px;
}
.logout-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid var(--accent-line);
  border-radius: 3px;
  background: var(--accent-wash);
  color: var(--accent);
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}
.logout-button:hover {
  border-color: var(--accent);
}
.logout-button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
@media (max-width: 600px) {
  .logout-button {
    min-height: 44px;
    padding-inline: 10px;
  }
}
.hero-progress {
  color: var(--muted);
}
.stats {
  border-radius: 4px;
}
.stats strong {
  font: 500 34px/1 var(--font-heading);
}
.stat-icon,
.green-text {
  color: var(--accent);
}
.gold-text {
  color: var(--gold-text);
}
.course-card,
.studio-card,
.path-card,
.report-card,
.table-wrap,
.activity-list,
.curriculum,
.lesson-content,
.editor-panel {
  border-radius: 5px;
  box-shadow: 0 7px 25px #1a274403;
}
.course-card {
  display: flex;
  flex-direction: column;
}
.course-card-body {
  flex: 1;
  padding: 22px;
}
.course-card h3,
.studio-card h3 {
  font: 500 28px/1.1 var(--font-heading);
  letter-spacing: -0.025em;
  margin-bottom: 12px;
}
.course-card p {
  font-size: 12px;
  line-height: 1.8;
}
.path-rail {
  background: var(--soft);
  color: var(--gold-text);
  border-bottom: 1px solid var(--line);
}
.path-body h3 {
  font-size: 31px;
  line-height: 1.05;
}
.path-body li::before {
  background: transparent;
  color: var(--gold-text);
  border-color: var(--line);
  border-radius: 2px;
}
.tag.green,
.quiz-feedback.correct {
  color: var(--success);
  background: var(--success-wash);
  border-color: var(--success-line);
}
.lesson-nav {
  border-radius: 3px;
}
.lesson-nav.selected {
  background: var(--accent-wash);
  color: var(--accent);
}
.lesson-nav.done .lesson-state {
  color: var(--success);
}
.lesson-content > h2 {
  font-size: 37px;
  line-height: 1.05;
}
.lesson-prose {
  font-size: 15px;
  line-height: 1.9;
}
.curriculum-head h2 {
  font-family: var(--font-body);
  font-size: 14px;
  letter-spacing: -0.01em;
}
.curriculum-module h3 {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0;
}
.player-heading h1 {
  font: 500 40px/1.05 var(--font-heading);
}
.completion-panel {
  background: var(--soft);
  border-color: var(--line);
  border-radius: 4px;
}
.completion-icon {
  color: var(--gold-text);
  border-color: var(--gold);
}
.completion-panel h3 {
  font-size: 30px;
}
.completion-panel .eyebrow {
  color: var(--gold-text);
}
.report-score {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 40px;
}
.report-card h2 {
  font-size: 24px;
}
.report-card h3 {
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 0;
}
.editor-panel h2 {
  font-size: 22px;
}
.editor-panel h3,
.editor-note h3 {
  font-size: 20px;
}
.editor-panel h4 {
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 0;
}
.editor-note {
  background: var(--soft);
  border-color: var(--line);
  border-radius: 4px;
}
.editor-note > .icon {
  color: var(--gold-text);
}
.dialog {
  border-radius: 5px;
}
.dialog::backdrop {
  background: #10183188;
}
.dialog-head h2 {
  font-size: 31px;
}
.activity-dot {
  background: var(--gold);
  border-color: var(--soft);
}
.signin-form h2 {
  font: 400 51px/1.03 var(--font-heading);
  letter-spacing: -0.035em;
}
#toast {
  background: #1a2744;
  color: #f5f4f1;
  border: 1px solid #7288d650;
  border-radius: 4px;
}
@media (max-width: 1200px) {
  .brand-logo {
    width: 43px;
    height: 34px;
  }
  .brand-name {
    font-size: 26px;
  }
}
@media (max-width: 760px) {
  .sidebar {
    box-shadow: 20px 0 60px #14203944;
  }
  .signin-form h2 {
    font-size: 47px;
  }
  .player-heading h1 {
    font-size: 36px;
  }
  .lesson-content > h2 {
    font-size: 34px;
  }
}
@media (max-width: 540px) {
  .page-head h1 {
    font-size: 39px;
  }
  .page-head p {
    font-size: 12px;
  }
  .section-head h2 {
    font-size: 31px;
  }
  .course-card h3,
  .studio-card h3 {
    font-size: 29px;
  }
  .path-body h3 {
    font-size: 31px;
  }
  .head-actions .button {
    gap: 10px;
  }
  .signin-form h2 {
    font-size: 45px;
  }
}
