/* ==========================================================================
   Foundation & Variables
   ========================================================================== */
:root {
    --brand-accent: #61d9f1;
    --brand-accent-glow: rgba(97, 217, 241, 0.4);
    --brand-accent-deep: #2ab8d5;
    --bg-base: #f8fafc;
    --bg-surface: #ffffff;
    --bg-subtle: #f1f5f9;
    --text-prime: #0f172a;
    --text-mute: #475569;
    --text-soft: #94a3b8;
    --radius-sm: 8px;
    --radius-md: 18px;
    --transition-base: 0.35s ease;
    --shadow-sm: 0 4px 6px -1px rgba(15, 23, 42, 0.05);
    --shadow-md: 0 10px 25px -5px rgba(15, 23, 42, 0.08);
    --shadow-glow: 0 4px 15px rgba(42, 184, 213, 0.3);
}

*, *::before, *::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-base);
    color: var(--text-prime);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   Mandatory Layout Constraints (Flex/Grid/Text)
   ========================================================================== */
.omni, .index, .cluster, .band, .husk, .husk, .ntp-grid, .sbox, .trail {
    display: flex;
    flex-wrap: wrap;
}

.omni > *, .index > *, .cluster > *, .band > *, .husk > *, .husk > *, .ntp-grid > *, .sbox > *, .trail > * {
    min-width: 0;
}

.rune, .apex, .wire {
    word-break: break-word;
    overflow-wrap: break-word;
    white-space: normal;
}

p.rune {
    word-break: keep-all;
}

/* ==========================================================================
   Header (Mandatory Replication Styles)
   ========================================================================== */
