/* ==========================================================================
   Base & Variables
   ========================================================================== */
:root {
    --color-bg: #090a0c;
    --color-surface: #121418;
    --color-surface-hover: #1a1d24;
    --color-primary: #38d5ca;
    --color-primary-dim: rgba(56, 213, 202, 0.15);
    --color-text-main: #e2e4e9;
    --color-text-muted: #8b949e;
    --color-border: rgba(255, 255, 255, 0.08);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --transition: 0.35s ease;
    --font-stack: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

body {
    font-family: var(--font-stack);
    background-color: var(--color-bg);
    color: var(--color-text-main);
    line-height: 1.7;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition);
}

/* ==========================================================================
   Structural Primitives (Flex/Grid constraints)
   ========================================================================== */
.mesh {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 5vw;
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap;
}

.mesh > * {
    min-width: 0;
    word-break: break-word;
    overflow-wrap: break-word;
}

/* ==========================================================================
   Header (Inherited Shell)
   ========================================================================== */
.brim {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(9, 10, 12, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border);
}

.brim-bind {
    justify-content: space-between;
    align-items: center;
    height: 72px;
}

.sigil img {
    height: 28px;
    width: auto;
    display: block;
}

.reins {
    display: flex;
    flex-wrap: wrap;
    min-width: 0;
}

.weave {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    min-width: 0;
}

.fil {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text-muted);
    position: relative;
    padding: 8px 0;
    white-space: nowrap;
}

.fil:hover, 
.fil.active {
    color: var(--color-text-main);
}

.fil.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--color-primary);
    border-radius: 2px;
}

@media (max-width: 768px) {
    .weave {
        display: none; /* Simplified mobile for this test scope */
    }
}

/* ==========================================================================
   Main Content Area
   ========================================================================== */
.vault {
    display: flex;
    flex-direction: column;
    width: 100%;
}

/* --- Hero Layout (acquire) --- */
.aura {
    position: relative;
    padding: 120px 0 80px;
    background: radial-gradient(circle at 70% 30%, rgba(56, 213, 202, 0.05) 0%, transparent 60%);
    display: flex;
    flex-wrap: wrap;
    overflow: hidden;
}

.aura .mesh {
    align-items: center;
    gap: 64px;
}

.aura-knot {
    flex: 1 1 500px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    z-index: 2;
}

.helm-mega {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: #ffffff;
    margin: 0;
    white-space: normal;
}

.helm-mega span {
    color: var(--color-primary);
}

.soie-lead {
    font-size: 1.125rem;
    color: var(--color-text-muted);
    line-height: 1.6;
    margin: 0;
    max-width: 540px;
    word-break: keep-all;
}

.knot-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 16px;
}

.clasp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 28px;
    background: var(--color-surface);
    color: var(--color-text-main);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--color-border);
    cursor: pointer;
    transition: all var(--transition);
    transform: translateY(0);
}

.clasp:hover {
    background: var(--color-surface-hover);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.clasp.pulse {
    background: var(--color-primary);
    color: #000000;
    border-color: transparent;
    box-shadow: 0 4px 20px rgba(56, 213, 202, 0.2);
}

.clasp.pulse:hover {
    background: #4debe0;
    box-shadow: 0 6px 28px rgba(56, 213, 202, 0.35);
}

.glyph {
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.aura-lens {
    flex: 1 1 400px;
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--color-border);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.6);
    transform: translateY(0);
    transition: transform var(--transition);
}

.aura-lens:hover {
    transform: translateY(-8px);
}

.aura-lens img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.aura-lens::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-md);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    pointer-events: none;
}

/* --- Specs Layout (comparison grid) --- */
.realm {
    padding: 80px 0;
    display: flex;
    flex-wrap: wrap;
    background: linear-gradient(180deg, transparent 0%, rgba(18, 20, 24, 0.4) 100%);
}

.realm .mesh {
    flex-direction: column;
    gap: 48px;
}

.helm-primary {
    font-size: 2rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
    text-align: center;
}

.knot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    width: 100%;
}

.cuir {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: border-color var(--transition), transform var(--transition);
    transform: translateY(0);
}

.cuir:hover {
    border-color: rgba(56, 213, 202, 0.3);
    transform: translateY(-4px);
}

.cuir-glyph {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--color-primary-dim);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
}

.cuir-glyph svg {
    width: 24px;
    height: 24px;
}

.helm-sub {
    font-size: 1.25rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
}

.soie-weave {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.stitch-weave {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.stitch-weave::before {
    content: '';
    display: block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-primary);
    margin-top: 8px;
    flex-shrink: 0;
}

/* --- Release Notes (timeline/list) --- */
.craft {
    padding: 80px 0 120px;
    display: flex;
    flex-wrap: wrap;
}

.craft .mesh {
    flex-direction: column;
    gap: 40px;
    align-items: center;
}

.knot-stack {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    max-width: 800px;
}

.shard {
    background: rgba(18, 20, 24, 0.6);
    border: 1px solid var(--color-border);
    border-left: 4px solid var(--color-border);
    border-radius: var(--radius-sm);
    padding: 24px 32px;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    transition: all var(--transition);
}

.shard:hover {
    background: var(--color-surface);
    border-left-color: var(--color-primary);
}

.shard-bind {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1 1 300px;
}

.helm-micro {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
}

.soie-micro {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    margin: 0;
}

.stitch-pill {
    padding: 4px 12px;
    background: var(--color-primary-dim);
    color: var(--color-primary);
    font-size: 0.85rem;
    font-weight: 500;
    border-radius: 30px;
    white-space: nowrap;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.hem {
    border-top: 1px solid var(--color-border);
    background: var(--color-bg);
    padding: 60px 0 40px;
}

.seam {
    flex-direction: column;
    align-items: center;
    gap: 24px;
    text-align: center;
}

.helm-brand {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.05em;
    margin: 0;
}

.soie-legal {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.3);
    margin: 0;
}

.knot-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
}

