/* Chic minimal theme: white background, elegant typography, subtle dividers */
/* Base reset */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji"; color: #0f172a; background: #ffffff; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* Layout */
.container { width: 100%; max-width: 1024px; margin: 0 auto; padding: 0 20px; }
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,0.9); backdrop-filter: saturate(180%) blur(8px); border-bottom: 1px solid #e5e7eb; }
.header-row { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.site-brand { font-weight: 700; letter-spacing: 0.2px; }
.site-nav { display: flex; gap: 18px; }
.nav-link { padding: 8px 10px; color: #475569; border-radius: 6px; }
.nav-link:hover { background: #f8fafc; color: #0f172a; }
.nav-link.active { color: #0f172a; font-weight: 600; position: relative; }
.nav-link.active::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 4px; height: 2px; background: #0f172a; border-radius: 2px; }

.site-main { padding: 48px 0 64px; }
.hero { padding: 40px 0 8px; }
.hero-title { font-size: 40px; line-height: 1.2; margin: 0 0 6px; letter-spacing: -0.02em; }
.hero-subtitle { color: #64748b; margin: 0 0 8px; }
.hero-blurb { color: #334155; max-width: 60ch; }
.hero-actions { display: flex; gap: 12px; margin-top: 16px; }

.section { padding: 28px 0; border-top: 1px solid #f1f5f9; }
.section-title { font-size: 20px; margin: 0 0 16px; }

.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.card { border: 1px solid #e5e7eb; border-radius: 12px; padding: 16px; background: #ffffff; }
.card-title { margin: 0 0 6px; font-size: 16px; }
.card-text { color: #475569; margin: 0 0 10px; }
.card-actions { display: flex; }

.pub-list { list-style: none; padding: 0; margin: 0 0 8px; }
.pub-list li { display: flex; flex-direction: column; gap: 2px; padding: 10px 0; border-bottom: 1px dashed #e2e8f0; }
.pub-title { font-weight: 500; }
.pub-meta { color: #64748b; font-size: 14px; }

.site-footer { border-top: 1px solid #e5e7eb; padding: 18px 0; }
.footer-row { display: flex; align-items: center; justify-content: space-between; color: #64748b; }

/* Buttons */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 14px; border-radius: 10px; border: 1px solid #e5e7eb; background: #ffffff; color: #0f172a; box-shadow: 0 1px 0 rgba(15,23,42,0.04); }
.button:hover { background: #f8fafc; }
.button.primary { background: #0f172a; color: #ffffff; border-color: #0f172a; }
.button.primary:hover { background: #111827; }

/* Links */
.text-link { color: #0f172a; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: #cbd5e1; }
.text-link:hover { text-decoration-color: #0f172a; }

/* Accessibility */
.skip-link { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.skip-link:focus { left: 16px; top: 12px; width: auto; height: auto; padding: 8px 12px; background: #111827; color: #fff; border-radius: 8px; z-index: 100; }

/* Responsive */
@media (max-width: 900px) {
  .cards { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .header-row { height: 56px; }
  .site-nav { gap: 8px; }
  .cards { grid-template-columns: 1fr; }
  .hero-title { font-size: 32px; }
}
@media (max-width: 480px) {
  .container {
    padding-left: min(5vw, 20px);
    padding-right: min(5vw, 20px);
  }
  body, html {
    overflow-x: hidden;
  }
}


