/* ============================================
   IntegrateMed Marketing Website
   Organic medical design language
   ============================================ */

/* --- Design Tokens --- */
:root {
  --primary: #2C5F7C;
  --primary-dark: #1E4A5F;
  --secondary: #4A90A4;
  --accent: #4ECDC4;
  --navy: #0F2537;
  --success: #2D7D32;
  --warning: #E8734A;
  --error: #C62828;
  --background: #FAFBFC;
  --surface: #FFFFFF;
  --text: #1A1A1A;
  --text-secondary: #5F6368;
  --divider: rgba(95, 99, 104, 0.12);
  --shadow: rgba(0, 0, 0, 0.04);
  --radius: 16px;
  --radius-sm: 12px;
  --radius-pill: 50px;
  --max-width: 1200px;
  --nav-height: 72px;
  --demo-banner-height: 36px;
}

/* --- Site Header (sticky wrapper for demo banner + nav) --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
}

/* --- Demo Banner --- */
.demo-banner {
  background: var(--warning);
  color: #fff;
  text-align: center;
  padding: 8px 16px;
  font-size: 13px;
  line-height: 1.4;
}

.demo-banner strong {
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* --- Toast --- */
.toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--warning);
  color: #fff;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  z-index: 200;
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
  pointer-events: none;
  max-width: 420px;
  text-align: center;
}

.toast.visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* --- Placeholder Screenshot Overlay --- */
.placeholder-screenshot {
  position: relative;
  display: inline-block;
  overflow: hidden;
  border-radius: 28px;
  z-index: 1;
}

.placeholder-screenshot img {
  display: block;
  border-radius: 28px;
  border: 1px solid var(--divider);
}

.placeholder-screenshot::after {
  content: "PLACEHOLDER — NOT FINAL";
  position: absolute;
  top: 50%;
  left: -40%;
  right: -40%;
  transform: rotate(-35deg);
  background: rgba(198, 40, 40, 0.85);
  color: #fff;
  text-align: center;
  padding: 8px 0;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  pointer-events: none;
}

.placeholder-screenshot-showcase {
  margin: 0 auto;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + var(--demo-banner-height));
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  background: var(--background);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--primary-dark);
}

h1, h2, h3, h4, h5, h6 {
  line-height: 1.2;
  font-weight: 700;
}

/* --- Utility --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.25s ease;
  text-decoration: none;
  line-height: 1.4;
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 14px rgba(44, 95, 124, 0.25);
}

.btn-primary:hover {
  background: var(--primary-dark);
  color: #fff;
  box-shadow: 0 6px 20px rgba(44, 95, 124, 0.35);
  transform: translateY(-1px);
}

.btn.btn-accent {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 4px 14px rgba(15, 37, 55, 0.25);
}

.btn.btn-accent:hover {
  background: #1a3a50;
  color: #fff;
  box-shadow: 0 6px 20px rgba(15, 37, 55, 0.35);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: rgba(44, 95, 124, 0.3);
}

.btn-outline:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  transform: translateY(-1px);
}

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

.btn-success:hover {
  background: #246628;
  color: #fff;
}

.btn-sm {
  padding: 10px 22px;
  font-size: 14px;
}

.btn-lg {
  padding: 18px 36px;
  font-size: 16px;
}

/* --- Navigation --- */
.nav {
  position: relative;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  height: var(--nav-height);
  transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.nav.scrolled {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--divider);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.04);
}

.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-dark);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.nav-brand:hover {
  color: var(--primary-dark);
}

.nav-brand img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-cta {
  margin-left: 4px;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--text);
}

.nav-toggle svg {
  width: 24px;
  height: 24px;
}

/* Mobile nav */
@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 20px 24px;
    gap: 16px;
    border-bottom: 1px solid var(--divider);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-cta {
    margin-left: 0;
    width: 100%;
    text-align: center;
  }
}

/* --- Hero --- */
.hero {
  position: relative;
  padding: 100px 0 120px;
  background: linear-gradient(165deg, #f0f5f8 0%, var(--background) 40%, #f4faf9 100%);
  overflow: hidden;
}

/* Decorative blob — top right */
.hero::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(78, 205, 196, 0.09) 0%, transparent 65%);
  border-radius: 50%;
  top: -180px;
  right: -120px;
  pointer-events: none;
}

