/* nevelop product theme: clear reading surfaces and restrained violet accents.
   Loaded after component styles; original product screenshots retain their colors. */
:root {
  color-scheme: light;
  --bg-primary: #ffffff;
  --bg-secondary: #f6f7fb;
  --bg-card: #ffffff;
  --bg-card-hover: #ffffff;
  --bg-glass: #f6f7fb;
  --border-glass: #bdc6d6;
  --border-color: #bdc6d6;
  --border-glass-hover: #8c98ae;
  --text-primary: #000000;
  --text-secondary: #303030;
  --text-muted: #454545;
  --accent-primary: #3e50c5;
  --accent-primary-light: #3549ba;
  --accent-primary-dark: #293c9b;
  --accent-gradient: linear-gradient(110deg, #3e50c5, #5b58cf);
  --accent-gradient-hover: linear-gradient(110deg, #3042ae, #4946b8);
  --accent-glow: rgba(62, 80, 197, .08);
  --success: #187346;
  --warning: #925600;
  --error: #b4233a;
  --shadow-sm: 0 2px 5px rgba(24, 36, 59, .04);
  --shadow-md: 0 8px 24px rgba(24, 36, 59, .06);
  --shadow-lg: 0 16px 48px rgba(24, 36, 59, .08);
  --shadow-glow: 0 4px 12px rgba(99, 68, 207, .10);
  --header-height: 64px;
}
body { background: var(--bg-primary); }
::selection { background: #e3dafb; color: #18243b; }
a { text-underline-offset: .2em; }
a:hover { color: var(--accent-primary-dark); }
.header { background: rgba(255,255,255,.96); border-bottom: 1px solid var(--border-glass); box-shadow: none; }
.logo, .text-gradient, .hero-stat-value, .n2s-stat-value { background: none; color: var(--accent-primary); -webkit-text-fill-color: currentColor; }
.logo { color: #24346e; }
.logo span { -webkit-text-fill-color: var(--accent-primary); }
.nav-links a, .home-chat .nav-links a { color: var(--text-secondary); }
.nav-links a:hover, .nav-links a.active { color: var(--accent-primary); }
.language-switch { border-color: var(--border-glass); background: #f6f7fb; box-shadow: none; }
.language-switch a { color: var(--text-secondary); }
.language-switch a[aria-current="page"] { background: #e3e8fa; color: #2d3d87; }
.language-switch a:hover { background: #ebeffb; color: #2d3d87; }
.language-switch a:focus-visible { outline-color: var(--accent-primary); }
.btn { border-radius: 8px; line-height: 1.3; }
.btn-primary { background: var(--accent-primary); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--accent-primary-dark); box-shadow: var(--shadow-md); transform: none; }
.btn-outline { background: #fff; color: var(--text-primary); border-color: var(--border-glass-hover); }
.btn-outline:hover { background: #eef2fd; border-color: var(--accent-primary); }
.section { padding-block: 72px; }
.section-header { margin-bottom: 36px; }
.section-label { letter-spacing: .075em; }
h1, h2, h3 { letter-spacing: -.025em; }
.hero::before, .hero::after, .glass-card::before, .microtech-product-card::after { display: none; }
.hero, .page-hero, .product-page-hero, .microtech-hero { background: linear-gradient(135deg, #f8f9fc, #eef1fb); }
.home-chat .hero { background: #fff; padding-block: 48px; }
.glass-card { box-shadow: var(--shadow-sm); }
.glass-card:hover { transform: none; box-shadow: var(--shadow-md); border-color: #c6b8eb; }
.product-feature-card, .microtech-product-card, .microtech-product-card-ship { background: #fff; border-color: var(--border-glass); }
.developer-promise, .integration-api { background: #f4f0fc; border-left-color: var(--accent-primary); }
.tech-tag, .itag, .product-badge.sync { background: #f2edfc; border-color: #ded4f4; }
.product-badge.ship { color: #187346; background: #edf7f0; border-color: #cce7d5; }
.product-log-highlight, .integration-cta, .case-study, .microtech-final-cta { background: #f4f1fb; border-color: #ded5f1; }
.product-log-list li { background: #fff; border-color: var(--border-glass); }
.product-log-list strong, .product-plugin-groups strong { color: var(--text-primary); }
.product-plugin-groups li { background: #f5f2fb; }
.channel-board-grid span { background: #f6f7fb; }
.form-group input, .form-group textarea, .form-group select { background: #fff; border-color: var(--border-glass-hover); color: var(--text-primary); }
.form-group select option { background: #fff; color: var(--text-primary); }
input::placeholder, textarea::placeholder { color: #484848; opacity: 1; }
.footer { background: #f6f7fb; border-top: 1px solid var(--border-glass); }
.n2s-showcase-image img { box-shadow: var(--shadow-md); }
.product-screen > a, .feature-thumbnail { background: #eef0f6; border-color: #9ca8bd; }
.feature-thumbnail span { color: var(--accent-primary-dark); }
.feature-thumbnail:hover, .feature-thumbnail:focus-visible { color: var(--accent-primary-dark); background: #f2eefb; }
.feature-lightbox { background: #fff; color: var(--text-primary); border-color: #c1b2e4; box-shadow: 0 24px 80px rgba(24,36,59,.22); }
.feature-lightbox::backdrop { background: rgba(24,36,59,.65); }
.feature-lightbox__original, .feature-lightbox__close { background: #f3effb; border-color: #d6caef; color: #2d3d87; }
.feature-lightbox__original:hover, .feature-lightbox__close:hover { background: #e8e0f8; }
.integration-table th { background: #f4f1fb; }
.integration-table tbody th { background: none; }
.integration-table-wrap { background: #fff; }
/* Product UI examples remain faithful to the application's dark interface. */
.product-monitor-preview, .transmission-log-preview, .sync-dashboard-preview {
  --text-primary: #f0f0f5;
  --text-secondary: #b5bfce;
  --text-muted: #a0aec0;
  color: var(--text-primary);
  color-scheme: dark;
}
/* The assistant is the first entry point, with a paper-like conversation area. */
.home-chat { --header-height: 56px; }
.knowledge-hero { background: linear-gradient(145deg, #f7f8fc, #eef2fa); }
.knowledge-hero h1 { font-weight: 650; }
.knowledge-hero__label { font-weight: 650; }
.knowledge-chat { background: #fff; border: 2px solid #7788ac; box-shadow: 0 12px 36px rgba(33,43,70,.06); }
.knowledge-search { background: #eef1f9; border-top: 2px solid #a4b1ce; }
.knowledge-search input { background: #fff; border-color: #bdc6d7; }
.knowledge-search__example, .knowledge-search__new { background: #fff; border: 1.5px solid #7e8eaf; color: var(--text-primary); }
.knowledge-search__example:hover, .knowledge-search__example:focus-visible, .knowledge-search__new:hover, .knowledge-search__new:focus-visible { background: #eef2fd; color: #293c9b; border-color: #3e50c5; }
.knowledge-search__example { border-radius: 10px; }
.chat-message--user { background: #e9edfc; border-color: #9cadd6; }
.chat-message--assistant { background: #fff; border-color: #b6bfd1; }
.chat-message--pending { background: #f6f7fb; }
.chat-message--notice { border-color: #b8a3e5; }
.chat-message__footer a { color: var(--accent-primary-dark); }
.knowledge-source { background: #f8f9fc; border-color: #b6bfd1; }
.knowledge-chat__scroll { scrollbar-color: #b5bcd0 #f6f7fb; }
.knowledge-search__overview { color: var(--accent-primary-dark); text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 1200px) {
  .header-inner > .nav-links { background: #fff; }
}
@media (max-width: 768px) {
  :root, .home-chat { --header-height: 56px; }
  .section { padding-block: 40px; }
  .section-header { margin-bottom: 24px; }
  .home-chat .hero { padding-block: 32px; }
  .knowledge-chat { box-shadow: none; }
  .home-chat .hero-stat-value { font-size: 1.4rem; }
  .home-chat .hero-stat-label { font-size: .75rem; }
}

.form-group select { color-scheme: light; }
.platform-wordmark { color: var(--accent-primary); }

/* Keep controls distinct from white surfaces and keyboard focus unmistakable. */
.form-group input, .form-group textarea, .form-group select, .knowledge-search input { border-color: #7d889e; }
.knowledge-search__example:focus-visible, .knowledge-search__new:focus-visible, .btn:focus-visible { outline: 2px solid var(--accent-primary); outline-offset: 3px; }

@media (min-width: 769px) {
  .page-hero, .product-page-hero, .microtech-hero { padding: calc(var(--header-height) + 48px) 0 48px; min-height: 0; }
  .page-hero h1, .product-page-hero h1, .microtech-hero h1 { font-size: clamp(2.25rem, 4vw, 3.25rem); line-height: 1.15; }
  .product-page-hero p { font-size: 1.125rem; }
}

.knowledge-search input { border-width: 2px; }
