/* ============================================
   UZJS — Uzbek Journal of Science
   Components Library v2.0
   ============================================ */

/* ══════════════════════════════════════════════
   HERO SECTION
   ══════════════════════════════════════════════ */
.hero {
  position: relative;
  padding: var(--sp-16) 0;
  overflow: hidden;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--sp-12);
  align-items: center;
}

.hero__content {
  max-width: 600px;
}

.hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  margin-bottom: var(--sp-6);
}

.hero__chip {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-2) var(--sp-4);
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--border);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--text-secondary);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.hero__chip::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-500), var(--secondary));
}

.hero__title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: var(--sp-6);
}

.hero__title strong {
  display: block;
  margin-top: var(--sp-2);
  color: var(--secondary);
}

.hero__lead {
  font-size: var(--text-lg);
  line-height: var(--leading-relaxed);
  color: var(--text-secondary);
  margin-bottom: var(--sp-8);
  max-width: 540px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
}

/* Hero Metrics */
.hero__metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-4);
  margin-top: var(--sp-10);
}

.hero__metric {
  padding: var(--sp-4);
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  text-align: center;
}

.hero__metric-value {
  display: block;
  font-family: var(--font-serif);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
}

.hero__metric-label {
  font-size: var(--text-xs);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
}

/* Hero Visual */
.hero__visual {
  position: relative;
}

.hero__preview {
  background: linear-gradient(145deg, rgba(31, 36, 54, 0.96), rgba(22, 24, 38, 0.98));
  border-radius: var(--radius-xl);
  padding: var(--sp-6);
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.hero__preview-bar {
  display: flex;
  gap: var(--sp-2);
  padding-bottom: var(--sp-4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: var(--sp-4);
}

.hero__preview-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
}

.hero__preview-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: var(--sp-4);
  margin-bottom: var(--sp-3);
}

.hero__preview-card:last-child { margin-bottom: 0; }

.hero__preview-badge {
  display: inline-block;
  padding: var(--sp-1) var(--sp-3);
  background: rgba(var(--accent-rgb, 20, 184, 166), 0.2);
  color: var(--accent-300);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  margin-bottom: var(--sp-2);
}

.hero__preview-title {
  color: rgba(255, 255, 255, 0.9);
  font-size: var(--text-sm);
  font-weight: 600;
  margin-bottom: var(--sp-2);
}

.hero__preview-meta {
  color: rgba(255, 255, 255, 0.5);
  font-size: var(--text-xs);
}

/* ══════════════════════════════════════════════
   SIGNAL CARDS (Why Choose Section)
   ══════════════════════════════════════════════ */
.signal-section {
  padding: var(--sp-12) 0;
}

.signal-section__header {
  margin-bottom: var(--sp-8);
}

.signal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--sp-5);
}

.signal-card {
  position: relative;
  padding: var(--sp-6);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  transition: all var(--duration-normal) var(--ease-out);
  overflow: hidden;
}

.signal-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-400), var(--accent-600));
  opacity: 0;
  transition: opacity var(--duration-fast);
}

.signal-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-200);
}

.signal-card:hover::before { opacity: 1; }

.signal-card__eyebrow {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  margin-bottom: var(--sp-2);
}

.signal-card__value {
  font-family: var(--font-serif);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--accent-700);
  margin-bottom: var(--sp-2);
}

.signal-card__desc {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
}

.signal-card--action {
  background: linear-gradient(135deg, var(--accent-50), var(--accent-100));
  border-color: var(--accent-200);
}

.signal-card--action::before {
  opacity: 1;
}

/* ══════════════════════════════════════════════
   TRUST STRIP
   ══════════════════════════════════════════════ */
.trust-strip {
  padding: var(--sp-10);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-md);
}

.trust-strip__header {
  margin-bottom: var(--sp-8);
}

.trust-strip__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-4);
  margin-bottom: var(--sp-8);
}

.trust-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--sp-4) var(--sp-6);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  text-align: center;
  min-width: 140px;
  transition: all var(--duration-fast);
}

.trust-chip:hover {
  transform: translateY(-2px);
  border-color: var(--accent-300);
  box-shadow: var(--shadow-sm);
}

.trust-chip strong {
  font-family: var(--font-serif);
  font-size: var(--text-lg);
  color: var(--text-primary);
  margin-bottom: var(--sp-1);
}

.trust-chip span {
  font-size: var(--text-xs);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
}

.trust-strip__actions {
  display: flex;
  justify-content: center;
  gap: var(--sp-4);
}

/* ══════════════════════════════════════════════
   ARTICLE CARDS
   ══════════════════════════════════════════════ */
.articles-section {
  padding: var(--sp-12) 0;
}

/* Gap container for dynamically loaded article cards */
#latestArticles {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

.issue-summary-card {
  padding: clamp(1.1rem, 2.4vw, 1.5rem);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  background:
    radial-gradient(circle at top right, rgba(var(--accent-rgb), 0.14), transparent 42%),
    linear-gradient(140deg, rgba(255, 255, 255, 0.98), rgba(245, 248, 255, 0.92));
  box-shadow: var(--shadow-md);
}

.issue-summary-card__eyebrow {
  margin-bottom: var(--sp-2);
  color: var(--accent-700);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
}

.issue-summary-card h3 {
  margin-bottom: var(--sp-2);
}

.issue-summary-card__meta {
  color: var(--text-secondary);
  font-size: var(--text-sm);
}

