* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

:root {
    --text-primary: #1a1a1a;
    --text-secondary: #4a4a4a;
    --text-muted: #767676;
    --accent: #8b0000;
    --background: #ffffff;
    --max-width: 720px;
}

body {
    font-family: 'Crimson Text', Georgia, serif;
    font-size: 19px;
    line-height: 1.7;
    color: var(--text-primary);
    background: var(--background);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* GitHub Link */
.github-link {
    position: fixed;
    top: 1.5rem;
    right: 1.5rem;
    color: var(--text-primary);
    text-decoration: none;
    z-index: 100;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.github-link:hover {
    opacity: 1;
}

.github-link svg {
    width: 28px;
    height: 28px;
}

main {
    flex: 1;
    padding: 4rem 2rem;
    max-width: var(--max-width);
    margin: 0 auto;
    width: 100%;
}

/* Header */
header {
    text-align: center;
}

.title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 4rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
    font-style: italic;
}

.subtitle {
    font-style: italic;
    color: var(--text-secondary);
    font-size: 1.25rem;
    letter-spacing: 0.02em;
}

.skip-link {
    display: inline-block;
    margin-top: 0.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    text-decoration: none;
    opacity: 0.6;
    transition: opacity 0.2s ease;
}

.skip-link:hover {
    opacity: 1;
    text-decoration: underline;
}

/* Promise Image */
.promise-image {
    margin: 2rem 0;
    text-align: center;
}

.promise-image img {
    max-width: 100%;
    height: auto;
    max-height: 600px;
    /* No shadows for clean appearance */
}

/* Vow Text */
.vow-text {
}

.vow-text h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2.5rem;
    font-weight: 400;
    text-align: center;
    margin-bottom: 3rem;
    font-style: italic;
    color: var(--text-primary);
}

.vow-content {
    max-width: 600px;
    margin: 0 auto;
}

.ornament {
    text-align: center;
    font-size: 2rem;
    margin: 2rem 0;
    color: var(--accent);
    font-weight: 400;
}

.verse {
    text-align: center;
    margin: 3rem 0;
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.verse em {
    font-style: normal;
}

.prose {
    text-indent: 2em;
    margin: 2rem 0;
    text-align: justify;
    hyphens: auto;
    font-size: 1.05rem;
}

ul.prose {
    text-indent: 0;
    text-align: left;
    padding-left: 2rem;
}

ul.prose li {
    margin: 0.5rem 0;
    line-height: 1.6;
}

.flow-steps {
    text-indent: 0;
    margin: 2rem 0;
}

.flow-steps p {
    margin: 1rem 0;
    text-indent: 0;
    text-align: left;
    line-height: 1.6;
    font-size: 1.05rem;
}

.installation .prose {
    text-indent: 0;
    text-align: left;
}

.declaration {
    margin: 4rem 0;
    padding: 3rem 2rem 0rem 2rem;
    border-top: 1px solid #e0e0e0;
}

.declaration h3 {
    font-family: 'Playfair Display', Georgia, serif;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 2rem;
    letter-spacing: 0.05em;
    font-style: italic;
}

.article {
    margin: 1.5rem 0;
    padding-left: 2rem;
    position: relative;
}

.numeral {
    position: absolute;
    left: 0;
    font-weight: 600;
    color: var(--accent);
}

.closing {
    margin-top: 4rem;
    font-size: 1.05rem;
}

.signature {
    text-align: right;
    margin-top: 3rem;
    font-style: italic;
    color: var(--text-secondary);
}

/* Installation Section */
.installation {
    margin: 6rem 0;
    padding-top: 4rem;
    border-top: 2px solid #e0e0e0;
}

.installation h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2.5rem;
    font-weight: 400;
    text-align: center;
    margin-bottom: 3rem;
    font-style: italic;
    color: var(--text-primary);
}

.installation h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.5rem;
    font-weight: 400;
    margin: 3rem 0 1.5rem;
    font-style: italic;
}

.instructions {
    max-width: 600px;
    margin: 0 auto;
}

.instruction-intro {
    font-style: italic;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--text-secondary);
}

.code-block {
    background: #f8f8f8;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 1.5rem;
    margin: 2rem 0;
    overflow-x: auto;
}

.code-block pre {
    font-family: 'SF Mono', Monaco, 'Courier New', monospace;
    font-size: 0.85rem;
    line-height: 1.5;
}

.code-block code {
    color: var(--text-primary);
}

.comment {
    color: #6a9955;
    font-style: italic;
}

.output {
    color: var(--accent);
    font-weight: 600;
}

.cursor {
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.instruction-note {
    margin-top: 2rem;
    font-style: italic;
    text-align: center;
    color: var(--text-secondary);
}

/* Probe Ecosystem */
.probe-ecosystem {
    margin: 4rem 0;
    padding: 2rem 0;
    border-top: 1px solid #e0e0e0;
}

.probe-content {
    display: flex;
    align-items: center;
    gap: 2rem;
    max-width: 600px;
    margin: 0 auto;
    flex-direction: row-reverse;
}

.probe-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    flex-shrink: 0;
    border-radius: 12px;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.probe-content a:hover .probe-logo {
    opacity: 0.8;
    transform: scale(1.02);
}

.probe-content a:focus .probe-logo {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.probe-content a {
    text-decoration: none;
    border-radius: 12px;
    display: inline-block;
}

.probe-text h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.25rem;
    font-weight: 400;
    margin-bottom: 1rem;
    font-style: italic;
}

.probe-text p {
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
}

.probe-text a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
}

.probe-text a:hover {
    text-decoration: underline;
}

.probe-text a:hover {
    opacity: 0.7;
}

/* Links in prose sections */
.prose a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
}