/* Decorative blob — bottom left */
.hero::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(44, 95, 124, 0.06) 0%, transparent 65%);
  border-radius: 50%;
  bottom: -100px;
  left: -80px;
  pointer-events: none;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-block;
  padding: 8px 18px;
  background: rgba(44, 95, 124, 0.07);
  color: var(--primary);
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
  letter-spacing: 0.01em;
  animation: fadeInUp 0.6s ease-out both;
}

.hero h1 {
  font-size: 52px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 20px;
  letter-spacing: -0.035em;
  line-height: 1.1;
  animation: fadeInUp 0.6s ease-out 0.08s both;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 36px;
  line-height: 1.7;
  max-width: 460px;
  animation: fadeInUp 0.6s ease-out 0.16s both;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-bottom: 28px;
  flex-wrap: wrap;
  animation: fadeInUp 0.6s ease-out 0.24s both;
}

.hero-trust {
  font-size: 13px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
  animation: fadeInUp 0.6s ease-out 0.32s both;
}

.hero-trust svg {
  width: 18px;
  height: 18px;
  color: var(--success);
  flex-shrink: 0;
}

.hero-image {
  display: flex;
  justify-content: center;
  position: relative;
  animation: fadeInUp 0.7s ease-out 0.15s both;
}

/* Organic shape behind screenshot */
.hero-image::before {
  content: '';
  position: absolute;
  width: 380px;
  height: 420px;
  background: rgba(78, 205, 196, 0.1);
  border-radius: 62% 38% 46% 54% / 56% 40% 60% 44%;
  top: 50%;
  left: 50%;
  transform: translate(-48%, -50%);
  z-index: 0;
}

.hero-image img {
  max-width: 340px;
  border-radius: 28px;
  border: 1px solid var(--divider);
  box-shadow:
    0 32px 64px rgba(15, 37, 55, 0.12),
    0 8px 20px rgba(15, 37, 55, 0.06);
}

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

@media (prefers-reduced-motion: reduce) {
  .hero-badge, .hero h1, .hero-subtitle, .hero-actions, .hero-trust, .hero-image {
    animation: none !important;
    opacity: 1;
  }
}

@media (max-width: 900px) {
  .hero {
    padding: 64px 0 80px;
  }

  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 48px;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero-subtitle {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-trust {
    justify-content: center;
  }

  .hero-image {
    order: -1;
  }

  .hero-image::before {
    width: 280px;
    height: 320px;
  }

  .hero-image img {
    max-width: 260px;
  }
}

/* --- Section --- */
.section {
  padding: 100px 0;
}

.section-alt {
  background: #eef4f7;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header h2 {
  font-size: 36px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 14px;
  letter-spacing: -0.03em;
}

.section-header p {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.7;
}

@media (max-width: 600px) {
  .section {
    padding: 72px 0;
  }

  .section-header h2 {
    font-size: 28px;
  }
}

/* --- Feature Grid --- */
#features {
  position: relative;
  overflow: hidden;
}

/* Decorative blob behind features */
#features::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(74, 144, 164, 0.05) 0%, transparent 65%);
  border-radius: 50%;
  top: -80px;
  left: -160px;
  pointer-events: none;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin: 0 auto;
}

.feature-card {
  background: var(--surface);
  border-radius: 20px;
  padding: 36px;
  border: 1px solid var(--divider);
  aspect-ratio: 1 / 1;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.feature-card:nth-child(1) { background: linear-gradient(135deg, rgba(44, 95, 124, 0.03) 0%, var(--surface) 100%); }
.feature-card:nth-child(2) { background: linear-gradient(135deg, rgba(232, 115, 74, 0.03) 0%, var(--surface) 100%); }
.feature-card:nth-child(3) { background: linear-gradient(135deg, rgba(45, 125, 50, 0.03) 0%, var(--surface) 100%); }
.feature-card:nth-child(4) { background: linear-gradient(135deg, rgba(78, 205, 196, 0.04) 0%, var(--surface) 100%); }

.feature-card:hover {
  box-shadow: 0 12px 36px rgba(44, 95, 124, 0.08);
  transform: translateY(-3px);
}

.feature-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.feature-card:hover .feature-icon {
  transform: scale(1.06);
}

.feature-icon-blue {
  background: rgba(44, 95, 124, 0.1);
  color: var(--primary);
}

.feature-icon-green {
  background: rgba(45, 125, 50, 0.1);
  color: var(--success);
}

.feature-icon-orange {
  background: rgba(232, 115, 74, 0.1);
  color: var(--warning);
}

.feature-icon-teal {
  background: rgba(78, 205, 196, 0.15);
  color: #2A9D8F;
}

.feature-card h3 {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.feature-card p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.65;
}

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

  .feature-card {
    aspect-ratio: auto;
  }
}

