/* ============================================================
   CHALK & THUNDER — Base + Components  v2
   ============================================================ */

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-font-smoothing: antialiased; }
body { font-family: var(--font-body); background: var(--midnight); color: var(--text-primary); line-height: 1.65; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; font-family: var(--font-body); }

/* ── Container ── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--space-6); }

/* ── Screen reader ── */
.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; }

/* ── Eyebrow ── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mint);
  margin-bottom: var(--space-4);
}
.eyebrow::before {
  content: '';
  display: block;
  width: 18px; height: 2px;
  background: var(--mint);
  border-radius: 1px;
  flex-shrink: 0;
}

/* ── Type scale ── */
.display-xl { font-family: var(--font-display); font-size: clamp(2.5rem, 6vw, 4.25rem); font-weight: 700; line-height: 1.04; letter-spacing: -0.035em; }
.display-lg { font-family: var(--font-display); font-size: clamp(2rem, 4.5vw, 3.25rem); font-weight: 700; line-height: 1.06; letter-spacing: -0.03em; }
.display-md { font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 700; line-height: 1.1; letter-spacing: -0.025em; }
.display-sm { font-family: var(--font-display); font-size: clamp(1.125rem, 2vw, 1.5rem); font-weight: 700; line-height: 1.2; letter-spacing: -0.015em; }

/* FIX 3: body text — brighter AND bigger */
.body-lg  { font-size: 1.1875rem; line-height: 1.72; color: rgba(255,255,255,0.92); }
.body-md  { font-size: 1.0625rem; line-height: 1.72; color: rgba(255,255,255,0.90); }
.body-sm  { font-size: 0.9375rem; line-height: 1.68; color: rgba(255,255,255,0.88); }

