/*
 * main.css — component styles ported from axon-engine/ui/templates/landing.html
 * onto the tokens in tokens.css. Load order: fonts.css, tokens.css, main.css.
 *
 * Ported 1:1 (selectors + rules kept close to the source so the site stays a
 * faithful mirror of the in-product landing page):
 *   grain overlay, hero glows, fadeUp/pulse/float animations, nav, hero,
 *   phone mockup, trust bar, feature cards, analytics showcase, section
 *   headers, pricing, Hindi section, final CTA, community grid, footer.
 *
 * Intentionally NOT ported: the .ea-* early-access inline form and its
 * beta-cta-grid/QR layout. That form posts to /api/beta-request with a
 * CSRF dance — a form backed by a DB write is Go's job, not Hugo's (see
 * README "layer rule"). This site's CTAs are plain links to /signup.
 *
 * Added (not in landing.html, needed for the extra page types this site
 * serves): .prose for legal/help pages, .hub-* for the exam hub, .data-table
 * for syllabus/cutoff/dates, .cta-box for the reusable cta-signup partial,
 * .lang-toggle for the EN/HI nav switch.
 */

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

html { background: var(--bg); }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-latin);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

:lang(hi), .lang-hi, .hindi-text {
  font-family: var(--font-devanagari);
}

a { color: inherit; }

/* ===== GRAIN OVERLAY ===== */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: 9999;
  pointer-events: none;
  opacity: var(--grain-opacity);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px;
}

/* ===== GLOW EFFECTS ===== */
.hero-glow {
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: var(--glow-opacity-1);
  pointer-events: none;
}
.glow-blue { background: var(--blue); top: -200px; left: -100px; }
.glow-purple { background: var(--purple); top: 100px; right: -200px; opacity: var(--glow-opacity-2); }
.glow-green { background: var(--green); bottom: -100px; left: 30%; opacity: var(--glow-opacity-3); }

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes pulse-ring {
  0% { transform: scale(0.9); opacity: 0.6; }
  100% { transform: scale(1.4); opacity: 0; }
}

.animate { opacity: 0; animation: fadeUp 0.7s ease forwards; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }
.delay-6 { animation-delay: 0.6s; }

/* JS (see foot.html) flips animation-play-state on scroll-into-view; until
   JS runs, or if it's disabled, the rule below keeps content visible. */
.no-js .animate { opacity: 1; animation: none; }

/* ===== LAYOUT ===== */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

section {
  padding: var(--section-padding-y) 0;
  position: relative;
}

/* ===== NAV ===== */
nav.site-nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 16px 0;
  background: var(--nav-backdrop);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--nav-border);
}
nav.site-nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--fs-xl);
  font-weight: var(--fw-extrabold);
  letter-spacing: -0.5px;
  color: var(--text);
  text-decoration: none;
  /* This site's nav carries more items than the landing.html it was ported
     from (BSSC CGL, Help, lang toggle). Without flex-shrink:0 + a margin,
     the brand block competes for space with .nav-links under
     justify-content:space-between and, once both are squeezed to fit, the
     "space" in space-between collapses to zero — wordmark ends up touching
     the first nav link. Pin the brand to its natural size and give it a
     hard-floor gap instead. */
  flex-shrink: 0;
  margin-right: 40px;
}
.logo img { border-radius: 7px; flex-shrink: 0; }
.logo .logo-word span { color: var(--blue); }

.nav-links {
  display: flex; gap: 32px; align-items: center;
  list-style: none;
}
.nav-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  transition: color var(--transition-fast);
  /* Multi-word items ("BSSC CGL") must not wrap to two lines when the flex
     row is tight — force each link to shrink the row instead of itself. */
  white-space: nowrap;
}
.nav-links a:hover { color: var(--text); }
.nav-cta {
  background: var(--blue) !important;
  color: white !important;
  padding: 8px 20px;
  border-radius: var(--radius-md);
  font-weight: var(--fw-semibold) !important;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  white-space: nowrap;
}
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(59, 130, 246, 0.3);
}
.lang-toggle {
  display: flex; align-items: center; gap: 4px;
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
}
.lang-toggle a, .lang-toggle span {
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  text-decoration: none;
}
.lang-toggle a:hover { color: var(--text); background: var(--card); }
.lang-toggle .is-active { color: var(--text); background: var(--card); border: 1px solid var(--border); }

