:root {
    --primary: #7c3aed;
    --primary-dark: #5b21b6;
    --accent: #f59e0b;
    --surface: rgba(255,255,255,.91);
    --surface-strong: #ffffff;
    --border: #e2e8f0;
    --text: #0f172a;
    --muted: #64748b;
    --success: #16a34a;
    --warning: #b45309;
    --danger: #dc2626;
    --shadow: 0 20px 60px rgba(15,23,42,.10);
    --radius-xl: 24px;
    --radius-lg: 18px;
    --radius-md: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(124,58,237,.18), transparent 24%),
        radial-gradient(circle at top right, rgba(245,158,11,.16), transparent 20%),
        linear-gradient(180deg, #f8fafc 0%, #eef2ff 100%);
}

.page-shell { min-height: 100vh; padding: 32px 0 48px; }

.hero-card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.4);
    background: linear-gradient(135deg, rgba(91,33,182,.97), rgba(124,58,237,.90) 55%, rgba(245,158,11,.78));
    color: #fff;
    border-radius: 28px;
    box-shadow: var(--shadow);
    padding: 30px;
}

.hero-card::before,
.hero-card::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,.10);
}
.hero-card::before { width: 120px; height: 120px; left: -35px; top: -45px; }
.hero-card::after { width: 250px; height: 250px; right: -75px; bottom: -85px; }

