/* ==========================================================================
   The $97 Launch — CSS
   ========================================================================== */
:root {
  --dark: #0d1117;
  --dark-2: #161b22;
  --accent: #00d4aa;
  --accent-hover: #00b894;
  --accent-glow: rgba(0,212,170,0.15);
  --gold: #f0c040;
  --white: #ffffff;
  --off-white: #f6f8fa;
  --text: #e6edf3;
  --text-light: #8b949e;
  --text-dark: #1a1a1a;
  --border: #30363d;
  --radius: 8px;
  --max-width: 1100px;
  --transition: 0.2s ease;
  --shadow: 0 2px 8px rgba(0,0,0,0.3);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.4);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  background: var(--dark);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-hover); }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { line-height: 1.2; font-weight: 800; letter-spacing: -0.5px; }
h1 { font-size: 2.8rem; }
h2 { font-size: 1.8rem; }
h3 { font-size: 1.2rem; }

/* Skip Link */
.skip-link {
  position: absolute; top: -100%; left: 16px; z-index: 1000;
  background: var(--accent); color: var(--dark); padding: 12px 24px;
  border-radius: var(--radius); font-weight: 700;
}
.skip-link:focus { top: 16px; }

/* ==========================================================================
   Navigation
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--dark); border-bottom: 1px solid var(--border);
}
.nav-container {
  max-width: var(--max-width); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px; min-height: 64px;
}
.nav-logo {
  display: flex; align-items: center; gap: 6px;
  font-weight: 900; font-size: 1.1rem; color: var(--white);
  text-decoration: none;
}
.logo-symbol { color: var(--accent); font-size: 1.3rem; }
.logo-text { color: var(--white); }
.nav-toggle { display: none; width: 44px; height: 44px; background: none; border: none; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: var(--transition); }
.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-links a {
  color: var(--text-light); font-size: 0.95rem; font-weight: 500;
  padding: 8px 14px; border-radius: var(--radius); transition: var(--transition);
  min-height: 44px; display: flex; align-items: center;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--white); background: var(--dark-2); }

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: none; position: absolute; top: 64px; left: 0; right: 0;
    background: var(--dark); flex-direction: column; padding: 16px 24px; gap: 4px;
    border-top: 1px solid var(--border);
  }
  .nav-links.nav-open { display: flex; }
  .nav-links a { width: 100%; }
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 32px; border-radius: var(--radius); font-weight: 700;
  font-size: 1rem; border: 2px solid transparent; cursor: pointer;
  min-height: 48px; transition: all var(--transition); line-height: 1.2;
  text-decoration: none;
}
.btn-primary { background: var(--accent); color: var(--dark); border-color: var(--accent); }
.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: var(--dark); transform: translateY(-2px); box-shadow: 0 4px 20px rgba(0,212,170,0.3); }
.btn-secondary { background: transparent; color: var(--accent); border-color: var(--accent); }
.btn-secondary:hover { background: var(--accent); color: var(--dark); }
.btn-white { background: var(--white); color: var(--dark); border-color: var(--white); }
.btn-white:hover { background: var(--off-white); transform: translateY(-2px); }
.btn-lg { padding: 18px 40px; font-size: 1.1rem; }
.btn-nav { padding: 8px 20px; min-height: 40px; font-size: 0.85rem; border-radius: 6px; white-space: nowrap; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  padding: 100px 24px 80px;
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 50%, #0a2520 100%);
  text-align: center;
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: -50%; right: -20%; width: 600px; height: 600px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner { max-width: 800px; margin: 0 auto; position: relative; z-index: 1; }
.hero-badge {
  display: inline-block; background: var(--accent-glow); color: var(--accent);
  padding: 6px 16px; border-radius: 20px; font-size: 0.85rem; font-weight: 700;
  border: 1px solid rgba(0,212,170,0.3); margin-bottom: 24px;
}
.hero h1 { margin-bottom: 20px; }
.hero h1 .price { color: var(--accent); }
.hero-tagline { font-size: 1.3rem; color: var(--text); font-weight: 400; max-width: 640px; margin: 0 auto 16px; font-style: italic; }
.price-callout {
  display: flex; align-items: center; justify-content: center; gap: 20px;
  margin: 20px auto 20px; padding: 14px 28px;
  background: rgba(0,212,170,0.08); border: 1px solid rgba(0,212,170,0.25);
  border-radius: 8px; max-width: 480px; flex-wrap: wrap;
}
.price-callout-book { font-size: 1rem; color: var(--accent); }
.price-callout-book strong { font-size: 1.3rem; }
.price-callout-divider { width: 1px; height: 24px; background: rgba(0,212,170,0.3); }
.price-callout-biz { font-size: 1rem; color: var(--text-light); }
.price-callout-biz strong { color: var(--text); font-size: 1.3rem; }
.hero-sub { font-size: 1rem; color: var(--text-light); max-width: 560px; margin: 0 auto 32px; line-height: 1.7; }
.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-stats {
  display: flex; justify-content: center; gap: 48px; margin-top: 48px;
  flex-wrap: wrap;
}
.hero-stat { text-align: center; }
.hero-stat .num { font-size: 2rem; font-weight: 900; color: var(--accent); display: block; }
.hero-stat .label { font-size: 0.82rem; color: var(--text-light); text-transform: uppercase; letter-spacing: 1px; }

@media (max-width: 768px) {
  .hero { padding: 64px 20px 56px; }
  .hero h1 { font-size: 2rem; }
  .hero-tagline { font-size: 1.1rem; }
  .hero-sub { font-size: 0.95rem; }
  .hero-stats { gap: 20px; }
  .hero-stat .num { font-size: 1.6rem; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .hero-buttons .btn-lg { width: 100%; max-width: 340px; }
  .price-callout { flex-direction: column; gap: 8px; padding: 12px 20px; }
  .price-callout-divider { width: 48px; height: 1px; }
}
@media (max-width: 480px) {
  .hero h1 { font-size: 1.6rem; }
  .hero-tagline { font-size: 1rem; }
  .price-callout-book strong, .price-callout-biz strong { font-size: 1.1rem; }
}

/* Social Proof / Press Strip */
.proof-strip {
  background: var(--dark-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 24px; text-align: center;
}
.proof-strip-inner { max-width: var(--max-width); margin: 0 auto; }
.proof-strip-label {
  font-size: 0.7rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 3px; color: var(--text-light); margin-bottom: 12px;
}
.proof-strip-items {
  display: flex; justify-content: center; align-items: center;
  gap: 32px; flex-wrap: wrap; color: var(--text-light); font-size: 0.88rem;
}
.proof-strip-items span { display: flex; align-items: center; gap: 6px; }
.proof-strip-items .proof-num { color: var(--accent); font-weight: 800; font-size: 1rem; }

/* Author Section */
.author-section {
  display: grid; grid-template-columns: 1fr 2fr; gap: 48px;
  align-items: start; max-width: 860px; margin: 0 auto;
}
.author-section .author-meta { border-left: 3px solid var(--accent); padding-left: 24px; }
.author-section h3 { margin-bottom: 12px; }
.author-section p { color: var(--text-light); font-size: 0.95rem; margin-bottom: 12px; }
@media (max-width: 768px) {
  .author-section { grid-template-columns: 1fr; gap: 24px; }
  .author-section .author-meta { border-left: none; padding-left: 0; border-top: 3px solid var(--accent); padding-top: 24px; }
}

/* Testimonial Cards */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.testimonial-card {
  background: var(--dark-2); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; position: relative;
}
.section-light .testimonial-card { background: var(--white); border-color: #ddd; }
.testimonial-card blockquote {
  font-size: 0.95rem; color: var(--text-light); line-height: 1.7;
  margin: 0 0 16px; padding: 0; border: none; font-style: italic;
}
.section-light .testimonial-card blockquote { color: #555; }
.testimonial-card cite {
  font-style: normal; font-size: 0.85rem; font-weight: 700; color: var(--text);
  display: block;
}
.section-light .testimonial-card cite { color: var(--text-dark); }
.testimonial-card .cite-title { font-weight: 400; color: var(--text-light); font-size: 0.8rem; }
.testimonial-stars { color: var(--gold); font-size: 0.85rem; margin-bottom: 12px; letter-spacing: 2px; }

/* ==========================================================================
   Sections
   ========================================================================== */
.section { padding: 80px 24px; }
.section-dark { background: var(--dark-2); }
.section-light { background: var(--off-white); color: var(--text-dark); }
.section-light h2, .section-light h3 { color: var(--text-dark); }
.section-light p, .section-light li { color: #444; }
.section-inner { max-width: var(--max-width); margin: 0 auto; }
.section-title { text-align: center; margin-bottom: 48px; }
.section-title h2 { margin-bottom: 12px; }
.section-title p { color: var(--text-light); font-size: 1.05rem; max-width: 600px; margin: 0 auto; }
.section-light .section-title p { color: #666; }
.divider { width: 48px; height: 3px; background: var(--accent); margin: 16px auto 0; border-radius: 2px; }

/* Feature Grid */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.feature-card {
  background: var(--dark-2); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 32px 24px; transition: all 0.3s;
}
.feature-card:hover { border-color: var(--accent); transform: translateY(-4px); box-shadow: 0 8px 32px rgba(0,212,170,0.08); }
.section-light .feature-card { background: var(--white); border-color: #ddd; }
.section-light .feature-card:hover { border-color: var(--accent); box-shadow: 0 8px 32px rgba(0,0,0,0.08); }
.feature-icon { font-size: 2rem; margin-bottom: 12px; }
.feature-card h3 { margin-bottom: 8px; }
.feature-card p { color: var(--text-light); font-size: 0.92rem; }
.section-light .feature-card p { color: #555; }

/* Section Overline */
.section-overline {
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 3px; color: var(--accent); margin-bottom: 8px;
}
.section-light .section-overline { color: var(--accent-hover); }

/* Ruled List (numbered, institutional) */
.ruled-list { max-width: 760px; margin: 0 auto; }
.ruled-item {
  display: flex; gap: 24px; align-items: flex-start;
  padding: 28px 0; border-bottom: 1px solid var(--border);
}
.ruled-item:first-child { border-top: 1px solid var(--border); }
.ruled-num {
  flex-shrink: 0; width: 40px; font-size: 0.8rem; font-weight: 700;
  color: var(--accent); letter-spacing: 1px; padding-top: 2px;
  font-variant-numeric: tabular-nums;
}
.ruled-item h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 4px; color: var(--white); }
.ruled-item p { color: var(--text-light); font-size: 0.92rem; margin: 0; line-height: 1.6; }

/* Content Grid (label + heading + description) */
.content-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1px; background: #ddd; border: 1px solid #ddd; border-radius: var(--radius); overflow: hidden; }
.content-item { background: var(--white); padding: 32px 28px; }
.content-label {
  display: inline-block; font-size: 0.68rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 2px; color: var(--accent-hover); margin-bottom: 10px;
  padding: 3px 10px; border: 1px solid var(--accent-hover); border-radius: 4px;
}
.content-item h3 { font-size: 1.05rem; font-weight: 700; color: var(--text-dark); margin-bottom: 8px; }
.content-item p { color: #555; font-size: 0.9rem; margin: 0; line-height: 1.6; }

/* Comparison Grid */
.comparison-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 860px; margin: 0 auto; }
.comparison-col { padding: 32px 28px; border-radius: var(--radius); }
.comparison-col h3 { font-size: 1rem; font-weight: 700; margin-bottom: 16px; text-transform: uppercase; letter-spacing: 1px; font-size: 0.82rem; }
.comparison-col ul { list-style: none; }
.comparison-col li { padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.08); font-size: 0.92rem; color: var(--text-light); line-height: 1.5; }
.comparison-col li:last-child { border-bottom: none; }
.comparison-them { background: rgba(255,255,255,0.03); border: 1px solid var(--border); }
.comparison-them h3 { color: var(--text-light); }
.comparison-us { background: rgba(0,212,170,0.05); border: 1px solid rgba(0,212,170,0.2); }
.comparison-us h3 { color: var(--accent); }
.comparison-us li { color: var(--text); }

@media (max-width: 600px) {
  .comparison-grid { grid-template-columns: 1fr; }
  .content-grid { grid-template-columns: 1fr; }
  .ruled-item { gap: 16px; }
}

/* CTA Section */
.cta-section {
  padding: 80px 24px; text-align: center;
  background: linear-gradient(135deg, #062b22, #0d1117);
}
.cta-section h2 { color: var(--white); margin-bottom: 16px; }
.cta-section p { color: var(--text-light); margin-bottom: 32px; font-size: 1.05rem; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* FAQ */
.faq-section { max-width: 760px; margin: 0 auto; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 8px; overflow: hidden; }
.section-light .faq-item { border-color: #ddd; }
.faq-question {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  padding: 18px 24px; background: none; border: none; color: var(--text);
  font-size: 1rem; font-weight: 600; cursor: pointer; text-align: left; min-height: 48px;
}
.section-light .faq-question { color: var(--text-dark); }
.faq-question .arrow { font-size: 0.7rem; transition: transform 0.3s; color: var(--text-light); }
.faq-item.open .faq-question .arrow { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-answer p, .faq-answer ul { padding: 0 24px 18px; font-size: 0.95rem; color: var(--text-light); line-height: 1.7; }
.section-light .faq-answer p { color: #555; }

/* About / Content Pages */
.page-content { max-width: 760px; margin: 0 auto; padding: 80px 24px; }
.page-content h1 { margin-bottom: 24px; }
.page-content p { margin-bottom: 16px; color: var(--text-light); }
.page-content ul, .page-content ol { margin-bottom: 16px; padding-left: 24px; }
.page-content li { margin-bottom: 8px; color: var(--text-light); }
.page-content strong { color: var(--text); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--dark-2); border-top: 1px solid var(--border); padding: 64px 0 0; }
.footer-inner { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; }
.footer-col h2 { font-size: 1rem; font-weight: 700; color: var(--white); margin-bottom: 16px; text-transform: uppercase; letter-spacing: 1px; }
.footer-col p { color: var(--text-light); font-size: 0.9rem; line-height: 1.6; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { color: var(--text-light); font-size: 0.9rem; }
.footer-col a:hover { color: var(--accent); }
.footer-author { font-size: 0.85rem; color: var(--text-light); margin-top: 8px; }
.footer-bottom { text-align: center; padding: 24px 0; margin-top: 48px; border-top: 1px solid var(--border); }
.footer-bottom p { color: var(--text-light); font-size: 0.82rem; }
.footer-connect-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px; background: var(--accent); color: var(--dark);
  border: none; border-radius: var(--radius); font-size: 0.9rem;
  font-weight: 700; cursor: pointer; transition: all 0.25s; margin-top: 8px;
}
.footer-connect-btn:hover { transform: translateY(-2px); box-shadow: 0 4px 16px rgba(0,212,170,0.3); }

/* Sticky Buy Bar */
.sticky-bar {
  position: fixed; bottom: -80px; left: 0; right: 0; z-index: 990;
  background: var(--dark-2); border-top: 1px solid var(--border);
  padding: 12px 24px; transition: bottom 0.3s ease;
}
.sticky-bar.visible { bottom: 0; }
.sticky-bar-inner {
  max-width: var(--max-width); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.sticky-bar-text { font-size: 0.9rem; color: var(--text-light); font-weight: 600; }
.sticky-bar-text strong { color: var(--white); }
@media (max-width: 600px) {
  .sticky-bar-text { display: none; }
  .sticky-bar-inner { justify-content: center; }
}

/* ==========================================================================
   Floating Button Stack
   ========================================================================== */
.floating-stack-right {
  position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 991;
  display: flex; flex-direction: column-reverse; align-items: center; gap: 12px;
}
.scroll-arrow {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--dark-2); color: var(--accent); border: 2px solid var(--accent);
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: all 0.3s; box-shadow: var(--shadow); padding: 0;
}
.scroll-arrow.visible { opacity: 1; visibility: visible; }
.scroll-arrow:hover { background: var(--accent); color: var(--dark); transform: translateY(-3px); }
.scroll-arrow svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }

.fc-btn {
  width: 52px; height: 52px; background: var(--accent); border: none; border-radius: 50%;
  color: var(--dark); cursor: pointer; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(0,212,170,0.4); transition: all 0.25s; padding: 0;
}
.fc-btn:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(0,212,170,0.5); }
.fc-btn svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.fc-btn .fc-icon-close { display: none; }
.fc-btn.fc-active .fc-icon-msg { display: none; }
.fc-btn.fc-active .fc-icon-close { display: block; }
.fc-btn.fc-active { background: var(--dark-2); color: var(--accent); border: 2px solid var(--accent); }

.fc-contrast-btn {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--dark-2); border: 2px solid var(--accent); color: var(--accent);
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: all 0.3s; box-shadow: var(--shadow); padding: 0;
}
.fc-contrast-btn:hover { background: var(--accent); color: var(--dark); transform: scale(1.08); }
.fc-contrast-btn svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.fc-contrast-btn .hc-icon-on { display: none; }
body.high-contrast .fc-contrast-btn .hc-icon-off { display: none; }
body.high-contrast .fc-contrast-btn .hc-icon-on { display: block; }
body.high-contrast .fc-contrast-btn { background: var(--accent); color: var(--dark); }

/* ==========================================================================
   Floating Contact Panel
   ========================================================================== */
.fc-panel {
  position: fixed; bottom: 0; right: 0; z-index: 995;
  width: 400px; max-width: 100vw; height: 100vh;
  background: var(--dark-2); border-left: 3px solid var(--accent);
  transform: translateX(100%); transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
  overflow-y: auto; -webkit-overflow-scrolling: touch;
}
.fc-panel.fc-open { transform: translateX(0); }
.fc-panel-inner { padding: 32px 24px 48px; }
.fc-panel-header { margin-bottom: 24px; padding-bottom: 20px; border-bottom: 2px solid var(--accent); }
.fc-panel-header h3 { font-size: 1.4rem; font-weight: 800; color: var(--white); margin: 0 0 6px; }
.fc-panel-header p { color: var(--text-light); font-size: 0.9rem; margin: 0; }
.fc-form .fc-field { margin-bottom: 16px; }
.fc-form .fc-field label { display: block; font-size: 0.76rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text); margin-bottom: 6px; }
.fc-form .fc-field input, .fc-form .fc-field textarea, .fc-form .fc-field select {
  width: 100%; padding: 10px 14px; background: var(--dark); border: 1.5px solid var(--border);
  border-radius: var(--radius); color: var(--text); font-size: 0.95rem; transition: border-color 0.25s;
}
.fc-form .fc-field input:focus, .fc-form .fc-field textarea:focus, .fc-form .fc-field select:focus {
  border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px rgba(0,212,170,0.12);
}
.fc-form .fc-field textarea { min-height: 90px; resize: vertical; }
.fc-submit {
  display: block; width: 100%; padding: 12px 24px;
  background: var(--accent); color: var(--dark); border: none; border-radius: var(--radius);
  font-size: 0.95rem; font-weight: 700; cursor: pointer; transition: all 0.25s;
}
.fc-submit:hover { transform: translateY(-2px); box-shadow: 0 4px 16px rgba(0,212,170,0.35); }
.fc-disclaimer { font-size: 0.78rem; color: var(--text-light); margin-top: 12px; text-align: center; }
.fc-overlay {
  position: fixed; inset: 0; z-index: 994; background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px); opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
.fc-overlay.fc-open { opacity: 1; pointer-events: auto; }

/* ==========================================================================
   High Contrast Mode
   ========================================================================== */
body.high-contrast { background: #000; color: #fff; }
body.high-contrast .site-header, body.high-contrast .site-footer, body.high-contrast .section-dark { background: #000; border-color: #fff; }
body.high-contrast .feature-card, body.high-contrast .faq-item { background: #111; border-color: #fff; }
body.high-contrast .fc-panel { background: #000; border-left-color: var(--accent); }
body.high-contrast .fc-form .fc-field input, body.high-contrast .fc-form .fc-field textarea, body.high-contrast .fc-form .fc-field select { background: #111; border-color: #fff; color: #fff; }
body.high-contrast a { color: #0ff; }
body.high-contrast .btn-primary { background: #0ff; color: #000; border-color: #0ff; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 768px) {
  .floating-stack-right { bottom: 1rem; right: 1rem; gap: 10px; }
  .fc-btn { width: 48px; height: 48px; }
  .fc-panel { width: 100vw; border-left: none; border-top: 3px solid var(--accent); }
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.4rem; }
  .section { padding: 56px 20px; }
  .page-content { padding: 56px 20px; }
}
@media (max-width: 480px) {
  h1 { font-size: 1.5rem; }
  .section { padding: 40px 16px; }
  .fc-panel-inner { padding: 24px 16px 40px; }
}

/* ==========================================================================
   Accessibility Floating Button & Dialog (full w2trap feature set)
   ========================================================================== */
.a11y-floating-btn {
  position: fixed; bottom: 24px; left: 24px; z-index: 991;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--dark-2); border: 2px solid var(--border); color: var(--accent);
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg); transition: all var(--transition); padding: 0;
}
.a11y-floating-btn:hover, .a11y-floating-btn:focus {
  border-color: var(--accent); background: var(--accent); color: var(--dark);
  transform: scale(1.1);
}
.a11y-floating-btn svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.a11y-dialog {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  z-index: 9999; border: none; background: transparent; padding: 0;
  max-width: 100%; max-height: 100%;
}
.a11y-dialog::backdrop { background: rgba(0,0,0,0.7); backdrop-filter: blur(4px); }
.a11y-dialog-inner {
  position: absolute; right: 0; top: 0; width: 420px; max-width: 100%;
  height: 100%; background: var(--dark-2); border-left: 1px solid var(--border);
  overflow-y: auto; padding: 32px 24px; color: var(--text);
}
.a11y-dialog-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.a11y-dialog-header h2 { font-size: 1.4rem; font-weight: 700; color: var(--accent); }
.a11y-dialog-close {
  width: 44px; height: 44px; background: transparent; border: 1px solid var(--border);
  color: var(--accent); font-size: 1.4rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center; border-radius: 50%;
  transition: all var(--transition);
}
.a11y-dialog-close:hover { background: var(--accent); color: var(--dark); }

.a11y-control-group { margin-bottom: 24px; padding-bottom: 24px; border-bottom: 1px solid var(--border); }
.a11y-control-group:last-child { border-bottom: none; }
.a11y-control-label {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 12px; display: block;
}

.a11y-size-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.a11y-size-btn {
  padding: 8px 16px; min-height: 44px; min-width: 44px;
  background: transparent; border: 1px solid var(--border); color: var(--text-light);
  font-size: 0.82rem; font-weight: 600; cursor: pointer; transition: all var(--transition);
  border-radius: var(--radius); font-family: inherit;
}
.a11y-size-btn.active, .a11y-size-btn:hover {
  border-color: var(--accent); color: var(--accent); background: rgba(0,212,170,0.08);
}

.a11y-toggle-row { display: flex; align-items: center; justify-content: space-between; padding: 8px 0; }
.a11y-toggle-row span { font-size: 0.92rem; color: var(--text); }
.a11y-toggle {
  width: 52px; height: 28px; min-width: 52px;
  background: var(--border); border: 1px solid var(--border); border-radius: 14px;
  position: relative; cursor: pointer; transition: all var(--transition); padding: 0;
}
.a11y-toggle::after {
  content: ''; position: absolute; width: 22px; height: 22px;
  background: var(--text-light); border-radius: 50%; top: 2px; left: 2px;
  transition: all var(--transition);
}
.a11y-toggle[aria-checked="true"] { background: var(--accent); border-color: var(--accent); }
.a11y-toggle[aria-checked="true"]::after { left: 26px; background: var(--dark); }

.a11y-statement-block { margin-top: 8px; }
.a11y-statement-block h3 { font-size: 1.05rem; font-weight: 700; color: var(--text); margin: 16px 0 6px; text-transform: uppercase; }
.a11y-statement-block p { font-size: 0.85rem; color: var(--text-light); line-height: 1.7; margin-bottom: 8px; }
.a11y-statement-block ul { list-style: none; padding: 0; margin-bottom: 10px; }
.a11y-statement-block li {
  position: relative; padding-left: 14px; font-size: 0.82rem;
  color: var(--text-light); line-height: 1.6; margin-bottom: 3px;
}
.a11y-statement-block li::before {
  content: ''; position: absolute; left: 0; top: 7px;
  width: 4px; height: 4px; border: 1px solid var(--accent); transform: rotate(45deg);
}
.a11y-statement-block a { color: var(--accent); text-decoration: underline; }

/* Reading Guide */
.reading-guide {
  display: none; position: fixed; left: 0; right: 0; height: 40px;
  background: rgba(0,212,170,0.08);
  border-top: 2px solid rgba(0,212,170,0.2);
  border-bottom: 2px solid rgba(0,212,170,0.2);
  pointer-events: none; z-index: 9998; transition: top 0.05s linear;
}
body.reading-guide-active .reading-guide { display: block; }

/* Link Highlighting */
body.highlight-links a:not(.btn):not(.nav-logo) {
  background: rgba(0,212,170,0.15);
  outline: 2px solid rgba(0,212,170,0.4);
  outline-offset: 2px; border-radius: 3px;
  text-decoration: underline !important;
}

/* Reduce Motion */
body.reduce-motion *, body.reduce-motion *::before, body.reduce-motion *::after {
  animation-duration: 0.01ms !important; transition-duration: 0.01ms !important;
}

/* High contrast overrides */
body.high-contrast .a11y-dialog-inner { background: #000; border-left-color: #fff; }
body.high-contrast .a11y-dialog-header h2 { color: #0ff; }
body.high-contrast .a11y-control-label { color: #0ff; }

@media (max-width: 480px) {
  .a11y-floating-btn { width: 44px; height: 44px; bottom: 16px; left: 16px; }
  .a11y-dialog-inner { width: 100%; max-width: 100vw; }
}

/* ==========================================================================
   WCAG 2.1/2.2 AA Compliance
   ========================================================================== */
*:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}
.btn:focus-visible { outline-offset: 3px; }
.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;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}
@media (forced-colors: active) {
  .btn { border: 2px solid ButtonText; }
  .feature-card, .faq-item, .content-item { border: 1px solid ButtonText; }
}

/* Print */
@media print {
  .site-header, .site-footer, .floating-stack-right, .fc-panel, .fc-overlay, .skip-link { display: none; }
  body { background: #fff; color: #000; }
}