@media (max-width: 768px) {
  .nav-links { display: none; }
}

/* ===== HERO ===== */
.hero {
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 6px 16px 6px 8px;
  font-size: var(--fs-sm);
  color: var(--text-dim);
  margin-bottom: var(--space-5);
}
.hero-badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green);
  position: relative;
}
.hero-badge-dot::after {
  content: '';
  position: absolute; inset: -3px;
  border-radius: 50%;
  border: 1px solid var(--green);
  animation: pulse-ring 2s ease infinite;
}
.hero h1 {
  font-size: var(--fs-7xl);
  font-weight: var(--fw-black);
  line-height: var(--lh-tight);
  letter-spacing: -1.5px;
  margin-bottom: var(--space-5);
}
.hero h1 .accent {
  background: linear-gradient(135deg, var(--blue), var(--teal));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: var(--fs-lg);
  color: var(--text-dim);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--space-6);
  max-width: 480px;
}
.hero-sub strong { color: var(--text); font-weight: var(--fw-semibold); }
.hero-sub.hero-sub-muted { font-size: var(--fs-md); color: var(--text-muted); margin-top: -8px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }

.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--blue);
  color: white;
  padding: 14px 28px;
  border-radius: var(--radius-lg);
  font-size: var(--fs-base);
  font-weight: var(--fw-semibold);
  text-decoration: none;
  transition: all var(--transition-fast);
  border: none; cursor: pointer;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(59, 130, 246, 0.3);
}
.btn-secondary {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--card);
  color: var(--text);
  padding: 14px 28px;
  border-radius: var(--radius-lg);
  font-size: var(--fs-base);
  font-weight: var(--fw-semibold);
  text-decoration: none;
  border: 1px solid var(--border);
  transition: all var(--transition-fast);
}
.btn-secondary:hover {
  background: var(--border);
  transform: translateY(-2px);
}

/* Phone mockup */
.phone-wrapper { display: flex; justify-content: center; position: relative; }
.phone {
  width: 280px;
  background: var(--surface);
  border-radius: var(--radius-4xl);
  padding: 12px;
  box-shadow:
    0 0 0 1px var(--phone-ring),
    0 20px 80px var(--shadow-color-strong),
    0 0 120px var(--phone-accent-glow);
  animation: float 6s ease infinite;
}
.phone-screen { background: var(--bg); border-radius: var(--radius-3xl); overflow: hidden; padding: 16px; }
.phone-status { display: flex; justify-content: space-between; font-size: var(--fs-xs); color: var(--text-muted); margin-bottom: 16px; padding: 0 4px; }
.phone-exam { color: var(--text-muted); font-size: var(--fs-xs); margin-bottom: 4px; }
.phone-greeting { color: var(--text); font-size: var(--fs-md); font-weight: var(--fw-bold); margin-bottom: 16px; }
.phone-score-card {
  background: linear-gradient(135deg, var(--card), var(--blue-dim));
  border-radius: var(--radius-md);
  padding: 14px;
  border: 1px solid var(--border);
  margin-bottom: 12px;
}
.phone-score-row { display: flex; justify-content: space-between; align-items: center; }
.phone-score-label { color: var(--text-muted); font-size: var(--fs-2xs); text-transform: uppercase; letter-spacing: 0.5px; }
.phone-score-number { color: var(--text); font-size: var(--fs-3xl); font-weight: var(--fw-extrabold); }
.phone-score-total { color: var(--text-muted); font-size: var(--fs-sm); }
.phone-cutoff-label { color: var(--text-muted); font-size: var(--fs-2xs); text-align: right; }
.phone-cutoff-number { color: var(--green-on-dim); font-size: 17px; font-weight: var(--fw-bold); text-align: right; }
.phone-cutoff-badge {
  display: inline-block; background: var(--green-dim); color: var(--green-on-dim);
  font-size: var(--fs-2xs); font-weight: var(--fw-semibold); padding: 2px 6px;
  border-radius: var(--radius-xs); margin-top: 3px;
}
.phone-bar { height: 6px; background: var(--phone-track); border-radius: 3px; margin-top: 10px; overflow: hidden; position: relative; }
.phone-bar-fill { height: 100%; width: 56%; background: linear-gradient(90deg, var(--blue), var(--green)); border-radius: 3px; }
.phone-bar-marker { position: absolute; top: -2px; left: 47.5%; width: 2px; height: 10px; background: var(--yellow); border-radius: 1px; }
.phone-task { display: flex; align-items: center; gap: 10px; background: var(--card); border-radius: var(--radius-md); padding: 10px; border: 1px solid var(--border); margin-bottom: 6px; }
.phone-task-icon { width: 28px; height: 28px; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; font-size: var(--fs-sm); flex-shrink: 0; }
.phone-task-title { color: var(--text); font-size: var(--fs-xs); font-weight: var(--fw-medium); }
.phone-task-sub { color: var(--text-muted); font-size: var(--fs-2xs); }
.phone-task-tag { font-size: 8px; padding: 2px 6px; border-radius: 3px; font-weight: var(--fw-semibold); margin-left: auto; flex-shrink: 0; }