.current-issue-feed,
.current-issue-articles,
.search-results__list {
  display: grid;
  gap: var(--sp-4);
}

.current-issue-section {
  margin-top: var(--sp-6);
}

.current-issue-section__title {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  margin-bottom: var(--sp-4);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  padding-bottom: var(--sp-2);
  border-bottom: 2px solid var(--accent, #6366f1);
}

.current-issue-section__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.5rem;
  height: 1.5rem;
  padding: 0 0.4rem;
  border-radius: 999px;
  background: var(--accent-100);
  color: var(--accent-700);
  font-size: var(--text-xs);
  font-weight: 700;
}

.empty-state,
.search-empty-state {
  display: grid;
  place-items: center;
  gap: var(--sp-3);
  padding: clamp(1.75rem, 3vw, 2.4rem);
  text-align: center;
  border: 1px dashed var(--border);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.78);
  color: var(--text-secondary);
}

.empty-state--inline {
  min-height: 220px;
}

.empty-state h3,
.search-empty-state h3 {
  color: var(--text-primary);
  font-size: var(--text-xl);
}

.empty-state p,
.search-empty-state p {
  max-width: 44rem;
}

.header__auth {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin-left: 0;
}

.header__auth--mobile {
  display: none;
  margin-left: 0;
}

.header-auth-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(16, 35, 56, 0.1);
  background: rgba(255, 255, 255, 0.78);
  color: var(--text-secondary);
  font-size: var(--text-sm);
  font-weight: 700;
  white-space: nowrap;
  transition:
    transform var(--duration-fast) var(--ease-out),
    box-shadow var(--duration-fast) var(--ease-out),
    border-color var(--duration-fast) var(--ease-out);
}

.header-auth-link:hover {
  transform: translateY(-1px);
  border-color: rgba(16, 35, 56, 0.18);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
}

.header-auth-link--register {
  background: linear-gradient(135deg, var(--accent-600), var(--accent-700));
  color: #fff;
  border-color: transparent;
}

.header-auth-link--register:hover {
  color: #fff;
}

.auth-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--sp-4);
}

.auth-form-grid--single {
  grid-template-columns: 1fr;
}

.search-shell {
  max-width: 960px;
  display: grid;
  gap: var(--sp-6);
}

.section--search,
.section--fees {
  padding-top: var(--sp-10);
}

.page-header + .section:not(.section--search):not(.section--fees) {
  padding-top: clamp(2rem, 4vw, 3rem);
  padding-bottom: clamp(3.25rem, 6vw, 4.75rem);
}

.search-panel-card {
  padding: clamp(1.25rem, 3vw, 1.8rem);
  border: 1px solid var(--border);
  border-radius: 24px;
  background:
    radial-gradient(circle at top right, rgba(var(--accent-rgb), 0.12), transparent 42%),
    linear-gradient(140deg, rgba(255, 255, 255, 0.98), rgba(246, 248, 255, 0.92));
  box-shadow: var(--shadow-md);
}

.search-panel-card__copy {
  margin-bottom: var(--sp-4);
}

.search-panel-card__copy h2 {
  margin-bottom: var(--sp-2);
}

.search-panel-card__copy p {
  color: var(--text-secondary);
}

.search-input-group {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: var(--sp-3);
  align-items: stretch;
}

.search-input,
.search-btn {
  min-height: 56px;
}

.search-input {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 0 var(--sp-4);
  font-size: var(--text-base);
  background: rgba(255, 255, 255, 0.92);
  transition: border-color var(--duration-fast), box-shadow var(--duration-fast);
}

.search-input:focus {
  outline: none;
  border-color: var(--accent-400, #a78bfa);
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb, 124, 58, 237), 0.12);
}

.fees-shell {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.fees-hero,
.fees-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: clamp(1.25rem, 2.5vw, 2rem);
}

.fees-panel {
  padding: clamp(1.25rem, 2.5vw, 1.8rem);
  border: 1px solid var(--border);
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(var(--accent-rgb, 20, 184, 166), 0.1), transparent 45%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.92));
  box-shadow: var(--shadow-md);
}

.fees-panel h2 {
  margin-bottom: var(--sp-3);
}

.fees-panel--intro p {
  max-width: 62ch;
  color: var(--text-secondary);
}

.fees-badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin-top: var(--sp-5);
}

.fees-badge {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(var(--accent-rgb, 20, 184, 166), 0.18);
  background: rgba(255, 255, 255, 0.86);
  color: var(--text-secondary);
  font-size: var(--text-sm);
  font-weight: 600;
}

.fees-list {
  display: grid;
  gap: var(--sp-3);
  margin-top: var(--sp-3);
}

.fees-list li {
  position: relative;
  padding-left: 1.2rem;
  color: var(--text-secondary);
}

.fees-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7rem;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 999px;
  background: var(--accent-500);
}

.fees-support-card {
  margin-top: var(--sp-5);
  padding: var(--sp-4);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--border-light);
}

.fees-support-card strong {
  display: block;
  margin-bottom: var(--sp-2);
}

.fees-support-card p {
  color: var(--text-secondary);
  margin-bottom: var(--sp-2);
}

.fees-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
}

.fees-card {
  padding: clamp(1.15rem, 2vw, 1.5rem);
  border-radius: 24px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-sm);
}

