/* Landing — strict monochrome (semantic tokens only, no colour accents) */

.lw-page--home .landing-wrap {
  width: min(1180px, calc(100% - clamp(24px, 5vw, 48px)));
}

.lw-land {
  display: flex;
  flex-direction: column;
  gap: clamp(72px, 10vw, 112px);
  padding: clamp(8px, 2vw, 20px) 0 clamp(32px, 5vw, 56px);
  color: var(--foreground);
}

.lw-land-section {
  position: relative;
}

/* ── Section headings ── */
.lw-land-section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(28px, 4vw, 40px);
}

.lw-land-section__head--center {
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: clamp(32px, 5vw, 48px);
}

.lw-land-section__head-copy {
  min-width: 0;
}

.lw-land-eyebrow {
  margin: 0 0 10px;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted-foreground);
}

.lw-land-section__title {
  margin: 0;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.1;
  color: var(--foreground);
}

.lw-land-section__title--xl {
  font-size: clamp(2rem, 5vw, 3rem);
  letter-spacing: -0.04em;
}

.lw-land-section__lead {
  margin: 12px 0 0;
  max-width: 32rem;
  font-size: clamp(0.9375rem, 1.6vw, 1.0625rem);
  line-height: 1.6;
  color: var(--muted-foreground);
}

.lw-land-section__empty {
  margin: 0;
  text-align: center;
  color: var(--muted-foreground);
}

.lw-land-title-emphasis {
  font-weight: 800;
}

.lw-land-link-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: var(--radius, 10px);
  border: 1px solid var(--border);
  background: var(--secondary);
  color: var(--foreground);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.lw-land-link-btn:hover {
  background: color-mix(in srgb, var(--foreground) 8%, var(--secondary));
  border-color: color-mix(in srgb, var(--foreground) 18%, var(--border));
  color: var(--foreground);
}

/* Monochrome buttons inside landing */
.lw-land .btn-primary {
  background: var(--primary);
  color: var(--primary-foreground);
  border-color: color-mix(in srgb, var(--foreground) 12%, transparent);
}

.lw-land .btn-primary:hover {
  background: color-mix(in srgb, var(--primary) 88%, var(--foreground));
}

.lw-land .btn-secondary {
  background: transparent;
  color: var(--foreground);
  border-color: var(--border);
}

.lw-land .btn-secondary:hover {
  background: var(--secondary);
  border-color: color-mix(in srgb, var(--foreground) 14%, var(--border));
}

/* Status pills & ratings — no colour on landing */
.lw-land .lw-pill {
  background: var(--secondary);
  color: var(--muted-foreground);
  border: 1px solid var(--border);
}

.lw-land .lw-product-stats__star,
.lw-land .lw-product-stats__score,
.lw-land .home-review-card__stars {
  color: var(--foreground);
}

.lw-land .lw-product-stats__reviews,
.lw-land .lw-product-stats__sales,
.lw-land .lw-product-stats__sep {
  color: var(--muted-foreground);
}

/* ── Hero ── */
.lw-land-section--hero {
  padding-top: clamp(20px, 4vw, 48px);
  text-align: center;
}

.lw-land-hero__layout {
  max-width: 40rem;
  margin-inline: auto;
}

.lw-land-hero__chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  margin-bottom: 22px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--secondary);
  color: var(--muted-foreground);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.22em;
}

.lw-land-hero__title {
  margin: 0;
  font-size: clamp(2.125rem, 6vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.05;
  color: var(--foreground);
}

.lw-land-hero__lead {
  margin: 20px auto 0;
  max-width: 32rem;
  font-size: clamp(0.9375rem, 1.8vw, 1.125rem);
  line-height: 1.65;
  color: var(--muted-foreground);
}

.lw-land-hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

/* ── Why Lethality.Dev ── */
.lw-land-why__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.5vw, 24px);
}

.lw-land-adv {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 100%;
  padding: clamp(22px, 3vw, 28px);
  border-radius: calc(var(--radius, 10px) + 4px);
  border: 1px solid var(--border);
  background:
    linear-gradient(165deg, color-mix(in srgb, var(--adv-accent, var(--foreground)) 7%, var(--card)) 0%, var(--card) 52%);
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.lw-land-adv--security {
  --adv-accent: #4ade80;
}

.lw-land-adv--updates {
  --adv-accent: #60a5fa;
}

.lw-land-adv--support {
  --adv-accent: #c084fc;
}

.lw-land-adv__glow {
  position: absolute;
  top: -36px;
  right: -24px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--adv-accent) 28%, transparent) 0%, transparent 72%);
  pointer-events: none;
}

.lw-land-adv:hover {
  border-color: color-mix(in srgb, var(--adv-accent) 42%, var(--border));
  box-shadow: 0 14px 36px color-mix(in srgb, var(--adv-accent) 10%, transparent);
  transform: translateY(-2px);
}

