/* Shared styles for the small standalone pages: privacy.html, terms.html, 404.html */
@font-face { font-family: "Satoshi"; src: url("fonts/Satoshi-Regular.otf") format("opentype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Monument Extended"; src: url("fonts/MonumentExtended-Ultrabold.otf") format("opentype"); font-weight: 800; font-display: swap; }

:root {
  --ink: #010e06;
  --mint: #e8f5ee;
  --green: #1fb57a;
  --muted: #a9bdb2;            /* 9.6:1 on --ink */
  --line: rgba(232,245,238,.14);
  --sans: "Satoshi", "Helvetica Neue", Arial, sans-serif;
  --wide: "Monument Extended", "Arial Black", sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--ink); }
body {
  font-family: var(--sans); color: var(--mint); line-height: 1.65; -webkit-font-smoothing: antialiased;
  min-height: 100vh; display: flex; flex-direction: column;
  background: radial-gradient(900px 420px at 85% -10%, rgba(31,181,122,.12), transparent 70%), var(--ink);
}
a { color: inherit; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 16px; top: 16px; background: var(--mint); color: var(--ink); padding: 8px 14px; border-radius: 8px; z-index: 10; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 4px; }

.lg-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 24px clamp(20px, 5vw, 56px); }
.lg-logo { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-family: var(--wide); font-weight: 800; font-size: 17px; letter-spacing: .01em; }
.lg-logo img { height: 28px; width: auto; display: block; }
.lg-back { font-size: 15px; text-decoration: none; padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px; transition: border-color .2s, background .2s; }
.lg-back:hover { border-color: var(--green); background: rgba(31,181,122,.08); }

.lg-main { flex: 1; width: 100%; max-width: 760px; margin: 0 auto; padding: clamp(32px, 6vw, 72px) clamp(20px, 5vw, 32px) 96px; }
.lg-main h1 { font-family: var(--wide); font-weight: 800; font-size: clamp(30px, 5vw, 46px); line-height: 1.08; letter-spacing: -.01em; text-transform: uppercase; }
.lg-meta { margin-top: 14px; color: var(--muted); font-size: 15px; }
.lg-main h2 { margin-top: 44px; font-size: 21px; font-weight: 400; letter-spacing: -.01em; color: #fff; }
.lg-main p, .lg-main li { margin-top: 12px; color: var(--muted); font-size: 16.5px; }
.lg-main ul { padding-left: 20px; }
.lg-main strong { color: var(--mint); font-weight: 400; }
.lg-main a { color: var(--mint); text-decoration-color: var(--green); text-underline-offset: 3px; }
.lg-main a:hover { color: #fff; }

.lg-foot { border-top: 1px solid var(--line); padding: 24px clamp(20px, 5vw, 56px); display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; color: var(--muted); font-size: 14px; }
.lg-foot nav { display: flex; gap: 20px; flex-wrap: wrap; }
.lg-foot a { text-decoration: none; }
.lg-foot a:hover { color: var(--mint); }

/* 404 */
.nf { text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.nf-code { font-family: var(--wide); font-weight: 800; font-size: clamp(96px, 22vw, 220px); line-height: .9; letter-spacing: -.02em;
  background: linear-gradient(180deg, #a8f0cf, #1fb57a 70%, #0b5e3e); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nf h1 { margin-top: 18px; font-size: clamp(22px, 3.4vw, 30px); text-transform: none; font-family: var(--sans); font-weight: 400; }
.nf p { max-width: 440px; }
.nf-actions { margin-top: 32px; display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.nf-actions a { text-decoration: none; padding: 13px 22px; border-radius: 999px; font-size: 15.5px; border: 1px solid var(--line); color: var(--mint); }
.nf-actions a.solid { background: var(--mint); color: var(--ink); border-color: var(--mint); }
.nf-actions a:hover { border-color: var(--green); }
