/* Hellenic Subsidy & NSRF/ΕΣΠΑ Screener 2026 - Stylesheet (Zero External CDN) */
:root {
  --bg-primary: #090e17;
  --bg-secondary: #111a2e;
  --bg-tertiary: #18243e;
  --bg-input: #0c1424;
  --text-main: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --border-color: #1e2c47;
  --border-subtle: #172237;
  --border-focus: #3b82f6;

  --blue: #2563eb;
  --blue-light: #3b82f6;
  --blue-dark: #1d4ed8;
  --blue-bg: rgba(37, 99, 235, 0.12);
  --blue-border: rgba(37, 99, 235, 0.28);

  --emerald: #10b981;
  --emerald-bg: rgba(16, 185, 129, 0.12);
  --emerald-border: rgba(16, 185, 129, 0.28);

  --rose: #f43f5e;
  --rose-bg: rgba(244, 63, 94, 0.12);
  --rose-border: rgba(244, 63, 94, 0.28);

  --amber: #f59e0b;
  --amber-bg: rgba(245, 158, 11, 0.12);
  --amber-border: rgba(245, 158, 11, 0.28);

  --indigo: #6366f1;
  --indigo-bg: rgba(99, 102, 241, 0.12);
  --indigo-border: rgba(99, 102, 241, 0.28);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 18px;
  --radius-full: 9999px;

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;

  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.25);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 20px rgba(37, 99, 235, 0.25);
}

body.light {
  --bg-primary: #f8fafc;
  --bg-secondary: #ffffff;
  --bg-tertiary: #f1f5f9;
  --bg-input: #ffffff;
  --text-main: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  --border-color: #e2e8f0;
  --border-subtle: #f1f5f9;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.overflow-x-auto {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
  width: 100%;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header & Navigation */
header {
  background-color: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(12px);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4.25rem;
  height: auto;
  padding: 0.55rem 0;
  gap: 1rem;
}

.brand-area {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: inherit;
}

.brand-icon {
  width: 2.5rem;
  height: 2.5rem;
  background: linear-gradient(135deg, var(--blue), var(--indigo));
  color: #ffffff;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

.brand-titles h1 {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.brand-titles .badge-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--blue-light);
  background-color: var(--blue-bg);
  padding: 0.1rem 0.45rem;
  border-radius: var(--radius-full);
  margin-top: 0.15rem;
  border: 1px solid var(--blue-border);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.6rem 1.1rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s ease;
  text-decoration: none;
  font-family: inherit;
}

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

.btn-primary:hover {
  background-color: var(--blue-dark);
}

.btn-secondary {
  background-color: var(--bg-tertiary);
  color: var(--text-main);
  border-color: var(--border-color);
}

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

.btn-pro {
  background-color: #d97706;
  background-image: linear-gradient(135deg, #f59e0b, #d97706);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.25);
}

.btn-pro:hover {
  filter: brightness(1.1);
}

.btn-icon-only {
  width: 2.3rem;
  height: 2.3rem;
  padding: 0;
  border-radius: var(--radius-md);
  background-color: var(--bg-tertiary);
  color: var(--text-main);
  border: 1px solid var(--border-color);
}

/* Main Content */
main {
  flex: 1;
  padding: 2rem 0 4rem;
}

/* Hero Section */
.hero-section {
  text-align: center;
  max-width: 840px;
  margin: 0 auto 2.5rem;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--emerald);
  background-color: var(--emerald-bg);
  border: 1px solid var(--emerald-border);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.25rem;
}

.hero-pill .dot {
  width: 0.5rem;
  height: 0.5rem;
  background-color: var(--emerald);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 8px var(--emerald);
}

.hero-title {
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Wizard / Card Layout */
.wizard-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  margin-bottom: 2rem;
}

/* Progress Bar */
.progress-container {
  margin-bottom: 2rem;
}

.progress-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
}

.progress-track {
  width: 100%;
  height: 0.5rem;
  background-color: var(--bg-tertiary);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--blue), var(--emerald));
  border-radius: var(--radius-full);
  transition: width 0.3s ease;
}

/* Form Steps */
.step-pane {
  display: none;
}

.step-pane.active {
  display: block;
}

.step-header {
  margin-bottom: 1.75rem;
}

.step-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.step-desc {
  font-size: 0.925rem;
  color: var(--text-secondary);
}

/* Options Grid */
.options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.option-card {
  position: relative;
  background-color: var(--bg-tertiary);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
}

.option-card:hover {
  border-color: var(--blue-light);
  transform: translateY(-2px);
}

.option-card.selected {
  border-color: var(--blue);
  background-color: var(--blue-bg);
  box-shadow: var(--shadow-sm);
}

.option-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 0.65rem;
}

