:root {
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #09101d;
  color: #f5f7fb;
  --accent: #6cc3e0;
  --muted: #a9b4c8;
  --card: rgb(255 255 255 / 5%);
  --border: rgb(255 255 255 / 10%);
}
* { box-sizing: border-box; }
body {
  min-height: 100vh;
  margin: 0;
  display: grid;
  grid-template-rows: auto 1fr auto;
  line-height: 1.6;
  background:
    radial-gradient(circle at 18% 18%, rgb(60 137 171 / 28%), transparent 34rem),
    radial-gradient(circle at 86% 80%, rgb(111 73 173 / 22%), transparent 30rem),
    #09101d;
}
a { color: var(--accent); }
.site-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.25rem clamp(1.25rem, 5vw, 4rem);
}
.brand { color: #fff; font-weight: 700; text-decoration: none; letter-spacing: .02em; }
.brand span { color: var(--accent); }
nav { display: flex; gap: 1.25rem; }
nav a { color: var(--muted); text-decoration: none; }
nav a:hover { color: #fff; }
main { width: min(100%, 52rem); margin: 0 auto; padding: 2rem 1.25rem 4rem; }
.eyebrow { color: var(--accent); text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; margin: 0 0 .75rem; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); line-height: 1.15; margin: 0 0 1rem; }
.intro { color: var(--muted); font-size: 1.1rem; max-width: 40rem; }
.hero { padding: 3rem 0 2rem; }
.button {
  display: inline-block; margin-top: .75rem; padding: .7rem 1.2rem; border-radius: .5rem;
  background: var(--accent); color: #09101d; font-weight: 600; text-decoration: none;
}
.button:hover { filter: brightness(1.1); }
.posts h2 { margin: 2rem 0 1rem; }
.post-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.post-list a {
  display: block; padding: 1.25rem; border: 1px solid var(--border); border-radius: .75rem;
  background: var(--card); color: inherit; text-decoration: none;
}
.post-list a:hover { border-color: var(--accent); }
.post-list h3 { margin: 0 0 .25rem; color: #fff; }
.post-list p { margin: 0 0 .5rem; color: var(--muted); }
.post-list time { font-size: .85rem; color: var(--muted); }
.post { padding-top: 2rem; }
.post p { max-width: 42rem; }
footer { display: flex; justify-content: center; gap: .6rem; padding: 1.5rem; color: var(--muted); font-size: .9rem; }

/* Export / import string post */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.post h2 { margin: 2rem 0 .75rem; }
.post ol { color: var(--muted); padding-left: 1.25rem; max-width: 42rem; }
.note { color: var(--muted); font-size: .9rem; }
.export-box { margin: 1.5rem 0; padding: 1rem; border: 1px solid var(--border); border-radius: .75rem; background: var(--card); }
.export-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; margin-bottom: .75rem; }
.export-actions .button { margin-top: 0; border: 0; cursor: pointer; font: inherit; font-weight: 600; }
.export-actions .button:disabled { opacity: .5; cursor: wait; }
.button.secondary { background: transparent; color: var(--accent); border: 1px solid var(--accent); }
.copy-status { color: var(--accent); font-size: .9rem; }
#export-text {
  width: 100%; resize: vertical; padding: .75rem; border-radius: .5rem; border: 1px solid var(--border);
  background: #060b15; color: #cfe3ee; font: .8rem/1.4 ui-monospace, SFMono-Regular, Consolas, monospace; word-break: break-all;
}
