/* ===== Reset & Base ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #f5f3ff;
  --surface: #ffffff;
  --primary: #7c3aed;
  --primary-hover: #6d28d9;
  --primary-light: #ede9fe;
  --text: #1e1b4b;
  --text-muted: #6b7280;
  --border: #e5e7eb;
  --success: #10b981;
  --success-bg: #ecfdf5;
  --error: #ef4444;
  --error-bg: #fef2f2;
  --radius: 12px;
  --shadow: 0 1px 3px rgba(0,0,0,0.08), 0 4px 12px rgba(0,0,0,0.04);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

/* ===== Layout ===== */
.container {
  max-width: 680px;
  margin: 0 auto;
  padding: 40px 20px 60px;
}

/* ===== Header ===== */
header {
  text-align: center;
  margin-bottom: 40px;
}

header h1 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.logo-icon {
  font-size: 1.6rem;
}

.tagline {
  color: var(--text-muted);
  margin-top: 6px;
  font-size: 1.05rem;
}

/* ===== Screens ===== */
.screen {
  display: none;
}

.screen.active {
  display: block;
}

/* ===== Drop Zone ===== */
.drop-zone {
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  padding: 48px 24px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  background: var(--surface);
}

.drop-zone:hover,
.drop-zone.drag-over {
  border-color: var(--primary);
  background: var(--primary-light);
}

.drop-icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
}

.drop-text {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
}

.drop-sub {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 4px;
}

/* ===== File List ===== */
.file-list {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.file-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 0.9rem;
  box-shadow: var(--shadow);
}

.file-item-name {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.file-item-name span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.file-remove {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1.2rem;
  padding: 0 4px;
  line-height: 1;
  transition: color 0.15s;
}

.file-remove:hover {
  color: var(--error);
}

/* ===== Buttons ===== */
.btn {
  display: block;
  width: 100%;
  padding: 14px 24px;
  border: none;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, opacity 0.2s;
  margin-top: 20px;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover:not(:disabled) {
  background: var(--primary-hover);
}

.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

/* ===== Loader ===== */
.loader-container {
  text-align: center;
  padding: 80px 20px;
  max-width: 360px;
  margin: 0 auto;
}

.loader-emoji {
  font-size: 3.5rem;
  margin-bottom: 24px;
  display: inline-block;
}

.loader-emoji-pulse {
  animation: emoji-pulse 2s ease-in-out infinite;
}

@keyframes emoji-pulse {
  0%   { transform: scale(1) translateY(0); }
  50%  { transform: scale(1.08) translateY(-4px); }
  100% { transform: scale(1) translateY(0); }
}

.loader-progress-track {
  width: 100%;
  height: 8px;
  background: var(--border);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 20px;
}

.loader-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--primary), #a78bfa, var(--primary));
  background-size: 200% 100%;
  border-radius: 4px;
  animation: shimmer 2s ease-in-out infinite;
}

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

.loader-text {
  color: var(--text);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 6px;
  min-height: 1.4em;
  transition: opacity 0.2s ease;
}

.loader-text-fade-out {
  opacity: 0;
}