/* --- Screenshot Showcase / Gallery --- */
.showcase {
  text-align: center;
}

.showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  text-align: left;
}

.showcase-text h2 {
  font-size: 36px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 14px;
  letter-spacing: -0.03em;
}

.showcase-text p {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 420px;
}

.showcase-gallery {
  display: flex;
  justify-content: center;
}

.gallery-track {
  overflow: hidden;
  width: 300px;
}

.gallery-slide {
  display: none;
}

.gallery-slide.active {
  display: block;
  animation: galleryFadeIn 0.35s ease;
}

@keyframes galleryFadeIn {
  from { opacity: 0; transform: translateX(12px); }
  to { opacity: 1; transform: translateX(0); }
}

.gallery-slide img {
  max-width: 300px;
  border-radius: 28px;
  border: 1px solid var(--divider);
  box-shadow:
    0 24px 56px rgba(15, 37, 55, 0.1),
    0 6px 16px rgba(15, 37, 55, 0.05);
}

.gallery-caption {
  margin-top: 14px;
  font-size: 14px;
  color: var(--text-secondary);
  text-align: center;
}

.gallery-nav {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 32px;
}

.gallery-arrow {
  background: var(--surface);
  border: 1px solid var(--divider);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s, box-shadow 0.2s;
}

.gallery-arrow:hover {
  background: var(--background);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.gallery-arrow svg {
  width: 20px;
  height: 20px;
  color: var(--text-secondary);
}

.gallery-dots {
  display: flex;
  gap: 10px;
}

.gallery-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: var(--divider);
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, transform 0.2s;
}

.gallery-dot.active {
  background: var(--primary);
  transform: scale(1.2);
}

@media (max-width: 900px) {
  .showcase-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .showcase-text p {
    max-width: 100%;
    margin: 0 auto;
  }

  .showcase-gallery {
    order: -1;
  }

  .gallery-nav {
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .gallery-track {
    width: 260px;
  }

  .gallery-slide img {
    max-width: 260px;
  }

  .gallery-arrow {
    width: 36px;
    height: 36px;
  }

  .gallery-arrow svg {
    width: 16px;
    height: 16px;
  }
}

/* --- Pricing --- */
.pricing-includes {
  list-style: none;
  max-width: 480px;
  margin: 0 auto 40px;
  display: grid;
  gap: 10px;
}

.pricing-includes li {
  font-size: 15px;
  color: var(--text-secondary);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.pricing-includes li::before {
  content: "\2713";
  color: var(--success);
  font-weight: 700;
  flex-shrink: 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  max-width: 760px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--surface);
  border-radius: 20px;
  padding: 40px 36px;
  border: 2px solid var(--divider);
  text-align: center;
  position: relative;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.pricing-card:hover {
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.06);
  transform: translateY(-3px);
}

.pricing-card.featured {
  border-color: var(--accent);
  background: linear-gradient(180deg, rgba(78, 205, 196, 0.04) 0%, var(--surface) 60%);
  box-shadow: 0 12px 44px rgba(78, 205, 196, 0.12);
}

.pricing-card.featured:hover {
  box-shadow: 0 16px 52px rgba(78, 205, 196, 0.18);
  transform: translateY(-4px);
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--navy);
  font-size: 12px;
  font-weight: 700;
  padding: 5px 18px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.pricing-name {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}

.pricing-price {
  font-size: 44px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 4px;
  letter-spacing: -0.03em;
}

.pricing-period {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.pricing-trial {
  display: inline-block;
  background: rgba(45, 125, 50, 0.07);
  color: var(--success);
  font-size: 13px;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 28px;
}

.pricing-fine-print {
  max-width: 640px;
  margin: 36px auto 0;
  font-size: 12px;
  color: var(--text-secondary);
  text-align: center;
  line-height: 1.7;
}

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

/* --- Disclaimer Banner --- */
.disclaimer-banner {
  background: rgba(198, 40, 40, 0.04);
  border-top: 3px solid var(--error);
  padding: 44px 0;
}

.disclaimer-banner .container {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.disclaimer-banner-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  color: var(--error);
}

.disclaimer-banner h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--error);
  margin-bottom: 8px;
}

