:root {
    --primary: #ff6b35;
    --primary-dark: #e85a2a;
    --primary-light: #ff8f66;
    --secondary: #7c3aed;
    --secondary-light: #a78bfa;
    --accent: #06b6d4;
    --bg: #fafafa;
    --bg-card: #ffffff;
    --bg-glass: rgba(255, 255, 255, 0.72);
    --bg-glass-border: rgba(255, 255, 255, 0.45);
    --text: #1a1a2e;
    --text-secondary: #4a4a6a;
    --text-muted: #8888a0;
    --border: #e8e8f0;
    --shadow-sm: 0 2px 8px rgba(26, 26, 46, 0.06);
    --shadow-md: 0 8px 30px rgba(26, 26, 46, 0.08);
    --shadow-lg: 0 20px 60px rgba(26, 26, 46, 0.12);
    --shadow-glow: 0 8px 32px rgba(255, 107, 53, 0.25);
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg: #0f0f1a;
        --bg-card: #1a1a2e;
        --bg-glass: rgba(26, 26, 46, 0.72);
        --bg-glass-border: rgba(255, 255, 255, 0.08);
        --text: #f0f0f8;
        --text-secondary: #b0b0c8;
        --text-muted: #707088;
        --border: #2a2a40;
        --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
        --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.4);
        --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.5);
        --shadow-glow: 0 8px 32px rgba(255, 107, 53, 0.15);
    }
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    font-size: 16px;
}

body {
    font-family: var(--font);
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    transition: background-color var(--transition), color var(--transition);
}

::selection {
    background: var(--primary);
    color: #fff;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color var(--transition), opacity var(--transition);
}

a:hover {
    color: var(--primary-dark);
    opacity: 0.85;
}

a:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
    border-radius: 4px;
}

ul,
ol {
    list-style: none;
}

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

/* ===== HEADER ===== */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--bg-glass);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--bg-glass-border);
    transition: background var(--transition), box-shadow var(--transition);
}

header:hover {
    box-shadow: var(--shadow-sm);
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
    gap: 16px;
}

nav > a {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    transition: color var(--transition), transform var(--transition);
}

nav > a:hover {
    color: var(--primary);
    transform: scale(1.02);
    opacity: 1;
}

nav > a::before {
    content: "咚";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 800;
    box-shadow: var(--shadow-glow);
    flex-shrink: 0;
}

nav ul {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
}

nav ul li a {
    display: block;
    padding: 8px 14px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    position: relative;
    white-space: nowrap;
}

nav ul li a::after {
    content: "";
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 60%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
    transition: transform var(--transition);
}

nav ul li a:hover {
    color: var(--primary);
    background: rgba(255, 107, 53, 0.08);
    opacity: 1;
}

nav ul li a:hover::after {
    transform: translateX(-50%) scaleX(1);
}

/* ===== MAIN ===== */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px 60px;
}

/* ===== H1 BANNER ===== */
main > h1 {
    margin: 32px 0 0;
    padding: 80px 48px;
    font-size: clamp(1.6rem, 4vw, 2.8rem);
    font-weight: 900;
    line-height: 1.3;
    letter-spacing: -0.03em;
    color: #fff;
    background: linear-gradient(135deg, #ff6b35 0%, #ff4d6d 35%, #7c3aed 70%, #06b6d4 100%);
    background-size: 300% 300%;
    border-radius: var(--radius-xl);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg), 0 0 80px rgba(255, 107, 53, 0.2);
    animation: gradientShift 8s ease infinite;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

main > h1::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.25) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: float 6s ease-in-out infinite;
}

main > h1::after {
    content: "";
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: float 8s ease-in-out infinite reverse;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes float {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-20px) scale(1.05); }
}