.loader-subtext {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ===== Quiz ===== */
.quiz-header {
  margin-bottom: 24px;
}

.quiz-progress {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.progress-bar {
  margin-top: 8px;
  height: 6px;
  background: var(--border);
  border-radius: 3px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--primary);
  border-radius: 3px;
  transition: width 0.3s ease;
  width: 10%;
}

.quiz-question {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 20px;
  line-height: 1.5;
  background: var(--surface);
  padding: 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.quiz-choices {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.choice-btn {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  text-align: left;
  padding: 14px 16px;
  border: 2px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  cursor: pointer;
  font-size: 0.95rem;
  line-height: 1.5;
  transition: border-color 0.15s, background 0.15s;
}

.choice-btn:hover:not(.locked) {
  border-color: var(--primary);
  background: var(--primary-light);
}

.choice-btn.selected {
  border-color: var(--primary);
  background: var(--primary-light);
}

.choice-btn.correct {
  border-color: var(--success);
  background: var(--success-bg);
}

.choice-btn.incorrect {
  border-color: var(--error);
  background: var(--error-bg);
}

.choice-btn.locked {
  cursor: default;
}

.choice-letter {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  font-weight: 700;
  font-size: 0.85rem;
}

.choice-btn.correct .choice-letter {
  background: var(--success);
  color: #fff;
}

.choice-btn.incorrect .choice-letter {
  background: var(--error);
  color: #fff;
}

/* ===== Quiz Feedback ===== */
.quiz-feedback {
  margin-top: 16px;
  padding: 16px 18px;
  border-radius: 10px;
  font-size: 0.92rem;
  line-height: 1.55;
  animation: fadeIn 0.25s ease;
}

.quiz-feedback.feedback-wrong {
  background: var(--error-bg);
  border: 1px solid var(--error);
  color: var(--text);
}

.quiz-feedback.feedback-reveal {
  background: var(--success-bg);
  border: 1px solid var(--success);
  color: var(--text);
}

.quiz-feedback strong {
  display: block;
  margin-bottom: 4px;
}

.choice-btn.dimmed {
  opacity: 0.45;
  pointer-events: none;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== Results ===== */
.results-card {
  text-align: center;
  background: var(--surface);
  border-radius: var(--radius);
  padding: 40px 24px;
  box-shadow: var(--shadow);
  margin-bottom: 28px;
}

.results-score {
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary);
}

.results-message {
  color: var(--text-muted);
  margin-top: 8px;
  font-size: 1.05rem;
}

.results-review {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 8px;
}

.review-item {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--border);
}

.review-item.was-correct {
  border-left-color: var(--success);
}

.review-item.was-incorrect {
  border-left-color: var(--error);
}

.review-question {
  font-weight: 600;
  margin-bottom: 8px;
}

.review-answer {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.review-answer strong {
  color: var(--text);
}

.review-explanation {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--border);
  font-style: italic;
}

.review-source {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 10px;
  font-size: 0.82rem;
  color: var(--primary);
  background: var(--primary-light);
  padding: 4px 10px;
  border-radius: 6px;
  font-weight: 600;
}

.review-detailed {
  font-size: 0.9rem;
  color: var(--text);
  margin-top: 10px;
  padding: 12px 14px;
  background: #fefce8;
  border: 1px solid #fde68a;
  border-radius: 8px;
  line-height: 1.55;
}

.review-item.was-second-attempt {
  border-left-color: #f59e0b;
}

/* ===== Weak Areas Banner ===== */
.weak-areas-banner {
  background: var(--primary-light);
  border: 1px solid var(--primary);
  border-radius: 10px;
  padding: 14px 18px;
  margin-bottom: 16px;
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.5;
}

.weak-areas-banner strong {
  color: var(--primary);
}

/* ===== Auth Page ===== */
.auth-body {
  background: #0f0a1a;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}

.auth-container {
  width: 100%;
  max-width: 460px;
  padding: 20px;
}

.auth-card {
  background: #1a1025;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 40px 32px;
  color: #fff;
}

.auth-header {
  text-align: center;
  margin-bottom: 28px;
}

.auth-header h1 {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-style: italic;
}

.auth-header p {
  color: rgba(255,255,255,0.5);
  margin-top: 6px;
  font-size: 0.95rem;
}

.btn-google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px 24px;
  border: none;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  margin: 0;
}

.btn-google:hover {
  background: rgba(255,255,255,0.14);
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 24px 0;
  color: rgba(255,255,255,0.3);
  font-size: 0.85rem;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,0.1);
}

.auth-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 24px;
  border-bottom: 2px solid rgba(255,255,255,0.1);
}

.auth-tab {
  flex: 1;
  background: none;
  border: none;
  color: rgba(255,255,255,0.4);
  padding: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: color 0.2s, border-color 0.2s;
}

.auth-tab.active {
  color: #fff;
  border-bottom-color: var(--primary);
}

