/* Shared by every hackathon tab: the static Brief and Data pages and the Next Submit and Leaderboard pages.
   Fonts, brand tokens, page frame, card and the header with its tabs. Page-specific rules live in style.css. */
@font-face { font-family: "Hackathon Crimson Pro"; src: url("fonts/CrimsonPro-600.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Hackathon Crimson Pro"; src: url("fonts/CrimsonPro-700.ttf") format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Hackathon Inter"; src: url("fonts/Inter-400.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Hackathon Inter"; src: url("fonts/Inter-700.ttf") format("truetype"); font-weight: 700; font-display: swap; }

/* LemeBase brand tokens (values from LemeUI src/styles/tokens.css and the logo mark in src/app/icon.svg).
   Also set on main, so on the Next tabs they win over the app's own tokens whatever order the stylesheets load in. */
:root, main {
  --lb-cream: #F5F1EA; --lb-cream-deep: #EDE6DA; --lb-cream-warm: #F8F2EA; --lb-paper: #FFFFFF;
  --lb-burgundy: #3D2225; --lb-wine: #7B3340; --lb-wine-deep: #5C2530;
  --lb-teal: #3D6E6E; --lb-teal-deep: #2A5050;
  --lb-warm-600: #5C4A45; --lb-warm-500: #7A6E68; --lb-warm-400: #A0958D; --lb-warm-300: #C9BFB5; --lb-warm-200: #E5DED2;
  --lb-mark-gold: #CC8C28;
  --font-serif: "Hackathon Crimson Pro", Georgia, "Times New Roman", serif;
  --font-sans: "Hackathon Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
/* Own family names: the Next tabs also load next/font faces called "Crimson Pro" and "Inter", which must not mix in. */
body { margin: 0; background: var(--lb-cream); color: var(--lb-burgundy); font: 15px/1.45 var(--font-sans); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
main { box-sizing: content-box; max-width: 1100px; margin: 0 auto; padding: 40px 24px 64px; }
.card { background: #fff; border: 1px solid var(--lb-warm-200); border-radius: 14px; padding: 26px 28px; margin: 22px 0; }
/* LemeBase header: mark + two-tone wordmark, as in LemeUI Wordmark.tsx */
.site-header { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 0 0 18px; }
.site-header .mark { width: 36px; height: 36px; display: block; }
.site-header .wordmark { font-family: var(--font-serif); font-weight: 700; font-size: 24px; letter-spacing: -0.014em; line-height: 1; display: inline-flex; align-items: baseline; }
.site-header .wordmark .leme { color: var(--lb-burgundy); font-style: normal; }
.site-header .wordmark .base { color: var(--lb-wine); font-style: italic; }
.site-header .event { margin-left: auto; font-size: 13px; color: var(--lb-warm-500); }
h1, h2, h3 { font-family: var(--font-serif); }
.site-header .brand { display: inline-flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; }
.site-tabs { flex-basis: 100%; display: flex; gap: 4px; border-bottom: 1px solid var(--lb-warm-200); margin-top: 6px; }
.site-tabs a { padding: 8px 12px; font: 400 15px/1.2 var(--font-sans); color: var(--lb-warm-600); text-decoration: none; border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.site-tabs a:hover { color: var(--lb-wine); }
.site-tabs a[aria-current="page"] { color: var(--lb-wine); border-bottom-color: var(--lb-wine); }
@media (max-width: 420px) { .site-tabs a { padding: 8px 9px; } }

