/*
 * Vela Platform — Shared Styles
 * Extracted from static HTML pages (index.html, assessment.html, etc.)
 * Contains: CSS variables, reset, typography, layout, buttons, nav, footer,
 *           section chrome, animations, and responsive breakpoints.
 * DO NOT include page-specific layout styles here.
 */

/* ── GOOGLE FONTS ── */
@import url('https://fonts.googleapis.com/css2?family=Instrument+Sans:wght@400;500;600;700&display=swap');

/* ── DESIGN TOKENS ── */
:root {
  /* Brand colors */
  --navy-500: #0a3f56;
  --navy-400: #3b6578;
  --navy-300: #6c8c9a;
  --navy-100: #ced9dd;
  --navy-50:  #f9fafb;
  --green-600: #00be57;
  --green-500: #26c870;
  --green-50:  #e6f8ee;
  --apple-500: #dae79c;
  --apple-300: #e7f0c0;
  --coral-500: #fbc2ae;
  --cream:     #fffaf6;
  --gray-50:   #f9fafb;
  --gray-100:  #e3e3e3;
  --gray-400:  #9e9e9e;
  --gray-600:  #747474;
  --gray-700:  #585858;
  --gray-900:  #2a2a2a;
  --black:     #111111;
  --white:     #ffffff;
  --orange:    #fe7c45;

  /* Typography scale (fluid clamp) */
  --fs-h1:   clamp(32px, 2rem + 1.429vw, 48px);
  --fs-h2:   clamp(24px, 1.5rem + 1.429vw, 40px);
  --fs-h3:   clamp(20px, 1.25rem + 1.071vw, 32px);
  --fs-body: clamp(14px, 0.875rem + 0.536vw, 20px);
  --fs-sm:   clamp(12px, 0.75rem, 12px);

  /* Spacing scale */
  --sp-xs:  12px;
  --sp-sm:  16px;
  --sp-md:  24px;
  --sp-lg:  32px;
  --sp-xl:  40px;
  --sp-2xl: 48px;
  --sp-3xl: 110px;

  /* Borders / radii */
  --radius-sm:   4px;
  --radius-md:   12px;
  --radius-pill: 9999px;

  /* Shadows */
  --shadow:    0 4px 24px rgba(10,63,86,0.10);
  --shadow-lg: 0 12px 48px rgba(10,63,86,0.16);

  /* Font stack */
  --font: 'Instrument Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--black);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: var(--font); border: none; background: none; }
h1, h2, h3, h4, h5 { line-height: 1.4; font-weight: 700; }

/* ── LAYOUT ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
@media (min-width: 768px) { .container { padding: 0 32px; } }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-family: var(--font);
  font-weight: 600;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  border: 1px solid currentColor;
  transition: background-color 0.2s, border-color 0.2s, transform 0.15s;
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary { background: var(--navy-500); color: var(--white); border-color: var(--navy-500); }
.btn-primary:hover { background: var(--navy-400); border-color: var(--navy-400); }
.btn-primary:active { background: var(--navy-500); }
.btn-ghost { background: transparent; color: var(--navy-500); border-color: var(--navy-500); }
.btn-ghost:hover { background: var(--navy-500); color: var(--white); }
.btn-green { background: var(--green-600); color: var(--white); border-color: var(--green-600); }
.btn-green:hover { background: var(--green-500); border-color: var(--green-500); }
.btn-lg { padding: 18px 36px; font-size: 17px; }
.btn-sm { padding: 10px 20px; font-size: 14px; }
.btn-full { width: 100%; }

/* ── NAV ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 16px;
}
.nav-logo { flex-shrink: 0; font-size: 20px; font-weight: 800; color: var(--navy-500); }
.nav-logo-text { font-size: 20px; font-weight: 800; color: var(--navy-500); }
/* Mobile default: nav-links + login hidden */
.nav-links {
  display: none;
  align-items: center;
  gap: 4px;
  list-style: none;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-700);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover { color: var(--navy-500); background: var(--gray-50); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-login { display: none; font-size: 14px; font-weight: 600; color: var(--navy-500); padding: 8px 16px; }

/* ── HAMBURGER ── */
.nav-hamburger {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  font-size: 22px;
  color: var(--navy-500);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  line-height: 1;
}

/* ── MOBILE MENU ── */
.nav-mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
  padding: 8px 20px 16px;
}
.nav-mobile-menu--open { display: flex; }
.nav-mobile-menu a {
  font-size: 16px;
  font-weight: 500;
  color: var(--gray-700);
  padding: 12px 0;
  border-bottom: 1px solid var(--gray-50);
  transition: color 0.2s;
  text-decoration: none;
}
.nav-mobile-menu a:last-child { border-bottom: none; }
.nav-mobile-menu a:hover { color: var(--navy-500); }
.nav-mobile-menu a.active { color: var(--navy-500); font-weight: 600; }

/* Desktop: show links, hide hamburger */
@media (min-width: 481px) { .nav-login { display: inline-block; } }
@media (min-width: 768px) {
  .nav-links { display: flex; }
  .nav-hamburger { display: none; }
  .nav-mobile-menu { display: none !important; }
}

/* ── URGENCY BAR ── */
.urgency-bar {
  background: var(--navy-500);
  color: var(--white);
  text-align: center;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
}
.urgency-bar a { color: var(--apple-500); text-decoration: underline; }

/* ── SECTION CHROME ── */
section, .vela-section { padding: 48px 0; }
@media (min-width: 768px) { section, .vela-section { padding: 72px 0; } }

.section-tag {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-600);
  margin-bottom: 12px;
  display: block;
}
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--apple-300);
  color: var(--navy-500);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 20px;
}
.section-title { font-size: var(--fs-h2); color: var(--navy-500); margin-bottom: 16px; }
.section-sub { font-size: 18px; color: var(--gray-700); line-height: 1.6; }
.text-center { text-align: center; }
.text-center .section-sub { max-width: 600px; margin: 0 auto; }

