/* Meanwhile Companion — public site
   Logo mark + type. No background image. */

:root {
  --paper: #f3efe6;
  --ink: #2c2a26;
  --ink-soft: #5c574e;
  --faint: #8a8578;
  --hairline: #dcd6c8;

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: var(--sans);
  font-weight: 300;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: var(--paper);
  padding: 0.5rem 1rem;
  z-index: 10;
}
.skip:focus { left: 1rem; top: 1rem; }

.stage {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2.5rem, 8vw, 5rem) clamp(1.5rem, 6vw, 4rem) 4rem;
  max-width: 40rem;
}

.logo {
  display: block;
  width: clamp(5.5rem, 4.5rem + 4vw, 7rem);
  height: auto;
  aspect-ratio: 1;
  margin: 0 0 1.75rem;
  border-radius: 1.15rem;
  opacity: 0;
  animation: arrive 1.4s ease forwards;
}

.brand {
  font-family: var(--serif);
  font-size: clamp(1.85rem, 1.25rem + 2.2vw, 2.55rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  margin: 0 0 1.1rem;
  line-height: 1.15;
  opacity: 0;
  animation: arrive 1.4s ease 0.12s forwards;
}

.headline {
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(1.3rem, 1.05rem + 1.1vw, 1.7rem);
  line-height: 1.35;
  color: var(--ink-soft);
  margin: 0 0 1.15rem;
  opacity: 0;
  animation: arrive 1.4s ease 0.28s forwards;
}

.support {
  margin: 0;
  max-width: 28rem;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink-soft);
  opacity: 0;
  animation: arrive 1.4s ease 0.42s forwards;
}

.actions {
  margin-top: 2.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.15rem 2rem;
  align-items: baseline;
  opacity: 0;
  animation: arrive 1.4s ease 0.56s forwards;
}

.cta {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 1rem;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: 0.02em;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 0.1rem;
  transition: color 0.25s ease, border-color 0.25s ease;
}
.cta:hover { color: var(--ink-soft); border-color: var(--faint); }

.cta-soon {
  border-bottom-style: dotted;
  color: var(--faint);
  border-color: var(--hairline);
  pointer-events: none;
}

.cta-faint {
  font-size: 0.98rem;
  color: var(--faint);
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: color 0.25s ease;
}
.cta-faint:hover { color: var(--ink); }

.note {
  margin: 1.75rem 0 0;
  max-width: 26rem;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--faint);
  opacity: 0;
  animation: arrive 1.4s ease 0.7s forwards;
}

.social {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.65rem;
  align-items: center;
  font-size: 0.95rem;
  opacity: 0;
  animation: arrive 1.4s ease 0.84s forwards;
}
.social a {
  color: var(--ink-soft);
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: color 0.25s ease;
}
.social a:hover { color: var(--ink); }

.foot {
  padding: 0 clamp(1.5rem, 6vw, 4rem) 2rem;
  margin-top: -2rem;
  font-size: 0.88rem;
  color: var(--faint);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.65rem;
  align-items: center;
}
.foot a {
  color: inherit;
  text-decoration: none;
}
.foot a:hover { color: var(--ink-soft); }
.sep { opacity: 0.5; }

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

@media (prefers-reduced-motion: reduce) {
  .logo, .brand, .headline, .support, .actions, .note, .social {
    opacity: 1;
    animation: none;
    transform: none;
  }
}
