/* OCFL Central website: one small stylesheet for every page. No build step.
   Ocean City sunset palette, matching the app (brand/palette.md). */
:root {
  --navy: #0F2747; --ocean: #1E5B94; --orange: #E8701A; --gold: #F6B23C; --sand: #F6EEE2;
  --ink: #0F2747; --ink-soft: #3D5170; --line: rgba(15, 39, 71, .12); --white: #FFFFFF;
  --bg: var(--sand); --surface: var(--white);
  --font-display: "Oswald", "Arial Narrow", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --bg: #0B1526; --surface: #16223A; --ink: #F2EEE6; --ink-soft: #B9C3D3; --line: rgba(255, 255, 255, .12); }
}
:root[data-theme="dark"] { --bg: #0B1526; --surface: #16223A; --ink: #F2EEE6; --ink-soft: #B9C3D3; --line: rgba(255, 255, 255, .12); }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.6 var(--font-body); }
a { color: var(--ocean); }
@media (prefers-color-scheme: dark) { a { color: #7FB6E6; } }
img { max-width: 100%; display: block; }
.container { width: min(1080px, 100% - 32px); margin-inline: auto; }
.skip-link { position: absolute; left: -999px; }
.skip-link:focus { left: 16px; top: 16px; background: var(--surface); padding: 8px 12px; z-index: 10; }

.wordmark { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; font-family: var(--font-display); font-weight: 700; font-size: 26px; letter-spacing: .01em; white-space: nowrap; }
.wordmark img { width: 44px; height: 44px; }
.wordmark em { font-style: normal; color: var(--orange); font-size: .62em; letter-spacing: .06em; margin-left: -2px; }

.site-header { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--navy) 92%, transparent); color: #fff; backdrop-filter: blur(12px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 0; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 999px; background: var(--orange); color: #fff; font-weight: 700; text-decoration: none; }
.btn:hover { filter: brightness(1.06); }
.btn--sm { padding: 8px 16px; font-size: 15px; }
.btn--ghost { background: rgba(255, 255, 255, .14); }

.hero { position: relative; color: #fff; text-align: center; background: var(--navy) url(/img/hero.jpg) center bottom / cover no-repeat; padding: 48px 16px 90px; }
.hero img.badge { width: min(260px, 60vw); margin: 0 auto; filter: drop-shadow(0 8px 20px rgba(0, 0, 0, .35)); }
.hero .tagline { font-family: var(--font-display); font-weight: 600; letter-spacing: .18em; margin: 14px 0 6px; text-shadow: 0 2px 6px rgba(0, 0, 0, .5); }
.hero h1 { font-family: var(--font-display); font-size: clamp(2rem, 1.5rem + 2.4vw, 3.2rem); line-height: 1.05; margin: 0 0 12px; text-shadow: 0 2px 10px rgba(0, 0, 0, .45); }
.hero p { max-width: 560px; margin: 0 auto 22px; text-shadow: 0 1px 6px rgba(0, 0, 0, .6); }
.hero .actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin: -50px auto 40px; position: relative; }
.feature { background: var(--surface); border-radius: 18px; padding: 20px; box-shadow: 0 10px 30px -12px rgba(15, 39, 71, .35); }
.feature h3 { font-family: var(--font-display); font-size: 20px; margin: 0 0 6px; text-transform: uppercase; letter-spacing: .02em; }
.feature p { margin: 0; color: var(--ink-soft); font-size: 15.5px; }
.feature .dot { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; color: #fff; font-size: 18px; margin-bottom: 10px; }

.doc { max-width: 760px; margin: 40px auto 60px; background: var(--surface); border-radius: 20px; padding: 28px clamp(18px, 4vw, 44px); }
.doc h1 { font-family: var(--font-display); font-size: 2.2rem; margin: 6px 0; }
.doc h2 { font-family: var(--font-display); font-size: 1.3rem; margin-top: 1.8em; }
.eyebrow { font-weight: 700; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--orange); }
.meta-line { color: var(--ink-soft); }
.draft-banner { background: color-mix(in srgb, var(--gold) 25%, transparent); border-radius: 10px; padding: 10px 14px; font-size: 15px; }

.notfound { text-align: center; padding: 70px 0; }
.notfound .big { font-family: var(--font-display); font-size: 4rem; color: var(--orange); margin: 0; }
.notfound h1 { font-family: var(--font-display); }

.site-footer { background: var(--navy); color: rgba(255, 255, 255, .82); padding: 28px 0; font-size: 14.5px; }
.site-footer a { color: #fff; }
.footer-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-links { display: flex; gap: 18px; list-style: none; padding: 0; margin: 0; flex-wrap: wrap; }
.footer-small { margin-top: 14px; opacity: .7; font-size: 13px; }
