:root {
  --paper: #fff; --ink: #101820; --muted: #56606b; --line: #e4e8ef;
  --accent: #0079bd; --accent-dark: #00649c; --navy: #0c1822;
  --soft: #f1f5fc; --radius: 16px;
  font-family: "Segoe UI", Arial, sans-serif;
  color: var(--ink); background: var(--paper); font-synthesis: none;
}
* { box-sizing: border-box; }
body { margin: 0; font-size: 16px; line-height: 1.65; background: linear-gradient(180deg,#f0f2fc 76px,#fff 540px); }
a { color: inherit; text-decoration: none; }
button,input,textarea,select { font: inherit; }
a,button,input,textarea,select { outline-offset: 5px; }
:focus-visible { outline: 3px solid #1684c6; }
button { cursor: pointer; border: 1px solid #cbd5df; background: white; color: var(--ink); padding: 10px 18px; border-radius: 8px; }
button:hover { background: #edf5fb; border-color: var(--accent); }
.site-header { min-height: 78px; background: var(--navy); color: #fff; box-shadow: 0 3px 10px #0c182222; }
.header-inner { max-width: 1360px; min-height: 78px; margin: auto; padding: 16px 40px; display: flex; align-items: center; gap: 35px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-size: 27px; font-weight: 800; letter-spacing: -.7px; }
.brand-mark { width: 30px; height: 30px; border: 2px solid #54b8ea; border-radius: 9px 2px 9px 2px; display: grid; place-items: center; color: #54b8ea; font-size: 20px; }
.brand span:last-child { border-left: 1px solid #ffffff30; padding-left: 14px; font-size: 14px; font-weight: 500; letter-spacing: .3px; color: #67bde9; }
.header-links { margin-left: auto; display: flex; align-items: center; gap: 28px; font-size: 14px; font-weight: 600; }
.header-links a { color: #d3dbe3; }
.header-links a:hover,.header-links a[aria-current] { color: #62c0ef; }
.header-links .header-cta { background: #0079bd; color: #fff; border-radius: 40px; padding: 10px 23px; box-shadow: 0 5px 22px #0079bd25; }
.skip-link { position: absolute; top: -100px; left: 16px; background: white; color: var(--ink); padding: 10px; z-index: 10; }
.skip-link:focus { top: 12px; }
.page-layout { max-width: 1360px; padding: 48px 40px 75px; margin: auto; display: grid; grid-template-columns: minmax(0,1fr) 220px; column-gap: 44px; }
#main { min-width: 0; }
#sidebar { grid-column: 2; grid-row: 1; align-self: start; position: sticky; top: 28px; margin-top: 4px; padding-top: 10px; }
#navigation { border-left: 1px solid #dae1ec; padding-left: 24px; }
.label { font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); margin: 0 0 15px; }
#navigation a { display: flex; justify-content: space-between; gap: 14px; font-size: 14px; padding: 10px 12px; margin: 3px 0; border-radius: 6px; }
#navigation a:hover,#navigation a.active { background: #e5f1fa; color: var(--accent-dark); }
#navigation .nav-main { font-weight: 700; }
.category-count { color: #79828d; font-size: 12px; }
.category-empty { font-size: 13px; color: var(--muted); padding: 0 12px; }
.sidebar-bottom { margin: 30px 12px 0; border-top: 1px solid var(--line); padding-top: 20px; color: var(--muted); font-size: 13px; }
.sidebar-bottom a { padding-left: 0 !important; color: var(--accent); font-weight: 600; }
.eyebrow { color: var(--accent-dark); font-weight: 700; font-size: 17px; }
.hero { padding: 0 0 30px; }
h1 { font-size: clamp(34px,3.8vw,50px); font-weight: 850; line-height: 1.12; letter-spacing: -1.55px; margin: 15px 0 20px; }
h1 em { font-style: normal; }
h2,h3 { line-height: 1.25; letter-spacing: -.45px; }
.hero p { color: #4d5661; font-size: 18px; line-height: 1.75; max-width: 740px; margin: 0; }
.tools { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin: 3px 0 28px; font-size: 13px; color: var(--muted); }
.tools input { width: 260px; border-radius: 30px; padding: 9px 17px; background: #ffffffb0; }
.search-label { display: block; margin: 0; }
.search-label span,.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.card { background: #ffffffb0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: border-color .18s,box-shadow .18s,transform .18s; }
.card:hover { border-color: #2589bf; box-shadow: 0 5px 16px #0e5c8a12; transform: translateY(-2px); }
.card-copy { padding: 25px 24px; flex: 1; display: flex; flex-direction: column; align-items: flex-start; }
.card h2 { font-size: 21px; font-weight: 750; line-height: 1.3; margin: 10px 0 14px; overflow-wrap: anywhere; }
.card p { font-size: 15px; line-height: 1.75; color: #4d5661; margin: 0 0 16px; }
.meta { font-size: 13px; color: #626c77; }
.card-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 13px; }
.pill { display: inline-block; color: var(--accent-dark); background: #eaf4fb; font-size: 11px; font-weight: 600; padding: 3px 9px; border-radius: 4px; }
.read-more { margin-top: auto; font-size: 14px; font-weight: 650; color: var(--accent-dark); padding-top: 4px; }
.cover { overflow: hidden; background: #edf3fa; aspect-ratio: 16/9; }
.cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
.empty { border: 1px solid var(--line); padding: 34px; border-radius: var(--radius); background: #fff; }
.empty h2 { margin-top: 0; font-size: 24px; }
.empty p { color: var(--muted); }
.empty a,.back-link { color: var(--accent-dark); font-weight: 650; }
.pager { display: flex; justify-content: center; gap: 15px; margin-top: 32px; }
.article { max-width: 800px; margin: 0 auto; }
.article .hero { padding: 0 0 28px; }
.article h1 { font-size: clamp(34px,3.8vw,50px); }
.article .hero p { margin-bottom: 22px; }
.article .meta { margin-top: 18px; }
.article .cover { margin: 15px 0 35px; border-radius: var(--radius); }
.article-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.prose { color: #424c57; font-size: 18px; line-height: 1.85; overflow-wrap: anywhere; }
.prose > div > :first-child,.prose > :first-child { margin-top: 0; }
.prose p { margin: 0 0 24px; }
.prose h2 { color: var(--ink); font-size: 29px; margin: 42px 0 18px; }
.prose h3 { color: var(--ink); font-size: 23px; margin-top: 32px; }
.prose a { color: var(--accent-dark); text-decoration: underline; text-underline-offset: 3px; }
.prose img { max-width: 100%; height: auto; border-radius: 8px; }
.prose figure { margin: 25px 0; }
.prose figcaption { font-size: 13px; color: var(--muted); }
.prose blockquote { margin: 28px 0; padding: 20px 25px; border-left: 4px solid var(--accent); background: var(--soft); }
.prose li { margin-bottom: 10px; }
.prose pre { padding: 20px; overflow: auto; font-size: 14px; background: var(--soft); border-radius: 8px; }
.prose table { display: block; overflow: auto; border-collapse: collapse; }
.prose td,.prose th { padding: 12px; border: 1px solid var(--line); }
.article-footer { border-top: 1px solid var(--line); padding-top: 25px; margin-top: 40px; }
.related { margin-top: 60px; border-top: 1px solid var(--line); padding-top: 30px; }
.related > h2 { font-size: 28px; margin: 0 0 24px; }
.related .grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
.site-footer { background: var(--navy); color: #bec8d1; }
.footer-inner { max-width: 1360px; margin: auto; padding: 42px 40px; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 35px; font-size: 14px; }
.footer-inner strong { display: block; color: white; margin-bottom: 13px; }
.footer-inner p { margin: 7px 0; max-width: 350px; }
.footer-inner a { display: block; padding: 5px 0; }
.footer-inner a:hover { color: #62c0ef; }
.footer-bottom { border-top: 1px solid #ffffff15; max-width: 1280px; margin: auto; padding: 18px 0; font-size: 12px; }
.primary { background: var(--accent); color: white; border-color: var(--accent); font-weight: 650; border-radius: 30px; }
.primary:hover { background: var(--accent-dark); color: white; }
.editor { max-width: 820px; }
.editor > a { color: var(--accent-dark); }
.editor h1 { font-size: 40px; }
form label { display: block; font-size: 14px; font-weight: 550; margin: 18px 0 6px; }
input,textarea,select { display: block; width: 100%; padding: 12px; border: 1px solid #c5ced9; border-radius: 7px; background: #fff; color: var(--ink); }
textarea.code { font: 14px/1.65 Consolas,monospace; }
fieldset { border: 1px solid var(--line); border-radius: 8px; margin: 24px 0; }
fieldset label { display: inline-flex; align-items: center; gap: 7px; margin: 5px 18px 5px 0; }
input[type=checkbox] { width: auto; }
.hint { font-size: 12px; color: var(--muted); }
.auth { max-width: 480px; margin: 25px auto 60px; }
.auth h1 { font-size: 40px; }
.auth .primary { margin-top: 18px; }
.row { padding: 20px 0; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 12px; }
.row .row-title { flex: 1; min-width: 0; }
.row h3 { margin: 0; font-size: 20px; overflow-wrap: anywhere; }
.row > a { color: var(--accent-dark); font-size: 14px; }
.topline { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); padding-bottom: 18px; margin-bottom: 30px; font-size: 12px; color: var(--muted); }
.actions { display: flex; gap: 10px; flex-wrap: wrap; }
#notice { position: fixed; bottom: 20px; right: 20px; max-width: min(400px,calc(100vw - 40px)); background: var(--navy); color: white; border-radius: 8px; z-index: 5; box-shadow: 0 6px 30px #0002; }
#notice:not(:empty) { padding: 14px 22px; }
#menu { display: none; }
@media(min-width:1500px) { .page-layout { column-gap: 50px; } }
@media(max-width:1150px) { .grid { grid-template-columns: repeat(2,minmax(0,1fr)); } .page-layout { column-gap: 28px; grid-template-columns: minmax(0,1fr) 195px; padding: 40px 30px 60px; } .card-copy { padding: 24px; } }
@media(max-width:780px) { .header-inner { padding: 15px 22px; gap: 15px; } .brand { font-size: 23px; } .brand span:last-child { display: none; } .header-links { gap: 18px; font-size: 13px; } .header-links .header-cta { padding: 9px 16px; } .header-home { display: none; } .page-layout { display: flex; flex-direction: column; padding: 24px 22px 50px; } #sidebar { position: static; order: -1; width: 100%; margin: 0 0 28px; padding: 0; } #menu { display: flex; justify-content: space-between; width: 100%; background: #fff; font-weight: 650; border-radius: 8px; } #navigation { display: none; border: 1px solid var(--line); border-radius: 8px; margin-top: 10px; padding: 16px; background: white; } #navigation.open { display: block; } .sidebar-bottom { margin-top: 15px; } h1 { font-size: 38px; letter-spacing: -1px; } .hero p { font-size: 17px; } .footer-inner { padding: 35px 22px; grid-template-columns: 1.5fr 1fr; } .footer-inner > :first-child { grid-column: 1/-1; } .footer-bottom { margin: 0 22px; } .row { flex-wrap: wrap; } .row .row-title { flex-basis: 100%; } }
@media(max-width:520px) { .grid,.related .grid { grid-template-columns: 1fr; } .tools { align-items: stretch; flex-direction: column; gap: 12px; margin-bottom: 22px; } .tools input { width: 100%; } h1,.article h1 { font-size: 34px; } .card h2 { font-size: 22px; } .card-copy { padding: 26px; } .prose { font-size: 17px; } .prose h2 { font-size: 26px; } .empty { padding: 25px; } }
@media(prefers-reduced-motion:reduce) { .card { transition: none; } .card:hover { transform: none; } }
