/* Mornist shared design system — black + green, Fraunces + Hanken Grotesk.
   Used by the static pages (privacy, terms, methodology, utility) so they match
   the landing. Palette tokens live here; change them once, every page follows. */
:root {
  --bg: #0a0a0b;
  --bg-2: #111113;
  --card: #151517;
  --ink: #f3f2ef;
  --ink-2: #b4b2ab;
  --ink-3: #85837c;
  --line: rgba(255,255,255,0.09);
  --line-2: rgba(255,255,255,0.17);
  --accent: #00e676;
  --accent-2: #00c866;
  --accent-ink: #052615;
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Hanken Grotesk', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  --nav-w: 1120px;
  --read-w: 820px;
}
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
::selection { background: var(--accent); color: var(--accent-ink); }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { background: var(--bg); color: var(--ink-2); font-family: var(--sans); font-size: 17px; line-height: 1.75; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
* { scrollbar-width: thin; scrollbar-color: #26262b transparent; }
::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-thumb { background: #26262b; border-radius: 10px; border: 3px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: #33333a; }
a { color: var(--accent); text-decoration: none; }
@media (hover: hover) { a:hover { text-decoration: underline; text-underline-offset: 3px; } }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 3px; }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--serif); color: var(--ink); font-weight: 500; line-height: 1.1; letter-spacing: -0.015em; text-wrap: balance; }
strong { color: var(--ink); font-weight: 600; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.9em; background: var(--card); border: 1px solid var(--line); border-radius: 5px; padding: 1px 6px; color: var(--ink); }

.wrap { width: min(var(--nav-w), 100% - 48px); margin-inline: auto; }

/* nav */
.site-nav { position: sticky; top: 0; z-index: 50; height: 64px; display: flex; align-items: center; background: rgba(10,10,11,0.78); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); border-bottom: 1px solid var(--line); padding-top: env(safe-area-inset-top, 0px); }
.site-nav .wrap { display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--serif); font-weight: 600; font-size: 21px; letter-spacing: -0.01em; color: var(--ink); }
.brand img { width: 30px; height: 30px; border-radius: 8px; display: block; }
@media (hover: hover) { .brand:hover { text-decoration: none; } }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a { color: var(--ink-2); font-size: 14.5px; font-weight: 500; padding: 9px 13px; border-radius: 9px; transition: color 0.2s var(--ease); }
@media (hover: hover) { .nav-links a:hover { color: var(--ink); text-decoration: none; } }
@media (max-width: 680px) { .nav-links a:not(.btn) { display: none; } }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 22px; border-radius: 999px; font-family: var(--sans); font-size: 15px; font-weight: 600; cursor: pointer; border: 1px solid transparent; background: var(--accent); color: var(--accent-ink) !important; transition: background 0.2s var(--ease), transform 0.13s var(--ease); white-space: nowrap; }
.btn:active { transform: scale(0.97); }
.btn.ghost { background: transparent; color: var(--ink) !important; border-color: var(--line-2); }
@media (hover: hover) { .btn:hover { background: var(--accent-2); text-decoration: none; } .btn.ghost:hover { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.3); } }
.nav-cta { height: 40px; padding: 0 18px; margin-left: 6px; }

/* reading column */
.prose { width: min(var(--read-w), 100% - 48px); margin-inline: auto; padding: clamp(52px, 8vh, 104px) 0 96px; }
.prose .eyebrow { display: inline-block; font-family: var(--sans); font-size: 13px; font-weight: 600; letter-spacing: 0.02em; color: var(--accent); margin-bottom: 16px; }
.prose h1 { font-size: clamp(34px, 5.4vw, 56px); line-height: 1.04; margin-bottom: 12px; }
.prose .lede { font-size: clamp(17px, 1.7vw, 20px); color: var(--ink-2); margin: 10px 0 8px; }
.prose h2 { font-size: clamp(22px, 2.6vw, 29px); margin: 46px 0 14px; }
.prose h3 { font-size: 19px; margin: 30px 0 10px; }
.prose p { margin-bottom: 16px; color: var(--ink-2); }
.prose ul, .prose ol { margin: 0 0 18px 24px; color: var(--ink-2); }
.prose li { margin-bottom: 8px; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 40px 0; }
.prose .muted { color: var(--ink-3); font-size: 14.5px; }

/* footer */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-2); padding: 40px 0; }
.site-footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; font-size: 14px; color: var(--ink-3); }
.site-footer .fb { display: inline-flex; align-items: center; gap: 10px; }
.site-footer .fb img { width: 26px; height: 26px; border-radius: 7px; }
.site-footer .fb strong { color: var(--ink); }
.site-footer .fl { display: flex; gap: 20px; flex-wrap: wrap; }
.site-footer a { color: var(--ink-3); }
@media (hover: hover) { .site-footer a:hover { color: var(--ink); text-decoration: none; } }