.fees-card--featured {
  background:
    linear-gradient(155deg, rgba(var(--accent-rgb, 20, 184, 166), 0.12), rgba(255, 255, 255, 0.94)),
    rgba(255, 255, 255, 0.94);
  border-color: rgba(var(--accent-rgb, 20, 184, 166), 0.22);
}

.fees-card__eyebrow {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--text-secondary);
  font-size: var(--text-sm);
  font-weight: 600;
  margin-bottom: var(--sp-3);
}

.fees-card__price {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  line-height: 1.05;
  margin-bottom: var(--sp-2);
  color: var(--text-primary);
}

.fees-card__meta {
  color: var(--text-secondary);
}

.fees-includes-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--sp-3);
  margin-top: var(--sp-4);
}

.fees-include-item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  padding: var(--sp-4);
  border-radius: 18px;
  border: 1px solid var(--border-light);
  background: rgba(255, 255, 255, 0.84);
  color: var(--text-secondary);
}

.fees-payment-list {
  display: grid;
  gap: var(--sp-3);
  margin-top: var(--sp-4);
}

.fees-payment-row {
  display: grid;
  gap: var(--sp-1);
  padding: var(--sp-4);
  border-radius: 18px;
  border: 1px solid var(--border-light);
  background: rgba(255, 255, 255, 0.84);
}

.fees-payment-row dt {
  color: var(--text-primary);
  font-weight: 700;
}

.fees-payment-row dd {
  color: var(--text-secondary);
}

.fees-note {
  margin-top: var(--sp-5);
}

.fees-note__list {
  display: grid;
  gap: var(--sp-2);
  margin-top: var(--sp-2);
  padding-left: 1rem;
}

.fees-note__list li {
  list-style: disc;
  color: var(--text-secondary);
}

.search-filters {
  padding: var(--sp-4) var(--sp-5);
  border: 1px solid var(--border);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.82);
}

.search-filters summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--text-primary);
}

.search-filters__body {
  padding-top: var(--sp-4);
}

.search-results {
  display: grid;
  gap: var(--sp-4);
}

.search-results__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  padding: 0 var(--sp-1);
  flex-wrap: wrap;
}

.search-results__actions {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  flex-wrap: wrap;
}

.search-sort {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  color: var(--text-secondary);
  font-size: var(--text-sm);
}

.search-sort select {
  min-width: 170px;
}

.search-results__meta {
  color: var(--text-secondary);
  font-size: var(--text-sm);
}

.search-results__list {
  display: grid;
  gap: var(--sp-4);
}

.search-results__footer {
  display: flex;
  justify-content: center;
}

.search-load-more {
  min-width: 220px;
}

.search-empty,
.search-no-results {
  display: grid;
  place-items: center;
  gap: var(--sp-3);
  padding: clamp(1.6rem, 3vw, 2.2rem);
  border: 1px dashed var(--border);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.78);
  text-align: center;
}

.search-empty h3,
.search-no-results h3 {
  color: var(--text-primary);
  font-size: var(--text-xl);
}

.search-empty p,
.search-no-results p {
  max-width: 42rem;
  color: var(--text-secondary);
}

.search-suggestion-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-2);
}

.search-suggestion {
  padding: 0.65rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--accent-200);
  background: var(--accent-50);
  color: var(--accent-700);
  font-weight: 600;
  cursor: pointer;
}

.search-suggestion:hover {
  background: var(--accent-100);
}

/* Match JS MOBILE_NAV_BREAKPOINT = 992 */
@media (max-width: 992px) {
  .header__auth--desktop {
    display: none;
  }

  .header__auth--mobile {
    display: flex;
    width: 100%;
    margin-top: var(--sp-2);
  }

  .header__auth--mobile .header-auth-link {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .auth-form-grid,
  .search-input-group {
    grid-template-columns: 1fr;
  }

  .section--search,
  .section--fees {
    padding-top: var(--sp-7);
  }

  .search-shell {
    gap: var(--sp-5);
  }

  .fees-hero,
  .fees-content-grid,
  .fees-pricing-grid,
  .fees-includes-grid {
    grid-template-columns: 1fr;
  }
}

.article-card {
  padding: var(--sp-6);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  transition: all var(--duration-normal) var(--ease-out);
}

.article-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-200);
}

.article-card__topline {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin-bottom: var(--sp-4);
  flex-wrap: wrap;
}

.article-card__badge {
  display: inline-block;
  padding: 4px 12px;
  background: var(--accent-100);
  color: var(--accent-700);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
}

.article-card__badge--review { background: var(--pedagogy-100, #fef3c7); color: var(--pedagogy-800, #92400e); }
.article-card__badge--original { background: var(--accent-100); color: var(--accent-700); }
.article-card__badge--featured { background: var(--mathematics-100, #e0e7ff); color: var(--mathematics-700, #4338ca); }

.article-card__date {
  font-size: var(--text-xs);
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
}

.article-card__title {
  font-family: var(--font-serif);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--text-primary);
  line-height: var(--leading-snug);
  margin-bottom: var(--sp-3);
}

.article-card__title a {
  color: inherit;
}

.article-card__title a:hover {
  color: var(--accent-600);
  text-decoration: none;
}

.article-card__authors {
  font-size: var(--text-xs);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  margin-bottom: var(--sp-3);
}

.article-card__abstract {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: var(--sp-4);
}

.article-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--border-light);
  font-size: var(--text-xs);
  color: var(--text-muted);
}

.article-card__meta span {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1);
}