/* ===== TRUST BAR ===== */
.trust-bar { padding: 40px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--surface); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; text-align: center; }
.trust-number { font-size: var(--fs-5xl); font-weight: var(--fw-extrabold); letter-spacing: -1px; }
.trust-label { color: var(--text-dim); font-size: var(--fs-sm); margin-top: 4px; }

/* ===== FEATURES / HOW IT WORKS ===== */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.feature-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-xl);
  padding: 28px 24px; transition: all var(--transition-slow); position: relative; overflow: hidden;
}
.feature-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--border); transition: background var(--transition-slow);
}
.feature-card:hover::before { background: linear-gradient(90deg, var(--blue), var(--teal)); }
.feature-card:hover { border-color: rgba(59,130,246,0.2); transform: translateY(-4px); box-shadow: 0 12px 40px var(--shadow-color); }
.feature-icon { width: 44px; height: 44px; border-radius: var(--radius-lg); display: flex; align-items: center; justify-content: center; font-size: var(--fs-xl); margin-bottom: 16px; }
.feature-card h3 { font-size: var(--fs-md); font-weight: var(--fw-bold); margin-bottom: 8px; color: var(--text); }
.feature-card p { color: var(--text-dim); font-size: var(--fs-sm); line-height: var(--lh-relaxed); }

/* ===== ANALYTICS SHOWCASE ===== */
.analytics-section { background: var(--surface); }
.analytics-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; margin-top: 40px; }
.analytics-preview { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-2xl); padding: 24px; box-shadow: 0 8px 40px var(--shadow-color); }
.analytics-header { color: var(--text); font-size: var(--fs-base); font-weight: var(--fw-bold); margin-bottom: 16px; }
.marks-row { display: flex; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--border); }
.marks-row:last-child { border-bottom: none; }
.marks-topic { flex: 1; font-size: var(--fs-sm); color: var(--text); font-weight: var(--fw-medium); }
.marks-topic-sub { font-size: 10px; color: var(--text-muted); font-weight: var(--fw-normal); }
.marks-accuracy { font-size: var(--fs-sm); font-weight: var(--fw-semibold); margin-right: 16px; }
.marks-lost { background: var(--red-dim); color: var(--red-on-dim); font-size: var(--fs-xs); font-weight: var(--fw-semibold); padding: 3px 8px; border-radius: var(--radius-xs); min-width: 40px; text-align: center; }
.marks-callout { background: var(--red-dim); border-radius: var(--radius-md); padding: 10px 12px; margin-top: 14px; border: 1px solid rgba(239,68,68,0.2); }
.marks-callout-title { color: var(--red-on-dim); font-size: var(--fs-xs); font-weight: var(--fw-semibold); }
.marks-callout-sub { color: var(--red-callout-sub); font-size: 11px; margin-top: 2px; }
.analytics-text h2 { font-size: var(--fs-4xl); font-weight: var(--fw-extrabold); letter-spacing: -0.5px; margin-bottom: 16px; line-height: var(--lh-snug); }
.analytics-text p { color: var(--text-dim); font-size: var(--fs-base); line-height: var(--lh-loose); margin-bottom: 12px; }
.analytics-text strong { color: var(--text); }

