/* The landing page's look, from the draft landing-v21-2026-10-14/style.css with every selector scoped to
   body.landing-page, since every page links each stylesheet under app/assets. The draft's own note:
   Accelor.AI landing v21 (draft, not deployed). Look and feel taken from landing-v20-2025-12-10/v20-final.html:
   same tokens, Inter, red #cc0000, light/dark by [data-theme]. Removed from v20: cookie banner, testimonials,
   social icons. Added: screenshot placeholders, the plan card in the chat illustration, pricing notes. */

/* Light theme (default) */
body.landing-page {
  --bg: #ffffff;
  --bg-elevated: #fafafa;
  --bg-card: #ffffff;
  --border: #e5e5e5;
  --border-light: #d4d4d4;
  --text: #171717;
  --text-secondary: #525252;
  --text-dim: #a3a3a3;
  --accent: #cc0000;
  --accent-hover: #b80000;
  --accent-dim: #fef2f2;
  --accent-border: #fecaca;
  --success: #16a34a;
  --header-bg: rgba(255, 255, 255, 0.95);
  --card-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  --btn-text: #ffffff;
  --focus-ring: rgba(204, 0, 0, 0.4);
  --shot-bg: #e5e5e5;
  --shot-text: #737373;
}

/* Dark theme */
html[data-theme="dark"] body.landing-page {
  --bg: #0c0c0c;
  --bg-elevated: #141414;
  --bg-card: #1a1a1a;
  --border: #2a2a2a;
  --border-light: #333;
  --text: #fafafa;
  --text-secondary: #a0a0a0;
  --text-dim: #666;
  --accent: #cc0000;
  --accent-hover: #e60000;
  --accent-dim: rgba(204, 0, 0, 0.15);
  --accent-border: rgba(204, 0, 0, 0.3);
  --success: #22c55e;
  --header-bg: rgba(12, 12, 12, 0.9);
  --card-shadow: none;
  --btn-text: #fafafa;
  --focus-ring: rgba(204, 0, 0, 0.5);
  --shot-bg: #2a2a2a;
  --shot-text: #a0a0a0;
}

body.landing-page * { margin: 0; padding: 0; box-sizing: border-box; }

html:has(body.landing-page) { font-size: 16px; scroll-behavior: smooth; }

body.landing-page {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.3s, color 0.3s;
}

body.landing-page .skip-link {
  position: absolute; top: -100px; left: 0;
  background: var(--accent); color: white;
  padding: 8px 16px; z-index: 1000; transition: top 0.3s;
}
body.landing-page .skip-link:focus { top: 0; }

body.landing-page :focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
body.landing-page button:focus-visible, body.landing-page a:focus-visible { box-shadow: 0 0 0 3px var(--focus-ring); }

body.landing-page .container { max-width: 1000px; margin: 0 auto; padding: 0 24px; }

body.landing-page a { color: var(--accent); text-decoration: none; }
body.landing-page a:hover { color: var(--accent-hover); }

/* Back to top button */
body.landing-page .back-to-top {
  position: fixed; bottom: 32px; right: 32px;
  width: 48px; height: 48px;
  background: var(--accent); color: white;
  border: none; border-radius: 50%; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  opacity: 0; visibility: hidden; transform: translateY(20px);
  transition: all 0.3s; z-index: 90;
}
body.landing-page .back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
body.landing-page .back-to-top:hover { background: var(--accent-hover); transform: translateY(-2px); }

/* Header */
body.landing-page header {
  position: sticky; top: 0; z-index: 100;
  background: var(--header-bg);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
  transition: background-color 0.3s;
}
body.landing-page header .container { display: flex; justify-content: space-between; align-items: center; }

body.landing-page .logo {
  font-size: 20px; font-weight: 700; color: var(--text);
  display: flex; align-items: center; gap: 10px;
}
body.landing-page .logo:hover { color: var(--text); }
body.landing-page .logo-icon {
  width: 32px; height: 32px; flex-shrink: 0;
  background: var(--accent); border-radius: 6px; padding: 4px;
  display: flex; align-items: center; justify-content: center;
}
body.landing-page .logo-icon img { width: 100%; height: 100%; display: block; }

