/* Landing page and error pages, in the look of Solt's shelf (polc/shelf.css): same colours,
   fonts, top bar, hero and buttons. The books themselves do not use this file. */
:root {
  --bg: #0b0d12;
  --surface: #141821;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .15);
  --text: #eef0f5;
  --muted: #a6adbb;
  --dim: #737b8c;
  --accent: #ffb547;
  --accent-2: #45e0bd;
  --accent-ink: #1b1305;
  --f-display: 'Bricolage Grotesque', ui-sans-serif, system-ui, sans-serif;
  --f-body: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column; color: var(--text);
  font: 400 16px/1.6 var(--f-body); -webkit-font-smoothing: antialiased;
  background:
    radial-gradient(900px 420px at 50% -120px, rgba(255, 181, 71, .16), transparent 70%),
    radial-gradient(700px 500px at 100% 30%, rgba(69, 224, 189, .05), transparent 70%),
    var(--bg);
}
main { flex: 1; }
a { color: inherit; }
p { margin: 0; }
h1, h2 { margin: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--accent); color: var(--accent-ink); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }

/* top bar */
.top { position: sticky; top: 0; z-index: 20; background: rgba(11, 13, 18, .78); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; font-family: var(--f-display); font-weight: 600; font-size: 17px; letter-spacing: -.01em; white-space: nowrap; }
.brand em { font-style: normal; color: var(--accent); }
.brand-mark { width: 28px; height: 28px; flex: none; color: var(--text); }
.top-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); text-decoration: none; color: var(--muted); font-size: 14.5px; font-weight: 500; transition: color .15s, background .15s; }
.top-link:hover { color: var(--text); background: rgba(255, 255, 255, .05); }

/* hero */
.hero { padding-top: clamp(48px, 10vw, 120px); padding-bottom: 48px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03); color: var(--muted); font-size: 13.5px; font-weight: 500; }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); }
.hero h1 { margin-top: 14px; font-family: var(--f-display); font-weight: 700; letter-spacing: -.03em; line-height: 1; font-size: clamp(40px, 7.4vw, 76px); }
.lead { margin-top: 18px; max-width: 640px; color: var(--muted); font-size: clamp(16px, 1.9vw, 18.5px); line-height: 1.55; text-wrap: pretty; }
.note { margin-top: 14px; color: var(--dim); font-size: 14.5px; }
.actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }

/* buttons (as on the shelf) */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent; font-weight: 600; font-size: 16px; text-decoration: none; cursor: pointer; white-space: nowrap; transition: transform .15s, background .2s, box-shadow .2s; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 10px 30px -10px rgba(255, 181, 71, .6); }
.btn-primary:hover { background: #ffc366; }
.btn-ghost { background: rgba(255, 255, 255, .05); border-color: var(--line-2); color: inherit; }

/* three short points under the hero */
.points { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); padding-bottom: 56px; }
.point { padding: 18px 20px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.point h2 { font-family: var(--f-display); font-size: 18px; font-weight: 600; letter-spacing: -.01em; }
.point p { margin-top: 6px; color: var(--muted); font-size: 15px; }

/* footer */
.foot { border-top: 1px solid var(--line); }
.foot-in { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; justify-content: space-between; padding-block: 18px 28px; color: var(--dim); font-size: 13.5px; }
