/* ============================================
   RELATIONSHIP ARCHETYPES - DESIGN SYSTEM
   Matches Intimacy Archetypes light theme
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;700&family=Inter:wght@400;500;600;700&display=swap');

/* --- CSS Custom Properties --- */
:root {
  --bg: #0E0409;
  --bg-gradient-start: #2A0A18;
  --bg-gradient-end: #0E0409;
  --bg-section: #14060D;
  --text: #FFFFFF;
  --text-muted: rgba(255, 255, 255, 0.75);
  --text-subtle: rgba(255, 255, 255, 0.6);
  --accent: #F25C8D;
  --accent-hover: #FF6B9D;
  --accent-light: rgba(242, 92, 141, 0.1);
  --accent-glow: rgba(242, 92, 141, 0.2);
  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.15);
  --card: rgba(255, 255, 255, 0.03);
  --card-hover: rgba(255, 255, 255, 0.05);
  --success: #4CAF79;
  --radius: 18px;
  --radius-lg: 20px;
  --radius-sm: 12px;
  --shadow-soft: 0 4px 20px -4px rgba(0, 0, 0, 0.3);
  --shadow-card: 0 8px 32px -4px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 30px rgba(242, 92, 141, 0.2);
  --transition: 200ms ease;
  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max-width: 980px;
  --max-width-narrow: 680px;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-muted);
  background-color: var(--bg);
  min-height: 100vh;
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text);
}

h1 {
  font-size: 3.5rem;
  line-height: 1.1;
}
h2 { font-size: 2rem; }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.15rem; }

p {
  color: var(--text-muted);
  line-height: 1.7;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--accent-hover);
}

/* --- Layout --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.container--narrow {
  max-width: var(--max-width-narrow);
}

/* --- Sticky Header --- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(14, 4, 9, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header__logo {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--text);
  text-decoration: none;
  letter-spacing: 0.02em;
}

.header__logo:hover {
  color: var(--accent);
}

.header__nav {
  display: flex;
  gap: 32px;
  align-items: center;
}

.header__nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition);
  text-decoration: none;
}

.header__nav a:hover {
  color: var(--text);
}

/* --- Cards --- */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--transition);
}

.card--hover:hover {
  box-shadow: var(--shadow-card);
  border-color: var(--border-hover);
  background: var(--card-hover);
  transform: translateY(-2px);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 32px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  line-height: 1;
}

.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.btn--primary {
  background: var(--accent);
  color: #FFFFFF;
}

.btn--primary:hover {
  background: var(--accent-hover);
  box-shadow: var(--shadow-glow);
  transform: translateY(-1px);
}

.btn--secondary {
  background: transparent;
  color: var(--accent);
  border: 1.5px solid var(--accent);
}

.btn--secondary:hover {
  background: var(--accent-light);
}

.btn--ghost {
  background: transparent;
  color: var(--muted);
  padding: 10px 20px;
}

.btn--ghost:hover {
  color: var(--accent);
  background: var(--accent-light);
}

.btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn--small {
  font-size: 0.875rem;
  padding: 10px 20px;
}

/* --- Hero Section --- */
.hero {
  background: linear-gradient(135deg, var(--bg-gradient-start) 0%, var(--bg-gradient-end) 100%);
  text-align: center;
  padding: 160px 0 140px;
  margin-top: -72px;
  padding-top: 232px;
}

.hero__kicker {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 24px;
}

.hero h1 {
  margin-bottom: 24px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  font-size: 4rem;
}

.hero__subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.hero__meta {
  font-size: 0.875rem;
  color: var(--text-subtle);
  margin-top: 20px;
}

/* --- Section Spacing --- */
.section {
  padding: 80px 0;
  background: var(--bg-section);
}

.section--border {
  border-top: 1px solid var(--border);
}

.section__title {
  text-align: center;
  margin-bottom: 16px;
}

.section__subtitle {
  text-align: center;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 48px;
  font-size: 1.1rem;
  line-height: 1.7;
}