.option-icon {
  width: 2rem;
  height: 2rem;
  border-radius: var(--radius-md);
  background-color: var(--bg-secondary);
  color: var(--blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.option-radio {
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  border: 2px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.option-card.selected .option-radio {
  border-color: var(--blue);
  background-color: var(--blue);
}

.option-radio::after {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  background-color: #ffffff;
  border-radius: 50%;
  display: none;
}

.option-card.selected .option-radio::after {
  display: block;
}

.option-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  color: var(--text-main);
}

.option-desc {
  font-size: 0.825rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

/* Form Inputs & Checks */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-main);
}

.form-input, .form-select {
  width: 100%;
  background-color: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  color: var(--text-main);
  font-family: inherit;
  font-size: 0.925rem;
  transition: border-color 0.2s ease;
}

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

.checkbox-card {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  background-color: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.15rem;
  cursor: pointer;
  margin-bottom: 0.85rem;
  transition: all 0.2s ease;
}

.checkbox-card:hover {
  border-color: var(--blue-light);
}

.checkbox-card input[type="checkbox"] {
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.15rem;
  cursor: pointer;
  accent-color: var(--blue);
}

.checkbox-content {
  flex: 1;
}

.checkbox-title {
  font-size: 0.925rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
  color: var(--text-main);
}

.checkbox-desc {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* Wizard Navigation Bar */
.wizard-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border-color);
  padding-top: 1.5rem;
  margin-top: 1rem;
}

/* Results View */
.results-header-banner {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.15), rgba(16, 185, 129, 0.15));
  border: 1px solid var(--blue-border);
  border-radius: var(--radius-xl);
  padding: 2rem;
  margin-bottom: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.stat-box {
  display: flex;
  flex-direction: column;
}

.stat-label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  margin-bottom: 0.35rem;
}

.stat-value {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--text-main);
}

.stat-box.highlight .stat-value {
  color: var(--emerald);
}

.stat-note {
  font-size: 0.775rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

/* Program Cards in Results */
.program-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  margin-bottom: 1.5rem;
  transition: all 0.2s ease;
}

.program-card.status-eligible {
  border-left: 5px solid var(--emerald);
}

.program-card.status-conditional {
  border-left: 5px solid var(--amber);
}

.program-card.status-ineligible {
  border-left: 5px solid var(--rose);
  opacity: 0.75;
}

.program-top-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem 1rem;
  margin-bottom: 1rem;
}

.program-title {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
}

.program-meta {
  font-size: 0.825rem;
  color: var(--text-secondary);
  margin-top: 0.25rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.75rem;
  font-size: 0.775rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.badge-eligible {
  background-color: var(--emerald-bg);
  color: var(--emerald);
  border: 1px solid var(--emerald-border);
}

.badge-conditional {
  background-color: var(--amber-bg);
  color: var(--amber);
  border: 1px solid var(--amber-border);
}

.badge-ineligible {
  background-color: var(--rose-bg);
  color: var(--rose);
  border: 1px solid var(--rose-border);
}

.fit-meter-container {
  margin: 1.25rem 0;
}

.fit-meter-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.825rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.fit-meter-track {
  width: 100%;
  height: 0.6rem;
  background-color: var(--bg-tertiary);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.fit-meter-fill {
  height: 100%;
  border-radius: var(--radius-full);
  transition: width 0.4s ease;
}

.fit-meter-fill.high {
  background-color: var(--emerald);
}

.fit-meter-fill.medium {
  background-color: var(--amber);
}

.fit-meter-fill.low {
  background-color: var(--rose);
}

.program-details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  background-color: var(--bg-tertiary);
  border-radius: var(--radius-lg);
  padding: 1rem;
  margin-bottom: 1.25rem;
}

.detail-item-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
}

.detail-item-val {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  margin-top: 0.15rem;
}

.reasons-list {
  list-style: none;
  margin-bottom: 1rem;
}

.reasons-list li {
  font-size: 0.875rem;
  line-height: 1.5;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.reasons-list.pass li {
  color: var(--text-main);
}

.reasons-list.fail li {
  color: var(--rose);
}

.next-steps-box {
  background-color: var(--blue-bg);
  border: 1px solid var(--blue-border);
  border-radius: var(--radius-lg);
  padding: 1.15rem;
  margin-top: 1rem;
}

.next-steps-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--blue-light);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.next-steps-box ol {
  padding-left: 1.25rem;
  font-size: 0.85rem;
  color: var(--text-main);
  line-height: 1.5;
}

/* Pro Toolkit Banner */
.pro-banner {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(217, 119, 6, 0.2));
  border: 1px solid var(--amber-border);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  margin: 3rem 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .pro-banner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.pro-banner-content h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--amber);
  margin-bottom: 0.65rem;
}

.pro-banner-content p {
  font-size: 0.95rem;
  color: var(--text-main);
  line-height: 1.6;
  max-width: 650px;
}

