/* ==========================================================================
   Global Variables & Design Family (Inherited from Homepage)
   ========================================================================== */
:root {
    --tg-bg: #050505;
    --tg-surface: #121212;
    --tg-surface-hover: #1a1a1a;
    --tg-surface-glass: rgba(18, 18, 18, 0.7);
    --tg-accent: #bf37b8;
    --tg-accent-glow: rgba(191, 55, 184, 0.25);
    --tg-accent-deep: #8a2485;
    --tg-text-main: #f0f0f0;
    --tg-text-muted: #999999;
    --tg-border: #262626;
    --tg-radius: 16px;
    --tg-radius-lg: 24px;
    --tg-radius-pill: 99px;
    --tg-max-width: 1280px;
    --tg-space-md: 2rem;
    --tg-space-lg: 4rem;
    --tg-transition: 0.35s ease;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--tg-bg);
    color: var(--tg-text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* ==========================================================================
   Typography & Text Utilities
   ========================================================================== */
.node {
    color: var(--tg-text-main);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
    white-space: normal;
}

.node-1 { font-size: clamp(2.5rem, 6vw, 4rem); }
.node-2 { font-size: clamp(2rem, 4vw, 2.75rem); }
.node-3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
.node-4 { font-size: 1.125rem; }

.ray {
    color: var(--tg-text-muted);
    word-break: keep-all;
    overflow-wrap: break-word;
    font-size: 1.125rem;
}

.ray-sm {
    font-size: 0.875rem;
    color: #666;
}

.highlight {
    color: var(--tg-accent);
}

/* ==========================================================================
   Structural Layouts & Containers
   ========================================================================== */
.fold { /* main container */
    display: flex;
    flex-direction: column;
    gap: 6rem;
    padding-bottom: 6rem;
}

.leaf { /* max-width shell */
    max-width: var(--tg-max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
    width: 100%;
}

.wing { /* flex row */
    display: flex;
    flex-wrap: wrap;
    gap: var(--tg-space-md);
}

.wing-center {
    align-items: center;
}

.hue { /* flex item */
    min-width: 0;
    flex: 1 1 300px;
}

/* ==========================================================================
   Header & Navigation (Strict Match)
   ========================================================================== */
.halo {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--tg-border);
    padding: 1rem 0;
}

.halo-inner {
    max-width: var(--tg-max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ink img {
    height: 32px;
    width: auto;
    display: block;
}

.loop {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.glyph {
    color: var(--tg-text-main);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color var(--tg-transition);
}

.glyph:hover {
    color: var(--tg-accent);
}

.glyph.active {
    color: var(--tg-accent);
    position: relative;
}

.glyph.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--tg-accent);
    border-radius: 2px;
}

/* ==========================================================================
   Section Variants (Role-based backgrounds)
   ========================================================================== */
.vista { /* Hero Acquire Variant */
    position: relative;
    padding-top: 4rem;
    background: radial-gradient(circle at 10% 20%, rgba(191, 55, 184, 0.08) 0%, transparent 50%);
}

.cloud { /* Comparison Variant */
    background: linear-gradient(180deg, transparent, rgba(18, 18, 18, 0.3) 10%, rgba(18, 18, 18, 0.3) 90%, transparent);
    padding: 4rem 0;
    border-top: 1px solid var(--tg-border);
    border-bottom: 1px solid var(--tg-border);
}

.flare { /* Feature Acquire Variant */
    position: relative;
}
.flare::before {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 40vw;
    height: 40vw;
    background: radial-gradient(circle, var(--tg-accent-glow) 0%, transparent 60%);
    z-index: -1;
    pointer-events: none;
}

.hull { /* Steps Variant */
    padding-top: 2rem;
}

/* ==========================================================================
   Components (Cards, Buttons, Media)
   ========================================================================== */
.dart {
    background: var(--tg-surface);
    border: 1px solid var(--tg-border);
    border-radius: var(--tg-radius-lg);
    padding: 2rem;
    transition: transform var(--tg-transition), border-color var(--tg-transition), box-shadow var(--tg-transition);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.dart:hover {
    transform: translateY(-5px);
    border-color: var(--tg-accent);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5), 0 0 20px var(--tg-accent-glow);
}

.dart::before { /* Glass shine effect */
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.03), transparent);
    transform: skewX(-20deg);
    transition: left 0.7s ease;
}

