.container { width: 100%; max-width: var(--max-content-width); margin-inline: auto; padding-inline: var(--gutter); }

.site-header {
  position: relative; z-index: 20;
  background: linear-gradient(rgba(255,255,255,.5), rgba(255,255,255,.15)), url("/assets/images/hero.svg") center 70% / cover no-repeat, #bfe6f9;
  border-bottom: 1px solid var(--border);
}
:root[data-theme="dark"] .site-header { background-blend-mode: multiply; background-color: #1b2450; }
.site-header__inner {
  max-width: var(--max-content-width); margin-inline: auto; padding: 14px var(--gutter);
  display: flex; align-items: center; gap: 12px;
}
.logo { display: flex; align-items: center; gap: 8px; text-decoration: none; margin-right: auto; }
.logo__mark { width: 52px; height: auto; }
.logo__text { display: flex; flex-direction: column; font-weight: 900; line-height: .95; color: #10142b; }
.logo__line1 { font-size: 1.45rem; letter-spacing: .01em; }
.logo__line2 { font-size: 1.45rem; display: flex; align-items: center; gap: 5px; }
.logo__day { background: #e0243a; color: #fff; padding: 0 6px; border-radius: 4px; }
.logo__tag { font-size: .68rem; font-weight: 600; margin-top: 3px; letter-spacing: 0; }
:root[data-theme="dark"] .logo__text { color: #fff; }

.nav { display: none; }
.nav a { text-decoration: none; font-weight: 600; padding: 10px 6px; border-bottom: 3px solid transparent; color: #10142b; }
.nav a[aria-current="page"] { color: #0a63d8; border-bottom-color: #0a84f0; }
.nav a:hover { color: #0a63d8; }

.theme-toggle { display: flex; padding: 4px; gap: 2px; background: rgba(255,255,255,.7); border-radius: 999px; }
.theme-toggle button {
  width: 40px; height: 36px; border: 0; border-radius: 999px; background: transparent; color: #4d5670;
  display: grid; place-items: center;
}
.theme-toggle svg { width: 20px; height: 20px; }
:root:not([data-theme="dark"]) .theme-toggle [data-theme-set="light"] { background: #fff; color: #e08a00; box-shadow: 0 1px 4px rgba(0,0,0,.2); }
:root[data-theme="dark"] .theme-toggle [data-theme-set="dark"] { background: #2b3560; color: #cfe0ff; }
:root[data-theme="dark"] .theme-toggle { background: rgba(23,30,58,.8); }
:root[data-theme="dark"] .theme-toggle button { color: #a9b2d3; }

.menu-button {
  width: 48px; height: 48px; border: 0; border-radius: 14px; background: rgba(255,255,255,.85);
  display: grid; place-items: center; color: #10142b;
}
.menu-button svg { width: 26px; height: 26px; }
:root[data-theme="dark"] .menu-button { background: rgba(23,30,58,.85); color: #fff; }

.site-footer { margin: 40px auto 0; padding: 24px var(--gutter) 32px; max-width: var(--max-content-width);
  color: var(--text-muted); font-size: .9rem; display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; }
.site-footer p { margin: 0; }
.site-footer nav { display: flex; gap: 20px; }
.site-footer a { text-decoration: none; padding: 8px 0; }
.site-footer a:hover { text-decoration: underline; }

.tabbar { display: none; }

.only-mobile { display: inline; }
.only-desktop { display: none; }

.prose { max-width: 760px; padding-block: 32px; }
.prose h1 { font-size: 2.2rem; margin-bottom: 16px; }
.prose h2 { font-size: 1.4rem; margin: 28px 0 8px; }
.prose p, .prose li { color: var(--text-muted); font-size: 1.05rem; }
.prose li { list-style: disc; margin-left: 1.25rem; padding-block: 2px; }
.prose a { color: var(--primary); }
.page-head { padding-block: 28px 16px; }
.page-head h1 { font-size: 2.2rem; }
.page-head p { color: var(--text-muted); margin: 6px 0 0; }
