
[hidden] { display: none !important; }

:root {
    --bg: #e9efd9;        
    --surface: #ffffff;
    --surface-2: #f3f7e9;
    --ink: #131a14;                     
    --ink-2: #1e2a20;                      
    --muted: #55685a;
    --line: #cfdfbd;
    --head: #14301e;                       
    --head-2: #0e2416;
    --footer: #0c2013;                     
    --footer-ink: #cfe0c4;                
    --footer-ink-dim: #9fb993;
    --accent: #4f9d11;
    --accent-dark: #3c7d0a;
    --accent-soft: rgba(79, 157, 17, 0.12);
    --acid: #7ed321;                       
    --glow: rgba(108, 190, 40, 0.30);     
    --green: #1f7a4d;
    --green-soft: rgba(31, 122, 77, 0.12);
    --ok: #22a05a;
    --ok-soft: rgba(34, 160, 90, 0.14);
    --warn: #a8462e;
    --warn-soft: rgba(168, 70, 46, 0.12);
    --white: #ffffff;
    --header-ink: #eaf6e2;
    --shadow: 0 10px 30px rgba(14, 36, 22, 0.12);
    --shadow-sm: 0 4px 14px rgba(14, 36, 22, 0.09);
    --radius: 14px;
    --radius-sm: 9px;
    --focus: 0 0 0 3px rgba(126, 211, 33, 0.55); 
    --font: 'Manrope', 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif;
}

html[data-theme='dark'] {
    --bg: #081510;                         
    --surface: #0d2116;
    --surface-2: #0a1b12;
    --ink: #a5ef4b;                       
    --ink-2: #c9ff77;
    --muted: #7fae63;
    --line: #1d3b28;
    --head: #0a1c11;
    --head-2: #07150d;
    --footer: #07150d;
    --footer-ink: #b7dd9f;
    --footer-ink-dim: #7fae63;
    --accent: #9cfa1a;
    --accent-dark: #b7ff4d;
    --accent-soft: rgba(156, 250, 26, 0.12);
    --acid: #c6ff5e;
    --glow: rgba(156, 250, 26, 0.35);     
    --green: #46d68a;
    --green-soft: rgba(70, 214, 138, 0.14);
    --ok: #35d07f;
    --warn: #ff7a6b;
    --header-ink: #b6f04f;
    --shadow: 0 12px 34px rgba(0, 0, 0, 0.55);
    --shadow-sm: 0 5px 16px rgba(0, 0, 0, 0.45);
    --focus: 0 0 0 3px rgba(156, 250, 26, 0.55), 0 0 14px var(--glow);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--font);
    font-size: 16px;
    font-weight: 600;             
    line-height: 1.6;
    color: var(--ink);
    background: var(--bg);
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    transition: background-color 0.35s ease, color 0.35s ease;
}
main.main { flex: 1 0 auto; width: 100%; padding: 18px 16px 40px; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-dark); text-decoration: none; transition: color 0.2s ease, opacity 0.2s ease; }
a:hover { color: var(--accent); }
h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 0.5em; font-weight: 800; color: var(--ink-2); letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.3em; }
code { background: var(--surface-2); border: 1px solid var(--line); border-radius: 6px; padding: 1px 7px; font-size: 0.9em; color: var(--accent-dark); }

:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 6px; }

.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); font-size: 0.92em; }
.skip-link {
    position: absolute; left: -9999px; top: 0; z-index: 200;
    background: var(--accent); color: #fff; padding: 10px 18px; border-radius: 0 0 10px 0; font-weight: 700;
}
.skip-link:focus { left: 0; color: #fff; }

.ico { width: 1.05em; height: 1.05em; vertical-align: -0.18em; }


.led {
    display: inline-block; width: 11px; height: 11px; border-radius: 50%;
    vertical-align: middle; margin: 0 2px;
    background: #8f3a44; 
    box-shadow: 0 0 0 2px rgba(143, 58, 68, 0.25);
}
.led--green {
    background: #2fd07c;
    box-shadow: 0 0 0 2px rgba(47, 208, 124, 0.3), 0 0 10px rgba(47, 208, 124, 0.75);
}
.led--pulse { animation: ledPulse 1.6s ease-in-out infinite; }
.led--dim { background: #8f3a44; box-shadow: 0 0 0 2px rgba(143, 58, 68, 0.25); }
@keyframes ledPulse {
    0%, 100% { box-shadow: 0 0 0 2px rgba(47, 208, 124, 0.3), 0 0 6px rgba(47, 208, 124, 0.55); opacity: 1; }
    50%      { box-shadow: 0 0 0 3px rgba(47, 208, 124, 0.45), 0 0 16px rgba(47, 208, 124, 0.95); opacity: 0.85; }
}

.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; transition: none; }
    * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
