/* ============================================================
   Suiren · Home page
   ============================================================ */

/* ─── Hero ─── */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 20%, color-mix(in srgb, var(--color-peach) 40%, transparent) 0, transparent 40%),
    radial-gradient(circle at 10% 90%, color-mix(in srgb, var(--color-gold) 45%, transparent) 0, transparent 40%),
    var(--color-bg-blush);
}
.hero__inner {
  display: grid;
  gap: 8px;
  align-items: center;
  padding-block: 32px 8px;
}
.hero h1 { margin-bottom: 16px; }
.hero h1 em { font-style: italic; color: var(--color-rose-strong); }
.hero__lead { font-size: 1.08rem; max-width: 46ch; color: var(--color-text); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.hero__mascot { width: min(260px, 70%); }
.hero__mascot img { animation: float-up .9s ease both; }

@keyframes float-up { from { opacity: 0; transform: translateY(16px); } }

@media (min-width: 820px) {
  .hero__inner { grid-template-columns: 1.3fr 1fr; padding-block: 56px 24px; gap: 40px; }
  .hero__mascot { width: min(340px, 100%); }
}

/* ─── Categories ─── */
.category-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 720px) { .category-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; } }

.category-tile--skeleton { min-height: 120px; }

.category-tile {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 2px;
  height: 100%;
  min-height: 120px;
  padding: 16px;
  border-radius: var(--radius-md);
  background: var(--tile-bg, var(--color-cream));
  color: var(--color-text);
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}
.category-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.category-tile__name { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; line-height: 1.2; }
.category-tile__count { font-size: .85rem; }

.category-grid li:nth-child(6n + 1) .category-tile { --tile-bg: var(--color-gold); }
.category-grid li:nth-child(6n + 2) .category-tile { --tile-bg: var(--color-peach); }
.category-grid li:nth-child(6n + 3) .category-tile { --tile-bg: var(--color-teal-lt); }
.category-grid li:nth-child(6n + 4) .category-tile { --tile-bg: var(--color-blush); }
.category-grid li:nth-child(6n + 5) .category-tile { --tile-bg: var(--color-cream); }
.category-grid li:nth-child(6n + 6) .category-tile { --tile-bg: var(--color-pink); }

/* ─── How it works ─── */
.steps {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}
@media (min-width: 720px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }
.step {
  padding: 24px;
  border-radius: var(--radius-lg);
  background: var(--color-bg-warm);
  border: 1px solid var(--color-line);
}
.step p { margin: 0; color: var(--color-text-soft); }
.step__number {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: var(--color-rose);
  color: var(--color-white);
  font-family: var(--font-display);
  font-size: 1.35rem; /* large bold text: AA large (≥ 3:1) on rose */
  font-weight: 700;
}
.steps__cta { margin-top: 28px; text-align: center; }

/* ─── Info sections (shipping / payment) ─── */
.info-section__inner { display: grid; gap: 16px; align-items: center; }
.info-section__text { max-width: 60ch; }
.info-section__mascot { width: min(200px, 55%); }
.payment-list { margin: 0 0 1em; padding: 0; list-style: none; display: grid; gap: 8px; }
.payment-list li {
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: color-mix(in srgb, var(--color-white) 70%, transparent);
}

@media (min-width: 820px) {
  .info-section__inner { grid-template-columns: 1fr auto; gap: 48px; }
  .info-section--reverse .info-section__mascot { order: -1; }
  .info-section__mascot { width: 260px; }
}