.mint  { color: var(--mint); }
.gold  { color: var(--gold); }
.coral { color: var(--coral); }
.muted { color: var(--text-muted); }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: var(--space-2);
  font-family: var(--font-display); font-weight: 700;
  font-size: var(--text-sm); letter-spacing: 0.01em;
  padding: 12px 24px; border-radius: var(--r-md); border: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  white-space: nowrap; text-decoration: none;
}
.btn:hover  { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary { background: var(--mint); color: #000; font-weight: 700; }
.btn-primary:hover { background: #6AEED4; box-shadow: 0 8px 24px rgba(88,230,184,0.32); }

.btn-outline { background: transparent; color: var(--white); border: 1.5px solid var(--border-mid); }
.btn-outline:hover { border-color: rgba(255,255,255,0.5); background: rgba(255,255,255,0.06); }

.btn-ghost { background: var(--midnight-3); color: var(--white); border: 1px solid var(--border-mid); }
.btn-ghost:hover { background: var(--midnight-4); }

.btn-gold { background: var(--gold); color: var(--midnight); }
.btn-gold:hover { background: #FFD97A; box-shadow: 0 8px 24px rgba(255,209,102,0.28); }

.btn-lg { padding: 16px 32px; font-size: var(--text-base); }
.btn-sm { padding: 9px 18px; font-size: var(--text-xs); }

/* ── Pills / Badges ── */
.pill {
  display: inline-flex; align-items: center; gap: var(--space-2);
  font-family: var(--font-display); font-size: var(--text-xs);
  font-weight: 700; letter-spacing: 0.06em; padding: 5px 14px; border-radius: var(--r-pill);
}
.pill-mint  { background: var(--mint-glow);  color: var(--mint);  border: 1px solid var(--mint-border); }
.pill-gold  { background: var(--gold-glow);  color: var(--gold);  border: 1px solid rgba(255,209,102,0.32); }
.pill-coral { background: var(--coral-glow); color: var(--coral); border: 1px solid rgba(255,107,107,0.32); }
.pill-dim   { background: rgba(255,255,255,0.07); color: rgba(255,255,255,0.80); border: 1px solid var(--border-subtle); }
.pill-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex-shrink: 0; }
.pill-dot-pulse { animation: dot-pulse 2s ease-in-out infinite; }
@keyframes dot-pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.4;transform:scale(.7)} }

/* ── Cards ── */
.card {
  background: var(--midnight-2); border: 1px solid var(--border-subtle);
  border-radius: var(--r-lg); padding: var(--space-8);
  transition: border-color 0.2s, transform 0.22s, box-shadow 0.22s;
}
.card:hover { border-color: var(--mint-border); transform: translateY(-4px); box-shadow: var(--shadow-mint); }
.card-sm { padding: var(--space-6); }

/* ── Dividers ── */
.divider { height: 1px; background: var(--border-subtle); margin: var(--space-16) 0; }
.divider-short { width: 48px; height: 2px; background: var(--mint); border-radius: 1px; }

/* ── Sections ── */
.section    { padding: var(--space-24) 0; }
.section-sm { padding: var(--space-16) 0; }
.section-darker { background: var(--midnight-2); }
.section-header        { max-width: 620px; margin-bottom: var(--space-16); }
.section-header-center { max-width: 620px; margin: 0 auto var(--space-16); text-align: center; }
.section-header-center .eyebrow { justify-content: center; }
.section-header-center .eyebrow::before { display: none; }

/* ── Stats strip ── */
.stat-strip { background: var(--midnight-3); border-top: 1px solid var(--border-subtle); border-bottom: 1px solid var(--border-subtle); }
.stat-strip-inner { display: grid; grid-template-columns: repeat(4,1fr); }
.stat-item { padding: var(--space-6) var(--space-8); text-align: center; border-right: 1px solid var(--border-subtle); }
.stat-item:last-child { border-right: none; }
.stat-value { font-family: var(--font-display); font-size: 2.5rem; font-weight: 700; line-height: 1; letter-spacing: -0.03em; }
.stat-label { font-size: var(--text-xs); color: rgba(255,255,255,0.72); margin-top: var(--space-1); letter-spacing: 0.04em; text-transform: uppercase; font-weight: 600; }

/* ── Feature grids ── */
.feature-grid   { display: grid; gap: var(--space-5); }
.feature-grid-2 { grid-template-columns: repeat(2,1fr); }
.feature-grid-3 { grid-template-columns: repeat(3,1fr); }
.feature-grid-4 { grid-template-columns: repeat(4,1fr); }

/* ── Level cards — FIX 4: full brightness badge colours ── */
.level-card {
  background: var(--midnight-2); border: 1px solid var(--border-subtle);
  border-radius: var(--r-lg); padding: var(--space-6); position: relative;
  overflow: hidden; transition: all 0.22s; display: block;
  text-decoration: none; color: inherit;
}
.level-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-float); border-color: var(--border-mid); }
.level-card-num {
  font-family: var(--font-display); font-size: 5rem; font-weight: 700;
  line-height: 1; letter-spacing: -0.05em;
  position: absolute; top: -8px; right: 12px;
  opacity: 0.08; color: var(--white); pointer-events: none;
}
.level-badge {
  display: inline-block; font-family: var(--font-display);
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; margin-bottom: var(--space-3);
  opacity: 1;                /* FIX 4: was 0.65 — now full brightness */
}
.level-title { font-family: var(--font-display); font-size: var(--text-md); font-weight: 700; margin-bottom: var(--space-2); line-height: 1.25; color: #FFFFFF; }
.level-desc  { font-size: var(--text-sm); color: rgba(255,255,255,0.86); line-height: 1.6; }

/* ── Testimonials ── */
.testi-card {
  background: var(--midnight-3); border: 1px solid var(--border-subtle);
  border-radius: var(--r-lg); padding: var(--space-8);
  display: flex; flex-direction: column; gap: var(--space-5);
}
.testi-quote { font-size: var(--text-base); line-height: 1.72; color: rgba(255,255,255,0.90); font-style: italic; }
.testi-quote::before { content: '\201C'; color: var(--mint); font-size: 1.5rem; font-style: normal; line-height: 0; vertical-align: -0.35em; margin-right: 3px; }
.testi-name   { font-family: var(--font-display); font-weight: 700; font-size: var(--text-sm); color: #FFFFFF; }
.testi-detail { font-size: var(--text-xs); color: rgba(255,255,255,0.58); margin-top: 2px; }

/* ── FAQ ── */
.faq-item { border-bottom: 1px solid var(--border-subtle); }
.faq-btn {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--space-4); width: 100%; padding: var(--space-5) 0;
  background: none; border: none; text-align: left;
  font-family: var(--font-display); font-size: var(--text-md);
  font-weight: 600; color: #FFFFFF; transition: color 0.15s;
}
.faq-btn:hover { color: var(--mint); }
.faq-icon {
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--midnight-3); border: 1px solid var(--border-mid);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 15px; color: var(--mint);
  transition: transform 0.25s, background 0.2s;
}
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--mint); color: var(--midnight); }
.faq-answer {
  overflow: hidden; max-height: 0;
  transition: max-height 0.32s ease, padding 0.25s;
  font-size: var(--text-base); color: rgba(255,255,255,0.88); line-height: 1.72; padding: 0;
}
.faq-item.open .faq-answer { max-height: 400px; padding-bottom: var(--space-5); }