.article-card__actions {
  display: flex;
  gap: var(--sp-2);
  margin-top: var(--sp-4);
}

/* Article card variants used by JS renderer */
.article-card--horizontal {
  display: block;
}

.article-card__body {
  min-width: 0;
}

.article-card__type {
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wider);
  color: var(--accent-600);
  margin-bottom: var(--sp-2);
}

.article-card__doi,
.article-card__stats {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  align-items: center;
  margin-top: var(--sp-3);
  padding-top: var(--sp-3);
  border-top: 1px solid var(--border-light);
}

.article-card__doi span,
.article-card__stats span {
  font-size: var(--text-xs);
  color: var(--text-muted);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
}

.article-card__doi strong {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--text-secondary);
}

/* ══════════════════════════════════════════════
   FEATURE BOXES
   ══════════════════════════════════════════════ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--sp-6);
}

.feature-box {
  padding: var(--sp-6);
  background: transparent;
  border-radius: var(--radius-xl);
  border: 1px solid transparent;
  transition: all var(--duration-normal) var(--ease-out);
}

.feature-box:hover {
  background: var(--bg-card);
  border-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.feature-box__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent-100), var(--accent-200));
  border-radius: var(--radius-lg);
  font-size: var(--text-xl);
  margin-bottom: var(--sp-4);
  transition: transform var(--duration-fast);
}

.feature-box:hover .feature-box__icon {
  transform: scale(1.1);
}

.feature-box h4 {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  font-weight: 600;
  margin-bottom: var(--sp-2);
}

.feature-box p {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
}

/* ══════════════════════════════════════════════
   FILE UPLOAD
   ══════════════════════════════════════════════ */
.file-upload {
  border: 2px dashed var(--border);
  border-radius: var(--radius-xl);
  padding: var(--sp-10);
  text-align: center;
  cursor: pointer;
  transition: all var(--duration-fast);
  background: rgba(255, 255, 255, 0.4);
}

.file-upload:hover,
.file-upload.dragover {
  border-color: var(--accent-400);
  background: var(--accent-50);
}

.file-upload__icon {
  font-size: var(--text-3xl);
  color: var(--text-muted);
  margin-bottom: var(--sp-4);
}

.file-upload__text {
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

.file-upload__text strong {
  color: var(--accent-600);
  font-weight: 600;
}

.file-upload__hint {
  font-size: var(--text-xs);
  color: var(--text-muted);
  margin-top: var(--sp-2);
}

.file-upload input[type="file"] { display: none; }

/* ══════════════════════════════════════════════
   FORMS
   ══════════════════════════════════════════════ */
.form-group {
  margin-bottom: var(--sp-5);
}

.form-group.has-error .form-input,
.form-group.has-error .form__input,
.form__group.has-error .form-input,
.form__group.has-error .form__input {
  border-color: #dc2626;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.form-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--sp-2);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: var(--sp-3) var(--sp-4);
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: var(--text-base);
  color: var(--text-primary);
  transition: all var(--duration-fast);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--accent-400);
  box-shadow: 0 0 0 3px var(--accent-100);
  background: #fff;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-caption);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-hint {
  font-size: var(--text-xs);
  color: var(--text-muted);
  margin-top: var(--sp-1);
}

.form-field-feedback {
  font-size: var(--text-xs);
  color: #b91c1c;
  margin-top: var(--sp-1);
  line-height: 1.45;
}

.form-error {
  font-size: var(--text-xs);
  color: var(--danger);
  margin-top: var(--sp-1);
}

/* ══════════════════════════════════════════════
   CALLOUTS
   ══════════════════════════════════════════════ */
.callout {
  padding: var(--sp-5);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--accent-50), rgba(255, 255, 255, 0.8));
  border: 1px solid var(--accent-200);
  border-left: 4px solid var(--accent-500);
  box-shadow: var(--shadow-xs);
}

.callout strong {
  display: block;
  font-weight: 600;
  margin-bottom: var(--sp-2);
}

.callout p {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
}