.auth-form .form-group {
  margin-bottom: 16px;
}

.auth-form label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  margin-bottom: 6px;
}

.auth-form input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 10px;
  background: rgba(255,255,255,0.06);
  color: #fff;
  font-size: 0.95rem;
  transition: border-color 0.2s;
}

.auth-form input::placeholder {
  color: rgba(255,255,255,0.3);
}

.auth-form input:focus {
  outline: none;
  border-color: var(--primary);
}

.form-row {
  display: flex;
  gap: 12px;
}

.form-row .form-group {
  flex: 1;
}

.form-hint {
  display: block;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
  margin-top: 4px;
}

.btn-auth-primary {
  display: block;
  width: 100%;
  padding: 14px 24px;
  border: none;
  border-radius: var(--radius);
  background: var(--primary);
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, opacity 0.2s;
  margin-top: 8px;
}

.btn-auth-primary:hover:not(:disabled) {
  background: var(--primary-hover);
}

.btn-auth-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.auth-error {
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.88rem;
  background: rgba(239,68,68,0.15);
  color: #fca5a5;
  margin-bottom: 8px;
}

.auth-error.auth-success {
  background: rgba(16,185,129,0.15);
  color: #6ee7b7;
}

.auth-legal {
  margin-top: 14px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.5;
  text-align: center;
}

.auth-legal a {
  color: rgba(255,255,255,0.6);
  text-decoration: underline;
}

.auth-legal a:hover {
  color: #fff;
}

/* ===== Nav Header (Quiz Page) ===== */
.quiz-nav {
  text-align: left;
  margin-bottom: 8px;
}

.nav-back {
  color: var(--primary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: opacity 0.15s;
}

.nav-back:hover {
  opacity: 0.7;
}

/* ===== Dashboard ===== */
.dash-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}

.dash-header h1 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.dash-header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.user-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
}

.btn-link {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0.85rem;
  text-decoration: underline;
  transition: color 0.15s;
}

.btn-link:hover {
  color: var(--text);
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

.stat-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  box-shadow: var(--shadow);
}

.stat-value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
}

.stat-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.dash-section {
  margin-bottom: 28px;
}

.dash-section h2 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 14px;
}

.dash-actions {
  display: flex;
  gap: 12px;
  margin-bottom: 28px;
}

.dash-actions .btn {
  margin-top: 0;
}

.btn-secondary {
  background: var(--primary-light);
  color: var(--primary);
}

.btn-secondary:hover:not(:disabled) {
  background: #ddd6fe;
}

/* Score Trend Chart */
.trend-chart {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
}

.trend-bar-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.trend-bar-row:last-child {
  margin-bottom: 0;
}

.trend-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
  min-width: 28px;
}

.trend-bar-track {
  flex: 1;
  height: 20px;
  background: var(--border);
  border-radius: 4px;
  overflow: hidden;
}

.trend-bar-fill {
  height: 100%;
  background: var(--primary);
  border-radius: 4px;
  transition: width 0.5s ease;
}

.trend-pct {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
  min-width: 36px;
  text-align: right;
}

/* Weak Areas */
.weak-areas-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
}

.weak-area-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--surface);
  border-radius: 10px;
  padding: 14px 16px;
  box-shadow: var(--shadow);
}

.weak-area-section {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text);
  display: block;
}

.weak-area-doc {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.weak-area-stats {
  text-align: right;
  flex-shrink: 0;
}

.weak-area-accuracy {
  font-weight: 700;
  font-size: 1rem;
  display: block;
}

.weak-area-accuracy.low {
  color: var(--error);
}

.weak-area-accuracy.medium {
  color: #f59e0b;
}

.weak-area-count {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Quiz History */
.history-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.history-item {
  background: var(--surface);
  border-radius: 10px;
  padding: 16px;
  box-shadow: var(--shadow);
}

.history-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 6px;
}

.history-date {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text);
}

