:root {
    --primary: #2b94ff;
    --primary-dark: #1e3a8a;
    --secondary: #10b981;
    --background: #f8fafc;
    --sidebar: #ffffff;
    --card: #ffffff;
    --text: #1e293b;
    --text-muted: #64748b;
    --border: #e2e8f0;
    --glass: rgba(255, 255, 255, 0.8);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

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

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text);
    background-color: var(--background);
    line-height: 1.6;
    scroll-behavior: smooth;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

header {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--glass);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    padding: 0.75rem 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.brand-logo {
    height: 40px;
    width: auto;
}

.logo-text {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-dark);
}

.logo-text span {
    color: var(--primary);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: var(--primary);
}

main {
    padding-top: 80px;
}

.hero {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    padding: 5rem 0 3rem;
    text-align: center;
    border-bottom: 1px solid var(--border);
}

.hero-logo {
    height: 100px;
    width: auto;
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.last-updated {
    color: var(--text-muted);
    font-size: 1rem;
    font-weight: 600;
}

.hero-intro {
    max-width: 800px;
    margin: 2rem auto 0;
    font-size: 1.15rem;
    color: var(--text-muted);
}

.main-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 3rem;
    padding: 4rem 0;
}

.sidebar {
    position: relative;
}

.sidebar-sticky {
    position: sticky;
    top: 100px;
}

.sidebar h3 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.toc {
    list-style: none;
}

.toc li {
    margin-bottom: 0.5rem;
}

.toc a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: all 0.2s ease;
    display: block;
    padding: 0.25rem 0;
}

.toc a:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.policy-section {
    margin-bottom: 5rem;
}

.policy-section h2 {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
}

.policy-section h3 {
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
    color: var(--text);
}

.policy-section p {
    margin-bottom: 1.25rem;
}

.check-list, .feature-list {
    list-style: none;
    margin-bottom: 1.5rem;
}

.check-list li, .feature-list li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.75rem;
}

.check-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-weight: 800;
}

.feature-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary);
}

.info-box, .warning-box, .success-box, .prohibit-box {
    padding: 1.5rem;
    border-radius: 12px;
    margin: 1.5rem 0;
}

.info-box { background: #e0f2fe; border-left: 4px solid var(--primary); }
.warning-box { background: #fffbeb; border-left: 4px solid #f59e0b; }
.success-box { background: #ecfdf5; border-left: 4px solid var(--secondary); }
.prohibit-box { background: #fef2f2; border-left: 4px solid #ef4444; font-weight: 600; }

.role-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin: 2rem 0;
}

.role-card {
    background: var(--card);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.role-card h4 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.roles-table-wrapper {
    overflow-x: auto;
    margin: 2rem 0;
}

.roles-table {
    width: 100%;
    border-collapse: collapse;
}

.roles-table th, .roles-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.roles-table th {
    background: #f1f5f9;
    font-weight: 700;
}

.contact-card {
    background: var(--primary-dark);
    color: white;
    padding: 2.5rem;
    border-radius: 20px;
    margin-top: 2rem;
}

.contact-card p { margin-bottom: 0.75rem; }

.final-consent {
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    padding: 3rem 1.5rem;
    background: #f1f5f9;
    border-radius: 20px;
}

footer {
    padding: 4rem 0;
    background: #0f172a;
    color: white;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-logo {
    height: 30px;
}

@media (max-width: 968px) {
    .main-layout {
        grid-template-columns: 1fr;
    }
    .sidebar {
        display: none;
    }
}

@media (max-width: 768px) {
    .role-grid {
        grid-template-columns: 1fr;
    }
    .hero h1 {
        font-size: 2.25rem;
    }
    .nav-links {
        display: none;
    }
}