.peak {
    background-color: var(--bg-surface);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.peak .husk {
    max-width: 1280px;
    margin: 0 auto;
    padding: 1rem 2rem;
    align-items: center;
    justify-content: space-between;
}

.orb {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.orb img {
    height: 32px;
    width: auto;
}

.orb-rune {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text-prime);
    letter-spacing: -0.5px;
}

.index {
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 2rem;
}

.wire {
    text-decoration: none;
    color: var(--text-mute);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color var(--transition-base);
}

.wire:hover, .wire:focus {
    color: var(--brand-accent-deep);
}

.wire.active {
    color: var(--brand-accent-deep);
    font-weight: 600;
}

/* ==========================================================================
   Typography & Base Components
   ========================================================================== */
.apex-mega {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -1px;
    color: var(--text-prime);
    margin: 0 0 1.5rem 0;
}

.apex-major {
    font-size: clamp(2rem, 3vw, 2.5rem);
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin: 0 0 1rem 0;
}

.apex-minor {
    font-size: 1.25rem;
    line-height: 1.4;
    font-weight: 700;
    margin: 0 0 0.75rem 0;
}

.rune-lead {
    font-size: 1.25rem;
    color: var(--text-mute);
    line-height: 1.6;
    margin: 0 0 2rem 0;
}

.rune-base {
    color: var(--text-mute);
    line-height: 1.6;
    margin: 0;
}

.rune-eyebrow {
    display: inline-block;
    color: var(--brand-accent-deep);
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    background: linear-gradient(90deg, var(--brand-accent-deep), var(--brand-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cast {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    background-color: var(--brand-accent-deep);
    color: var(--bg-surface);
    font-weight: 600;
    font-size: 1rem;
    border-radius: var(--radius-md);
    border: none;
    text-decoration: none;
    box-shadow: var(--shadow-glow);
    transition: all var(--transition-base);
    cursor: pointer;
}

.cast:hover, .cast:focus {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(42, 184, 213, 0.4);
    outline: none;
}

/* ==========================================================================
   Page Structure & Layout
   ========================================================================== */
.husk {
    width: 100%;
    flex-direction: column;
}

.frame {
    max-width: 1280px;
    margin: 0 auto;
    padding: 6rem 2rem;
    width: 100%;
}

/* ==========================================================================
   Section 1: Hero (Asymmetric Grid) - <section>
   ========================================================================== */
.ntp {
    background: radial-gradient(circle at top right, rgba(97, 217, 241, 0.08) 0%, transparent 60%);
    border-bottom: 1px solid rgba(0,0,0,0.03);
}

.ntp-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
}

.blink {
    position: relative;
}

/* Abstract DevTools UI Representation (Layout Only, No Images) */
.optic-mock {
    width: 100%;
    aspect-ratio: 16/10;
    background: var(--bg-surface);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: transform var(--transition-base);
}

.optic-mock:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.mock-peak {
    height: 40px;
    background: var(--bg-subtle);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    padding: 0 1rem;
    gap: 0.5rem;
}

.mock-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(0,0,0,0.1);
}
.mock-dot:nth-child(1) { background: #ff5f56; }
.mock-dot:nth-child(2) { background: #ffbd2e; }
.mock-dot:nth-child(3) { background: #27c93f; }

.mock-body {
    flex: 1;
    display: grid;
    grid-template-columns: 2fr 1fr;
}

.mock-pane {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.mock-pane.left {
    border-right: 1px solid rgba(0,0,0,0.05);
    background: #fafafa;
}

.mock-line {
    height: 8px;
    border-radius: 4px;
    background: var(--bg-subtle);
    width: 100%;
}
.mock-line.accent { background: var(--brand-accent-glow); width: 60%; }
.mock-line.short { width: 40%; }
.mock-line.indent { margin-left: 20px; width: 80%; }

/* ==========================================================================
   Section 2: Core Features - <article>
   ========================================================================== */
.lens {
    background-color: var(--bg-base);
    position: relative;
}

.sbox {
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.sbox .apex-major, 
.sbox .rune-lead {
    max-width: 800px;
}

.cluster-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    width: 100%;
    margin-top: 4rem;
}

.facet {
    background: var(--bg-surface);
    padding: 3rem 2.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.03);
    text-align: left;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.facet::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--brand-accent-deep), var(--brand-accent));
    opacity: 0;
    transition: opacity var(--transition-base);
}

.facet:hover, .facet:focus-within {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.facet:hover::before {
    opacity: 1;
}

.glyph {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-subtle);
    border-radius: 14px;
    margin-bottom: 2rem;
    color: var(--brand-accent-deep);
}

.glyph svg {
    width: 28px;
    height: 28px;
    fill: currentColor;
}

/* ==========================================================================
   Section 3: Workflow Tips - <div>
   ========================================================================== */
.trail-shell {
    background-color: var(--bg-surface);
    border-top: 1px solid rgba(0,0,0,0.03);
}

.band {
    align-items: center;
    background: linear-gradient(135deg, var(--bg-subtle) 0%, var(--bg-base) 100%);
    border-radius: var(--radius-md);
    padding: 4rem;
    border: 1px solid rgba(0,0,0,0.03);
    gap: 4rem;
}

.band-husk {
    flex: 1;
    min-width: 300px;
}

.band-visual {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.kbd-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--bg-surface);
    padding: 1rem 1.5rem;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.05);
}

.kbd-tag {
    background: var(--bg-base);
    border: 1px solid rgba(0,0,0,0.1);
    border-bottom-width: 3px;
    padding: 0.25rem 0.75rem;
    border-radius: 6px;
    font-family: monospace;
    font-weight: 700;
    color: var(--text-prime);
    font-size: 0.9rem;
}

.kbd-desc {
    color: var(--text-mute);
    font-size: 0.95rem;
    font-weight: 500;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.sole {
    background-color: var(--bg-base);
    border-top: 1px solid rgba(0,0,0,0.05);
    padding: 4rem 2rem;
    text-align: center;
}

.sole-husk {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.root {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--text-prime);
    letter-spacing: -0.5px;
}

.cache {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.cache a {
    color: var(--text-mute);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color var(--transition-base);
}

.cache a:hover {
    color: var(--brand-accent-deep);
}

.copyright {
    color: var(--text-soft);
    font-size: 0.875rem;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 992px) {
    .ntp-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .band {
        padding: 3rem 2rem;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .peak .husk {
        flex-direction: column;
        gap: 1rem;
    }
    .index {
        gap: 1rem;
        justify-content: center;
    }
    .frame {
        padding: 4rem 1.5rem;
    }
    .cluster-grid {
        grid-template-columns: 1fr;
    }
    .apex-mega {
        font-size: 2.25rem;
    }
}

.omni-peak {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.7;
    word-break: break-word;
    color: var(--text-prime);
}
.omni-peak,
.omni-peak *,
.omni-peak *::before,
.omni-peak *::after {
    box-sizing: border-box;
}

.omni-peak nav,
.omni-peak div,
.omni-peak section,
.omni-peak article,
.omni-peak aside,
.omni-peak p,
.omni-peak h1,
.omni-peak h2,
.omni-peak h3,
.omni-peak h4,
.omni-peak h5,
.omni-peak h6,
.omni-peak a {
    margin: 0;
    padding: 0;
    font: inherit;
    color: inherit;
    letter-spacing: inherit;
    line-height: inherit;
}

.omni-peak p,
.omni-peak h1,
.omni-peak h2,
.omni-peak h3,
.omni-peak h4,
.omni-peak h5,
.omni-peak h6 {
    text-decoration: none;
}

.omni-peak img {
    display: block;
    max-width: 100%;
    height: auto;
    border: 0;
}

.omni-peak {
    box-shadow: none;
    filter: none;
    text-shadow: none;
    background-image: none;
    border-top: none;
    border-left: none;
    border-right: none;
    outline: none;
}

.omni-peak a.omni-wire {
    --aisite-shell-nav-padding: 0.5rem 0.75rem;
    --aisite-shell-nav-margin: 0;
    --aisite-shell-nav-line-height: normal;
    --aisite-shell-nav-display: inline;
    --aisite-shell-nav-height: auto;
    --aisite-shell-nav-min-height: auto;
}

.omni-peak a.omni-wire,
.omni-peak a.omni-wire:hover,
.omni-peak a.omni-wire:focus,
.omni-peak a.omni-wire:active,
.omni-peak a.omni-wire.active,
.omni-peak a.omni-wire[aria-current="page"] {
    background: transparent;
    border: none;
    border-bottom: none;
    box-shadow: none;
    outline: none;
    text-decoration: none;
    padding: var(--aisite-shell-nav-padding, 0);
    margin: var(--aisite-shell-nav-margin, 0);
    line-height: var(--aisite-shell-nav-line-height, normal);
    display: var(--aisite-shell-nav-display, inline);
    height: var(--aisite-shell-nav-height, auto);
    min-height: var(--aisite-shell-nav-min-height, auto);
}

.omni-peak .omni-husk{
            width: 100%;
            max-width: 1280px;
            margin: 0 auto;
            padding: 0 2rem;
        }

.omni-peak{
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            height: 80px;
            background: rgba(255, 255, 255, 0.85);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            border-bottom: 1px solid rgba(0,0,0,0.05);
            z-index: 1000;
            display: flex;
            align-items: center;
        }

.omni-peak .omni-husk{
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            align-items: center;
        }

.omni-peak .omni-orb{
            display: flex;
            align-items: center;
            gap: 12px;
            flex-shrink: 0;
        }

.omni-peak .omni-orb img{
            height: 36px;
            width: auto;
        }

.omni-peak .omni-orb-rune{
            font-size: 1.25rem;
            font-weight: 700;
            letter-spacing: -0.5px;
            color: #0f172a;
        }

.omni-peak .omni-omni{
            display: flex;
            flex-wrap: wrap;
            align-items: center;
        }

.omni-peak .omni-index{
            display: flex;
            flex-wrap: wrap;
            gap: 1.5rem;
            list-style: none;
        }

.omni-peak .omni-wire{
            font-size: 0.95rem;
            font-weight: 500;
            color: #475569;
            padding: 0.5rem 0.75rem;
            border-radius: 8px;
            position: relative;
        }

.omni-peak .omni-wire:hover, .omni-peak .omni-wire.active{
            color: #0f172a;
            background: #f1f5f9;
        }

.omni-peak .omni-wire.active::after{
            content: '';
            position: absolute;
            bottom: 2px;
            left: 50%;
            transform: translateX(-50%);
            width: 20px;
            height: 3px;
            background: #61d9f1;
            border-radius: 2px;
        }

@media (max-width: 768px){.omni-peak .omni-omni{
                display: none; 
            }}

.omni-peak {
    background: rgb(255, 255, 255);
    background-image: none;
}

.cache-sole {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.7;
    word-break: break-word;
    color: var(--text-prime);
}
.cache-sole,
.cache-sole *,
.cache-sole *::before,
.cache-sole *::after {
    box-sizing: border-box;
}

.cache-sole nav,
.cache-sole div,
.cache-sole section,
.cache-sole article,
.cache-sole aside,
.cache-sole p,
.cache-sole h1,
.cache-sole h2,
.cache-sole h3,
.cache-sole h4,
.cache-sole h5,
.cache-sole h6,
.cache-sole a {
    margin: 0;
    padding: 0;
    font: inherit;
    color: inherit;
    letter-spacing: inherit;
    line-height: inherit;
}

.cache-sole p,
.cache-sole h1,
.cache-sole h2,
.cache-sole h3,
.cache-sole h4,
.cache-sole h5,
.cache-sole h6 {
    text-decoration: none;
}

.cache-sole img {
    display: block;
    max-width: 100%;
    height: auto;
    border: 0;
}

.cache-sole {
    box-shadow: none;
    filter: none;
    text-shadow: none;
    background-image: none;
    border-top: none;
    border-left: none;
    border-right: none;
    outline: none;
}

.cache-sole a,
.cache-sole a:hover,
.cache-sole a:focus,
.cache-sole a:active {
    background: transparent;
    box-shadow: none;
    outline: none;
    text-decoration: none;
}

.cache-sole .cache-cluster{
            display: flex;
            flex-wrap: wrap;
        }

.cache-sole .cache-husk{
            width: 100%;
            max-width: 1280px;
            margin: 0 auto;
            padding: 0 2rem;
        }

.cache-sole{
            background: #0f172a;
            color: #94a3b8;
            padding: 4rem 0 2rem;
            margin-top: 4rem;
        }

.cache-sole .cache-cache{
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            gap: 2rem;
            margin-bottom: 3rem;
        }

.cache-sole .cache-cache-col{
            display: flex;
            flex-direction: column;
            gap: 1rem;
            min-width: 200px;
        }

.cache-sole .cache-apex-foot{
            color: #ffffff;
            font-size: 1.1rem;
            font-weight: 600;
            margin-bottom: 0.5rem;
        }

.cache-sole .cache-cache-wire{
            transition: color 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        }

.cache-sole .cache-cache-wire:hover{
            color: #61d9f1;
        }

.cache-sole .cache-root{
            border-top: 1px solid rgba(255,255,255,0.1);
            padding-top: 2rem;
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            align-items: center;
            font-size: 0.9rem;
        }

.cache-sole .cache-brand-rune{
            font-size: 1.5rem;
            font-weight: 700;
            color: #ffffff;
            letter-spacing: -0.5px;
        }