:root {
  --papel: #F3EFE7;
  --tinta: #1B1B1B;
  --bg: var(--papel);
  --ink: var(--tinta);
  --muted: rgba(27, 27, 27, .58);
  --line: rgba(27, 27, 27, .14);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: var(--tinta); --ink: var(--papel); --muted: rgba(243, 239, 231, .6); --line: rgba(243, 239, 231, .16); color-scheme: dark; }
}
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  min-height: 100svh;
  display: grid;
  grid-template-rows: 1fr auto;
  background: var(--bg);
  color: var(--ink);
  font: 500 16px/1.5 "Plus Jakarta Sans", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 16px 32px;
}
.logo { margin: 0; width: min(84vw, 560px); line-height: 0; }
.logo svg { width: 100%; height: auto; display: block; }

.bar { width: min(84vw, 560px); height: 2px; margin: 36px 0 40px; background: var(--line); border-radius: 2px; overflow: hidden; }
.bar span { display: block; height: 100%; width: 28%; background: var(--ink); border-radius: 2px; animation: sweep 3.2s cubic-bezier(.65, 0, .35, 1) infinite alternate; }
@keyframes sweep { from { transform: translateX(0); } to { transform: translateX(257%); } }

.tagline {
  margin: 0;
  font: 400 clamp(28px, 5vw, 44px)/1.12 "Instrument Serif", Georgia, serif;
  letter-spacing: -.01em;
}
.tagline em { font-style: italic; }

.soon {
  margin: 32px 0 0;
  font: 500 12px/1 "JetBrains Mono", ui-monospace, monospace;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}
.soon::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 10px; border-radius: 50%; background: currentColor; vertical-align: 1px; animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .25; } }

footer {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px 28px;
  border-top: 1px solid var(--line);
  font-size: 14px;
}
footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--muted); }
footer nav a { text-decoration: none; }
footer nav a:hover { color: var(--ink); }
.pill {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  font-weight: 700;
  text-decoration: none;
  transition: transform .15s ease, opacity .15s ease;
}
.pill:hover { opacity: .88; }
.pill:active { transform: scale(.97); }
.pill:focus-visible, footer a:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

@media (max-width: 520px) {
  footer { flex-direction: column-reverse; align-items: stretch; text-align: center; }
  footer nav { justify-content: center; }
  .pill { justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .bar span, .soon::before { animation: none; }
}