.callout--warning {
  border-left-color: var(--warning);
  background: linear-gradient(135deg, var(--pedagogy-50, #fffbeb), rgba(255, 255, 255, 0.8));
  border-color: var(--pedagogy-200, #fde68a);
}

.callout--success {
  border-left-color: var(--success);
  background: linear-gradient(135deg, var(--biology-50, #f0fdf4), rgba(255, 255, 255, 0.8));
  border-color: var(--biology-200, #bbf7d0);
}

.callout--danger {
  border-left-color: var(--danger);
  background: linear-gradient(135deg, var(--danger-50, #fef2f2), rgba(255, 255, 255, 0.8));
  border-color: var(--danger-200, #fecaca);
}

.callout ul {
  margin-top: var(--sp-3);
  padding-left: var(--sp-5);
  list-style: disc;
}

.callout li {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  margin-bottom: var(--sp-2);
}

/* ══════════════════════════════════════════════
   BADGES
   ══════════════════════════════════════════════ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  background: var(--stone-100);
  color: var(--text-secondary);
}

.badge:focus-visible {
  outline: 2px solid var(--accent-500);
  outline-offset: 2px;
}

.badge--accent {
  background: var(--accent-100);
  color: var(--accent-700);
}

.badge--success {
  background: var(--biology-100, #dcfce7);
  color: var(--biology-800, #166534);
}

.badge--warning {
  background: var(--pedagogy-100, #fef3c7);
  color: var(--pedagogy-800, #92400e);
}

.badge--danger {
  background: var(--danger-100, #fee2e2);
  color: var(--danger-800, #991b1b);
}

/* ══════════════════════════════════════════════
   TABLES
   ══════════════════════════════════════════════ */
.table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-card);
}

.table {
  width: 100%;
  border-collapse: collapse;
}

.table th,
.table td {
  padding: var(--sp-4);
  text-align: left;
  border-bottom: 1px solid var(--border-light);
}

.table th {
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  background: rgba(255, 255, 255, 0.5);
}

.table td {
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

.table tr:last-child td {
  border-bottom: none;
}

.table tr:hover {
  background: var(--accent-50);
}

/* ══════════════════════════════════════════════
   PAGINATION
   ══════════════════════════════════════════════ */
.pagination {
  display: flex;
  justify-content: center;
  gap: var(--sp-2);
  margin-top: var(--sp-10);
}

.pagination__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 var(--sp-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-card);
  color: var(--text-secondary);
  font-size: var(--text-sm);
  font-weight: 500;
  cursor: pointer;
  transition: all var(--duration-fast);
}

.pagination__btn:hover {
  border-color: var(--accent-300);
  color: var(--accent-600);
  background: var(--accent-50);
}

.pagination__btn.active {
  background: var(--accent-600);
  color: #fff;
  border-color: var(--accent-600);
}

.pagination__btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.pagination__btn:focus-visible {
  outline: 2px solid var(--accent-500);
  outline-offset: 2px;
}

/* ══════════════════════════════════════════════
   SIDEBAR PANELS
   ══════════════════════════════════════════════ */
.sidebar-panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--sp-6);
  box-shadow: var(--shadow-sm);
  margin-bottom: var(--sp-6);
}

.sidebar-panel__title {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: var(--tracking-widest);
  margin-bottom: var(--sp-4);
  padding-bottom: var(--sp-3);
  border-bottom: 1px solid var(--border-light);
}

.sidebar-panel--dark {
  background: linear-gradient(145deg, rgba(31, 36, 54, 0.96), rgba(22, 24, 38, 0.98));
  border-color: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.sidebar-panel--dark .sidebar-panel__title {
  color: rgba(255, 255, 255, 0.6);
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.sidebar-metric {
  padding: var(--sp-3) 0;
  border-bottom: 1px solid var(--border-light);
}

.sidebar-metric:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.sidebar-metric__value {
  font-family: var(--font-serif);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
}

.sidebar-metric__label {
  font-size: var(--text-xs);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  margin-top: 2px;
}

.sidebar-panel--dark .sidebar-metric {
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.sidebar-panel--dark .sidebar-metric__value {
  color: #fff;
}

.sidebar-panel--dark .sidebar-metric__label {
  color: rgba(255, 255, 255, 0.6);
}

/* ══════════════════════════════════════════════
   ARCHIVE ITEMS
   ══════════════════════════════════════════════ */
.archive-item {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
  padding: var(--sp-5);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: var(--sp-4);
  transition: all var(--duration-fast);
}

.archive-item:hover {
  border-color: var(--accent-200);
  box-shadow: var(--shadow-sm);
}

.archive-item__date {
  flex-shrink: 0;
  width: 70px;
  text-align: center;
  padding: var(--sp-3);
  background: var(--accent-50);
  border-radius: var(--radius-md);
}

.archive-item__date .month {
  display: block;
  font-size: var(--text-xs);
  color: var(--accent-700);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: var(--tracking-wide);
}

.archive-item__date .year {
  display: block;
  font-family: var(--font-serif);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
}

.archive-item__content {
  flex: 1;
  min-width: 0;
}

.archive-item__title {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--sp-1);
}

.archive-item__meta {
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.archive-item__action {
  flex-shrink: 0;
}

/* ══════════════════════════════════════════════
   EDITORIAL BOARD
   ══════════════════════════════════════════════ */
.board-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--sp-5);
}

.board-card {
  display: flex;
  gap: var(--sp-4);
  padding: var(--sp-5);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all var(--duration-fast);
}

.board-card:hover {
  border-color: var(--accent-200);
  box-shadow: var(--shadow-sm);
}

.board-card__avatar {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent-500), var(--accent-700));
  border-radius: 50%;
  color: #fff;
  font-family: var(--font-serif);
  font-size: var(--text-xl);
  font-weight: 700;
}

.board-card__info {
  flex: 1;
  min-width: 0;
}

.board-card__name {
  font-family: var(--font-serif);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--sp-1);
}

.board-card__role {
  font-size: var(--text-xs);
  color: var(--accent-600);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  margin-bottom: var(--sp-2);
}

.board-card__affiliation {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: var(--leading-relaxed);
}

/* ══════════════════════════════════════════════
   STEPS / TIMELINE
   ══════════════════════════════════════════════ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--sp-5);
}

.step-card {
  position: relative;
  padding: var(--sp-6);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  text-align: center;
}

.step-card__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--accent-500), var(--accent-600));
  color: #fff;
  border-radius: 50%;
  font-family: var(--font-serif);
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--sp-4);
  box-shadow: 0 4px 12px rgba(var(--accent-rgb, 20, 184, 166), 0.3);
}

.step-card h4 {
  font-size: var(--text-sm);
  font-weight: 600;
  margin-bottom: var(--sp-2);
}

.step-card p {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
}

/* ══════════════════════════════════════════════
   SKELETON LOADERS
   ══════════════════════════════════════════════ */
.skeleton {
  background: linear-gradient(90deg, var(--stone-100) 25%, var(--stone-200) 50%, var(--stone-100) 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s infinite;
  border-radius: var(--radius-md);
}

@keyframes skeleton-loading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.skeleton-item {
  height: var(--sp-5);
  border-radius: var(--radius-sm);
  margin-bottom: var(--sp-2);
}

/* ══════════════════════════════════════════════
   RESEARCHBIB BADGE
   ══════════════════════════════════════════════ */
.researchbib-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-3);
  padding: var(--sp-3) var(--sp-6);
  margin: var(--sp-8) auto var(--sp-4);
  max-width: fit-content;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-md);
  transition: all var(--duration-fast);
}

.researchbib-badge:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  text-decoration: none;
}

