* {
    box-sizing: border-box;
  }
  
  body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f3f6fb;
    color: #111827;
    transition: background 0.25s ease, color 0.25s ease;
  }
  
  .container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 28px 20px 60px;
  }
  
  .site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
  }
  
  .logo {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.02em;
  }
  
  .top-controls {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
  }
  
  .control-btn {
    border: 1px solid #d1d5db;
    border-radius: 999px;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    background: #ffffff;
    color: #111827;
  }
  
  .hero {
    padding: 44px;
    border-radius: 28px;
    background: linear-gradient(135deg, #0f172a, #1d4ed8);
    color: white;
    margin-bottom: 32px;
  }
  
  .badge {
    display: inline-block;
    margin: 0 0 12px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    font-size: 13px;
    font-weight: 700;
  }
  
  .hero h1 {
    margin: 0 0 12px;
    font-size: 44px;
    line-height: 1.15;
  }
  
  .hero-subtitle {
    margin: 0;
    max-width: 720px;
    line-height: 1.6;
    color: #dbeafe;
  }
  
  .section {
    margin-top: 32px;
  }
  
  .section-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
  }
  
  .section-head h2 {
    margin: 0;
    font-size: 28px;
  }
  
  .grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
  }
  
  .card {
    background: white;
    border-radius: 22px;
    padding: 22px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
  }
  
  .card h3 {
    margin: 0 0 8px;
    font-size: 22px;
  }
  
  .ticker {
    display: inline-block;
    margin-bottom: 12px;
    color: #2563eb;
    font-weight: 700;
  }
  
  .card p {
    margin: 0;
    line-height: 1.6;
    color: #4b5563;
  }
  
  .card-btn {
    margin-top: 16px;
    border: none;
    border-radius: 12px;
    padding: 12px 16px;
    background: #2563eb;
    color: white;
    font-weight: 700;
    cursor: pointer;
    width: 100%;
  }
  
  .report-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
  }
  
  .report-tag {
    display: inline-block;
    margin-bottom: 10px;
    font-size: 12px;
    font-weight: 700;
    color: #2563eb;
    background: #e8f0ff;
    padding: 6px 10px;
    border-radius: 999px;
  }
  
  .report-card h3 {
    margin: 0 0 10px;
    font-size: 20px;
  }
  
  .report-card p {
    margin: 0;
    color: #4b5563;
    line-height: 1.6;
  }
  
  .lab-section .lab-box {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 18px;
  }
  
  .lab-box input {
    flex: 1;
    min-width: 220px;
    padding: 14px 16px;
    border: 1px solid #d1d5db;
    border-radius: 14px;
    font-size: 16px;
  }
  
  .lab-box button {
    border: none;
    border-radius: 14px;
    padding: 14px 20px;
    background: #111827;
    color: white;
    font-weight: 700;
    cursor: pointer;
  }
  
  .analysis-card {
    background: white;
    border-radius: 22px;
    padding: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
  }
  
  .analysis-card h3 {
    margin: 0 0 8px;
    font-size: 24px;
  }
  
  .analysis-card .meta {
    color: #2563eb;
    font-weight: 700;
    margin-bottom: 16px;
  }
  
  .analysis-card .label {
    margin-top: 16px;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 700;
    color: #6b7280;
    text-transform: uppercase;
  }
  
  .analysis-card p {
    margin: 0;
    line-height: 1.7;
  }
  
  .muted {
    color: #6b7280;
  }
  
  .contact-section {
    max-width: 760px;
  }
  
  .contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: white;
    border-radius: 22px;
    padding: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
  }
  
  .contact-form input,
  .contact-form textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #d1d5db;
    border-radius: 14px;
    font-size: 16px;
    font-family: inherit;
  }
  
  .contact-form textarea {
    resize: vertical;
    min-height: 140px;
  }
  
  .contact-form button {
    border: none;
    border-radius: 14px;
    padding: 14px 16px;
    background: #2563eb;
    color: white;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
  }
  
  .footer {
    text-align: center;
    margin-top: 40px;
    color: #6b7280;
    font-size: 14px;
  }
  
  /* dark mode */
  body.dark-mode {
    background: #0b1220;
    color: #f8fafc;
  }
  
  body.dark-mode .control-btn,
  body.dark-mode .lab-box button {
    background: #111827;
    color: #f8fafc;
    border: 1px solid #374151;
  }
  
  body.dark-mode .card,
  body.dark-mode .report-card,
  body.dark-mode .analysis-card,
  body.dark-mode .contact-form {
    background: #111827;
    color: #f8fafc;
  }
  
  body.dark-mode .card p,
  body.dark-mode .report-card p,
  body.dark-mode .muted {
    color: #cbd5e1;
  }
  
  body.dark-mode .report-tag {
    background: #1e3a8a;
    color: #dbeafe;
  }
  
  body.dark-mode .analysis-card .label,
  body.dark-mode .footer {
    color: #cbd5e1;
  }
  
  body.dark-mode .contact-form input,
  body.dark-mode .contact-form textarea,
  body.dark-mode .lab-box input {
    background: #0b1220;
    color: #f8fafc;
    border: 1px solid #374151;
  }
  
  body.dark-mode .card-btn,
  body.dark-mode .contact-form button {
    background: #60a5fa;
    color: #0b1220;
  }
  
  @media (max-width: 768px) {
    .hero {
      padding: 30px 22px;
    }
  
    .hero h1 {
      font-size: 34px;
    }
  
    .section-head h2 {
      font-size: 24px;
    }
  
    .site-header {
      flex-direction: column;
      align-items: flex-start;
    }
  
    .top-controls {
      width: 100%;
    }
  }
  
  @media (max-width: 480px) {
    .control-btn {
      width: 100%;
    }
  
    .hero h1 {
      font-size: 28px;
    }
  }