/* Visual layer for the original homepage. Content, section order and scripts live in landing.html. */
:root {
  color-scheme: dark;
  --bg-primary: #101211;
  --bg-secondary: #191c18;
  --bg-card: #171a18;
  --bg-card-hover: #20251e;
  --border: #30352e;
  --border-light: #484e40;
  --gold: #e5c47c;
  --gold-bright: #f1d79e;
  --gold-dim: #c7a65f;
  --text-primary: #f3f1e9;
  --text-secondary: #abb0a7;
  --text-muted: #a0a699;
  --text-dim: #abb0a7;
  --font-sans: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
body { background: var(--bg-primary); color: var(--text-primary); line-height: 1.65; }
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid var(--gold); outline-offset: 5px;
}
.navbar {
  height: 76px; padding-inline: max(28px, calc((100vw - 1320px) / 2));
  background: #101211f5; border-color: var(--border); backdrop-filter: blur(16px);
}
.nav-logo, .footer-logo { font-weight: 650; letter-spacing: -.65px; }
.nav-logo { font-size: 21px; }
.nav-links { gap: 28px; }
.nav-links a, .nav-signin { color: var(--text-secondary); font-weight: 500; }
.nav-links a:hover, .nav-signin:hover { color: var(--gold); }
section[id], [id^="preview"], [id^="faq"], [id^="features"] { scroll-margin-top: 102px; }
.btn-gold, .btn-gold-lg, .hero-ctas .btn-gold, .newsletter-form button {
  background: var(--gold); color: #191b16; box-shadow: none; border-radius: 7px;
  min-height: 46px; justify-content: center; font-weight: 600;
}
.btn-gold-lg, .hero-ctas .btn-gold { min-height: 54px; font-size: 15px; padding: 15px 26px; }
.btn-gold:hover, .btn-gold-lg:hover, .hero-ctas .btn-gold:hover, .newsletter-form button:hover {
  background: var(--gold-bright); color: #191b16; box-shadow: none; transform: translateY(-1px);
}
.btn-outline { min-height: 46px; border-color: var(--border-light); border-radius: 7px; }
.btn-outline:hover { box-shadow: none; background: #ffffff03; }
.hero { padding: 145px 24px 65px; }
.hero::before { background: radial-gradient(ellipse, #e5c47c08, transparent 65%); }
.hero::after { height: 90px; }
.particles { display: none; }
.hero h1 {
  font-size: clamp(44px, 5.5vw, 76px); font-weight: 550;
  line-height: 1.08; letter-spacing: -.045em; max-width: 1050px; margin-bottom: 25px;
}
.hero h1 .highlight {
  background: none; color: var(--gold); -webkit-text-fill-color: var(--gold);
  font-family: Georgia, serif; font-style: italic; font-weight: 400;
}
.hero-sub { font-size: 19px; line-height: 1.65; color: var(--text-secondary); }
.hero-badge { background: #e5c47c09; border-color: #e5c47c35; font-size: 12px; }
.hero-guarantee, .hero-trust { color: var(--text-secondary); }
.hero-guarantee .no-card, .no-card { font-size: 14px; font-weight: 500; color: var(--text-primary); }
.section, .preview-section, .features-mega, .testimonials-inner, .partners, .footer-inner {
  max-width: 1280px; margin-inline: auto;
}
.section { padding-block: 80px; }
.section-label, .partners-label {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 11px; letter-spacing: 1.6px; color: var(--gold); font-weight: 500;
}
.section-title { font-size: clamp(30px, 3.1vw, 44px); font-weight: 500; letter-spacing: -1.5px; line-height: 1.2; }
.section-desc { color: var(--text-secondary); font-size: 16px; line-height: 1.7; }
.features-grid { gap: 20px; }
.feature-card, .feature-category, .testimonial-card {
  background: var(--bg-card); border-color: var(--border); border-radius: 9px;
  box-shadow: none; padding: 28px;
}
.feature-card:hover, .feature-category:hover, .testimonial-card:hover {
  border-color: var(--theme-line-626047, #626047); background: var(--bg-card-hover); box-shadow: none; transform: translateY(-2px);
}
.feature-card h3 { font-size: 20px; font-weight: 550; letter-spacing: -.4px; }
.feature-card p, .testimonial-text { color: var(--text-secondary); line-height: 1.75; }
.feature-card .feature-icon { background: #e5c47c0a; border-radius: 9px; }
.feature-tag { background: #ffffff02; border-color: var(--border); border-radius: 5px; }
.feature-category h3 { font-weight: 550; }
.preview-section { padding-top: 55px; }
.terminal-window, .terminal, .preview-terminal, .dashboard-preview {
  background: linear-gradient(130deg, var(--theme-surface-23261f, #23261f), var(--theme-surface-171a18, #171a18) 75%);
  border-color: var(--theme-line-49493a, #49493a); border-radius: 12px; box-shadow: 0 22px 65px #0003;
}
.term-module { background: #ffffff02; border-color: var(--border); border-radius: 6px; }
.term-title, .term-label { color: var(--text-secondary); }
.testimonials-section, .pricing-section-bg { background: var(--bg-secondary); border-color: var(--border); }
.pricing-section-bg { border: 1px solid var(--theme-line-4f4d39, #4f4d39); border-radius: 12px; margin-block: 40px; }
.faq-list { max-width: 860px; }
.faq-item { background: transparent; border-color: var(--border); border-radius: 7px; }
.faq-question { color: var(--text-primary); font-size: 16px; font-weight: 500; padding: 22px 24px; }
.faq-question .arrow { color: var(--gold); }
.faq-answer p { color: var(--text-secondary); line-height: 1.75; }
.partners { border-color: var(--border); }
.partner-logo { color: var(--text-secondary); opacity: 1; }
.footer { background: var(--bg-primary); border-color: var(--border); }
.footer-bottom { color: var(--text-muted); border-color: var(--border); }
.mobile-nav, .exit-popup { background: var(--bg-card); border-color: var(--border-light); }
.mobile-nav a { font-weight: 500; }
.hamburger, .close-btn, .exit-popup-close { min-width: 44px; min-height: 44px; }
.hamburger { justify-content: center; align-items: center; }
.sticky-top-cta, .sticky-mobile-cta { background: #171a18f5; border-color: var(--border-light); }
.sticky-top-cta a { background: var(--gold); color: #191b16; border-radius: 6px; }
/* Content is visible immediately; the original observer can still add its visible class. */
.reveal, .reveal.visible { opacity: 1; transform: none; transition: none; }
/* Apply the palette to the original inline feature-demo shells without changing their content. */
section > div[style*="grid-template-columns:1fr 1fr"] {
  gap: 44px !important; margin-bottom: 64px !important;
}
section > div[style*="grid-template-columns:1fr 1fr"] > div[style*="background:"] {
  background: var(--bg-card) !important; border: 1px solid var(--border-light) !important;
  border-radius: 10px !important; box-shadow: 0 16px 45px #0002;
}
section > div[style*="grid-template-columns:1fr 1fr"] h3 { font-weight: 550 !important; letter-spacing: -.6px; }
@media (max-width: 980px) {
  .navbar { padding-inline: 24px; }
  .nav-links { gap: 16px; }
  .nav-logo { font-size: 18px; }
  .nav-right { gap: 12px; }
}
@media (max-width: 768px) {
  .navbar { height: 70px; padding-inline: 20px; }
  .nav-logo { font-size: 18px; }
  .hero { padding: 120px 20px 45px; }
  .hero h1 { font-size: clamp(39px, 8vw, 60px); letter-spacing: -1.7px; }
  .hero-sub { font-size: 16px; }
  .section { padding-block: 55px; }
  .section-title { font-size: 32px; letter-spacing: -1px; }
  .section-desc { font-size: 15px; }
  .features-grid { gap: 14px; }
  .feature-card, .feature-category, .testimonial-card { padding: 24px; }
  section > div[style*="grid-template-columns:1fr 1fr"] { gap: 24px !important; margin-bottom: 48px !important; }
  .faq-question { padding: 20px 16px; font-size: 15px; }
  .pricing-section-bg { border-radius: 0; border-inline: 0; }
  .partners-grid { gap: 20px; }
}
@media (max-width: 380px) {
  .navbar { padding-inline: 12px; }
  .nav-logo { font-size: 16px; }
  .nav-right { gap: 6px; }
  .hero-ctas .btn-gold, .hero-ctas .btn-outline { padding-inline: 18px; }
  .hero-guarantee { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* A calmer reading flow: one introduction, detailed previews, then optional tool browsing. */
.hero-ctas { gap: 14px; align-items: center; }
.hero-ctas .btn-outline { display: inline-flex; align-items: center; gap: 18px; padding: 14px 24px; min-height: 54px; font-size: 15px; }
.hero-guarantee { margin-top: 18px !important; }
.feature-card { position: relative; }
.feature-card p { font-size: 14px; }
.features-mega { padding-block: 45px 65px; }
.feature-directory { max-width: 1100px; margin: 30px auto 0; border: 1px solid var(--border-light); border-radius: 12px; background: var(--bg-card); }
.feature-directory summary { cursor: pointer; padding: 26px 30px; color: var(--gold); font-size: 18px; font-weight: 500; }
.feature-directory summary span { display: block; margin: 6px 0 0 20px; color: var(--text-secondary); font-size: 14px; font-weight: 400; }
.feature-directory summary:hover { background: #ffffff03; border-radius: 12px; }
.feature-directory summary:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.feature-directory[open] summary { border-bottom: 1px solid var(--border); }
.feature-directory-content { padding: 24px; }
.feature-directory .feature-category { margin-bottom: 16px; background: var(--bg-primary); }
.feature-directory .feature-category:last-child { margin-bottom: 0; }
.feature-directory .feature-category:hover { transform: none; }
.faq-answer[hidden] { display: none; }
.pricing-section-bg { background: radial-gradient(ellipse at top, #e5c47c0b, transparent 70%), var(--bg-secondary); }
@media (max-width: 768px) {
  .hero-ctas { flex-wrap: wrap; }
  .feature-directory summary { padding: 22px 18px; font-size: 17px; }
  .feature-directory-content { padding: 12px; }
  .feature-directory .feature-category { padding: 20px 16px; }
  body { padding-bottom: 0; }
}
@media (max-width: 420px) {
  .nav-right > .nav-signin { display: none; } /* Sign in remains in the mobile menu. */
}

/* Source identities and research scope belong beside the product introduction. */
.hero-sources { max-width: 850px; margin: 28px auto 32px; }
.credibility-eyebrow { color: var(--text-secondary); font-size: 10px; font-weight: 500; letter-spacing: 1.5px; text-transform: uppercase; }
.source-wordmarks { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 20px 36px; padding: 0; margin: 16px 0 0; }
.source-wordmarks li { display: flex; flex-direction: column; gap: 3px; }
.source-wordmarks strong { color: var(--text-primary); font-size: 18px; font-weight: 650; letter-spacing: -.5px; }
.source-wordmarks span { color: var(--text-secondary); font-size: 10px; }
.research-credentials { max-width: 1140px; margin: 0 auto 36px; padding: 30px 36px 22px; border: 1px solid var(--border-light); border-radius: 12px; background: linear-gradient(120deg, #e5c47c09, var(--theme-surface-191c18, #191c18) 65%); }
.research-credentials-intro { text-align: center; }
.research-credentials-intro .credibility-eyebrow { color: var(--gold); }
.research-credentials h2 { margin: 8px 0 22px; font-size: 22px; font-weight: 500; letter-spacing: -.5px; }
.research-credentials-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; }
.research-credentials-grid > div { display: flex; flex-direction: column-reverse; justify-content: end; text-align: center; padding: 8px 18px; }
.research-credentials-grid > div + div { border-left: 1px solid var(--border); }
.research-credentials-grid dt { font-size: 12px; color: var(--text-secondary); }
.research-credentials-grid dt span { display: block; font-size: 10px; }
.research-credentials-grid dd { margin: 0 0 7px; color: var(--gold); font-size: 42px; font-weight: 500; line-height: 1.2; letter-spacing: -1.5px; }
.research-credentials-grid dd span { margin-left: 5px; font-size: 16px; letter-spacing: 0; }
.research-credentials-note { border-top: 1px solid var(--border); margin-top: 22px; padding-top: 16px; text-align: center; font-size: 11px; color: var(--text-secondary); }
@media (max-width: 1200px) { .research-credentials { margin-inline: 24px; } }
@media (max-width: 600px) {
  .source-wordmarks { gap: 16px 24px; }
  .source-wordmarks strong { font-size: 16px; }
  .hero-sources { margin-block: 24px; }
  .research-credentials { margin-inline: 20px; padding: 26px 18px 20px; }
  .research-credentials h2 { font-size: 20px; }
  .research-credentials-grid { grid-template-columns: 1fr; }
  .research-credentials-grid > div { padding: 18px 0; }
  .research-credentials-grid > div + div { border-left: 0; border-top: 1px solid var(--border); }
  .research-credentials-grid dd { font-size: 38px; }
}