main > h1 + p {
    margin: 28px 0 0;
    padding: 28px 32px;
    font-size: 1.05rem;
    color: var(--text-secondary);
    background: var(--bg-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--bg-glass-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    line-height: 1.9;
    transition: transform var(--transition), box-shadow var(--transition);
}

main > h1 + p:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

/* ===== SECTIONS ===== */
section {
    margin-top: 48px;
    padding: 40px 36px;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
    position: relative;
    overflow: hidden;
}

section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
    opacity: 0;
    transition: opacity var(--transition);
}

section:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}

section:hover::before {
    opacity: 1;
}

section h2 {
    font-size: clamp(1.3rem, 2.5vw, 1.75rem);
    font-weight: 800;
    color: var(--text);
    margin-bottom: 20px;
    letter-spacing: -0.02em;
    position: relative;
    padding-left: 18px;
    line-height: 1.4;
}

section h2::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 70%;
    background: linear-gradient(180deg, var(--primary), var(--secondary));
    border-radius: 3px;
}

section h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text);
    margin: 24px 0 10px;
    letter-spacing: -0.01em;
    transition: color var(--transition);
}

section h3:hover {
    color: var(--primary);
}

section p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.9;
    margin-bottom: 12px;
}

section p:last-child {
    margin-bottom: 0;
}

/* ===== BRAND SECTION ===== */
#brand {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.04), rgba(124, 58, 237, 0.04));
}

/* ===== PRODUCTS SECTION ===== */
#products {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.04), rgba(124, 58, 237, 0.04));
}

/* ===== SOLUTIONS SECTION ===== */
#solutions {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.04), rgba(6, 182, 212, 0.04));
}

/* ===== CASES SECTION ===== */
#cases {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.04), rgba(255, 107, 53, 0.04));
}

#cases h3 {
    padding: 16px 20px;
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--bg-glass-border);
    border-radius: var(--radius-md);
    margin: 16px 0 8px;
    transition: all var(--transition);
}

#cases h3:hover {
    transform: translateX(6px);
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}

#cases h2 + h2 {
    margin-top: 36px;
}

#cases p:last-of-type {
    font-style: italic;
    padding: 14px 20px;
    background: rgba(255, 107, 53, 0.06);
    border-left: 3px solid var(--primary);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    color: var(--text-secondary);
}

/* ===== NEWS SECTION ===== */
#news ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 8px;
}

#news ul li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 20px;
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--bg-glass-border);
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    color: var(--text-secondary);
    transition: all var(--transition);
    cursor: default;
}

#news ul li:hover {
    transform: translateX(8px);
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
    background: rgba(255, 107, 53, 0.06);
}

#news ul li time {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
    letter-spacing: 0.02em;
}

/* ===== ARTICLES SECTION ===== */
#articles {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
    padding: 40px 36px;
}

#articles > h2 {
    grid-column: 1 / -1;
}

#articles article {
    padding: 24px;
    background: var(--bg-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--bg-glass-border);
    border-radius: var(--radius-md);
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative;
    overflow: hidden;
}

#articles article::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition);
}

#articles article:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: var(--shadow-md), var(--shadow-glow);
    border-color: transparent;
}

#articles article:hover::before {
    transform: scaleX(1);
}

#articles article h3 {
    font-size: 1.05rem;
    margin: 0;
    line-height: 1.5;
}

#articles article time {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

#articles article p {
    font-size: 0.9rem;
    margin: 0;
    flex: 1;
}

#articles article a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--primary);
    margin-top: 4px;
    transition: all var(--transition);
    align-self: flex-start;
}

#articles article a::after {
    content: "→";
    transition: transform var(--transition);
}

#articles article a:hover {
    gap: 10px;
    opacity: 1;
}

#articles article a:hover::after {
    transform: translateX(4px);
}

/* ===== KNOWLEDGE SECTION ===== */
#knowledge {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.04), rgba(255, 107, 53, 0.04));
}

#knowledge h2 + p {
    padding: 16px 20px;
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--bg-glass-border);
    border-radius: var(--radius-md);
    margin-bottom: 20px;
}