.dart:hover::before {
    left: 150%;
}

.zap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 1.75rem;
    background: var(--tg-accent);
    color: #fff;
    border-radius: var(--tg-radius);
    font-weight: 600;
    text-decoration: none;
    border: 1px solid transparent;
    transition: all var(--tg-transition);
    cursor: pointer;
    gap: 0.5rem;
}

.zap:hover, .zap:focus {
    background: var(--tg-accent-deep);
    box-shadow: 0 0 15px var(--tg-accent-glow);
}

.zap-ghost {
    background: transparent;
    border-color: var(--tg-border);
    color: var(--tg-text-main);
}
.zap-ghost:hover {
    border-color: var(--tg-accent);
    color: var(--tg-accent);
    background: rgba(191, 55, 184, 0.05);
    box-shadow: none;
}

.mark {
    width: 100%;
    height: auto;
    border-radius: var(--tg-radius-lg);
    border: 1px solid var(--tg-border);
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
    object-fit: cover;
    display: block;
}

.echo {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(255,255,255,0.05);
    margin-bottom: 1.5rem;
    color: var(--tg-accent);
}

/* ==========================================================================
   Specific Layout Adjustments
   ========================================================================== */
.vista .hue:first-child {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-right: 2rem;
}

.vista .wing {
    align-items: center;
}

/* Data List inside cards for comparison */
.slate {
    margin: 1.5rem 0;
    flex-grow: 1;
}
.slate dt {
    color: var(--tg-text-muted);
    font-size: 0.875rem;
    margin-top: 0.5rem;
}
.slate dd {
    color: var(--tg-text-main);
    font-weight: 500;
    margin-bottom: 0.5rem;
    margin-left: 0;
}

/* Steps Styling */
.orbit {
    list-style: none;
    counter-reset: step-counter;
    position: relative;
}
.orbit .hue {
    position: relative;
    padding: 2rem;
    background: var(--tg-surface);
    border-radius: var(--tg-radius);
    border: 1px solid var(--tg-border);
    z-index: 1;
}
.orbit .hue::before {
    counter-increment: step-counter;
    content: "0" counter(step-counter);
    position: absolute;
    top: -1.5rem;
    left: 2rem;
    font-size: 3rem;
    font-weight: 800;
    color: var(--tg-bg);
    text-shadow: -1px -1px 0 var(--tg-border), 1px -1px 0 var(--tg-border), -1px 1px 0 var(--tg-border), 1px 1px 0 var(--tg-border);
    z-index: -1;
    opacity: 0.5;
    transition: color var(--tg-transition);
}
.orbit .hue:hover::before {
    color: var(--tg-accent-glow);
    text-shadow: none;
}

/* Section Header Alignment */
.node-center {
    text-align: center;
    margin-bottom: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.blip {
    border-top: 1px solid var(--tg-border);
    padding: 4rem 0 2rem;
    background: var(--tg-bg);
    margin-top: auto;
}
.blip-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 2rem;
}
.blip-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--tg-text-main);
    letter-spacing: -0.02em;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
    .node-1 { font-size: 3rem; }
    .fold { gap: 4rem; padding-bottom: 4rem; }
    .vista .hue:first-child { padding-right: 0; margin-bottom: 2rem; }
}

@media (max-width: 768px) {
    .halo-inner { flex-direction: column; gap: 1rem; }
    .loop { flex-wrap: wrap; justify-content: center; gap: 1rem; }
    .wing { flex-direction: column; }
    .hue { width: 100%; flex: none; }
    .cloud { padding: 3rem 0; }
}

.helm-halo {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: var(--tg-text-main);
}
.helm-halo,
.helm-halo *,
.helm-halo *::before,
.helm-halo *::after {
    box-sizing: border-box;
}

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

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

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

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