.knot-links a {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.knot-links a:hover {
    color: var(--color-primary);
}

/* Responsive adjust */
@media (max-width: 768px) {
    .aura { padding: 80px 0 60px; }
    .helm-mega { font-size: 2.25rem; }
    .knot-actions { flex-direction: column; width: 100%; }
    .clasp { width: 100%; box-sizing: border-box; }
    .shard { flex-direction: column; padding: 20px; }
}

.reins-brim .reins-mesh{
            width: 100%;
            max-width: 1280px;
            margin: 0 auto;
            padding-left: 24px;
            padding-right: 24px;
        }

.reins-brim{
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            z-index: 100;
            background: rgba(9, 10, 12, 0.85);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        }

.reins-brim .reins-brim-bind{
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            justify-content: space-between;
            height: 72px;
        }

.reins-brim .reins-sigil{
            height: 28px;
            display: flex;
            align-items: center;
        }

.reins-brim .reins-sigil img{
            height: 100%;
            object-fit: contain;
        }

.reins-brim .reins-reins{
            display: flex;
            flex-wrap: wrap;
            align-items: center;
        }

.reins-brim .reins-weave{
            display: flex;
            flex-wrap: wrap;
            gap: 32px;
        }

.reins-brim .reins-fil{
            font-size: 0.95rem;
            font-weight: 500;
            color: #8b949e;
            position: relative;
            padding: 8px 0;
        }

.reins-brim .reins-fil:hover, .reins-brim .reins-fil.active{
            color: #38d5ca;
        }

.reins-brim .reins-fil::after{
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 2px;
            background: #38d5ca;
            transition: width 0.3s ease;
        }

.reins-brim .reins-fil:hover::after, .reins-brim .reins-fil.active::after{
            width: 100%;
        }

@media (max-width: 1024px){.reins-brim .reins-weave{
                display: none; 
            }}

.reins-brim {
    background: rgb(9, 10, 12);
    background-image: none;
}

.seam-hem {
    font-family: var(--font-sans);
    line-height: 1.7;
    word-break: break-word;
    color: var(--color-text-main);
}
.seam-hem,
.seam-hem *,
.seam-hem *::before,
.seam-hem *::after {
    box-sizing: border-box;
}

.seam-hem [role="navigation"],
.seam-hem div,
.seam-hem section,
.seam-hem article,
.seam-hem aside,
.seam-hem p,
.seam-hem h1,
.seam-hem h2,
.seam-hem h3,
.seam-hem h4,
.seam-hem h5,
.seam-hem h6,
.seam-hem a {
    margin: 0;
    padding: 0;
    font: inherit;
    color: inherit;
    letter-spacing: inherit;
    line-height: inherit;
}

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

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

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

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

.seam-hem .seam-mesh{
            width: 100%;
            max-width: 1280px;
            margin: 0 auto;
            padding-left: 24px;
            padding-right: 24px;
        }

.seam-hem .seam-flex-bind{
            display: flex;
            flex-wrap: wrap;
        }

.seam-hem .seam-helm-minor{
            font-size: 1.25rem;
            font-weight: 600;
            color: #ffffff;
            white-space: normal;
            margin-bottom: 12px;
        }

.seam-hem .seam-soie-base{
            font-size: 1rem;
            color: #8b949e;
            margin-bottom: 16px;
        }

.seam-hem{
            background: #050506;
            padding: 80px 0 40px;
            border-top: 1px solid rgba(255, 255, 255, 0.08);
        }

.seam-hem .seam-seam{
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            gap: 40px;
            margin-bottom: 60px;
        }

.seam-hem .seam-vault-brand{
            flex: 1;
            min-width: 240px;
        }

.seam-hem .seam-vault-brand .seam-helm-minor{
            color: #fff;
            margin-bottom: 16px;
            font-size: 1.5rem;
            letter-spacing: 1px;
        }

.seam-hem .seam-vault-links{
            display: flex;
            flex-wrap: wrap;
            gap: 60px;
        }

.seam-hem .seam-vault-knot{
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

.seam-hem .seam-vault-helm{
            color: #fff;
            font-weight: 600;
            font-size: 0.95rem;
            margin-bottom: 12px;
        }

.seam-hem .seam-vault-knot a{
            color: #8b949e;
            font-size: 0.9rem;
        }

.seam-hem .seam-vault-knot a:hover{
            color: #38d5ca;
        }

.seam-hem .seam-seam-bottom{
            padding-top: 32px;
            border-top: 1px solid rgba(255, 255, 255, 0.05);
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            align-items: center;
            gap: 20px;
            font-size: 0.85rem;
            color: #8b949e;
        }

@media (max-width: 768px){.seam-hem .seam-vault-links{
                flex-direction: column;
                gap: 32px;
            }}