body.landing-page nav { display: flex; gap: 32px; align-items: center; }
body.landing-page .nav-links { display: flex; gap: 32px; align-items: center; }
body.landing-page .nav-links a { color: var(--text-secondary); font-size: 14px; font-weight: 500; transition: color 0.2s; }
body.landing-page .nav-links a:hover { color: var(--text); }

/* Mobile menu */
body.landing-page .mobile-menu-toggle {
  display: none; width: 40px; height: 40px;
  border-radius: 8px; border: 1px solid var(--border);
  background: var(--bg-card); cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
body.landing-page .mobile-menu-toggle span { width: 18px; height: 2px; background: var(--text); transition: all 0.3s; }
body.landing-page .mobile-menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
body.landing-page .mobile-menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
body.landing-page .mobile-menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

body.landing-page .mobile-menu {
  display: none; position: fixed; top: 73px; left: 0; right: 0;
  background: var(--bg); border-bottom: 1px solid var(--border);
  padding: 24px; flex-direction: column; gap: 16px; z-index: 99;
}
body.landing-page .mobile-menu.open { display: flex; }
body.landing-page .mobile-menu a {
  color: var(--text); font-size: 16px; font-weight: 500;
  padding: 12px 0; border-bottom: 1px solid var(--border);
}
body.landing-page .mobile-menu a:last-child { border-bottom: none; }

/* Theme toggle */
body.landing-page .theme-toggle {
  width: 40px; height: 40px; border-radius: 8px;
  border: 1px solid var(--border); background: var(--bg-card);
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  font-size: 18px; transition: all 0.2s;
}
body.landing-page .theme-toggle:hover { border-color: var(--border-light); background: var(--bg-elevated); }
body.landing-page .theme-toggle .icon-sun, body.landing-page .theme-toggle .icon-moon { display: none; }
html[data-theme="light"] body.landing-page .theme-toggle .icon-moon { display: block; }
html[data-theme="dark"] body.landing-page .theme-toggle .icon-sun { display: block; }

/* Buttons */
body.landing-page .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 20px;
  background: var(--accent); color: var(--btn-text);
  font-family: inherit; font-size: 14px; font-weight: 600;
  border-radius: 6px; border: none; cursor: pointer;
  transition: all 0.2s; white-space: nowrap;
}
body.landing-page .btn:hover { background: var(--accent-hover); color: var(--btn-text); transform: translateY(-1px); }
body.landing-page .btn:active { transform: translateY(0); }
body.landing-page .btn-large { padding: 14px 28px; font-size: 15px; }

/* Hero */
body.landing-page .hero { padding: 100px 0 80px; text-align: center; }
body.landing-page .hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px;
  background: var(--accent-dim); border: 1px solid var(--accent-border);
  border-radius: 100px;
  font-size: 13px; font-weight: 500; color: var(--accent);
  margin-bottom: 32px;
}
body.landing-page .hero-badge-dot {
  width: 6px; height: 6px; background: var(--success);
  border-radius: 50%; animation: pulse 2s infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }

body.landing-page .hero h1 {
  font-size: clamp(36px, 6vw, 52px); font-weight: 700;
  line-height: 1.15; margin-bottom: 20px; letter-spacing: -0.02em;
}
body.landing-page .hero h1 .highlight { color: var(--accent); }
body.landing-page .hero-sub {
  font-size: 18px; color: var(--text-secondary);
  max-width: 600px; margin: 0 auto 12px; line-height: 1.7;
}
body.landing-page .hero-tagline { font-size: 16px; font-weight: 500; color: var(--accent); margin-bottom: 36px; }

