:root {
    --color-primary: #de4d3d;
    --color-primary-hover: #f05a49;
    --color-bg-base: #0a0b0e;
    --color-bg-surface: #12141a;
    --color-bg-elevated: #1a1d24;
    --color-font-main: #ffffff;
    --color-font-muted: #94a0b8;
    --color-border: rgba(255, 255, 255, 0.08);
    --radius-sm: 6px;
    --radius-md: 10px;
    --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --transition: all 0.25s ease;
}

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

body {
    font-family: var(--font-family);
    background-color: var(--color-bg-base);
    color: var(--color-font-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Base Utility */
.spell-root {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.smart-board {
    flex: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
}

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

img, svg {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Text Wrapping Constraint */
.cloud-font, 
.phrase-font, 
.lex-font, 
.skin-font,
.phrase-stroke {
    word-break: break-word;
    overflow-wrap: break-word;
    word-break: keep-all; /* Better for Chinese */
}

/* Header & Nav (Strictly Inherited) */
.spell-crown {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(10, 11, 14, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border);
}

.glide-bar {
    max-width: 1248px;
    margin: 0 auto;
    padding: 0 24px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    min-width: 0;
}

.spell-mark {
    height: 28px;
    display: flex;
    align-items: center;
    min-width: 0;
}

.spell-mark img {
    height: 100%;
    width: auto;
}

.glide-chord {
    display: flex;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
    min-width: 0;
}

.glide-path {
    color: var(--color-font-muted);
    font-size: 15px;
    font-weight: 500;
    white-space: normal;
}

.glide-path:hover,
.glide-path.active {
    color: var(--color-primary);
}

/* Section Common */
.cloud-zone,
.phrase-pool,
.lex-zone,
.skin-board {
    padding: 80px 24px;
    width: 100%;
}

.cloud-chord,
.phrase-chord,
.lex-chord,
.skin-chord {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    min-width: 0;
}

/* Section Headers */
.phrase-head,
.lex-head,
.skin-head {
    font-size: clamp(2rem, 3.5vw, 2.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 48px;
    width: 100%;
    text-align: center;
    white-space: normal;
}

/* Buttons */
.type-tap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 32px;
    height: 48px;
    font-size: 16px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    cursor: pointer;
    transition: var(--transition);
}

.type-tap-primary {
    background-color: var(--color-primary);
    color: #fff;
    box-shadow: 0 8px 32px rgba(222, 77, 61, 0.15);
}

.type-tap-primary:hover,
.type-tap-primary:focus {
    background-color: var(--color-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(222, 77, 61, 0.25);
}

.type-tap-secondary {
    background-color: var(--color-bg-surface);
    color: var(--color-font-main);
    border-color: var(--color-border);
}

.type-tap-secondary:hover,
.type-tap-secondary:focus {
    background-color: var(--color-bg-elevated);
    border-color: var(--color-font-muted);
}

/* Block 1: Hero (Acquire) */
.cloud-zone {
    padding-top: 100px;
    padding-bottom: 100px;
    background: radial-gradient(circle at 80% 20%, rgba(222, 77, 61, 0.05) 0%, transparent 50%), var(--color-bg-base);
    border-bottom: 1px solid var(--color-border);
}

.cloud-chord {
    gap: 60px;
    align-items: center;
}

.cloud-shell {
    flex: 1;
    min-width: 320px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.cloud-head {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    white-space: normal;
}

.cloud-font {
    font-size: 1.125rem;
    color: var(--color-font-muted);
    max-width: 500px;
}

.cloud-bar {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 16px;
    min-width: 0;
}

.cloud-stroke {
    font-size: 0.875rem;
    color: var(--color-font-muted);
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}

.cloud-pic-shell {
    flex: 1.2;
    min-width: 320px;
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.4);
    border: 1px solid var(--color-border);
}

.cloud-pic-shell::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 80%, var(--color-bg-base) 100%);
    pointer-events: none;
}

/* Block 2: Platform Grid (Comparison) */
.phrase-pool {
    background-color: var(--color-bg-surface);
}

.phrase-chord {
    gap: 24px;
}

.phrase-shell {
    flex: 1;
    min-width: 260px;
    background: var(--color-bg-elevated);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 40px 32px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.phrase-shell:hover {
    transform: translateY(-4px);
    border-color: rgba(222, 77, 61, 0.3);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.phrase-glyph {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    margin-bottom: 8px;
}

.phrase-glyph svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.phrase-stroke {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.phrase-stroke dt {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-font-main);
}

.phrase-stroke dd {
    font-size: 0.95rem;
    color: var(--color-font-muted);
}

.phrase-bar {
    margin-top: auto;
    padding-top: 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    min-width: 0;
}

.phrase-path {
    font-size: 0.9rem;
    color: var(--color-primary);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-weight: 500;
}

.phrase-path:hover {
    color: var(--color-primary-hover);
}

/* Block 3: Sync Feature */
.lex-zone {
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.lex-chord {
    align-items: center;
    gap: 80px;
}

.lex-shell {
    flex: 1;
    min-width: 320px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.lex-head {
    text-align: left;
    margin-bottom: 0;
}

.lex-font {
    font-size: 1.1rem;
    color: var(--color-font-muted);
}

.lex-keys {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 16px;
}

.lex-stroke {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.lex-glyph {
    width: 24px;
    height: 24px;
    color: var(--color-primary);
    flex-shrink: 0;
}

.lex-pic-shell {
    flex: 1.2;
    min-width: 320px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

/* Block 4: Security (Acquire) */
.skin-board {
    background: radial-gradient(circle at center, var(--color-bg-surface) 0%, var(--color-bg-base) 100%);
    padding-bottom: 120px;
}

.skin-chord {
    display: flex;
    justify-content: center;
    gap: 32px;
    list-style: none;
    width: 100%;
}

.skin-shell {
    flex: 1;
    min-width: 240px;
    max-width: 340px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 32px 24px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.skin-glyph {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(222, 77, 61, 0.1);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.skin-glyph svg {
    width: 28px;
    height: 28px;
}

.skin-stroke {
    font-size: 1.125rem;
    font-weight: 600;
}

.skin-font {
    font-size: 0.9rem;
    color: var(--color-font-muted);
}

/* Footer */
.dict-tail {
    border-top: 1px solid var(--color-border);
    padding: 60px 24px 40px;
    background: var(--color-bg-base);
}

.dict-chord {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.dict-font {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-font-main);
    letter-spacing: 0.05em;
}

.dict-bar {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
}

.dict-path {
    color: var(--color-font-muted);
    font-size: 0.9rem;
}

.dict-path:hover {
    color: var(--color-font-main);
}

.dict-stroke {
    font-size: 0.85rem;
    color: rgba(148, 160, 184, 0.6);
    text-align: center;
}

/* Responsive */
@media (max-width: 1024px) {
    .cloud-chord,
    .lex-chord {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .glide-chord {
        display: none; /* Mobile menu behavior simplified for this scope */
    }
    
    .cloud-zone,
    .phrase-pool,
    .lex-zone,
    .skin-board {
        padding: 60px 20px;
    }
    
    .cloud-chord,
    .phrase-chord,
    .lex-chord,
    .skin-chord {
        flex-direction: column;
    }
    
    .skin-shell {
        max-width: 100%;
    }
    
    .cloud-bar {
        flex-direction: column;
        width: 100%;
    }
    
    .type-tap {
        width: 100%;
    }
    
    .lex-head {
        text-align: center;
    }
    
    .lex-shell {
        order: -1;
    }
}

.spell-spell-crown {
    font-family: var(--font-stack);
    line-height: 1.6;
    color: var(--color-font-main);
}
.spell-spell-crown,
.spell-spell-crown *,
.spell-spell-crown *::before,
.spell-spell-crown *::after {
    box-sizing: border-box;
}

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

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

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

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

.spell-spell-crown a.spell-glide-path {
    --aisite-shell-nav-padding: 8px 16px;
    --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;
}

.spell-spell-crown a.spell-glide-path,
.spell-spell-crown a.spell-glide-path:hover,
.spell-spell-crown a.spell-glide-path:focus,
.spell-spell-crown a.spell-glide-path:active,
.spell-spell-crown a.spell-glide-path.active,
.spell-spell-crown a.spell-glide-path[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);
}

.spell-spell-crown{
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            z-index: 100;
            background: rgba(10, 11, 14, 0.8);
            backdrop-filter: blur(12px);
            border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        }

.spell-spell-crown .spell-glide-bar{
            max-width: 1280px;
            margin: 0 auto;
            padding: 0 24px;
            height: 72px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            flex-wrap: wrap;
        }

.spell-spell-crown .spell-spell-mark{
            display: flex;
            align-items: center;
            min-width: 0;
        }

.spell-spell-crown .spell-spell-mark img{
            height: 28px;
            width: auto;
        }

.spell-spell-crown .spell-glide-chord{
            display: flex;
            align-items: center;
            gap: 8px;
            flex-wrap: wrap;
            min-width: 0;
        }

.spell-spell-crown .spell-glide-path{
            padding: 8px 16px;
            font-size: 0.95rem;
            color: #94a0b8;
            border-radius: 6px;
            transition: all 0.25s ease;
            min-width: 0;
        }

.spell-spell-crown .spell-glide-path:hover, .spell-spell-crown .spell-glide-path.active{
            color: #ffffff;
            background: rgba(255, 255, 255, 0.05);
        }

@media (max-width: 768px){.spell-spell-crown .spell-glide-bar{
                flex-direction: column;
                height: auto;
                padding: 16px 24px;
                gap: 16px;
            }

.spell-spell-crown .spell-glide-chord{
                justify-content: center;
                width: 100%;
            }}

.spell-spell-crown {
    background: rgb(10, 11, 14);
    background-image: none;
}

.dict-root-tail {
    font-family: var(--font-stack);
    line-height: 1.6;
    color: var(--color-font-main);
}
.dict-root-tail,
.dict-root-tail *,
.dict-root-tail *::before,
.dict-root-tail *::after {
    box-sizing: border-box;
}

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

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

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

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

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

.dict-root-tail .dict-dict-font{
            word-break: break-word;
            overflow-wrap: break-word;
            word-break: keep-all;
        }

.dict-root-tail{
            background: #0a0b0e;
            border-top: 1px solid rgba(255, 255, 255, 0.08);
            padding: 60px 24px;
            margin-top: auto;
        }

.dict-root-tail .dict-dict-zone{
            max-width: 1280px;
            margin: 0 auto;
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            align-items: center;
            gap: 24px;
        }

.dict-root-tail .dict-dict-font{
            color: #94a0b8;
            font-size: 0.9rem;
            min-width: 0;
        }

.dict-root-tail .dict-dict-chord{
            display: flex;
            gap: 24px;
            flex-wrap: wrap;
            min-width: 0;
        }

.dict-root-tail .dict-dict-path{
            color: #94a0b8;
            font-size: 0.9rem;
            transition: all 0.25s ease;
            min-width: 0;
        }

.dict-root-tail .dict-dict-path:hover{
            color: #ffffff;
        }

@media (max-width: 768px){.dict-root-tail .dict-dict-zone{
                flex-direction: column;
                text-align: center;
                justify-content: center;
            }}