/* --- Grid --- */
.grid {
  display: grid;
  gap: 20px;
}

.grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

/* --- Progress Bar --- */
.progress {
  margin-bottom: 32px;
}

.progress__label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font-size: 0.9rem;
  color: var(--text-subtle);
}

.progress__bar {
  width: 100%;
  height: 6px;
  background: var(--border);
  border-radius: 3px;
  overflow: hidden;
}

.progress__fill {
  height: 100%;
  background: var(--accent);
  border-radius: 3px;
  transition: width 400ms ease;
  width: 0%;
}

/* --- Question Card (Test) --- */
.question {
  text-align: center;
  animation: fadeIn 250ms ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.question__number {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-subtle);
  margin-bottom: 32px;
}

.question__options {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 8px;
}

.option-card {
  background: var(--card);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 28px;
  cursor: pointer;
  transition: all var(--transition);
  text-align: left;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  position: relative;
}

.option-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-soft);
  background: var(--card-hover);
}

.option-card:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.option-card--selected {
  border-color: var(--accent);
  background: var(--accent-light);
  box-shadow: var(--shadow-glow);
}

.option-card--selected::after {
  content: '\2713';
  position: absolute;
  top: 12px;
  right: 16px;
  width: 24px;
  height: 24px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
}

/* --- Navigation Buttons (Test) --- */
.nav-buttons {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 40px;
  gap: 16px;
}

/* --- Results Page --- */
.result-hero {
  text-align: center;
  padding: 80px 0 60px;
  animation: fadeIn 400ms ease;
  background: var(--bg);
}

.result-hero__kicker {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 12px;
}

.result-hero__code {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.result-hero__name {
  font-size: 2rem;
  margin-bottom: 8px;
}

.result-hero__tagline {
  font-size: 1.2rem;
  color: var(--text-muted);
  font-style: italic;
}

/* --- Result Sections --- */
.result-section {
  margin-bottom: 32px;
  animation: fadeIn 400ms ease;
}

.result-section__title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text);
}

.result-section .card {
  margin-bottom: 0;
}

.result-section .card p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-muted);
}

/* --- Bullet Lists --- */
.bullet-list {
  list-style: none;
  padding: 0;
}

.bullet-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 12px;
  color: var(--text-muted);
  line-height: 1.7;
}

.bullet-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.6;
}

.bullet-list--challenges li::before {
  background: var(--muted);
}

/* --- Dimensions Grid --- */
.dimensions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.dimension-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 20px;
  text-align: center;
}

.dimension-card__axis {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-subtle);
  margin-bottom: 6px;
}

.dimension-card__value {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent);
}

/* --- CTA Section --- */
.cta-section {
  text-align: center;
  padding: 64px 0 96px;
  border-top: 1px solid var(--border);
  margin-top: 32px;
  background: var(--bg-section);
}

.cta-section p {
  font-size: 1.15rem;
  margin-bottom: 24px;
  color: var(--text-muted);
}

/* --- Share Section --- */
.share-section {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

/* --- Love OS Section --- */
.love-os {
  background: var(--card);
  border: 2px solid var(--accent);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  margin-bottom: 32px;
  box-shadow: var(--shadow-glow);
}

.love-os__title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 8px;
}

.love-os__combo {
  font-size: 1.15rem;
  color: var(--text);
  margin-bottom: 16px;
}

/* --- Compatibility Page --- */
.compat-selects {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.compat-select-group {
  display: flex;
  flex-direction: column;
}

.compat-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 10px;
}

.compat-select {
  width: 100%;
  background: #1A0D14;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  cursor: pointer;
  transition: all var(--transition);
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23FFFFFF' opacity='0.6' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.compat-select:hover {
  border-color: var(--accent);
  background: #220F1A;
}

.compat-select:focus {
  outline: none;
  border-color: var(--accent);
}

.compat-select option {
  background: #1A0D14;
  color: var(--text);
}