/* ── HERO ── */
.hero { background: var(--cream); overflow: hidden; }
.hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  min-height: 580px;
  align-items: stretch;
}
.hero-left {
  padding: 40px 0 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-badge-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--apple-300); color: var(--navy-500);
  font-size: 13px; font-weight: 600;
  padding: 6px 14px; border-radius: var(--radius-pill);
  margin-bottom: 24px; width: fit-content;
}
.hero h1 {
  font-size: var(--fs-h1);
  color: var(--navy-500);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}
.hero-sub {
  font-size: 18px;
  color: var(--gray-700);
  margin-bottom: 32px;
  max-width: 500px;
  line-height: 1.6;
}
.hero-cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 24px; }
.hero-footnote { font-size: 13px; color: var(--gray-600); margin-top: 12px; }
@media (min-width: 768px) {
  .hero-inner { grid-template-columns: 1fr 1fr; }
  .hero-left { padding: 60px 40px 60px 0;
}

/* ── STATS BAR ── */
.stats-bar { background: var(--navy-500); padding: 40px 0; }
.stats-inner {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 32px;
  flex-wrap: wrap;
}
.stat-item { text-align: center; color: var(--white); }
.stat-value { font-size: 28px; font-weight: 800; color: var(--apple-500); line-height: 1; margin-bottom: 6px; }
.stat-label { font-size: 13px; color: rgba(255,255,255,0.7); }
@media (min-width: 601px) { .stats-inner { gap: 32px; } .stat-value { font-size: 36px; } }

/* ── FEATURES GRID ── */
.features-grid { background: var(--white); }
.features-headline { margin-bottom: 48px; }
.features-items {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 541px) { .features-items { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 901px) { .features-items { grid-template-columns: repeat(3, 1fr); } }
.feature-card {
  background: var(--gray-50);
  border: 1.5px solid var(--gray-100);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.feature-card:hover { border-color: var(--navy-300); box-shadow: var(--shadow); }
.feature-icon { font-size: 32px; margin-bottom: 16px; }
.feature-tag {
  font-size: 11px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--green-600);
  margin-bottom: 8px; display: block;
}
.feature-title { font-size: 18px; color: var(--navy-500); margin-bottom: 10px; font-weight: 700; }
.feature-desc { font-size: 14px; color: var(--gray-700); line-height: 1.6; }

/* ── HOW IT WORKS ── */
.how-it-works { background: var(--cream); }
.hiw-steps { display: flex; flex-direction: column; gap: 28px; margin-top: 40px; }
.hiw-step { display: flex; gap: 20px; align-items: flex-start; }
.hiw-num {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--navy-500); color: var(--white);
  font-size: 16px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.hiw-step-body h3 { font-size: 18px; color: var(--navy-500); margin-bottom: 6px; }
.hiw-step-body p { font-size: 15px; color: var(--gray-700); line-height: 1.6; }

/* ── CTA BANNER ── */
.cta-banner { background: var(--navy-500); color: var(--white); text-align: center; padding: 80px 0; }
.cta-banner h2 { font-size: var(--fs-h2); margin-bottom: 16px; color: var(--white); }
.cta-banner p { font-size: 18px; color: rgba(255,255,255,0.8); margin-bottom: 36px; max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-btn-row { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn-cta-primary { background: var(--apple-500); color: var(--navy-500); border-color: var(--apple-500); font-weight: 700; }
.btn-cta-primary:hover { background: var(--apple-300); border-color: var(--apple-300); }
.btn-cta-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.5); }
.btn-cta-ghost:hover { background: rgba(255,255,255,0.1); border-color: var(--white); }

/* ── FOOTER ── */
.footer { background: #111; color: rgba(255,255,255,0.65); padding: 56px 0 32px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 40px;
}
.footer-brand-name { font-size: 18px; font-weight: 800; color: var(--white); margin-bottom: 10px; }
.footer-brand-tagline { font-size: 13px; opacity: 0.6; line-height: 1.6; }
.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.footer-col h4 {
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  font-size: 14px;
  margin-bottom: 10px;
  opacity: 0.65;
  transition: opacity 0.2s;
}
.footer-col a:hover { opacity: 1; }
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-copy { font-size: 12px; opacity: 0.45; }
.footer-powered {
  font-size: 12px; opacity: 0.35; margin-top: 6px;
}
.footer-powered a { opacity: 0.6; text-decoration: underline; }
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 220px 1fr; gap: 48px; }
  .footer-links { grid-template-columns: repeat(3, 1fr); }
}