.lw-land-adv__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.lw-land-adv__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  color: var(--adv-accent);
  background: color-mix(in srgb, var(--adv-accent) 12%, var(--secondary));
  border: 1px solid color-mix(in srgb, var(--adv-accent) 28%, var(--border));
  box-shadow: inset 0 1px 0 color-mix(in srgb, var(--adv-accent) 18%, transparent);
}

.lw-land-adv__metric {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  min-width: 0;
  text-align: right;
}

.lw-land-adv__metric-value {
  font-size: clamp(1.35rem, 2.4vw, 1.65rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--foreground);
  font-variant-numeric: tabular-nums;
}

.lw-land-adv__metric-label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--adv-accent);
}

.lw-land-adv__title {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--foreground);
}

.lw-land-adv__desc {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--muted-foreground);
}

.lw-land-adv__list {
  list-style: none;
  margin: auto 0 0;
  padding: 12px 0 0;
  border-top: 1px solid color-mix(in srgb, var(--border) 82%, transparent);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.lw-land-adv__list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-left: 0;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: color-mix(in srgb, var(--foreground) 78%, var(--muted-foreground));
}

.lw-land-adv__list li::before {
  content: "";
  flex: 0 0 7px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--adv-accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--adv-accent) 18%, transparent);
}

/* ── Popular products ── */
.lw-land-popular__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 20px);
  justify-content: center;
  width: 100%;
  max-width: 1360px;
  margin-inline: auto;
}

.lw-land-popular__grid:has(> :first-child:last-child) {
  grid-template-columns: minmax(0, min(100%, 320px));
}

.lw-land-popular__grid:has(> :nth-child(2):last-child) {
  grid-template-columns: repeat(2, minmax(0, min(100%, 320px)));
}

.lw-land-popular__grid:has(> :nth-child(3):last-child) {
  grid-template-columns: repeat(3, minmax(0, min(100%, 320px)));
}

.lw-catalog-view--category .lw-land-popular__grid {
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  justify-content: start;
  justify-items: stretch;
  max-width: none;
  margin-inline: 0;
}

.lw-catalog-view--category .lw-land-popular__grid:has(> :first-child:last-child),
.lw-catalog-view--category .lw-land-popular__grid:has(> :nth-child(2):last-child),
.lw-catalog-view--category .lw-land-popular__grid:has(> :nth-child(3):last-child) {
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  max-width: none;
}

.lw-land-product {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border: 1px solid var(--border);
  border-radius: calc(var(--radius, 10px) + 2px);
  background: var(--card);
  overflow: hidden;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.lw-land-product:hover {
  border-color: color-mix(in srgb, var(--foreground) 16%, var(--border));
  background: color-mix(in srgb, var(--foreground) 2%, var(--card));
}

.lw-land-product__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  background: var(--secondary);
  text-decoration: none;
}

.lw-land-product__video,
.lw-land-product__placeholder {
  width: 100%;
  height: 100%;
}

.lw-land-product__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted-foreground);
}

.lw-land-product__frame,
.lw-land-product__video iframe,
.lw-land-product__video img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lw-land-product__status {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
}

.lw-land-product__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1 1 auto;
  padding: 18px 18px 20px;
}

.lw-land-product__title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.lw-land-product__title a {
  color: var(--foreground);
  text-decoration: none;
}

.lw-land-product__title a:hover {
  color: var(--primary);
}

.lw-land-product__desc {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--muted-foreground);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.lw-land-product__meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: auto;
  padding-top: 4px;
}

.lw-land-product__price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 8px;
}

.lw-land-product__price-now {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--foreground);
  font-variant-numeric: tabular-nums;
}

.lw-land-product__price-was {
  font-size: 0.8125rem;
  color: var(--muted-foreground);
  text-decoration: line-through;
}

.lw-land-product__price-badge {
  font-size: 0.6875rem;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 6px;
  color: var(--muted-foreground);
  background: var(--secondary);
  border: 1px solid var(--border);
}

.lw-land-product__cta {
  align-self: flex-start;
  margin-top: 6px;
}

/* ── Three steps ── */
.lw-land-steps__flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 0;
  align-items: stretch;
}

.lw-land-step {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: clamp(24px, 3.5vw, 32px);
  border-radius: calc(var(--radius, 10px) + 2px);
  border: 1px solid var(--border);
  background: var(--card);
}

.lw-land-step__index {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-foreground);
}

.lw-land-step__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  color: var(--foreground);
  background: var(--secondary);
  border: 1px solid var(--border);
}

.lw-land-step__title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.lw-land-step__desc {
  margin: 0;
  flex: 1 1 auto;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--muted-foreground);
}

.lw-land-step__cta {
  align-self: flex-start;
  margin-top: 4px;
}

.lw-land-steps__connector {
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(32px, 5vw, 56px);
  padding: 0 6px;
}