.compat-desc {
  font-size: 0.9rem;
  color: var(--text-subtle);
  margin-top: 10px;
  min-height: 20px;
  line-height: 1.5;
}

/* Axis Card (Compatibility) */
.compat-axis-card {
  padding: 24px 28px;
}

.compat-axis-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
  gap: 12px;
}

.compat-axis-label {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.compat-axis-pair {
  font-size: 0.9rem;
  color: var(--text-subtle);
}

.compat-axis-body {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-muted);
}

/* Status Badges */
.compat-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 5px 12px;
  border-radius: 20px;
  white-space: nowrap;
  flex-shrink: 0;
}

.compat-badge--aligned {
  background: rgba(46, 125, 79, 0.1);
  color: #2E7D4F;
  border: 1px solid rgba(46, 125, 79, 0.2);
}

.compat-badge--complementary {
  background: rgba(37, 99, 165, 0.1);
  color: #2563A5;
  border: 1px solid rgba(37, 99, 165, 0.2);
}

/* --- Match Cards --- */
.match-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.match-card {
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
  transition: all var(--transition);
  position: relative;
}

.match-card:hover {
  box-shadow: var(--shadow-card);
  transform: translateY(-2px);
}

.match-card__type {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
  padding: 4px 10px;
  border-radius: 12px;
  display: inline-block;
}

.match-card--stabilizing .match-card__type {
  color: #2E7D4F;
  background: rgba(46, 125, 79, 0.1);
}

.match-card--growth .match-card__type {
  color: #2563A5;
  background: rgba(37, 99, 165, 0.1);
}

.match-card--intense .match-card__type {
  color: #A07020;
  background: rgba(180, 120, 30, 0.1);
}

.match-card--challenging .match-card__type {
  color: #8B3A3A;
  background: rgba(139, 58, 58, 0.1);
}

.match-card__code {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 6px;
}

.match-card__name {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}

.match-card__tagline {
  font-size: 0.85rem;
  font-style: italic;
  color: var(--text-subtle);
  margin-bottom: 14px;
}

.match-card__desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

.match-card__link {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  transition: color var(--transition);
}

.match-card__link:hover {
  color: var(--accent-hover);
}

.compat-badge--tension {
  background: rgba(180, 120, 30, 0.1);
  color: #A07020;
  border: 1px solid rgba(180, 120, 30, 0.2);
}

/* --- Footer --- */
.footer {
  text-align: center;
  padding: 40px 0;
  border-top: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--text-subtle);
  background: var(--bg-section);
}

/* --- Landing Page Specific --- */
.axes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 32px;
}

.axis-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
  transition: all var(--transition);
}

.axis-card:hover {
  box-shadow: var(--shadow-soft);
  border-color: var(--accent);
  background: var(--card-hover);
}

.axis-card__name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: 10px;
}

.axis-card__desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.archetype-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 24px;
}

.archetype-chip {
  display: block;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 10px;
  text-align: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--accent);
  text-decoration: none;
  transition: all var(--transition);
  cursor: pointer;
}

.archetype-chip:hover {
  border-color: var(--accent);
  background: var(--accent-light);
  box-shadow: var(--shadow-glow);
}

.identification {
  max-width: 600px;
  margin: 0 auto;
}

.identification ul {
  list-style: none;
  padding: 0;
  margin: 24px 0;
}

.identification li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 1.05rem;
}

.identification li::before {
  content: '\2022';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 1.2rem;
}

