/* artbucket.io: one page, the legal notice and the 404, no script. The Artbucket brand: ink on paper, the accent as
   a fill, Funnel Display at 440 for headings with a muted second line, Funnel Sans to read. */
@font-face { font-family: "Funnel Display"; src: url(/fonts/funnel-display-latin.woff2) format("woff2"); font-weight: 300 800; font-display: swap; }
@font-face { font-family: "Funnel Sans"; src: url(/fonts/funnel-sans-latin.woff2) format("woff2"); font-weight: 300 800; font-display: swap; }

:root {
  color-scheme: light dark;
  --accent: #6b4dff;
  --on-accent: #fff;
  --ink: #16152a;
  --mut: #5e5d73;
  --line: #e6e5ee;
  --paper: #fff;
  --tint: #f5f4f8;
}
@media (prefers-color-scheme: dark) {
  :root { --ink: #f2f1f7; --mut: #a3a2b8; --line: #2c2b44; --paper: #0f0e1c; --tint: #17162a; }
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.6 "Funnel Sans", system-ui, sans-serif; }
a { color: inherit; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.wrap { width: min(100% - 2rem, 68rem); margin-inline: auto; }

.bar { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; padding-block: 1.25rem; }
.bar nav { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; }
.bar nav a { text-decoration: none; }
.bar nav a:hover { text-decoration: underline; text-decoration-color: var(--accent); }
.brand { display: flex; gap: 0.6rem; align-items: center; font: 550 1.25rem "Funnel Display", system-ui, sans-serif; letter-spacing: -0.02em; text-decoration: none; }
footer.bar { border-top: 1px solid var(--line); margin-top: 4rem; color: var(--mut); font-size: 0.9375rem; }

h1, h2 { font-family: "Funnel Display", system-ui, sans-serif; font-weight: 440; letter-spacing: -0.03em; line-height: 1.05; margin: 0 0 1.25rem; }
h1 { font-size: clamp(2.5rem, 7vw, 4.75rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
h1 span, h2 span { display: block; color: var(--mut); }

section { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
section + section { border-top: 1px solid var(--line); }
.hero { padding-top: clamp(3rem, 10vw, 7rem); }
.lede { font-size: 1.25rem; max-width: 38rem; margin: 0 0 2rem; }
.ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 0 0 2rem; }
.btn { display: inline-block; padding: 0.75rem 1.4rem; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-weight: 600; text-decoration: none; }
.btn.ghost { background: none; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn:hover { opacity: 0.88; }
.note { color: var(--mut); font-size: 0.9375rem; max-width: 38rem; margin: 0; }

.grid { list-style: none; padding: 0; margin: 0; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); }
.grid li { background: var(--paper); padding: 1.25rem 1.4rem; color: var(--mut); }
.grid b { display: block; color: var(--ink); font: 550 1.125rem "Funnel Display", system-ui, sans-serif; margin-bottom: 0.3rem; }

pre { background: var(--tint); border: 1px solid var(--line); border-radius: 14px; padding: 1.1rem 1.25rem; overflow-x: auto; font-size: 0.875rem; line-height: 1.7; }

.prose { max-width: 42rem; }
.prose h2 { font-size: 1.5rem; margin-top: 2.5rem; }