/* ===== SECTION HEADERS ===== */
.section-label { color: var(--blue-on-dim); font-size: var(--fs-sm); font-weight: var(--fw-semibold); text-transform: uppercase; letter-spacing: 2px; margin-bottom: 12px; }
.section-title { font-size: var(--fs-5xl); font-weight: var(--fw-extrabold); letter-spacing: -1px; line-height: var(--lh-snug); margin-bottom: 16px; }
.section-sub { color: var(--text-dim); font-size: var(--fs-md); line-height: var(--lh-relaxed); max-width: 600px; }

/* ===== PRICING ===== */
.beta-banner {
  max-width: 700px; margin: 24px auto 0; padding: 14px 22px;
  background: linear-gradient(135deg, var(--green-dim), rgba(16, 185, 129, 0.18));
  border: 1px solid rgba(16, 185, 129, 0.35); border-radius: var(--radius-xl);
  text-align: center; color: var(--text);
}
.beta-banner-title { font-size: var(--fs-base); font-weight: var(--fw-bold); color: var(--green-on-dim); text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 6px; }
.beta-banner-body { color: var(--text-dim); font-size: var(--fs-base); line-height: var(--lh-normal); }
.beta-banner-body strong { color: var(--text); }
.pricing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 700px; margin: 24px auto 0; }
.price-strike { text-decoration: line-through; text-decoration-thickness: 3px; text-decoration-color: rgba(239, 68, 68, 0.55); color: var(--text-muted) !important; opacity: 0.65; }
.price-now { display: block; font-size: var(--fs-2xl); font-weight: var(--fw-extrabold); color: var(--green-on-dim); letter-spacing: -0.5px; margin-top: 4px; }
.pricing-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-2xl); padding: 32px 28px; text-align: center; position: relative; transition: all var(--transition-slow); }
.pricing-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px var(--shadow-color); }
.pricing-card.featured { background: linear-gradient(135deg, var(--yellow-dim), var(--pricing-featured-end)); border-color: rgba(245, 158, 11, 0.3); }
.pricing-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--yellow), var(--orange)); color: #000;
  font-size: 10px; font-weight: var(--fw-bold); padding: 4px 14px; border-radius: var(--radius-full); letter-spacing: 0.5px;
}
.pricing-duration { color: var(--text-muted); font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; }
.pricing-card.featured .pricing-duration { color: var(--yellow-on-dim); }
.pricing-amount { font-size: var(--fs-3xl); font-weight: var(--fw-black); letter-spacing: -2px; margin-bottom: 4px; }
.pricing-per { color: var(--text-muted); font-size: var(--fs-sm); margin-bottom: 20px; }
.pricing-features { text-align: left; margin-bottom: 24px; }
.pricing-features li { list-style: none; color: var(--text-dim); font-size: var(--fs-sm); padding: 6px 0; display: flex; align-items: center; gap: 8px; }
.pricing-features li::before { content: '✓'; color: var(--green-on-dim); font-size: var(--fs-xs); font-weight: var(--fw-bold); }
.pricing-btn { display: block; width: 100%; padding: 12px; border-radius: var(--radius-lg); font-size: var(--fs-base); font-weight: var(--fw-bold); text-align: center; text-decoration: none; border: none; cursor: pointer; transition: all var(--transition-fast); }
.pricing-btn-primary { background: linear-gradient(135deg, var(--yellow), var(--orange)); color: #000; }
.pricing-btn-secondary { background: var(--blue); color: white; }
.pricing-btn:hover { transform: translateY(-1px); }
.free-note { text-align: center; color: var(--text-muted); font-size: var(--fs-sm); margin-top: 20px; line-height: var(--lh-normal); }

/* ===== HINDI SECTION ===== */
.hindi-section { background: var(--surface); text-align: center; }
.hindi-text { font-family: var(--font-devanagari); font-size: var(--fs-xl); color: var(--text-dim); line-height: 1.8; max-width: 600px; margin: 0 auto; }
.hindi-text strong { color: var(--text); font-weight: var(--fw-semibold); }

/* ===== FINAL CTA ===== */
.final-cta { text-align: center; padding: var(--space-10) 0; }
.final-cta h2 { font-size: var(--fs-6xl); font-weight: var(--fw-black); letter-spacing: -1.5px; margin-bottom: 16px; line-height: var(--lh-tight); }
.final-cta p { color: var(--text-dim); font-size: var(--fs-md); margin-bottom: 32px; }
.final-cta-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ===== COMMUNITY ===== */
.community { padding: 48px 0 24px; }
.community-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; max-width: 920px; margin: 24px auto 0; }
.community-card { display: flex; align-items: center; gap: 14px; padding: 18px 20px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-xl); text-decoration: none; color: var(--text); transition: transform var(--transition-fast), border-color var(--transition-fast); }
.community-card:hover { transform: translateY(-2px); border-color: var(--blue); }
.community-icon { width: 40px; height: 40px; border-radius: var(--radius-lg); display: flex; align-items: center; justify-content: center; font-size: var(--fs-xl); flex-shrink: 0; }
.community-card-title { font-weight: var(--fw-semibold); font-size: var(--fs-md); color: var(--text); }
.community-card-sub { font-size: var(--fs-xs); color: var(--text-dim); margin-top: 2px; }