.disclaimer-banner p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.disclaimer-banner a {
  color: var(--error);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* --- Footer --- */
.footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.65);
  padding: 64px 0 36px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.footer-brand img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

.footer-brand span {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
}

.footer-desc {
  font-size: 14px;
  line-height: 1.7;
  max-width: 280px;
}

.footer h4 {
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 11px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 28px;
  text-align: center;
  font-size: 13px;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   Below: Shared styles for legal, support,
   FAQ, and disclaimer pages (do not modify
   without checking all pages)
   ============================================ */

/* --- Legal Page Layout --- */
.legal-page {
  padding: 48px 0 72px;
}

.legal-content {
  max-width: 720px;
  margin: 0 auto;
}

.legal-content h1 {
  font-size: 32px;
  margin-bottom: 8px;
}

.legal-meta {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--divider);
}

.legal-content h2 {
  font-size: 22px;
  font-weight: 600;
  margin-top: 40px;
  margin-bottom: 12px;
  color: var(--primary);
}

.legal-content h3 {
  font-size: 17px;
  font-weight: 600;
  margin-top: 24px;
  margin-bottom: 8px;
}

.legal-content p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.legal-content ul, .legal-content ol {
  margin-bottom: 16px;
  padding-left: 24px;
}

.legal-content li {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.legal-content strong {
  color: var(--text);
}

/* Callout boxes */
.callout {
  padding: 20px 24px;
  border-radius: var(--radius-sm);
  margin: 24px 0;
  border-left: 4px solid;
}

.callout-warning {
  background: rgba(198, 40, 40, 0.04);
  border-color: var(--error);
}

.callout-warning strong {
  color: var(--error);
}

.callout-info {
  background: rgba(44, 95, 124, 0.04);
  border-color: var(--primary);
}

.callout-success {
  background: rgba(45, 125, 50, 0.04);
  border-color: var(--success);
}

.callout p {
  margin-bottom: 0;
}

.callout p + p {
  margin-top: 8px;
}

/* Emergency banner */
.emergency-banner {
  background: var(--error);
  color: #fff;
  padding: 16px 24px;
  border-radius: var(--radius-sm);
  margin: 24px 0;
  text-align: center;
}

.emergency-banner p {
  color: #fff;
  font-weight: 600;
  margin: 0;
  font-size: 16px;
}

/* --- Support / FAQ --- */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--divider);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  overflow: hidden;
  background: var(--surface);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  text-align: left;
  gap: 16px;
  transition: background 0.2s;
}

.faq-question:hover {
  background: rgba(44, 95, 124, 0.03);
}

.faq-chevron {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--text-secondary);
  transition: transform 0.2s;
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
  padding: 0 24px 18px;
}

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

.faq-answer p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

/* Support contact */
.support-contact {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  padding: 40px;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--divider);
}

.support-contact h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.support-contact p {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.support-contact a {
  font-size: 18px;
  font-weight: 600;
}

/* Requirements list */
.requirements-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 720px;
  margin: 0 auto;
}

.requirement-item {
  background: var(--surface);
  border: 1px solid var(--divider);
  border-radius: var(--radius-sm);
  padding: 20px;
  text-align: center;
}

.requirement-item strong {
  display: block;
  font-size: 15px;
  margin-bottom: 4px;
}

.requirement-item span {
  font-size: 14px;
  color: var(--text-secondary);
}

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

/* --- Page-specific: Disclaimer --- */
.disclaimer-hero {
  background: rgba(198, 40, 40, 0.04);
  border-bottom: 3px solid var(--error);
  padding: 40px 0;
  text-align: center;
}

.disclaimer-hero h1 {
  color: var(--error);
  font-size: 28px;
  margin-bottom: 12px;
}

.disclaimer-hero p {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
}