/* ── PRICING ── */
.pricing-header { background: var(--cream); text-align: center; padding: 80px 0 60px; }
.pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}
.billing-option {
  font-size: 15px; font-weight: 600; color: var(--gray-600); cursor: pointer;
  padding: 4px 8px; border-radius: var(--radius-sm);
  transition: color 0.2s;
}
.billing-option.active { color: var(--navy-500); }
.toggle-switch {
  position: relative;
  width: 48px; height: 26px;
  background: var(--gray-100);
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background 0.2s;
}
.toggle-switch.on { background: var(--navy-500); }
.toggle-knob {
  position: absolute;
  top: 3px; left: 3px;
  width: 20px; height: 20px;
  background: var(--white);
  border-radius: 50%;
  transition: transform 0.2s;
}
.toggle-switch.on .toggle-knob { transform: translateX(22px); }
.save-badge {
  background: var(--green-50); color: var(--green-600);
  font-size: 12px; font-weight: 700;
  padding: 3px 10px; border-radius: var(--radius-pill);
}

.pricing-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
  padding: 60px 0;
  max-width: 480px;
  margin: 0 auto;
}
@media (min-width: 901px) { .pricing-cards { grid-template-columns: repeat(3, 1fr); max-width: none; margin: 0; } }
.pricing-card {
  background: var(--white);
  border: 1.5px solid var(--gray-100);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  position: relative;
  transition: box-shadow 0.2s;
}
.pricing-card:hover { box-shadow: var(--shadow); }
.pricing-card.featured {
  border-color: var(--navy-500);
  box-shadow: var(--shadow-lg);
  transform: scale(1.02);
}
.pricing-card-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--navy-500); color: var(--white);
  font-size: 12px; font-weight: 700; letter-spacing: 0.06em;
  padding: 4px 14px; border-radius: var(--radius-pill);
  white-space: nowrap;
}
.plan-name { font-size: 20px; font-weight: 700; color: var(--navy-500); margin-bottom: 8px; }
.plan-price {
  display: flex; align-items: baseline; gap: 4px;
  margin-bottom: 6px;
}
.plan-currency { font-size: 24px; font-weight: 700; color: var(--navy-500); }
.plan-amount { font-size: 48px; font-weight: 800; color: var(--navy-500); line-height: 1; }
.plan-period { font-size: 14px; color: var(--gray-600); }
.plan-desc { font-size: 14px; color: var(--gray-600); margin-bottom: 24px; line-height: 1.5; }
.plan-divider { border: none; border-top: 1px solid var(--gray-100); margin: 20px 0; }
.plan-features { list-style: none; margin-bottom: 28px; }
.plan-features li {
  font-size: 14px; color: var(--gray-700);
  padding: 6px 0;
  display: flex; align-items: flex-start; gap: 10px;
}
.plan-features .check { color: var(--green-600); flex-shrink: 0; font-weight: 700; }
.plan-features .cross { color: var(--gray-400); flex-shrink: 0; }