/* ===== FOOTER ===== */
footer.site-footer { border-top: 1px solid var(--border); padding: 40px 0; text-align: center; color: var(--text-muted); font-size: var(--fs-sm); }
footer.site-footer a { color: var(--text-dim); text-decoration: none; margin: 0 12px; }
footer.site-footer a:hover { color: var(--text); }
.footer-links { margin-bottom: 16px; }
.footer-tagline { font-size: var(--fs-xs); color: var(--text-muted); margin-top: 8px; }

/* =======================================================================
 * The sections below are NOT in landing.html. They style the additional
 * page types this Hugo site owns that the single-page product landing
 * doesn't have: legal/help prose pages, the exam hub + its data-driven
 * children, and the reusable cta-signup partial. Built from the same
 * tokens so they read as the same product.
 * ===================================================================== */

/* ===== PROSE (legal pages, help articles) ===== */
.prose { padding: 140px 0 96px; }
.prose .container { max-width: 760px; }
.prose .back-link { color: var(--text-dim); text-decoration: none; font-size: var(--fs-sm); letter-spacing: 0.02em; text-transform: uppercase; }
.prose .back-link:hover { color: var(--text); }
.prose h1 { font-size: var(--fs-4xl); font-weight: var(--fw-bold); margin: 16px 0 8px; letter-spacing: -0.02em; }
.prose .updated { color: var(--text-muted); font-size: var(--fs-base); margin-bottom: 32px; }
.prose h2 { font-size: var(--fs-2xl); font-weight: var(--fw-semibold); margin: 36px 0 12px; color: var(--text); letter-spacing: -0.01em; }
.prose h3 { font-size: 17px; font-weight: var(--fw-semibold); margin: 24px 0 8px; color: var(--text); }
.prose p { color: var(--text-dim); margin-bottom: 14px; font-size: var(--fs-base); line-height: var(--lh-relaxed); }
.prose ul, .prose ol { margin: 0 0 16px 20px; color: var(--text-dim); font-size: var(--fs-base); line-height: var(--lh-relaxed); }
.prose li { margin-bottom: 6px; }
.prose a { color: var(--blue-on-dim); }
.prose strong { color: var(--text); font-weight: var(--fw-semibold); }
.prose code { background: var(--card); padding: 2px 6px; border-radius: var(--radius-xs); font-size: var(--fs-sm); color: var(--text); }
.prose hr { border: none; border-top: 1px solid var(--border); margin: 32px 0; }
.prose table { width: 100%; margin: 16px 0; border-collapse: collapse; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; font-size: var(--fs-sm); }
.prose th, .prose td { padding: 10px 14px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; }
.prose th { color: var(--text); background: var(--surface); font-weight: var(--fw-semibold); }
.prose td { color: var(--text-dim); }
.prose tr:last-child td { border-bottom: none; }

/* Unscoped (not .prose-only) so the exam hub — which is not a .prose page —
   can reuse the same callout box for its "current cycle status" banner. */
.callout { background: var(--card); border: 1px solid var(--border); border-left: 3px solid var(--blue); padding: 16px 20px; border-radius: var(--radius-sm); margin: 16px 0; color: var(--text-dim); font-size: var(--fs-base); }
.callout p { color: var(--text-dim); margin-bottom: 8px; }
.callout p:last-child { margin-bottom: 0; }
.callout strong { color: var(--text); font-weight: var(--fw-semibold); }

