/* ==========================================================================
   VEER BAJAJ FOR 9TH GRADE PRESIDENT — Clean Editorial / Modern Campaign Design
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@600;700;800&family=JetBrains+Mono:wght@400;500&family=Syne:wght@700;800&display=swap');

:root {
  /* Crisp, grounded, high-contrast palette */
  --bg: #ffffff;
  --bg-subtle: #f8f9fa;
  --bg-card: #ffffff;
  --border: #e2e8f0;
  --border-dark: #cbd5e1;

  --text-main: #0f172a;
  --text-muted: #475569;
  --text-subtle: #64748b;

  --brand-navy: #0f2d59;
  --brand-red: #c2410c;
  --brand-accent: #1d4ed8;
  --brand-school: #A10919;

  --font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-title: 'Syne', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --container: 960px;
}

.dark {
    --bg: #090d16;
    --bg-subtle: #0f172a;
    --bg-card: #131c31;
    --border: #1e293b;
    --border-dark: #334155;

    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --text-subtle: #64748b;

    --brand-navy: #38bdf8;
    --brand-red: #fb923c;
    --brand-accent: #60a5fa;
    --brand-school: #ff4d61; /* A lighter pop version for dark mode */
}

/* Playful & Engaging MDX Prose Styling */
.prose {
  max-width: 780px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.7;
}

.prose h1, .prose h2, .prose h3 {
  font-family: var(--font-display);
  color: var(--text-main);
  margin-top: 1.8em;
  margin-bottom: 0.75em;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.prose h2 {
  font-size: 2rem;
  position: relative;
  display: inline-block;
}

.prose h3 {
  font-size: 1.35rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 2rem;
  padding: 0.75rem 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.prose h3:hover {
  transform: translateX(4px);
  border-color: var(--brand-school);
  box-shadow: 0 6px 20px rgba(161, 9, 25, 0.08);
}

.prose p {
  margin-bottom: 1.25em;
  color: var(--text-muted);
}

.prose ul, .prose ol {
  margin-bottom: 1.5em;
  padding-left: 0;
  list-style: none;
  display: grid;
  gap: 0.85rem;
}

.prose li {
  padding: 1.1rem 1.35rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.02);
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.2s ease, box-shadow 0.2s ease;
  position: relative;
}

.prose li:hover {
  transform: translateY(-3px) scale(1.01);
  border-color: var(--brand-school);
  box-shadow: 0 10px 25px rgba(161, 9, 25, 0.08);
}

.prose strong {
  color: var(--text-main);
  font-weight: 700;
}

.prose a {
  color: var(--brand-school);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  transition: opacity 0.2s ease;
}

.prose a:hover {
  opacity: 0.8;
}

.prose blockquote {
  border-left: 4px solid var(--brand-school);
  background: var(--bg-card);
  padding: 1.25rem 1.5rem;
  border-radius: 0 14px 14px 0;
  font-style: italic;
  margin: 2rem 0;
  color: var(--text-muted);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
}

.form-cta-card {
  margin-top: 2.5rem;
  padding: 1.75rem 2rem;
  background: var(--bg-card);
  border: 2px dashed var(--brand-school);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  box-shadow: 0 8px 24px rgba(161, 9, 25, 0.06);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease;
}

.form-cta-card:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 16px 36px rgba(161, 9, 25, 0.12);
}

.form-cta-content h4 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.35rem;
}

.form-cta-content p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin: 0;
}

.form-cta-card .btn {
  flex-shrink: 0;
  text-decoration: none;
  font-weight: 700;
}

@media (max-width: 640px) {
  .form-cta-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem;
  }
  .form-cta-card .btn {
    width: 100%;
    text-align: center;
  }
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  background-color: var(--bg);
}

body {
  font-family: var(--font-body);
  background-color: transparent;
  color: var(--text-main);
  line-height: 1.6;
  text-transform: lowercase;
  min-height: 100vh;
  position: relative;
}

main {
  position: relative;
  z-index: 1;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--text-main);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.title-pop {
  font-family: inherit;
  color: inherit;
  font-style: normal;
  font-weight: inherit;
  cursor: pointer;
  display: inline-block;
  transition: color 0.2s ease, font-style 0.2s ease;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.title-pop:hover,
.title-pop:active,
.title-pop:focus,
.title-pop.is-active {
  color: var(--brand-school);
  font-style: italic;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
  border-bottom: 1px solid var(--border);
}

.section-tag {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: var(--text-subtle);
  margin-bottom: 0.75rem;
  display: inline-block;
  font-weight: 500;
}

.section-heading {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.section-lead {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 650px;
  margin-bottom: 2.5rem;
}

/* Base button */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 6px;
  transition: all 0.15s ease;
  cursor: pointer;
}

.btn-primary {
  background-color: var(--text-main);
  color: var(--bg);
  border: 1px solid var(--text-main);
}

.btn-primary:hover {
  opacity: 0.9;
}

.btn-secondary {
  background-color: transparent;
  color: var(--text-main);
  border: 1px solid var(--border-dark);
}

.btn-secondary:hover {
  background-color: var(--bg-subtle);
}
