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

:root {
    --dark:      #1e2035;
    --primary:   #2A2F5B;
    --primary-light: #3a4180;
    --accent:    #ffda00;
    --accent-soft: #fff8cc;
    --text:      #1a1d2e;
    --text-muted: #6b7280;
    --bg:        #f5f6fa;
    --surface:   #ffffff;
    --border:    #e5e7ef;
    --radius:    14px;
    --shadow:    0 2px 16px rgba(42,47,91,0.09);
    --shadow-hover: 0 8px 32px rgba(42,47,91,0.16);
}

header { margin-bottom: 0; }

/* ── HERO BANNER ────────────────────────── */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, #1a1f45 60%, #0d1030 100%);
    padding: 3.5rem 1.5rem 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,218,0,0.12);
    border: 1px solid rgba(255,218,0,0.3);
    border-radius: 50px;
    padding: 5px 14px;
    font-size: 12px;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 1.2rem;
}
.hero-badge svg { flex-shrink: 0; }
.hero h1 {
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.8rem;
    position: relative;
}
.hero-subtitle {
    color: rgba(255,255,255,0.6);
    font-size: 15px;
    max-width: 540px;
    margin: 0 auto;
    position: relative;
}
.hero-line {
    margin: 3rem auto 0;
}
.download-doc {
    background: var(--accent);
    border-radius: 0.5rem;
    padding: 0.75rem 1.25rem;
}

/* ── LAYOUT ─────────────────────────────── */
.page-wrap {
    max-width: 900px;
    margin: 0 auto;
    padding: 2.5rem 1.5rem 4rem;
    flex: 1;
    width: 100%;
}

/* ── TOC (Table of Contents) ─────────────── */
.toc {
    background: var(--surface);
    border: 1px solid var(--border);
    border-left: 4px solid var(--accent);
    border-radius: var(--radius);
    padding: 1.5rem 1.8rem;
    margin-bottom: 2.5rem;
    box-shadow: var(--shadow);
}
.toc-title {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 7px;
}
.toc-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 0.4rem 1.5rem;
}
.toc-list li a {
    color: var(--primary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 0;
    transition: color 0.2s;
}
.toc-list li a::before {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--accent);
    flex-shrink: 0;
}
.toc-list li a:hover { color: var(--primary-light); }

/* ── INFO CARD ──────────────────────────── */
.info-card {
    background: linear-gradient(135deg, #f0f3ff, #fafbff);
    border: 1px solid #dde2f5;
    border-radius: var(--radius);
    padding: 1.4rem 1.8rem;
    margin-bottom: 2.5rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}
.info-card-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.info-card-text { font-size: 14px; color: #444; line-height: 1.65; }
.info-card-text strong { color: var(--primary); }

/* ── SECTION ────────────────────────────── */
.policy-section {
    background: var(--surface);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    margin-bottom: 1.2rem;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: box-shadow 0.25s;
}
.policy-section:hover { box-shadow: var(--shadow-hover); }

.section-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.8rem;
    cursor: pointer;
    user-select: none;
    background: transparent;
    border: none;
    width: 100%;
    text-align: left;
    transition: background 0.2s;
}
.section-header:hover { background: #f8f9fe; }

.section-num {
    width: 36px;
    height: 36px;
    border-radius: 9px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.section-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
    flex: 1;
}
.section-chevron {
    color: var(--text-muted);
    transition: transform 0.3s;
    flex-shrink: 0;
}
.policy-section.open .section-chevron { transform: rotate(180deg); }

.section-body {
    display: none;
    padding: 0 1.8rem 1.5rem;
    border-top: 1px solid var(--border);
}
.policy-section.open .section-body { display: block; }

/* ── CONTENT TYPOGRAPHY ─────────────────── */
.section-body p {
    font-size: 14.5px;
    color: #374151;
    margin-bottom: 0.85rem;
    line-height: 1.75;
}
.section-body p:last-child { margin-bottom: 0; }

.clause {
    margin: 0.9rem 0;
}
.clause-num {
    font-weight: 600;
    color: var(--primary);
    font-size: 13px;
    margin-bottom: 0.3rem;
}
.clause-text {
    font-size: 14.5px;
    color: #374151;
    line-height: 1.75;
    padding-left: 0.5rem;
}

.subsection {
    margin-top: 0.8rem;
    padding: 0.9rem 1.2rem;
    background: #f8f9fe;
    border-radius: 10px;
    border-left: 3px solid var(--primary);
}
.subsection + .subsection { margin-top: 0.6rem; }
.subsection .clause-num { color: var(--primary-light); }

.term-card {
    background: #f0f3ff;
    border-radius: 10px;
    padding: 0.85rem 1.1rem;
    margin: 0.5rem 0;
    border-left: 3px solid var(--accent);
}
.term-card .clause-num { color: var(--primary); margin-bottom: 0.2rem; }
.term-card .clause-text { color: #374151; }

.dot-list {
    list-style: none;
    margin: 0.6rem 0 0.6rem 0.5rem;
}
.dot-list li {
    font-size: 14.5px;
    color: #374151;
    padding: 0.3rem 0;
    padding-left: 1.2rem;
    position: relative;
    line-height: 1.65;
}
.dot-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-size: 18px;
    line-height: 1.2;
}

.rights-grid {
    display: grid;
    gap: 0.75rem;
    margin-top: 0.8rem;
}
.right-item {
    display: flex;
    gap: 0.8rem;
    align-items: flex-start;
    background: #f8f9fe;
    border-radius: 10px;
    padding: 0.9rem 1.1rem;
}
.right-icon {
    width: 30px;
    height: 30px;
    border-radius: 7px;
    background: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.right-text { font-size: 14px; color: #374151; line-height: 1.65; }
.right-text strong { color: var(--primary); display: block; margin-bottom: 2px; font-size: 13px; }

.section-intro {
    font-size: 14.5px;
    color: #374151;
    margin: 1rem 0 1.2rem;
    line-height: 1.75;
}

/* ── RESPONSIVE ─────────────────────────── */
@media (max-width: 600px) {
    .header-brand-text { display: none; }
    .hero { padding: 2.5rem 1rem 3rem; }
    .page-wrap { padding: 1.5rem 1rem 3rem; }
    .section-header { padding: 1rem 1.2rem; }
    .section-body { padding: 0 1.2rem 1.2rem; }
    .toc { padding: 1.2rem; }
    .toc-list { grid-template-columns: 1fr; }
    .info-card { flex-direction: column; gap: 0.7rem; }
}