.identification__bold {
  font-weight: 600;
  color: var(--text);
  font-size: 1.15rem;
  margin-top: 32px;
  line-height: 1.6;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  h1 { font-size: 2.25rem; }
  h2 { font-size: 1.6rem; }

  .hero h1 { font-size: 2.25rem; }
  .hero { padding: 120px 0 100px; padding-top: 192px; }

  .card { padding: 24px; }

  .grid--2,
  .grid--4 {
    grid-template-columns: 1fr;
  }

  .match-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .compat-selects {
    grid-template-columns: 1fr;
  }

  .axes-grid {
    grid-template-columns: 1fr;
  }

  .archetype-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .dimensions {
    grid-template-columns: 1fr;
  }

  .result-hero__code {
    font-size: 2.5rem;
  }

  .result-hero__name {
    font-size: 1.5rem;
  }

  .header__nav {
    gap: 16px;
  }

  .header__nav a {
    font-size: 0.8rem;
  }

  .nav-buttons {
    flex-direction: column-reverse;
    gap: 12px;
  }

  .nav-buttons .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .archetype-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .match-grid {
    grid-template-columns: 1fr;
  }

  .hero { padding: 100px 0 80px; padding-top: 172px; }
  .hero h1 { font-size: 1.85rem; }

  h1 { font-size: 1.75rem; }
}

/* === Archetype Detail Pages === */
.hero--archetype {
  padding: 80px 0 60px;
}

.archetype-content {
  padding: 40px 0;
}

.content-block {
  margin-bottom: 48px;
}

.content-block h2 {
  font-size: 1.8rem;
  margin-bottom: 16px;
  color: var(--text);
}

.content-block p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.content-block p:last-child {
  margin-bottom: 0;
}

.archetype-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.archetype-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 12px;
  color: var(--text-muted);
  line-height: 1.7;
}

.archetype-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* === RRI Question Styles === */
.question__section-header {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent);
  text-align: center;
  margin-bottom: 24px;
  padding: 16px;
  background: var(--accent-light);
  border-radius: var(--radius-md);
}

.rri-question-text {
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--text);
  text-align: center;
  margin-bottom: 32px;
  font-weight: 500;
}

.likert-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
}

.likert-scale {
  display: flex;
  gap: 8px;
  justify-content: space-between;
  margin-bottom: 4px;
  width: 100%;
}

.likert-btn {
  flex: 1;
  height: 48px;
  border-radius: var(--radius-sm);
  border: 2px solid var(--border);
  background: var(--card);
  color: var(--text-muted);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  font-family: var(--font-body);
}

.likert-btn:hover {
  border-color: var(--accent);
  background: var(--accent-light);
  transform: translateY(-2px);
}

.likert-btn--selected {
  border-color: var(--accent);
  background: var(--accent);
  color: #FFFFFF;
  box-shadow: var(--shadow-glow);
}

.likert-labels {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  font-size: 0.8rem;
  color: var(--text-muted);
  width: 100%;
  margin-top: 6px;
}

.likert-labels span:nth-child(1) {
  text-align: left;
}

.likert-labels span:nth-child(2) {
  text-align: center;
}

.likert-labels span:nth-child(3) {
  text-align: right;
}

@media (max-width: 768px) {
  .likert-scale {
    gap: 4px;
  }

  .likert-btn {
    width: 40px;
    height: 40px;
    font-size: 0.9rem;
  }

  .likert-labels {
    font-size: 0.7rem;
  }

  .rri-question-text {
    font-size: 1.05rem;
  }
}

/* === RRI Results Styles === */
.rri-badge {
  text-align: center;
  margin-bottom: 16px;
}

.rri-badge span {
  display: inline-block;
  padding: 8px 20px;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
}

.rri-badge--high {
  background: #2D5F3F;
  color: #A8E6B4;
  border: 2px solid #A8E6B4;
}

.rri-badge--moderate {
  background: #5F4A2D;
  color: #E6C9A8;
  border: 2px solid #E6C9A8;
}

.rri-badge--low {
  background: #5F2D2D;
  color: #E6A8A8;
  border: 2px solid #E6A8A8;
}

.rri-score {
  text-align: center;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 16px;
}

.rri-narrative {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 0;
}

.rri-subscales {
  display: grid;
  gap: 20px;
  margin-top: 16px;
}

.rri-bar-container {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rri-bar-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
}

.rri-bar-track {
  height: 12px;
  background: var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.rri-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  border-radius: var(--radius-sm);
  transition: width 0.5s ease;
}