/* ── FAQ ── */
.faq { background: var(--white); }
.faq-list { margin-top: 40px; }
.faq-item {
  border-bottom: 1px solid var(--gray-100);
  padding: 0;
}
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  color: var(--navy-500);
  gap: 16px;
}
.faq-chevron { font-size: 18px; color: var(--gray-400); transition: transform 0.2s; flex-shrink: 0; }
.faq-item.open .faq-chevron { transform: rotate(180deg); color: var(--navy-500); }
.faq-answer {
  display: none;
  padding: 0 0 20px;
  font-size: 15px; color: var(--gray-700); line-height: 1.7;
}
.faq-item.open .faq-answer { display: block; }

/* ── COMPARISON TABLE ── */
.comparison-table { background: var(--gray-50); }
.comp-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 40px;
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.comp-table th {
  background: var(--navy-500);
  color: var(--white);
  padding: 10px 12px;
  text-align: left;
  font-size: 14px;
  font-weight: 600;
}
.comp-table th:first-child { border-radius: var(--radius-md) 0 0 0; }
.comp-table th:last-child { border-radius: 0 var(--radius-md) 0 0; }
.comp-table td {
  padding: 10px 12px;
  font-size: 13px;
  color: var(--gray-700);
  border-bottom: 1px solid var(--gray-100);
}
.comp-table tr:last-child td { border-bottom: none; }
.comp-table tr:nth-child(even) { background: var(--gray-50); }
.comp-cat-header td {
  background: var(--navy-50);
  font-weight: 700;
  color: var(--navy-500);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
@media (min-width: 641px) {
  .comp-table th { padding: 16px 20px; }
  .comp-table td { padding: 14px 20px; font-size: 14px; }
}

/* ── ASSESSMENT / QUIZ ── */
.assessment-hero { background: var(--cream); text-align: center; padding: 80px 0; }
.assessment-hero h1 { font-size: var(--fs-h1); color: var(--navy-500); margin-bottom: 16px; }
.assessment-hero p { font-size: 18px; color: var(--gray-700); max-width: 560px; margin: 0 auto 32px; }
.quiz-container { max-width: 640px; margin: 0 auto; padding: 48px 20px; }
.quiz-progress { margin-bottom: 32px; }
.quiz-progress-bar {
  height: 4px;
  background: var(--gray-100);
  border-radius: var(--radius-pill);
  overflow: hidden;
}
.quiz-progress-fill {
  height: 100%;
  background: linear-gradient(to right, var(--navy-500), var(--apple-500));
  transition: width 0.3s;
  border-radius: var(--radius-pill);
}
.quiz-step { text-align: center; }
.quiz-question { font-size: 22px; font-weight: 700; color: var(--navy-500); margin-bottom: 32px; line-height: 1.4; }
.quiz-options { display: grid; gap: 12px; }
.quiz-option {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 20px;
  border: 2px solid var(--gray-100);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  font-size: 16px; font-weight: 500; color: var(--navy-500);
}
.quiz-option:hover { border-color: var(--navy-300); background: var(--gray-50); }
.quiz-option.selected { border-color: var(--navy-500); background: var(--navy-50); }

/* ── BLOG ── */
.blog-hero { background: var(--cream); padding: 80px 0 60px; text-align: center; }
.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding: 60px 0;
}
@media (min-width: 541px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 901px) { .blog-grid { grid-template-columns: repeat(3, 1fr); } }
.blog-card {
  background: var(--white);
  border: 1.5px solid var(--gray-100);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: box-shadow 0.2s;
}
.blog-card:hover { box-shadow: var(--shadow); }
.blog-card-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  background: var(--apple-300);
  display: flex; align-items: center; justify-content: center;
  font-size: 40px;
}
.blog-card-body { padding: 20px 24px; }
.blog-tag {
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--green-600);
  margin-bottom: 10px; display: block;
}
.blog-card-title { font-size: 18px; font-weight: 700; color: var(--navy-500); margin-bottom: 10px; line-height: 1.3; }
.blog-card-excerpt { font-size: 14px; color: var(--gray-700); line-height: 1.6; margin-bottom: 16px; }
.blog-card-meta { font-size: 12px; color: var(--gray-400); }
.blog-newsletter { background: var(--navy-500); color: var(--white); padding: 80px 0; text-align: center; }
.blog-newsletter h2 { font-size: var(--fs-h2); margin-bottom: 12px; color: var(--white); }
.blog-newsletter p { color: rgba(255,255,255,0.75); margin-bottom: 28px; font-size: 16px; }
.newsletter-form {
  display: flex; gap: 12px; justify-content: center; max-width: 480px; margin: 0 auto;
  flex-wrap: wrap;
}
.newsletter-input {
  flex: 1; min-width: 220px; padding: 14px 18px;
  border: none; border-radius: var(--radius-pill);
  font-size: 16px; font-family: var(--font);
  outline: none;
}

