.home-feature.section {
  padding-top: 24px;
  padding-bottom: 70px;
}

.home-feature-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, .8fr);
  align-items: center;
  gap: clamp(24px, 6vw, 76px);
  min-height: 300px;
  padding: clamp(27px, 5vw, 56px);
  overflow: hidden;
  color: var(--ink);
  background: linear-gradient(118deg, #171626 0%, #11121e 62%, #211727 100%);
  border: 1px solid #f6f1eb25;
  text-decoration: none;
  transition: border-color .24s ease, transform .24s ease;
}

.home-feature-card:hover {
  transform: translateY(-4px);
  border-color: #f18ba879;
}

.home-feature-card:focus-visible {
  outline: 2px solid var(--pink);
  outline-offset: 4px;
}

.home-feature-card::before,
.home-feature-card::after {
  position: absolute;
  z-index: 0;
  right: -120px;
  width: 390px;
  aspect-ratio: 1;
  border: 1px solid #f18ba82b;
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.home-feature-card::before {
  top: -240px;
  box-shadow: 0 0 0 34px #f18ba80b, 0 0 0 82px #f18ba806;
}

.home-feature-card::after {
  right: 12%;
  bottom: -365px;
  width: 300px;
  border-color: #aaa4ff2e;
}

.home-feature-copy,
.home-feature-grid {
  position: relative;
  z-index: 1;
}

.home-feature-copy .eyebrow {
  margin-bottom: 17px;
}

.home-feature-copy h2 {
  margin: 0;
  font-size: clamp(34px, 4.4vw, 57px);
  line-height: .98;
  letter-spacing: -.06em;
}

.home-feature-copy > p:not(.eyebrow) {
  max-width: 430px;
  margin: 15px 0 20px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.home-feature-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--pink);
  font: 10px 'DM Mono', monospace;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.home-feature-link b {
  font-size: 16px;
  font-weight: 400;
  transition: transform .2s ease;
}

.home-feature-card:hover .home-feature-link b {
  transform: translate(3px, -2px);
}

.home-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.home-feature-grid span {
  display: flex;
  min-height: 55px;
  align-items: center;
  gap: 10px;
  padding: 11px;
  color: #f6f1ebdc;
  background: #ffffff08;
  border: 1px solid #f6f1eb20;
  font-size: 11px;
}

.home-feature-grid i {
  color: var(--pink);
  font: 8px 'DM Mono', monospace;
  font-style: normal;
}

.home-editor-promo.section {
  padding-top: 0;
  padding-bottom: 70px;
}

.home-editor-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  align-items: center;
  gap: clamp(24px, 5vw, 64px);
  min-height: 310px;
  padding: clamp(26px, 5vw, 52px);
  overflow: hidden;
  color: var(--ink);
  background: linear-gradient(115deg, #11121e 0%, #191525 62%, #241828 100%);
  border: 1px solid #f18ba84d;
  text-decoration: none;
  transition: border-color .24s ease, transform .24s ease;
}

.home-editor-card:hover {
  transform: translateY(-3px);
  border-color: #f18ba8a6;
}

.home-editor-card:focus-visible {
  outline: 2px solid var(--pink);
  outline-offset: 4px;
}

.home-editor-copy,
.home-editor-preview {
  position: relative;
  z-index: 1;
}

.home-editor-copy .eyebrow { margin-bottom: 16px; }

.home-editor-copy h2 {
  margin: 0;
  font-size: clamp(32px, 4.2vw, 54px);
  line-height: .98;
  letter-spacing: -.06em;
}

.home-editor-copy > p:not(.eyebrow) {
  max-width: 570px;
  margin: 14px 0 18px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.home-editor-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 20px;
}

.home-editor-tags span {
  padding: 7px 9px;
  border: 1px solid #f6f1eb24;
  color: #f6f1ebbd;
  font: 8px 'DM Mono', monospace;
  letter-spacing: .07em;
}

.home-editor-preview {
  display: grid;
  min-height: 276px;
  place-items: center;
  align-content: center;
  gap: 9px;
  padding: 12px;
  overflow: hidden;
  background: radial-gradient(ellipse at center, #30253a, #0d0e15 72%);
  border: 1px solid #f6f1eb22;
}

.home-editor-device {
  position: relative;
  width: min(100%, 126px);
  aspect-ratio: .49;
  margin-inline: auto;
  overflow: hidden;
  flex: 0 0 auto;
}

.home-editor-device-screen {
  position: absolute;
  z-index: 1;
  top: 9.7%;
  right: 12.9%;
  bottom: 10.2%;
  left: 12.8%;
  overflow: hidden;
  background: #08090d;
  border-radius: 12% / 5%;
}

.home-editor-device-screen img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.home-editor-device-frame {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  mix-blend-mode: screen;
  pointer-events: none;
}

.home-editor-preview > span {
  color: var(--pink);
  font: 8px 'DM Mono', monospace;
  letter-spacing: .1em;
}

.home-feature-mark {
  position: absolute;
  z-index: 0;
  right: -12px;
  bottom: -85px;
  color: #f6f1eb04;
  font-weight: 800;
  font-size: clamp(180px, 28vw, 360px);
  letter-spacing: -.1em;
  line-height: 1;
  pointer-events: none;
}

.themes .section-head > p {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.theme-gallery-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--pink);
  font: 10px 'DM Mono', monospace;
  letter-spacing: .07em;
  text-decoration: none;
  text-transform: uppercase;
}

.theme-gallery-link span {
  font-size: 15px;
  transition: transform .2s ease;
}

.theme-gallery-link:hover span {
  transform: translate(2px, -2px);
}

@media (max-width: 760px) {
  .home-feature.section {
    padding: 18px 20px 56px;
  }

  .home-feature-card {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    min-height: 0;
    padding: 25px 21px 23px;
  }

  .home-feature-copy h2 {
    font-size: 38px;
  }

  .home-feature-copy > p:not(.eyebrow) {
    font-size: 12px;
  }

  .home-feature-grid {
    gap: 7px;
  }

  .home-feature-grid span {
    min-height: 50px;
    gap: 7px;
    padding: 8px;
    font-size: 9px;
  }

  .home-editor-promo.section {
    padding: 0 20px 56px;
  }

  .home-editor-card {
    grid-template-columns: minmax(0, 1fr);
    align-items: stretch;
    gap: 20px;
    min-height: 0;
    padding: 23px 17px;
  }

  .home-editor-copy h2 { font-size: 32px; }
  .home-editor-copy > p:not(.eyebrow) { font-size: 11px; }
  .home-editor-preview { min-height: 226px; padding: 8px; }
  .home-editor-device { width: min(100%, 104px); }
  .home-editor-preview > span { font-size: 7px; }
  .home-editor-tags { gap: 5px; }
  .home-editor-tags span { padding: 6px; font-size: 7px; }

  .themes .section-head > p {
    max-width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-feature-card,
  .home-feature-card:hover,
  .home-feature-link b {
    transform: none;
    transition: none;
  }

  .theme-gallery-link span {
    transform: none;
    transition: none;
  }

  .home-editor-card,
  .home-editor-card:hover {
    transform: none;
    transition: none;
  }
}