/* Waitlist form */
body.landing-page .waitlist-form, body.landing-page .cta-form {
  display: flex; gap: 12px; justify-content: center;
  max-width: 480px; margin: 0 auto 24px;
}
body.landing-page .waitlist-form input, body.landing-page .cta-form input {
  flex: 1; min-width: 0;
  padding: 14px 20px; font-family: inherit; font-size: 15px;
  border: 1px solid var(--border); border-radius: 6px;
  background: var(--bg-card); color: var(--text);
  transition: border-color 0.2s;
}
body.landing-page .waitlist-form input::placeholder, body.landing-page .cta-form input::placeholder { color: var(--text-dim); }
body.landing-page .waitlist-form input:focus, body.landing-page .cta-form input:focus { border-color: var(--accent); outline: none; }
body.landing-page .waitlist-note { font-size: 13px; color: var(--text-dim); margin-bottom: 32px; }

/* Chat illustration */
body.landing-page .chat-demo { margin-top: 64px; max-width: 640px; margin-left: auto; margin-right: auto; text-align: left; }
body.landing-page .illustration-label {
  font-size: 12px; color: var(--text-dim); text-align: center; margin-top: 12px;
}
body.landing-page .chat-window {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 12px; overflow: hidden; box-shadow: var(--card-shadow);
  transition: background-color 0.3s, border-color 0.3s, transform 0.3s;
}
body.landing-page .chat-window:hover { transform: translateY(-4px); box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1); }
body.landing-page .chat-header {
  padding: 14px 20px; background: var(--bg-elevated);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  transition: background-color 0.3s;
}
body.landing-page .chat-header-left { display: flex; align-items: center; gap: 10px; }
body.landing-page .chat-header-icon { width: 24px; height: 24px; background: var(--accent); border-radius: 6px; }
body.landing-page .chat-header-title { font-size: 14px; font-weight: 600; }
body.landing-page .chat-header-status { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text-dim); }
body.landing-page .chat-header-status-dot { width: 6px; height: 6px; background: var(--success); border-radius: 50%; }

body.landing-page .chat-body { padding: 24px; display: flex; flex-direction: column; gap: 20px; }
body.landing-page .chat-msg { display: flex; gap: 12px; opacity: 0; animation: msgIn 0.4s ease forwards; }
body.landing-page .chat-msg:nth-child(1) { animation-delay: 0.2s; }
body.landing-page .chat-msg:nth-child(2) { animation-delay: 0.7s; }
body.landing-page .chat-msg:nth-child(3) { animation-delay: 1.2s; }
@keyframes msgIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

body.landing-page .chat-avatar {
  width: 32px; height: 32px; border-radius: 6px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 600;
}
body.landing-page .chat-msg.user .chat-avatar { background: var(--bg-elevated); border: 1px solid var(--border); color: var(--text-secondary); }
body.landing-page .chat-msg.ai .chat-avatar { background: var(--accent); color: var(--btn-text); }
body.landing-page .chat-content { flex: 1; min-width: 0; }
body.landing-page .chat-name { font-size: 13px; font-weight: 600; margin-bottom: 4px; color: var(--text); }
body.landing-page .chat-text { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }

body.landing-page .plan-card {
  margin-top: 8px; border: 1px solid var(--border); border-radius: 10px;
  padding: 16px; background: var(--bg-elevated);
}
body.landing-page .plan-card h4 { font-size: 15px; font-weight: 600; margin-bottom: 8px; }
body.landing-page .plan-card ul { list-style: none; font-size: 14px; color: var(--text-secondary); margin-bottom: 12px; }
body.landing-page .plan-card li { padding: 3px 0; display: flex; gap: 8px; }
body.landing-page .plan-card li::before { content: '✓'; color: var(--success); font-weight: 600; }
body.landing-page .plan-card .btn { pointer-events: none; }

body.landing-page .chat-building {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 20px; background: var(--accent-dim);
  border-top: 1px solid var(--accent-border);
  opacity: 0; animation: msgIn 0.4s ease forwards; animation-delay: 1.8s;
}
body.landing-page .chat-building-logo { width: 24px; height: 24px; flex-shrink: 0; }
body.landing-page .chat-building-logo img { width: 100%; height: 100%; display: block; }
body.landing-page .chat-building-text { font-size: 13px; color: var(--accent); font-weight: 500; }