.brand-wrap { position: relative; z-index: 1; display: flex; align-items: center; gap: 18px; }
.brand-logo {
    width: 72px; height: 72px; border-radius: 20px;
    background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.16);
    display: flex; align-items: center; justify-content: center; padding: 10px;
    backdrop-filter: blur(8px); flex-shrink: 0;
}
.brand-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.hero-card h1 { margin: 0; font-size: clamp(1.75rem,3vw,2.55rem); font-weight: 800; letter-spacing: -.03em; }
.hero-card p { margin: 7px 0 0; color: rgba(255,255,255,.88); line-height: 1.6; }
.hero-actions { position: relative; z-index: 1; display: flex; justify-content: flex-end; gap: 10px; flex-wrap: wrap; }
.hero-btn {
    display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px;
    border-radius: 12px; color: #fff; text-decoration: none; font-weight: 700;
    background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.20); transition: .2s ease;
}
.hero-btn:hover { color: #fff; background: rgba(255,255,255,.22); transform: translateY(-1px); }
.updated-chip {
    display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; padding: 9px 13px;
    border-radius: 999px; background: rgba(255,255,255,.13); border: 1px solid rgba(255,255,255,.18); font-size: .88rem;
}

.glass-card {
    background: var(--surface); border: 1px solid rgba(255,255,255,.72); backdrop-filter: blur(14px);
    border-radius: var(--radius-xl); box-shadow: var(--shadow);
}

.content-layout { display: grid; grid-template-columns: 275px minmax(0,1fr); gap: 24px; margin-top: 24px; align-items: start; }
.toc-card { position: sticky; top: 24px; padding: 20px; }
.toc-title { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; font-weight: 800; }
.toc-nav { display: grid; gap: 7px; }
.toc-nav a {
    display: flex; align-items: center; gap: 9px; color: #475569; text-decoration: none;
    padding: 10px 12px; border-radius: 12px; font-size: .9rem; line-height: 1.3; transition: .2s ease;
}
.toc-nav a:hover { color: var(--primary-dark); background: rgba(124,58,237,.08); }
.toc-nav .num {
    width: 25px; height: 25px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
    border-radius: 8px; background: #f1f5f9; color: var(--primary-dark); font-size: .78rem; font-weight: 800;
}

.content-card { padding: 28px; }
.intro-box {
    display: flex; gap: 14px; padding: 18px; margin-bottom: 22px; border-radius: var(--radius-lg);
    border: 1px solid rgba(124,58,237,.16); background: linear-gradient(135deg, rgba(124,58,237,.07), rgba(245,158,11,.09));
}
.intro-icon {
    width: 42px; height: 42px; display: flex; align-items: center; justify-content: center; flex: 0 0 42px;
    border-radius: 12px; color: #fff; background: linear-gradient(135deg,var(--primary),var(--primary-dark));
}
.intro-box p { margin: 0; color: #475569; line-height: 1.7; }

.policy-section { scroll-margin-top: 28px; padding: 23px 0; border-top: 1px solid var(--border); }
.policy-section:first-of-type { border-top: 0; padding-top: 0; }
.section-heading { display: flex; align-items: flex-start; gap: 13px; margin-bottom: 12px; }
.section-icon {
    width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; flex: 0 0 38px;
    border-radius: 11px; color: var(--primary-dark); background: rgba(124,58,237,.09); border: 1px solid rgba(124,58,237,.12);
}
.section-heading h2 { margin: 1px 0 0; font-size: 1.08rem; font-weight: 800; }
.policy-section p, .policy-section li { color: #475569; line-height: 1.75; }
.policy-section p:last-child { margin-bottom: 0; }
.policy-list { margin: 0; padding-left: 1.2rem; }
.policy-list li + li { margin-top: 10px; }

.highlight-box {
    margin-top: 15px; padding: 16px 18px; border-radius: 14px; background: #fffbeb;
    border: 1px solid #fde68a; color: #92400e; line-height: 1.65;
}
.success-box { background: #f0fdf4; border-color: #bbf7d0; color: #166534; }
.info-box { background: #eff6ff; border-color: #bfdbfe; color: #1e40af; }

.stat-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; margin: 18px 0 4px; }
.stat-card { padding: 17px; background: #fff; border: 1px solid var(--border); border-radius: 16px; }
.stat-icon {
    width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; border-radius: 11px;
    background: rgba(124,58,237,.09); color: var(--primary-dark); margin-bottom: 10px;
}
.stat-card strong { display: block; font-size: 1rem; margin-bottom: 4px; }
.stat-card span { color: var(--muted); font-size: .88rem; line-height: 1.45; }

.contact-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; margin-top: 24px; }
.contact-card { padding: 22px; }
.contact-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.contact-head .icon {
    width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border-radius: 13px;
    background: linear-gradient(135deg, rgba(124,58,237,.13), rgba(245,158,11,.14)); color: var(--primary-dark); font-size: 1.15rem;
}
.contact-head h2 { margin: 0; font-size: 1.02rem; font-weight: 800; }
.contact-card p { color: #475569; line-height: 1.7; margin: 0; }
.contact-card a { color: var(--primary-dark); text-decoration: none; font-weight: 700; }
.contact-card a:hover { text-decoration: underline; }
.contact-wide { grid-column: 1 / -1; }
.contact-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 16px; }
.action-btn {
    display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 15px; border-radius: 12px;
    text-decoration: none; font-weight: 700; color: var(--primary-dark); background: rgba(124,58,237,.08); border: 1px solid rgba(124,58,237,.14);
}
.action-btn:hover { color: var(--primary-dark); background: rgba(124,58,237,.12); }

.site-footer {
    margin-top: 24px; padding: 18px 22px; text-align: center; color: var(--muted); font-size: .9rem;
    background: rgba(255,255,255,.68); border: 1px solid rgba(255,255,255,.8); border-radius: 18px;
}
.site-footer a { color: var(--primary-dark); text-decoration: none; font-weight: 700; }
.site-footer a:hover { text-decoration: underline; }
.footer-links { display: flex; justify-content: center; gap: 10px 18px; flex-wrap: wrap; margin-top: 8px; }

@media (max-width: 991.98px) {
    .content-layout { grid-template-columns: 1fr; }
    .toc-card { position: static; }
    .toc-nav { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .hero-actions { justify-content: flex-start; margin-top: 20px; }
    .stat-grid { grid-template-columns: 1fr; }
}

@media (max-width: 767.98px) {
    .page-shell { padding: 18px 0 30px; }
    .hero-card { padding: 22px; border-radius: 22px; }
    .brand-wrap { align-items: flex-start; }
    .brand-logo { width: 60px; height: 60px; border-radius: 16px; }
    .content-card, .contact-card { padding: 20px; }
    .contact-grid { grid-template-columns: 1fr; }
    .contact-wide { grid-column: auto; }
}

@media (max-width: 575.98px) {
    .brand-wrap { gap: 12px; }
    .hero-card h1 { font-size: 1.55rem; }
    .toc-nav { grid-template-columns: 1fr; }
    .intro-box { flex-direction: column; }
    .hero-btn { width: 100%; justify-content: center; }
}

@media print {
    body { background: #fff; }
    .page-shell { padding: 0; }
    .hero-card, .glass-card, .site-footer { box-shadow: none; }
    .hero-actions, .toc-card, .site-footer { display: none !important; }
    .content-layout { display: block; margin-top: 16px; }
    .hero-card { background: #fff !important; color: #111; border: 1px solid #ddd; }
    .hero-card p, .updated-chip { color: #333; }
    .updated-chip { border-color: #ddd; background: #f8f8f8; }
}
