/* Standalone styles for stickers.goconvogo.com. Colours mirror aurora-web's default dark
   theme (web/aurora-web/src/styles.css) so the page matches the main site. */
:root {
  --bg-app: oklch(0.1787 0.0314 215.22);
  --bg-surface: oklch(0.2859 0.0503 215.22);
  --bg-surface-alt: oklch(0.3932 0.0691 215.22);
  --bg-glow: oklch(0.3331 0.1204 292.73 / 0.85);
  --border: rgb(6 182 212);
  --text-heading: oklch(0.9857 0.0063 215.22);
  --text-secondary: oklch(0.9144 0.0377 215.22);
  --text-muted: oklch(0.8574 0.0629 215.22);
  --accent-bright: oklch(0.8574 0.0629 215.22);

  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text-heading);
  background: var(--bg-surface);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  padding-top: env(safe-area-inset-top, 0px);
  background:
    radial-gradient(ellipse at 0% 0%, var(--bg-surface-alt) 0%, transparent 60%),
    radial-gradient(ellipse at 100% 100%, var(--bg-glow) 0%, transparent 65%),
    linear-gradient(var(--bg-app), var(--bg-app));
}

.stickers-page {
  min-height: 100vh;
  padding-bottom: 40px;
}

.stickers-page__header {
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-surface);
  text-align: center;
}

.stickers-page__brand {
  display: inline-flex;
  align-items: center;
}

.stickers-page__logo {
  display: block;
  width: min(320px, 72vw);
  height: auto;
  aspect-ratio: 4358 / 559;
  object-fit: contain;
}

.stickers-page > section {
  width: min(1100px, 100%);
  margin: 0 auto;
  padding: 32px 24px 0;
}

.stickers-page h2 {
  margin: 0 0 12px;
  color: var(--text-heading);
}

.stickers-page__hero {
  display: grid;
  justify-items: center;
  gap: 12px;
  text-align: center;
}

.stickers-page__hero h2 {
  margin: 0;
  font-size: clamp(1.75rem, 4.5vw, 2.6rem);
}

.stickers-page__hero > p {
  max-width: 640px;
  margin: 0;
  color: var(--text-secondary);
  font-size: 1.1rem;
  line-height: 1.5;
}

.stickers-page__hero > .stickers-page__intro {
  max-width: 760px;
  text-wrap: balance;
}

.stickers-page__email,
.stickers-page__more {
  color: var(--text-secondary);
}

.stickers-page__gallery {
  text-align: center;
}

/* Shows exactly 4 stickers on large screens; carousel.js auto-rotates and drags the strip. */
.stickers-page__carousel {
  --sticker-size: 170px;
  --sticker-gap: 16px;
  width: min(100%, calc(4 * var(--sticker-size) + 3 * var(--sticker-gap)));
  margin: 0 auto;
  padding: 4px 0;
  overflow-x: auto;
  border-radius: 16px;
  scrollbar-width: thin;
}

.stickers-page__carousel.is-enhanced {
  overflow: hidden;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 32px, #000 calc(100% - 32px), transparent);
  mask-image: linear-gradient(to right, transparent, #000 32px, #000 calc(100% - 32px), transparent);
}

.stickers-page__carousel.is-dragging {
  cursor: grabbing;
}

.stickers-page__carousel:focus-visible {
  outline: 2px solid var(--accent-bright);
  outline-offset: 4px;
}

.stickers-page__grid {
  display: flex;
  gap: var(--sticker-gap);
  width: max-content;
  margin: 0;
  padding: 0;
  list-style: none;
  will-change: transform;
}

.stickers-page__sticker {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: var(--sticker-size);
  aspect-ratio: 1;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--bg-surface);
}

.stickers-page__sticker img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgb(0 0 0 / 0.25));
  transition: transform 0.2s ease;
}

.stickers-page__sticker:hover img {
  transform: rotate(-4deg) scale(1.06);
}

.stickers-page__more {
  margin: 16px 0 0;
  font-size: 1.1rem;
  font-weight: 600;
}

.stickers-page__benefits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.stickers-page__benefit {
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--bg-surface);
}

.stickers-page__benefit:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

.stickers-page__benefit h3 {
  margin: 0 0 6px;
  color: var(--text-heading);
}

.stickers-page__benefit p,
.stickers-page__steps li {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.5;
}

.stickers-page > .stickers-page__steps {
  width: fit-content;
  max-width: min(760px, 100%);
}

.stickers-page__steps h2 {
  text-align: center;
}

.stickers-page__steps ol {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 22px;
}

.stickers-page__email a,
.stickers-page__steps a {
  color: var(--accent-bright);
  font-weight: 600;
  text-decoration: underline;
  overflow-wrap: anywhere;
}

.site-footer {
  width: max-content;
  max-width: 100%;
  margin: 40px auto 0;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  text-align: center;
}

.site-footer__text {
  margin: 0 0 6px;
  color: var(--text-muted);
  font-size: 0.8rem;
}

.site-footer__links {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.site-footer__link {
  color: var(--accent-bright);
  font-size: 0.8rem;
  text-decoration: underline;
}

/* Mobile: vertically scrolling layout with a full-width sticker carousel. */
@media (max-width: 768px) {
  .stickers-page > section {
    padding: 28px 16px 0;
  }

  .stickers-page__hero > p {
    font-size: 1rem;
  }

  /* Bleed past the section padding so the carousel spans the whole screen width. */
  .stickers-page__carousel {
    --sticker-size: calc((100vw - 3 * var(--sticker-gap)) / 2);
    width: auto;
    margin: 0 -16px;
    border-radius: 0;
  }

  .stickers-page__benefits {
    grid-template-columns: 1fr;
  }

  .stickers-page__steps ol {
    padding-left: 20px;
  }

  .site-footer__links {
    flex-wrap: wrap;
    gap: 8px 16px;
  }
}

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

  .stickers-page__sticker:hover img {
    transform: none;
  }
}