.pro-features-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}

.pro-feature-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
}

/* Modal Overlay */
.modal-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 50;
  padding: 1rem;
}

.modal-overlay.open {
  display: flex;
}

.modal-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  max-width: 680px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  padding: 2.25rem;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.25rem;
  border-radius: var(--radius-sm);
}

.modal-close:hover {
  color: var(--text-main);
}

/* FAQ Section */
.faq-section {
  margin: 4rem 0 2rem;
}

.faq-title {
  font-size: 1.65rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 2rem;
}

.faq-item {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  margin-bottom: 0.85rem;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  padding: 1.15rem 1.5rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: inherit;
}

.faq-answer {
  display: none;
  padding: 0 1.5rem 1.25rem;
  font-size: 0.925rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.faq-item.open .faq-answer {
  display: block;
}

/* Footer */
footer {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 3rem 0 2rem;
  color: var(--text-secondary);
  font-size: 0.875rem;
  margin-top: auto;
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  text-align: center;
}

.footer-disclaimer {
  font-size: 0.775rem;
  color: var(--text-muted);
  line-height: 1.5;
  max-width: 800px;
  margin: 0 auto;
}

/* Print Stylesheet (A4 PDF Export) */
@media print {
  body {
    background-color: #ffffff !important;
    color: #000000 !important;
    font-size: 12pt;
  }

  header, footer, .wizard-nav, .pro-banner, .btn, .header-actions, .modal-overlay, .faq-section {
    display: none !important;
  }

  .container {
    max-width: 100% !important;
    padding: 0 !important;
  }

  .results-header-banner {
    border: 1px solid #cccccc !important;
    background: #f9f9f9 !important;
    color: #000000 !important;
  }

  .program-card {
    border: 1px solid #cccccc !important;
    background: #ffffff !important;
    page-break-inside: avoid;
    margin-bottom: 1.5cm;
  }

  .program-details-grid {
    background: #f3f3f3 !important;
    border: 1px solid #e0e0e0 !important;
  }

  .badge {
    border: 1px solid #000000 !important;
    color: #000000 !important;
  }
}

@media (max-width: 520px) {
  .header-content {
    flex-wrap: wrap;
    gap: 0.75rem;
  }
  .brand-titles h1 {
    font-size: 1rem;
  }
  .btn-pro {
    padding: 0.45rem 0.85rem;
    font-size: 0.8rem;
  }
  .program-top-bar {
    flex-direction: column;
    align-items: flex-start;
  }
  .program-top-bar .badge {
    max-width: 100%;
    white-space: normal;
    line-height: 1.3;
    word-break: break-word;
  }
  .waitlist-row {
    flex-direction: column;
  }
  .waitlist-submit {
    width: 100%;
    justify-content: center;
  }
}

/* Early Access Waitlist & Legal Compliance (0€ Validation Mode) */
.waitlist-box {
  background-color: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
}

.waitlist-row {
  display: flex;
  gap: 0.65rem;
  align-items: stretch;
}

.waitlist-input {
  flex: 1;
  min-width: 0;
  padding: 0.65rem 0.9rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  background-color: var(--bg-input);
  color: var(--text-main);
  font-size: 0.9rem;
  font-family: inherit;
}

.waitlist-input:focus {
  outline: none;
  border-color: var(--border-focus);
}

.waitlist-submit {
  padding: 0.65rem 1.25rem;
  white-space: nowrap;
}

.waitlist-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  margin-top: 0.75rem;
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.45;
  cursor: pointer;
}

.waitlist-consent input[type="checkbox"] {
  margin-top: 0.2rem;
  flex-shrink: 0;
  accent-color: var(--amber);
}

.waitlist-status {
  margin-top: 0.65rem;
  font-size: 0.825rem;
  font-weight: 600;
  min-height: 1.1rem;
}

.waitlist-status.ok {
  color: var(--emerald);
}

.waitlist-status.err {
  color: var(--rose);
}

.legal-notice-banner {
  background-color: var(--amber-bg);
  border: 1px solid var(--amber-border);
  color: var(--text-main);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  font-size: 0.8rem;
  line-height: 1.5;
  max-width: 820px;
  margin: 0 auto;
}

.legal-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.legal-link {
  color: var(--blue-light);
  text-decoration: underline;
  font-weight: 600;
}

.legal-link:hover {
  color: var(--amber);
}

.legal-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 2rem;
  margin: 2rem 0;
  box-shadow: var(--shadow-md);
}

.legal-card h1 {
  font-size: 1.55rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.legal-card h2 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 1.5rem 0 0.5rem;
  color: var(--amber);
}

.legal-card p,
.legal-card li {
  font-size: 0.925rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 0.65rem;
}

.legal-card ul {
  padding-left: 1.25rem;
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--blue-light);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}