.helm-halo a.helm-glyph {
    --aisite-shell-nav-padding: 0;
    --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;
}

.helm-halo a.helm-glyph,
.helm-halo a.helm-glyph:hover,
.helm-halo a.helm-glyph:focus,
.helm-halo a.helm-glyph:active,
.helm-halo a.helm-glyph.active,
.helm-halo a.helm-glyph[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);
}

.helm-halo .helm-wing{
            display: flex;
            flex-wrap: wrap;
        }

.helm-halo .helm-wing > *{
            min-width: 0;
        }

.helm-halo{
            position: sticky;
            top: 0;
            z-index: 100;
            background: rgba(5, 5, 5, 0.8);
            backdrop-filter: blur(12px);
            border-bottom: 1px solid #262626;
            padding: 1rem 2rem;
        }

.helm-halo .helm-halo-inner{
            max-width: 1280px;
            margin: 0 auto;
            justify-content: space-between;
            align-items: center;
        }

.helm-halo .helm-ink img{
            height: 32px;
            width: auto;
            display: block;
        }

.helm-halo .helm-loop{
            gap: 2rem;
            align-items: center;
        }

.helm-halo .helm-glyph{
            color: #999999;
            text-decoration: none;
            font-size: 0.95rem;
            font-weight: 500;
            transition: all 0.35s ease;
            position: relative;
        }

.helm-halo .helm-glyph:hover{
            color: #f0f0f0;
        }

.helm-halo .helm-glyph.active{
            color: #f0f0f0;
        }

.helm-halo .helm-glyph.active::after{
            content: '';
            position: absolute;
            bottom: -1.25rem;
            left: 0;
            width: 100%;
            height: 2px;
            background: #bf37b8;
            box-shadow: 0 0 10px rgba(191, 55, 184, 0.2);
        }

@media (max-width: 768px){.helm-halo .helm-halo-inner{ flex-direction: column; gap: 1rem; }

.helm-halo .helm-loop{ gap: 1rem; flex-wrap: wrap; justify-content: center; }}

.helm-halo {
    background: rgb(5, 5, 5);
    background-image: none;
}

.root-blip {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: var(--tg-text-main);
}
.root-blip,
.root-blip *,
.root-blip *::before,
.root-blip *::after {
    box-sizing: border-box;
}

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

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

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

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

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

.root-blip .root-wing{
            display: flex;
            flex-wrap: wrap;
        }

.root-blip .root-wing > *{
            min-width: 0;
        }

.root-blip .root-ray{
            word-break: break-word;
            overflow-wrap: break-word;
        }

.root-blip p.root-ray{
            word-break: keep-all;
            line-height: 1.7;
        }

.root-blip{
            border-top: 1px solid #262626;
            padding: 4rem 2rem 2rem;
            background: #050505;
            margin-top: auto;
        }

.root-blip .root-base{
            max-width: 1280px;
            margin: 0 auto;
            justify-content: space-between;
            align-items: flex-start;
            gap: 3rem;
        }

.root-blip .root-root-brand{
            font-size: 1.5rem;
            font-weight: 700;
            color: #f0f0f0;
            margin-bottom: 1rem;
        }

.root-blip .root-root-links{
            gap: 4rem;
        }

.root-blip .root-wire{
            display: flex;
            flex-direction: column;
            gap: 0.75rem;
        }

.root-blip .root-wire-node{
            color: #f0f0f0;
            font-weight: 600;
            margin-bottom: 0.5rem;
        }

.root-blip .root-wire-glyph{
            color: #999999;
            text-decoration: none;
            transition: all 0.35s ease;
            font-size: 0.9rem;
        }

.root-blip .root-wire-glyph:hover{
            color: #bf37b8;
        }

.root-blip .root-seal{
            max-width: 1280px;
            margin: 3rem auto 0;
            padding-top: 2rem;
            border-top: 1px solid #262626;
            text-align: center;
            color: #999999;
            font-size: 0.875rem;
        }

@media (max-width: 768px){.root-blip .root-base{ flex-direction: column; }

.root-blip .root-root-links{ flex-direction: column; gap: 2rem; }}