/* ==========================================================================
   Progate — Printing & Packing
   landing.css  |  Intro / splash page (Figma node 13:623)
   Self-contained: does not depend on style.css
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  --landing-red: #cc2027;
  --landing-red-hover: #b01c22;
  --landing-tagline: #4b5563;
  --landing-feature: #6b7280;
  --landing-rule: #d1d5db;
  --landing-border-top: #e5e7eb;
  --landing-link-line: #9ca3af;
  --landing-font: "Montserrat", "Segoe UI", system-ui, sans-serif;
}

/* --------------------------------------------------------------------------
   2. Reset & stage
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body.splash {
  margin: 0;
  min-height: 100vh;
  font-family: var(--landing-font);
  color: var(--landing-tagline);
  /* Full-bleed packaging photo background */
  background: #eef0f3 url("/assets/light/Progate/assets/splash-bg.png") center center / cover no-repeat;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  display: block;
  max-width: 100%;
}

.splash__stage {
  min-height: 100vh;
  display: grid;
  /* minmax(0,1fr) lets the column (and the card) shrink to the viewport
     instead of expanding to the logo's intrinsic width on narrow screens */
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  justify-items: center;
  padding: clamp(20px, 4vw, 48px);
}

/* --------------------------------------------------------------------------
   3. Intro card
   -------------------------------------------------------------------------- */
.intro-card {
  width: 100%;
  max-width: 896px;
  min-width: 0; /* allow the card to shrink below its content on narrow screens */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(24px, 3.5vw, 32px);
  padding: clamp(28px, 5vw, 49px);
  background: rgba(255, 255, 255, 0.2);
  text-align: center;
}

/* Logo (654 × 222) */
.intro-card__logo {
  width: 100%;
  max-width: 654px;
  height: auto;
}

/* Divider: rule — icon — rule */
.intro-card__divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.intro-card__rule {
  width: 64px;
  height: 1px;
  background: var(--landing-rule);
}

.intro-card__divider-icon {
  width: 24px;
  height: 24px;
}

/* Tagline */
.intro-card__tagline {
  margin: 0;
  font-weight: 300;
  font-size: 20px;
  line-height: 28px;
  color: var(--landing-tagline);
}

/* --------------------------------------------------------------------------
   4. Actions
   -------------------------------------------------------------------------- */
.intro-card__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.intro-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  border-radius: 12px;
  background: var(--landing-red);
  color: #fff;
  font-weight: 500;
  font-size: 18px;
  line-height: 28px;
  text-decoration: none;
  filter: drop-shadow(0 4px 7.3px rgba(0, 0, 0, 0.17));
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.intro-card__cta:hover {
  background: var(--landing-red-hover);
  transform: translateY(-1px);
}

.intro-card__cta:focus-visible {
  outline: 3px solid rgba(204, 32, 39, 0.4);
  outline-offset: 3px;
}

/* Icons use preserveAspectRatio="none"; give each an exact box matching its
   viewBox ratio so it renders undistorted. */
.intro-card__cta img {
  width: 15.75px;
  height: 18px;
}

.intro-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 5px;
  border-bottom: 1px solid var(--landing-link-line);
  color: var(--landing-tagline);
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.intro-card__link:hover {
  color: var(--landing-red);
  border-color: var(--landing-red);
}

.intro-card__link img {
  width: 12px;
  height: 16px;
}

/* --------------------------------------------------------------------------
   5. Features footer
   -------------------------------------------------------------------------- */
.intro-card__features {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 48px;
  margin: 0;
  padding: 33px 0 0;
  list-style: none;
  border-top: 1px solid var(--landing-border-top);
}

.intro-card__feature {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--landing-feature);
  font-size: 14px;
  line-height: 20px;
  white-space: nowrap;
}

.intro-card__feature img {
  height: 18px;
}

.intro-card__feature--quality img {
  width: 13.5px;
}

.intro-card__feature--precision img {
  width: 18px;
}

.intro-card__feature--delivery img {
  width: 22.5px;
}

.intro-card__sep {
  width: 1px;
  height: 24px;
  background: var(--landing-rule);
}

/* --------------------------------------------------------------------------
   6. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 600px) {
  .intro-card__tagline {
    font-size: 18px;
  }

  .intro-card__cta {
    font-size: 16px;
    padding: 14px 26px;
  }

  /* Stack the feature badges vertically, drop the vertical rules */
  .intro-card__features {
    flex-direction: column;
    gap: 16px;
  }

  .intro-card__sep {
    display: none;
  }
}