/**
 * Theme: tech-dark-lime — Path B Recipes architecture (Layer 3).
 *
 * Character: IT software house, SaaS, dev agency, B2B tech services.
 * Sample industries: it-software-house, saas-product, mobile-app-studio,
 *                    devops-consultancy, ai-startup, design-agency.
 * Reference: Netguru (netguru.com), kod archetype (2026-05-27 build).
 *
 * Anti-AI-slop check: NIE dark navy + electric blue + monospace (first-order reflex).
 *                     Lime green accent z Netguru reference (proven real-world).
 *
 * @package AI_Base_Theme
 * @since 2026-05-27 (Phase 2 Path B)
 */

body.aibt-theme-tech-dark-lime {
	/* === Brand color tokens === */
	/* Surface 60% */
	--shadow:        #0F0F12;
	--shadow-lift:   #18181D;
	--shadow-card:   #1F1F26;
	/* Accent 10% (vibrant lime green) */
	--lime:          #9BFF59;
	--lime-deep:     #7BCC47;
	--lime-fade:     rgba(155, 255, 89, 0.12);
	/* Ink 30% (off-white na dark) */
	--ink-light:     #FAFAFA;
	--ink-soft:      rgba(250, 250, 250, 0.72);
	/* Muted-text AA: opacity 0.45 -> 0.48 clears WCAG AA on --background-alt (4.30 -> 4.73); grand audit 2026-05-29. */
	--ink-muted:     rgba(250, 250, 250, 0.48);
	/* Hairlines */
	--hairline:        rgba(250, 250, 250, 0.12);

	/* === Semantic tokens (variant-facing API) === */
	--background:           var(--shadow);
	--background-alt:       var(--shadow-lift);
	--background-dark:      var(--shadow);
	--background-card:      var(--shadow-card);
	--text-primary:         var(--ink-light);
	/* Polarity-aware ink (Path B variant convention). Was missing on this theme only
	   (11/12 define it) -> color-mix(in srgb, var(--ink) X%, ...) silently invalidated
	   here, dropping hairlines/tracks/tints (e.g. stats donut rings vanished). */
	--ink:                  var(--ink-light);
	/* Polarity-aware base surface (Path B variant convention). Was missing on this theme
	   only (11/12 define it) -> 67 variants use color-mix(..., var(--bg-main, #ffffff)) for
	   card/panel surfaces; with --bg-main undefined the #ffffff fallback fired, painting
	   WHITE cards on this dark theme and making the light --ink text unreadable on them
	   (e.g. booking month-calendar). Alias to the dark page background. */
	--bg-main:              var(--background);
	--text-secondary:       var(--ink-soft);
	--text-muted:           var(--ink-muted);
	--text-on-photo:        var(--ink-light);
	--text-on-dark:         var(--ink-light);
	--accent:               var(--lime);
	--accent-hover:         var(--lime-deep);
	--accent-fade:          var(--lime-fade);
	/* Ink that sits ON an --accent surface (Path B convention: var(--on-accent,#fff)).
	   Was missing on this theme ONLY (21/22 define it) -> the #fff fallback fired,
	   painting WHITE text on the BRIGHT lime accent (pricing tier panels, alternating-
	   accent testimonial cards, accent price chips, ribbon headers) = near-invisible.
	   Lime is a light accent, so on-accent must be DARK — mirror the theme's own
	   --cta-text-primary (the ink already used for text on a lime CTA button). */
	--on-accent:            var(--shadow);
	--cta-bg-primary:       var(--lime);
	--cta-text-primary:     var(--shadow);
	--cta-border-primary:   var(--lime);
	--cta-bg-secondary:     transparent;
	--cta-text-secondary:   var(--ink-light);
	--cta-border-secondary: var(--ink-soft);
	--divider-primary:      var(--hairline);
	--divider-accent:       var(--lime-fade);

	/* === Typography assignments === */
	--font-display: 'Sora', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	--font-body:    'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

	/* === Decorative tokens === */
	--decor-radius:           0px;            /* sharp edges, tech precision */
	--decor-radius-photo:     0px;
	--decor-shadow:           none;
	--decor-shadow-elevated:  0 4px 20px rgba(0, 0, 0, 0.3);
	--decor-border-width:     1px;

	/* === Italic accent treatment === */
	/* Per kod reference: NIE italic but bold lime accent na emphasis */
	--italic-color:  var(--lime);
	--italic-weight: 700;

	/* Dark theme → HERO keeps the variant default dark-scrim; em accent = lime
	   (parity with every other theme — audit 02-theme-token-parity 2026-06-03). */
	--hero-em-color: var(--lime);

	background: var(--background);
	color:      var(--text-primary);
	font-family: var(--font-body);
}

/* === Italic em accent — w tech theme NIE italic (geometric sans), bold lime === */
body.aibt-theme-tech-dark-lime em {
	font-style: normal;
	color: var(--italic-color);
	font-weight: var(--italic-weight);
}

/* === Headings default === */
body.aibt-theme-tech-dark-lime h1,
body.aibt-theme-tech-dark-lime h2,
body.aibt-theme-tech-dark-lime h3,
body.aibt-theme-tech-dark-lime h4 {
	font-family: var(--font-display);
	letter-spacing: var(--tracking-normal);
	color: var(--text-primary);
	font-weight: 700;
}

body.aibt-theme-tech-dark-lime h1 {
	font-weight: 700;
	letter-spacing: var(--tracking-tight);
}