.content-todo {
  display: block; margin: 16px 0; padding: 10px 14px;
  background: var(--yellow-dim); border: 1px dashed var(--yellow-on-dim);
  border-radius: var(--radius-sm); color: var(--yellow-on-dim); font-size: var(--fs-sm); font-weight: var(--fw-semibold);
}

/* ===== DATA TABLES (syllabus / cutoff / dates) ===== */
.data-table { width: 100%; margin: 16px 0 28px; border-collapse: collapse; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; font-size: var(--fs-sm); }
.data-table th, .data-table td { padding: 10px 14px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; }
.data-table th { color: var(--text); background: var(--surface); font-weight: var(--fw-semibold); }
.data-table td { color: var(--text-dim); }
.data-table tr:last-child td { border-bottom: none; }
.status-pill { display: inline-block; padding: 2px 10px; border-radius: var(--radius-full); font-size: var(--fs-xs); font-weight: var(--fw-semibold); }
.status-completed { background: var(--green-dim); color: var(--green-on-dim); }
.status-upcoming { background: var(--blue-dim); color: var(--blue-on-dim); }
.status-live { background: var(--yellow-dim); color: var(--yellow-on-dim); }
.verify-flag { color: var(--yellow-on-dim); font-size: var(--fs-xs); font-weight: var(--fw-semibold); }

/* ===== EXAM HUB ===== */
.hub-hero { padding: 140px 0 40px; }
.hub-hero p { color: var(--text-dim); font-size: var(--fs-md); line-height: var(--lh-relaxed); max-width: 700px; margin: 0 0 12px; }
.hub-meta { color: var(--text-dim); font-size: var(--fs-base); margin: 8px 0 24px; }
.hub-cycle-badge {
  display: inline-flex; align-items: center; gap: 8px; background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius-full); padding: 6px 16px; font-size: var(--fs-sm); color: var(--text-dim); margin-bottom: 16px;
}
.hub-children { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 32px; }
.hub-child-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-xl);
  padding: 24px; text-decoration: none; color: var(--text); transition: all var(--transition-slow); display: block;
}
.hub-child-card:hover { border-color: rgba(59,130,246,0.3); transform: translateY(-4px); box-shadow: 0 12px 40px var(--shadow-color); }
.hub-child-card h3 { font-size: var(--fs-md); font-weight: var(--fw-bold); margin-bottom: 6px; }
.hub-child-card p { color: var(--text-dim); font-size: var(--fs-sm); line-height: var(--lh-relaxed); }
.hub-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 24px 0 8px; }
.hub-stat { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 16px; text-align: center; }
.hub-stat-num { font-size: var(--fs-3xl); font-weight: var(--fw-extrabold); color: var(--blue); }
.hub-stat-label { color: var(--text-dim); font-size: var(--fs-xs); margin-top: 4px; }

/* ===== CTA BOX (partials/cta-signup.html) ===== */
.cta-box {
  max-width: 640px; margin: 48px auto 0; padding: 28px 32px; text-align: center;
  border-radius: var(--radius-3xl); border: 1px solid var(--border);
  background: linear-gradient(135deg, var(--cta-box-grad-1) 0%, var(--cta-box-grad-2) 100%);
}
.cta-box h3 { font-size: var(--fs-2xl); font-weight: var(--fw-bold); margin-bottom: 8px; }
.cta-box p { color: var(--text-dim); font-size: var(--fs-base); margin-bottom: 20px; }

/* ===== BLOG LIST ===== */
.blog-list { padding: 140px 0 96px; }
.blog-empty { color: var(--text-dim); font-size: var(--fs-base); padding: 32px; text-align: center; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-xl); }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero h1 { font-size: var(--fs-5xl); }
  .hero-sub { margin: 0 auto var(--space-6); }
  .hero-ctas { justify-content: center; }
  .phone-wrapper { margin-top: 40px; }
  .features-grid { grid-template-columns: 1fr; }
  .analytics-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 360px; }
  .section-title { font-size: var(--fs-3xl); }
  .final-cta h2 { font-size: var(--fs-5xl); }
  .hub-children { grid-template-columns: 1fr; }
  .hub-stats { grid-template-columns: 1fr; }
}