.researchbib-badge__icon {
  width: 24px;
  height: 24px;
}

.researchbib-badge__label {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--text-primary);
}

.researchbib-badge__status {
  font-size: var(--text-sm);
  color: var(--success);
  font-weight: 600;
}

/* ══════════════════════════════════════════════
   CTA SECTION
   ══════════════════════════════════════════════ */
.cta {
  padding: var(--sp-16) 0;
  background: linear-gradient(145deg, rgba(31, 36, 54, 0.96), rgba(22, 24, 38, 0.98));
  color: #fff;
  text-align: center;
  border-radius: var(--radius-2xl);
  margin: var(--sp-12) var(--sp-4) 0;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(var(--accent-rgb, 20, 184, 166), 0.15), transparent 40%),
    radial-gradient(circle at bottom left, rgba(185, 138, 71, 0.1), transparent 40%);
  pointer-events: none;
}

.cta .container {
  position: relative;
  z-index: 1;
}

.cta h2 {
  color: #fff;
  margin-bottom: var(--sp-4);
}

.cta p {
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--text-lg);
  max-width: 500px;
  margin: 0 auto var(--sp-8);
}

/* ══════════════════════════════════════════════
   ABOUT PAGE LAYOUT
   ══════════════════════════════════════════════ */
.about-layout {
  padding: var(--sp-8) 0;
}

.about-layout__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 280px);
  gap: clamp(1.5rem, 3vw, 2.75rem);
  align-items: start;
}

.sidebar-toc {
  position: sticky;
  top: calc(var(--sp-20) + 0.5rem);
  order: 2;
  height: fit-content;
  padding: var(--sp-5);
  border: 1px solid var(--border);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(250, 246, 239, 0.9)),
    radial-gradient(circle at top right, rgba(var(--accent-rgb, 20, 184, 166), 0.08), transparent 52%);
  box-shadow: var(--shadow-sm);
}

.sidebar-toc__title {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: var(--tracking-widest);
  margin-bottom: var(--sp-4);
}

.sidebar-toc nav {
  display: grid;
  gap: 0.35rem;
}

.sidebar-toc nav a {
  display: block;
  padding: 0.8rem 0.95rem;
  border-radius: 18px;
  font-size: var(--text-sm);
  color: var(--text-secondary);
  border: 1px solid transparent;
  transition: all var(--duration-fast);
}

.sidebar-toc nav a:hover {
  background: rgba(var(--accent-rgb, 20, 184, 166), 0.08);
  border-color: rgba(var(--accent-rgb, 20, 184, 166), 0.14);
  color: var(--accent-700);
  text-decoration: none;
  transform: translateX(-2px);
}

.sidebar-toc nav a.active {
  background: linear-gradient(135deg, rgba(var(--accent-rgb, 20, 184, 166), 0.16), rgba(255, 255, 255, 0.94));
  border-color: rgba(var(--accent-rgb, 20, 184, 166), 0.2);
  color: var(--accent-700);
  font-weight: 600;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4);
}

.about-content {
  order: 1;
  min-width: 0;
  max-width: min(100%, 860px);
}

.about-section {
  margin-bottom: var(--sp-12);
  padding-bottom: var(--sp-12);
  border-bottom: 1px solid var(--border-light);
}

.about-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.about-section h2 {
  margin-bottom: var(--sp-6);
}

.about-facts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: var(--sp-4);
  margin-top: var(--sp-6);
}

.issue-facts-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.about-fact {
  padding: var(--sp-4);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-align: center;
}

.guidelines-template-grid {
  margin-top: var(--sp-4);
}

.guidelines-template-card {
  display: grid;
  gap: var(--sp-2);
  min-height: 148px;
  align-content: center;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform var(--duration-fast) var(--ease-out),
    box-shadow var(--duration-fast) var(--ease-out),
    border-color var(--duration-fast) var(--ease-out);
}

.guidelines-template-card:hover {
  transform: translateY(-3px);
  border-color: rgba(var(--accent-rgb, 20, 184, 166), 0.25);
  box-shadow: var(--shadow-md);
  text-decoration: none;
}

.guidelines-template-note {
  margin-top: var(--sp-4);
}

.about-fact__value {
  display: block;
  font-family: var(--font-serif);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--accent-700);
  margin-bottom: var(--sp-1);
}

.about-fact__label {
  font-size: var(--text-xs);
  color: var(--text-muted);
}

@media (max-width: 420px) {
  .issue-facts-grid {
    grid-template-columns: 1fr;
  }
}

.about-fields-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--sp-4);
  margin-top: var(--sp-6);
}

.about-field-item {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-4);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
}

