/* aislemates.com coming-soon page (design spec approved by Richard,
   Nov 28, 2026). One screen: wordmark, the Discover end-of-deck bags
   drawing on a cream disc, headline, one line, footer. Nothing to press. */

@font-face {
  font-family: Outfit;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/outfit/outfit-latin-500.woff2") format("woff2");
}
@font-face {
  font-family: Outfit;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/outfit/outfit-latin-700.woff2") format("woff2");
}

:root {
  color-scheme: light;
  --cream: #F7F1E6;
  --disc: #EFE6D6;
  --ink: #1C1917;
  --gray: #5F5A54;
  --tomato: #C9362A;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
}

body {
  font-family: Outfit, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-weight: 500;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

.page {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding:
    calc(28px + env(safe-area-inset-top))
    max(24px, env(safe-area-inset-right))
    calc(24px + env(safe-area-inset-bottom))
    max(24px, env(safe-area-inset-left));
}

/* The grocery tile, faint, kept clear of the words by an oval mask. On a
   phone that leaves it at the top and bottom edges only. */
.page::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.08;
  background-image: url("/tile.svg");
  background-repeat: repeat;
  background-size: 330px 330px;
  -webkit-mask-image: radial-gradient(ellipse 70% 52% at 50% 50%, transparent 45%, #000 85%);
  mask-image: radial-gradient(ellipse 70% 52% at 50% 50%, transparent 45%, #000 85%);
}

.brand {
  display: block;
  width: 176px;
  height: auto;
  aspect-ratio: 1378.45 / 179.25;
  flex: 0 0 auto;
}

.hero {
  flex: 1 0 auto;
  width: 100%;
  max-width: 720px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 40px 0;
  text-align: center;
}

.disc {
  width: 128px;
  height: 128px;
  margin-bottom: 8px;
  border-radius: 50%;
  background: var(--disc);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.art {
  display: block;
  width: 96px;
  height: 96px;
}

.heart {
  transform-box: view-box;
  transform-origin: 48px 20px;
  animation: heart-beat 4s ease-in-out infinite;
}

@keyframes heart-beat {
  0% { transform: scale(1); }
  6.25% { transform: scale(1.14); }
  12.5% { transform: scale(1); }
  100% { transform: scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .heart {
    animation: none;
  }
}

h1 {
  margin: 0;
  font-size: 36px;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.soon {
  color: var(--tomato);
  white-space: nowrap;
}

.line {
  margin: 0;
  max-width: 30ch;
  font-size: 18px;
  line-height: 1.45;
  font-weight: 500;
  color: var(--gray);
  text-wrap: balance;
}

.foot {
  flex: 0 0 auto;
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--gray);
}

@media (min-width: 768px) {
  .page {
    padding-top: calc(40px + env(safe-area-inset-top));
    padding-bottom: calc(32px + env(safe-area-inset-bottom));
  }

  .brand {
    width: 232px;
  }

  .hero {
    gap: 24px;
  }

  .disc {
    width: 160px;
    height: 160px;
  }

  .art {
    width: 120px;
    height: 120px;
  }

  h1 {
    font-size: 60px;
    line-height: 1.06;
  }

  .line {
    font-size: 21px;
  }
}

@media (min-width: 1200px) {
  h1 {
    font-size: 68px;
  }
}
