/* mint.top coming-soon page. Flat brand palette from the owner's logo.png / banner.png (vectors in brand/); no scripts,
   no inline styles (strict CSP). Left-aligned copy beside one oversized candy that runs off the page. */
@font-face {
  font-family: "Inter";
  src: url("/fonts/inter.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --green: #023c29;
  --cream: #fcf9f0;
  --cream-75: rgb(252 249 240 / 0.75);
  --cream-55: rgb(252 249 240 / 0.55);
  --mint-pale: #a4edd0;
  --gutter: clamp(20px, 7vw, 112px);
  color-scheme: dark;
}

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

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

body {
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible {
  outline: 2px solid var(--mint-pale);
  outline-offset: 3px;
}

img {
  display: block;
}

/* Clips the candy where it runs off the page (a wrapper, not body overflow, which iOS Safari ignores). */
.frame {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
}

/* The candy: oversized, tilted, cut off by the right edge of the page. */
.candy {
  position: absolute;
  z-index: 0;
  top: 50%;
  right: max(-14vw, -220px);
  width: min(58vw, 980px);
  height: auto;
  transform: translateY(-50%) rotate(-16deg);
  pointer-events: none;
  user-select: none;
}

.page {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  min-height: 100dvh;
  max-width: calc(560px + var(--gutter));
  padding: 48px 0 40px var(--gutter);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.wordmark {
  margin: 0;
}
.wordmark img {
  width: clamp(190px, 22vw, 290px);
  height: auto;
}

.headline {
  margin: 40px 0 0;
  max-width: 9.5em;
  font-size: clamp(44px, 6.2vw, 88px);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.body {
  max-width: 470px;
  margin: 24px 0 0;
  color: var(--cream-75);
  font-size: 18px;
  line-height: 1.55;
}

.act {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
}

.follow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 50px;
  padding: 0 22px;
  border-radius: 6px;
  background: var(--cream);
  color: var(--green);
  font-size: 16px;
  font-weight: 650;
  transition: background-color 0.15s;
}
.follow:hover {
  background: var(--mint-pale);
}

.x-logo {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  fill: currentColor;
}

.when {
  margin: 0;
  max-width: 230px;
  color: var(--cream-55);
  font-size: 14px;
  line-height: 1.4;
}

.ingredients {
  max-width: 470px;
  margin: 56px 0 0;
  padding-top: 16px;
  border-top: 1px solid rgb(252 249 240 / 0.16);
  color: var(--cream-55);
  font-size: 13px;
  line-height: 1.55;
}
.ingredients b {
  color: var(--cream-75);
  font-weight: 650;
}

.legal {
  margin: 10px 0 0;
  color: var(--cream-55);
  font-size: 13px;
}

/* Phones and narrow tablets: the candy moves to the top-right corner, cut off by the top and right edges, and the
   copy starts below it. */
@media (max-width: 860px) {
  .candy {
    position: relative;
    top: auto;
    right: auto;
    width: min(100vw, 760px);
    margin: max(-10vw, -76px) -28vw 0 auto;
    transform: rotate(-16deg);
  }
  .page {
    min-height: 0;
    max-width: 640px;
    padding: 4px var(--gutter) 32px;
    justify-content: flex-start;
  }
  .headline {
    margin-top: 28px;
  }
  .body {
    font-size: 17px;
  }
  .ingredients {
    margin-top: 40px;
  }
}

@media (min-width: 861px) and (max-height: 760px) {
  .page {
    padding-top: 32px;
    padding-bottom: 28px;
  }
  .headline {
    margin-top: 28px;
  }
  .ingredients {
    margin-top: 36px;
  }
}