/* ── Forms ── */
.form-group { display: flex; flex-direction: column; gap: var(--space-2); }
.form-label { font-family: var(--font-display); font-size: var(--text-xs); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.80); }
.form-control {
  background: var(--midnight-3); border: 1px solid var(--border-mid);
  border-radius: var(--r-md); padding: 14px 16px;
  font-family: var(--font-body); font-size: var(--text-base);
  color: #FFFFFF; outline: none;
  transition: border-color 0.18s, box-shadow 0.18s;
}
.form-control::placeholder { color: rgba(255,255,255,0.38); }
.form-control:focus { border-color: var(--mint); box-shadow: 0 0 0 3px rgba(88,230,184,0.14); }
textarea.form-control { min-height: 120px; resize: vertical; }
select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='rgba(255,255,255,0.5)' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px;
}
select.form-control option { background: var(--midnight-3); }

/* ── Nav — FIX 1: bigger font, full bright white ── */
.nav {
  position: sticky; top: 0; z-index: 100; height: var(--nav-h);
  background: rgba(28,28,46,0.94);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo-icon { width: 34px; height: 34px; flex-shrink: 0; }
.nav-logo-text { display: flex; flex-direction: column; gap: 1px; }
.nav-logo-name { font-family: var(--font-display); font-size: 1rem; font-weight: 700; color: #FFFFFF; letter-spacing: -0.01em; line-height: 1; }
.nav-logo-name em { font-style: normal; color: var(--mint); }
.nav-logo-cap  { font-size: 0.6875rem; color: rgba(255,255,255,0.50); letter-spacing: 0.08em; text-transform: uppercase; font-weight: 500; }
.nav-links { display: flex; align-items: center; gap: var(--space-8); }
/* FIX 1 ↓ font-size 1rem (16px), weight 600, colour rgba(255,255,255,0.92) */
.nav-links a { font-family: var(--font-display); font-size: 1rem; font-weight: 600; color: rgba(255,255,255,0.92); transition: color 0.15s; }
.nav-links a:hover,
.nav-links a.active { color: #FFFFFF; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--mint); }
.nav-cta { padding: 10px 22px; font-size: var(--text-sm) !important; text-decoration: none !important; color: #000 !important; }
.nav-hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 4px; }
.nav-hamburger span { display: block; width: 22px; height: 2px; background: #FFFFFF; border-radius: 1px; transition: all 0.24s; }

/* Mobile nav */
.nav-mobile {
  display: none; position: absolute; top: var(--nav-h); left: 0; right: 0;
  background: var(--midnight-2); border-bottom: 1px solid var(--border-mid);
  flex-direction: column; padding: var(--space-5) var(--space-6); gap: 2px;
  z-index: 99;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  font-family: var(--font-display); font-size: var(--text-lg); font-weight: 600;
  color: rgba(255,255,255,0.90); padding: var(--space-3) 0;
  border-bottom: 1px solid var(--border-subtle); transition: color 0.15s;
}
.nav-mobile a:last-child { border-bottom: none; }
.nav-mobile a:hover { color: var(--mint); }

/* ── Breadcrumb ── */
.breadcrumb { display: flex; align-items: center; gap: var(--space-2); font-size: var(--text-xs); color: rgba(255,255,255,0.55); margin-bottom: var(--space-5); }
.breadcrumb a { color: rgba(255,255,255,0.55); transition: color 0.15s; }
.breadcrumb a:hover { color: var(--mint); }
.breadcrumb-sep { opacity: 0.4; }

/* ── Page hero ── */
.page-hero {
  padding: var(--space-20) 0 var(--space-16);
  background: var(--midnight-2); border-bottom: 1px solid var(--border-subtle);
  position: relative; overflow: hidden;
}
.page-hero::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 80% 50%, rgba(88,230,184,0.05) 0%, transparent 70%);
  pointer-events: none;
}

/* ── Urgency CTA ── */
.urgency-section {
  background: var(--midnight-3); border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle); padding: var(--space-20) 0;
  text-align: center; position: relative; overflow: hidden;
}
.urgency-section::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 50% 100% at 50% 50%, rgba(88,230,184,0.06) 0%, transparent 70%);
  pointer-events: none;
}