.about-field-item__icon {
  font-size: var(--text-xl);
}

.about-identifiers {
  margin-top: var(--sp-4);
}

.about-identifiers__row {
  display: flex;
  justify-content: space-between;
  padding: var(--sp-3) 0;
  border-bottom: 1px solid var(--border-light);
}

.about-identifiers__row:last-child {
  border-bottom: none;
}

.about-identifiers dt {
  font-weight: 500;
  color: var(--text-muted);
}

.about-identifiers dd {
  font-weight: 600;
  color: var(--text-primary);
}

/* Responsive */
@media (max-width: 1024px) {
  .about-layout,
  .about-layout__inner {
    grid-template-columns: 1fr;
  }

  .sidebar-toc {
    position: static;
    order: 1;
    padding: var(--sp-4);
    margin-bottom: var(--sp-6);
  }

  .about-content {
    order: 2;
    max-width: none;
  }

  .sidebar-toc nav {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-2);
  }
  
  .sidebar-toc nav a {
    margin-bottom: 0;
  }
}

@media (max-width: 768px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: var(--sp-8);
  }
  
  .hero__content {
    text-align: center;
  }
  
  .hero__chips,
  .hero__actions {
    justify-content: center;
  }
  
  .hero__metrics {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .archive-item {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--sp-3);
  }
  
  .archive-item__action {
    width: 100%;
  }
  
  .archive-item__action .btn {
    width: 100%;
  }
  
  .researchbib-badge {
    margin: var(--sp-6) auto var(--sp-3);
    padding: var(--sp-2) var(--sp-4);
  }
}

.sidebar-collapsed .sidebar {
  width: 0;
  overflow: hidden;
  padding: 0;
}
.sidebar-collapsed .main-content {
  margin-left: 0;
}

/* ══════════════════════════════════════════════
   CONTACT CARDS
   ══════════════════════════════════════════════ */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--sp-6);
  margin-bottom: var(--sp-12);
}

.contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--sp-8) var(--sp-6);
  text-align: center;
  text-decoration: none;
  color: inherit;
  transition: box-shadow var(--duration-base), border-color var(--duration-base), transform var(--duration-base);
}

.contact-card:hover {
  border-color: var(--accent-400);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  text-decoration: none;
  color: inherit;
}

.contact-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
  background: var(--accent-50);
  color: var(--accent-600);
  margin-bottom: var(--sp-4);
}

.contact-card h2 {
  font-size: var(--text-sm);
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: var(--sp-2);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.contact-card__value {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--sp-4);
  word-break: break-word;
  line-height: 1.5;
}

.contact-card__action {
  display: inline-block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--accent-600);
  text-decoration: none;
  transition: color var(--duration-fast);
}

.contact-card__action:hover {
  color: var(--accent-700);
}

@media (max-width: 600px) {
  .contact-cards {
    grid-template-columns: 1fr;
  }
}

/* ══════════════════════════════════════════════
   POLICIES HUB (sticky tabs)
   ══════════════════════════════════════════════ */
