:root {
    --blue: #0052CC;
    --blue-bg: #EEF4FF;
    --amber: #FFAB00;
    --amber-bg: #FFF8E1;
    --green: #16A34A;
    --green-bg: #E8F5E9;
    --red: #C62828;
    --red-bg: #FFEBEE;
    --dark: #0D0D1A;
    --text: #1a1a2e;
    --text-secondary: #555;
    --text-muted: #888;
    --bg: #ffffff;
    --bg-alt: #FAFAFA;
    --border: #e8e8ec;
}

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

body {
    font-family: 'Inter', -apple-system, sans-serif;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

.content { max-width: 760px; margin: 0 auto; padding: 48px 32px 100px; }

.hero {
    padding: 80px 0 60px;
    border-bottom: 2px solid var(--border);
    margin-bottom: 48px;
}
.hero .overline {
    font-size: 11px; font-weight: 600; text-transform: uppercase;
    letter-spacing: 2px; color: var(--blue); margin-bottom: 12px;
}
.hero h1 {
    font-size: 36px; font-weight: 800; color: var(--dark);
    line-height: 1.15; letter-spacing: -0.5px; margin-bottom: 16px;
}
.hero .lead {
    font-size: 17px; color: var(--text-secondary); line-height: 1.65;
    max-width: 600px;
}

.section { margin-bottom: 48px; }

.section-header {
    display: flex; align-items: center; gap: 12px;
    padding: 16px 0; border-bottom: 2px solid var(--border); margin-bottom: 24px;
}
.section-num {
    width: 32px; height: 32px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 14px; font-weight: 800; color: #fff; background: var(--blue);
    flex-shrink: 0;
}
.section-header h2 { font-size: 22px; font-weight: 700; color: var(--dark); }
.section-header .tag {
    margin-left: auto; font-size: 10px; font-weight: 600;
    padding: 3px 8px; border-radius: 4px; text-transform: uppercase; letter-spacing: 1px;
}
.tag.blue { background: var(--blue-bg); color: var(--blue); }
.tag.amber { background: var(--amber-bg); color: #B8860B; }
.tag.green { background: var(--green-bg); color: var(--green); }
.tag.red { background: var(--red-bg); color: var(--red); }

h3 {
    font-size: 17px; font-weight: 700; color: var(--dark);
    margin: 32px 0 12px; padding-top: 8px;
}

p { font-size: 15px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 16px; }

.callout {
    background: var(--blue-bg); border-left: 4px solid var(--blue);
    padding: 20px 24px; border-radius: 0 8px 8px 0; margin: 24px 0;
}
.callout.amber { background: var(--amber-bg); border-left-color: var(--amber); }
.callout.green { background: var(--green-bg); border-left-color: var(--green); }
.callout.red { background: var(--red-bg); border-left-color: var(--red); }
.callout strong { font-size: 14px; font-weight: 700; color: var(--dark); display: block; margin-bottom: 8px; }
.callout p { margin-bottom: 0; font-size: 14px; }

.stat-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 16px; margin: 24px 0;
}
.stat-card {
    background: var(--bg-alt); border: 1px solid var(--border); border-radius: 8px;
    padding: 20px; text-align: center;
}
.stat-card .num { font-size: 36px; font-weight: 800; color: var(--blue); line-height: 1; margin-bottom: 4px; }
.stat-card .label { font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; font-weight: 500; }

table {
    width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 14px;
}
th {
    background: var(--dark); color: #fff; padding: 10px 14px; text-align: left;
    font-weight: 600; font-size: 11px; text-transform: uppercase; letter-spacing: 0.5px;
}
td { padding: 10px 14px; border-bottom: 1px solid var(--border); }
tr:nth-child(even) { background: var(--bg-alt); }

.badge {
    display: inline-block; padding: 2px 8px; border-radius: 4px;
    font-size: 11px; font-weight: 600; text-transform: uppercase;
}
.badge.high { background: var(--red-bg); color: var(--red); }
.badge.med { background: var(--amber-bg); color: #B8860B; }
.badge.low { background: var(--green-bg); color: var(--green); }

.priority { font-size: 20px; font-weight: 800; color: var(--blue); }

.source-list { list-style: none; }
.source-list li {
    padding: 12px 0; border-bottom: 1px solid var(--border);
    display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 14px;
}
.source-list li:last-child { border-bottom: none; }
.source-tag {
    font-size: 10px; padding: 2px 8px; border-radius: 4px;
    font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; flex-shrink: 0;
}
.source-tag.external { background: #E3F2FD; color: #1565C0; }
.source-tag.internal { background: #FFF8E1; color: #F57F17; }
.source-tag.tool { background: #E8F5E9; color: #2E7D32; }
.source-list a { color: var(--blue); text-decoration: none; font-weight: 500; }
.source-list a:hover { text-decoration: underline; }
.source-desc { color: var(--text-muted); font-size: 13px; }

.fact-list { list-style: none; margin: 16px 0; }
.fact-list li {
    padding: 8px 0 8px 24px; position: relative;
    font-size: 14px; color: var(--text-secondary); line-height: 1.6;
}
.fact-list li::before {
    content: ''; position: absolute; left: 0; top: 14px;
    width: 8px; height: 8px; background: var(--blue); border-radius: 50%;
}

.card {
    background: var(--bg); border: 1px solid var(--border); border-radius: 8px;
    padding: 24px; margin: 16px 0;
}
.card h4 { font-size: 15px; font-weight: 700; color: var(--dark); margin-bottom: 8px; }
.card p { margin-bottom: 0; font-size: 14px; }

.rec-statement {
    font-size: 16px; font-weight: 600; color: var(--dark);
    background: var(--blue-bg); padding: 20px 24px; border-radius: 8px;
    margin: 20px 0; line-height: 1.55;
}

.rec-why {
    font-style: italic; color: var(--text-secondary); margin: 20px 0;
    padding-left: 20px; border-left: 3px solid var(--border);
    font-size: 14px; line-height: 1.65;
}

.steps { list-style: none; margin: 20px 0; counter-reset: steps; }
.steps li {
    padding: 10px 0 10px 44px; position: relative;
    font-size: 14px; color: var(--text-secondary); line-height: 1.6; counter-increment: steps;
}
.steps li::before {
    content: counter(steps); position: absolute; left: 0; top: 8px;
    width: 28px; height: 28px; background: var(--blue); color: #fff;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 12px; font-weight: 700;
}

.meta-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--border);
}
.meta-item .meta-label {
    font-size: 10px; text-transform: uppercase; letter-spacing: 0.5px;
    color: var(--text-muted); font-weight: 600; margin-bottom: 4px;
}
.meta-item .meta-value { font-size: 13px; color: var(--text); font-weight: 500; line-height: 1.5; }

.status-box {
    width: 18px; height: 18px; border: 2px solid var(--border); border-radius: 3px;
}

.footer-note {
    margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--border);
    font-size: 12px; color: var(--text-muted); text-align: center;
}

/* Responsive */
@media (max-width: 600px) {
    .content { padding: 32px 16px 60px; }
    .hero { padding: 40px 0 32px; margin-bottom: 32px; }
    .hero h1 { font-size: 26px; }
    .hero .lead { font-size: 15px; }
    .stat-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .stat-card .num { font-size: 28px; }
    .section-header h2 { font-size: 18px; }
    table { font-size: 13px; display: block; overflow-x: auto; }
    th, td { padding: 8px 10px; white-space: nowrap; }
    .meta-grid { grid-template-columns: 1fr; }
    .source-list li { flex-direction: column; align-items: flex-start; gap: 4px; }
    .steps li { padding-left: 36px; }
    .steps li::before { width: 24px; height: 24px; font-size: 11px; }
    .callout { padding: 16px 18px; }
    h3 { font-size: 16px; }
}
