/* Minnel coming-soon page. Oxblood Binding colours (D-136); fonts self-hosted. */
@font-face {
  font-family: 'Fraunces';
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  src: url('fonts/fraunces-latin-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  src: url('fonts/inter-latin-var.woff2') format('woff2');
}
@font-face {
  font-family: 'Literata';
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url('fonts/literata-latin-400.woff2') format('woff2');
}

:root {
  color-scheme: light dark;
  --bg: #f6f3ee;
  --card: #fcfaf6;
  --text: #2a2522;
  --muted: #5f5750;
  --accent: #7a2430;
  --accent-on: #fcfaf6;
  --line: #d9d2c7;
  --display: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  --ui: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --prose: 'Literata', Georgia, serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1f1b19;
    --card: #292320;
    --text: #ece7de;
    --muted: #b5ada3;
    --accent: #d58a8f;
    --accent-on: #1f1b19;
    --line: #3d3532;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font: 400 1.0625rem/1.6 var(--ui);
}
main {
  width: 100%;
  max-width: 40rem;
  margin: 0 auto;
  padding: 3rem 1rem 2rem;
  flex: 1;
}

.brand {
  text-align: center;
}
.brand img {
  display: block;
  margin: 0 auto 0.5rem;
  max-width: 40%;
  height: auto;
}
.wordmark {
  font: 500 clamp(2.75rem, 12vw, 4.5rem)/1.05 var(--display);
  margin: 0;
  letter-spacing: 0.01em;
}
.meaning {
  font: 400 1.0625rem/1.6 var(--prose);
  color: var(--muted);
  margin: 0.75rem auto 0;
  max-width: 32rem;
}
.meaning b {
  color: var(--text);
  font-weight: 400;
}

.promise {
  font: 500 clamp(1.5rem, 6vw, 2.25rem)/1.25 var(--display);
  text-align: center;
  margin: 2.5rem 0;
  overflow-wrap: break-word;
}

h2 {
  font: 600 0.8125rem/1.4 var(--ui);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin: 0 0 0.75rem;
}
section {
  margin: 0 0 2rem;
}
.features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}
.features li {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  padding: 1rem 1.125rem;
  overflow-wrap: break-word;
}
.features strong {
  display: block;
  font-weight: 600;
}

.pledge {
  border-left: 3px solid var(--accent);
  padding: 0.25rem 0 0.25rem 1rem;
}
.pledge p {
  margin: 0;
  font: 400 1.125rem/1.5 var(--prose);
}

.soon {
  text-align: center;
  margin: 2.5rem 0 0;
  color: var(--muted);
}
.badge {
  display: inline-block;
  background: var(--accent);
  color: var(--accent-on);
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  margin: 0 0.5rem 0.25rem 0;
}
.soon a {
  color: var(--accent);
  text-underline-offset: 0.2em;
}
a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

footer {
  max-width: 40rem;
  width: 100%;
  margin: 0 auto;
  padding: 1rem 1rem 2rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.875rem;
}
footer p {
  margin: 0;
}

@media (prefers-reduced-motion: no-preference) {
  main {
    animation: rise 0.6s ease-out both;
  }
  @keyframes rise {
    from {
      opacity: 0;
      transform: translateY(8px);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }
}
