/* Author/creator: nattapat2871 (https://nattapat2871.me) */
:root { color-scheme: dark; font-family: "Noto Sans Thai", system-ui, sans-serif; background: #07111d; color: #f3f7ff; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: radial-gradient(circle at 85% 0, #112947 0, #07111d 42%); }
a { color: #8dbdff; }
a:focus-visible { outline: 2px solid #8dbdff; outline-offset: 4px; }
.source-shell { width: min(1040px, calc(100% - 36px)); margin: 0 auto; }
.source-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 24px 0; }
.source-brand { display: inline-flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; font-weight: 800; font-size: 1.15rem; }
.source-brand img { width: 42px; height: 42px; border-radius: 11px; }
.source-nav { display: flex; gap: 20px; font-size: .9rem; }
.source-nav a { text-decoration: none; }
.source-hero { padding: 50px 0 28px; }
.source-eyebrow { margin: 0 0 12px; color: #8dbdff; font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
h1 { max-width: 780px; margin: 0 0 18px; font-size: clamp(2rem, 5vw, 3.5rem); line-height: 1.2; }
.source-hero p { max-width: 820px; color: #b6c7df; line-height: 1.75; }
.source-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); gap: 18px; padding: 8px 0 56px; }
.source-card { border: 1px solid #2a4160; border-radius: 18px; background: #101d30; padding: 24px; }
.source-card h2 { margin: 0 0 12px; font-size: 1.3rem; }
.source-card p { color: #b6c7df; line-height: 1.7; }
.source-card code { overflow-wrap: anywhere; color: #d7e8ff; }
.source-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.source-actions a { display: inline-flex; min-height: 42px; align-items: center; padding: 10px 15px; border: 1px solid #41628a; border-radius: 10px; color: #fff; text-decoration: none; font-weight: 700; }
.source-actions a:first-child { border-color: #3879dd; background: #286bd2; }
.source-actions a:hover { border-color: #90bdff; }
.source-note { border-left: 3px solid #66a7ff; padding-left: 16px; color: #b6c7df; line-height: 1.7; }
.source-footer { border-top: 1px solid #263d59; padding: 24px 0 40px; color: #a7bad2; font-size: .85rem; }
@media (max-width: 640px) { .source-header { align-items: flex-start; } .source-nav { flex-wrap: wrap; justify-content: flex-end; gap: 10px; } .source-hero { padding-top: 26px; } }
