/* ── Base ── */

@font-face {
  font-family: 'QEVRead';
  src: url("/assets/QEVRead-8e9efa73.ttf") format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

body {
  font-family: var(--font-system);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: var(--leading-normal);
  overscroll-behavior: none;
}
html {
  overscroll-behavior: none;
}

main {
  padding-top: 0;
}

/* ── Typography ── */

.page-title {
  font-size: 30px;
  font-weight: var(--weight-light);
  letter-spacing: 0.5px;
  margin-bottom: var(--space-2);
  color: var(--color-text);
}

.page-subtitle {
  font-size: var(--text-lg);
  color: var(--color-text-secondary);
  line-height: var(--leading-relaxed);
}

.section-label {
  font-size: var(--text-3xs);
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-text-tertiary);
}

.field-label {
  display: block;
  font-size: var(--text-base);
  letter-spacing: 0.2px;
  color: #4a4a44;
  margin-bottom: 6px;
}

.section-header {
  font-size: var(--text-base);
  font-weight: var(--weight-semibold);
  letter-spacing: 0.3px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--color-surface-hover);
  display: flex;
  justify-content: space-between;
  margin-bottom: var(--space-5);
  color: var(--color-text-secondary);
}

/* ── Nominee Links ── */

.nominee-link {
  color: var(--color-accent);
  text-decoration: none;
  transition: color var(--transition-fast);
}
.nominee-link:hover {
  color: var(--color-accent-hover);
  text-decoration: underline;
}
.nominee-link--website {
  font-weight: var(--weight-medium);
}

/* ── Info Tooltip ── */

.info-tip {
  position: relative;
  cursor: help;
  color: var(--color-text-tertiary);
}
.info-tip-text {
  display: none;
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-white);
  color: #4a4a44;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  font-size: var(--text-2xs);
  font-weight: var(--weight-normal);
  line-height: 1.4;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  z-index: 10;
  pointer-events: none;
}
.info-tip:hover .info-tip-text,
.info-tip:focus .info-tip-text {
  display: block;
}

/* ── Required Field Indicator ── */

.required-star {
  color: var(--color-danger);
  font-weight: var(--weight-semibold);
  margin-left: 2px;
}