/* ── ACCOUNT ── */
.account-hero { background: var(--cream); padding: 60px 0 40px; }
.account-tabs {
  display: flex; gap: 4px;
  border-bottom: 2px solid var(--gray-100);
  margin-bottom: 32px;
}
.account-tab {
  padding: 12px 20px;
  font-size: 15px; font-weight: 600; color: var(--gray-600);
  cursor: pointer; border-bottom: 2px solid transparent;
  margin-bottom: -2px; transition: color 0.2s, border-color 0.2s;
}
.account-tab.active { color: var(--navy-500); border-color: var(--navy-500); }
.account-tab-panel { display: none; }
.account-tab-panel.active { display: block; }
.account-settings { max-width: 640px; margin: 0 auto; padding: 40px 0; }
.settings-field { margin-bottom: 24px; }
.settings-field label { display: block; font-size: 14px; font-weight: 600; color: var(--navy-500); margin-bottom: 8px; }
.settings-field input, .settings-field select {
  width: 100%; padding: 14px 16px;
  border: 1.5px solid var(--gray-100); border-radius: var(--radius-md);
  font-size: 15px; font-family: var(--font);
  color: var(--gray-900); transition: border-color 0.2s;
}
.settings-field input:focus, .settings-field select:focus {
  outline: none; border-color: var(--navy-400);
}