.lw-land-steps__connector span {
  display: block;
  width: 100%;
  height: 1px;
  background: var(--border);
  position: relative;
}

.lw-land-steps__connector span::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 7px;
  height: 7px;
  border-top: 1px solid var(--muted-foreground);
  border-right: 1px solid var(--muted-foreground);
  transform: translateY(-50%) rotate(45deg);
}

/* ── Reviews ── */
.lw-land-reviews__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 18px);
}

.lw-land-review {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
  border-radius: calc(var(--radius, 10px) + 2px);
  border: 1px solid var(--border);
  background: var(--card);
  transition: border-color 0.2s ease;
}

.lw-land-review:hover {
  border-color: color-mix(in srgb, var(--foreground) 12%, var(--border));
}

.lw-land-review .home-review-card__head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px 12px;
  align-items: start;
}

.lw-land-review .home-review-card__avatar {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--border);
}

.lw-land-review .home-review-card__author {
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--foreground);
}

.lw-land-review .home-review-card__product {
  display: block;
  margin-top: 2px;
  font-size: 0.75rem;
  color: var(--muted-foreground);
  text-decoration: none;
}

.lw-land-review .home-review-card__product:hover {
  color: var(--foreground);
  text-decoration: underline;
}

.lw-land-review .home-review-card__date {
  font-size: 0.6875rem;
  color: var(--muted-foreground);
  white-space: nowrap;
}

.lw-land-review .home-review-card__text {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: color-mix(in srgb, var(--foreground) 90%, var(--muted-foreground));
}

/* ── Discord ── */
.lw-land-discord__panel {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: clamp(12px, 2vw, 18px);
  align-items: center;
  width: 100%;
  max-width: 640px;
  margin-inline: auto;
  padding: clamp(14px, 2vw, 18px) clamp(16px, 2.5vw, 20px);
  border-radius: calc(var(--radius, 10px) + 2px);
  border: 1px solid var(--border);
  background: var(--card);
}

.lw-land-discord__icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  color: var(--foreground);
  background: var(--secondary);
  border: 1px solid var(--border);
}

.lw-land-discord__icon-wrap svg {
  width: 24px;
  height: 24px;
}

.lw-land-discord__title {
  margin: 0;
  font-size: clamp(1rem, 1.8vw, 1.125rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.lw-land-discord__lead {
  margin: 4px 0 0;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--muted-foreground);
  max-width: 28rem;
}

.lw-land-discord__cta {
  white-space: nowrap;
  min-height: 34px;
  padding-inline: 14px;
  font-size: 0.8125rem;
}

/* ── Reveal animations (subtle) ── */
.lw-land .lw-reveal,
.lw-land .lw-hero-reveal {
  opacity: 1;
  transform: none;
}

/* ── Responsive ── */
@media (max-width: 1100px) {
  .lw-land-popular__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-content: center;
  }

  .lw-catalog-view--category .lw-land-popular__grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    justify-content: start;
    max-width: none;
  }

  .lw-land-popular__grid:has(> :first-child:last-child) {
    grid-template-columns: minmax(0, min(100%, 360px));
  }

  .lw-catalog-view--category .lw-land-popular__grid:has(> :first-child:last-child) {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    max-width: none;
  }

  .lw-land-popular__grid:has(> :nth-child(3):last-child) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 720px;
  }

  .lw-catalog-view--category .lw-land-popular__grid:has(> :nth-child(3):last-child) {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    max-width: none;
  }

  .lw-land-reviews__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .lw-land-why__grid {
    grid-template-columns: 1fr;
    max-width: 28rem;
    margin-inline: auto;
  }

  .lw-land-steps__flow {
    grid-template-columns: 1fr;
    gap: 0;
    max-width: 24rem;
    margin-inline: auto;
  }

  .lw-land-steps__connector {
    width: 100%;
    height: 32px;
    padding: 0;
  }

  .lw-land-steps__connector span {
    width: 1px;
    height: 100%;
    margin: 0 auto;
    background: var(--border);
  }

  .lw-land-steps__connector span::after {
    right: auto;
    left: 50%;
    top: auto;
    bottom: 0;
    transform: translateX(-50%) rotate(135deg);
  }

  .lw-land-discord__panel {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .lw-land-discord__icon-wrap {
    margin: 0 auto;
  }

  .lw-land-discord__cta {
    justify-self: center;
  }
}

@media (max-width: 640px) {
  .lw-land {
    gap: 56px;
  }

  .lw-land-section__head {
    flex-direction: column;
    align-items: flex-start;
  }

  .lw-land-section__head--center {
    align-items: center;
  }

  .lw-land-popular__grid {
    grid-template-columns: 1fr;
  }

  .lw-land-reviews__grid {
    grid-template-columns: 1fr;
  }

  .lw-land-hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .lw-land-hero__actions .btn {
    justify-content: center;
  }

  .lw-land-link-btn {
    width: 100%;
    justify-content: center;
  }
}