/* ===== FAQ SECTION ===== */
#faq dl {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 8px;
}

#faq dt {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text);
    padding: 16px 20px 8px;
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--bg-glass-border);
    border-bottom: none;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
    cursor: pointer;
    transition: all var(--transition);
    position: relative;
    padding-left: 44px;
}

#faq dt::before {
    content: "Q";
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 800;
}

#faq dt:hover {
    color: var(--primary);
    border-color: var(--primary);
}

#faq dd {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.85;
    padding: 0 20px 16px 44px;
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--bg-glass-border);
    border-top: none;
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    margin-bottom: 4px;
    position: relative;
}

#faq dd::before {
    content: "A";
    position: absolute;
    left: 16px;
    top: 2px;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent);
    color: #fff;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 800;
}

/* ===== HOWTO SECTION ===== */
#howto {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.05), rgba(6, 182, 212, 0.05));
}

#howto ol {
    counter-reset: step;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 16px 0;
    padding: 0;
}

#howto ol li {
    counter-increment: step;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 20px;
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--bg-glass-border);
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    color: var(--text-secondary);
    transition: all var(--transition);
    position: relative;
    padding-left: 56px;
}

#howto ol li::before {
    content: counter(step);
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    border-radius: 50%;
    font-size: 0.8rem;
    font-weight: 800;
    box-shadow: var(--shadow-glow);
}

#howto ol li:hover {
    transform: translateX(8px);
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}

#howto h3 {
    margin-top: 28px;
}

#howto h3:first-of-type {
    margin-top: 0;
}

/* ===== CONTACT SECTION ===== */
#contact {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.05), rgba(124, 58, 237, 0.05));
}

#contact > p {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    font-size: 0.95rem;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}

#contact > p:hover {
    background: rgba(255, 107, 53, 0.06);
    transform: translateX(4px);
}

#contact > p::before {
    content: "•";
    color: var(--primary);
    font-weight: 800;
    font-size: 1.2rem;
    flex-shrink: 0;
}

#contact h3 {
    margin-top: 28px;
}

/* ===== SITEMAP SECTION ===== */
#sitemap ul {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 10px;
    margin-top: 8px;
}

#sitemap ul li a {
    display: block;
    padding: 12px 16px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--bg-glass-border);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    text-align: center;
}

#sitemap ul li a:hover {
    color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
    opacity: 1;
}

/* ===== LINKS SECTION ===== */
#links ul {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 8px;
}

#links ul li a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-secondary);
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--bg-glass-border);
    border-radius: 50px;
    transition: all var(--transition);
}

#links ul li a::before {
    content: "🔗";
    font-size: 0.8rem;
}

#links ul li a:hover {
    color: var(--primary);
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
    opacity: 1;
}

/* ===== LEGAL SECTION ===== */
#legal {
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.03), rgba(124, 58, 237, 0.03));
}

#legal h2 {
    font-size: 1.1rem;
    margin-top: 24px;
}

#legal h2:first-of-type {
    margin-top: 0;
}

#legal p {
    font-size: 0.88rem;
    color: var(--text-muted);
}

/* ===== FOOTER ===== */
footer {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 24px 60px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px 32px;
    justify-content: center;
    border-top: 1px solid var(--border);
    margin-top: 48px;
}

footer p {
    font-size: 0.82rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color var(--transition);
}

footer p:hover {
    color: var(--primary);
}

footer p::before {
    content: "◆";
    font-size: 0.5rem;
    color: var(--primary);
    opacity: 0.6;
}