/* ── RESULTS ── */
.results-hero { background: var(--navy-500); color: var(--white); padding: 80px 0; text-align: center; }
.results-hero h1 { font-size: var(--fs-h1); color: var(--white); margin-bottom: 16px; }
.results-hero p { font-size: 18px; color: rgba(255,255,255,0.8); }
.results-dashboard { background: var(--gray-50); padding: 60px 0; }
.results-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 40px;
}
@media (min-width: 768px) { .results-grid { grid-template-columns: repeat(3, 1fr); } }
.result-card {
  background: var(--white);
  border: 1.5px solid var(--gray-100);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
}
.result-value { font-size: 40px; font-weight: 800; color: var(--navy-500); line-height: 1; margin-bottom: 8px; }
.result-label { font-size: 14px; color: var(--gray-600); }
.results-recommendations { background: var(--white); padding: 60px 0; }
.recommendation-card {
  display: flex; gap: 20px; align-items: flex-start;
  background: var(--gray-50);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 16px;
}
.recommendation-icon { font-size: 32px; flex-shrink: 0; }
.recommendation-body h3 { font-size: 18px; color: var(--navy-500); margin-bottom: 8px; }
.recommendation-body p { font-size: 14px; color: var(--gray-700); line-height: 1.6; }

/* ── TICKER / MARQUEE ── */
.ticker-wrap {
  background: var(--navy-500);
  padding: 0;
  overflow: hidden;
  height: 48px;
  display: flex; align-items: center;
}
.ticker-track {
  display: flex; align-items: center;
  gap: 0; width: max-content;
  animation: marquee 30s linear infinite;
}
.ticker-track:hover { animation-play-state: paused; }
.ticker-item {
  display: flex; align-items: center; gap: 10px;
  padding: 0 32px;
  font-size: 14px; font-weight: 500;
  color: rgba(255,255,255,0.9);
  white-space: nowrap;
}
.ticker-item .t-val { font-size: 17px; font-weight: 800; color: var(--apple-500); }
.ticker-sep { color: rgba(255,255,255,0.25); font-size: 20px; }

/* ── LOADING STATE ── */
.vela-loading {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--gray-400);
  font-family: var(--font);
}
.vela-loading::before {
  content: '';
  display: inline-block;
  width: 24px; height: 24px;
  border: 3px solid var(--gray-100);
  border-top-color: var(--navy-500);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-right: 12px;
}

/* ── UNKNOWN SECTION FALLBACK ── */
.vela-unknown {
  padding: 24px;
  background: var(--gray-50);
  border: 1px dashed var(--gray-100);
  border-radius: var(--radius-md);
  font-size: 12px;
  color: var(--gray-600);
  font-family: monospace;
  margin: 8px 0;
  word-break: break-all;
}

/* ── ANIMATIONS ── */
@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes spin {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.animate-in { animation: fadeInUp 0.5s ease forwards; }

/* ── UTILITIES ── */
.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; }
.hidden { display: none !important; }
.visually-hidden { opacity: 0; pointer-events: none; }
.mt-sm { margin-top: var(--sp-sm); }
.mt-md { margin-top: var(--sp-md); }
.mt-lg { margin-top: var(--sp-lg); }
.mb-sm { margin-bottom: var(--sp-sm); }
.mb-md { margin-bottom: var(--sp-md); }
.mb-lg { margin-bottom: var(--sp-lg); }

/* ── RESPONSIVE BREAKPOINTS REFERENCE ── */
/* xs:  < 480px  (phones, portrait)     */
/* sm:  480–767px (phones, landscape)   */
/* md:  768–1023px (tablets)            */
/* lg:  1024–1199px (small desktops)    */
/* xl:  >= 1200px (large desktops)      */
.hide-tablet { display: none !important; }
@media (min-width: 1024px) { .hide-tablet { display: revert !important; } }
.hide-mobile { display: none !important; }
@media (min-width: 768px) { .hide-mobile { display: revert !important; } }