.prose a:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    margin-top: 4rem;
    padding: 3rem 2rem;
    background: #fafafa;
    border-top: 1px solid #e0e0e0;
}

.footer-content {
    max-width: var(--max-width);
    margin: 0 auto;
    text-align: center;
}

.footer-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.8;
}

.footer-content a {
    color: var(--text-secondary);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease;
}

.footer-content a:hover {
    border-bottom-color: var(--text-secondary);
}

/* Responsive */
@media (max-width: 768px) {
    .title {
        font-size: 3rem;
    }
    
    .subtitle {
        font-size: 1.1rem;
    }
    
    .vow-text h2, .installation h2 {
        font-size: 2rem;
    }
    
    main {
        padding: 2rem 1.5rem;
    }
    
    .declaration {
        padding: 2rem 1rem;
    }
    
    .code-block {
        padding: 1rem;
    }
    
    .code-block pre {
        font-size: 0.75rem;
    }
    
    .probe-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .probe-logo {
        width: 60px;
        height: 60px;
    }
    
    .github-link {
        top: 1rem;
        right: 1rem;
    }
    
    .github-link svg {
        width: 24px;
        height: 24px;
    }
}

/* ===================================
   Navigation Bar Styles
   =================================== */
.site-nav {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #fff;
    font-weight: 700;
    font-size: 1.25rem;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.logo-text {
    letter-spacing: -0.02em;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-link {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    padding: 0.5rem 0.875rem;
    font-size: 0.9rem;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 500;
    border-radius: 6px;
    transition: color 0.2s ease, background-color 0.2s ease;
}

.nav-link:hover {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.1);
}

.nav-github {
    display: flex;
    align-items: center;
    padding: 0.5rem;
}

.nav-github svg {
    fill: rgba(255, 255, 255, 0.85);
    transition: fill 0.2s ease;
}

.nav-github:hover svg {
    fill: #fff;
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: #fff;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    margin-left: 0.5rem;
}

.nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

/* Dropdown Styles */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    color: rgba(255, 255, 255, 0.85);
    background: none;
    border: none;
    padding: 0.5rem 0.875rem;
    font-size: 0.9rem;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 500;
    border-radius: 6px;
    cursor: pointer;
    transition: color 0.2s ease, background-color 0.2s ease;
}

.nav-dropdown-toggle:hover {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.1);
}

.dropdown-arrow {
    transition: transform 0.2s ease;
}

.nav-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(4px);
}

.nav-dropdown-menu a {
    display: block;
    padding: 0.625rem 1rem;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 0.875rem;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.nav-dropdown-menu a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    z-index: 1001;
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    position: relative;
    transition: background 0.2s ease;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: #fff;
    transition: transform 0.2s ease;
}

.hamburger::before {
    top: -7px;
}

.hamburger::after {
    top: 7px;
}

.mobile-menu-toggle.is-active .hamburger {
    background: transparent;
}

.mobile-menu-toggle.is-active .hamburger::before {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.is-active .hamburger::after {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===================================
   ProbeLabs Footer Styles
   =================================== */
.probelabs-footer {
    background-color: #0f172a;
    color: #fff;
    margin-top: 4rem;
    padding: 0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 1.5rem 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(4, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-column {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.footer-brand {
    max-width: 280px;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1.25rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.social-link {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.2s ease;
}

.social-link:hover {
    color: #fff;
}

.social-link svg {
    fill: currentColor;
}

.footer-email {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.footer-email:hover {
    color: #fff;
}

.footer-heading {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.625rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #fff;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s ease;
}

.footer-legal a:hover {
    color: #fff;
}

.footer-separator {
    color: rgba(255, 255, 255, 0.3);
}

/* ===================================
   Responsive Navigation & Footer
   =================================== */
@media (max-width: 768px) {
    /* Navigation Mobile */
    .mobile-menu-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(15, 23, 42, 0.98);
        flex-direction: column;
        align-items: stretch;
        padding: 1.5rem;
        gap: 0.25rem;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-20px);
        transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
        overflow-y: auto;
    }

    .nav-menu.is-open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .nav-link {
        padding: 0.875rem 1rem;
        font-size: 1rem;
    }

    .nav-dropdown {
        width: 100%;
    }

    .nav-dropdown-toggle {
        width: 100%;
        justify-content: space-between;
        padding: 0.875rem 1rem;
        font-size: 1rem;
    }

    .nav-dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: rgba(255, 255, 255, 0.05);
        border: none;
        border-radius: 6px;
        margin-top: 0.25rem;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease, padding 0.3s ease;
        padding: 0;
        box-shadow: none;
    }

    .nav-dropdown.is-open .nav-dropdown-menu {
        max-height: 400px;
        padding: 0.5rem 0;
    }

    .nav-dropdown.is-open .dropdown-arrow {
        transform: rotate(180deg);
    }

    .nav-dropdown-menu a {
        padding: 0.75rem 1.25rem;
    }

    .nav-cta {
        margin: 1rem 0 0 0;
        justify-content: center;
        padding: 0.875rem 1rem;
    }

    .nav-github {
        order: -1;
        padding: 0.875rem 1rem;
        justify-content: flex-start;
    }

    .nav-github::after {
        content: 'GitHub';
        margin-left: 0.5rem;
        color: rgba(255, 255, 255, 0.85);
    }

    /* Footer Mobile */
    .footer-container {
        padding: 3rem 1.5rem 2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .footer-brand {
        grid-column: 1 / -1;
        max-width: none;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-column {
        text-align: center;
    }

    .nav-container {
        padding: 0 1rem;
    }
}

/* Adjust main content for fixed nav */
main {
    padding-top: 2rem;
}

/* Hide old GitHub link since it's now in nav */
.github-link {
    display: none;
}

/* Updated: Thu Aug 28 07:43:07 +03 2025 */