/* Scroll animations */
body.landing-page .animate-on-scroll { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
body.landing-page .animate-on-scroll.visible { opacity: 1; transform: translateY(0); }
html.no-js body.landing-page .animate-on-scroll { opacity: 1; transform: none; }

/* Sections */
body.landing-page section { padding: 80px 0; }
body.landing-page .section-divider { height: 1px; background: var(--border); margin: 0 auto; max-width: 1000px; }
body.landing-page .section-header { margin-bottom: 48px; }
body.landing-page .section-label {
  font-size: 12px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--accent); margin-bottom: 12px;
}
body.landing-page .section-title { font-size: 32px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 12px; }
body.landing-page .section-subtitle { font-size: 16px; color: var(--text-secondary); max-width: 560px; }

/* Screens (placeholders until real screenshots exist) */
body.landing-page .demos-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
body.landing-page .demo-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 12px; overflow: hidden; transition: all 0.3s;
}
body.landing-page .demo-card:hover { border-color: var(--accent); transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1); }
body.landing-page .shot {
  width: 100%; height: 180px;
  background: var(--shot-bg); color: var(--shot-text);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; text-align: center; padding: 16px;
  border-bottom: 1px solid var(--border);
}
body.landing-page .demo-card-content { padding: 20px; }
body.landing-page .demo-card-title { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
body.landing-page .demo-card-desc { font-size: 14px; color: var(--text-secondary); line-height: 1.5; }

/* Features */
body.landing-page .features-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
body.landing-page .feature-item {
  display: flex; gap: 16px; padding: 24px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 10px; transition: all 0.3s;
}
body.landing-page .feature-item:hover { border-color: var(--border-light); transform: translateY(-2px); box-shadow: var(--card-shadow); }
body.landing-page .feature-icon {
  width: 40px; height: 40px; background: var(--accent-dim); color: var(--accent);
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 600; flex-shrink: 0; transition: transform 0.3s;
}
body.landing-page .feature-item:hover .feature-icon { transform: scale(1.1); }
body.landing-page .feature-content h3 { font-size: 16px; font-weight: 600; margin-bottom: 4px; }
body.landing-page .feature-content p { font-size: 14px; color: var(--text-secondary); line-height: 1.5; }

/* Steps */
body.landing-page .steps-list { display: flex; flex-direction: column; gap: 32px; }
body.landing-page .step-item { display: flex; gap: 24px; align-items: flex-start; }
body.landing-page .step-num {
  width: 48px; height: 48px; background: var(--accent); color: var(--btn-text);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 700; flex-shrink: 0; transition: transform 0.3s;
}
body.landing-page .step-item:hover .step-num { transform: scale(1.1); }
body.landing-page .step-content { flex: 1; padding-top: 8px; }
body.landing-page .step-content h3 { font-size: 18px; font-weight: 600; margin-bottom: 6px; }
body.landing-page .step-content p { font-size: 15px; color: var(--text-secondary); line-height: 1.6; }

/* Pricing */
body.landing-page .pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
body.landing-page .price-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 12px; padding: 28px 24px; text-align: center; transition: all 0.3s;
}
body.landing-page .price-card:hover { border-color: var(--border-light); box-shadow: var(--card-shadow); transform: translateY(-2px); }
body.landing-page .price-name {
  font-size: 13px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.05em; color: var(--text-secondary); margin-bottom: 16px;
}
body.landing-page .price-amount { font-size: 42px; font-weight: 700; color: var(--text); letter-spacing: -0.02em; margin-bottom: 4px; }
body.landing-page .price-period { font-size: 14px; color: var(--text-dim); margin-bottom: 24px; }
body.landing-page .price-features { list-style: none; text-align: left; font-size: 14px; color: var(--text-secondary); }
body.landing-page .price-features li { padding: 8px 0; display: flex; align-items: flex-start; gap: 8px; }
body.landing-page .price-features li::before { content: '✓'; color: var(--success); font-weight: 600; }
body.landing-page .pricing-notes {
  margin-top: 32px; font-size: 14px; color: var(--text-secondary);
  display: grid; gap: 8px; max-width: 760px;
}

