:root {
  color-scheme: light;
  --paper: #faf8f3;
  --ink: #303b2b;
  --muted: #737467;
  --line: #e4e2d7;
  --accent: #a5573a;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

body {
  margin: 0;
}

::selection {
  color: var(--ink);
  background: #e8ecdf;
}

a {
  color: inherit;
}

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 6px;
}

.page {
  display: flex;
  flex-direction: column;
  min-height: 100svh;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 64px;
}

.header,
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.header {
  justify-content: center;
  min-height: 112px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-height: 44px;
  text-decoration: none;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 21px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.brand img {
  display: block;
  object-fit: contain;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  padding: 76px 0 54px;
}

.eyebrow {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2.4px;
  line-height: 1.6;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(44px, 6.6vw, 88px);
  font-weight: 400;
  line-height: 1.09;
  letter-spacing: -3.5px;
  text-wrap: balance;
}

h1 em {
  color: var(--accent);
  font-weight: 400;
}

.intro {
  max-width: 450px;
  margin: 30px auto 0;
  color: #666c5e;
  font-size: 16px;
  line-height: 1.85;
  text-wrap: pretty;
}

.invitation {
  margin-top: 34px;
}

.release-notice {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 6px 12px;
  margin: 0;
}

.status {
  color: var(--accent);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 28px;
  font-style: italic;
  line-height: 1.5;
  letter-spacing: -0.5px;
}

.invitation > :not(.release-notice) {
  margin-top: 24px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  min-height: 52px;
  padding: 14px 25px;
  border: 1px solid var(--ink);
  border-radius: 4px;
  background: var(--ink);
  color: var(--paper);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  text-decoration: none;
  transition: background 160ms ease;
}

.button:hover {
  background: #47523e;
}

.button span {
  font-size: 19px;
  font-weight: 400;
}

.store {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 9px 22px 9px 16px;
  border-radius: 10px;
  background: #111;
  color: #fff;
  font-size: 19px;
  font-weight: 500;
  line-height: 1.15;
  text-align: left;
  text-decoration: none;
  transition: background 160ms ease;
}

.store svg {
  flex: none;
  width: 28px;
  height: 28px;
}

.store small {
  display: block;
  margin-bottom: 2px;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.6px;
  opacity: 0.85;
}

.store:not(.is-soon):hover {
  background: #2b2b2b;
}

.store.is-soon {
  opacity: 0.8;
  cursor: not-allowed;
}

#app-store-link.is-soon {
  opacity: 0.5;
}

.collage {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
  max-width: 860px;
  margin: 64px auto 0;
  -webkit-mask-image: linear-gradient(#000 50%, transparent 97%);
  mask-image: linear-gradient(#000 50%, transparent 97%);
}

.collage img {
  width: 23%;
  height: auto;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  object-position: top;
  margin: 0 -2.5%;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 18px 44px rgba(48, 59, 43, 0.12);
}

.collage img:nth-child(1) {
  transform: translateY(17%) rotate(-9deg);
  opacity: 0.7;
}

.collage img:nth-child(2) {
  z-index: 1;
  transform: translateY(6%) rotate(-4deg);
  opacity: 0.9;
}

.collage img:nth-child(3) {
  z-index: 2;
  width: 26%;
}

.collage img:nth-child(4) {
  z-index: 1;
  transform: translateY(6%) rotate(4deg);
  opacity: 0.9;
}

.collage img:nth-child(5) {
  transform: translateY(17%) rotate(9deg);
  opacity: 0.7;
}

.waitlist-note {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.availability {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.waitlist-note {
  margin: 13px 0 0;
}

.scripture {
  margin: 58px 0 0;
}

.rule {
  display: block;
  width: 1px;
  height: 36px;
  background: #d2c8b7;
  margin: 0 auto 24px;
}

blockquote {
  margin: 0;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 22px;
  font-style: italic;
  line-height: 1.5;
}

blockquote p {
  margin: 0;
}

figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

figcaption span {
  margin: 0 4px;
}

.footer {
  min-height: 77px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
}

@media (min-width: 1500px) {
  main {
    padding-top: 100px;
    padding-bottom: 80px;
  }
}

@media (max-width: 600px) {
  .collage img:nth-child(1),
  .collage img:nth-child(5) {
    display: none;
  }

  .collage img {
    width: 34%;
  }

  .collage img:nth-child(3) {
    width: 38%;
  }

  .page {
    padding: 0 24px;
  }

  .header {
    min-height: 88px;
    gap: 12px;
  }

  .brand {
    gap: 6px;
    font-size: 22px;
  }

  .brand img {
    width: 34px;
    height: 34px;
  }

  main {
    padding: 66px 0 45px;
  }

  .eyebrow {
    font-size: 10px;
    letter-spacing: 1.8px;
    margin-bottom: 24px;
  }

  h1 {
    font-size: clamp(40px, 10vw, 60px);
    letter-spacing: -1.8px;
    line-height: 1.12;
  }

  .intro {
    max-width: 340px;
    margin-top: 25px;
    font-size: 15px;
  }

  .invitation {
    margin-top: 28px;
  }

  .release-notice {
    column-gap: 10px;
  }

  .status {
    font-size: 25px;
  }

  .availability {
    font-size: 13px;
  }

  .scripture {
    margin-top: 42px;
  }

  blockquote {
    font-size: 20px;
  }

  .footer {
    min-height: 86px;
    gap: 10px;
    font-size: 10px;
  }

  .footer span:last-child {
    text-align: right;
  }
}

@media (prefers-reduced-motion: reduce) {
  .button {
    transition: none;
  }
}