/* ===== SCROLL ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

section {
    animation: fadeInUp 0.7s ease-out both;
}

section:nth-child(1) { animation-delay: 0.05s; }
section:nth-child(2) { animation-delay: 0.1s; }
section:nth-child(3) { animation-delay: 0.15s; }
section:nth-child(4) { animation-delay: 0.2s; }
section:nth-child(5) { animation-delay: 0.25s; }
section:nth-child(6) { animation-delay: 0.3s; }
section:nth-child(7) { animation-delay: 0.35s; }
section:nth-child(8) { animation-delay: 0.4s; }
section:nth-child(9) { animation-delay: 0.45s; }
section:nth-child(10) { animation-delay: 0.5s; }
section:nth-child(11) { animation-delay: 0.55s; }
section:nth-child(12) { animation-delay: 0.6s; }
section:nth-child(13) { animation-delay: 0.65s; }
section:nth-child(14) { animation-delay: 0.7s; }

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary), var(--secondary));
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    nav ul li a {
        padding: 6px 10px;
        font-size: 0.82rem;
    }

    main > h1 {
        padding: 60px 36px;
    }

    section {
        padding: 32px 28px;
    }

    #articles {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        padding: 32px 28px;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 15px;
    }

    nav {
        padding: 0 16px;
        height: 60px;
    }

    nav > a {
        font-size: 1.15rem;
    }

    nav > a::before {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }

    nav ul {
        display: none;
    }

    main {
        padding: 0 16px 40px;
    }

    main > h1 {
        margin-top: 20px;
        padding: 48px 24px;
        border-radius: var(--radius-lg);
        font-size: clamp(1.4rem, 5vw, 2rem);
    }

    main > h1 + p {
        padding: 20px 20px;
        font-size: 0.95rem;
        border-radius: var(--radius-md);
    }

    section {
        margin-top: 32px;
        padding: 24px 20px;
        border-radius: var(--radius-md);
    }

    section h2 {
        font-size: 1.25rem;
        margin-bottom: 16px;
        padding-left: 14px;
    }

    section h3 {
        font-size: 1.05rem;
    }

    #articles {
        grid-template-columns: 1fr;
        padding: 24px 20px;
        gap: 14px;
    }

    #articles article {
        padding: 20px;
    }

    #news ul li {
        flex-direction: column;
        gap: 8px;
        padding: 14px 16px;
    }

    #faq dt {
        padding: 14px 16px 6px 40px;
        font-size: 0.9rem;
    }

    #faq dt::before {
        left: 14px;
        width: 20px;
        height: 20px;
        font-size: 0.65rem;
    }

    #faq dd {
        padding: 0 16px 14px 40px;
        font-size: 0.85rem;
    }

    #faq dd::before {
        left: 14px;
        width: 20px;
        height: 20px;
        font-size: 0.65rem;
    }

    #howto ol li {
        padding: 14px 16px 14px 50px;
        font-size: 0.9rem;
    }

    #howto ol li::before {
        left: 14px;
        width: 24px;
        height: 24px;
        font-size: 0.75rem;
    }

    #sitemap ul {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    #sitemap ul li a {
        padding: 10px 12px;
        font-size: 0.85rem;
    }

    #links ul {
        gap: 8px;
    }

    #links ul li a {
        padding: 8px 14px;
        font-size: 0.82rem;
    }

    footer {
        padding: 32px 16px 48px;
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }

    footer p {
        font-size: 0.78rem;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 14px;
    }

    main > h1 {
        padding: 36px 20px;
        font-size: 1.3rem;
        border-radius: var(--radius-md);
    }

    main > h1 + p {
        padding: 16px;
        font-size: 0.9rem;
    }

    section {
        padding: 20px 16px;
        margin-top: 24px;
    }

    section h2 {
        font-size: 1.15rem;
    }

    #articles {
        padding: 20px 16px;
    }

    #articles article {
        padding: 16px;
    }

    #sitemap ul {
        grid-template-columns: 1fr 1fr;
    }

    #sitemap ul li a {
        padding: 8px 10px;
        font-size: 0.8rem;
    }
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ===== PRINT ===== */
@media print {
    header,
    footer,
    #links,
    #sitemap {
        display: none;
    }

    body {
        background: #fff;
        color: #000;
    }

    section {
        box-shadow: none;
        border: 1px solid #ddd;
        break-inside: avoid;
    }
}