/* @sourced from moltaicorp.com design system — do not duplicate */
@import url("https://fonts.googleapis.com/css2?family=Newsreader:ital,opsz,wght@0,6..72,400..600;1,6..72,400..500&family=Hanken+Grotesk:wght@400..700&family=Space+Grotesk:wght@500;600;700&family=Space+Mono:wght@400;700&display=swap");

:root {
  --navy: #141019;
  --ink: #241f2b;
  --teal: #3988ed;
  --teal-2: #7ca2f6;
  --blue: #8b85de;
  --green: #2f9268;
  --coral: #d0453f;
  --gold: #b8892a;
  --muted: #676070;
  --line: #e2ded6;
  --soft: #f4f0ea;
  --paper: #faf8f4;
  --card: #ffffff;
  --signal: var(--teal);

  color: var(--ink);
  background: var(--paper);
  font-family: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  min-width: 320px;
  min-height: 100vh;
  background: var(--paper);
}

main {
  width: min(1040px, calc(100% - 40px));
  margin: 0 auto;
  padding: 34px 0 72px;
}

header {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 32px;
  border-bottom: 2px solid var(--ink);
  padding: 0 0 16px;
}

header strong {
  font: 700 13px/1 "Space Grotesk", monospace;
  letter-spacing: .14em;
  text-transform: uppercase;
}

nav {
  display: flex;
  gap: 18px;
  align-items: center;
  font: 600 12px/1.2 "Space Grotesk", monospace;
  text-transform: uppercase;
}

a {
  color: inherit;
  text-decoration-color: var(--signal);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

section {
  margin-top: clamp(48px, 9vw, 112px);
  animation: arrive 360ms ease-out both;
}

article {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  margin: 14px 0;
  box-shadow: 0 1px 3px rgba(20, 16, 25, .08);
}

h1 { font: 600 clamp(28px, 5vw, 44px)/1.15 "Space Grotesk", sans-serif; }
h2 { font: 600 clamp(20px, 3vw, 28px)/1.3 "Space Grotesk", sans-serif; margin-top: 32px; }
h3 { font: 600 16px/1.4 "Space Grotesk", sans-serif; margin-top: 20px; }
p  { line-height: 1.7; margin-top: 12px; }

code, .mono {
  font-family: "Space Mono", monospace;
  font-size: 0.9em;
}

button, .btn {
  font: 600 14px/1.2 "Space Grotesk", sans-serif;
  background: var(--teal);
  color: white;
  border: none;
  border-radius: 6px;
  padding: 10px 20px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: .05em;
}
button:hover, .btn:hover { background: var(--teal-2); }

footer.merkle {
  text-align: center;
  padding: 24px 0;
  margin-top: 48px;
  border-top: 1px solid var(--line);
  font: 400 11px/1.4 "Space Mono", monospace;
  color: var(--muted);
}

@keyframes arrive {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