/* ── Footer ── */
.footer { background: var(--midnight-2); border-top: 1px solid var(--border-subtle); padding: var(--space-16) 0 var(--space-8); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: var(--space-16); padding-bottom: var(--space-10); border-bottom: 1px solid var(--border-subtle); margin-bottom: var(--space-6); }
.footer-brand-name { font-family: var(--font-display); font-size: var(--text-md); font-weight: 700; color: #FFFFFF; margin-bottom: var(--space-3); }
.footer-brand-name em { font-style: normal; color: var(--mint); }
.footer-desc { font-size: var(--text-sm); color: rgba(255,255,255,0.78); line-height: 1.70; max-width: 280px; }
.footer-col-title { font-family: var(--font-display); font-size: var(--text-xs); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.55); margin-bottom: var(--space-4); }
.footer-links { display: flex; flex-direction: column; gap: var(--space-3); }
.footer-links a { font-size: var(--text-sm); color: rgba(255,255,255,0.82); transition: color 0.15s; }
.footer-links a:hover { color: var(--mint); }
.footer-email { color: var(--mint) !important; font-size: var(--text-xs) !important; word-break: break-all; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; font-size: var(--text-xs); color: rgba(255,255,255,0.45); }

/* ── Scroll reveal ── */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .feature-grid-4 { grid-template-columns: repeat(2,1fr); }
  .feature-grid-3 { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 768px) {
  :root { --nav-h: 76px; }
  .section    { padding: var(--space-16) 0; }
  .section-sm { padding: var(--space-10) 0; }
  .container  { padding: 0 var(--space-4); }
  .nav-links  { display: none; }
  .nav-hamburger { display: flex; }
  .stat-strip-inner { grid-template-columns: repeat(2,1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .feature-grid-2, .feature-grid-3, .feature-grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: var(--space-8); }
  .footer-bottom { flex-direction: column; gap: var(--space-2); text-align: center; }
  .page-hero { padding: var(--space-12) 0 var(--space-10); }
}
@media (max-width: 480px) {
  .btn-lg { padding: 14px 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ── Logo image (replaces SVG mark + text) ── */
.nav-logo-img {
  height: 88px;
  width: auto;
  display: block;
  object-fit: contain;
}
/* Slightly smaller on mobile */
@media (max-width: 768px) {
  .nav-logo-img { height: 52px; }
}

/* ── Nav logo wrapper + white tagline ── */
.nav-logo-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  line-height: 1;
}
.nav-logo-tagline {
  font-family: var(--font-display);
  font-size: 0.6875rem;
  font-weight: 600;
  color: #FFFFFF;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding-left: 2px;
  white-space: nowrap;
}
.nav-logo-tagline em {
  font-style: normal;
  color: var(--mint);
}

/* ── Footer logo sizing ── */
.footer-logo {
  height: 90px !important;
  width: auto;
  margin-bottom: var(--space-3);
}
.footer-tagline {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: var(--space-4);
  letter-spacing: 0.02em;
}
.footer-tagline em {
  font-style: italic;
  color: var(--mint);
}

/* ── Responsive logo sizes ── */
@media (max-width: 1024px) {
  .nav-logo-img  { height: 72px; }
  .footer-logo   { height: 78px !important; }
}
@media (max-width: 768px) {
  .nav-logo-img  { height: 52px; }
  .nav-logo-tagline { font-size: 0.625rem; }
  .footer-logo   { height: 68px !important; }
  .footer-tagline { font-size: 0.8125rem; }
}
@media (max-width: 480px) {
  .nav-logo-img  { height: 44px; }
  .footer-logo   { height: 58px !important; }
}