.history-docs {
  font-size: 0.82rem;
  color: var(--text-muted);
  max-width: 60%;
  text-align: right;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.history-scores {
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 600;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.history-round-link {
  color: var(--primary);
  text-decoration: none;
  padding: 2px 8px;
  border-radius: 6px;
  transition: background 0.15s;
  font-weight: 600;
}

.history-round-link:hover {
  background: var(--primary-light);
}

.history-actions {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
}

.btn-session-weak {
  background: none;
  border: 1px solid var(--primary);
  color: var(--primary);
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  font-family: inherit;
}

.btn-session-weak:hover:not(:disabled) {
  background: var(--primary-light);
}

.btn-session-weak:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Review Page */
.review-meta {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: 4px;
}

.review-back-btn {
  display: block;
  text-align: center;
  text-decoration: none;
  margin-top: 20px;
}

.empty-state {
  text-align: center;
  color: var(--text-muted);
  padding: 32px 16px;
  font-size: 0.95rem;
}

/* Review Question Badge (practice mode) */
.review-badge {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 12px;
  margin-bottom: 8px;
  margin-right: 8px;
  vertical-align: middle;
}

/* Profile Completion Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
}

.modal-overlay[hidden] {
  display: none;
}

.modal-card {
  background: var(--surface);
  border-radius: 16px;
  padding: 32px;
  max-width: 440px;
  width: 100%;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}

.modal-card h2 {
  font-size: 1.3rem;
  margin-bottom: 6px;
}

.modal-card p {
  color: var(--text-muted);
  margin-bottom: 20px;
  font-size: 0.92rem;
}

.modal-card .form-group {
  margin-bottom: 16px;
}

.modal-card label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.modal-card input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  color: var(--text);
  font-size: 0.95rem;
  transition: border-color 0.2s;
}

.modal-card input:focus {
  outline: none;
  border-color: var(--primary);
}

.modal-card .form-hint {
  color: var(--text-muted);
}

.modal-card .auth-error {
  background: var(--error-bg);
  color: var(--error);
}

.modal-card-sm {
  max-width: 380px;
}

.modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.modal-actions .btn {
  flex: 1;
}

/* ===== Responsive ===== */
@media (max-width: 500px) {
  .container {
    padding: 24px 16px 48px;
  }

  header h1 {
    font-size: 1.6rem;
  }

  .quiz-question {
    font-size: 1.05rem;
    padding: 18px;
  }

  .results-score {
    font-size: 2.4rem;
  }

  .auth-card {
    padding: 28px 20px;
  }

  .stats-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .stat-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
  }

  .stat-value {
    font-size: 1.5rem;
  }

  .dash-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .history-meta {
    flex-direction: column;
    gap: 2px;
  }

  .history-docs {
    max-width: 100%;
    text-align: left;
  }
}

/* ===== Legal Pages ===== */
.legal-page {
  max-width: 760px;
}

.legal-page header {
  text-align: center;
  margin-bottom: 32px;
}

.legal-page header .nav-back {
  display: inline-block;
  margin-bottom: 16px;
}

.legal-content {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 40px 36px;
}

.legal-content h2 {
  font-size: 1.6rem;
  color: var(--primary);
  margin-bottom: 4px;
}

.legal-updated {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 28px;
}

.legal-content h3 {
  font-size: 1.1rem;
  color: var(--text);
  margin-top: 28px;
  margin-bottom: 10px;
}

.legal-content h4 {
  font-size: 0.95rem;
  color: var(--text);
  margin-top: 16px;
  margin-bottom: 6px;
}

.legal-content p {
  margin-bottom: 12px;
  color: var(--text);
  font-size: 0.92rem;
  line-height: 1.7;
}

.legal-content ul {
  margin: 0 0 12px 24px;
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--text);
}

.legal-content li {
  margin-bottom: 4px;
}

.legal-content a {
  color: var(--primary);
  text-decoration: none;
}

.legal-content a:hover {
  text-decoration: underline;
}

@media (max-width: 600px) {
  .legal-content {
    padding: 28px 20px;
  }
}