/* FAQ */
body.landing-page .faq-list { max-width: 700px; margin: 0 auto; }
body.landing-page .faq-item { border-bottom: 1px solid var(--border); }
body.landing-page .faq-question {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 0; background: none; border: none; cursor: pointer; text-align: left;
  font-family: inherit; font-size: 16px; font-weight: 600; color: var(--text); transition: color 0.2s;
}
body.landing-page .faq-question:hover { color: var(--accent); }
body.landing-page .faq-icon { font-size: 20px; transition: transform 0.3s; flex-shrink: 0; }
body.landing-page .faq-item.open .faq-icon { transform: rotate(45deg); }
body.landing-page .faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s ease; }
body.landing-page .faq-item.open .faq-answer { max-height: 400px; padding-bottom: 20px; }
body.landing-page .faq-answer p { font-size: 15px; color: var(--text-secondary); line-height: 1.6; }

/* CTA */
body.landing-page .cta-section { text-align: center; padding: 100px 24px; background: var(--bg-elevated); transition: background-color 0.3s; }
body.landing-page .cta-section h2 { font-size: 36px; font-weight: 700; margin-bottom: 12px; letter-spacing: -0.02em; }
body.landing-page .cta-section .hero-tagline { margin-bottom: 32px; }

/* Footer */
body.landing-page footer { padding: 40px 0 24px; border-top: 1px solid var(--border); }
body.landing-page .footer-content { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 32px; }
body.landing-page .footer-brand { max-width: 320px; }
body.landing-page .footer-brand .logo { margin-bottom: 12px; }
body.landing-page .footer-brand p { font-size: 14px; color: var(--text-dim); line-height: 1.6; }
body.landing-page .footer-links-section { display: flex; gap: 64px; }
body.landing-page .footer-column h4 {
  font-size: 13px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.05em; color: var(--text); margin-bottom: 16px;
}
body.landing-page .footer-column a { display: block; color: var(--text-dim); font-size: 14px; margin-bottom: 10px; transition: color 0.2s; }
body.landing-page .footer-column a:hover { color: var(--text); }
body.landing-page .footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px; border-top: 1px solid var(--border);
}
body.landing-page .footer-copyright { font-size: 13px; color: var(--text-dim); }

/* Responsive */
@media (max-width: 900px) {
  body.landing-page .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  body.landing-page .demos-grid { grid-template-columns: repeat(2, 1fr); }
  body.landing-page .footer-content { flex-direction: column; gap: 40px; }
  body.landing-page .footer-links-section { gap: 40px; }
}

@media (max-width: 768px) {
  body.landing-page .container { padding: 0 16px; }
  body.landing-page .nav-links { display: none; }
  body.landing-page .mobile-menu-toggle { display: flex; }
  body.landing-page nav { gap: 12px; }
  body.landing-page .nav-cta { display: none; }
  body.landing-page .features-grid, body.landing-page .pricing-grid, body.landing-page .demos-grid { grid-template-columns: 1fr; }
  body.landing-page .hero { padding: 64px 0 56px; }
  body.landing-page .hero h1 { font-size: 32px; }
  body.landing-page .waitlist-form, body.landing-page .cta-form { flex-direction: column; }
  body.landing-page .chat-body { padding: 16px; }
  body.landing-page .step-item { gap: 16px; }
  body.landing-page .step-num { width: 40px; height: 40px; font-size: 16px; }
  body.landing-page .cta-section { padding: 72px 16px; }
  body.landing-page .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  body.landing-page .back-to-top { bottom: 24px; right: 24px; width: 44px; height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  html:has(body.landing-page) { scroll-behavior: auto; }
  body.landing-page *, body.landing-page *::before, body.landing-page *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  body.landing-page .chat-msg, body.landing-page .chat-building { opacity: 1; }
}

/* The thanks or the error above the hero's form after a join (Nexus's own; not in the draft). */
body.landing-page .waitlist-message { font-size: 15px; font-weight: 500; color: var(--text); margin-bottom: 16px; }