.policies-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--bg-page, #ffffff);
  padding: var(--sp-2) 0;
  margin-bottom: var(--sp-5);
  border-bottom: 1px solid var(--border);
}
.policies-tab {
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  padding: var(--sp-3) var(--sp-5);
  font-size: var(--text-md, 0.95rem);
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: color 160ms ease, border-color 160ms ease;
}
.policies-tab:hover {
  color: var(--accent-700);
}
.policies-tab.is-active {
  color: var(--accent-700);
  border-bottom-color: var(--accent-600, #2563eb);
}
.policies-panel {
  display: none;
  animation: policyFadeIn 220ms ease;
}
.policies-panel.is-active {
  display: block;
}
@keyframes policyFadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ══════════════════════════════════════════════
   FEES PAGE (Hero · Pricing · Promo · Trust)
   ══════════════════════════════════════════════ */
.fees-hero {
  background: linear-gradient(135deg, var(--accent-50, #eff6ff), #ffffff 60%);
  border: 1px solid var(--accent-100, #dbeafe);
  border-radius: var(--radius-xl, 16px);
  padding: var(--sp-8);
  margin-bottom: var(--sp-6);
  box-shadow: 0 4px 12px rgba(29, 78, 216, 0.06);
}
.fees-hero__eyebrow {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  color: var(--accent-700, #1d4ed8);
  margin: 0 0 var(--sp-2);
}
.fees-hero__title {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  line-height: 1.2;
  margin: 0 0 var(--sp-3);
  color: var(--text-primary);
}
.fees-hero__desc {
  font-size: var(--text-md, 1rem);
  color: var(--text-secondary);
  max-width: 62ch;
  margin: 0 0 var(--sp-5);
}
.fees-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
}

.promo-banner {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
  padding: var(--sp-5) var(--sp-6);
  margin: var(--sp-6) 0;
  background: linear-gradient(135deg, #f59e0b, #dc2626);
  color: #fff;
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 30px rgba(220, 38, 38, 0.25);
  position: relative;
  overflow: hidden;
}
.promo-banner__badge {
  flex-shrink: 0;
  font-weight: 800;
  font-size: 1.25rem;
  background: rgba(255, 255, 255, 0.18);
  padding: var(--sp-3) var(--sp-4);
  border-radius: var(--radius-md, 8px);
  letter-spacing: 0.05em;
}
.promo-banner__content {
  flex: 1;
  min-width: 0;
}
.promo-banner__title {
  margin: 0 0 4px;
  font-size: 1.25rem;
  color: #fff;
}
.promo-banner__subtitle {
  margin: 0;
  opacity: 0.95;
  font-size: 0.95rem;
}
.promo-banner__countdown {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  margin-top: var(--sp-2);
  font-size: 0.85rem;
  background: rgba(0, 0, 0, 0.18);
  padding: 4px 10px;
  border-radius: 999px;
}
.promo-banner__countdown-value {
  font-family: var(--font-mono, monospace);
  font-weight: 700;
}
.promo-banner__cta {
  flex-shrink: 0;
  background: #fff !important;
  color: #dc2626 !important;
  border-color: #fff !important;
}
.promo-banner__cta:hover {
  background: #f9fafb !important;
  color: #b91c1c !important;
}
@media (max-width: 720px) {
  .promo-banner {
    flex-direction: column;
    text-align: center;
  }
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--sp-5);
}
.pricing-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card, #ffffff);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--sp-6);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}
.pricing-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent-200, #bfdbfe);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}
.pricing-card__head {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin-bottom: var(--sp-4);
}
.pricing-card__icon {
  font-size: 2rem;
}
.pricing-card__title {
  margin: 0;
  font-size: 1.15rem;
}
.pricing-card__price {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: var(--sp-4);
}
.pricing-card__price-old {
  color: var(--text-muted);
  text-decoration: line-through;
  font-size: 1rem;
}
.pricing-card__price-new {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--accent-700, #1d4ed8);
  line-height: 1.1;
}
.pricing-card__price-unit {
  font-size: var(--text-sm);
  color: var(--text-muted);
}
.pricing-card__features {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--sp-5);
  display: grid;
  gap: var(--sp-2);
}
.pricing-card__features li {
  position: relative;
  padding-left: 22px;
  font-size: var(--text-sm);
  color: var(--text-secondary);
}
.pricing-card__features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #10b981;
  font-weight: 700;
}
.pricing-card__cta {
  margin-top: auto;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--sp-4);
  padding: var(--sp-5);
  margin: var(--sp-6) 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.trust-strip__item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.trust-strip__item strong {
  color: var(--text-primary);
  font-size: 0.95rem;
}
.trust-strip__item span {
  color: var(--text-muted);
  font-size: var(--text-sm);
}

.fees-faq {
  border: 1px solid var(--border);
  border-radius: var(--radius-md, 8px);
  padding: var(--sp-3) var(--sp-4);
  margin-bottom: var(--sp-3);
  background: var(--bg-card);
}
.fees-faq summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--text-primary);
  list-style: none;
  position: relative;
  padding-right: 28px;
}
.fees-faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.25rem;
  color: var(--accent-700);
  transition: transform 180ms ease;
}
.fees-faq[open] summary::after {
  transform: rotate(45deg);
}
.fees-faq p {
  margin: var(--sp-3) 0 0;
  color: var(--text-secondary);
  font-size: var(--text-sm);
  line-height: 1.6;
}

.fees-final-cta {
  text-align: center;
  padding: var(--sp-8) var(--sp-4);
  margin: var(--sp-8) 0;
  background: linear-gradient(135deg, var(--accent-50), #ffffff);
  border: 1px solid var(--accent-100, #dbeafe);
  border-radius: var(--radius-xl, 16px);
}
.fees-final-cta h2 {
  margin: 0 0 var(--sp-2);
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
}
.fees-final-cta p {
  margin: 0 0 var(--sp-5);
  color: var(--text-secondary);
}

/* ══════════════════════════════════════════════
   CREDIT ROLES TABLE
   ══════════════════════════════════════════════ */
.credit-roles-table {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-card);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  margin: var(--sp-6) 0;
}

.credit-roles-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-sm);
}

.credit-roles-table thead th {
  background: linear-gradient(135deg, var(--accent-50), #ffffff);
  color: var(--text-primary);
  text-align: left;
  font-weight: 700;
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  padding: var(--sp-4) var(--sp-5);
  border-bottom: 2px solid var(--accent-200, #dbeafe);
  white-space: nowrap;
}

.credit-roles-table thead th:first-child {
  width: 32%;
}

.credit-roles-table tbody td {
  padding: var(--sp-3) var(--sp-5);
  border-bottom: 1px solid var(--border-light);
  vertical-align: top;
  color: var(--text-secondary);
  line-height: 1.55;
}

.credit-roles-table tbody tr:nth-child(even) {
  background: rgba(248, 250, 252, 0.6);
}

.credit-roles-table tbody tr:last-child td {
  border-bottom: none;
}

.credit-roles-table tbody tr:hover {
  background: var(--accent-50);
  transition: background 120ms ease;
}

.credit-role-badge {
  display: inline-block;
  font-family: var(--font-mono, "SFMono-Regular", ui-monospace, "Cascadia Code", "Menlo", monospace);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent-700, #1d4ed8);
  background: var(--accent-50, #eff6ff);
  padding: 2px 8px;
  border-radius: var(--radius-sm, 4px);
  border: 1px solid var(--accent-100, #dbeafe);
  white-space: nowrap;
}

@media (max-width: 640px) {
  .credit-roles-table thead th,
  .credit-roles-table tbody td {
    padding: var(--sp-3);
  }
  .credit-roles-table thead th:first-child {
    width: auto;
  }
  .credit-role-badge {
    font-size: 0.72rem;
    white-space: normal;
  }
}
